commit
stringlengths
40
40
old_file
stringlengths
4
237
new_file
stringlengths
4
237
old_contents
stringlengths
1
4.24k
new_contents
stringlengths
5
4.84k
subject
stringlengths
15
778
message
stringlengths
16
6.86k
lang
stringlengths
1
30
license
stringclasses
13 values
repos
stringlengths
5
116k
config
stringlengths
1
30
content
stringlengths
105
8.72k
9724d3b2d23323b2d78d6c6ad77bde35bd5e9d80
install.sh
install.sh
brew install tmux brew install nvim brew install tig brew install htop brew install tree brew install postgresql@9.6 brew install flyway brew cask install karabiner-elements brew cask install alacritty brew cask install slack brew cask install postico brew cask install sublime-text brew cask install notion brew cask in...
brew install tmux brew install nvim brew install ag brew install tig brew install htop brew install tree brew install postgresql@9.6 brew install flyway brew cask install karabiner-elements brew cask install alacritty brew cask install slack brew cask install postico brew cask install sublime-text brew cask install not...
Install ag for file search in Vim
Install ag for file search in Vim
Shell
mit
abtv/dotfiles
shell
## Code Before: brew install tmux brew install nvim brew install tig brew install htop brew install tree brew install postgresql@9.6 brew install flyway brew cask install karabiner-elements brew cask install alacritty brew cask install slack brew cask install postico brew cask install sublime-text brew cask install not...
cd90c99342c30dfea83cee05ea54d01261500bba
packages/em/emacs-module.yaml
packages/em/emacs-module.yaml
homepage: https://github.com/sergv/emacs-module changelog-type: '' hash: 5ee802b7c0fc7e92ea9641910b3d7657c71db38ffe64c2f191a57a18073ac7af test-bench-deps: {} maintainer: Sergey Vinokurov <serg.foo@gmail.com> synopsis: Utilities to write Emacs dynamic modules changelog: '' basic-deps: exceptions: -any void: -any b...
homepage: https://github.com/sergv/emacs-module changelog-type: '' hash: ef0f970155717bc7cfbccfbaaf9ed38020fcec2085bb2d971a1c79b63fa3a0d7 test-bench-deps: {} maintainer: Sergey Vinokurov <serg.foo@gmail.com> synopsis: Utilities to write Emacs dynamic modules changelog: '' basic-deps: exceptions: -any void: -any b...
Update from Hackage at 2018-08-26T21:01:28Z
Update from Hackage at 2018-08-26T21:01:28Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/sergv/emacs-module changelog-type: '' hash: 5ee802b7c0fc7e92ea9641910b3d7657c71db38ffe64c2f191a57a18073ac7af test-bench-deps: {} maintainer: Sergey Vinokurov <serg.foo@gmail.com> synopsis: Utilities to write Emacs dynamic modules changelog: '' basic-deps: exceptions: -any ...
3e1f5faa7c82dec83cd196fc83d25f54ab8f71e8
test/test.scss
test/test.scss
@import "bootcamp/bootcamp"; @import "../src/matrix"; @include runner-start; @import "functions/helpers/valid-coords"; @import "functions/init/matrix"; @import "functions/init/unit-matrix"; @import "functions/misc/columns"; @import "functions/misc/rows"; @import "functions/misc/display"; @import "functions/getters/ge...
@import "bootcamp"; @import "../src/matrix"; @include runner-start; @import "functions/helpers/valid-coords"; @import "functions/init/matrix"; @import "functions/init/unit-matrix"; @import "functions/misc/columns"; @import "functions/misc/rows"; @import "functions/misc/display"; @import "functions/getters/get-entry";...
Load bootcamp from load path
Load bootcamp from load path
SCSS
mit
HugoGiraudel/SassyMatrix,HugoGiraudel/SassyMatrix
scss
## Code Before: @import "bootcamp/bootcamp"; @import "../src/matrix"; @include runner-start; @import "functions/helpers/valid-coords"; @import "functions/init/matrix"; @import "functions/init/unit-matrix"; @import "functions/misc/columns"; @import "functions/misc/rows"; @import "functions/misc/display"; @import "func...
c3f8aac22f7ba8075d34b9f2e576b0ad883bdf32
.github/ISSUE_TEMPLATE/Feature_request.md
.github/ISSUE_TEMPLATE/Feature_request.md
--- name: Feature request about: Suggest a new idea for Vega-Lite --- Please: - [ ] Check for duplicate issues. Please file separate requests as separate issues on GitHub. - [ ] Describe the feature's goal, motivating use cases, and its expected behavior. - [ ] If you are proposing a new syntax, please provide at l...
--- name: "Feature request" about: "Suggest a new idea for Vega-Lite" labels: "Feature Request :raising_hand_woman:" --- Please: - [ ] Check for duplicate issues. Please file separate requests as separate issues on GitHub. - [ ] Describe the feature's goal, motivating use cases, and its expected behavior. - [ ] If y...
Add label for feature requests
Add label for feature requests
Markdown
bsd-3-clause
uwdata/vega-lite,uwdata/vega-lite,vega/vega-lite,uwdata/vega-lite,vega/vega-lite,vega/vega-lite,vega/vega-lite,vega/vega-lite,uwdata/vega-lite,uwdata/vega-lite
markdown
## Code Before: --- name: Feature request about: Suggest a new idea for Vega-Lite --- Please: - [ ] Check for duplicate issues. Please file separate requests as separate issues on GitHub. - [ ] Describe the feature's goal, motivating use cases, and its expected behavior. - [ ] If you are proposing a new syntax, ple...
0ea9dd5d8e4ad71dc8eaf132b8595d5d1c9739d4
test/Transforms/PGOProfile/macho.ll
test/Transforms/PGOProfile/macho.ll
; RUN: opt < %s -mtriple=x86_64-apple-macosx -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" ; MACHO-DIRECTIVE: .weak_definition ___llvm_profile_raw_version define i32 @test_macho(i32 %i) { entry: ret i32 %i }
; RUN: opt < %s -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" ; MACHO-DIRECTIVE: .weak_definition ___llvm_profile_raw_version define i32 @test_macho(i32 %i) { entry: ret...
Fix buildbot failure from r268968.
Fix buildbot failure from r268968. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@268984 91177308-0d34-0410-b5e6-96231b3b80d8
LLVM
apache-2.0
apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror...
llvm
## Code Before: ; RUN: opt < %s -mtriple=x86_64-apple-macosx -pgo-instr-gen -instrprof -S | llc | FileCheck %s --check-prefix=MACHO-DIRECTIVE target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" ; MACHO-DIRECTIVE: .weak_definition ___llvm_profile_raw_version define i32 @test_macho(i32 %i) { entry: ret...
53b5a2b552e65109347a690cc10f070ab32e1f2b
.travis.yml
.travis.yml
language: python sudo: false python: - "2.7" - "3.3" - "3.4" - "3.5" addons: apt: packages: - jpegoptim - optipng - pngcrush - graphicsmagick before_install: - "nvm install 0.12" - "nvm use 0.12" - "node -v" - "npm -v" - "npm install -g less requirejs aut...
language: python sudo: false python: - "2.7" - "3.5" addons: apt: packages: - jpegoptim - optipng - pngcrush - graphicsmagick before_install: - "nvm install 4.2.1" - "nvm use 4.2.1" - "node -v" - "npm -v" - "npm install -g less requirejs autoprefixer postcss-...
Update node.js version used in Travis to something that isn't ancient
Update node.js version used in Travis to something that isn't ancient
YAML
mit
storborg/pyramid_frontend,storborg/pyramid_frontend,storborg/pyramid_frontend
yaml
## Code Before: language: python sudo: false python: - "2.7" - "3.3" - "3.4" - "3.5" addons: apt: packages: - jpegoptim - optipng - pngcrush - graphicsmagick before_install: - "nvm install 0.12" - "nvm use 0.12" - "node -v" - "npm -v" - "npm install -g le...
792a6a62b3cba232ae9e9193826a9520f8558365
layouts/_default/terms.html
layouts/_default/terms.html
{{ define "title" }}{{ .Title }} - {{ end }} {{ define "head" }} {{ with .OutputFormats.Get "RSS" }}<link rel="alternate" type="application/rss+xml" title="RSS Feed : {{ $.Title | plainify }} in {{ $.Site.Title | plainify }}" href="{{ .RelPermalink }}">{{ end }} {{ end }} {{ define "main" }} <h1>{{ .Title }}</h1> ...
{{ define "title" }}{{ .Title }} - {{ end }} {{ define "head" }} {{ with .OutputFormats.Get "RSS" }}<link rel="alternate" type="application/rss+xml" title="RSS Feed : {{ $.Title | plainify }} in {{ $.Site.Title | plainify }}" href="{{ .RelPermalink }}">{{ end }} {{ end }} {{ define "main" }} <h1>{{ .Title }}</h1> ...
Use new variable '.Page' on taxonomy
Use new variable '.Page' on taxonomy
HTML
mit
wonderstory/hugo-theme-doughnut
html
## Code Before: {{ define "title" }}{{ .Title }} - {{ end }} {{ define "head" }} {{ with .OutputFormats.Get "RSS" }}<link rel="alternate" type="application/rss+xml" title="RSS Feed : {{ $.Title | plainify }} in {{ $.Site.Title | plainify }}" href="{{ .RelPermalink }}">{{ end }} {{ end }} {{ define "main" }} <h1>{{ ...
22da113114882878d67c1df2f66e7d954305d4a0
build.default.properties
build.default.properties
phpmd.excluded=src/stub.php phpcs.excluded=src/stub.php src/bootstrap.php
phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml # Ignore code style errors in compiled and static files. phpmd.excluded=src/stub.php phpcs.excluded=src/stub.php src/bootstrap.php
Switch to phpcq 1.1 code style
Switch to phpcq 1.1 code style
INI
mit
tenside/core
ini
## Code Before: phpmd.excluded=src/stub.php phpcs.excluded=src/stub.php src/bootstrap.php ## Instruction: Switch to phpcq 1.1 code style ## Code After: phpcs.standard=${basedir}/vendor/phpcq/coding-standard/phpcs/PhpCodeQuality/ruleset.xml phpmd.ruleset=${basedir}/vendor/phpcq/coding-standard/phpmd/ruleset.xml # Ign...
b901d84be016070f13449da3893f633e2d84e2b5
src/utils/strings.js
src/utils/strings.js
/* global window */ /** * Measure rendered width of string * @param {String} str -> the string to measure * @param {String} font -> https://developer.mozilla.org/en-US/docs/Web/CSS/font * @param {CanvasRenderingContext2D} [canvasContext] * @return {number} */ export const getRenderedStringWidth = (str = '', font...
/* global window */ /** * Measure rendered width of string * @param {String} str -> the string to measure * @param {String} font -> https://developer.mozilla.org/en-US/docs/Web/CSS/font * @param {CanvasRenderingContext2D} [canvasContext] * @return {number} */ export const getRenderedStringWidth = (str = '', font...
Add util function to calculate the size of the longest rotated tick value to help determine required padding.
Add util function to calculate the size of the longest rotated tick value to help determine required padding.
JavaScript
mit
ihmeuw/ihme-ui,ihmeuw/ihme-ui,ihmeuw/ihme-ui,ihmeuw/beaut,ihmeuw/beaut,ihmeuw/beaut
javascript
## Code Before: /* global window */ /** * Measure rendered width of string * @param {String} str -> the string to measure * @param {String} font -> https://developer.mozilla.org/en-US/docs/Web/CSS/font * @param {CanvasRenderingContext2D} [canvasContext] * @return {number} */ export const getRenderedStringWidth =...
208540c5101d04d632361bc769a1f23df8547ff9
.travis.yml
.travis.yml
before_install: - gem update - gem --version - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' script: - bundle exec rake rvm: - 2.0.0-p648 - 2.1.0 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 gemfile: - Gemfile
language: ruby before_install: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' script: - bundle exec rake rvm: - 2.0.0-p648 - 2.1.0 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 gemfile: - Gemfile
Revert gem update from before_install
Revert gem update from before_install
YAML
mit
MindscapeHQ/raygun4ruby,MindscapeHQ/raygun4ruby,MindscapeHQ/raygun4ruby
yaml
## Code Before: before_install: - gem update - gem --version - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' script: - bundle exec rake rvm: - 2.0.0-p648 - 2.1.0 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.1 gemfile: - Gemfile ## Instruction: Revert...
319f5690205142032dd948fb5da8cb38cae16236
examples/paging/page.go
examples/paging/page.go
package main import ( "context" "log" "os" "github.com/zmb3/spotify" "golang.org/x/oauth2/clientcredentials" ) func main() { config := &clientcredentials.Config{ ClientID: os.Getenv("SPOTIFY_ID"), ClientSecret: os.Getenv("SPOTIFY_SECRET"), TokenURL: spotify.TokenURL, } token, err := config.Toke...
package main import ( "context" "log" "os" "github.com/zmb3/spotify" "golang.org/x/oauth2/clientcredentials" ) func main() { config := &clientcredentials.Config{ ClientID: os.Getenv("SPOTIFY_ID"), ClientSecret: os.Getenv("SPOTIFY_SECRET"), TokenURL: spotify.TokenURL, } token, err := config.Toke...
Include longer playlist in pagination example
Include longer playlist in pagination example Signed-off-by: Noah Stride <1db01d43e08596f43a65fb393d969b98ee5b4dc6@noahstride.co.uk>
Go
apache-2.0
zmb3/spotify
go
## Code Before: package main import ( "context" "log" "os" "github.com/zmb3/spotify" "golang.org/x/oauth2/clientcredentials" ) func main() { config := &clientcredentials.Config{ ClientID: os.Getenv("SPOTIFY_ID"), ClientSecret: os.Getenv("SPOTIFY_SECRET"), TokenURL: spotify.TokenURL, } token, er...
9a9aaae6c6a8406c5689296ae09ac9b0045d22de
README.md
README.md
A Ruby Gem to manage common Travis-CI build elemets. [![Gem Version](https://badge.fury.io/rb/travis-build-tools.svg)](http://badge.fury.io/rb/travis-build-tools) [![Build Status](https://travis-ci.org/wparad/Travis-Build-Tools.svg?branch=master)](https://travis-ci.org/wparad/Travis-Build-Tools) ### Usage Version is...
A Ruby Gem to manage common Travis-CI build elemets. [![Gem Version](https://badge.fury.io/rb/travis-build-tools.svg)](http://badge.fury.io/rb/travis-build-tools) [![Build Status](https://travis-ci.org/wparad/Travis-Build-Tools.svg?branch=master)](https://travis-ci.org/wparad/Travis-Build-Tools) ### Usage Version is...
Add setup instructions for new repositories.
Add setup instructions for new repositories.
Markdown
bsd-3-clause
wparad/Travis-Build-Tools
markdown
## Code Before: A Ruby Gem to manage common Travis-CI build elemets. [![Gem Version](https://badge.fury.io/rb/travis-build-tools.svg)](http://badge.fury.io/rb/travis-build-tools) [![Build Status](https://travis-ci.org/wparad/Travis-Build-Tools.svg?branch=master)](https://travis-ci.org/wparad/Travis-Build-Tools) ### ...
56b12b46551f8e831ea65522bade14c73eb6d18c
client/src/components/forms/errorsField.tsx
client/src/components/forms/errorsField.tsx
import * as _ from 'lodash'; import * as React from 'react'; export const ErrorsField = (errors: any) => { if (_.isArray(errors)) { return ( <div className="has-error form-group"> <div className="col-sm-10 col-lg-offset-2"> {errors.map((error) => <div className="help-block" key={error}>{e...
import * as _ from 'lodash'; import * as React from 'react'; export const ErrorsField = (errors: any) => { if (_.isArray(errors)) { return ( <div className="has-error form-group"> <div className="col-sm-10 col-lg-offset-2"> {errors.map((error) => <div className="help-block" key={error}>{e...
Update errors field to handle string errors as well
Update errors field to handle string errors as well
TypeScript
apache-2.0
polyaxon/polyaxon,polyaxon/polyaxon,polyaxon/polyaxon
typescript
## Code Before: import * as _ from 'lodash'; import * as React from 'react'; export const ErrorsField = (errors: any) => { if (_.isArray(errors)) { return ( <div className="has-error form-group"> <div className="col-sm-10 col-lg-offset-2"> {errors.map((error) => <div className="help-block...
a15701a49c1fffedc30f939c231be4936d3ab790
setup.py
setup.py
import setuptools from valohai_yaml import __version__ dev_dependencies = [ 'flake8', 'isort', 'pydocstyle', 'pytest-cov', ] if __name__ == '__main__': setuptools.setup( name='valohai-yaml', description='Valohai.yaml validation and parsing', version=__version__, ur...
import ast import os import re import setuptools with open(os.path.join(os.path.dirname(__file__), 'valohai_yaml', '__init__.py')) as infp: version = ast.literal_eval(re.search('__version__ = (.+?)$', infp.read(), re.M).group(1)) dev_dependencies = [ 'flake8', 'isort', 'pydocstyle', 'pytest-cov', ...
Read version without importing package
Read version without importing package
Python
mit
valohai/valohai-yaml
python
## Code Before: import setuptools from valohai_yaml import __version__ dev_dependencies = [ 'flake8', 'isort', 'pydocstyle', 'pytest-cov', ] if __name__ == '__main__': setuptools.setup( name='valohai-yaml', description='Valohai.yaml validation and parsing', version=__versi...
886e31a451ac5b8659289c3bea5b88a6950b4866
generators/client/templates/angular/src/main/webapp/app/admin/configuration/_configuration.service.ts
generators/client/templates/angular/src/main/webapp/app/admin/configuration/_configuration.service.ts
import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Rx'; @Injectable() export class <%=jhiPrefixCapitalized%>ConfigurationService { constructor(private http: Http) { } get(): Observable<any> { return this.http.get('managemen...
import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Rx'; @Injectable() export class <%=jhiPrefixCapitalized%>ConfigurationService { constructor(private http: Http) { } get(): Observable<any> { return this.http.get('managemen...
Fix tslint error: for (... in ...) statements must be filtered with an if statement
Fix tslint error: for (... in ...) statements must be filtered with an if statement
TypeScript
apache-2.0
wmarques/generator-jhipster,PierreBesson/generator-jhipster,mraible/generator-jhipster,eosimosu/generator-jhipster,baskeboler/generator-jhipster,ruddell/generator-jhipster,JulienMrgrd/generator-jhipster,Tcharl/generator-jhipster,gmarziou/generator-jhipster,cbornet/generator-jhipster,liseri/generator-jhipster,nkolosnjaj...
typescript
## Code Before: import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Rx'; @Injectable() export class <%=jhiPrefixCapitalized%>ConfigurationService { constructor(private http: Http) { } get(): Observable<any> { return this.htt...
2b4723550d71870f481d5702fe8d269eb8d2cf50
lib/stack_master/validator.rb
lib/stack_master/validator.rb
module StackMaster class Validator include Command def initialize(stack_definition) @stack_definition = stack_definition end def perform template_body = TemplateCompiler.compile(@stack_definition.template_file_path) cf.validate_template(template_body: template_body) StackMast...
module StackMaster class Validator include Command def initialize(stack_definition) @stack_definition = stack_definition end def perform template_body = TemplateCompiler.compile(@stack_definition.template_file_path) cf.validate_template(template_body: template_body) StackMast...
Return false when validation fails
Return false when validation fails
Ruby
mit
bulletproofnetworks/stack_master,bulletproofnetworks/stack_master,bulletproofnetworks/stack_master,envato/stack_master,envato/stack_master
ruby
## Code Before: module StackMaster class Validator include Command def initialize(stack_definition) @stack_definition = stack_definition end def perform template_body = TemplateCompiler.compile(@stack_definition.template_file_path) cf.validate_template(template_body: template_body)...
17ef7c21c863e2c2f8ded54be10f8e5bda152383
app/templates/_bower.json
app/templates/_bower.json
{ "name": "init", "version": "1.0.2", "main": "", "ignore": [], "dependencies": { "jquery": "1.10.2", "normalize-scss": "~2.1.2", "modernizr": "~2.7.1", "requirejs": "~2.1.9", <% if (cssPreprocessor === 'Sass') { %> "sass-mixins": "~0.6.0" <% } %> <% if (cssPreprocessor === 'Le...
{ "name": "init", "version": "1.0.2", "main": "", "ignore": [], "dependencies": { "jquery": "1.10.2", "normalize-scss": "~2.1.2", "modernizr": "~2.7.1", "requirejs": "~2.1.9"<% if (cssPreprocessor === 'Sass') { %>, "sass-mixins": "~0.6.0"<% } else if (cssPreprocessor === 'Less') { %>, ...
Fix trailing comma problem in generated bower.json.
Fix trailing comma problem in generated bower.json.
JSON
mit
use-init/generator-init,use-init/generator-init
json
## Code Before: { "name": "init", "version": "1.0.2", "main": "", "ignore": [], "dependencies": { "jquery": "1.10.2", "normalize-scss": "~2.1.2", "modernizr": "~2.7.1", "requirejs": "~2.1.9", <% if (cssPreprocessor === 'Sass') { %> "sass-mixins": "~0.6.0" <% } %> <% if (cssPrep...
34c8027c2ef6bce047a46595601c14258aa4eeee
README.md
README.md
A command-line app for reference-tracking written in node. It's very barebones at the moment but I plan to add features as I need them. The design is influenced by git, in that Bieber creates a `.bieber` file in the root of your project directory. The file is really a sqlite database that stores your references. ## ...
A command-line app for reference-tracking written in node. It's very barebones at the moment but I plan to add features as I need them. Support for journal article reference types is in the works. The design is influenced by git, in that Bieber creates a `.bieber` file in the root of your project directory. The file ...
Update readme.md to reflect project progress
Update readme.md to reflect project progress
Markdown
mit
kthelgason/bieber
markdown
## Code Before: A command-line app for reference-tracking written in node. It's very barebones at the moment but I plan to add features as I need them. The design is influenced by git, in that Bieber creates a `.bieber` file in the root of your project directory. The file is really a sqlite database that stores your ...
60830d0e9ae55207a2d6c38ad6f509b411b10c42
page/4search.html
page/4search.html
--- layout: default title: Search permalink: /search/ icon: search type: page --- <div class="page clearfix"> <div class="left"> <h1>{{page.title}}</h1> <hr> <p> Search by the keyword you entered. </p> <p> Matching conditions are <strong>title</strong> of the article or <strong>contents</s...
--- layout: default title: Search permalink: /search/ icon: search type: page --- <div class="page clearfix"> <div class="left"> <h1>{{page.title}}</h1> <hr> <p> Search by the keyword you entered. </p> <p> Matching conditions are <strong>title</strong> of the article or <strong>contents</s...
Update search.html that Remove `title="{desc}"` attribute
Update search.html that Remove `title="{desc}"` attribute
HTML
mit
goodGid/goodGid.github.io,goodGid/goodGid.github.io,goodGid/goodGid.github.io
html
## Code Before: --- layout: default title: Search permalink: /search/ icon: search type: page --- <div class="page clearfix"> <div class="left"> <h1>{{page.title}}</h1> <hr> <p> Search by the keyword you entered. </p> <p> Matching conditions are <strong>title</strong> of the article or <st...
8febc26554826e30cff75c57de5a6d3a6429d546
hub/repositories/b_repository_settings.md
hub/repositories/b_repository_settings.md
This section will describe the different settings you can apply to the repository. Any workspace application created from a repository will inherit these settings. If an organization dashboard has a direct reference to launch a repository, the session will inherit these settings as well. #### Sessions are Persistent ...
This section will describe the different settings you can apply to the repository. Any workspace application created from a repository will inherit these settings. If an organization dashboard has a direct reference to launch a repository, the session will inherit these settings as well. #### Sessions are persistent ...
Add more repo settings stubs
Add more repo settings stubs
Markdown
apache-2.0
turboapps/docs
markdown
## Code Before: This section will describe the different settings you can apply to the repository. Any workspace application created from a repository will inherit these settings. If an organization dashboard has a direct reference to launch a repository, the session will inherit these settings as well. #### Sessions...
33e7f990e453efe202dde60ce3a2cb8609266a39
src/parse/scanner.h
src/parse/scanner.h
// I want to remove this dependecy, equivalent to yy.tab.h ? #include "parse/GENERATED/parser.hxx" #undef yyFlexLexer // ugly hack, because <FlexLexer> is wonky #include <FlexLexer.h> #include <iostream> // Tell flex how to define lexing fn #undef YY_DECL #define YY_DECL ...
// I want to remove this dependecy, equivalent to yy.tab.h ? #include "parse/GENERATED/parser.hxx" #undef yyFlexLexer // ugly hack, because <FlexLexer> is wonky #include <FlexLexer.h> #include <iostream> // Tell flex how to define lexing fn #undef YY_DECL #define YY_DECL ...
Prepare for new lex interface
Prepare for new lex interface
C
mit
laokaplow/tlc
c
## Code Before: // I want to remove this dependecy, equivalent to yy.tab.h ? #include "parse/GENERATED/parser.hxx" #undef yyFlexLexer // ugly hack, because <FlexLexer> is wonky #include <FlexLexer.h> #include <iostream> // Tell flex how to define lexing fn #undef YY_DECL #define YY_DECL ...
305f42dc525513e6ca70866860f1bb0c35e67cf7
src/site/resources/css/site.css
src/site/resources/css/site.css
body.topBarEnabled { padding-top: 80px; } div#bannerLeft, div#bannerRight { display: none; }
body.topBarEnabled { padding-top: 80px; } div#topbar ul.nav li:nth-child(n+5), ul.breadcrumb, div.sidebar-nav ul.nav li:nth-last-child(-n+20), div#bannerLeft, div#bannerRight { display: none; }
Stop suggesting that we're an official Apache project
Stop suggesting that we're an official Apache project This is complicated by the fact that we rely on the maven-plugins parent project (and it would cause substantially more problems to avoid that): The maven-site-plugin finds it funny to inherit automatically the parent projects' site descriptors without providing fo...
CSS
apache-2.0
eyalg1972/nar-maven-plugin,dugilos/nar-maven-plugin,eyalg1972/nar-maven-plugin,heathn/nar-maven-plugin,eyalg1972/nar-maven-plugin,markBowman/nar-maven-plugin,dmakarov/nar-maven-plugin,dugilos/nar-maven-plugin,Zetten/nar-maven-plugin,markjohndoyle/nar-maven-plugin,revolsys/nar-maven-plugin,Zetten/nar-maven-plugin,revols...
css
## Code Before: body.topBarEnabled { padding-top: 80px; } div#bannerLeft, div#bannerRight { display: none; } ## Instruction: Stop suggesting that we're an official Apache project This is complicated by the fact that we rely on the maven-plugins parent project (and it would cause substantially more problems to avo...
2132a0a27b3d10ffd53494054d6ab3b225859938
block_test.go
block_test.go
package main import ( "testing" ) func TestNewBlock(t *testing.T) { startApplication() // Register on volume b := datastore.NewBlock() // Persist b.Persist() // Encode b.ErasureEncoding() // Persist with encoding b.Persist() }
package main import ( "crypto/md5" "fmt" "testing" ) func TestNewBlock(t *testing.T) { startApplication() // Register on volume b := datastore.NewBlock() // Persist b.Persist() // Calculate hashes preHash := make([]string, 10) for i, ds := range b.DataShards { h := md5.New() h.Write(ds.Contents().By...
Validate data shard integrity on erasure coding
Validate data shard integrity on erasure coding
Go
apache-2.0
RobinUS2/xyzfs,RobinUS2/xyzfs
go
## Code Before: package main import ( "testing" ) func TestNewBlock(t *testing.T) { startApplication() // Register on volume b := datastore.NewBlock() // Persist b.Persist() // Encode b.ErasureEncoding() // Persist with encoding b.Persist() } ## Instruction: Validate data shard integrity on erasure cod...
a8d6767e38326feee01cabefa92ea6139b32f2da
lib/sproutvideo/access_grant.rb
lib/sproutvideo/access_grant.rb
module Sproutvideo class AccessGrant < Resource def self.create(options={}) post("/access_grants", options) end def self.list(options={}) params = { :page => options.delete(:page) || 1, :per_page => options.delete(:per_page) || 25 } params = params.merge(options) get("/access_grants"...
module Sproutvideo class AccessGrant < Resource def self.create(options={}) post("/access_grants", options) end def self.list(options={}) params = { :page => options.delete(:page) || 1, :per_page => options.delete(:per_page) || 25 } params = params.merge(options) get("/access_grants"...
Fix access grant bulk uploads
Fix access grant bulk uploads
Ruby
mit
SproutVideo/sproutvideo-rb
ruby
## Code Before: module Sproutvideo class AccessGrant < Resource def self.create(options={}) post("/access_grants", options) end def self.list(options={}) params = { :page => options.delete(:page) || 1, :per_page => options.delete(:per_page) || 25 } params = params.merge(options) get(...
c55040045d25a00d2e0945b08d79cb10e0a877a1
packages/ke/keid-frp-banana.yaml
packages/ke/keid-frp-banana.yaml
homepage: '' changelog-type: markdown hash: a647190f118fd39256029e204b8503aa9e1a3be6caef9faf657bdb1c34a428c2 test-bench-deps: {} maintainer: keid@aenor.ru synopsis: Reactive Banana integration for Keid engine. changelog: | # Changelog for keid-frp-banana ## 0.1.0.0 Initial release basic-deps: rio: '>=0.1.12.0...
homepage: '' changelog-type: markdown hash: 5a15e61d8f1c21250a47c257c3ef0e6888df61b0ec5a098c1592e6db3a6c9294 test-bench-deps: {} maintainer: keid@aenor.ru synopsis: Reactive Banana integration for Keid engine. changelog: | # Changelog for keid-frp-banana ## 0.1.1.0 - Added more `Engine.Window.*` wrappers to `En...
Update from Hackage at 2022-09-17T13:08:57Z
Update from Hackage at 2022-09-17T13:08:57Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: markdown hash: a647190f118fd39256029e204b8503aa9e1a3be6caef9faf657bdb1c34a428c2 test-bench-deps: {} maintainer: keid@aenor.ru synopsis: Reactive Banana integration for Keid engine. changelog: | # Changelog for keid-frp-banana ## 0.1.0.0 Initial release basic-deps: ...
730fb35ed22e3a8db070e047e6a2ded9eb4893d3
README.md
README.md
Little java homework assignment [![Build Status](https://travis-ci.org/tomasharkema/MenuKaart.svg?branch=master)](https://travis-ci.org/tomasharkema/MenuKaart) ------- This is a Gradle generated project. To run the project, run: ``` ./gradlew run ``` To test the project, run: ``` ./gradlew test ```
Little java homework assignment [![Build Status](https://travis-ci.org/tomasharkema/MenuKaart.svg?branch=master)](https://travis-ci.org/tomasharkema/MenuKaart) For reference: https://github.com/tomasharkema/MenuKaart ----------------------------------- This is a Gradle generated project. To run the project, run: `...
Update markdown with github url
Update markdown with github url
Markdown
mit
tomasharkema/MenuKaart
markdown
## Code Before: Little java homework assignment [![Build Status](https://travis-ci.org/tomasharkema/MenuKaart.svg?branch=master)](https://travis-ci.org/tomasharkema/MenuKaart) ------- This is a Gradle generated project. To run the project, run: ``` ./gradlew run ``` To test the project, run: ``` ./gradlew test ``...
679bf62ce836d96c80f45ae0f661a6a3da08fdf0
Fingertips.podspec
Fingertips.podspec
Pod::Spec.new do |f| f.name = 'Fingertips' f.version = '0.3.0' f.summary = 'Touch indicators on external displays for iOS applications.' f.description = 'A UIWindow subclass that gives you automatic presentation mode in your iOS app.' f.homepage = 'http://github.com/mapbox/Fingertips' f.license ...
Pod::Spec.new do |f| f.name = 'Fingertips' f.version = '0.3.0' f.summary = 'Touch indicators on external displays for iOS applications.' f.description = 'A UIWindow subclass that gives you automatic presentation mode in your iOS app.' f.homepage = 'http://github.com/mapbox/Fingertips' f.license ...
Delete the deprecated `documentation` attribute
Delete the deprecated `documentation` attribute
Ruby
bsd-3-clause
mapbox/Fingertips,ernestopino/Fingertips
ruby
## Code Before: Pod::Spec.new do |f| f.name = 'Fingertips' f.version = '0.3.0' f.summary = 'Touch indicators on external displays for iOS applications.' f.description = 'A UIWindow subclass that gives you automatic presentation mode in your iOS app.' f.homepage = 'http://github.com/mapbox/Fingerti...
7f0467d88e64fb789881dca5541ea6f50b7e433d
pubspec.yaml
pubspec.yaml
name: http_parser version: 3.0.2 author: "Dart Team <misc@dartlang.org>" homepage: https://github.com/dart-lang/http_parser description: > A platform-independent package for parsing and serializing HTTP formats. dependencies: collection: ">=0.9.1 <2.0.0" source_span: "^1.0.0" string_scanner: ">=0.0.0 <0.2.0" ...
name: http_parser version: 3.0.3 author: "Dart Team <misc@dartlang.org>" homepage: https://github.com/dart-lang/http_parser description: > A platform-independent package for parsing and serializing HTTP formats. dependencies: collection: ">=0.9.1 <2.0.0" source_span: "^1.0.0" string_scanner: ">=0.0.0 <2.0.0" de...
Fix duplicate dependency on string_scanner
Fix duplicate dependency on string_scanner
YAML
bsd-3-clause
dart-lang/http_parser
yaml
## Code Before: name: http_parser version: 3.0.2 author: "Dart Team <misc@dartlang.org>" homepage: https://github.com/dart-lang/http_parser description: > A platform-independent package for parsing and serializing HTTP formats. dependencies: collection: ">=0.9.1 <2.0.0" source_span: "^1.0.0" string_scanner: ">=...
f34cad9850d32d0ad2f0a2b748e2ef233a7ecca2
app/controllers/renalware/hd/dashboards_controller.rb
app/controllers/renalware/hd/dashboards_controller.rb
require "collection_presenter" require_dependency "renalware/hd/base_controller" module Renalware module HD class DashboardsController < BaseController before_filter :load_patient def show preference_set = PreferenceSet.for_patient(@patient).first_or_initialize profile = Profile.for_...
require "collection_presenter" require_dependency "renalware/hd/base_controller" module Renalware module HD class DashboardsController < BaseController before_filter :load_patient def show preference_set = PreferenceSet.for_patient(@patient).first_or_initialize profile = Profile.for_...
Fix N+1 query loading DryWeights in HD Dashboard
Fix N+1 query loading DryWeights in HD Dashboard
Ruby
mit
airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core
ruby
## Code Before: require "collection_presenter" require_dependency "renalware/hd/base_controller" module Renalware module HD class DashboardsController < BaseController before_filter :load_patient def show preference_set = PreferenceSet.for_patient(@patient).first_or_initialize profil...
14fda386a3a0a548fc1ddfd3e9c8831d61f0c2de
RELEASING.md
RELEASING.md
1. Update the version number in these places: - `lib/bourbon/version.rb` - `core/_bourbon.scss` - `package.json` - `bower.json` 1. Update `CHANGELOG.md`. We follow the guidelines from [Keep a CHANGELOG]. 1. Commit changes. Use the convention “Bourbon vX.X.X” in your commit message. There shouldn’t be code...
1. Update the version number in these places: - `lib/bourbon/version.rb` - `core/_bourbon.scss` - `package.json` - `bower.json` 1. Update `CHANGELOG.md`. We follow the guidelines from [Keep a CHANGELOG]. 1. Commit changes. Use the convention “Bourbon vX.X.X” in your commit message. There shouldn’t be code...
Add a note about the automatic release tweet
Add a note about the automatic release tweet
Markdown
mit
thoughtbot/bourbon,thoughtbot/bourbon,Jazz-Man/bourbon,Jazz-Man/bourbon
markdown
## Code Before: 1. Update the version number in these places: - `lib/bourbon/version.rb` - `core/_bourbon.scss` - `package.json` - `bower.json` 1. Update `CHANGELOG.md`. We follow the guidelines from [Keep a CHANGELOG]. 1. Commit changes. Use the convention “Bourbon vX.X.X” in your commit message. There s...
6f7f3ce0403ac1ed9082c20c45f4347522b06392
automation/jenkins-build.sh
automation/jenkins-build.sh
set -o errexit set -o pipefail export SUITES='wheezy jessie' export REPO='resin/rpi-raspbian' LATEST='jessie' dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" date=$(date +'%Y%m%d' -u) bash "$dir/build-image.sh" for suite in $SUITES; do docker run --rm $REPO:$suite bash -c 'dpkg-query -l' > $suite # Uplo...
set -o errexit set -o pipefail export SUITES='wheezy jessie' export REPO='resin/rpi-raspbian' LATEST='jessie' dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" date=$(date +'%Y%m%d' -u) bash "$dir/build-image.sh" for suite in $SUITES; do docker run --rm $REPO:$suite bash -c 'dpkg-query -l' > $suite # Uplo...
Delete images after pushing successfully
Delete images after pushing successfully
Shell
apache-2.0
nghiant2710/resin-rpi-raspbian,resin-io-library/resin-rpi-raspbian
shell
## Code Before: set -o errexit set -o pipefail export SUITES='wheezy jessie' export REPO='resin/rpi-raspbian' LATEST='jessie' dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" date=$(date +'%Y%m%d' -u) bash "$dir/build-image.sh" for suite in $SUITES; do docker run --rm $REPO:$suite bash -c 'dpkg-query -l' >...
ea1d4a6b5be3137e33d1b40f7e04898497798477
public/views/admin/bank_accounts/index.html
public/views/admin/bank_accounts/index.html
<div class='row'> <div class='col-md-6'> <h2>List Bank Accounts</h2> <table class='table table-striped'> <thead> <tr> <td>#</td> <td>user id</td> <td>created at</td> </tr> </thead> <tr ng-repeat='bankAccount in bankAccounts'> <td>{{ bankAccount.id }}</td> <td>{{ bankAc...
<div class='row'> <div class='col-md-6'> <h2>List Gateway Accounts</h2> <p class='well' ng-hide='gatewayAccounts.length > 0'> No accounts have been created yet. </p> <table ng-show='gatewayAccounts.length > 0' class='table table-striped'> <thead> <tr> <td>#</td> <td>user id</td> ...
Hide table if no gateway accounts exist
[FEATURE] Hide table if no gateway accounts exist
HTML
isc
xdv/gatewayd,Parkjeahwan/awegeeks,zealord/gatewayd,xdv/gatewayd,whotooktwarden/gatewayd,whotooktwarden/gatewayd,crazyquark/gatewayd,zealord/gatewayd,Parkjeahwan/awegeeks,crazyquark/gatewayd
html
## Code Before: <div class='row'> <div class='col-md-6'> <h2>List Bank Accounts</h2> <table class='table table-striped'> <thead> <tr> <td>#</td> <td>user id</td> <td>created at</td> </tr> </thead> <tr ng-repeat='bankAccount in bankAccounts'> <td>{{ bankAccount.id }}</td> ...
c0bfe92bc801e451e746c8eb8b36d26cb669aa28
src/polyChecksum.h
src/polyChecksum.h
/** Copyright (c) 2017 Ryan Porter You may use, distribute, or modify this code under the terms of the MIT license. */ #ifndef POLY_CHECKSUM_H #define POLY_CHECKSUM_H // based on code found at http://www.relisoft.com/science/CrcOptim.html class PolyChecksum { public: PolyChecksum(...
/** Copyright (c) 2017 Ryan Porter You may use, distribute, or modify this code under the terms of the MIT license. */ #ifndef POLY_CHECKSUM_H #define POLY_CHECKSUM_H #include <cstddef> // based on code found at http://www.relisoft.com/science/CrcOptim.html class PolyChecksum { public: ...
Add include required to compile on linux.
Add include required to compile on linux.
C
mit
yantor3d/polySymmetry,yantor3d/polySymmetry
c
## Code Before: /** Copyright (c) 2017 Ryan Porter You may use, distribute, or modify this code under the terms of the MIT license. */ #ifndef POLY_CHECKSUM_H #define POLY_CHECKSUM_H // based on code found at http://www.relisoft.com/science/CrcOptim.html class PolyChecksum { public: ...
cfeaf5b01b6c822b2351a556e48a1a68aa2bce88
glue_vispy_viewers/volume/tests/test_glue_viewer.py
glue_vispy_viewers/volume/tests/test_glue_viewer.py
import operator import numpy as np from glue.qt import get_qapp from glue.core.data import Data from glue.core.data_collection import DataCollection from glue.app.qt.application import GlueApplication from glue.core.subset import InequalitySubsetState # from glue.core.tests.util import simple_session from ..vol_glue_vi...
import operator import numpy as np from glue.qt import get_qapp from glue.core.data import Data from glue.core.data_collection import DataCollection try: from glue.app.qt.application import GlueApplication except: from glue.qt.glue_application import GlueApplication from glue.core.subset import InequalitySubs...
Fix compatibility with latest stable glue version
Fix compatibility with latest stable glue version
Python
bsd-2-clause
PennyQ/astro-vispy,PennyQ/glue-3d-viewer,astrofrog/glue-vispy-viewers,glue-viz/glue-3d-viewer,glue-viz/glue-vispy-viewers,astrofrog/glue-3d-viewer
python
## Code Before: import operator import numpy as np from glue.qt import get_qapp from glue.core.data import Data from glue.core.data_collection import DataCollection from glue.app.qt.application import GlueApplication from glue.core.subset import InequalitySubsetState # from glue.core.tests.util import simple_session fr...
9ace648443432b614b8867660f366c83ab86f259
src/components/ErrorPage/ErrorPage.css
src/components/ErrorPage/ErrorPage.css
/* React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ * { margin: 0; line-height: 1.2; } html { display: table; width: 100%; height: 100%; color: #888; text-align: center; font-family: sans-serif; } body { display: table-cell; margin: 2em auto; vertical-align: middle; } h1 { ...
/* React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ html { display: table; width: 100%; height: 100%; color: #888; text-align: center; font-family: sans-serif; } body { display: table-cell; margin: 2em auto; vertical-align: middle; } h1 { color: #555; font-weight: 400; fon...
Fix css edited for topnav button
Fix css edited for topnav button
CSS
mit
soma06-2/soma06-2-web-client,soma06-2/soma06-2-web-client
css
## Code Before: /* React Starter Kit | MIT License | http://www.reactstarterkit.com/ */ * { margin: 0; line-height: 1.2; } html { display: table; width: 100%; height: 100%; color: #888; text-align: center; font-family: sans-serif; } body { display: table-cell; margin: 2em auto; vertical-align: ...
4465b0316fbbd886f882c86aa23746b18724f117
application/models/Cpm_model.php
application/models/Cpm_model.php
<?php # See application/core/MY_Model for this parent model class Cpm_model extends Crud_model { public function __construct() { parent::__construct(); $this->table = 'cpm'; } public function getAllByType($id, $type) { $this->db->where('fixture_id', $id); $this->db->where('coverage_type', ...
<?php # See application/core/MY_Model for this parent model class Cpm_model extends Crud_model { public function __construct() { parent::__construct(); $this->table = 'cpm'; } public function getAllByType($id, $type) { $this->db->where('fixture_id', $id); $this->db->where('coverage_type', ...
Add format null for CPM
Add format null for CPM
PHP
mit
jjjjcccjjf/davao-aguilas,jjjjcccjjf/davao-aguilas,jjjjcccjjf/davao-aguilas,jjjjcccjjf/davao-aguilas,jjjjcccjjf/davao-aguilas,jjjjcccjjf/davao-aguilas
php
## Code Before: <?php # See application/core/MY_Model for this parent model class Cpm_model extends Crud_model { public function __construct() { parent::__construct(); $this->table = 'cpm'; } public function getAllByType($id, $type) { $this->db->where('fixture_id', $id); $this->db->where('...
6ea862b7885aaaded5ff01070a65a86153ee45fb
lib/discordrb/webhooks/builder.rb
lib/discordrb/webhooks/builder.rb
module Discordrb::Webhooks # A class that acts as a builder for a webhook message object. class Builder def initialize(content: '', username: nil, avatar_url: nil, tts: false, file: nil, embeds: []) @content = content @username = username @avatar_url = avatar_url @tts = tts @file =...
module Discordrb::Webhooks # A class that acts as a builder for a webhook message object. class Builder def initialize(content: '', username: nil, avatar_url: nil, tts: false, file: nil, embeds: []) @content = content @username = username @avatar_url = avatar_url @tts = tts @file =...
Add an accessor for the avatar URL
:anchor: Add an accessor for the avatar URL
Ruby
mit
meew0/discordrb,VxJasonxV/discordrb,Roughsketch/discordrb,meew0/discordrb,Roughsketch/discordrb,VxJasonxV/discordrb
ruby
## Code Before: module Discordrb::Webhooks # A class that acts as a builder for a webhook message object. class Builder def initialize(content: '', username: nil, avatar_url: nil, tts: false, file: nil, embeds: []) @content = content @username = username @avatar_url = avatar_url @tts = t...
2569ab19ab1ae516451a8018b8911fd82c72e100
array/common-elements-two-arrays.js
array/common-elements-two-arrays.js
// Program that identifies common element(s) that exist within both two arrays function intersection(firstArray, secondArray) { var hashMap = {}; var commonElements = []; // create hashmap with elements of first array as keys arrOne.forEach(function(element) { hashMap[element] = 1; }) }
// Program that identifies common element(s) that exist within both two arrays function intersection(firstArray, secondArray) { var hashMap = {}; var commonElements = []; // create hashmap with elements of first array as keys arrOne.forEach(function(element) { hashMap[element] = 1; }) // use hashmap's O(1) l...
Use hashmap's O(1) look up time to check if an element in second array exists in the hash (i.e. first array), iterating through entire second array
Use hashmap's O(1) look up time to check if an element in second array exists in the hash (i.e. first array), iterating through entire second array
JavaScript
mit
derekmpham/interview-prep,derekmpham/interview-prep
javascript
## Code Before: // Program that identifies common element(s) that exist within both two arrays function intersection(firstArray, secondArray) { var hashMap = {}; var commonElements = []; // create hashmap with elements of first array as keys arrOne.forEach(function(element) { hashMap[element] = 1; }) } ## I...
f9f8f7103cef43417a246414c311b2bcdad686c3
src/framework/util/util.js
src/framework/util/util.js
export function attemptChangeName(obj, name) { if (!canRedefineValue(obj, 'name')) { return; } Object.defineProperty(obj, 'name', { value: name, }); } export function canRedefineValue(obj, property) { const descriptor = Object.getOwnPropertyDescriptor(obj, property); return descriptor.configurabl...
export function attemptChangeName(obj, name) { if (!canRedefineValue(obj, 'name')) { return; } Object.defineProperty(obj, 'name', { value: name, }); } export function canRedefineValue(obj, property) { const descriptor = Object.getOwnPropertyDescriptor(obj, property); return descriptor.configurable...
Rename generic methods to use generic names
Rename generic methods to use generic names
JavaScript
mit
foobarhq/reworkjs,reworkjs/reworkjs,reworkjs/reworkjs,reworkjs/reworkjs,foobarhq/reworkjs
javascript
## Code Before: export function attemptChangeName(obj, name) { if (!canRedefineValue(obj, 'name')) { return; } Object.defineProperty(obj, 'name', { value: name, }); } export function canRedefineValue(obj, property) { const descriptor = Object.getOwnPropertyDescriptor(obj, property); return descri...
1be0979df050cba9099904011f7f9383c23d5687
www/tpl/ChapterList.html
www/tpl/ChapterList.html
{{! ChapterList.html Template for rendering the chapters that match the search or book dropdown lists on the lookup page. Each chapter is rendered with a status (number of verses translated), along with a link to adapt that chapter. This template is compiled by ChapterListView.js and called from LookupView....
{{! ChapterList.html Template for rendering the chapters that match the search or book dropdown lists on the lookup page. Each chapter is rendered with a status (number of verses translated), along with a link to adapt that chapter. This template is compiled by ChapterListView.js and called from LookupView....
Make search results links bigger
Make search results links bigger
HTML
mit
eb1/adapt-it-mobile,adapt-it/adapt-it-mobile,eb1/adapt-it-mobile,KLBradford/adapt-it-mobile,adapt-it/adapt-it-mobile,eb1/adapt-it-mobile,adapt-it/adapt-it-mobile,KLBradford/adapt-it-mobile,KLBradford/adapt-it-mobile
html
## Code Before: {{! ChapterList.html Template for rendering the chapters that match the search or book dropdown lists on the lookup page. Each chapter is rendered with a status (number of verses translated), along with a link to adapt that chapter. This template is compiled by ChapterListView.js and called ...
13501628dd1630923d9a5248b78d461371d746c8
workshops/personal_website.md
workshops/personal_website.md
Objective: * Teach students how to use HTML and CSS, and Javascript to build a basic website. Skills learned: * What HTML, CSS, and Javascript are and the difference between them. * How to apply HTML, CSS, and Javascript to build a website. * How to find help when building websites. * How to use Neocities to host...
Objective: * Teach students how to use HTML and CSS, and Javascript to build a basic website. Skills learned: * What HTML, CSS, and Javascript are and the difference between them. * How to apply HTML, CSS, and Javascript to build a website. * How to find help when building websites. * How to use Neocities to host...
Add actions for creating hello world website.
Add actions for creating hello world website.
Markdown
mit
saescapa/meta,ssun098/meta,paked/meta,hackedu/meta,ssun098/meta,saescapa/meta,paked/meta,hackedu/meta
markdown
## Code Before: Objective: * Teach students how to use HTML and CSS, and Javascript to build a basic website. Skills learned: * What HTML, CSS, and Javascript are and the difference between them. * How to apply HTML, CSS, and Javascript to build a website. * How to find help when building websites. * How to use N...
d65226b39ff50fb7d35b1053a77613baf73262bb
.travis.yml
.travis.yml
dist: xenial sudo: required services: - docker language: go git: depth: 1 env: global: GOFLAGS=-mod=vendor matrix: fast_finish: true allow_failures: - go: tip include: - go: "1.12.x" name: "Code Lint" script: make lint - go: "1.12.x" name: "Code UnitTest" script: make test -...
dist: xenial sudo: required services: - docker language: go env: global: GOFLAGS=-mod=vendor matrix: fast_finish: true allow_failures: - go: tip include: - go: "1.12.x" name: "Code Lint" script: make lint - go: "1.12.x" name: "Code UnitTest" script: make test - go: "1.12.x" ...
Remove clone depth 1 on Travis CI
Remove clone depth 1 on Travis CI As discussed, this only saved a few seconds per build and ends up causing problems sometimes with successive merges.
YAML
mpl-2.0
kjmkznr/terraform-provider-aws,terraform-providers/terraform-provider-aws,kjmkznr/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,kjmkznr/terraform-provider-aws,terraform-providers/terraform-provider-aws,kjmkznr/terraform-provider-aws
yaml
## Code Before: dist: xenial sudo: required services: - docker language: go git: depth: 1 env: global: GOFLAGS=-mod=vendor matrix: fast_finish: true allow_failures: - go: tip include: - go: "1.12.x" name: "Code Lint" script: make lint - go: "1.12.x" name: "Code UnitTest" scrip...
cb37e438a329e0f7d2525e81931b7f1dccb0d6e9
playbooks/monitoring/tasks/network.yml
playbooks/monitoring/tasks/network.yml
--- - sensu_process_check: service={{ item }} with_items: - neutron-l3-agent - neutron-dhcp-agent - neutron-metadata-agent notify: restart sensu-client - sensu_process_check: service=neutron-lbaas-agent notify: restart sensu-client when: neutron.enable_lbaas
--- - sensu_process_check: service={{ item }} with_items: - neutron-l3-agent - neutron-dhcp-agent - neutron-metadata-agent notify: restart sensu-client - sensu_process_check: service=neutron-lbaas-agent notify: restart sensu-client when: neutron.enable_lbaas - sensu_process_check: service=/usr/loc...
Add a process check for `ipchanged` service.
Add a process check for `ipchanged` service.
YAML
mit
twaldrop/ursula,wupeiran/ursula,masteinhauser/ursula,nirajdp76/ursula,EricCrosson/ursula,ryshah/ursula,channus/ursula,blueboxgroup/ursula,pbannister/ursula,nirajdp76/ursula,andrewrothstein/ursula,ryshah/ursula,channus/ursula,j2sol/ursula,wupeiran/ursula,nirajdp76/ursula,j2sol/ursula,andrewrothstein/ursula,twaldrop/ursu...
yaml
## Code Before: --- - sensu_process_check: service={{ item }} with_items: - neutron-l3-agent - neutron-dhcp-agent - neutron-metadata-agent notify: restart sensu-client - sensu_process_check: service=neutron-lbaas-agent notify: restart sensu-client when: neutron.enable_lbaas ## Instruction: Add a p...
0e73931429a5f40599f185e8f560c76594450af3
sources/us-ky-lexington-fayette.json
sources/us-ky-lexington-fayette.json
{ "coverage": { "US Census": { "geoid": "21067", "name": "Fayette County", "state": "Kentucky" }, "country": "us", "state": "ky", "county": "Fayette" }, "website": "http://data.lexingtonky.gov/dataset/parcel", "data": "https://o...
{ "coverage": { "US Census": { "geoid": "21067", "name": "Fayette County", "state": "Kentucky" }, "country": "us", "state": "ky", "county": "Fayette" }, "website": "http://data.lexingtonky.gov/dataset/address-points", "data": "h...
Update Lexington with newer address point source
Update Lexington with newer address point source
JSON
bsd-3-clause
newmana/openaddresses,creade/openaddresses,dfuhry/openaddresses,Kenyat1989/openaddresses,Kenyat1989/openaddresses,planemad/openaddresses,chriszs/openaddresses,sidewalkballet/openaddresses,sabas/openaddresses,djeraseit/openaddresses,PauloLuan/openaddresses,copelco/openaddresses,fredericksilva/openaddresses,chriszs/opena...
json
## Code Before: { "coverage": { "US Census": { "geoid": "21067", "name": "Fayette County", "state": "Kentucky" }, "country": "us", "state": "ky", "county": "Fayette" }, "website": "http://data.lexingtonky.gov/dataset/parcel", "d...
74d944cefc50b2dc7e0f39f451284103231c14fd
metadata/com.oF2pks.netscope.yml
metadata/com.oF2pks.netscope.yml
Categories: - System License: GPL-3.0-only SourceCode: https://bitbucket.org/oF2pks/netscope IssueTracker: https://bitbucket.org/oF2pks/netscope/issues AutoName: Netscope Description: |- When you share a link with Netscope, it shows the URL and provides a list of Web browsers to open the link with. It has no lau...
Categories: - System License: GPL-3.0-only SourceCode: https://bitbucket.org/oF2pks/netscope IssueTracker: https://bitbucket.org/oF2pks/netscope/issues AutoName: Netscope Description: |- When you share a link with Netscope, it shows the URL and provides a list of Web browsers to open the link with. It has no lau...
Update Netscope to 2.2-5 (5)
Update Netscope to 2.2-5 (5)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - System License: GPL-3.0-only SourceCode: https://bitbucket.org/oF2pks/netscope IssueTracker: https://bitbucket.org/oF2pks/netscope/issues AutoName: Netscope Description: |- When you share a link with Netscope, it shows the URL and provides a list of Web browsers to open the link wit...
d879bf1b3661f33d51c560540bf20d7c257335b1
lib/projects.js
lib/projects.js
'use babel'; import {Emitter} from 'atom'; import Project from './project'; export default class Projects { constructor(db=null) { this.emitter = new Emitter(); this.db = db; this.db.onUpdate(() => this.emitter.emit('projects-updated')); } onUpdate(callback) { this.emitter.on('projects-updated...
'use babel'; import {Emitter} from 'atom'; import Project from './project'; export default class Projects { constructor(db=null) { this.emitter = new Emitter(); this.db = db; this.db.addUpdater(null, {}, () => this.emitter.emit('projects-updated')); } onUpdate(callback) { this.emitter.on('proj...
Update to use addUpdater instead of onUpdate on db
Update to use addUpdater instead of onUpdate on db
JavaScript
mit
danielbrodin/atom-project-manager
javascript
## Code Before: 'use babel'; import {Emitter} from 'atom'; import Project from './project'; export default class Projects { constructor(db=null) { this.emitter = new Emitter(); this.db = db; this.db.onUpdate(() => this.emitter.emit('projects-updated')); } onUpdate(callback) { this.emitter.on('...
9ae87e1a1b5c84fb945cdefc64c2e601b619751f
package.json
package.json
{ "name": "mcw", "version": "0.0.1", "devDependencies": { "coffee-script": "^1.9.1", "del": "^1.1.1", "glob": "^5.0.3", "gulp": "^3.8.11", "gulp-coffee": "^2.3.1", "gulp-sass": "^1.3.3", "gulp-webserver": "^0.9.0", "require-dir": "^0.2.0" } }
{ "name": "mcw", "version": "0.0.1", "devDependencies": { "coffee-script": "^1.9.1", "del": "^1.1.1", "event-stream": "^3.3.0", "glob": "^5.0.3", "gulp": "^3.8.11", "gulp-bower": "0.0.10", "gulp-coffee": "^2.3.1", "gulp-concat": "^2.5.2", "gulp-sass": "^1.3.3", "gulp-webser...
Add modules Bower, EventStream and gulp-concat
Add modules Bower, EventStream and gulp-concat
JSON
mit
MadCatme/mcw,MadCatme/mcw
json
## Code Before: { "name": "mcw", "version": "0.0.1", "devDependencies": { "coffee-script": "^1.9.1", "del": "^1.1.1", "glob": "^5.0.3", "gulp": "^3.8.11", "gulp-coffee": "^2.3.1", "gulp-sass": "^1.3.3", "gulp-webserver": "^0.9.0", "require-dir": "^0.2.0" } } ## Instruction: Add ...
fefde89f85e2dc3e6fcc3b3f8a445b1950d06b4a
composer.json
composer.json
{ "name": "gos/websocket-client", "type": "library", "description": "WAMP client in PHP", "keywords": ["Ratchet", "WAMP", "WebSocket"], "license": "MIT", "authors": [ { "name": "Martin Bažík", "email": "martin@bazo.sk" }, { "name": "Johann Saunier", "email": "johann_27@hotmail.fr" } ], "re...
{ "name": "gos/websocket-client", "type": "library", "description": "WAMP client in PHP", "keywords": ["Ratchet", "WAMP", "WebSocket"], "license": "MIT", "authors": [ { "name": "Martin Bažík", "email": "martin@bazo.sk" }, { "name": "Johann Saunier", "email": "johann_27@hotmail.fr" } ], "requ...
Mark PSR-3 and ext/json deps
Mark PSR-3 and ext/json deps
JSON
mit
GeniusesOfSymfony/WebSocketClient,GeniusesOfSymfony/WebSocketPhpClient
json
## Code Before: { "name": "gos/websocket-client", "type": "library", "description": "WAMP client in PHP", "keywords": ["Ratchet", "WAMP", "WebSocket"], "license": "MIT", "authors": [ { "name": "Martin Bažík", "email": "martin@bazo.sk" }, { "name": "Johann Saunier", "email": "johann_27@hotmail....
406de72358c1f6689c02243fd6c39072eedcf8e3
ci/travis-38.yaml
ci/travis-38.yaml
name: glymur channels: - conda-forge dependencies: - python=3.8.* - gdal - lxml - numpy - openjpeg - scikit-image
name: glymur channels: - defaults dependencies: - python=3.8.* - gdal - lxml - numpy - openjpeg - scikit-image
Use defaults channel, not conda-forge, for 3.8
Use defaults channel, not conda-forge, for 3.8
YAML
mit
quintusdias/glymur,quintusdias/glymur
yaml
## Code Before: name: glymur channels: - conda-forge dependencies: - python=3.8.* - gdal - lxml - numpy - openjpeg - scikit-image ## Instruction: Use defaults channel, not conda-forge, for 3.8 ## Code After: name: glymur channels: - defaults dependencies: - python=3.8.* - gdal...
76b615b80d24fcceb87e602626a163e829cb2995
tests/modular/issue38703/main.dart
tests/modular/issue38703/main.dart
import 'others.dart'; import 'package:expect/expect.dart'; const Map<Key, String> m = {someKey: "PASSED"}; main() { Expect.equals(m[someKey], "PASSED"); }
import 'others.dart'; import 'package:expect/expect.dart'; const Map<Key, String> m = {someKey: "PASSED"}; main() { Expect.equals("PASSED", m[someKey]); }
Fix expected and actual ordering
[test] Fix expected and actual ordering Not a big deal but I was confused for longer than I would like to admit because the failure message labels the "expected" and "actual" values as such. Change-Id: I433d263b873286a54725b7a2a0ba536dd29aae47 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262664 Reviewed-...
Dart
bsd-3-clause
dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk
dart
## Code Before: import 'others.dart'; import 'package:expect/expect.dart'; const Map<Key, String> m = {someKey: "PASSED"}; main() { Expect.equals(m[someKey], "PASSED"); } ## Instruction: [test] Fix expected and actual ordering Not a big deal but I was confused for longer than I would like to admit because the fai...
e4b2d2968858bbaac3175686d15ab493a1942319
.travis.yml
.travis.yml
language: python python: - 3.2 - 3.3 before_install: - git clone git://github.com/libgit2/libgit2.git -b master - cd libgit2 && mkdir build && cd build - cmake .. - cmake --build . - sudo cmake --build . --target install - cd ../.. install: - pip install -r tests/requirements.txt --use-mirrors - pi...
language: python python: - 3.2 - 3.3 before_install: - git clone git://github.com/libgit2/libgit2.git -b master - cd libgit2 && mkdir build && cd build - cmake .. - cmake --build . - sudo cmake --build . --target install -DCMAKE_INSTALL_PATH=/usr - cd ../.. install: - pip install -r tests/requirements...
Update build instructions for libgit2 in Travis conf.
Update build instructions for libgit2 in Travis conf.
YAML
bsd-3-clause
rshipp/sundara
yaml
## Code Before: language: python python: - 3.2 - 3.3 before_install: - git clone git://github.com/libgit2/libgit2.git -b master - cd libgit2 && mkdir build && cd build - cmake .. - cmake --build . - sudo cmake --build . --target install - cd ../.. install: - pip install -r tests/requirements.txt --us...
abac7dfd99e10f8b1bbce7344c2cd18039a1cbd5
source/apis.html.md.erb
source/apis.html.md.erb
--- layout: api_layout title: API docs ---
--- layout: api_layout title: API docs --- These documents are pulled in automatically from the `docs` folder in each respective repository. Only apps which have set [`consume_docs_folder: true` in applications.yml][yaml] will be pulled in. [yaml]: https://github.com/alphagov/govuk-developer-docs/blob/59f31f913681279...
Write some content for the /apis.html page
Write some content for the /apis.html page
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
html+erb
## Code Before: --- layout: api_layout title: API docs --- ## Instruction: Write some content for the /apis.html page ## Code After: --- layout: api_layout title: API docs --- These documents are pulled in automatically from the `docs` folder in each respective repository. Only apps which have set [`consume_docs_fol...
df21faead2b427c56152eca744f12ce8fcc1e0ca
package/index.js
package/index.js
/* eslint global-require: 0 */ /* eslint import/no-dynamic-require: 0 */ const Environment = require('./environment') const { existsSync } = require('fs') function createEnvironment() { const path = `./environments/${process.env.NODE_ENV}` const constructor = existsSync(path) ? require(path) : Environment retur...
/* eslint global-require: 0 */ /* eslint import/no-dynamic-require: 0 */ const Environment = require('./environment') const { resolve } = require('path') const { existsSync } = require('fs') function createEnvironment() { const path = resolve(__dirname, 'environments', `${process.env.NODE_ENV}.js`) const construc...
Resolve full file path + name to fix existsSync check
Resolve full file path + name to fix existsSync check
JavaScript
mit
gauravtiwari/webpacker,gauravtiwari/webpacker,usertesting/webpacker,rossta/webpacker,rossta/webpacker,rails/webpacker,usertesting/webpacker,rails/webpacker,rossta/webpacker,rossta/webpacker,usertesting/webpacker,gauravtiwari/webpacker
javascript
## Code Before: /* eslint global-require: 0 */ /* eslint import/no-dynamic-require: 0 */ const Environment = require('./environment') const { existsSync } = require('fs') function createEnvironment() { const path = `./environments/${process.env.NODE_ENV}` const constructor = existsSync(path) ? require(path) : Env...
14f83effabd2d5fbec15a86be8a3863265e8d41c
.travis.yml
.travis.yml
language: python python: "2.7" script: - "python setup.py test" after_script: - sudo apt-get update -qq - sudo apt-get install -yy ansible - config/deploy notifications: irc: "irc.freenode.org#takeyourmeds"
language: python python: "2.7" before_install: - sudo apt-get update -qq - sudo apt-get install -y ansible script: - "python setup.py test" after_script: - config/deploy notifications: irc: "irc.freenode.org#takeyourmeds"
Put these earlier - for caching?
Put these earlier - for caching?
YAML
mit
takeyourmeds/takeyourmeds-web,takeyourmeds/takeyourmeds-web,takeyourmeds/takeyourmeds-web,takeyourmeds/takeyourmeds-web
yaml
## Code Before: language: python python: "2.7" script: - "python setup.py test" after_script: - sudo apt-get update -qq - sudo apt-get install -yy ansible - config/deploy notifications: irc: "irc.freenode.org#takeyourmeds" ## Instruction: Put these earlier - for caching? ## Code After: language: python p...
759b262f4dc9e402217d54bc07a0c9c1a016d53c
common/model/src/main/java/roart/common/model/FileObject.java
common/model/src/main/java/roart/common/model/FileObject.java
package roart.common.model; public class FileObject { public FileObject() { } public FileObject(Object file, String fs) { this.object = file; this.fs = fs; } public Object object; public String fs; }
package roart.common.model; public class FileObject { public FileObject() { } public FileObject(String file, String fs) { this.object = file; this.fs = fs; } public String object; public String fs; }
Revert from fs map (I37).
Revert from fs map (I37).
Java
agpl-3.0
rroart/aether,rroart/aether,rroart/aether,rroart/aether,rroart/aether
java
## Code Before: package roart.common.model; public class FileObject { public FileObject() { } public FileObject(Object file, String fs) { this.object = file; this.fs = fs; } public Object object; public String fs; } ## Instruction: Revert from fs map (I37). ## Code After: package roart.common.model; pu...
65d17306e1395b1c983f7ed4711f1cf16be36a9e
metadata/org.secuso.privacyfriendlypasswordgenerator.txt
metadata/org.secuso.privacyfriendlypasswordgenerator.txt
Categories:Security License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-passwordgenerator Issue Tracker:https://github.com/SecUSo/privacy-friendly-passwordgenerator/issues Donate:https://secuso.org/pfa Auto Name:Password Generator Summary:Generate passwords Descriptio...
Categories:Security License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-passwordgenerator Issue Tracker:https://github.com/SecUSo/privacy-friendly-passwordgenerator/issues Donate:https://secuso.org/pfa Auto Name:Password Generator Summary:Generate passwords Descriptio...
Update Password Generator to 1.0.1 (2)
Update Password Generator to 1.0.1 (2)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:Security License:GPL-3.0 Web Site:https://secuso.org/pfa Source Code:https://github.com/SecUSo/privacy-friendly-passwordgenerator Issue Tracker:https://github.com/SecUSo/privacy-friendly-passwordgenerator/issues Donate:https://secuso.org/pfa Auto Name:Password Generator Summary:Generate pass...
f7c3fc63c12475496ce0a22d6b304a14dfc65e38
app/views/content/_actions.html.erb
app/views/content/_actions.html.erb
<% @decorated_content.action_buttons.each do |action| %> <% if action[:link_to] %> <%= link_to action[:text], action[:path], class: action[:class], method: (action[:method] || :post ), type: action[:type] %> <% elsif action[:button_to] %> <%= button_to action[:text], action[:path], class: action[:class], me...
<% @decorated_content.action_buttons.each do |action| %> <% if action[:link_to] %> <%= link_to action[:text], action[:path], class: action[:class], method: (action[:method] || :post ), type: action[:type], role: "button", data: { disable_with: action[:text]} %> <% elsif action[:button_to] %> <%= button_to a...
Add disable with to link_to and button_to.
Add disable with to link_to and button_to.
HTML+ERB
agpl-3.0
harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o
html+erb
## Code Before: <% @decorated_content.action_buttons.each do |action| %> <% if action[:link_to] %> <%= link_to action[:text], action[:path], class: action[:class], method: (action[:method] || :post ), type: action[:type] %> <% elsif action[:button_to] %> <%= button_to action[:text], action[:path], class: ac...
6c660b6d606041cd35f6dd5b6e23aad53896711c
lib/api/blueprints/create.js
lib/api/blueprints/create.js
/** * Module dependencies */ var util = require( 'util' ), actionUtil = require( './_util/actionUtil' ), pluralize = require('pluralize'); /** * Create Record * * post /:modelIdentity * * An API call to create and return a single model instance from the data adapter * using the specified criteria. * */ m...
/** * Module dependencies */ var util = require( 'util' ), actionUtil = require( './_util/actionUtil' ), pluralize = require('pluralize'); /** * Create Record * * post /:modelIdentity * * An API call to create and return a single model instance from the data adapter * using the specified criteria. * */ m...
Handle possible error in resource creation
HOTFIX: Handle possible error in resource creation
JavaScript
mit
dynamiccast/sails-json-api-blueprints
javascript
## Code Before: /** * Module dependencies */ var util = require( 'util' ), actionUtil = require( './_util/actionUtil' ), pluralize = require('pluralize'); /** * Create Record * * post /:modelIdentity * * An API call to create and return a single model instance from the data adapter * using the specified cr...
74d668cb8291822a167d1ddd0fecf7e580375377
serv/rcompserv/serv.py
serv/rcompserv/serv.py
from aiohttp import web from . import __version__ class Server: def __init__(self, host='127.0.0.1', port=8080): self._host = host self._port = port self.app = web.Application() self.app.router.add_get('/', self.index) self.known_commands = ['version'] self.app.rou...
import uuid from datetime import datetime from aiohttp import web import redis from . import __version__ class Server: def __init__(self, host='127.0.0.1', port=8080): self._host = host self._port = port self.app = web.Application() self.app.on_startup.append(self.start_redis) ...
Add route for `trivial` (vacuous) command
Add route for `trivial` (vacuous) command
Python
bsd-3-clause
slivingston/rcomp,slivingston/rcomp,slivingston/rcomp
python
## Code Before: from aiohttp import web from . import __version__ class Server: def __init__(self, host='127.0.0.1', port=8080): self._host = host self._port = port self.app = web.Application() self.app.router.add_get('/', self.index) self.known_commands = ['version'] ...
be6a150bbfe939ddab1a311aecb7a5dcc8267c97
scss/_close.scss
scss/_close.scss
// transparent background and border properties included for button version. // iOS requires the button element instead of an anchor tag. // If you want the anchor version, it requires `href="#"`. // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile .btn-close { box-sizing: content-box; w...
// transparent background and border properties included for button version. // iOS requires the button element instead of an anchor tag. // If you want the anchor version, it requires `href="#"`. // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile .btn-close { box-sizing: content-box; w...
Update .btn-close-white to use grayscale() filter too for better focus styles
Update .btn-close-white to use grayscale() filter too for better focus styles
SCSS
mit
m5o/bootstrap,m5o/bootstrap,inway/bootstrap,GerHobbelt/bootstrap,tjkohli/bootstrap,tjkohli/bootstrap,inway/bootstrap,coliff/bootstrap,twbs/bootstrap,GerHobbelt/bootstrap,inway/bootstrap,coliff/bootstrap,twbs/bootstrap,GerHobbelt/bootstrap
scss
## Code Before: // transparent background and border properties included for button version. // iOS requires the button element instead of an anchor tag. // If you want the anchor version, it requires `href="#"`. // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile .btn-close { box-sizing: ...
0bd885a977236568aec4d502a9686920d722a7a2
components/SiteNav/index.jsx
components/SiteNav/index.jsx
import React from 'react'; import { Link } from 'react-router'; import { prefixLink } from 'gatsby-helpers'; import './style.css'; class SiteNav extends React.Component { render() { return ( <nav className="blog-nav"> <ul> <li> <Link to={prefixLink('/')} activeClassName="curre...
import React from 'react'; import { Link } from 'react-router'; import { prefixLink } from 'gatsby-helpers'; import './style.css'; class SiteNav extends React.Component { render() { return ( <nav className="blog-nav"> <ul> <li> <Link to={prefixLink('/')} activeClassName="curre...
Add link to latex symbols page in left nav
Add link to latex symbols page in left nav
JSX
mit
lilac/lilac.github.io,lilac/lilac.github.io
jsx
## Code Before: import React from 'react'; import { Link } from 'react-router'; import { prefixLink } from 'gatsby-helpers'; import './style.css'; class SiteNav extends React.Component { render() { return ( <nav className="blog-nav"> <ul> <li> <Link to={prefixLink('/')} active...
3ec39661f0ec625e9dc3810ae74ddfdfebcbcddc
db/migrate/20190318115000_fix_page_file_ids.rb
db/migrate/20190318115000_fix_page_file_ids.rb
class FixPageFileIds < ActiveRecord::Migration[5.0] def change attachment_id = max_id(:attachment_id, :page_files) pf_id = max_id(:id, :page_files) if attachment_id && pf_id max_id = [attachment_id, pf_id].max execute("UPDATE page_files SET id = id + #{max_id + 1}") execute("UPDATE pag...
class FixPageFileIds < ActiveRecord::Migration[5.0] def change attachment_id = max_id(:attachment_id, :page_files) pf_id = max_id(:id, :page_files) if attachment_id && pf_id max_id = [attachment_id, pf_id].max execute("UPDATE page_files SET id = id + #{max_id + 1}") execute("UPDATE pag...
Fix FixPageFileIds again for postgres
Fix FixPageFileIds again for postgres
Ruby
mit
kord-as/pages,kord-as/pages,manualdesign/pages,kord-as/pages,manualdesign/pages,anyone-oslo/pages,anyone-oslo/pages,anyone-oslo/pages,manualdesign/pages
ruby
## Code Before: class FixPageFileIds < ActiveRecord::Migration[5.0] def change attachment_id = max_id(:attachment_id, :page_files) pf_id = max_id(:id, :page_files) if attachment_id && pf_id max_id = [attachment_id, pf_id].max execute("UPDATE page_files SET id = id + #{max_id + 1}") exe...
591eaced924929e572e4d19e5d573876a7826a24
_config.yml
_config.yml
name: Bedford Lab Research description: Science updates on evolution, epidemiology and immunology from the Bedford lab at the Fred Hutch url: http://bedford.io markdown: redcarpet highlighter: pygments permalink: /:categories/:title/ redcarpet: extensions: - tables - no_intra_emphasis - autolink - supe...
name: Bedford Lab Research description: Science updates on evolution, epidemiology and immunology from the Bedford lab at the Fred Hutch url: http://bedford.io markdown: redcarpet highlighter: pygments permalink: /:categories/:title/ redcarpet: extensions: - tables - no_intra_emphasis - autolink - supe...
Fix bug in Jekyll compiling.
Fix bug in Jekyll compiling.
YAML
mit
AustenLamacraft/austenlamacraft.github.io,AustenLamacraft/austenlamacraft.github.io,AustenLamacraft/austenlamacraft.github.io
yaml
## Code Before: name: Bedford Lab Research description: Science updates on evolution, epidemiology and immunology from the Bedford lab at the Fred Hutch url: http://bedford.io markdown: redcarpet highlighter: pygments permalink: /:categories/:title/ redcarpet: extensions: - tables - no_intra_emphasis - au...
a0f613bbeb55f943cd3e77acafe4452cb6180ce9
Source/Operators.swift
Source/Operators.swift
precedencegroup MonadicPrecedenceRight { associativity: right lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } precedencegroup MonadicPrecedenceLeft { associativity: left lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } precedencegroup Applic...
precedencegroup PromiseKMonadicPrecedenceRight { associativity: right lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } precedencegroup PromiseKMonadicPrecedenceLeft { associativity: left lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } preced...
Add the `PromiseK` prefix to precedencegroup
Add the `PromiseK` prefix to precedencegroup
Swift
mit
koher/PromiseK
swift
## Code Before: precedencegroup MonadicPrecedenceRight { associativity: right lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } precedencegroup MonadicPrecedenceLeft { associativity: left lowerThan: LogicalDisjunctionPrecedence higherThan: AssignmentPrecedence } preced...
ebf20a321a3c1aa0d175b2127d74faebddcb62cc
config/application.yml
config/application.yml
defaults: &defaults app_name: Locomotive google_analytics: enabled: false http_auth: login: 'locomotive' password: 'password' exception_notification: sender_address: 'error@locomotive.com' exception_recipients: 'lukasz@llp.pl' twitter_app_id: '3i3gwbqOoETDV87aVPec1g' twitter_app_secret: ...
defaults: &defaults app_name: Locomotive google_analytics: enabled: false http_auth: login: 'locomotive' password: 'password' exception_notification: sender_address: 'error@locomotive.com' exception_recipients: 'lucassus@gmail.com' twitter_app_id: '3i3gwbqOoETDV87aVPec1g' twitter_app_sec...
Change error notification email address.
Change error notification email address.
YAML
mit
lucassus/locomotive,webdev1001/locomotive,webdev1001/locomotive,lucassus/locomotive,webdev1001/locomotive,lucassus/locomotive,webdev1001/locomotive
yaml
## Code Before: defaults: &defaults app_name: Locomotive google_analytics: enabled: false http_auth: login: 'locomotive' password: 'password' exception_notification: sender_address: 'error@locomotive.com' exception_recipients: 'lukasz@llp.pl' twitter_app_id: '3i3gwbqOoETDV87aVPec1g' twit...
897773fa1c0381b77c649ad09fc2592480e0bc0c
sync.sh
sync.sh
set -e until ls "/media/nook/My Files" > /dev/null 2>&1; do file -s /dev/sdc > /dev/null 2>&1 || true; sleep 0.1; done rsync --delete --inplace --recursive --times --verbose --existing /srv/epubs/ "/media/nook/My Files/Books/fanfiction/" time -p ./ff update +RTS -N -RTS "$@" rsync --delete --inplace --recursive --...
set -e file -s /dev/sdc > /dev/null 2>&1 || true until ls "/media/nook/My Files" > /dev/null 2>&1; do file -s /dev/sdc > /dev/null 2>&1 || true rl -c 1 << END Waiting for Nook to show up... You can go ahead an plug the Nook in now. Any time, jerk. Why don't you plug in the Nook? I'm not sure what you're waitin...
Add insults while waiting for the Nook.
Add insults while waiting for the Nook.
Shell
mit
jblake/fanfiction,jblake/fanfiction
shell
## Code Before: set -e until ls "/media/nook/My Files" > /dev/null 2>&1; do file -s /dev/sdc > /dev/null 2>&1 || true; sleep 0.1; done rsync --delete --inplace --recursive --times --verbose --existing /srv/epubs/ "/media/nook/My Files/Books/fanfiction/" time -p ./ff update +RTS -N -RTS "$@" rsync --delete --inplac...
7fd7bbb036b077f7a6eaad381c7884efeefa10de
build/ubuntufiles/client/usr/share/applications/sagetv.desktop
build/ubuntufiles/client/usr/share/applications/sagetv.desktop
[Desktop Entry] Encoding=UTF-8 Type=Application Name=SageTV Client 6.5.8 Comment=Client/Placeshifter for SageTV 6.5.8 Exec=/opt/sagetv/client/sageclient.sh TryExec=/opt/sagetv/client/sageclient.sh Terminal=false Categories=Applications;AudioVideo Icon=SageIcon64.png
[Desktop Entry] Encoding=UTF-8 Type=Application Name=SageTV Client MAJOR_VERSION.MINOR_VERSION.MICRO_VERSION Comment=Client/Placeshifter for SageTV MAJOR_VERSION.MINOR_VERSION.MICRO_VERSION Exec=/opt/sagetv/client/sageclient.sh TryExec=/opt/sagetv/client/sageclient.sh Terminal=false Categories=Applications;AudioVideo I...
Remove hard-coded SageTV versions in the Ubuntu desktop shortcut file.
Remove hard-coded SageTV versions in the Ubuntu desktop shortcut file.
desktop
apache-2.0
gilleslabelle/sagetv,OpenSageTV/sagetv,jason-bean/sagetv,shyamalschandra/sagetv,richard-nellist/sagetv,BartokW/sagetv,Slugger/sagetv,tmiranda1962/sagetv-1,peterSVS/sagetv,shyamalschandra/sagetv,BartokW/sagetv,OpenSageTV/sagetv,troll5501/sagetv,webernissle/sagetv,gasinger/sagetv,richard-nellist/sagetv,stuckless/sagetv,j...
desktop
## Code Before: [Desktop Entry] Encoding=UTF-8 Type=Application Name=SageTV Client 6.5.8 Comment=Client/Placeshifter for SageTV 6.5.8 Exec=/opt/sagetv/client/sageclient.sh TryExec=/opt/sagetv/client/sageclient.sh Terminal=false Categories=Applications;AudioVideo Icon=SageIcon64.png ## Instruction: Remove hard-coded Sa...
5c31046ce691d95dfa56deb4f6814f0fbbc1eee7
model/File/schema.js
model/File/schema.js
import {DataTypes as t} from "sequelize" import mime from "mime-types" /** * @const schema * * @type {import("sequelize").ModelAttributes} */ const schema = { id: { type: t.INTEGER.UNSIGNED, primaryKey: true, autoIncrement: true }, path: { type: t.STRING, allowNull: false }, hash: { ...
import {DataTypes as t} from "sequelize" import mime from "mime-types" /** * @const schema * * @type {import("sequelize").ModelAttributes} */ const schema = { id: { type: t.INTEGER.UNSIGNED, primaryKey: true, autoIncrement: true }, path: { type: t.STRING, allowNull: false }, hash: { ...
Add basename field to File model
Add basename field to File model
JavaScript
mit
octet-stream/eri,octet-stream/eri
javascript
## Code Before: import {DataTypes as t} from "sequelize" import mime from "mime-types" /** * @const schema * * @type {import("sequelize").ModelAttributes} */ const schema = { id: { type: t.INTEGER.UNSIGNED, primaryKey: true, autoIncrement: true }, path: { type: t.STRING, allowNull: false...
d483e49d826607c0f59ee4b531a2b8e98beffa40
guizero/__init__.py
guizero/__init__.py
try: from tkinter import * except: from Tkinter import * # ----------------------------- import utilities as utils from alerts import * from App import App from Box import Box from ButtonGroup import ButtonGroup from CheckBox import CheckBox from Combo import Combo from MenuBar import MenuBar from Picture...
try: from tkinter import * except: from Tkinter import * # ----------------------------- __all__ = ['utilities', 'alerts', 'App', 'Box', 'ButtonGroup', 'CheckBox', 'Combo', 'MenuBar', 'Picture', 'PushButton', 'RadioButton', 'Slider', 'Text', 'TextBox', 'PushButton'] import utilities as utils from ...
Add an all to init
Add an all to init
Python
bsd-3-clause
lawsie/guizero,lawsie/guizero,lawsie/guizero
python
## Code Before: try: from tkinter import * except: from Tkinter import * # ----------------------------- import utilities as utils from alerts import * from App import App from Box import Box from ButtonGroup import ButtonGroup from CheckBox import CheckBox from Combo import Combo from MenuBar import Menu...
ed4d27cd84776f71112e3b682e1e2884cdbf213d
BeatBox/app/src/main/res/drawable/button_beat_box_pressed.xml
BeatBox/app/src/main/res/drawable/button_beat_box_pressed.xml
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="@color/red"/> </shape>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="oval"> <solid android:color="@color/red"/> </shape> </item> <item> <shape android:shape="oval"> <stroke ...
Add border to the pressed drawable
Add border to the pressed drawable
XML
apache-2.0
dcordero/BigNerdRanch-Android
xml
## Code Before: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="@color/red"/> </shape> ## Instruction: Add border to the pressed drawable ## Code After: <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> ...
b03adb8cab6122347d062427a27fef8d4bf85c70
autoconf/AutoRegen.sh
autoconf/AutoRegen.sh
die () { echo "$@" 1>&2 exit 1 } test -d autoconf && test -f autoconf/configure.ac && cd autoconf test -f configure.ac || die "Can't find 'autoconf' dir; please cd into it first" autoconf --version | egrep '2\.5[0-9]' > /dev/null if test $? -ne 0 then die "Your autoconf was not detected as being 2.5x" fi echo "Note:...
die () { echo "$@" 1>&2 exit 1 } test -d autoconf && test -f autoconf/configure.ac && cd autoconf test -f configure.ac || die "Can't find 'autoconf' dir; please cd into it first" autoconf --version | egrep '2\.59' > /dev/null if test $? -ne 0 ; then die "Your autoconf was not detected as being 2.59" fi aclocal --ve...
Add in version dependency checks on all the tools we depend on. This is necessary to ensure that a consistent configuration is created on each platform. Certain definitions we use (like m4/libtool.m4) require certain versions of the tools and we can no longer be slack about this or we'll have problems with mis-configur...
Add in version dependency checks on all the tools we depend on. This is necessary to ensure that a consistent configuration is created on each platform. Certain definitions we use (like m4/libtool.m4) require certain versions of the tools and we can no longer be slack about this or we'll have problems with mis-configur...
Shell
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llv...
shell
## Code Before: die () { echo "$@" 1>&2 exit 1 } test -d autoconf && test -f autoconf/configure.ac && cd autoconf test -f configure.ac || die "Can't find 'autoconf' dir; please cd into it first" autoconf --version | egrep '2\.5[0-9]' > /dev/null if test $? -ne 0 then die "Your autoconf was not detected as being 2.5x...
5aa2d6631add7936bfae89c3bee3b4d1e9d35cb4
tests/acceptance/categories-test.js
tests/acceptance/categories-test.js
import { test } from 'qunit'; import moduleForAcceptance from 'cargo/tests/helpers/module-for-acceptance'; import hasText from 'cargo/tests/helpers/has-text'; moduleForAcceptance('Acceptance | categories'); test('listing categories', async function(assert) { server.loadFixtures(); await visit('/categories');...
import { test } from 'qunit'; import moduleForAcceptance from 'cargo/tests/helpers/module-for-acceptance'; import hasText from 'cargo/tests/helpers/has-text'; moduleForAcceptance('Acceptance | categories'); test('listing categories', async function(assert) { server.create('category', { category: 'API bindings', c...
Use "category" factory instead of fixtures
tests/acceptance/categories: Use "category" factory instead of fixtures
JavaScript
apache-2.0
rust-lang/crates.io,steveklabnik/crates.io,rust-lang/crates.io,rust-lang/crates.io,steveklabnik/crates.io,steveklabnik/crates.io,rust-lang/crates.io,steveklabnik/crates.io
javascript
## Code Before: import { test } from 'qunit'; import moduleForAcceptance from 'cargo/tests/helpers/module-for-acceptance'; import hasText from 'cargo/tests/helpers/has-text'; moduleForAcceptance('Acceptance | categories'); test('listing categories', async function(assert) { server.loadFixtures(); await visit...
fdb7363575bd69172a6672b9c337c6e2ffdf4877
lib/side-view.coffee
lib/side-view.coffee
{View, $} = require 'atom' module.exports = class SideView extends View @content: (side) -> @div class: "side #{side.klass()} ui-site-#{side.site()}", => @div class: 'controls', => @label class: 'text-highlight', side.ref @span class: 'text-subtle', "// #{side.description()}" @butto...
{View, $} = require 'atom' module.exports = class SideView extends View @content: (side) -> @div class: "side #{side.klass()} ui-site-#{side.site()}", => @div class: 'controls', => @label class: 'text-highlight', side.ref @span class: 'text-subtle', "// #{side.description()}" @butto...
Add the appropriate line class.
Add the appropriate line class.
CoffeeScript
mit
smashwilson/merge-conflicts,antcodd/merge-conflicts,smashwilson/merge-conflicts
coffeescript
## Code Before: {View, $} = require 'atom' module.exports = class SideView extends View @content: (side) -> @div class: "side #{side.klass()} ui-site-#{side.site()}", => @div class: 'controls', => @label class: 'text-highlight', side.ref @span class: 'text-subtle', "// #{side.description()}...
ff3910947601845d0eb5eaec78616bb8f8a40e72
src/BoomCMS/Core/Http/Middleware/DisableHttpCacheIfLoggedIn.php
src/BoomCMS/Core/Http/Middleware/DisableHttpCacheIfLoggedIn.php
<?php namespace BoomCMS\Core\Http\Middleware; use Closure; use BoomCMS\Core\Auth\Auth; class DisableHttpCacheIfLoggedIn { /** * * @var Auth */ protected $auth; public function __construct(Auth $auth) { $this->auth = $auth; } /** * Handle an incoming request. ...
<?php namespace BoomCMS\Core\Http\Middleware; use Closure; use BoomCMS\Core\Auth\Auth; class DisableHttpCacheIfLoggedIn { /** * * @var Auth */ protected $auth; public function __construct(Auth $auth) { $this->auth = $auth; } /** * Handle an incoming request. ...
Disable cache properly when logged in. Prevents browser using cache for back button which breaks CSRF protection
Disable cache properly when logged in. Prevents browser using cache for back button which breaks CSRF protection
PHP
mit
boomcms/boom-core,boomcms/boom-core,boomcms/boom-core
php
## Code Before: <?php namespace BoomCMS\Core\Http\Middleware; use Closure; use BoomCMS\Core\Auth\Auth; class DisableHttpCacheIfLoggedIn { /** * * @var Auth */ protected $auth; public function __construct(Auth $auth) { $this->auth = $auth; } /** * Handle an incomi...
b6de59020f640b42f1b9d31442779f3c5e84d6e1
composer.json
composer.json
{ "name": "matthiasnoback/microsoft-translator-bundle", "type": "symfony-bundle", "description": "Bundle for using the Microsoft Translator V2 API", "keywords": ["translate","Microsoft Translator", "Bing"], "homepage": "http://github.com/matthiasnoback/MicrosoftTranslatorBundle", "license": "MIT...
{ "name": "matthiasnoback/microsoft-translator-bundle", "type": "symfony-bundle", "description": "Bundle for using the Microsoft Translator V2 API", "keywords": ["translate","Microsoft Translator", "Bing"], "homepage": "http://github.com/matthiasnoback/MicrosoftTranslatorBundle", "license": "MIT...
Allow other Symfony versions to be used
Allow other Symfony versions to be used Fixes #3.
JSON
mit
matthiasnoback/MicrosoftTranslatorBundle
json
## Code Before: { "name": "matthiasnoback/microsoft-translator-bundle", "type": "symfony-bundle", "description": "Bundle for using the Microsoft Translator V2 API", "keywords": ["translate","Microsoft Translator", "Bing"], "homepage": "http://github.com/matthiasnoback/MicrosoftTranslatorBundle", ...
44da4e0035a0a72346b72c696aee73c23096275f
tests/testWithCallBack.js
tests/testWithCallBack.js
const request = require('request') function getLuke(cb) { const lukeInfo = { name: 'Luke', } request('https://swapi.co/api/people/1', (error, response, body) => { if (error) return cb(error) const data = JSON.parse(body) const startShipURL = data.starships[0] const vehicleUR...
const request = require('request') function getLuke(cb) { const lukeInfo = { name: 'Luke', } /* Here stars the callback hell. Please notice the if (error) return cb(error) redundant code */ request('https://swapi.co/api/people/1', (error, response, body) => { if (error) return cb(error) ...
Add notice in callback example
Add notice in callback example
JavaScript
mit
pierreroth64/js-async-tutorial
javascript
## Code Before: const request = require('request') function getLuke(cb) { const lukeInfo = { name: 'Luke', } request('https://swapi.co/api/people/1', (error, response, body) => { if (error) return cb(error) const data = JSON.parse(body) const startShipURL = data.starships[0] ...
029ac8c2e4b16d3532b254776c8c47f41d9c4999
src/utils/extend.ts
src/utils/extend.ts
import { Stream } from 'xstream'; export function shallowCopy(target: Object, source: Object) { for (var key in source) if (source.hasOwnProperty(key)) target[key] = source[key]; } export function shallowExtend(target: Object, ...sources: Object[]): Object { sources.forEach(source => shallowCopy(tar...
import { Stream } from 'xstream'; export function shallowCopy(target: Object, source: Object) { for (var key in source) if (source.hasOwnProperty(key)) target[key] = source[key]; } export function shallowExtend(target: Object, ...sources: Object[]): Object { sources.forEach(source => shallowCopy(tar...
Fix merge to pass tests
Fix merge to pass tests
TypeScript
mit
cyclic-ui/cyclic-ui,cyclic-ui/cyclic-ui
typescript
## Code Before: import { Stream } from 'xstream'; export function shallowCopy(target: Object, source: Object) { for (var key in source) if (source.hasOwnProperty(key)) target[key] = source[key]; } export function shallowExtend(target: Object, ...sources: Object[]): Object { sources.forEach(source =>...
ba81e0347c818c07de217ad091f1e8fa2efd7516
packages/ph/phonetic-languages-simplified-common.yaml
packages/ph/phonetic-languages-simplified-common.yaml
homepage: https://hackage.haskell.org/package/phonetic-languages-simlified-common changelog-type: markdown hash: f812f62aa6a6ce9cf4604f9c3841e824c2e3f3eaeb950b22b38619a698596fd5 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: A simplified version of the phonetic-languages-functionality changelog: | # ...
homepage: https://hackage.haskell.org/package/phonetic-languages-simlified-common changelog-type: markdown hash: 13aef6dd6c32b3c6db357d1c1c1aa52b4b98f2f22036518c7e83d1882608680a test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: A simplified version of the phonetic-languages-functionality changelog: | # ...
Update from Hackage at 2020-11-20T15:54:33Z
Update from Hackage at 2020-11-20T15:54:33Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://hackage.haskell.org/package/phonetic-languages-simlified-common changelog-type: markdown hash: f812f62aa6a6ce9cf4604f9c3841e824c2e3f3eaeb950b22b38619a698596fd5 test-bench-deps: {} maintainer: olexandr543@yahoo.com synopsis: A simplified version of the phonetic-languages-functionality c...
21dc447e8905eb7b883439646975403868803296
test/incrParse/invalid.swift
test/incrParse/invalid.swift
// RUN: %empty-directory(%t) // RUN: %incparse-test %s --test-case NO_CHANGES func start() {} class Bar let y = 1
// RUN: %empty-directory(%t) // RUN: %incparse-test %s --test-case NO_CHANGES // RUN: %incparse-test %s --test-case NESTED_INITIALIZERS func start() {} class Bar let y = 1 class NestedInitializers { <<NESTED_INITIALIZERS<|||init() {>>> init() { } <<NESTED_INITIALIZERS<|||}>>> }
Add test case for nested initializers
[incrParse] Add test case for nested initializers
Swift
apache-2.0
rudkx/swift,tkremenek/swift,allevato/swift,aschwaighofer/swift,shahmishal/swift,xedin/swift,CodaFi/swift,gribozavr/swift,amraboelela/swift,brentdax/swift,CodaFi/swift,jopamer/swift,gregomni/swift,hooman/swift,brentdax/swift,karwa/swift,aschwaighofer/swift,allevato/swift,jckarter/swift,apple/swift,JGiola/swift,sschiau/s...
swift
## Code Before: // RUN: %empty-directory(%t) // RUN: %incparse-test %s --test-case NO_CHANGES func start() {} class Bar let y = 1 ## Instruction: [incrParse] Add test case for nested initializers ## Code After: // RUN: %empty-directory(%t) // RUN: %incparse-test %s --test-case NO_CHANGES // RUN: %incparse-test %s ...
aa9e4840c5789a65d2fd9c35d5475b01360dc7bf
error.go
error.go
package hdfs import ( "os" "syscall" ) const ( fileNotFoundException = "java.io.FileNotFoundException" permissionDeniedException = "org.apache.hadoop.security.AccessControlException" pathIsNotEmptyDirException = "org.apache.hadoop.fs.PathIsNotEmptyDirectoryException" ) // Error represents a remote java ex...
package hdfs import ( "os" "syscall" ) const ( fileNotFoundException = "java.io.FileNotFoundException" permissionDeniedException = "org.apache.hadoop.security.AccessControlException" pathIsNotEmptyDirException = "org.apache.hadoop.fs.PathIsNotEmptyDirectoryException" FileAlreadyExistsException = "org.apac...
Add support for file already Exists exception
Add support for file already Exists exception
Go
mit
ashishgandhi/hdfs,ashishgandhi/hdfs,colinmarc/hdfs,colinmarc/hdfs
go
## Code Before: package hdfs import ( "os" "syscall" ) const ( fileNotFoundException = "java.io.FileNotFoundException" permissionDeniedException = "org.apache.hadoop.security.AccessControlException" pathIsNotEmptyDirException = "org.apache.hadoop.fs.PathIsNotEmptyDirectoryException" ) // Error represents ...
9bf59acd997c44ded82384170f89eafa3322bc1e
jekyll-asciidoc.gemspec
jekyll-asciidoc.gemspec
Gem::Specification.new do |s| s.name = 'jekyll-asciidoc' s.version = '1.0.0' s.summary = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Asciidoctor.' s.description = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Asciidoctor.' s.aut...
Gem::Specification.new do |s| s.name = 'jekyll-asciidoc' s.version = '1.0.0' s.summary = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Asciidoctor.' s.description = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Asciidoctor.' s.aut...
Add rake dependency to gemspec
Add rake dependency to gemspec Bundler complains when running `bundle exec rake` without rake in gemspec/Gemfile.
Ruby
mit
tsachev/jekyll-asciidoc,basking2/jekyll-asciidoc
ruby
## Code Before: Gem::Specification.new do |s| s.name = 'jekyll-asciidoc' s.version = '1.0.0' s.summary = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Asciidoctor.' s.description = 'A Jekyll plugin that converts AsciiDoc files in your site source to HTML pages using Ascii...
c3cef4730657def74900c49166100aea0ece4c54
setup.cfg
setup.cfg
[bumpversion] current_version = 0.8.0 commit = True tag = True [tool:pytest] testpaths = python [bumpversion:file:setup.py] [bumpversion:file:conda-recipe/meta.yaml]
[bumpversion] current_version = 0.8.0 commit = True tag = True tag_name = {version} [bumpversion:file:setup.py] [bumpversion:file:conda-recipe/meta.yaml] [tool:pytest] testpaths = python
Set tag name to GitHub-style.
Set tag name to GitHub-style.
INI
apache-2.0
alexhsamuel/fixfmt,alexhsamuel/fixfmt
ini
## Code Before: [bumpversion] current_version = 0.8.0 commit = True tag = True [tool:pytest] testpaths = python [bumpversion:file:setup.py] [bumpversion:file:conda-recipe/meta.yaml] ## Instruction: Set tag name to GitHub-style. ## Code After: [bumpversion] current_version = 0.8.0 commit = True tag = True tag_name...
b8e01922520ff2640b99cd48a5da36a729730cce
astrobin/templates/image/detail/wip_banner.html
astrobin/templates/image/detail/wip_banner.html
{% load i18n %} {% ifequal request.user image.user %} {% if image.is_wip %} <div class="alert alert-info"> <p> {% url image_promote image.id as promote_url %} {% url me as profile_url %} {% blocktrans %}This image is a <strong>work in progress</strong> from y...
{% load i18n %} {% ifequal request.user image.user %} {% if image.is_wip %} <div class="alert alert-info"> <p> {% blocktrans %}This image is a <strong>work in progress</strong> from your <a href="{{profile_url}}?staging">Staging Area</a>. This means nobody can see it unless you give...
Fix 'promote' link in banner
Fix 'promote' link in banner
HTML
agpl-3.0
astrobin/astrobin,astrobin/astrobin,astrobin/astrobin,astrobin/astrobin
html
## Code Before: {% load i18n %} {% ifequal request.user image.user %} {% if image.is_wip %} <div class="alert alert-info"> <p> {% url image_promote image.id as promote_url %} {% url me as profile_url %} {% blocktrans %}This image is a <strong>work in progress...
a8f907c5e708a482e493eee30a2260d76794aee1
lib/aasm/graph.rb
lib/aasm/graph.rb
require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png") super(:G) end def output super png: @file_path end end e...
require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize(separator: '_')}_aasm.png") super(:G) end def output super png: @file_path ...
Change call to parameterize to use Rails 5 syntax
Change call to parameterize to use Rails 5 syntax
Ruby
mit
romatr/graphviz_aasm
ruby
## Code Before: require "graphviz" module AASM class Graph < ::GraphViz def initialize(class_name, options = {}) options = {path: '.'}.merge(options) @file_path = File.join(options[:path], "#{class_name.parameterize('_')}_aasm.png") super(:G) end def output super png: @file_path...
a150447d79b76395db835335191258064a8ba531
data/transportation/ole-bikes.yaml
data/transportation/ole-bikes.yaml
name: Ole Bikes url: https://wp.stolaf.edu/sa/transportation/greenbikes/ description: >- Great green alternative, available for check-out through Rølvaag Library.
name: Ole Bikes url: https://www.stolaf.edu/library/libinfo/bikes.cfm description: >- Great green alternative, available for check-out through Rølvaag Library.
Update link in Transportation's Ole Bikes entry
Update link in Transportation's Ole Bikes entry This points to a page on www that is more up-to-date.
YAML
agpl-3.0
StoDevX/AAO-React-Native,carls-app/carls,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,carls-app/carls,carls-app/carls,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,carls-app/carls,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,carls-app/carls,carls-app/carls...
yaml
## Code Before: name: Ole Bikes url: https://wp.stolaf.edu/sa/transportation/greenbikes/ description: >- Great green alternative, available for check-out through Rølvaag Library. ## Instruction: Update link in Transportation's Ole Bikes entry This points to a page on www that is more up-to-date. ## Code After: nam...
d7ea5ca9dc3aefbc5b100daa7fe9f29bc6a08a4d
README.md
README.md
[![Build Status](http://jenkins.cloudkeep.io/buildStatus/icon?job=rackspace-barbican-tox)](http://jenkins.cloudkeep.io/job/rackspace-barbican-tox/) symantecssl =========== Supports working with the Symantec SSL service
[![Build Status](http://jenkins.cloudkeep.io/job/rackspace-barbican-tox/badge/icon)](http://jenkins.cloudkeep.io/job/rackspace-barbican-tox/) symantecssl =========== Supports working with the Symantec SSL service
Add the correct build status indicator
Add the correct build status indicator
Markdown
apache-2.0
jmvrbanac/symantecssl,glyph/symantecssl,grigouze/symantecssl,chelseawinfree/symantecssl,cloudkeep/symantecssl
markdown
## Code Before: [![Build Status](http://jenkins.cloudkeep.io/buildStatus/icon?job=rackspace-barbican-tox)](http://jenkins.cloudkeep.io/job/rackspace-barbican-tox/) symantecssl =========== Supports working with the Symantec SSL service ## Instruction: Add the correct build status indicator ## Code After: [![Build St...
78767ea08535effd24f46d4ec6464cb8ca0d5d73
README.md
README.md
Node.js module to interact with the cartodb metadata stored in redis database. See http://cartodb.com
Node.js module to interact with the cartodb metadata stored in redis database. See http://cartodb.com [![Build Status](https://travis-ci.org/CartoDB/node-cartodb-redis.png)](http://travis-ci.org/CartoDB/node-cartodb-redis)
Add travis build status widget
Add travis build status widget
Markdown
bsd-3-clause
CartoDB/node-cartodb-redis,CartoDB/node-cartodb-redis
markdown
## Code Before: Node.js module to interact with the cartodb metadata stored in redis database. See http://cartodb.com ## Instruction: Add travis build status widget ## Code After: Node.js module to interact with the cartodb metadata stored in redis database. See http://cartodb.com [![Build Status](https://travis-c...
5342fb1d5908dc5c22d2a85f4dcd5ebdeef3c993
README.md
README.md
A Java library to help configure Kafka client connection Properties from Heroku Kafka environment variables. ## Usage Include this library in your application as a Maven dependency: ```xml <dependency> <groupId>com.adamthody</groupId> <artifactId>heroku-kafka-connection-helper</artifactId> <version>0.1.0</ver...
A Java library to help configure Kafka client connection Properties from Heroku Kafka environment variables. ## Usage Include this library in your application as a Maven dependency: ```xml <dependency> <groupId>com.adamthody</groupId> <artifactId>heroku-kafka-connection-helper</artifactId> <version>0.1.0</ver...
Replace SerDes props with a comment
Replace SerDes props with a comment
Markdown
mit
thody/heroku-kafka-connection-helper,thody/heroku-kafka-connection-helper
markdown
## Code Before: A Java library to help configure Kafka client connection Properties from Heroku Kafka environment variables. ## Usage Include this library in your application as a Maven dependency: ```xml <dependency> <groupId>com.adamthody</groupId> <artifactId>heroku-kafka-connection-helper</artifactId> <ve...
970084c7499e203a2e93bf281f4198a5c565d2c8
examples/event-sourced-multiple-dyanmic-child-entities/README.md
examples/event-sourced-multiple-dyanmic-child-entities/README.md
Event sourced multiple dynamic child entities with tests ======================================================== A small example of an implementation of a small domain model that includes an aggregate root that maintains a collection of child entities. The example consists of two files. The first file `JobSeekers` co...
Event sourced multiple dynamic child entities with tests ======================================================== A small example of an implementation of a small domain model that includes an aggregate root that maintains a collection of child entities. The example consists of two files. The first file `JobSeekers` co...
Add some additional information about the test.
Add some additional information about the test.
Markdown
mit
qandidate-labs/broadway,boekkooi/broadway,fritsjanb/broadway,lrqdo/broadway,mbadolato/broadway,aaa2000/broadway,Miliooo/broadway,Xerkus/broadway,qooplmao/broadway,wjzijderveld/broadway,jaymecd/broadway,2dotstwice/broadway,bburnichon/broadway,TabsterApp/broadway,ged15/broadway,broadway/broadway,Maks3w/broadway,tPl0ch/br...
markdown
## Code Before: Event sourced multiple dynamic child entities with tests ======================================================== A small example of an implementation of a small domain model that includes an aggregate root that maintains a collection of child entities. The example consists of two files. The first file...
1061029b011384ff62512d0e7a4908ba6a5be82b
website/docs/d/api_gateway_vpc_link.html.markdown
website/docs/d/api_gateway_vpc_link.html.markdown
--- layout: "aws" page_title: "AWS: aws_api_gateway_vpc_link" sidebar_current: "docs-aws_api_gateway_vpc_link" description: |- Get information on a API Gateway VPC Link --- # Data Source: aws_api_gateway_vpc_link Use this data source to get the id and target arns of a VPC Link in API Gateway. To fetch the VPC Link ...
--- layout: "aws" page_title: "AWS: aws_api_gateway_vpc_link" sidebar_current: "docs-aws_api_gateway_vpc_link" description: |- Get information on a API Gateway VPC Link --- # Data Source: aws_api_gateway_vpc_link Use this data source to get the id of a VPC Link in API Gateway. To fetch the VPC Link you must provide...
Remove wrong info from documentation
Remove wrong info from documentation
Markdown
mpl-2.0
terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,Ninir/terraform-provider-aws,Ninir/terraform-provider-aws,kjmkznr/terraform-provider-aws,Ninir/terraform-provider-aws,kjmkznr/terraform-provider-aws,terraform-providers/terraform-provider-aws,kjmkznr/terraform-provider-aws,Ninir/terra...
markdown
## Code Before: --- layout: "aws" page_title: "AWS: aws_api_gateway_vpc_link" sidebar_current: "docs-aws_api_gateway_vpc_link" description: |- Get information on a API Gateway VPC Link --- # Data Source: aws_api_gateway_vpc_link Use this data source to get the id and target arns of a VPC Link in API Gateway. To fet...
09a32be56216ae067e8e371acf5776ceb7b9afc5
test/runner.js
test/runner.js
"use strict"; require('should'); var wordpressLib = require(__dirname + '/../lib/wordpress.js'); describe('Wordpressorg', function () { describe('getYoastAnalysis', function () { var blog, url = 'http://somedomain.com'; beforeEach(function () { blog = wordpressLib.createClient({ url: ur...
"use strict"; require('should'); var wordpressLib = require(__dirname + '/../lib/wordpress.js'); describe('Wordpressorg', function () { });
Remove the test for deleted endpoint
Remove the test for deleted endpoint
JavaScript
mit
newscred/node-wordpress
javascript
## Code Before: "use strict"; require('should'); var wordpressLib = require(__dirname + '/../lib/wordpress.js'); describe('Wordpressorg', function () { describe('getYoastAnalysis', function () { var blog, url = 'http://somedomain.com'; beforeEach(function () { blog = wordpressLib.createClient({...
518b799193fa800459a0e0921a04f0a1cb2a1ff4
src/scss/shared/_global.scss
src/scss/shared/_global.scss
::selection { background-color: rgba(map-get($brand, 'navy'), 1); color: map-get($brand, 'yellow'); } html { box-sizing: border-box; text-size-adjust: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-size: 1em; line-height: 1.6; min-height: 100%; &.is-loading ...
::selection { background-color: rgba(map-get($brand, 'navy'), 1); color: map-get($brand, 'yellow'); } html { box-sizing: border-box; text-size-adjust: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-size: 1em; line-height: 1.6; min-height: 100%; } body { co...
Stop body overflow on loading.
Stop body overflow on loading.
SCSS
agpl-3.0
michaelpumo/michaelpumo.github.io,michaelpumo/michaelpumo.github.io
scss
## Code Before: ::selection { background-color: rgba(map-get($brand, 'navy'), 1); color: map-get($brand, 'yellow'); } html { box-sizing: border-box; text-size-adjust: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-size: 1em; line-height: 1.6; min-height: 100%; ...
a0b35ae6a8117f87d6c31b3cf9d3c89d8a2c1b77
app/src/main/res/layout-sw600dp/activity_movies.xml
app/src/main/res/layout-sw600dp/activity_movies.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="false" android:divider="?android:attr/divid...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="false" android:divider="?android:attr/divid...
Fix No Internet Fragment visibility for tablets
Fix No Internet Fragment visibility for tablets
XML
apache-2.0
henriquenfaria/popular-movies-stage-2
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="false" android:divider="?an...
31bb842a33062fce7ead5fefa9920057d8e46dc1
README.md
README.md
[![Bower version](https://badge.fury.io/bo/hpms.svg)](https://badge.fury.io/bo/hpms) ## Installation `bower i hpms` ## Restoring legacy behavior. Execute the following command: `sudo rm -rf *` ## Usage `echo * > /dev/null` or... `dd if=/dev/random of=NOTREADME.md bs=512 count=64` or seed a pseudo-random number gener...
[![Bower version](https://badge.fury.io/bo/hpms.svg)](https://badge.fury.io/bo/hpms) ## Installation `bower i hpms` ## Restoring legacy behavior. Execute the following command: `sudo rm -rf *` ## Usage `echo * > /dev/null` or... `dd if=/dev/random of=NOTREADME.md bs=512 count=64` ## Running tests To run tests, you c...
Add instructions to run tests
Add instructions to run tests
Markdown
mit
iczero/hpms,iczero/hpms
markdown
## Code Before: [![Bower version](https://badge.fury.io/bo/hpms.svg)](https://badge.fury.io/bo/hpms) ## Installation `bower i hpms` ## Restoring legacy behavior. Execute the following command: `sudo rm -rf *` ## Usage `echo * > /dev/null` or... `dd if=/dev/random of=NOTREADME.md bs=512 count=64` or seed a pseudo-ran...
8cd65f8e87f221c0429b19aa03b2e0e55de06309
src/lib/configure/lang/c/Library.lua
src/lib/configure/lang/c/Library.lua
--- Define library base class. -- @classmod configure.lang.c.Library return { --- Create a new library instance -- -- @param self -- @param args -- @param args.name The name of the library -- @param[opt] args.system Whether or not the library is available at system level -- @param[opt] args.include_directories I...
--- Define library base class. -- @classmod configure.lang.c.Library return { --- Create a new library instance -- -- @param self -- @param args -- @param args.name The name of the library -- @param[opt] args.system Whether or not the library is available at system level -- @param[opt] args.include_directories I...
Add bundle and directories attributes to the library class.
Add bundle and directories attributes to the library class.
Lua
bsd-3-clause
hotgloupi/configure,hotgloupi/configure,hotgloupi/configure,hotgloupi/configure,hotgloupi/configure
lua
## Code Before: --- Define library base class. -- @classmod configure.lang.c.Library return { --- Create a new library instance -- -- @param self -- @param args -- @param args.name The name of the library -- @param[opt] args.system Whether or not the library is available at system level -- @param[opt] args.inclu...
42839d65e5820f1bf24d981be4a55f22fbd9ef27
src/css/master.css
src/css/master.css
/*This file should contain all CSS related to general page layout*/ html, body{ height: 100%; width: 100%; margin: 0px; } .viz-control{ position:absolute; z-index:50000; /*display: none;*/ } #filter-controls{ right: 10px; top: 10px; } #list-controls{ left: 9px; bottom: 9px; }
/*This file should contain all CSS related to general page layout*/ html, body{ height: 100%; width: 100%; margin: 0px; } .viz-control{ position:absolute; z-index:50000; /*display: none;*/ } #filter-controls{ right: 10px; top: 10px; } #list-controls{ left: 9px; bottom: 9px; } /*Remove x a...
Remove x axis line on categorical bar charts
Remove x axis line on categorical bar charts
CSS
mit
bus-viz/bus-viz,bus-viz/bus-viz,bus-viz/bus-viz
css
## Code Before: /*This file should contain all CSS related to general page layout*/ html, body{ height: 100%; width: 100%; margin: 0px; } .viz-control{ position:absolute; z-index:50000; /*display: none;*/ } #filter-controls{ right: 10px; top: 10px; } #list-controls{ left: 9px; bottom: 9px;...
c313d6fb6803edabb956e1e90f040f8518c334bf
app/main/errors.py
app/main/errors.py
from flask import render_template from . import main @main.app_errorhandler(404) def page_not_found(e): return render_template("404.html"), 404
from flask import render_template from . import main @main.app_errorhandler(404) def page_not_found(e): return render_template("404.html", **main.config['BASE_TEMPLATE_DATA']), 404
Fix 404 page template static resources
Fix 404 page template static resources
Python
mit
mtekel/digitalmarketplace-admin-frontend,mtekel/digitalmarketplace-admin-frontend,mtekel/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend,mtekel/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace-admin-frontend,alphagov/digitalmarketplace...
python
## Code Before: from flask import render_template from . import main @main.app_errorhandler(404) def page_not_found(e): return render_template("404.html"), 404 ## Instruction: Fix 404 page template static resources ## Code After: from flask import render_template from . import main @main.app_errorhandler(404)...
e4f89f25d8ba9bf661738a8ba3a33e2ecaca014d
webserver/home/templates/home/_competition_list.html
webserver/home/templates/home/_competition_list.html
<div class="panel panel-default"> <div class="panel-heading">{{ section_name }}</div> <div class="panel-body"> {% for competition in competitions %} </a> <div class="media"> <div class="media-left media-middle"> <a href="{{ competition.get_absolute_url }}"> <img class=...
<div class="panel panel-default"> <div class="panel-heading">{{ section_name }}</div> <div class="panel-body"> {% for competition in competitions %} </a> <div class="media"> <div class="media-left media-middle"> <a href="{{ competition.get_absolute_url }}"> <img class=...
Add competition link to competition name
Add competition link to competition name
HTML
bsd-3-clause
siggame/webserver,siggame/webserver,siggame/webserver
html
## Code Before: <div class="panel panel-default"> <div class="panel-heading">{{ section_name }}</div> <div class="panel-body"> {% for competition in competitions %} </a> <div class="media"> <div class="media-left media-middle"> <a href="{{ competition.get_absolute_url }}"> ...
3f015fb4fffb3da8d47301c9824613c25832aeae
prow/oss/terraform/modules/alerts/probers.tf
prow/oss/terraform/modules/alerts/probers.tf
resource "google_monitoring_uptime_check_config" "https" { project = var.project for_each = var.blackbox_probers display_name = each.key timeout = "10s" period = "60s" http_check { port = "443" use_ssl = true validate_ssl = true } monitored_resource { type = "upti...
resource "google_monitoring_uptime_check_config" "https" { project = var.project selected_regions = [] for_each = var.blackbox_probers display_name = each.key timeout = "10s" period = "60s" http_check { port = "443" use_ssl = true validate_ssl = true } monitored_res...
Add optional fields to avoid noise from terraform plan
Add optional fields to avoid noise from terraform plan These two fields are the ones that cause terraform complaining something is changed when there is no config change at all
HCL
apache-2.0
GoogleCloudPlatform/oss-test-infra,GoogleCloudPlatform/oss-test-infra
hcl
## Code Before: resource "google_monitoring_uptime_check_config" "https" { project = var.project for_each = var.blackbox_probers display_name = each.key timeout = "10s" period = "60s" http_check { port = "443" use_ssl = true validate_ssl = true } monitored_resource { ...
3dfaa509dcae64b13f8b68c74fb6085e18c1ccc2
src/app/auth/auth.service.js
src/app/auth/auth.service.js
(function() { 'use strict'; var app = angular.module('radar.auth'); app.factory('authService', function(session, $q, store, adapter) { return { login: login }; function login(username, password) { var deferred = $q.defer(); adapter.post('/login', {}, {username: username, password...
(function() { 'use strict'; var app = angular.module('radar.auth'); app.factory('authService', function(session, $q, store, adapter) { return { login: login }; function login(username, password) { var deferred = $q.defer(); adapter.post('/login', {}, {username: username, password...
Add pagination support to API
Add pagination support to API
JavaScript
agpl-3.0
renalreg/radar-client,renalreg/radar-client,renalreg/radar-client
javascript
## Code Before: (function() { 'use strict'; var app = angular.module('radar.auth'); app.factory('authService', function(session, $q, store, adapter) { return { login: login }; function login(username, password) { var deferred = $q.defer(); adapter.post('/login', {}, {username: us...