commit
stringlengths
40
40
old_file
stringlengths
4
184
new_file
stringlengths
4
184
old_contents
stringlengths
1
3.6k
new_contents
stringlengths
5
3.38k
subject
stringlengths
15
778
message
stringlengths
16
6.74k
lang
stringclasses
201 values
license
stringclasses
13 values
repos
stringlengths
6
116k
config
stringclasses
201 values
content
stringlengths
137
7.24k
diff
stringlengths
26
5.55k
diff_length
int64
1
123
relative_diff_length
float64
0.01
89
n_lines_added
int64
0
108
n_lines_deleted
int64
0
106
e687bf346800891115b869dd1b9f17686960b453
app/views/api/v1/accounts/show.rabl
app/views/api/v1/accounts/show.rabl
object @account attributes :id, :username, :acct, :display_name, :locked, :created_at node(:note) { |account| Formatter.instance.simplified_format(account) } node(:url) { |account| TagManager.instance.url_for(account) } node(:avatar) { |account| full_asset_url(account.avatar_original_u...
object @account attributes :id, :username, :acct, :display_name, :locked, :created_at node(:note) { |account| Formatter.instance.simplified_format(account) } node(:url) { |account| TagManager.instance.url_for(account) } node(:avatar) { |account| full_asset_ur...
Add media_statuses_count field in api/v1/accounts/:id
Add media_statuses_count field in api/v1/accounts/:id
Ruby
agpl-3.0
pixiv/mastodon,pixiv/mastodon,pixiv/mastodon,pixiv/mastodon
ruby
## Code Before: object @account attributes :id, :username, :acct, :display_name, :locked, :created_at node(:note) { |account| Formatter.instance.simplified_format(account) } node(:url) { |account| TagManager.instance.url_for(account) } node(:avatar) { |account| full_asset_url(account.a...
object @account attributes :id, :username, :acct, :display_name, :locked, :created_at - node(:note) { |account| Formatter.instance.simplified_format(account) } + node(:note) { |account| Formatter.instance.simplified_format(account) } ? +++++++++ - node(:url) ...
13
0.8125
7
6
38ba88d81028c006b7d61c2d94a02025824f15d3
run-healthcheck-web.sh
run-healthcheck-web.sh
dir=/nfs/acari/ensembl/ensj-healthcheck cp=$dir cp=$cp:$dir/lib/ensj-healthcheck.jar cp=$cp:$dir/lib/mysql-connector-java-3.0.15-ga-bin.jar cd $dir $JAVA_HOME/bin/java -server -classpath $cp -Xmx512m org.ensembl.healthcheck.DatabaseTestRunner
JAVA_HOME=/usr/bin/java dir=/nfs/acari/ensembl/ensj-healthcheck cp=$dir cp=$cp:$dir/lib/ensj-healthcheck.jar cp=$cp:$dir/lib/mysql-connector-java-3.0.15-ga-bin.jar cd $dir $JAVA_HOME/bin/java -server -classpath $cp -Xmx512m org.ensembl.healthcheck.DatabaseTestRunner
Set JAVA_HOME explicitly or the cron job will not work
Set JAVA_HOME explicitly or the cron job will not work
Shell
apache-2.0
thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck
shell
## Code Before: dir=/nfs/acari/ensembl/ensj-healthcheck cp=$dir cp=$cp:$dir/lib/ensj-healthcheck.jar cp=$cp:$dir/lib/mysql-connector-java-3.0.15-ga-bin.jar cd $dir $JAVA_HOME/bin/java -server -classpath $cp -Xmx512m org.ensembl.healthcheck.DatabaseTestRunner ## Instruction: Set JAVA_HOME explicitly or the cron j...
+ JAVA_HOME=/usr/bin/java dir=/nfs/acari/ensembl/ensj-healthcheck cp=$dir cp=$cp:$dir/lib/ensj-healthcheck.jar cp=$cp:$dir/lib/mysql-connector-java-3.0.15-ga-bin.jar cd $dir $JAVA_HOME/bin/java -server -classpath $cp -Xmx512m org.ensembl.healthcheck.DatabaseTestRunner
1
0.083333
1
0
04493df39184ee2c86120d18d5c573c736db4e05
.travis.yml
.travis.yml
sudo: required language: go go: - 1.6.2 notifications: email: on_success: never on_failure: always install: - make get - make get_dev script : - make - make fmt - make vet - make test
sudo: required language: go go: - 1.6.2 branches: only: - master - develop notifications: email: on_success: never on_failure: always install: - make get - make get_dev script : - make - make fmt - make vet - make test
Build only develop and master branches
Build only develop and master branches
YAML
agpl-3.0
redBorder/k2http
yaml
## Code Before: sudo: required language: go go: - 1.6.2 notifications: email: on_success: never on_failure: always install: - make get - make get_dev script : - make - make fmt - make vet - make test ## Instruction: Build only develop and master branches ## Code After: sudo: required lan...
sudo: required language: go go: - 1.6.2 + + branches: + only: + - master + - develop notifications: email: on_success: never on_failure: always install: - make get - make get_dev script : - make - make fmt - make vet - make test
5
0.238095
5
0
12a8f5c7c51b61b757375ed1cb47a28fc6c09552
opensource.sh
opensource.sh
YEAR=`date +%Y` source ./config/* # Conditionalize this later to load only the license we need source ./licenses/* # Displays the given input log() { echo -e "$@" >&2 } # Create license file create_license() { echo "$@" > LICENSE } # Called in case of error error_exit() { echo "Error: $1" exit 1 } requir...
YEAR=`date +%Y` source ./config/* # Displays the given input log() { echo -e "$@" >&2 } # Create license file create_license() { echo "$@" > LICENSE } # Called in case of error error_exit() { echo "Error: $1" exit 1 } require() { which $1 > /dev/null || error_exit "$0 requires $1" } help() { log "Hel...
Optimize script to not load unnecessary license files
Optimize script to not load unnecessary license files
Shell
mit
mohnish/opensource.sh
shell
## Code Before: YEAR=`date +%Y` source ./config/* # Conditionalize this later to load only the license we need source ./licenses/* # Displays the given input log() { echo -e "$@" >&2 } # Create license file create_license() { echo "$@" > LICENSE } # Called in case of error error_exit() { echo "Error: $1" ...
YEAR=`date +%Y` source ./config/* - # Conditionalize this later to load only the license we need - source ./licenses/* - # Displays the given input log() { echo -e "$@" >&2 } # Create license file create_license() { echo "$@" > LICENSE } # Called in case of error error_exit()...
4
0.063492
1
3
b1b2a876812af3705c180677b7309bbe66b65bf7
main.go
main.go
package main import ( "fmt" "io/ioutil" "log" "net/http" utils "github.com/shurcooL/github_flavored_markdown" ) func main() { http.HandleFunc("/", Handler) log.Printf("Listening on port %d\n", 8080) log.Fatal(http.ListenAndServe(":8080", nil)) } func Handler(res http.ResponseWriter, req *http.Request) { re...
package main import ( "flag" "fmt" "io/ioutil" "log" "net/http" utils "github.com/shurcooL/github_flavored_markdown" ) var ( file string bind string ) func init() { flag.StringVar(&bind, "bind", ":8080", "interface to bind to, eg. 0.0.0.0:8080") flag.StringVar(&file, "file", "README.md", "file to render o...
Read binding interface and MD file via flags.
Read binding interface and MD file via flags.
Go
mit
mongrelion/mdp
go
## Code Before: package main import ( "fmt" "io/ioutil" "log" "net/http" utils "github.com/shurcooL/github_flavored_markdown" ) func main() { http.HandleFunc("/", Handler) log.Printf("Listening on port %d\n", 8080) log.Fatal(http.ListenAndServe(":8080", nil)) } func Handler(res http.ResponseWriter, req *htt...
package main import ( + "flag" "fmt" "io/ioutil" "log" "net/http" utils "github.com/shurcooL/github_flavored_markdown" ) + var ( + file string + bind string + ) + + func init() { + flag.StringVar(&bind, "bind", ":8080", "interface to bind to, eg. 0.0.0.0:8080") + flag.StringVar(&file...
18
0.514286
15
3
8bb56979f549bcbef814cd7878d3f0799042452b
.travis.yml
.travis.yml
dist: trusty sudo: required language: java jdk: - oraclejdk8 - openjdk8 - oraclejdk9 - openjdk9 branches: only: - master notifications: email: - eemeli.miettinen@methics.fi, matti.aarnio@methics.fi
dist: trusty sudo: required language: java jdk: - oraclejdk8 - openjdk8 branches: only: - master notifications: email: - eemeli.miettinen@methics.fi, matti.aarnio@methics.fi
Disable JDK9 for now as it does not have XJCFacade...
Disable JDK9 for now as it does not have XJCFacade...
YAML
apache-2.0
laverca/laverca
yaml
## Code Before: dist: trusty sudo: required language: java jdk: - oraclejdk8 - openjdk8 - oraclejdk9 - openjdk9 branches: only: - master notifications: email: - eemeli.miettinen@methics.fi, matti.aarnio@methics.fi ## Instruction: Disable JDK9 for now as it does not have XJCFacade... ## Code After: dis...
dist: trusty sudo: required language: java jdk: - oraclejdk8 - openjdk8 - - oraclejdk9 - - openjdk9 branches: only: - master notifications: email: - eemeli.miettinen@methics.fi, matti.aarnio@methics.fi
2
0.142857
0
2
d4a36f2ba528618ce0caebd524247dd6feabd48a
tests/runtests.sh
tests/runtests.sh
let "suc = 0" let "fail = 0" NUMTEST=79 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno if [ "$?" -eq "0" ]; then echo "OK" let "suc = $(($suc + 1))" else echo "FAIL" let "fail = $(($fail + 1))" fi done let "total = $(($suc + $fail))" echo "==================...
DIR=`dirname $0` cd $DIR make check
Use make check to run tests (instead of custom logic).
Use make check to run tests (instead of custom logic). This way the list/number of tests only has to be updated in one place. Conflicts: tests/runtests.sh
Shell
mit
mirror/tclap,xguerin/tclap,xguerin/tclap,mc-server/TCLAP,mirror/tclap,mirror/tclap,mc-server/TCLAP,mc-server/TCLAP,mirror/tclap,xguerin/tclap,xguerin/tclap
shell
## Code Before: let "suc = 0" let "fail = 0" NUMTEST=79 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno if [ "$?" -eq "0" ]; then echo "OK" let "suc = $(($suc + 1))" else echo "FAIL" let "fail = $(($fail + 1))" fi done let "total = $(($suc + $fail))" echo "==...
+ DIR=`dirname $0` + cd $DIR + make check - let "suc = 0" - let "fail = 0" - NUMTEST=79 - - for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do - ./testCheck.sh $tno - if [ "$?" -eq "0" ]; then - echo "OK" - let "suc = $(($suc + 1))" - else - echo "FAIL" - let "fail = $(($fail + 1))" -...
30
1.071429
3
27
3eb591ff76c9edb8a9ed6466712be425269f8739
misc/vim/ftplugin/go.vim
misc/vim/ftplugin/go.vim
" Copyright 2013 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. " " go.vim: Vim filetype plugin for Go. if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal comments=s1:/*,mb:*,ex:*/,:// setlocal commen...
" Copyright 2013 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. " " go.vim: Vim filetype plugin for Go. if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t setlocal comments=s1:/*,mb:...
Disable automatic line wrapping by textwidth.
misc/vim: Disable automatic line wrapping by textwidth. If someone configures a 'textwidth' in go files, vim will by default insert newlines into long lines as you type, which breaks syntax and doesn't really make sense for go code. This fixes the default. LGTM=dsymonds R=golang-codereviews, gobot, dsymonds CC=golang...
VimL
mit
gavinzhs/go,christopher-henderson/Go,CarterTsai/go,constantine001/go,cookerzhu/go,devpadawan/go,jmptrader/go,jmptrader/go,jacobxk/go,golang/go,cnbin/go,minux/goios,kakuhiroshi/go,ganboing/go-esx,josharian/go.ssa,royels/go,minux/go-windows,gdey/go,vsdutka/go,derekmarcotte/go,jacobhaven/go,NunoEdgarGub1/go,kim-racktop/go...
viml
## Code Before: " Copyright 2013 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. " " go.vim: Vim filetype plugin for Go. if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 setlocal comments=s1:/*,mb:*,ex:*/,://...
" Copyright 2013 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. " " go.vim: Vim filetype plugin for Go. if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 + setlocal formatoptions-=t + ...
4
0.235294
3
1
6aad5e09361382982f56a9a4507197bad7e5647e
tsconfig.json
tsconfig.json
{ "compilerOptions": { "module": "commonjs", "target": "es2016", "sourceMap": true, "experimentalDecorators": true }, "files": [ "gulpfile", "main", "Lyricfier", "render/plugins/SearchLyrics", "render/plugins/SearchWikia", "render/Searcher.ts", "render/NormalizeTitles.t...
{ "compilerOptions": { "module": "commonjs", "target": "es2016", "sourceMap": true, "experimentalDecorators": true }, "files": [ "gulpfile.ts", "main.ts", "Lyricfier.ts", "render/plugins/SearchLyrics.ts", "render/plugins/SearchWikia.ts", "render/Searcher.ts", "render/No...
Fix typescript compiler throwing errors on missing files (though still builds successfully).
Fix typescript compiler throwing errors on missing files (though still builds successfully).
JSON
cc0-1.0
emilioastarita/lyricfier,emilioastarita/lyricfier
json
## Code Before: { "compilerOptions": { "module": "commonjs", "target": "es2016", "sourceMap": true, "experimentalDecorators": true }, "files": [ "gulpfile", "main", "Lyricfier", "render/plugins/SearchLyrics", "render/plugins/SearchWikia", "render/Searcher.ts", "render/N...
{ "compilerOptions": { "module": "commonjs", "target": "es2016", "sourceMap": true, "experimentalDecorators": true }, "files": [ - "gulpfile", + "gulpfile.ts", ? +++ - "main", + "main.ts", ? +++ - "Lyricfier", + "Lyricfier.ts", ? ...
10
0.434783
5
5
755ac5bf0eeb3372465aefe847d0d12237cded91
lib/upsert-items.js
lib/upsert-items.js
import lodashFind from 'lodash/find'; import lodashMap from 'lodash/map'; import lodashExtend from 'lodash/extend'; import lodashEach from 'lodash/each'; export default (source, itemArg, opts) => { const items = (itemArg instanceof Array) ? itemArg : [itemArg]; const insertedItems = []; const updatedItemsIds = [...
import lodashFind from 'lodash/find'; import lodashMap from 'lodash/map'; import lodashExtend from 'lodash/extend'; import lodashEach from 'lodash/each'; export default (source, itemArg, opts) => { const items = (itemArg instanceof Array) ? itemArg : [itemArg]; const insertedItems = []; const updatedItemsIds = [...
Fix result value ID key access
Fix result value ID key access
JavaScript
mit
lukaszgrolik/merge-items
javascript
## Code Before: import lodashFind from 'lodash/find'; import lodashMap from 'lodash/map'; import lodashExtend from 'lodash/extend'; import lodashEach from 'lodash/each'; export default (source, itemArg, opts) => { const items = (itemArg instanceof Array) ? itemArg : [itemArg]; const insertedItems = []; const upd...
import lodashFind from 'lodash/find'; import lodashMap from 'lodash/map'; import lodashExtend from 'lodash/extend'; import lodashEach from 'lodash/each'; export default (source, itemArg, opts) => { const items = (itemArg instanceof Array) ? itemArg : [itemArg]; const insertedItems = []; const u...
4
0.114286
2
2
b6c39617aa4c1e28f5254808d785a7c687148dc9
app/models/concerns/course_user/achievements_concern.rb
app/models/concerns/course_user/achievements_concern.rb
module CourseUser::AchievementsConcern # Order achievements based on when each course_user obtained the achievement. def ordered_by_date_obtained order('course_user_achievements.obtained_at DESC') end def recently_obtained(num = 3) ordered_by_date_obtained.last(num) end end
module CourseUser::AchievementsConcern # Order achievements based on when each course_user obtained the achievement. def ordered_by_date_obtained unscope(:order). order('course_user_achievements.obtained_at DESC') end def recently_obtained(num = 3) ordered_by_date_obtained.last(num) end end
Order achievement by date obtained only
Order achievement by date obtained only
Ruby
mit
Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2
ruby
## Code Before: module CourseUser::AchievementsConcern # Order achievements based on when each course_user obtained the achievement. def ordered_by_date_obtained order('course_user_achievements.obtained_at DESC') end def recently_obtained(num = 3) ordered_by_date_obtained.last(num) end end ## Instru...
module CourseUser::AchievementsConcern # Order achievements based on when each course_user obtained the achievement. def ordered_by_date_obtained + unscope(:order). order('course_user_achievements.obtained_at DESC') end def recently_obtained(num = 3) ordered_by_date_obtained.last(nu...
1
0.1
1
0
83a8e16bd85bc9f398b013419fc1d976c39acea2
app/styles/components/map-header.scss
app/styles/components/map-header.scss
.map-header { width: 100%; height: 195px; background-color: $bd-light-gray; background:transparent url('../images/map-placeholder.png') center no-repeat; }
.map-header { width: 100%; // based on the golden ratio height: 30.52vh; // size of the action banner that overlays the map min-height: 60px; // 30.52% of the web view on iPhone 6 max-height: 195px; background-color: $bd-light-gray; background:transparent url('../images/map-placeholder.png') center no...
Add size constraints to the map section of the detail view
Add size constraints to the map section of the detail view
SCSS
mit
bus-detective/web-client,bus-detective/web-client
scss
## Code Before: .map-header { width: 100%; height: 195px; background-color: $bd-light-gray; background:transparent url('../images/map-placeholder.png') center no-repeat; } ## Instruction: Add size constraints to the map section of the detail view ## Code After: .map-header { width: 100%; // based on the go...
.map-header { width: 100%; + // based on the golden ratio + height: 30.52vh; + // size of the action banner that overlays the map + min-height: 60px; + // 30.52% of the web view on iPhone 6 - height: 195px; + max-height: 195px; ? ++++ background-color: $bd-light-gray; background:transpare...
7
1.166667
6
1
fa1e92fdf2d74d083eb4242de5051b0274799a17
BACKERS.md
BACKERS.md
PostgREST ongoing development is only possible thanks to our Sponsors and Backers, listed below. If you'd like to join them, you can do so by supporting the PostgREST organization on [Patreon](https://www.patreon.com/postgrest). ## Lead Backers - [Christiaan Westerbeek](https://devotis.nl) - [Daniel Babiak](https://...
PostgREST ongoing development is only possible thanks to our Sponsors and Backers, listed below. If you'd like to join them, you can do so by supporting the PostgREST organization on [Patreon](https://www.patreon.com/postgrest). ## Lead Backers - [Christiaan Westerbeek](https://devotis.nl) - [Daniel Babiak](https://...
Add Lead Backer. Thank you Michel.
Add Lead Backer. Thank you Michel.
Markdown
mit
steve-chavez/postgrest,diogob/postgrest,steve-chavez/postgrest,begriffs/postgrest
markdown
## Code Before: PostgREST ongoing development is only possible thanks to our Sponsors and Backers, listed below. If you'd like to join them, you can do so by supporting the PostgREST organization on [Patreon](https://www.patreon.com/postgrest). ## Lead Backers - [Christiaan Westerbeek](https://devotis.nl) - [Daniel ...
PostgREST ongoing development is only possible thanks to our Sponsors and Backers, listed below. If you'd like to join them, you can do so by supporting the PostgREST organization on [Patreon](https://www.patreon.com/postgrest). ## Lead Backers - [Christiaan Westerbeek](https://devotis.nl) - [Daniel Ba...
2
0.153846
1
1
fcb0497052a4a66b8524ead9e5b455de9cbe47bf
gulp/tasks/icon-font.coffee
gulp/tasks/icon-font.coffee
gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Icon Font #-------------------------------------------------------- gulp.task "icon-font", -> cssTemplateFilename = "icon-font-template.css" c...
gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Icon Font #-------------------------------------------------------- gulp.task "icon-font", -> cssTemplateFilename = "icon-font-template.css" c...
Use new API for gulp-iconfont
Use new API for gulp-iconfont
CoffeeScript
mit
adamwight/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,Wowu/WikiEduDashboard,majakomel/WikiEduDashboard,KarmaHater/WikiEduDashboard,adamwight/WikiEduDashboard,ragesoss/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,WikiEduca...
coffeescript
## Code Before: gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Icon Font #-------------------------------------------------------- gulp.task "icon-font", -> cssTemplateFilename = "icon-font-t...
gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Icon Font #-------------------------------------------------------- gulp.task "icon-font", -> cssTemplateFilename = "i...
13
0.361111
9
4
705ccf213641f5a9daac20fb58f753140f2c81df
kustomize/overlays/uat/service.yaml
kustomize/overlays/uat/service.yaml
apiVersion: v1 kind: Service metadata: name: ibms spec: type: ClusterIP clusterIP: None ports: - name: default port: 42 protocol: TCP targetPort: 42 selector: app: ibms --- apiVersion: v1 kind: Service metadata: name: ingress-ibms spec: type: ClusterIP ports: - name: wsgi port: 8...
apiVersion: v1 kind: Service metadata: name: ibms spec: type: ClusterIP clusterIP: None ports: - name: default port: 42 protocol: TCP targetPort: 42 selector: app: ibms --- apiVersion: v1 kind: Service metadata: name: ingress-ibms spec: type: ClusterIP ports: - name: wsgi port: 8...
Add Service for ibms-db workload.
Add Service for ibms-db workload.
YAML
apache-2.0
parksandwildlife/ibms,parksandwildlife/ibms,parksandwildlife/ibms
yaml
## Code Before: apiVersion: v1 kind: Service metadata: name: ibms spec: type: ClusterIP clusterIP: None ports: - name: default port: 42 protocol: TCP targetPort: 42 selector: app: ibms --- apiVersion: v1 kind: Service metadata: name: ingress-ibms spec: type: ClusterIP ports: - name: ...
apiVersion: v1 kind: Service metadata: name: ibms spec: type: ClusterIP clusterIP: None ports: - name: default port: 42 protocol: TCP targetPort: 42 selector: app: ibms --- apiVersion: v1 kind: Service metadata: name: ingress-ibms spec: type: Clu...
15
0.535714
15
0
f479e236f5ac9a1a035d83dfa6d3bcec148a3871
app/styles/day.styl
app/styles/day.styl
.day border 1px solid #eee display flex ul padding .5em .day-date border-right 1px solid #ddd font-size .8em min-width 2.5em padding .5em text-align right .day-weekend background #eee !important .event-list flex-grow 1 list-style none margin 0 padding 0 .event display flex positio...
.day border 1px solid #eee display flex ul padding .5em .day-date border-right 1px solid #ddd font-size .8em min-width 2.5em padding .5em text-align right .day-weekend background #eee !important .event-list flex-grow 1 list-style none margin 0 padding 0 .event display flex positio...
Add more space for popup
Add more space for popup
Stylus
mit
byteclubfr/bc-planner,lmtm/bc-planner,lmtm/bc-planner,byteclubfr/bc-planner
stylus
## Code Before: .day border 1px solid #eee display flex ul padding .5em .day-date border-right 1px solid #ddd font-size .8em min-width 2.5em padding .5em text-align right .day-weekend background #eee !important .event-list flex-grow 1 list-style none margin 0 padding 0 .event displa...
.day border 1px solid #eee display flex ul padding .5em .day-date border-right 1px solid #ddd font-size .8em min-width 2.5em padding .5em text-align right .day-weekend background #eee !important .event-list flex-grow 1 list-style none margin 0 ...
2
0.026667
1
1
e4d2e040f8436ddc8cb5bfa13e9358712fecec04
main.go
main.go
package main import ( "github.com/codegangsta/negroni" "github.com/digital-ocean-service/interfaces" "github.com/digital-ocean-service/usecases" "github.com/gorilla/mux" ) func main() { doInteractor := usecases.DOInteractor{} handler := interfaces.WebServiceHandler{ Interactor: doInteractor, ID: ...
package main import ( "bytes" "flag" "fmt" "github.com/codegangsta/negroni" "github.com/digital-ocean-service/infraestructure" "github.com/digital-ocean-service/interfaces" "github.com/digital-ocean-service/usecases" "github.com/gorilla/mux" ) const defaultPath = "/etc/digital-ocean-service.conf" var confFi...
Read Dependencies and inject them
Read Dependencies and inject them - Create a default route - Create a flag to customize the route of conf file - Build the port string
Go
mit
Tinker-Ware/digital-ocean-service,Infrastructure-Solutions/digital-ocean-service
go
## Code Before: package main import ( "github.com/codegangsta/negroni" "github.com/digital-ocean-service/interfaces" "github.com/digital-ocean-service/usecases" "github.com/gorilla/mux" ) func main() { doInteractor := usecases.DOInteractor{} handler := interfaces.WebServiceHandler{ Interactor: doInteractor,...
package main import ( + "bytes" + "flag" + "fmt" + "github.com/codegangsta/negroni" + "github.com/digital-ocean-service/infraestructure" "github.com/digital-ocean-service/interfaces" "github.com/digital-ocean-service/usecases" "github.com/gorilla/mux" ) + const defaultPath = "/etc/digital-o...
33
1.03125
29
4
e7c6280b26e21743fa22ae10c9ee98b665f75464
Gruntfile.js
Gruntfile.js
/* jshint: node:true */ module.exports = function (grunt) { 'use strict'; grunt.initConfig({ phplint: { application: ["lib/*.php", "tests/**/*.php"] }, phpcs: { application: { src: 'lib/*.php' }, options: { ...
/* jshint: node:true */ module.exports = function (grunt) { 'use strict'; grunt.initConfig({ phplint: { application: ["lib/*.php", "tests/**/*.php"] }, phpcs: { application: { src: 'lib/*.php' }, options: { ...
Add task for Travis CI
Add task for Travis CI
JavaScript
mpl-2.0
RinkAttendant6/JsonI18n
javascript
## Code Before: /* jshint: node:true */ module.exports = function (grunt) { 'use strict'; grunt.initConfig({ phplint: { application: ["lib/*.php", "tests/**/*.php"] }, phpcs: { application: { src: 'lib/*.php' }, options: { ...
/* jshint: node:true */ module.exports = function (grunt) { 'use strict'; grunt.initConfig({ phplint: { application: ["lib/*.php", "tests/**/*.php"] }, phpcs: { application: { src: 'lib/*.php' }, o...
6
0.105263
6
0
d5c296197c7f5b422f44e58f8e58ead5fdc5c2ad
reports/models.py
reports/models.py
from datetime import datetime from django.db import models from django.utils.translation import ugettext_lazy as _ class Report(models.Model): addressed_to = models.TextField() reported_from = models.ForeignKey('members.User') content = models.TextField() created_at = models.DateField(_("Date"), defa...
from datetime import datetime from django.db import models class Report(models.Model): addressed_to = models.TextField() reported_from = models.ForeignKey('members.User') content = models.TextField() created_at = models.DateField(default=datetime.now) copies = models.ManyToManyField('protocols.Top...
Add new initial migration for reports
Add new initial migration for reports
Python
mit
Hackfmi/Diaphanum,Hackfmi/Diaphanum
python
## Code Before: from datetime import datetime from django.db import models from django.utils.translation import ugettext_lazy as _ class Report(models.Model): addressed_to = models.TextField() reported_from = models.ForeignKey('members.User') content = models.TextField() created_at = models.DateField...
from datetime import datetime - from django.db import models - from django.utils.translation import ugettext_lazy as _ class Report(models.Model): addressed_to = models.TextField() reported_from = models.ForeignKey('members.User') content = models.TextField() - created_at = models.Dat...
4
0.210526
1
3
c2dd7454a12a5cc1b6374205a32fd4f23432ae1f
Build/scripts/pgo/post_pgo.cmd
Build/scripts/pgo/post_pgo.cmd
::------------------------------------------------------------------------------------------------------- :: Copyright (C) Microsoft. All rights reserved. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ::------------------------------------------------------...
::------------------------------------------------------------------------------------------------------- :: Copyright (C) Microsoft. All rights reserved. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ::------------------------------------------------------...
Remove .lib artifact from pogo build
Remove .lib artifact from pogo build
Batchfile
mit
mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore
batchfile
## Code Before: ::------------------------------------------------------------------------------------------------------- :: Copyright (C) Microsoft. All rights reserved. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ::-----------------------------------------...
::------------------------------------------------------------------------------------------------------- :: Copyright (C) Microsoft. All rights reserved. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ::-------------------------------------------------...
1
0.023256
1
0
10be5787d80620438294e22758c45a4d37207393
website/_config.yml
website/_config.yml
title: Project Chrono email: info@projectchrono.org description: Website for Project Chrono baseurl: "" # the subpath of your site, e.g. /blog/ url: "https://projectchrono.org" # the base hostname & protocol for your site twitter_username: projectchrono github_username: projectchrono permalink: /blog/:year/:month/:tit...
title: Project Chrono - An Open Source Physics Engine email: info@projectchrono.org description: Project Chrono is a physics-based modelling and simulation infrastructure based on a platform-independent, open-source design. baseurl: "" # the subpath of your site, e.g. /blog/ url: "https://projectchrono.org" # the base ...
Update page title and description Add jekyll sitemap gem to generate sitemap
Update page title and description Add jekyll sitemap gem to generate sitemap
YAML
bsd-3-clause
rserban/chrono,tjolsen/chrono,tjolsen/chrono,jcmadsen/chrono,Milad-Rakhsha/chrono,Milad-Rakhsha/chrono,amelmquist/chrono,amelmquist/chrono,projectchrono/chrono,amelmquist/chrono,jcmadsen/chrono,Milad-Rakhsha/chrono,projectchrono/chrono,dariomangoni/chrono,andrewseidl/chrono,dariomangoni/chrono,armanpazouki/chrono,arman...
yaml
## Code Before: title: Project Chrono email: info@projectchrono.org description: Website for Project Chrono baseurl: "" # the subpath of your site, e.g. /blog/ url: "https://projectchrono.org" # the base hostname & protocol for your site twitter_username: projectchrono github_username: projectchrono permalink: /blog/:...
- title: Project Chrono + title: Project Chrono - An Open Source Physics Engine email: info@projectchrono.org - description: Website for Project Chrono + description: Project Chrono is a physics-based modelling and simulation infrastructure based on a platform-independent, open-source design. baseurl: "" # the subp...
5
0.416667
3
2
6b179dc4fb95f4db380b9156381b6210adeef2e5
conftest.py
conftest.py
import os import mock import pytest PROJECT = os.environ['GCLOUD_PROJECT'] @pytest.fixture def api_client_inject_project_id(): """Patches all googleapiclient requests to replace 'YOUR_PROJECT_ID' with the project ID.""" import googleapiclient.http old_execute = googleapiclient.http.HttpRequest.exe...
import os import mock import pytest PROJECT = 'python-docs-samples' @pytest.fixture def api_client_inject_project_id(): """Patches all googleapiclient requests to replace 'YOUR_PROJECT_ID' with the project ID.""" import googleapiclient.http old_execute = googleapiclient.http.HttpRequest.execute ...
Set the Project in code
Set the Project in code
Python
apache-2.0
GoogleCloudPlatform/getting-started-python,GoogleCloudPlatform/getting-started-python,GoogleCloudPlatform/getting-started-python
python
## Code Before: import os import mock import pytest PROJECT = os.environ['GCLOUD_PROJECT'] @pytest.fixture def api_client_inject_project_id(): """Patches all googleapiclient requests to replace 'YOUR_PROJECT_ID' with the project ID.""" import googleapiclient.http old_execute = googleapiclient.http...
import os import mock import pytest - PROJECT = os.environ['GCLOUD_PROJECT'] + PROJECT = 'python-docs-samples' @pytest.fixture def api_client_inject_project_id(): """Patches all googleapiclient requests to replace 'YOUR_PROJECT_ID' with the project ID.""" import googleapiclien...
2
0.08
1
1
df8ca134c099d75231b7ab2af169b2296761f383
setup/setupSeguir.js
setup/setupSeguir.js
/** * Sets up the core */ var async = require('async'); function setup(client, keyspace, next) { var tables =['CREATE TABLE ' + keyspace + '.applications (name text, apptoken uuid, PRIMARY KEY (name))']; var helpers = require('./helpers')(client, { KEYSPACE: keyspace, tables: tables }); async.seri...
/** * Sets up the core */ var async = require('async'); function setup(client, keyspace, next) { var tables =['CREATE TABLE ' + keyspace + '.applications (name text, apptoken uuid, PRIMARY KEY (name))']; var indexes = ['CREATE INDEX ON ' + keyspace + '.applications(apptoken)']; var helpers = require('./helpe...
Add index on application token
Add index on application token
JavaScript
mit
gajjargaurav/seguir,tes/seguir,cliftonc/seguir
javascript
## Code Before: /** * Sets up the core */ var async = require('async'); function setup(client, keyspace, next) { var tables =['CREATE TABLE ' + keyspace + '.applications (name text, apptoken uuid, PRIMARY KEY (name))']; var helpers = require('./helpers')(client, { KEYSPACE: keyspace, tables: tables }...
/** * Sets up the core */ var async = require('async'); function setup(client, keyspace, next) { var tables =['CREATE TABLE ' + keyspace + '.applications (name text, apptoken uuid, PRIMARY KEY (name))']; + var indexes = ['CREATE INDEX ON ' + keyspace + '.applications(apptoken)']; var help...
7
0.269231
5
2
05b6a30137272841f659e3cfb6c373b80f6b7ce1
app/controllers/flags_controller.rb
app/controllers/flags_controller.rb
class FlagsController < ApplicationController def create if params[:flaggable_type] item = params[:flaggable_type] else item = '' end p item if item.downcase == 'post' flaggable = Post.find(params[:flaggable]) else flaggable = Comment.find(params[:flaggable]) end ...
class FlagsController < ApplicationController def create if params[:flaggable_type] item = params[:flaggable_type] else item = '' end p item if item.downcase == 'post' flaggable = Post.find(params[:flaggable]) else flaggable = Comment.find(params[:flaggable]) end ...
Change flags contoller to return flag ID
Change flags contoller to return flag ID
Ruby
mit
sp33drac3r/chelsie_backend,sp33drac3r/chelsie_backend,sp33drac3r/chelsie_backend
ruby
## Code Before: class FlagsController < ApplicationController def create if params[:flaggable_type] item = params[:flaggable_type] else item = '' end p item if item.downcase == 'post' flaggable = Post.find(params[:flaggable]) else flaggable = Comment.find(params[:flag...
class FlagsController < ApplicationController def create if params[:flaggable_type] item = params[:flaggable_type] else item = '' end p item if item.downcase == 'post' flaggable = Post.find(params[:flaggable]) else flaggable = Comment.find(...
4
0.105263
2
2
d43c510bad2c4098a726e1045cf2454f4c931a55
spec/tic_tac_toe_spec.rb
spec/tic_tac_toe_spec.rb
require 'spec_helper' describe TicTacToe do it 'has a version number' do expect(TicTacToe::VERSION).not_to be nil end it 'has a board' do game = TicTacToe::Board.new expect(game).to be_an_instance_of TicTacToe::Board end describe TicTacToe::Board do before :each do @game = TicTacToe:...
require 'spec_helper' describe TicTacToe do it 'has a version number' do expect(TicTacToe::VERSION).not_to be nil end it 'has a board' do game = TicTacToe::Board.new expect(game).to be_an_instance_of TicTacToe::Board end describe TicTacToe::Board do before :each do @game = TicTacToe:...
Change expected interface for move and pos
Change expected interface for move and pos
Ruby
mit
RadicalZephyr/tic_tac_toe,RadicalZephyr/tic_tac_toe
ruby
## Code Before: require 'spec_helper' describe TicTacToe do it 'has a version number' do expect(TicTacToe::VERSION).not_to be nil end it 'has a board' do game = TicTacToe::Board.new expect(game).to be_an_instance_of TicTacToe::Board end describe TicTacToe::Board do before :each do @g...
require 'spec_helper' describe TicTacToe do it 'has a version number' do expect(TicTacToe::VERSION).not_to be nil end it 'has a board' do game = TicTacToe::Board.new expect(game).to be_an_instance_of TicTacToe::Board end describe TicTacToe::Board do before :ea...
8
0.25
3
5
ca762ad12d505647a8a872b4993ff76b92ea643a
bench/harness.oz
bench/harness.oz
functor import OS Boot_Time at 'x-oz://boot/Time' System(showInfo:ShowInfo) export measure: Measure bench: Bench define GetTime Diff if {HasFeature Boot_Time getMonotonicTime} then % Mozart 2, Mozart-Graal GetTime = Boot_Time.getMonotonicTime fun {Diff X Y} Y - X end ...
functor import OS Boot_Time at 'x-oz://boot/Time' System(showInfo:ShowInfo) export measure: Measure bench: Bench define GetTime Diff if {HasFeature Boot_Time getMonotonicTime} then % Mozart 2, Mozart-Graal GetTime = Boot_Time.getMonotonicTime fun {Diff X Y} Y - X end ...
Use a Cell rather than unifying the results of the benchmark
Use a Cell rather than unifying the results of the benchmark * Unification is expensive for very long lists. * Avoid holding 2 results in memory at the same time.
Oz
bsd-2-clause
eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal
oz
## Code Before: functor import OS Boot_Time at 'x-oz://boot/Time' System(showInfo:ShowInfo) export measure: Measure bench: Bench define GetTime Diff if {HasFeature Boot_Time getMonotonicTime} then % Mozart 2, Mozart-Graal GetTime = Boot_Time.getMonotonicTime fun {Diff X Y} Y...
functor import OS Boot_Time at 'x-oz://boot/Time' System(showInfo:ShowInfo) export measure: Measure bench: Bench define GetTime Diff if {HasFeature Boot_Time getMonotonicTime} then % Mozart 2, Mozart-Graal GetTime = Boot_Time.getMonotonicTime fun {Diff X Y...
5
0.089286
3
2
2800e2cf0a7a998a5081929e6750265f30b09130
tests/test_bql.py
tests/test_bql.py
import StringIO import bayeslite.bql as bql import bayeslite.parse as parse import test_smoke def bql2sql(string): with test_smoke.t1() as bdb: phrases = parse.parse_bql_string(string) out = StringIO.StringIO() bql.compile_bql(bdb, phrases, out) return out.getvalue() def test_se...
import StringIO import bayeslite.bql as bql import bayeslite.parse as parse import test_smoke def bql2sql(string): with test_smoke.t1() as bdb: phrases = parse.parse_bql_string(string) out = StringIO.StringIO() bql.compile_bql(bdb, phrases, out) return out.getvalue() def test_se...
Add some more trivial bql2sql tests.
Add some more trivial bql2sql tests.
Python
apache-2.0
probcomp/bayeslite,probcomp/bayeslite
python
## Code Before: import StringIO import bayeslite.bql as bql import bayeslite.parse as parse import test_smoke def bql2sql(string): with test_smoke.t1() as bdb: phrases = parse.parse_bql_string(string) out = StringIO.StringIO() bql.compile_bql(bdb, phrases, out) return out.getvalu...
import StringIO import bayeslite.bql as bql import bayeslite.parse as parse import test_smoke def bql2sql(string): with test_smoke.t1() as bdb: phrases = parse.parse_bql_string(string) out = StringIO.StringIO() bql.compile_bql(bdb, phrases, out) return...
5
0.294118
5
0
cc9441e1facd6ff4b1fd7847504b6640e1ecdfe3
app/utils/status-bar-util.ts
app/utils/status-bar-util.ts
import * as application from "application"; // Make TypeScript happy declare var UIResponder: any; declare var UIStatusBarStyle: any; declare var UIApplication: any; declare var UIApplicationDelegate: any; export function setStatusBarColors() { if (application.ios) { var AppDelegate = UIResponder.extend({ ...
import * as application from "application"; import * as platform from "platform"; // Make TypeScript happy declare var android: any; declare var UIResponder: any; declare var UIStatusBarStyle: any; declare var UIApplication: any; declare var UIApplicationDelegate: any; export function setStatusBarColors() { // Make...
Add Android into the status bar utility
Add Android into the status bar utility
TypeScript
mit
poly-mer/community,anhoev/cms-mobile,anhoev/cms-mobile,Icenium/nativescript-sample-groceries,NativeScript/sample-Groceries,dzfweb/sample-groceries,qtagtech/nativescript_tutorial,qtagtech/nativescript_tutorial,tjvantoll/sample-Groceries,qtagtech/nativescript_tutorial,anhoev/cms-mobile,tjvantoll/sample-Groceries,NativeSc...
typescript
## Code Before: import * as application from "application"; // Make TypeScript happy declare var UIResponder: any; declare var UIStatusBarStyle: any; declare var UIApplication: any; declare var UIApplicationDelegate: any; export function setStatusBarColors() { if (application.ios) { var AppDelegate = UIResponde...
import * as application from "application"; + import * as platform from "platform"; // Make TypeScript happy + declare var android: any; declare var UIResponder: any; declare var UIStatusBarStyle: any; declare var UIApplication: any; declare var UIApplicationDelegate: any; export function setStatusB...
23
1.045455
23
0
ffa15ca750f2ac5513db9984169ececde1cf363a
_includes/colophon.html
_includes/colophon.html
<footer id="colophon" class="colophon"> <nav class="container"> <ul class="colophon__menu"> <li class="colophon__menu-item"><a href="#0" class="overlay__menu-trigger">Open Menu</a></li> <li class="colophon__menu-sep">→</li> {% for link in site.data.navigation.colophon-menu %} <li class="...
<footer id="colophon" class="colophon"> <nav class="container"> <ul class="colophon__menu"> {% for link in site.data.navigation.colophon-menu %} <li class="colophon__menu-item"><a href="{{ site.url }}{{ link.url }}">{{ link.title }}</a></li> {% endfor %} </ul> <p class="colophon__copyr...
Remove "Open Menu" link since the top menu is fixed at the top now and always visible
Remove "Open Menu" link since the top menu is fixed at the top now and always visible
HTML
mit
blogtips/blogtips.github.io,mmistakes/made-mistakes-jekyll,mmistakes/made-mistakes-jekyll,blogtips/blogtips.github.io,blogtips/blogtips.github.io,mmistakes/made-mistakes-jekyll
html
## Code Before: <footer id="colophon" class="colophon"> <nav class="container"> <ul class="colophon__menu"> <li class="colophon__menu-item"><a href="#0" class="overlay__menu-trigger">Open Menu</a></li> <li class="colophon__menu-sep">→</li> {% for link in site.data.navigation.colophon-menu %} ...
<footer id="colophon" class="colophon"> <nav class="container"> <ul class="colophon__menu"> - <li class="colophon__menu-item"><a href="#0" class="overlay__menu-trigger">Open Menu</a></li> - <li class="colophon__menu-sep">→</li> {% for link in site.data.navigation.colophon-menu %} ...
2
0.166667
0
2
212ce8f67495be81d5ecdc97b6765d2759e56d8d
streamparse/storm/component.py
streamparse/storm/component.py
import pystorm from pystorm.component import StormHandler # This is used by other code from ..dsl.component import ComponentSpec class Component(pystorm.component.Component): """pystorm Component with streamparse-specific additions :ivar outputs: The outputs :ivar config: Component-specific config sett...
import pystorm from pystorm.component import StormHandler # This is used by other code class Component(pystorm.component.Component): """pystorm Component with streamparse-specific additions :ivar outputs: The outputs :ivar config: Component-specific config settings to pass to Storm. """ outputs ...
Make Component.spec calls raise TypeError directly
Make Component.spec calls raise TypeError directly
Python
apache-2.0
codywilbourn/streamparse,Parsely/streamparse,codywilbourn/streamparse,Parsely/streamparse
python
## Code Before: import pystorm from pystorm.component import StormHandler # This is used by other code from ..dsl.component import ComponentSpec class Component(pystorm.component.Component): """pystorm Component with streamparse-specific additions :ivar outputs: The outputs :ivar config: Component-spec...
import pystorm from pystorm.component import StormHandler # This is used by other code - - from ..dsl.component import ComponentSpec class Component(pystorm.component.Component): """pystorm Component with streamparse-specific additions :ivar outputs: The outputs :ivar config: Componen...
34
0.755556
4
30
8a6144fc3918856cb2259f65f9ee5cc9cfaf1fdc
locustfile.py
locustfile.py
from locust import HttpLocust, TaskSet, task class UserBehavior(TaskSet): tasks = [] def on_start(self): pass @task def index(self): self.client.get("/") @task def move_map(self): self.client.get("") @task def select_scene(self): # Get url ...
from locust import HttpLocust, TaskSet, task from bs4 import BeautifulSoup from requests import Session import random class UserBehavior(TaskSet): def on_start(self): pass @task def index(self): self.client.get("/") @task def move_map(self): lat = random.uniform(-1, 1) ...
Add random functionality to map move.
Add random functionality to map move.
Python
mit
recombinators/snapsat,recombinators/snapsat,recombinators/snapsat
python
## Code Before: from locust import HttpLocust, TaskSet, task class UserBehavior(TaskSet): tasks = [] def on_start(self): pass @task def index(self): self.client.get("/") @task def move_map(self): self.client.get("") @task def select_scene(self): # Ge...
from locust import HttpLocust, TaskSet, task + from bs4 import BeautifulSoup + from requests import Session + import random class UserBehavior(TaskSet): - tasks = [] - def on_start(self): pass @task def index(self): self.client.get("/") @task def mo...
33
0.891892
21
12
7e677d3f2d0e993f1e15a7b34dcb7d047973cb4d
README.md
README.md
Short module allowing the user to control a fork'd MPlayer process in slave-mode. You can read all about the MPlayer slave protocol at this address: http://www.mplayerhq.hu/DOCS/tech/slave.txt ## Requirements MPlayer should be installed and available in the current PATH ## Example This example launches MPlayer ...
Short module allowing the user to control a fork'd MPlayer process in slave-mode. You can read all about the MPlayer slave protocol at [mplayerhq.hu](http://www.mplayerhq.hu/DOCS/tech/slave.txt) ## Requirements MPlayer should be installed and available in the current PATH ## Example This example launches MPlayer ...
Fix some formatting isssues with the readme
Fix some formatting isssues with the readme
Markdown
isc
tamentis/go-mplayer
markdown
## Code Before: Short module allowing the user to control a fork'd MPlayer process in slave-mode. You can read all about the MPlayer slave protocol at this address: http://www.mplayerhq.hu/DOCS/tech/slave.txt ## Requirements MPlayer should be installed and available in the current PATH ## Example This example l...
Short module allowing the user to control a fork'd MPlayer process in slave-mode. + You can read all about the MPlayer slave protocol at [mplayerhq.hu](http://www.mplayerhq.hu/DOCS/tech/slave.txt) - You can read all about the MPlayer slave protocol at this address: - - http://www.mplayerhq.hu/DOCS/tech/slav...
8
0.186047
3
5
e6aaeb19cfa1cb67ac073fe0279a420b1d8d81c3
scripts/copycat_mode_quit.sh
scripts/copycat_mode_quit.sh
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/helpers.sh" unbind_cancel_bindings() { local cancel_mode_bindings=$(copycat_quit_copy_mode_keys) local key for key in $cancel_mode_bindings; do tmux unbind-key -n "$key" done } unbind_prev_next_bindings() { tmux unbind-key -...
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/helpers.sh" unbind_cancel_bindings() { local cancel_mode_bindings=$(copycat_quit_copy_mode_keys) local key for key in $cancel_mode_bindings; do tmux unbind-key -n "$key" done } unbind_prev_next_bindings() { tmux unbind-key -...
Quit copycat mode only when inside a copycat mode pane
Quit copycat mode only when inside a copycat mode pane
Shell
mit
tmux-plugins/tmux-copycat,bruno-/tmux-copycat
shell
## Code Before: CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/helpers.sh" unbind_cancel_bindings() { local cancel_mode_bindings=$(copycat_quit_copy_mode_keys) local key for key in $cancel_mode_bindings; do tmux unbind-key -n "$key" done } unbind_prev_next_bindings() { t...
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/helpers.sh" unbind_cancel_bindings() { local cancel_mode_bindings=$(copycat_quit_copy_mode_keys) local key for key in $cancel_mode_bindings; do tmux unbind-key -n "$key" done } unbind_prev_next_bin...
14
0.424242
8
6
bfe9524ffed6d64e85d361589564fc3f0e7054af
lib/grammars.coffee
lib/grammars.coffee
module.exports = CoffeeScript: interpreter: "coffee" makeargs: (code) -> ['-e', code] JavaScript: interpreter: "node" makeargs: (code) -> ['-e', code] Ruby: interpreter: "ruby" makeargs: (code) -> ['-e', code] Perl: interpreter: "perl" makeargs: (code) -> ['-e', code] PHP: ...
defaultFileArgs = (filename) -> [filename] module.exports = CoffeeScript: command: "coffee" bySelectionArgs: (code) -> ['-e', code] byFileArgs: defaultFileArgs JavaScript: command: "node" selectionArgs: (code) -> ['-e', code] byFileArgs: defaultFileArgs Ruby: command: "ruby" sele...
Set up selection vs. file args.
Set up selection vs. file args.
CoffeeScript
mit
efatsi/atom-script,rodionovd/atom-script,idleberg/atom-script,rgbkrk/atom-script,Calyhre/atom-script,jchannon/atom-script,rodionovd/atom-script,anfedorov/atom-script,efatsi/atom-script,efatsi/atom-script,anfedorov/atom-script,rodionovd/atom-script,jchannon/atom-script,rodionovd/atom-script,anfedorov/atom-script,jchanno...
coffeescript
## Code Before: module.exports = CoffeeScript: interpreter: "coffee" makeargs: (code) -> ['-e', code] JavaScript: interpreter: "node" makeargs: (code) -> ['-e', code] Ruby: interpreter: "ruby" makeargs: (code) -> ['-e', code] Perl: interpreter: "perl" makeargs: (code) -> ['-e', c...
+ + defaultFileArgs = (filename) -> [filename] + module.exports = CoffeeScript: - interpreter: "coffee" + command: "coffee" - makeargs: (code) -> ['-e', code] ? ^^^ ^ + bySelectionArgs: (code) -> ['-e', code] ? ^^^ ^^^^^^^^ + byFileArgs: defaultFileArgs JavaScript: - interp...
38
1.727273
24
14
b45df3945a923a83fcba87492b2a047808ca972e
src/main/java/io/mere/mortal/BackendServlet.java
src/main/java/io/mere/mortal/BackendServlet.java
package io.mere.mortal; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebServlet(urlPatterns = {"/*"}, loadOnStartup = 1) public class BackendServlet extends H...
package io.mere.mortal; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebServlet(urlPatterns = {"/*"}, loadOnStartup = 1) public class BackendServlet extends H...
Throw 500's, because it's in vogue
Throw 500's, because it's in vogue - Also set up a bad version for talk.
Java
apache-2.0
SwampUpMereMortals/crispy-barnacle
java
## Code Before: package io.mere.mortal; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebServlet(urlPatterns = {"/*"}, loadOnStartup = 1) public class BackendS...
package io.mere.mortal; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; @WebServlet(urlPatterns = {"/*"}, loadOnStartup = 1) - public class Back...
15
0.681818
4
11
fe3648f47f50b95724c197363f3c3eb15420564f
assets/javascripts/templates/_profile_stats.js.mustache.slim
assets/javascripts/templates/_profile_stats.js.mustache.slim
.span8 .stat .value {{postsCount}} .title Posts .stat .title Following .value {{followingsCount}} .stat .title Followed by .value {{followersCount}}
.span2 &nbsp; .span6.no-offset .stat .value {{postsCount}} .title Posts .stat .title Following .value {{followingsCount}} .stat .title Followed by .value {{followersCount}}
Align stats with bio text on profile
Align stats with bio text on profile
Slim
bsd-3-clause
tent/tent-status,tent/tent-status
slim
## Code Before: .span8 .stat .value {{postsCount}} .title Posts .stat .title Following .value {{followingsCount}} .stat .title Followed by .value {{followersCount}} ## Instruction: Align stats with bio text on profile ## Code After: .span2 &nbsp; .span6.no-offset .stat .value {{pos...
- .span8 + .span2 &nbsp; + .span6.no-offset .stat .value {{postsCount}} .title Posts .stat .title Following .value {{followingsCount}} .stat .title Followed by .value {{followersCount}}
3
0.3
2
1
94cc33b2b5ad19dcfd5198f5b26a2206c23a696f
doc/developing-without-vm.md
doc/developing-without-vm.md
The simplest way to get Smart Answers running locally is to run: ```bash $ PLEK_SERVICE_CONTENTAPI_URI=https://www.gov.uk/api \ PLEK_SERVICE_STATIC_URI=https://assets-origin.preview.alphagov.co.uk \ rails s ``` This tells Smart Answers to use the production Content API and the asset server from the preview environme...
The simplest way to get Smart Answers running locally is to run: ```bash $ PLEK_SERVICE_CONTENTAPI_URI=https://www.gov.uk/api \ PLEK_SERVICE_STATIC_URI=assets-origin.integration.publishing.service.gov.uk \ rails s ``` This tells Smart Answers to use the production Content API and the asset server from the integratio...
Update environment in developer documentation
Update environment in developer documentation
Markdown
mit
stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers
markdown
## Code Before: The simplest way to get Smart Answers running locally is to run: ```bash $ PLEK_SERVICE_CONTENTAPI_URI=https://www.gov.uk/api \ PLEK_SERVICE_STATIC_URI=https://assets-origin.preview.alphagov.co.uk \ rails s ``` This tells Smart Answers to use the production Content API and the asset server from the p...
The simplest way to get Smart Answers running locally is to run: ```bash $ PLEK_SERVICE_CONTENTAPI_URI=https://www.gov.uk/api \ - PLEK_SERVICE_STATIC_URI=https://assets-origin.preview.alphagov.co.uk \ + PLEK_SERVICE_STATIC_URI=assets-origin.integration.publishing.service.gov.uk \ rails s ``` - This t...
4
0.333333
2
2
ff0cb39735958b8c2318c0f78aad28519e6b5b3b
.travis.yml
.travis.yml
language: java before_script: - psql -c "create database example_app;" -U postgres - psql -c "create user example_user with password 's3cr3t';" -U postgres - psql -d example_app -U postgres -f droptools-example/src/main/resources/db/migration/20141010__init.sql - psql -c "grant all on database example_app to ex...
language: java before_script: - psql -c "create database example_app;" -U postgres - psql -c "create user example_user with password 's3cr3t';" -U postgres - psql -d example_app -U postgres -f droptools-example/src/main/resources/db/migration/20141010__init.sql - psql -c "grant all on database example_app to ex...
Kill JDK7 tests and use their containers.
Travis: Kill JDK7 tests and use their containers.
YAML
apache-2.0
benjamin-bader/droptools,benjamin-bader/droptools,haydentherapper/droptools
yaml
## Code Before: language: java before_script: - psql -c "create database example_app;" -U postgres - psql -c "create user example_user with password 's3cr3t';" -U postgres - psql -d example_app -U postgres -f droptools-example/src/main/resources/db/migration/20141010__init.sql - psql -c "grant all on database e...
language: java before_script: - psql -c "create database example_app;" -U postgres - psql -c "create user example_user with password 's3cr3t';" -U postgres - psql -d example_app -U postgres -f droptools-example/src/main/resources/db/migration/20141010__init.sql - psql -c "grant all on database examp...
2
0.133333
1
1
21666920ac912a222d61e4bbdb20f5b520c0b0d0
css/blocks/_list-group.scss
css/blocks/_list-group.scss
.list-group-element { color: $color-text-dark-primary; display: block; font-size: 0.9rem; line-height: 1.7; padding-bottom: 16px; padding-top: 16px; position: relative; &-heading { font-size: 1.5rem; } &-images { margin-top: 8px; &-link { margin-left: -10px; } &-element...
.list-group-element { color: $color-text-dark-primary; display: block; font-size: 0.9rem; line-height: 1.7; padding-bottom: 16px; padding-top: 16px; position: relative; &-heading { font-size: 1.5rem; } &-images { margin-top: 8px; margin-left: 10px; &-link { margin-left: -12p...
Set margin-left: 10px for images
Set margin-left: 10px for images
SCSS
mit
soussune/soussune.github.io,soussune/soussune.github.io,soussune/soussune.github.io,soussune/soussune.github.io,soussune/soussune.github.io
scss
## Code Before: .list-group-element { color: $color-text-dark-primary; display: block; font-size: 0.9rem; line-height: 1.7; padding-bottom: 16px; padding-top: 16px; position: relative; &-heading { font-size: 1.5rem; } &-images { margin-top: 8px; &-link { margin-left: -10px; ...
.list-group-element { color: $color-text-dark-primary; display: block; font-size: 0.9rem; line-height: 1.7; padding-bottom: 16px; padding-top: 16px; position: relative; &-heading { font-size: 1.5rem; } &-images { margin-top: 8px; + margin-left: 10px; ...
3
0.09375
2
1
8d5fa1a862e0afbc9e101447e9ff29864203a252
.travis.yml
.travis.yml
language: node_js node_js: - '4' - '4.3.2' # AWS Lambda - '5' - '6' - '6.10.3' # AWS Lambda - '7' - '8' - 'node' - 'iojs' script: - npm run ci matrix: allow_failures: - node_js: 'iojs' - node_js: '4.3.2' - node_js: '4' - node_js: '5'
language: node_js node_js: - '4' - '4.3.2' # AWS Lambda - '5' - '6' - '6.10.3' # AWS Lambda - '7' - '8' - '8.10' # AWS Lambda - '9' - '10' - 'node' - 'iojs' script: - npm run ci matrix: allow_failures: - node_js: 'iojs' - node_js: '4.3.2' - node_js: '4' - node_js: '5'
Add additional nodejs version builds
Add additional nodejs version builds
YAML
mit
tamino-martinius/node-next-model
yaml
## Code Before: language: node_js node_js: - '4' - '4.3.2' # AWS Lambda - '5' - '6' - '6.10.3' # AWS Lambda - '7' - '8' - 'node' - 'iojs' script: - npm run ci matrix: allow_failures: - node_js: 'iojs' - node_js: '4.3.2' - node_js: '4' - node_js: '5' ## Instruction: Add additional...
language: node_js node_js: - '4' - '4.3.2' # AWS Lambda - '5' - '6' - '6.10.3' # AWS Lambda - '7' - '8' + - '8.10' # AWS Lambda + - '9' + - '10' - 'node' - 'iojs' script: - npm run ci matrix: allow_failures: - node_js: 'iojs' - node_js: '4.3.2' ...
3
0.15
3
0
5dd93b5cc57fcbff668d553fe8803172a3370a27
test/CMakeLists.txt
test/CMakeLists.txt
include(${PROJECT_SOURCE_DIR}/CMakeIncludes.txt) include(${PROJECT_SOURCE_DIR}/CMakeTestIncludes.txt) add_subdirectory(libtester) add_executable(test_hash test_hash.c ) target_link_libraries(test_hash insomniac_gc insomniac_hash tester ) add_test(TestHash ${CMAKE_CURRENT_BIN_DIR}/test_hash) add_te...
include(${PROJECT_SOURCE_DIR}/CMakeIncludes.txt) include(${PROJECT_SOURCE_DIR}/CMakeTestIncludes.txt) add_subdirectory(libtester) add_executable(test_hash test_hash.c ) target_link_libraries(test_hash insomniac_gc insomniac_hash tester ) add_test(TestHash ${CMAKE_CURRENT_BIN_DIR}/test_hash) add_te...
Add bytevector test to suite.
Add bytevector test to suite.
Text
agpl-3.0
arlaneenalra/insomniac,arlaneenalra/insomniac,arlaneenalra/insomniac
text
## Code Before: include(${PROJECT_SOURCE_DIR}/CMakeIncludes.txt) include(${PROJECT_SOURCE_DIR}/CMakeTestIncludes.txt) add_subdirectory(libtester) add_executable(test_hash test_hash.c ) target_link_libraries(test_hash insomniac_gc insomniac_hash tester ) add_test(TestHash ${CMAKE_CURRENT_BIN_DIR}/te...
include(${PROJECT_SOURCE_DIR}/CMakeIncludes.txt) include(${PROJECT_SOURCE_DIR}/CMakeTestIncludes.txt) add_subdirectory(libtester) add_executable(test_hash test_hash.c ) target_link_libraries(test_hash insomniac_gc insomniac_hash tester ) add_test(TestHash $...
4
0.102564
4
0
b07e32630829681da8229ed8184885470f58b30e
.travis.yml
.travis.yml
language: go go: - 1.5.3 - release before_script: - go tool vet mat/*.go - go tool vet -shadow=true mat/*.go script: - go test -v ./...
language: go go: - 1.5.3 - release before_script: - go tool vet -test mat/*.go script: - go test -v ./...
Fix the vetting tool to do -all and -shadow
Fix the vetting tool to do -all and -shadow
YAML
mit
NDari/gocrunch,NDari/numgo
yaml
## Code Before: language: go go: - 1.5.3 - release before_script: - go tool vet mat/*.go - go tool vet -shadow=true mat/*.go script: - go test -v ./... ## Instruction: Fix the vetting tool to do -all and -shadow ## Code After: language: go go: - 1.5.3 - release before_script: - go tool vet -test mat/*.go scrip...
language: go go: - 1.5.3 - release before_script: - - go tool vet mat/*.go + - go tool vet -test mat/*.go ? ++++++ - - go tool vet -shadow=true mat/*.go script: - go test -v ./...
3
0.25
1
2
8e6f333a69f660a6ec4147b0c5ecc4474e81f69f
python/src/main/resources/interpreter-setting.json
python/src/main/resources/interpreter-setting.json
[ { "group": "python", "name": "python", "className": "org.apache.zeppelin.python.PythonInterpreter", "properties": { "zeppelin.python": { "envName": null, "propertyName": "zeppelin.python", "defaultValue": "python", "description": "Python directory. It is set to ...
[ { "group": "python", "name": "python", "className": "org.apache.zeppelin.python.PythonInterpreter", "properties": { "zeppelin.python": { "envName": null, "propertyName": "zeppelin.python", "defaultValue": "python", "description": "Python directory. It is set to ...
Add PythonDockerInterpreter to interpreter group
Add PythonDockerInterpreter to interpreter group ### What is this PR for? Recently PythonDockerInterpreter added to PythonInterpreter in https://github.com/apache/zeppelin/pull/1654. ### What type of PR is it? Bug Fix | Improvement ### Screenshots (if appropriate) - before ![image](https://cloud.githubusercontent.co...
JSON
apache-2.0
sohaibiftikhar/zeppelin,anthonycorbacho/incubator-zeppelin,sctincman/zeppelin,herval/zeppelin,pellmont/zeppelin,datalayer/zeppelin-datalayer,jongyoul/incubator-zeppelin,hkropp/incubator-zeppelin,zjffdu/zeppelin,prabhjyotsingh/zeppelin,datalayer/zeppelin-datalayer,tzolov/incubator-zeppelin,sravan-s/zeppelin,SachinJanani...
json
## Code Before: [ { "group": "python", "name": "python", "className": "org.apache.zeppelin.python.PythonInterpreter", "properties": { "zeppelin.python": { "envName": null, "propertyName": "zeppelin.python", "defaultValue": "python", "description": "Python director...
[ { "group": "python", "name": "python", "className": "org.apache.zeppelin.python.PythonInterpreter", "properties": { "zeppelin.python": { "envName": null, "propertyName": "zeppelin.python", "defaultValue": "python", "description": "Python di...
11
0.234043
11
0
6cc24400837fa667196e6a3a9772ab113b51711e
templates/data/deployment/listener/index.php
templates/data/deployment/listener/index.php
<pre><?php // {% if autodeploy_dynamic_deploy_repo_names %} function ansibleExec(repo) { echo shell_exec('/usr/local/bin/ansible-playbook /data/deployment/'.repo.'.yml -i /data/deployment/hosts'); } // {% endif %} if($_SERVER['REQUEST_METHOD'] === 'POST') { // {% if autodeploy_dynamic_deploy_repo_names %} ...
<pre><?php // {% if autodeploy_dynamic_deploy_repo_names %} function ansibleExec(repo) { echo shell_exec('/usr/local/bin/ansible-playbook /data/deployment/'.repo.'.yml -i /data/deployment/hosts'); } // {% endif %} if($_SERVER['REQUEST_METHOD'] === 'POST') { // {% if autodeploy_dynamic_deploy_repo_names %} ...
Make the output from ansible unbuffered
Make the output from ansible unbuffered via the PYTHONUNBUFFERED environment variable
PHP
mit
telusdigital/ansible-autodeploy,stevenharradine/ansible-autodeploy,stevenharradine/ansible-autodeploy,stevenharradine/ansible-autodeploy,aaronpederson/ansible-autodeploy,stevenharradine/ansible-autodeploy,aaronpederson/ansible-autodeploy,telusdigital/ansible-autodeploy,telusdigital/ansible-autodeploy,aaronpederson/ansi...
php
## Code Before: <pre><?php // {% if autodeploy_dynamic_deploy_repo_names %} function ansibleExec(repo) { echo shell_exec('/usr/local/bin/ansible-playbook /data/deployment/'.repo.'.yml -i /data/deployment/hosts'); } // {% endif %} if($_SERVER['REQUEST_METHOD'] === 'POST') { // {% if autodeploy_dynamic_deploy_re...
<pre><?php // {% if autodeploy_dynamic_deploy_repo_names %} function ansibleExec(repo) { echo shell_exec('/usr/local/bin/ansible-playbook /data/deployment/'.repo.'.yml -i /data/deployment/hosts'); } // {% endif %} if($_SERVER['REQUEST_METHOD'] === 'POST') { // {% if autodeploy_dynamic...
3
0.076923
2
1
2561471eea20a9d1ca762d402ba538661cfd2f64
module/Connector.js
module/Connector.js
const mysql = require('mysql') const qBuilder = require('./QueryBuilder') let query = '' let params = [] module.exports = (dbSetting) => { let connection = mysql.createConnection({ host: dbSetting.hostname, user: dbSetting.username, password: dbSetting.password, database: dbSetting.database }) ...
const mysql = require('mysql') const qBuilder = require('./QueryBuilder') let _query = '' let _params = [] module.exports = (dbSetting) => { let connection = mysql.createConnection({ host: dbSetting.hostname, user: dbSetting.username, password: dbSetting.password, database: dbSetting.database }) ...
Add few functions and connect to query builder
Add few functions and connect to query builder
JavaScript
mit
evelikov92/mysql-qbuilder
javascript
## Code Before: const mysql = require('mysql') const qBuilder = require('./QueryBuilder') let query = '' let params = [] module.exports = (dbSetting) => { let connection = mysql.createConnection({ host: dbSetting.hostname, user: dbSetting.username, password: dbSetting.password, database: dbSetting.d...
const mysql = require('mysql') const qBuilder = require('./QueryBuilder') - let query = '' + let _query = '' ? + - let params = [] + let _params = [] ? + module.exports = (dbSetting) => { let connection = mysql.createConnection({ host: dbSetting.hostname, user: dbSetting.username, ...
19
0.513514
12
7
35793f330181dae066b999c56ef117763c1df13c
test/Headers/altivec-header.c
test/Headers/altivec-header.c
// REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s // RUN: %clang_cc1 -triple powerpc64-unknown-...
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -fno-lax-vector-conversions -o - %s | FileCheck %s // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffre...
Make this test not rely on a backend being registered.
Make this test not rely on a backend being registered. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@233993 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-cl...
c
## Code Before: // REQUIRES: powerpc-registered-target // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s // RUN: %clang_cc1 -triple po...
- // REQUIRES: powerpc-registered-target - // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s ? ^ + // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llv...
14
0.875
5
9
892b77d405760c2af5c46338b44cf92ac8ce371f
app/views/tolk/locales/index.html.erb
app/views/tolk/locales/index.html.erb
<% content_for :locale do %><span class="locale empty"></span> <% end %> <h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2> <% if @locales.any? %> <ul class="locales clearfix"> <% @locales.each do |locale| %> <li> <%= link_to locale.language_name, local...
<% content_for :locale do %><span class="locale empty"></span> <% end %> <h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2> <% if @locales.any? %> <ul class="locales clearfix"> <% @locales.each do |locale| %> <li> <%= link_to locale.language_name, local...
Fix the dummy counter on the index page
Fix the dummy counter on the index page
HTML+ERB
mit
tmp8/tolk,MyMedsAndMe/tolk,rdunlop/tolk,tolk/tolk,rdunlop/tolk,tolk/tolk,MyMedsAndMe/tolk,joe-bader/tolk,10to1/tolk,MyMedsAndMe/tolk,tolk/tolk,joe-bader/tolk,beni55/tolk,10to1/tolk,tmp8/tolk,rdunlop/tolk,beni55/tolk,dhh/tolk,munirent/tolk,beni55/tolk,dhh/tolk,munirent/tolk
html+erb
## Code Before: <% content_for :locale do %><span class="locale empty"></span> <% end %> <h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2> <% if @locales.any? %> <ul class="locales clearfix"> <% @locales.each do |locale| %> <li> <%= link_to locale.lang...
<% content_for :locale do %><span class="locale empty"></span> <% end %> <h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2> <% if @locales.any? %> <ul class="locales clearfix"> <% @locales.each do |locale| %> <li> <%= link_to locale.la...
2
0.066667
1
1
b61fab6e2bbde11fdf2d2ab2f9ee53cc3d016bc8
.travis.yml
.travis.yml
language: go go: - 1.2 install: - go get launchpad.net/goamz/aws - go get -v -t ./... - mkdir -p $HOME/gopath/bin - go install - ./generate-pkgs script: - export PATH=$HOME/gopath/bin:$PATH - go test ./...
language: go go: - 1.2 install: - go get launchpad.net/goamz/aws - go get -v -t ./... - mkdir -p $HOME/gopath/bin - go install script: - export PATH=$HOME/gopath/bin:$PATH - go test ./...
Remove pkg step from Travis since it's broken atm
Remove pkg step from Travis since it's broken atm
YAML
mit
mbailey/credulous,mefellows/credulous,realestate-com-au/credulous,realestate-com-au/credulous,mefellows/credulous,mbailey/credulous,realestate-com-au/credulous,mefellows/credulous,realestate-com-au/credulous,mbailey/credulous,mefellows/credulous,mbailey/credulous
yaml
## Code Before: language: go go: - 1.2 install: - go get launchpad.net/goamz/aws - go get -v -t ./... - mkdir -p $HOME/gopath/bin - go install - ./generate-pkgs script: - export PATH=$HOME/gopath/bin:$PATH - go test ./... ## Instruction: Remove pkg step from Travis since it's broken atm ## Code After...
language: go go: - 1.2 install: - go get launchpad.net/goamz/aws - go get -v -t ./... - mkdir -p $HOME/gopath/bin - go install - - ./generate-pkgs script: - export PATH=$HOME/gopath/bin:$PATH - go test ./...
1
0.066667
0
1
06150a06c33e24b6f8af30348be7c8a1e6da16e5
.github/workflows/build-docs.yml
.github/workflows/build-docs.yml
name: Build Docs on: push: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Setup dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.101 - name: Build docs run: dotnet build ./Docs...
name: Build Docs on: push: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 # - name: Setup dotnet # uses: actions/setup-dotnet@v1 # with: # dotnet-version: 3.1.101 # - name: Build docs # run: dotnet ...
Use docfx instead of csproj
Use docfx instead of csproj
YAML
bsd-3-clause
CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos
yaml
## Code Before: name: Build Docs on: push: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Setup dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.101 - name: Build docs run: dot...
name: Build Docs on: push: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - - name: Setup dotnet + # - name: Setup dotnet ? ++ - uses: actions/setup-dotnet@v1 + # uses: actions/setup-d...
25
1.041667
15
10
8a4e2fdb1b864a20d07d3e9a15095d807a97f8bf
file-utility-code/build-self-contained-targets.cmd
file-utility-code/build-self-contained-targets.cmd
@ECHO OFF REM --------------------------------------------------------------------------- REM Builds the file utility nuget packages. REM --------------------------------------------------------------------------- SETLOCAL SET BUILD_NUMBER=%1 IF "%BUILD_NUMBER%" == "" SET BUILD_NUMBER=5555 ECHO BUILD_NUMBER=%BUILD_NU...
@ECHO OFF REM --------------------------------------------------------------------------- REM Builds the file utility nuget packages. REM --------------------------------------------------------------------------- SETLOCAL SET BUILD_NUMBER=%1 IF "%BUILD_NUMBER%" == "" SET BUILD_NUMBER=5555 ECHO BUILD_NUMBER=%BUILD_NU...
Remove manual versioning from self-contained targets
Remove manual versioning from self-contained targets
Batchfile
mit
SoundMetrics/aris-file-sdk,SoundMetrics/aris-file-sdk,SoundMetrics/aris-file-sdk
batchfile
## Code Before: @ECHO OFF REM --------------------------------------------------------------------------- REM Builds the file utility nuget packages. REM --------------------------------------------------------------------------- SETLOCAL SET BUILD_NUMBER=%1 IF "%BUILD_NUMBER%" == "" SET BUILD_NUMBER=5555 ECHO BUILD_...
@ECHO OFF REM --------------------------------------------------------------------------- REM Builds the file utility nuget packages. REM --------------------------------------------------------------------------- SETLOCAL SET BUILD_NUMBER=%1 IF "%BUILD_NUMBER%" == "" SET BUILD_NUMBER=5555 ECHO BU...
6
0.272727
2
4
fce63e693215740348218a311770ded02eade181
lib/yml_reader.rb
lib/yml_reader.rb
require "yml_reader/version" module YmlReader # # Set the directory to use when reading yml files # def yml_directory=(directory) @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_directory return...
require "yml_reader/version" module YmlReader # # Set the directory to use when reading yml files # def yml_directory=(directory) @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_directory return...
Add ERB into yml reader
Add ERB into yml reader
Ruby
mit
cheezy/yml_reader
ruby
## Code Before: require "yml_reader/version" module YmlReader # # Set the directory to use when reading yml files # def yml_directory=(directory) @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_directory if @yml_dire...
require "yml_reader/version" module YmlReader # # Set the directory to use when reading yml files # def yml_directory=(directory) @yml_directory = directory end # # Returns the directory to be used when reading yml files # def yml_directory return @yml_direct...
2
0.068966
1
1
5ca3a17307dbb05cc3344a2ef7ce5a1be7b12425
SimpleRedditClient/Common/Views/ImageLoadableView/ImageLoadableView.swift
SimpleRedditClient/Common/Views/ImageLoadableView/ImageLoadableView.swift
// // Created by Alexander Tkachenko on 9/9/17. // import UIKit final class ImageLoadableView: UIView, ImageLoadable { @IBOutlet var imageView: UIImageView! @IBOutlet var placeholderView: UIView! @IBInspectable var animated: Bool = true private var image: UIImage? private var dirty: Bool { re...
// // Created by Alexander Tkachenko on 9/9/17. // import UIKit final class ImageLoadableView: UIView, ImageLoadable { @IBOutlet var imageView: UIImageView! @IBOutlet var placeholderView: UIView! @IBInspectable var animated: Bool = true private var image: UIImage? private var urlInProgress: U...
Fix cell reusing/image loading bug
Fix cell reusing/image loading bug
Swift
mit
tkach/SimpleRedditClient
swift
## Code Before: // // Created by Alexander Tkachenko on 9/9/17. // import UIKit final class ImageLoadableView: UIView, ImageLoadable { @IBOutlet var imageView: UIImageView! @IBOutlet var placeholderView: UIView! @IBInspectable var animated: Bool = true private var image: UIImage? private var ...
// // Created by Alexander Tkachenko on 9/9/17. // import UIKit final class ImageLoadableView: UIView, ImageLoadable { @IBOutlet var imageView: UIImageView! @IBOutlet var placeholderView: UIView! @IBInspectable var animated: Bool = true private var image: UIImage? + pr...
9
0.173077
6
3
cc655cb0251826b29b451d8cc8bb6393838ef097
client/components/article.js
client/components/article.js
import React from 'react' function getColorFromId(id) { const hue = (id * 97) % 360 return `hsl(${hue}, 32%, 68%)` } const Article = ({ link, title, id }) => ( <div className='card'> <div className='card-img-top' style={{height: '5em', background: getColorFromId(id)}} alt='Card image cap' /> ...
import React from 'react' function getColorFromId(id) { const hue = (id * 97) % 360 return `hsl(${hue}, 32%, 68%)` } const Article = ({ link, title, id }) => ( <div className='card'> <div className='card-img-top' style={{height: '5em', background: getColorFromId(id)}} alt='Card image cap' /> ...
Remove Article date (until it became true)
Remove Article date (until it became true)
JavaScript
mit
CommonActionForum/liqen-face,CommonActionForum/liqen-face,exacs/liqen-face,exacs/liqen-face
javascript
## Code Before: import React from 'react' function getColorFromId(id) { const hue = (id * 97) % 360 return `hsl(${hue}, 32%, 68%)` } const Article = ({ link, title, id }) => ( <div className='card'> <div className='card-img-top' style={{height: '5em', background: getColorFromId(id)}} alt='Card i...
import React from 'react' function getColorFromId(id) { const hue = (id * 97) % 360 return `hsl(${hue}, 32%, 68%)` } const Article = ({ link, title, id }) => ( <div className='card'> <div className='card-img-top' style={{height: '5em', background: getColorFromId(id)}} alt...
2
0.076923
1
1
f09b300307ec33019324ccfac241c89900f57639
conf_site/templates/symposion/schedule/_grid.html
conf_site/templates/symposion/schedule/_grid.html
<table class="calendar table table-bordered"> <thead> <tr> <th class="time">&nbsp;</th> {% for room in timetable.rooms %} <th>{{ room.name }}</th> {% endfor %} </tr> </thead> <tbody> {% for row in timetable %} <tr> ...
<table class="calendar table table-bordered"> <thead> <tr> <th class="time">&nbsp;</th> {% for room in timetable.rooms %} <th>{{ room.name }}</th> {% endfor %} </tr> </thead> <tbody> {% for row in timetable %} <tr> ...
Simplify schedule cell display logic.
Simplify schedule cell display logic. If slot has an attached presentation (slot.content will return True), display presentation and speaker information. Otherwise, if slot has a content override, display that. Otherwise, display the label of the slot kind. This eliminates the need to have hardcode slot kind labels (...
HTML
mit
pydata/conf_site,pydata/conf_site,pydata/conf_site
html
## Code Before: <table class="calendar table table-bordered"> <thead> <tr> <th class="time">&nbsp;</th> {% for room in timetable.rooms %} <th>{{ room.name }}</th> {% endfor %} </tr> </thead> <tbody> {% for row in timetable %} ...
<table class="calendar table table-bordered"> <thead> <tr> <th class="time">&nbsp;</th> {% for room in timetable.rooms %} <th>{{ room.name }}</th> {% endfor %} </tr> </thead> <tbody> {% for row in timetable %} ...
28
0.666667
12
16
c3771e98db0cedca36aa0abbee6bdd27ac6d62c1
src/li/seiji/minichess/Game.java
src/li/seiji/minichess/Game.java
package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initialize(); this.white =...
package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initialize(); this.white =...
Add a nice log to the game
Add a nice log to the game
Java
mit
seijikun/MiniChess,seijikun/MiniChess
java
## Code Before: package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initialize(); ...
package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initiali...
2
0.054054
2
0
adff3ce98eca9fbcfae880805073d012f91715ca
requirements/prod.txt
requirements/prod.txt
flask==1.0.3 requests==2.22.0 beautifulsoup4==4.7.1 eventlet==0.25.0 gunicorn==19.9.0 # Python 2/3 Compatibility six==1.12.0 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.0.0 python_socketio==4.0.2 python_engineio==3.5.2 # Celery celery==4.3.0 redis==3.2.1 # Octave interaction...
flask==1.0.3 requests==2.22.0 beautifulsoup4==4.7.1 eventlet==0.25.0 gunicorn==19.9.0 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.0.0 python_socketio==4.0.2 python_engineio==3.5.2 # Celery celery==4.3.0 redis==3.2.1 # Octave interaction scipy==1.3.0 numpy==1.16.3 octave-kerne...
Remove six from the requirements file
Remove six from the requirements file
Text
mit
suever/MATL-Online,suever/MATL-Online,suever/MATL-Online,suever/MATL-Online,suever/MATL-Online
text
## Code Before: flask==1.0.3 requests==2.22.0 beautifulsoup4==4.7.1 eventlet==0.25.0 gunicorn==19.9.0 # Python 2/3 Compatibility six==1.12.0 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.0.0 python_socketio==4.0.2 python_engineio==3.5.2 # Celery celery==4.3.0 redis==3.2.1 # Oc...
flask==1.0.3 requests==2.22.0 beautifulsoup4==4.7.1 eventlet==0.25.0 gunicorn==19.9.0 - - # Python 2/3 Compatibility - six==1.12.0 # CSS/JS Assets flask_assets==0.12 yuicompressor==2.4.8 # Sockets flask_socketio==4.0.0 python_socketio==4.0.2 python_engineio==3.5.2 # Celery celery==...
3
0.069767
0
3
761789b490deb29e0cdbf46ec15d2cdaf97959e0
README.md
README.md
vim_setup ========= Scripts to set up my vim environment on any machine. Right now it installs the following scripts and plugins: * [Most Recently Used](https://github.com/yegappan/mru) * [taglist.vim](https://github.com/vim-scripts/taglist.vim) * [pathogen.vim](https://github.com/tpope/vim-pathogen) * [SnipMate](htt...
vim_setup ========= Scripts to set up my vim environment on any machine. Right now it installs the following scripts and plugins: * [Most Recently Used](https://github.com/yegappan/mru) * [taglist.vim](https://github.com/vim-scripts/taglist.vim) * [pathogen.vim](https://github.com/tpope/vim-pathogen) * [SnipMate](htt...
Document changed behavior of <Space>t
Document changed behavior of <Space>t
Markdown
mit
moee/vim_setup
markdown
## Code Before: vim_setup ========= Scripts to set up my vim environment on any machine. Right now it installs the following scripts and plugins: * [Most Recently Used](https://github.com/yegappan/mru) * [taglist.vim](https://github.com/vim-scripts/taglist.vim) * [pathogen.vim](https://github.com/tpope/vim-pathogen) ...
vim_setup ========= Scripts to set up my vim environment on any machine. Right now it installs the following scripts and plugins: * [Most Recently Used](https://github.com/yegappan/mru) * [taglist.vim](https://github.com/vim-scripts/taglist.vim) * [pathogen.vim](https://github.com/tpope/vim-pathogen) ...
2
0.071429
1
1
ae2b57044c5459a8900d69c8ef0f6e44dd87ed8a
resources/11/info.txt
resources/11/info.txt
name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the LibriSpeech's LM file: vocab.txt 200K word vocab...
name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the LibriSpeech's LM file: librispeech-lm-norm.txt.g...
Add an archive with normalized LM training text for LibriSpeech
Add an archive with normalized LM training text for LibriSpeech
Text
apache-2.0
danpovey/openslr,danpovey/openslr
text
## Code Before: name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the LibriSpeech's LM file: vocab.txt...
name: LibriSpeech language models, vocabulary and G2P models summary: Language modelling resources, for use with the LibriSpeech ASR corpus category: text license: Public domain file: librispeech-lm-corpus.tgz 14500 public domain books, used as training material for the LibriSpeech's LM + file: librispeech-l...
1
0.076923
1
0
2b37f2640810e534197d6a2c2174700bff2662d8
files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb
files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb
<% if node['gitlab']['high-availability']['mountpoint'] %> if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then echo 'Refusing to start because <%= node['gitlab']['high-availability']['mountpoint'] %> is not a mountpoint.' exit 1 fi <% end %>
<% [node['gitlab']['high-availability']['mountpoint']].flatten.compact.each do |mountpoint| %> if ! mountpoint -q '<%= mountpoint %>' ; then echo 'Refusing to start because <%= mountpoint %> is not a mountpoint.' exit 1 fi <% end %>
Allow to specify multiple mountpoints as an array to high-availability:mountpoint
Allow to specify multiple mountpoints as an array to high-availability:mountpoint
HTML+ERB
apache-2.0
gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab
html+erb
## Code Before: <% if node['gitlab']['high-availability']['mountpoint'] %> if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then echo 'Refusing to start because <%= node['gitlab']['high-availability']['mountpoint'] %> is not a mountpoint.' exit 1 fi <% end %> ## Instruction: Allow to...
- <% if node['gitlab']['high-availability']['mountpoint'] %> - if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then + <% [node['gitlab']['high-availability']['mountpoint']].flatten.compact.each do |mountpoint| %> + if ! mountpoint -q '<%= mountpoint %>' ; then - echo 'Refusing to start...
6
1
3
3
594b06728422ae0a80397cab49ac54ac193eab6b
install.work.conf.yaml
install.work.conf.yaml
- clean: ['~'] - link: ~/.vim: vim ~/.vimrc: vimrc ~/.tmux.conf: tmux.conf - link: ~/bin/astyle: work/bin/astyle ~/bin/boxes: work/bin/boxes ~/.vim/settings/work.vim: work/work.vim ~/.vim/cpp.vimrc: work/cpp.vimrc
- clean: ['~'] - link: ~/.vim: vim ~/.vimrc: vimrc ~/.tmux.conf: tmux.conf - link: ~/bin/astyle: path: work/bin/astyle create: true ~/bin/boxes: path: work/bin/boxes create: true ~/.vim/settings/work.vim: work/work.vim ~/.vim/cpp.vimrc: work/cpp.vimrc
Make sure the directory is created for ext links
Make sure the directory is created for ext links
YAML
mit
mseabold/dotfiles
yaml
## Code Before: - clean: ['~'] - link: ~/.vim: vim ~/.vimrc: vimrc ~/.tmux.conf: tmux.conf - link: ~/bin/astyle: work/bin/astyle ~/bin/boxes: work/bin/boxes ~/.vim/settings/work.vim: work/work.vim ~/.vim/cpp.vimrc: work/cpp.vimrc ## Instruction: Make sure the directory is created for ext l...
- clean: ['~'] - link: ~/.vim: vim ~/.vimrc: vimrc ~/.tmux.conf: tmux.conf - link: - ~/bin/astyle: work/bin/astyle - ~/bin/boxes: work/bin/boxes + ~/bin/astyle: + path: work/bin/astyle + create: true + ~/bin/boxes: + path: work/bin/boxes + creat...
8
0.727273
6
2
30986a923da8002a6948f90a6cb4afe31da22638
src/cljs/bartleby/db.cljs
src/cljs/bartleby/db.cljs
(ns bartleby.db) (def default-db "Default state" {:tasks []})
(ns bartleby.db) (def default-db "Default state" {:rest "" :tasks []})
Add a flag to show the query status
Add a flag to show the query status
Clojure
epl-1.0
capside-functional-nomads/bartleby
clojure
## Code Before: (ns bartleby.db) (def default-db "Default state" {:tasks []}) ## Instruction: Add a flag to show the query status ## Code After: (ns bartleby.db) (def default-db "Default state" {:rest "" :tasks []})
(ns bartleby.db) (def default-db "Default state" + {:rest "" - {:tasks []}) ? ^ + :tasks []}) ? ^
3
0.6
2
1
b97b669544c54ca878f2f7eb1656b8b5b3e135e2
README.md
README.md
JSON based dependency injection for Android. The core SCFFLD package provides the following: * JSON configuration loading; * Dependency injection (DI) / inversion of control (IoC) containers; * Internal URI system; * App container and basic UI components; See the wiki for more information. # Status SCFFLD is curren...
JSON based dependency injection for Android. The core SCFFLD package provides the following: * JSON configuration loading; * Dependency injection (DI) / inversion of control (IoC) containers; * Internal URI system; * App container and basic UI components; See the wiki for more information. # Status SCFFLD is curren...
Edit link to wiki installation page.
Edit link to wiki installation page.
Markdown
apache-2.0
innerfunction/SCFFLD-and,innerfunction/SCFFLD-and
markdown
## Code Before: JSON based dependency injection for Android. The core SCFFLD package provides the following: * JSON configuration loading; * Dependency injection (DI) / inversion of control (IoC) containers; * Internal URI system; * App container and basic UI components; See the wiki for more information. # Status ...
JSON based dependency injection for Android. The core SCFFLD package provides the following: * JSON configuration loading; * Dependency injection (DI) / inversion of control (IoC) containers; * Internal URI system; * App container and basic UI components; See the wiki for more information. #...
2
0.090909
1
1
2b9ed7016865f29f54bd3b3d40c1a2812f4a5992
js/app/templates/index.hbs
js/app/templates/index.hbs
<div id="index"> <nav> <h3>Link-sf</h3> </nav> <h3 class="title">What are you looking for?</h3> <span>Service</span> <ul class="categories"> <li><button class="btn" data-category="housing"><i class="icon-briefcase"></i>Housing</button></li> <li><button class="btn" data-category="food"><i class="...
<div id="index"> <nav> <h3>Link-sf</h3> </nav> <h3 class="title">What are you looking for?</h3> <span>Service</span> <ul class="categories"> <li><button class="btn" data-category="housing"><i class="icon-briefcase"></i>Housing</button></li> <li><button class="btn" data-category="food"><i class="...
Hide search button for now
Hide search button for now
Handlebars
apache-2.0
ISMAELMARTINEZ/linkuk,zendesk/copenhelp,sfbrigade/linksf,zendesk/linksf,lcomito/linksf,sfbrigade/linksf,lcomito/linksf,ISMAELMARTINEZ/linkuk,sfbrigade/linksf,lcomito/linksf,zendesk/linksf,zendesk/copenhelp,zendesk/copenhelp
handlebars
## Code Before: <div id="index"> <nav> <h3>Link-sf</h3> </nav> <h3 class="title">What are you looking for?</h3> <span>Service</span> <ul class="categories"> <li><button class="btn" data-category="housing"><i class="icon-briefcase"></i>Housing</button></li> <li><button class="btn" data-category="...
<div id="index"> <nav> <h3>Link-sf</h3> </nav> <h3 class="title">What are you looking for?</h3> <span>Service</span> <ul class="categories"> <li><button class="btn" data-category="housing"><i class="icon-briefcase"></i>Housing</button></li> <li><button class="btn" data-cate...
2
0.111111
1
1
38964f0f840a7b60f5ce65ca2857789d92b133b5
django_base64field/tests.py
django_base64field/tests.py
from django.db import models from django.test import TestCase from django.utils.baseconv import base64 from django_base64field.fields import Base64Field class Planet(models.Model): ek = Base64Field() name = models.CharField(max_length=13) class Continent(models.Model): ek = Base64Field() name = model...
from django.db import models from django.test import TestCase from django.utils.baseconv import base64 from django_base64field.fields import Base64Field class Planet(models.Model): ek = Base64Field() name = models.CharField( default='Fucker', max_length=103 ) class Continent(models.Model)...
Make fields on model have defaults value
Make fields on model have defaults value Like who cares for their default value
Python
bsd-3-clause
Alir3z4/django-base64field
python
## Code Before: from django.db import models from django.test import TestCase from django.utils.baseconv import base64 from django_base64field.fields import Base64Field class Planet(models.Model): ek = Base64Field() name = models.CharField(max_length=13) class Continent(models.Model): ek = Base64Field() ...
from django.db import models from django.test import TestCase from django.utils.baseconv import base64 from django_base64field.fields import Base64Field class Planet(models.Model): ek = Base64Field() - name = models.CharField(max_length=13) ? -------------- + name...
10
0.285714
8
2
abbe5e3617b6f128bbdacaf287a85c833f9946d8
tasks/rspec.rake
tasks/rspec.rake
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec')
require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) namespace :spec do desc "Open coverage report in browser" task :open_coverage => :browser do sh "#{ENV["DEVELOPMENT_WEBBROWSER"]} coverage/index.html" end end
Add a task to open the coverage report
Add a task to open the coverage report
Ruby
mit
bxt/wptemplates
ruby
## Code Before: require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec') ## Instruction: Add a task to open the coverage report ## Code After: require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) namespace :spec do desc "Open coverage report in browser" task :open_coverage => :browser do ...
require 'rspec/core/rake_task' - RSpec::Core::RakeTask.new('spec') ? ^ - + RSpec::Core::RakeTask.new(:spec) ? ^ + + namespace :spec do + desc "Open coverage report in browser" + task :open_coverage => :browser do + sh "#{ENV["DEVELOPMENT_WEBBROWSER"...
9
3
8
1
0048752ec3d9f9e39dca505c8f88394f58e02fd1
README.md
README.md
kiigame ======= KiiGame Adventure Engine is a HTML5/JavaScript based simple adventure game engine for web browsers. KGAE uses [Konva](https://konvajs.org), and Mocha, Chai and Sinon for unit tests. The engine comes with an example game, Lätkäzombit: Pako hallista. The example game is in the Finnish language. Take a ...
kiigame ======= KiiGame Adventure Engine is a HTML5/JavaScript based simple adventure game engine for web browsers. KGAE uses [Konva](https://konvajs.org), and Mocha, Chai and Sinon for unit tests. The engine comes with an example game, Lätkäzombit: Pako hallista. The example game is in the Finnish language. Take a ...
Add a bit about building the bundle to readme.
Add a bit about building the bundle to readme. Plus some other style changes.
Markdown
bsd-3-clause
evktalo/kiigame,evktalo/kiigame
markdown
## Code Before: kiigame ======= KiiGame Adventure Engine is a HTML5/JavaScript based simple adventure game engine for web browsers. KGAE uses [Konva](https://konvajs.org), and Mocha, Chai and Sinon for unit tests. The engine comes with an example game, Lätkäzombit: Pako hallista. The example game is in the Finnish la...
kiigame ======= KiiGame Adventure Engine is a HTML5/JavaScript based simple adventure game engine for web browsers. KGAE uses [Konva](https://konvajs.org), and Mocha, Chai and Sinon for unit tests. The engine comes with an example game, Lätkäzombit: Pako hallista. The example game is in the Finnish langua...
13
0.433333
9
4
6f128279e8f4126c2d0f1a4076b93768678cdc0a
zerver/migrations/0130_text_choice_in_emojiset.py
zerver/migrations/0130_text_choice_in_emojiset.py
from django.db import migrations, models from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps # change emojiset to text if emoji_alt_code is true. def change_emojiset(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: UserProfil...
from django.db import migrations, models from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps # change emojiset to text if emoji_alt_code is true. def change_emojiset(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: UserProfil...
Add reverser for emoji_alt_code migration.
migrations: Add reverser for emoji_alt_code migration. This is easy to do, and prevents this feature from getting a server admin stuck in potentially a pretty uncomfortable way -- unable to roll back a deploy.
Python
apache-2.0
tommyip/zulip,eeshangarg/zulip,rht/zulip,jackrzhang/zulip,brainwane/zulip,andersk/zulip,shubhamdhama/zulip,shubhamdhama/zulip,punchagan/zulip,kou/zulip,hackerkid/zulip,timabbott/zulip,showell/zulip,hackerkid/zulip,eeshangarg/zulip,dhcrzf/zulip,andersk/zulip,shubhamdhama/zulip,punchagan/zulip,kou/zulip,synicalsyntax/zul...
python
## Code Before: from django.db import migrations, models from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps # change emojiset to text if emoji_alt_code is true. def change_emojiset(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None...
from django.db import migrations, models from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor from django.db.migrations.state import StateApps # change emojiset to text if emoji_alt_code is true. def change_emojiset(apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: ...
13
0.448276
12
1
0e3649b65ef7d3554aafe5e2ea8e973a3881ef93
Egmont-plugin.sketchplugin/Contents/Sketch/manifest.json
Egmont-plugin.sketchplugin/Contents/Sketch/manifest.json
{ "author" : "Interface.Market", "authorEmail" : "h@interface.market", "name" : "Egmont Plugin", "description" : "Plugin for create curvature continuity corners.", "version" : "1", "commands" : [ { "name" : "Egmont plugin", "shortcut" : "cmd ctrl g", "identifier" : "Egmont plugin", ...
{ "author" : "Interface.Market", "authorEmail" : "h@interface.market", "name" : "Egmont Plugin", "description" : "Plugin for create curvature continuity corners.", "version" : "1", "commands" : [ { "name" : "Egmont plugin", "shortcut" : "cmd ctrl g", "identifier" : "Egmont plugin", ...
Add support for native Sketch plugin updates
Add support for native Sketch plugin updates Resolves #3 Further reading: https://docs.sketchpacks.com/developers/publishing/providing-plugin-updates.html
JSON
mit
interfacemarket/Egmont-plugin
json
## Code Before: { "author" : "Interface.Market", "authorEmail" : "h@interface.market", "name" : "Egmont Plugin", "description" : "Plugin for create curvature continuity corners.", "version" : "1", "commands" : [ { "name" : "Egmont plugin", "shortcut" : "cmd ctrl g", "identifier" : "E...
{ "author" : "Interface.Market", "authorEmail" : "h@interface.market", "name" : "Egmont Plugin", "description" : "Plugin for create curvature continuity corners.", "version" : "1", "commands" : [ { "name" : "Egmont plugin", "shortcut" : "cmd ctrl g", "identi...
1
0.034483
1
0
1abcc57d80de71aff75abfbbeab25db9908ef208
src/app/select/select.scss
src/app/select/select.scss
.btn-mode { max-width: 100%; } .modebg { background-color: $color-yellowgray; } .mode-title { color: $color-brown; } .mode-box { color:$color-brown; background-color: $color-gold; border: 4px solid $color-brown; padding: 20px; border-radius: 12px; margin-bottom: 15px; } .mode-box:hover { color: ...
.btn-mode { max-width: 100%; } .modebg { background-color: $color-yellowgray; } .mode-title { color: $color-brown; } .mode-box { color:$color-brown; background-color: $color-gold; border: 4px solid $color-brown; padding: 20px; border-radius: 12px; margin-bottom: 15px; } .mode-box:hover { color: ...
Change style when button is clicked
Change style when button is clicked
SCSS
mit
hendryl/Famous-Places-Web,hendryl/Famous-Places-Web
scss
## Code Before: .btn-mode { max-width: 100%; } .modebg { background-color: $color-yellowgray; } .mode-title { color: $color-brown; } .mode-box { color:$color-brown; background-color: $color-gold; border: 4px solid $color-brown; padding: 20px; border-radius: 12px; margin-bottom: 15px; } .mode-box:h...
.btn-mode { max-width: 100%; } .modebg { background-color: $color-yellowgray; } .mode-title { color: $color-brown; } .mode-box { color:$color-brown; background-color: $color-gold; border: 4px solid $color-brown; padding: 20px; border-radius: 12px; margin-bottom...
5
0.078125
5
0
6c1566c2016ec8cea4a8c328934576536ccc3f21
concrete/controllers/single_page/members/profile.php
concrete/controllers/single_page/members/profile.php
<?php namespace Concrete\Controller\SinglePage\Members; use Concrete\Core\Page\Controller\PublicProfilePageController; use Loader; use User; use UserInfo; use Exception; class Profile extends PublicProfilePageController { public function view($userID = 0) { $html = Loader::helper('html'); $can...
<?php namespace Concrete\Controller\SinglePage\Members; use Concrete\Core\Page\Controller\PublicProfilePageController; use Loader; use User; use UserInfo; use Exception; class Profile extends PublicProfilePageController { public function view($userID = 0) { $html = Loader::helper('html'); $can...
Fix to show 404 for deleted user
Fix to show 404 for deleted user
PHP
mit
mainio/concrete5,concrete5/concrete5,triplei/concrete5-8,MrKarlDilkington/concrete5,rikzuiderlicht/concrete5,concrete5/concrete5,olsgreen/concrete5,jaromirdalecky/concrete5,haeflimi/concrete5,biplobice/concrete5,mlocati/concrete5,mainio/concrete5,mainio/concrete5,olsgreen/concrete5,biplobice/concrete5,mlocati/concrete5...
php
## Code Before: <?php namespace Concrete\Controller\SinglePage\Members; use Concrete\Core\Page\Controller\PublicProfilePageController; use Loader; use User; use UserInfo; use Exception; class Profile extends PublicProfilePageController { public function view($userID = 0) { $html = Loader::helper('html...
<?php namespace Concrete\Controller\SinglePage\Members; use Concrete\Core\Page\Controller\PublicProfilePageController; use Loader; use User; use UserInfo; use Exception; class Profile extends PublicProfilePageController { public function view($userID = 0) { $html = Loader::...
2
0.051282
1
1
6b4f426dc1c181611d4728e9567b37c7802f15f1
lib/cpp/dxjson/make_standard_lib.sh
lib/cpp/dxjson/make_standard_lib.sh
root=`dirname "$0"` cd $root make clean cmake . make (ls /usr/local/lib >/dev/null 2>/dev/null) || sudo mkdir /usr/local/lib sudo cp libdxjson.a /usr/local/lib/ (ls /usr/local/include/dxjson >/dev/null 2>/dev/null) || sudo mkdir /usr/local/include/dxjson sudo cp dxjson.h /usr/local/include/dxjson sudo cp -R utf8 /us...
root=`dirname "$0"` cd $root mkdir build cd build make clean cmake .. make (ls /usr/local/lib >/dev/null 2>/dev/null) || sudo mkdir /usr/local/lib sudo cp libdxjson.a /usr/local/lib/ (ls /usr/local/include/dxjson >/dev/null 2>/dev/null) || sudo mkdir /usr/local/include/dxjson sudo cp dxjson.h /usr/local/include/dxjs...
Build dxjson library in a subdirectory.
Build dxjson library in a subdirectory.
Shell
apache-2.0
andyshinn/dx-toolkit,johnwallace123/dx-toolkit,olegnev/dx-toolkit,jhuttner/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,olegnev/dx-toolkit,andyshinn/dx-toolkit,johnwallace123/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,olegnev/dx-toolkit,jhuttner/dx-toolkit,jhuttner/dx-toolkit,dnanexus/dx-toolkit,johnwalla...
shell
## Code Before: root=`dirname "$0"` cd $root make clean cmake . make (ls /usr/local/lib >/dev/null 2>/dev/null) || sudo mkdir /usr/local/lib sudo cp libdxjson.a /usr/local/lib/ (ls /usr/local/include/dxjson >/dev/null 2>/dev/null) || sudo mkdir /usr/local/include/dxjson sudo cp dxjson.h /usr/local/include/dxjson sud...
root=`dirname "$0"` cd $root + mkdir build + cd build make clean - cmake . + cmake .. ? + make (ls /usr/local/lib >/dev/null 2>/dev/null) || sudo mkdir /usr/local/lib sudo cp libdxjson.a /usr/local/lib/ (ls /usr/local/include/dxjson >/dev/null 2>/dev/null) || sudo mkdir /usr/local/include...
4
0.307692
3
1
db4ccce9e418a1227532bde8834ca682bc873609
system/t04_mirror/show.py
system/t04_mirror/show.py
from lib import BaseTest class ShowMirror1Test(BaseTest): """ show mirror: regular mirror """ fixtureCmds = ["aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy"] runCmd = "aptly mirror show mirror1" class ShowMirror2Test(BaseTest): """ show mirror: missing mirror """...
from lib import BaseTest import re class ShowMirror1Test(BaseTest): """ show mirror: regular mirror """ fixtureCmds = ["aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy"] runCmd = "aptly mirror show mirror1" class ShowMirror2Test(BaseTest): """ show mirror: missing mirr...
Remove updated at while comparing.
Remove updated at while comparing.
Python
mit
gearmover/aptly,bsundsrud/aptly,adfinis-forks/aptly,vincentbernat/aptly,gdbdzgd/aptly,ceocoder/aptly,adfinis-forks/aptly,seaninspace/aptly,neolynx/aptly,scalp42/aptly,gdbdzgd/aptly,sobczyk/aptly,neolynx/aptly,scalp42/aptly,aptly-dev/aptly,seaninspace/aptly,aptly-dev/aptly,bsundsrud/aptly,gdbdzgd/aptly,bankonme/aptly,ad...
python
## Code Before: from lib import BaseTest class ShowMirror1Test(BaseTest): """ show mirror: regular mirror """ fixtureCmds = ["aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy"] runCmd = "aptly mirror show mirror1" class ShowMirror2Test(BaseTest): """ show mirror: missin...
from lib import BaseTest + import re class ShowMirror1Test(BaseTest): """ show mirror: regular mirror """ fixtureCmds = ["aptly mirror create mirror1 http://mirror.yandex.ru/debian/ wheezy"] runCmd = "aptly mirror show mirror1" class ShowMirror2Test(BaseTest): """ ...
2
0.08
2
0
d765eaa608ff1b12423d65c447a27d65eec38988
setup.py
setup.py
from setuptools import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext setup( name="PyMoira", version="4.3.1", description="PyMoira - Python bindings for the Athena Moira library", author="Evan Broder", author_email="broder@mit.edu", license="MIT", py_...
from setuptools import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext setup( name="PyMoira", version="4.3.2", description="PyMoira - Python bindings for the Athena Moira library", author="Evan Broder", author_email="broder@mit.edu", license="MIT", py_...
Stop shipping qy with python-moira
Stop shipping qy with python-moira Moira now provides with its own native qy.
Python
mit
mit-athena/python-moira
python
## Code Before: from setuptools import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext setup( name="PyMoira", version="4.3.1", description="PyMoira - Python bindings for the Athena Moira library", author="Evan Broder", author_email="broder@mit.edu", licens...
from setuptools import setup from distutils.extension import Extension from Pyrex.Distutils import build_ext setup( name="PyMoira", - version="4.3.1", ? ^ + version="4.3.2", ? ^ description="PyMoira - Python bindings for the Athena Moira library", ...
3
0.125
1
2
9246ab1ba7fec9f9d5a7a363888f07122625d870
src/Turanct/Shack.php
src/Turanct/Shack.php
<?php namespace Turanct; use Turanct\Shack\Sha; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; final class Shack implements HttpKernelInterface { private $app; private $sha; public function __construct(Ht...
<?php namespace Turanct; use Turanct\Shack\Sha; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; final class Shack implements HttpKernelInterface { private $app; private $sha; private $addStamp; public ...
Add the html stamp showing the sha on html pages
Add the html stamp showing the sha on html pages
PHP
mit
turanct/shack
php
## Code Before: <?php namespace Turanct; use Turanct\Shack\Sha; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; final class Shack implements HttpKernelInterface { private $app; private $sha; public functio...
<?php namespace Turanct; use Turanct\Shack\Sha; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; final class Shack implements HttpKernelInterface { private $app; private $sha; + pri...
22
0.666667
21
1
ab1bfba776a034c3a1072d5be73f7f677376b30a
.travis.yml
.travis.yml
sudo: false dist: trusty language: node_js node_js: - 6 stages: - test - deploy env: - TEST_SUITE=main - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0 - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1 before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start branches: ...
sudo: false dist: trusty language: node_js node_js: - 6 stages: - test - deploy env: - TEST_SUITE=main - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0 - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1 before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start branches: ...
Simplify Travis CI deploy stage condition
Simplify Travis CI deploy stage condition
YAML
mit
date-fns/date-fns,date-fns/date-fns,js-fns/date-fns,js-fns/date-fns,date-fns/date-fns
yaml
## Code Before: sudo: false dist: trusty language: node_js node_js: - 6 stages: - test - deploy env: - TEST_SUITE=main - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0 - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1 before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb s...
sudo: false dist: trusty language: node_js node_js: - 6 stages: - test - deploy env: - TEST_SUITE=main - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0 - TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1 before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh...
2
0.052632
1
1
0b751949ae0eec80e3af0c9bd00744b7cd6107e0
homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html
homeassistant/components/frontend/www_static/polymer/components/ha-notifications.html
<link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> <polymer-element name="ha-notifications"> <template> <paper-toast id="toast" role="alert" text=""></paper-toast> </template> <script> var storeListenerMixIn = wind...
<link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> <polymer-element name="ha-notifications"> <template> <paper-toast id="toast" role="alert" text=""></paper-toast> </template> <script> var storeListenerMixIn = wind...
Fix JS notification error on initialization.
Fix JS notification error on initialization. The last notification is initially null resulting in an exception being thrown on startup.
HTML
apache-2.0
FreekingDean/home-assistant,robbiet480/home-assistant,joopert/home-assistant,bdfoster/blumate,sanmiguel/home-assistant,deisi/home-assistant,dmeulen/home-assistant,shaftoe/home-assistant,teodoc/home-assistant,partofthething/home-assistant,LinuxChristian/home-assistant,happyleavesaoc/home-assistant,keerts/home-assistant,...
html
## Code Before: <link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> <polymer-element name="ha-notifications"> <template> <paper-toast id="toast" role="alert" text=""></paper-toast> </template> <script> var storeList...
<link rel="import" href="../bower_components/polymer/polymer.html"> <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> <polymer-element name="ha-notifications"> <template> <paper-toast id="toast" role="alert" text=""></paper-toast> </template> <script> var storeLi...
8
0.228571
5
3
4d9905e6a28cb051c589de925a7d6e9ded2fdc70
bootstrap_corenlp.sh
bootstrap_corenlp.sh
if [ ! -f corenlp-python ] then echo "Cloning Valentin's modified corenlp-python library…" git clone https://bitbucket.org/ProgVal/corenlp-python.git fi echo "Installing it…" cd corenlp-python python3 setup.py install --user cd .. if [ ! -f stanford-corenlp-full-2014-08-27.zip ] then echo "Downloading Core...
python3 -m pip install pexpect unidecode xmltodict --user if [ ! -f corenlp-python ] then echo "Cloning Valentin's modified corenlp-python library…" git clone https://bitbucket.org/ProgVal/corenlp-python.git fi echo "Installing it…" cd corenlp-python python3 setup.py install --user cd .. if [ ! -f stanford-co...
Install corenlp-python dependencies. Closes GH-1.
Install corenlp-python dependencies. Closes GH-1.
Shell
cc0-1.0
ProjetPP/Scripts,ProjetPP/Scripts
shell
## Code Before: if [ ! -f corenlp-python ] then echo "Cloning Valentin's modified corenlp-python library…" git clone https://bitbucket.org/ProgVal/corenlp-python.git fi echo "Installing it…" cd corenlp-python python3 setup.py install --user cd .. if [ ! -f stanford-corenlp-full-2014-08-27.zip ] then echo "...
+ + python3 -m pip install pexpect unidecode xmltodict --user if [ ! -f corenlp-python ] then echo "Cloning Valentin's modified corenlp-python library…" git clone https://bitbucket.org/ProgVal/corenlp-python.git fi echo "Installing it…" cd corenlp-python python3 setup.py install --user cd ...
2
0.1
2
0
bf31816cf95f527cddcbcf9b457de6923a445440
lib/pliny/middleware/cors.rb
lib/pliny/middleware/cors.rb
module Pliny::Middleware class CORS ALLOW_METHODS = %w( GET POST PUT PATCH DELETE OPTIONS ).freeze ALLOW_HEADERS = %w( Content-Type Accept AUTHORIZATION Cache-Control ).freeze EXPOSE_HEADERS = %w( Cache-Control Content-Language Content-Type Expires Last-Modified Pragma ).freeze d...
module Pliny::Middleware class CORS ALLOW_METHODS = %w( GET POST PUT PATCH DELETE OPTIONS ).freeze ALLOW_HEADERS = %w( Content-Type Accept Authorization Cache-Control If-None-Match If-Modified-Since ).freeze EXPOSE_HEADERS = %w( Cache-Control Content-Language Content-Type Expires Last...
Whitelist If-None-Match and If-Modified-Since headers
Whitelist If-None-Match and If-Modified-Since headers
Ruby
mit
hayduke19us/pliny,fdr/pliny,interagent/pliny,interagent/pliny,hayduke19us/pliny,fdr/pliny,hayduke19us/pliny,interagent/pliny,fdr/pliny
ruby
## Code Before: module Pliny::Middleware class CORS ALLOW_METHODS = %w( GET POST PUT PATCH DELETE OPTIONS ).freeze ALLOW_HEADERS = %w( Content-Type Accept AUTHORIZATION Cache-Control ).freeze EXPOSE_HEADERS = %w( Cache-Control Content-Language Content-Type Expires Last-Modified Pragma...
module Pliny::Middleware class CORS ALLOW_METHODS = %w( GET POST PUT PATCH DELETE OPTIONS ).freeze ALLOW_HEADERS = - %w( Content-Type Accept AUTHORIZATION Cache-Control ).freeze + %w( Content-Type Accept Authorization Cache-Control If-None-Match If-Modified-Since ).freeze ...
2
0.043478
1
1
a28eaf9968fe57da4ed3eef11bc05cdfd00e9af4
app/views/documents/_embed_code.html.erb
app/views/documents/_embed_code.html.erb
<% if options[:use_default_container] %> <div id="<%= options[:default_container_id] %>" class="DV-container"></div> <% end %> <script type="text/javascript"> DV.load("<%= options[:resource_js_url] %>", JSON.parse('<%= data.to_json %>')); </script> <% if data[:pdf] %> <noscript> <a href="<%#= options[:pdf_url] %>">...
<% if options[:use_default_container] %> <div id="<%= options[:default_container_id] %>" class="DV-container"></div> <% end %> <script type="text/javascript"> DV.load("<%= options[:resource_js_url] %>", <%= data.to_json %>); </script> <% if data[:pdf] %> <noscript> <a href="<%#= options[:pdf_url] %>"><%#= options[:...
Stop trying to tame JSON
Stop trying to tame JSON Revert 43a2f99624491193be9b220da11c5ba58979e7ee and actually fix things. (We were dumping the Ruby-generated JSON between curly braces, when Ruby was already returning it that way.)
HTML+ERB
mit
ivarvong/documentcloud,moodpo/documentcloud,dannguyen/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,documentcloud/documentcloud,dannguyen/documentcloud,monofox/documentcloud,gunjanmodi/documentcloud,moodpo/documentcloud,ivarvong/documentcloud,monofox/documentcloud...
html+erb
## Code Before: <% if options[:use_default_container] %> <div id="<%= options[:default_container_id] %>" class="DV-container"></div> <% end %> <script type="text/javascript"> DV.load("<%= options[:resource_js_url] %>", JSON.parse('<%= data.to_json %>')); </script> <% if data[:pdf] %> <noscript> <a href="<%#= option...
<% if options[:use_default_container] %> <div id="<%= options[:default_container_id] %>" class="DV-container"></div> <% end %> <script type="text/javascript"> - DV.load("<%= options[:resource_js_url] %>", JSON.parse('<%= data.to_json %>')); ? ------------ ...
2
0.153846
1
1
d7e2f05d60aaba3d13337fd53add9fd50aafd6ee
tests/test_python_solutions.py
tests/test_python_solutions.py
import glob import json import os import time import pytest from helpers import solutions_dir # NOTE: If we make solution files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @pytest.mark.python...
import glob import json import os import time import pytest from helpers import solutions_dir # NOTE: If we make solution_files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @pytest.mark.python...
Add ids to parametrized tests
Add ids to parametrized tests
Python
mit
project-lovelace/lovelace-engine,project-lovelace/lovelace-engine,project-lovelace/lovelace-engine
python
## Code Before: import glob import json import os import time import pytest from helpers import solutions_dir # NOTE: If we make solution files a fixture instead of a normal attr/function, # then we can't use it in pytest's parametrize solution_files = glob.glob(os.path.join(solutions_dir("python"), "*.py")) @py...
import glob import json import os import time import pytest from helpers import solutions_dir - # NOTE: If we make solution files a fixture instead of a normal attr/function, ? ^ + # NOTE: If we make solution_files a fixture instead of a normal attr/function, ? ...
10
0.333333
7
3
81eb3b255adcf157d4fa418f54e811b9e138ccf1
server/core/utilities.js
server/core/utilities.js
var moment = require('moment'); var geolib = require('geolib'); // Use moment.js to calculate how much time has elapsed since some prior time exports.getTimeElapsedSince = function(time) { return moment(time).fromNow(); }; // Use geolib.js to calculate distance from the mark to the user exports.getDistanceFrom = fu...
var moment = require('moment'); var geolib = require('geolib'); // Use moment.js to calculate how much time has elapsed since some prior time exports.getTimeElapsedSince = function(time) { return moment(time).fromNow(); }; // Use geolib.js to calculate distance from the mark to the user exports.getDistanceFrom = fu...
Add server-side logging utility function
Add server-side logging utility function
JavaScript
mit
team-oath/uncovery,team-oath/uncovery,team-oath/uncovery,scottdixon/uncovery,scottdixon/uncovery,scottdixon/uncovery,team-oath/uncovery,scottdixon/uncovery
javascript
## Code Before: var moment = require('moment'); var geolib = require('geolib'); // Use moment.js to calculate how much time has elapsed since some prior time exports.getTimeElapsedSince = function(time) { return moment(time).fromNow(); }; // Use geolib.js to calculate distance from the mark to the user exports.getD...
var moment = require('moment'); var geolib = require('geolib'); // Use moment.js to calculate how much time has elapsed since some prior time exports.getTimeElapsedSince = function(time) { return moment(time).fromNow(); }; // Use geolib.js to calculate distance from the mark to the user exports....
7
0.2
7
0
7e9fb1ba35a7de485748c4dac05151739f482041
Cargo.toml
Cargo.toml
[package] name = "rustful" version = "0.1.0-pre" authors = ["hello@erikhedvall.nu"] [lib] name = "rustful" path = "src/lib.rs" [dependencies] hyper = "*" time = "*" url = "*" anymap = "*" [dev-dependencies] tempdir = "*"
[package] name = "rustful" version = "0.1.0-pre" authors = ["hello@erikhedvall.nu"] [lib] name = "rustful" path = "src/lib.rs" [features] #this will be default as long as it's the only alternative default = ["nightly"] nightly = ["hyper/nightly"] [dependencies] hyper = "*" time = "*" url = "*" anymap = "*" [dev-d...
Use nightly feature from hyper
Use nightly feature from hyper
TOML
mit
tempbottle/rustful,armed/rustful,armed/rustful,beni55/rustful,tempbottle/rustful,armed/rustful,kvikas/rustful,kvikas/rustful,tempbottle/rustful,beni55/rustful
toml
## Code Before: [package] name = "rustful" version = "0.1.0-pre" authors = ["hello@erikhedvall.nu"] [lib] name = "rustful" path = "src/lib.rs" [dependencies] hyper = "*" time = "*" url = "*" anymap = "*" [dev-dependencies] tempdir = "*" ## Instruction: Use nightly feature from hyper ## Code After: [package] name...
[package] name = "rustful" version = "0.1.0-pre" authors = ["hello@erikhedvall.nu"] [lib] name = "rustful" path = "src/lib.rs" + [features] + #this will be default as long as it's the only alternative + default = ["nightly"] + nightly = ["hyper/nightly"] + [dependencies] hyper = "*" tim...
5
0.263158
5
0
ef48a4d6a2176920c4ffbd640e8807490bbc37d9
app/controllers/any_login/application_controller.rb
app/controllers/any_login/application_controller.rb
module AnyLogin class ApplicationController < ActionController::Base if AnyLogin.enabled if AnyLogin.http_basic_authentication_enabled http_basic_authenticate_with :name => AnyLogin.http_basic_authentication_user_name, :password => AnyLogin.http_basic_authentic...
module AnyLogin class ApplicationController < ActionController::Base if AnyLogin.enabled if AnyLogin.http_basic_authentication_enabled http_basic_authenticate_with :name => AnyLogin.http_basic_authentication_user_name, :password => AnyLogin.http_basic_authentica...
Reduce production footprint of gem
Reduce production footprint of gem
Ruby
mit
igorkasyanchuk/any_login,igorkasyanchuk/any_login,igorkasyanchuk/any_login,igorkasyanchuk/any_login
ruby
## Code Before: module AnyLogin class ApplicationController < ActionController::Base if AnyLogin.enabled if AnyLogin.http_basic_authentication_enabled http_basic_authenticate_with :name => AnyLogin.http_basic_authentication_user_name, :password => AnyLogin.http...
module AnyLogin class ApplicationController < ActionController::Base if AnyLogin.enabled - if AnyLogin.http_basic_authentication_enabled http_basic_authenticate_with :name => AnyLogin.http_basic_authentication_user_name, :password => AnyLogin.http...
19
1
14
5
e60ff2644188b7f44b45a9b38c7a5dd6b67453c2
codeship-services.yml
codeship-services.yml
db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db volumes: - ./:/data/vendor/simpl...
db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db - testweb volumes: - ./:...
Add testweb container for use in Codeship (CI/CD) tests
Add testweb container for use in Codeship (CI/CD) tests
YAML
mit
silinternational/simplesamlphp-module-silauth,silinternational/simplesamlphp-module-silauth
yaml
## Code Before: db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: image: silintl/ssp-base:latest env_file: - ./common.env depends_on: - db volumes: - ./:/d...
db: image: mariadb:10 environment: MYSQL_ROOT_PASSWORD: r00tp@ss! MYSQL_DATABASE: test MYSQL_USER: silauth MYSQL_PASSWORD: silauth web: + image: silintl/ssp-base:latest + env_file: + - ./common.env + depends_on: + - db + - test...
21
0.807692
21
0
345aaa31aaefa3abd7bcd7ea038821da298ac6b4
.travis.yml
.travis.yml
language: java jdk: - oraclejdk8 sudo: required env: - HUDI_QUIETER_LOGGING=1 services: - docker
language: java jdk: - oraclejdk8 sudo: required env: - HUDI_QUIETER_LOGGING=1 services: - docker cache: directories: - $HOME/.m2
Add m2 directory to Travis cache
Add m2 directory to Travis cache
YAML
apache-2.0
vinothchandar/hoodie,vinothchandar/hoodie
yaml
## Code Before: language: java jdk: - oraclejdk8 sudo: required env: - HUDI_QUIETER_LOGGING=1 services: - docker ## Instruction: Add m2 directory to Travis cache ## Code After: language: java jdk: - oraclejdk8 sudo: required env: - HUDI_QUIETER_LOGGING=1 services: - docker cache: directories: - $HOME/...
language: java jdk: - oraclejdk8 sudo: required env: - HUDI_QUIETER_LOGGING=1 services: - docker + cache: + directories: + - $HOME/.m2
3
0.375
3
0
95daf3209c924e22f7cea76f920eea0db34341e9
package.json
package.json
{ "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1", "fennec": ">=38.0a1" }, ...
{ "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1", "fennec": ">=38.0a1" }, ...
Support FF multiprocess for new jpm builds. This is important.
Support FF multiprocess for new jpm builds. This is important.
JSON
lgpl-2.1
darthkrallt/AO3rdr,darthkrallt/AO3rdr,darthkrallt/AO3rdr
json
## Code Before: { "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1", "fennec": "...
{ "title": "AO3rdr", "name": "ao3rdr", "id": "jid1-ayTtY9e4Iz49HA@jetpack", "version": "1.2.3", "description": "Rating system and block by tag system for Archive of Our Own.", "main": "index-jpm-firefox.js", "author": "darthkrallt", "engines": { "firefox": ">=38.0a1", "fenn...
3
0.142857
3
0
ca1850141654c0cc0f56c4ea3ba49e0005c31762
README.md
README.md
aether ====== A simple Haskell API for finding and accessing data from Wikipedia.
Aether ====== **Aether** is simple Haskell API for finding and accessing data from Wikipedia. Search Wikipedia, fetch search suggestions, get article summaries, and more! Aether puts the power of the [MediaWiki API](http://www.mediawiki.org/wiki/API) at your fingertips. Overview -------- ```Haskell ghci> import Aet...
Add basic overview and project information
Add basic overview and project information
Markdown
mit
guoguo12/aether
markdown
## Code Before: aether ====== A simple Haskell API for finding and accessing data from Wikipedia. ## Instruction: Add basic overview and project information ## Code After: Aether ====== **Aether** is simple Haskell API for finding and accessing data from Wikipedia. Search Wikipedia, fetch search suggestions, get ar...
- aether ? ^ + Aether ? ^ ====== - A simple Haskell API for finding and accessing data from Wikipedia. + **Aether** is simple Haskell API for finding and accessing data from Wikipedia. ? ++ ++++++++++ + + Search Wikipedia, fetch search suggestions, get article summaries, and more! + Aether puts the power of th...
54
13.5
52
2
7ded700d8c344388bf9496ab779f06a797ea47d9
src/main/java/org/cyclops/cyclopscore/inventory/container/InventoryContainer.java
src/main/java/org/cyclops/cyclopscore/inventory/container/InventoryContainer.java
package org.cyclops.cyclopscore.inventory.container; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.container.ContainerType; import javax.annotation.Nullable; /** * A container for an inve...
package org.cyclops.cyclopscore.inventory.container; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.container.ContainerType; import javax.annotation.Nullable; /** * A container for an inve...
Allow inventory size assertion to be skipped
Allow inventory size assertion to be skipped
Java
mit
CyclopsMC/CyclopsCore
java
## Code Before: package org.cyclops.cyclopscore.inventory.container; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.container.ContainerType; import javax.annotation.Nullable; /** * A conta...
package org.cyclops.cyclopscore.inventory.container; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.container.ContainerType; import javax.annotation.Nullable; /** * A...
8
0.181818
7
1
3f00cc7577fdcce49b04463646dd1db5a66bd331
README.md
README.md
node-releases-experiments ========================= https://github.com/rsp/node-releases-experiments Some experiments performed on the releases of [Node.js](https://nodejs.org/). Prerequisites ------------- * [Bash](https://www.gnu.org/software/bash/) * [cURL](http://curl.haxx.se/) * [grep](https://en.wikipedia.org/...
node-releases-experiments ========================= https://github.com/rsp/node-releases-experiments Some experiments performed on the releases of [Node.js](https://nodejs.org/). Prerequisites ------------- * [Bash](https://www.gnu.org/software/bash/) * [cURL](http://curl.haxx.se/) * [grep](https://en.wikipedia.org/...
Add the OS it's tested on to readme
Add the OS it's tested on to readme
Markdown
mit
rsp/node-experiments,rsp/node-experiments
markdown
## Code Before: node-releases-experiments ========================= https://github.com/rsp/node-releases-experiments Some experiments performed on the releases of [Node.js](https://nodejs.org/). Prerequisites ------------- * [Bash](https://www.gnu.org/software/bash/) * [cURL](http://curl.haxx.se/) * [grep](https://e...
node-releases-experiments ========================= https://github.com/rsp/node-releases-experiments Some experiments performed on the releases of [Node.js](https://nodejs.org/). Prerequisites ------------- * [Bash](https://www.gnu.org/software/bash/) * [cURL](http://curl.haxx.se/) * [grep](h...
2
0.0625
2
0
a01cdca9d1e8864bba1bc026a3f2b819591a0338
pkgs/development/libraries/nss_wrapper/default.nix
pkgs/development/libraries/nss_wrapper/default.nix
{ stdenv, fetchurl, cmake, pkgconfig }: stdenv.mkDerivation rec { name = "nss_wrapper-1.0.3"; src = fetchurl { url = "mirror://samba/cwrap/${name}.tar.gz"; sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18"; }; buildInputs = [ cmake pkgconfig (stdenv.cc.libc.out or null) ]; # outputs T...
{ stdenv, fetchurl, cmake, pkgconfig }: stdenv.mkDerivation rec { name = "nss_wrapper-1.0.3"; src = fetchurl { url = "mirror://samba/cwrap/${name}.tar.gz"; sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18"; }; buildInputs = [ cmake pkgconfig ]; meta = with stdenv.lib; { descripti...
Remove glibc from build inputs hack
nss_wrapper: Remove glibc from build inputs hack Not needed anymore after #14668
Nix
mit
NixOS/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixO...
nix
## Code Before: { stdenv, fetchurl, cmake, pkgconfig }: stdenv.mkDerivation rec { name = "nss_wrapper-1.0.3"; src = fetchurl { url = "mirror://samba/cwrap/${name}.tar.gz"; sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18"; }; buildInputs = [ cmake pkgconfig (stdenv.cc.libc.out or null) ...
{ stdenv, fetchurl, cmake, pkgconfig }: stdenv.mkDerivation rec { name = "nss_wrapper-1.0.3"; src = fetchurl { url = "mirror://samba/cwrap/${name}.tar.gz"; sha256 = "0bysdijvi9n0jk74iklbfhbp0kvv81a727lcfd5q03q2hkzjfm18"; }; + buildInputs = [ cmake pkgconfig ]; - buildInputs = [ ...
3
0.142857
1
2
a4443b203db029fe5ee7df682ca372259b3e4f1c
models/index.js
models/index.js
'use strict'; var mongoose = require('mongoose'); mongoose.model('User', require('./User')); mongoose.connect("mongodb://localhost/passport-lesson"); module.exports = mongoose;
'use strict'; var mongoose = require('mongoose'); mongoose.Promise = Promise; mongoose.model('User', require('./User')); mongoose.connect("mongodb://localhost/passport-lesson"); module.exports = mongoose;
Set mongoose to use native promises
Set mongoose to use native promises
JavaScript
mit
dhuddell/teachers-lounge-back-end
javascript
## Code Before: 'use strict'; var mongoose = require('mongoose'); mongoose.model('User', require('./User')); mongoose.connect("mongodb://localhost/passport-lesson"); module.exports = mongoose; ## Instruction: Set mongoose to use native promises ## Code After: 'use strict'; var mongoose = require('mongoose'); mon...
'use strict'; var mongoose = require('mongoose'); + mongoose.Promise = Promise; mongoose.model('User', require('./User')); mongoose.connect("mongodb://localhost/passport-lesson"); module.exports = mongoose;
1
0.111111
1
0
670bb89a1a2f007b669e16040078a4fc4faf393f
README.rst
README.rst
IATI NonEmbedded Codelists ========================== These are codelists used by the IATI Standard, but not "Embedded" within it, so not subject to the same change control progress. For more information see https://github.com/IATI/IATI-Codelists#embedded-vs-nonembedded-codelists
IATI NonEmbedded Codelists ========================== .. image:: https://travis-ci.org/IATI/IATI-Codelists-NonEmbedded.svg?branch=master :target: https://travis-ci.org/IATI/IATI-Codelists-NonEmbedded .. image:: https://requires.io/github/IATI/IATI-Codelists-NonEmbedded/requirements.svg?branch=master :target: h...
Add badges for travis, requires.io and license
Add badges for travis, requires.io and license
reStructuredText
mit
yshalenyk/IATI-Codelists-NonEmbedded,yshalenyk/IATI-Codelists-NonEmbedded
restructuredtext
## Code Before: IATI NonEmbedded Codelists ========================== These are codelists used by the IATI Standard, but not "Embedded" within it, so not subject to the same change control progress. For more information see https://github.com/IATI/IATI-Codelists#embedded-vs-nonembedded-codelists ## Instruction: Add b...
IATI NonEmbedded Codelists ========================== + .. image:: https://travis-ci.org/IATI/IATI-Codelists-NonEmbedded.svg?branch=master + :target: https://travis-ci.org/IATI/IATI-Codelists-NonEmbedded + .. image:: https://requires.io/github/IATI/IATI-Codelists-NonEmbedded/requirements.svg?branch=master + ...
11
2.75
11
0
6ab3f670e462cf4828874e6556e5719d6de6ae55
README.md
README.md
StudyPack ========= A simple project to study packaging with CMake/CPack. Topics to be looked at: * Customized STGZ template to allow pre/post install operations. * Checking required packages (STGZ and PackageMaker). * Download of components (e.g. large data files). * Use of BundleUtilities. * Uninstallers. The Stu...
StudyPack ========= A simple project to study packaging with CMake/CPack. Topics to be looked at: * Customized STGZ template to allow pre/post install operations. * Checking required packages (STGZ and PackageMaker). * Download of components (e.g. large data files). * Use of BundleUtilities. * Update of hardcoded pa...
Add topic on fixing up hardcoded paths.
Add topic on fixing up hardcoded paths.
Markdown
bsd-3-clause
drbenmorgan/StudyPack
markdown
## Code Before: StudyPack ========= A simple project to study packaging with CMake/CPack. Topics to be looked at: * Customized STGZ template to allow pre/post install operations. * Checking required packages (STGZ and PackageMaker). * Download of components (e.g. large data files). * Use of BundleUtilities. * Uninst...
StudyPack ========= A simple project to study packaging with CMake/CPack. Topics to be looked at: * Customized STGZ template to allow pre/post install operations. * Checking required packages (STGZ and PackageMaker). * Download of components (e.g. large data files). * Use of BundleUtilities. + ...
1
0.058824
1
0
21ffb3e4479c049597ce48a49a789c69e0c72caf
Examples/Misc/test.sh
Examples/Misc/test.sh
if [ $# -ne 2 ] then echo "test.sh: Error: Argument must be the Specware installation to test and ISABELLE_2013_2_ROOT." exit 1 fi SPECWARE4=$1 ISABELLE_2013_2_ROOT=$2 run-proc.sh ${SPECWARE4} TwoMorphisms#A run-proc.sh ${SPECWARE4} TwoMorphisms#B run-proc.sh ${SPECWARE4} TwoMorphisms#CheckRqmtsB run-proc.sh ...
if [ $# -ne 2 ] then echo "test.sh: Error: Argument must be the Specware installation to test and ISABELLE_2013_2_ROOT." exit 1 fi SPECWARE4=$1 ISABELLE_2013_2_ROOT=$2 run-proc.sh ${SPECWARE4} ${SPECWARE4}/Examples/Misc/TwoMorphisms#A run-proc.sh ${SPECWARE4} ${SPECWARE4}/Examples/Misc/TwoMorphisms#B run-proc...
Fix script to not require CDing into directory first.
Fix script to not require CDing into directory first. git-svn-id: 9ecf60ce9baff443e30a0472d3fd222fcb8117cf@9299 7b97033b-253e-4a5c-9b07-e25f9089a9fd
Shell
bsd-2-clause
KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware,KestrelInstitute/Specware
shell
## Code Before: if [ $# -ne 2 ] then echo "test.sh: Error: Argument must be the Specware installation to test and ISABELLE_2013_2_ROOT." exit 1 fi SPECWARE4=$1 ISABELLE_2013_2_ROOT=$2 run-proc.sh ${SPECWARE4} TwoMorphisms#A run-proc.sh ${SPECWARE4} TwoMorphisms#B run-proc.sh ${SPECWARE4} TwoMorphisms#CheckRqm...
if [ $# -ne 2 ] then echo "test.sh: Error: Argument must be the Specware installation to test and ISABELLE_2013_2_ROOT." exit 1 fi SPECWARE4=$1 ISABELLE_2013_2_ROOT=$2 - run-proc.sh ${SPECWARE4} TwoMorphisms#A - run-proc.sh ${SPECWARE4} TwoMorphisms#B + run-proc.sh ${SPECWARE4} ${SPECWARE4}/...
22
1.1
11
11
9b20915ab02e908eb9758829d2307c92973a46bc
build.sbt
build.sbt
sbtPlugin := true organization := "com.typesafe.sbt" name := "sbt-aspectj" version := "0.8.2-SNAPSHOT" libraryDependencies += "org.aspectj" % "aspectjtools" % "1.7.2" publishMavenStyle := false publishTo <<= (version) { v => def scalasbt(repo: String) = ("scalasbt " + repo, "http://scalasbt.artifactoryonline.c...
sbtPlugin := true organization := "com.typesafe.sbt" name := "sbt-aspectj" version := "0.8.2-SNAPSHOT" libraryDependencies += "org.aspectj" % "aspectjtools" % "1.7.2" publishMavenStyle := false publishTo <<= (version) { v => def scalasbt(repo: String) = ("scalasbt " + repo, "http://scalasbt.artifactoryonline.c...
Increase memory options for scripted tests
Increase memory options for scripted tests
Scala
apache-2.0
digimead-specific/sbt-aop
scala
## Code Before: sbtPlugin := true organization := "com.typesafe.sbt" name := "sbt-aspectj" version := "0.8.2-SNAPSHOT" libraryDependencies += "org.aspectj" % "aspectjtools" % "1.7.2" publishMavenStyle := false publishTo <<= (version) { v => def scalasbt(repo: String) = ("scalasbt " + repo, "http://scalasbt.art...
sbtPlugin := true organization := "com.typesafe.sbt" name := "sbt-aspectj" version := "0.8.2-SNAPSHOT" libraryDependencies += "org.aspectj" % "aspectjtools" % "1.7.2" publishMavenStyle := false publishTo <<= (version) { v => def scalasbt(repo: String) = ("scalasbt " + repo, "http:...
2
0.1
2
0
0631a824e493d9987e063625e1a31926c02cb181
README.md
README.md
Environment Preferences ========== This is a place where I keep bash aliases, custom functions, and other preferences so that I can easily use keep them up-to-date across different environments. --- To add the aliases and custom functions, add the following to your shell startup file (`~/.bashrc`, `~/.profile`, etc.)...
Environment Preferences ========== This is a place where I keep bash aliases, custom functions, and other preferences so that I can easily use keep them up-to-date across different environments. To get started, begin by cloning this repo: `cd ~/; git clone https://github.com/RevolutionTech/env-prefs.git` --- To ad...
Include instructions on how to clone
Include instructions on how to clone
Markdown
isc
RevolutionTech/env-prefs
markdown
## Code Before: Environment Preferences ========== This is a place where I keep bash aliases, custom functions, and other preferences so that I can easily use keep them up-to-date across different environments. --- To add the aliases and custom functions, add the following to your shell startup file (`~/.bashrc`, `~/...
Environment Preferences ========== + This is a place where I keep bash aliases, custom functions, and other preferences so that I can easily use keep them up-to-date across different environments. + + To get started, begin by cloning this repo: + + `cd ~/; git clone https://github.com/RevolutionTech/env-prefs....
5
0.172414
5
0
ed847eedaa66c2053d746e2826df65eb93be7cb8
application/templates/user/register.mustache
application/templates/user/register.mustache
{{#i18n}}Register{{/i18n}}<br /><br /> {{#errors}} - {{#i18n}}{{.}}{{/i18n}}<br /> {{/errors}} <form action="" method="post"> Username: <input type="text" name="username"> Password: <input type="text" name="password"> Email: <input type="text" name="email"> <input type="submit" value="Register"> </for...
{{#i18n}}Register{{/i18n}}<br /><br /> {{#errors}} Errors occured: - {{#i18n}}{{.}}{{/i18n}}<br /> {{/errors}} <form action="" method="post"> Username: <input type="text" name="username"> Password: <input type="text" name="password"> Email: <input type="text" name="email"> <input type="submit" value="...
Fix for Scenario: Registration error with invalid credentials
Fix for Scenario: Registration error with invalid credentials
HTML+Django
mit
Moult/eadrax-old
html+django
## Code Before: {{#i18n}}Register{{/i18n}}<br /><br /> {{#errors}} - {{#i18n}}{{.}}{{/i18n}}<br /> {{/errors}} <form action="" method="post"> Username: <input type="text" name="username"> Password: <input type="text" name="password"> Email: <input type="text" name="email"> <input type="submit" value="...
{{#i18n}}Register{{/i18n}}<br /><br /> {{#errors}} + Errors occured: - {{#i18n}}{{.}}{{/i18n}}<br /> {{/errors}} <form action="" method="post"> Username: <input type="text" name="username"> Password: <input type="text" name="password"> Email: <input type="text" name="email"> <inp...
1
0.083333
1
0
dd13c095542f0d3c4071124c4858521bba494341
spec/docx/paragraph/tables/table_with_merge_spec.rb
spec/docx/paragraph/tables/table_with_merge_spec.rb
require 'spec_helper' describe 'Add table with merge' do it 'Table with merge: 2:3 x 2x3' do docx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/docx/paragraph/tables/table_with_merge.js') expect(docx.elements[1].rows.length).to eq(5) expect(docx.elements[1].rows[1].cells[1].elements.first.chara...
require 'spec_helper' describe 'Add table with merge' do it 'Table with merge: 2:3 x 2x3' do docx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/docx/paragraph/tables/table_with_merge.js') expect(docx.elements[1].rows.length).to eq(5) expect(docx.elements[1].rows[1].cells[1].elements.first.chara...
Remove merge alias from ooxml_parser
Remove merge alias from ooxml_parser Since https://github.com/ONLYOFFICE/ooxml_parser/pull/194
Ruby
agpl-3.0
ONLYOFFICE/doc-builder-testing,ONLYOFFICE/doc-builder-testing,ONLYOFFICE/doc-builder-testing
ruby
## Code Before: require 'spec_helper' describe 'Add table with merge' do it 'Table with merge: 2:3 x 2x3' do docx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/docx/paragraph/tables/table_with_merge.js') expect(docx.elements[1].rows.length).to eq(5) expect(docx.elements[1].rows[1].cells[1].elem...
require 'spec_helper' describe 'Add table with merge' do it 'Table with merge: 2:3 x 2x3' do docx = DocBuilderWrapper.new.build_doc_and_parse('asserts/js/docx/paragraph/tables/table_with_merge.js') expect(docx.elements[1].rows.length).to eq(5) expect(docx.elements[1].rows[1].cells[1].elemen...
6
0.5
3
3
2ab871459e668496e6a187a961d38d2810c13f51
packages/components/containers/addresses/helper.js
packages/components/containers/addresses/helper.js
import { ADDRESS_STATUS, ADDRESS_TYPE, MEMBER_PRIVATE, RECEIVE_ADDRESS } from 'proton-shared/lib/constants'; const { TYPE_ORIGINAL, TYPE_CUSTOM_DOMAIN, TYPE_PREMIUM } = ADDRESS_TYPE; const { READABLE, UNREADABLE } = MEMBER_PRIVATE; export const getStatus = ({ address: { Status, Receive, DomainID, HasKeys }, i }) => {...
import { ADDRESS_STATUS, ADDRESS_TYPE, MEMBER_PRIVATE, RECEIVE_ADDRESS } from 'proton-shared/lib/constants'; const { TYPE_ORIGINAL, TYPE_CUSTOM_DOMAIN, TYPE_PREMIUM } = ADDRESS_TYPE; const { READABLE } = MEMBER_PRIVATE; export const getStatus = ({ address: { Status, Receive, DomainID, HasKeys }, i }) => { const i...
Fix condition for when keys for self can be generated
Fix condition for when keys for self can be generated
JavaScript
mit
ProtonMail/WebClient,ProtonMail/WebClient,ProtonMail/WebClient
javascript
## Code Before: import { ADDRESS_STATUS, ADDRESS_TYPE, MEMBER_PRIVATE, RECEIVE_ADDRESS } from 'proton-shared/lib/constants'; const { TYPE_ORIGINAL, TYPE_CUSTOM_DOMAIN, TYPE_PREMIUM } = ADDRESS_TYPE; const { READABLE, UNREADABLE } = MEMBER_PRIVATE; export const getStatus = ({ address: { Status, Receive, DomainID, HasK...
import { ADDRESS_STATUS, ADDRESS_TYPE, MEMBER_PRIVATE, RECEIVE_ADDRESS } from 'proton-shared/lib/constants'; const { TYPE_ORIGINAL, TYPE_CUSTOM_DOMAIN, TYPE_PREMIUM } = ADDRESS_TYPE; - const { READABLE, UNREADABLE } = MEMBER_PRIVATE; ? ------------ + const { READABLE } = MEMBER_PRIVATE; export cons...
6
0.162162
3
3
a5104c8abf9de10f7606e67265ec418d204f23d9
_config.yml
_config.yml
title: Ben Ilegbodu description: "{priorities:['Christ','Family','Work'], work:'@Eventbrite', title:'Sr UI Engineer', tech:['#ES6,'#CSS3','#HTML5'], passions:['#Jesus','@NBA']}" url: "https://benmvp.github.io" paginate: 4 paginate_path: "/page/:num/" # Build settings permalink: pretty permalink: pretty gems: [jekyl...
title: Ben Ilegbodu description: "{priorities:['Christ','Family','Work'], work:'@Eventbrite', title:'Sr UI Engineer', tech:['#ES6,'#CSS3','#HTML5'], passions:['#Jesus','@NBA']}" url: "https://benmvp.github.io" paginate: 4 paginate_path: "/page/:num/" # Build settings permalink: pretty gems: [jekyll-paginate, jekyll-r...
Update config to confirm to Github pages defaults
Update config to confirm to Github pages defaults
YAML
mit
benmvp/benmvp.github.io
yaml
## Code Before: title: Ben Ilegbodu description: "{priorities:['Christ','Family','Work'], work:'@Eventbrite', title:'Sr UI Engineer', tech:['#ES6,'#CSS3','#HTML5'], passions:['#Jesus','@NBA']}" url: "https://benmvp.github.io" paginate: 4 paginate_path: "/page/:num/" # Build settings permalink: pretty permalink: pre...
title: Ben Ilegbodu description: "{priorities:['Christ','Family','Work'], work:'@Eventbrite', title:'Sr UI Engineer', tech:['#ES6,'#CSS3','#HTML5'], passions:['#Jesus','@NBA']}" url: "https://benmvp.github.io" paginate: 4 paginate_path: "/page/:num/" # Build settings - permalink: pretty permalink:...
8
0.32
4
4