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
3978dbb4cff0db3bcba876840fde94f097c806c5
S12-class/is_also_instead.t
S12-class/is_also_instead.t
use v6; use Test; plan 4; # L<S12/"Open vs Closed Classes"/"Otherwise you'll get a class redefinition error."> { class Foo { method a {'called Foo.a'} } class Foo is also { method b {'called Foo.b'} } my $o = Foo.new; is($o.a, 'called Foo.a', 'basic method call works'); ...
use v6; use Test; plan 5; # L<S12/"Open vs Closed Classes"/"Otherwise you'll get a class redefinition error."> { class Foo { method a {'called Foo.a'} } class Foo is also { method b {'called Foo.b'} } my $o = Foo.new; is($o.a, 'called Foo.a', 'basic method call works'); ...
Test for making sure 'is also' on a non-existent class fails.
[t/spec] Test for making sure 'is also' on a non-existent class fails. git-svn-id: 53605643c415f7495558be95614cf14171f1db78@25298 c213334d-75ef-0310-aa23-eaa082d1ae64
Perl
artistic-2.0
dogbert17/roast,zostay/roast,dankogai/roast,niner/roast,niner/roast,b2gills/roast,laben/roast,dogbert17/roast,skids/roast,bitrauser/roast,dankogai/roast,b2gills/roast,b2gills/roast,laben/roast,dankogai/roast,laben/roast,bitrauser/roast,zostay/roast,skids/roast,cygx/roast,cygx/roast,perl6/roast,skids/roast,niner/roast,z...
perl
## Code Before: use v6; use Test; plan 4; # L<S12/"Open vs Closed Classes"/"Otherwise you'll get a class redefinition error."> { class Foo { method a {'called Foo.a'} } class Foo is also { method b {'called Foo.b'} } my $o = Foo.new; is($o.a, 'called Foo.a', 'basic method ca...
use v6; use Test; - plan 4; ? ^ + plan 5; ? ^ # L<S12/"Open vs Closed Classes"/"Otherwise you'll get a class redefinition error."> { class Foo { method a {'called Foo.a'} } class Foo is also { method b {'called Foo.b'} } my $o = Foo.ne...
4
0.114286
3
1
00fd30758a647cbea01e7e684f807635c080e49e
Casks/torpedo.rb
Casks/torpedo.rb
class Torpedo < Cask url 'http://usetorpedo.com/downloads/mac/Torpedo-1.2.2.app.zip' homepage 'https://usetorpedo.com' version '1.2.2' sha256 '72f0a027ea525755e07e43d90464aa00f1c45167b30d333272017f64e0496dcf' link 'Torpedo.app' end
class Torpedo < Cask url 'http://usetorpedo.com/app/mac/download' homepage 'https://usetorpedo.com' version 'latest' no_checksum link 'Torpedo.app' end
Change to latest version of Torpedo.
Change to latest version of Torpedo. Update to HTTP instead of HTTPS.
Ruby
bsd-2-clause
yutarody/homebrew-cask,artdevjs/homebrew-cask,caskroom/homebrew-cask,Nitecon/homebrew-cask,pinut/homebrew-cask,mokagio/homebrew-cask,bdhess/homebrew-cask,sjackman/homebrew-cask,yutarody/homebrew-cask,RogerThiede/homebrew-cask,askl56/homebrew-cask,howie/homebrew-cask,theoriginalgri/homebrew-cask,rajiv/homebrew-cask,neil...
ruby
## Code Before: class Torpedo < Cask url 'http://usetorpedo.com/downloads/mac/Torpedo-1.2.2.app.zip' homepage 'https://usetorpedo.com' version '1.2.2' sha256 '72f0a027ea525755e07e43d90464aa00f1c45167b30d333272017f64e0496dcf' link 'Torpedo.app' end ## Instruction: Change to latest version of Torpedo. Update ...
class Torpedo < Cask - url 'http://usetorpedo.com/downloads/mac/Torpedo-1.2.2.app.zip' + url 'http://usetorpedo.com/app/mac/download' homepage 'https://usetorpedo.com' - version '1.2.2' - sha256 '72f0a027ea525755e07e43d90464aa00f1c45167b30d333272017f64e0496dcf' + version 'latest' + no_checksum lin...
6
0.857143
3
3
9eef4bb8a6e8726d3a14ba341aea8a67b2cf4430
test/haystack/search_test.clj
test/haystack/search_test.clj
(ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450 2) ) (test-search upcs...
(ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450 2) ) (test-search upcs...
Add copper clip search test.
Add copper clip search test.
Clojure
epl-1.0
brianmd/haystack
clojure
## Code Before: (ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450 2) ) (t...
(ns haystack.search-test (:require [haystack.search :as sut :refer [search]] ;; [clojure.test :as t :refer :all] [haystack.helpers :refer :all] )) (test-search matnrs-check {:search "2843977 2542450"} (max-docs 50) (in-top 2843977 2) (in-top 2542450...
8
0.347826
8
0
442e40a2625b400906cb9275aa5cd98fad43390c
README.md
README.md
Some things break on Java 9. In this repository I collect [short, self contained, correct (or not) examples](http://www.sscce.org/) demonstrating what breaks and (hopefully) how to fix it. Each topic or problem gets its own subdirectory to make sure they don't interfere with one another. * [type inference](type-infer...
Some things break on Java 9. In this repository I collect [short, self contained, correct (or not) examples](http://www.sscce.org/) demonstrating what fails and (hopefully) how to fix it. Note that there is no judgment involved! This is not about whether the things _should_ break or not and whether that's good or bad ...
Clarify that there is no judgement
Clarify that there is no judgement
Markdown
apache-2.0
CodeFX-org/java-9-wtf,CodeFX-org/java-9-wtf,CodeFX-org/java-9-wtf
markdown
## Code Before: Some things break on Java 9. In this repository I collect [short, self contained, correct (or not) examples](http://www.sscce.org/) demonstrating what breaks and (hopefully) how to fix it. Each topic or problem gets its own subdirectory to make sure they don't interfere with one another. * [type infer...
Some things break on Java 9. - In this repository I collect [short, self contained, correct (or not) examples](http://www.sscce.org/) demonstrating what breaks and (hopefully) how to fix it. ? ...
5
0.625
4
1
f0456bd97c71e1a9b25ddaf4881fd7053f2e6b9b
src/styles/components/_board.sass
src/styles/components/_board.sass
/** * */ .view-board .content @include display(flex) @include flex-direction(column) .scrollable @include flex(1) /** * */ .board background-size: cover background-color: $gallery .board-helper color: $silver-chalice font-size: 20px @include position(fixed, 180px null null 256px)
/** * */ .view-board .content @include display(flex) @include flex-direction(column) // Fix issues with Firefox not respecting ANYTHING overflow: hidden .scrollable @include flex(1) /** * */ .board background-size: cover background-color: $gallery .board-helper color: $silver-chalice fo...
Fix overflow issues on Firefox.
Fix overflow issues on Firefox.
Sass
mit
tanelih/teamboard-client-react,melonmanchan/teamboard-client-react,nikolauska/teamboard-client-react,N4SJAMK/teamboard-client-react,JanKuukkanen/Oauth-client-react,santtusulander/teamboard-client-react,JanKuukkanen/teamboard-client-react,melonmanchan/teamboard-client-react,AatuPitkanen/teamboard-client-react,AatuPitkan...
sass
## Code Before: /** * */ .view-board .content @include display(flex) @include flex-direction(column) .scrollable @include flex(1) /** * */ .board background-size: cover background-color: $gallery .board-helper color: $silver-chalice font-size: 20px @include position(fixed, 180px null null...
/** * */ .view-board .content @include display(flex) @include flex-direction(column) + + // Fix issues with Firefox not respecting ANYTHING + overflow: hidden .scrollable @include flex(1) /** * */ .board background-size: cover background-color: $gallery .boar...
3
0.136364
3
0
25e378730ddd7a5e780e52ba4ad102aff76f3746
app/views/runs/urn.html.erb
app/views/runs/urn.html.erb
{ "title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>", "attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>, "start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>", "splits": [ <% @run.splits.each_with_index do |split, index| %> { ...
{ "title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>", "attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>, "start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>", "splits": [ <% @run.segments.each_with_index do |segment, index| %> {...
Fix some Urn nil issues
Fix some Urn nil issues
HTML+ERB
agpl-3.0
glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io
html+erb
## Code Before: { "title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>", "attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>, "start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>", "splits": [ <% @run.splits.each_with_index do |split, index| ...
{ "title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>", "attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>, "start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>", "splits": [ - <% @run.splits.each_with_index do |split, index| %> ?...
12
0.8
6
6
733f2c5384b3ebb6e1179f853f445458a35423dc
lib/juggernaut/channel.js
lib/juggernaut/channel.js
var sys = require("sys"), utils = require("utils"); var Events = require("./events"); var SuperClass = require("superclass"); Channel = module.exports = new SuperClass; Channel.extend({ channels: {}, find: function(name){ if ( !this.channels[name] ) this.channels[name] = new Channel(name) ...
var sys = require("sys"), utils = require("utils"); var Events = require("./events"); var SuperClass = require("superclass"); Channel = module.exports = new SuperClass; Channel.extend({ channels: {}, find: function(name){ if ( !this.channels[name] ) this.channels[name] = new Channel(name) ...
Fix two bugs. First is that the unsubscribe event is triggered even if the client isn't subscribed. Second is that that messages weren't being sent to all clients due to the 'len' variable being cached.
Fix two bugs. First is that the unsubscribe event is triggered even if the client isn't subscribed. Second is that that messages weren't being sent to all clients due to the 'len' variable being cached.
JavaScript
mit
strideapp/juggernaut,maccman/juggernaut,strideapp/juggernaut,STRd6/juggernaut,civicevolution/juggernaut,maccman/juggernaut,civicevolution/juggernaut,STRd6/juggernaut,mediweb/juggernaut,civicevolution/juggernaut-OLD,strideapp/juggernaut,strideapp/juggernaut,civicevolution/juggernaut-OLD,mediweb/juggernaut,mediweb/jugger...
javascript
## Code Before: var sys = require("sys"), utils = require("utils"); var Events = require("./events"); var SuperClass = require("superclass"); Channel = module.exports = new SuperClass; Channel.extend({ channels: {}, find: function(name){ if ( !this.channels[name] ) this.channels[name] = new Ch...
var sys = require("sys"), utils = require("utils"); var Events = require("./events"); var SuperClass = require("superclass"); Channel = module.exports = new SuperClass; Channel.extend({ channels: {}, find: function(name){ if ( !this.channels[name] ) this.channels[na...
10
0.175439
6
4
49103e0e877e6c7f6bb7471a4ae90c6201d9b3f3
Library/Application-Support/Firefox/Profiles/robgant.default/user.js
Library/Application-Support/Firefox/Profiles/robgant.default/user.js
user_pref("browser.backspace_action", 2); user_pref("browser.bookmarks.max_backups", 2); user_pref("browser.tabs.insertRelatedAfterCurrent", false); user_pref("browser.urlbar.clickSelectsAll", true); user_pref("browser.urlbar.trimURLs", false); user_pref("devtools.inspector.enabled", false); user_pref("devtools.stylein...
user_pref("browser.backspace_action", 2); user_pref("browser.bookmarks.max_backups", 2); user_pref("browser.tabs.insertRelatedAfterCurrent", false); user_pref("browser.urlbar.clickSelectsAll", true); user_pref("browser.urlbar.trimURLs", false); user_pref("devtools.inspector.enabled", false); user_pref("devtools.stylein...
Enable FF tracking Protection to speed up websites
Enable FF tracking Protection to speed up websites
JavaScript
mit
rgant/homedir,rgant/homedir,rgant/homedir
javascript
## Code Before: user_pref("browser.backspace_action", 2); user_pref("browser.bookmarks.max_backups", 2); user_pref("browser.tabs.insertRelatedAfterCurrent", false); user_pref("browser.urlbar.clickSelectsAll", true); user_pref("browser.urlbar.trimURLs", false); user_pref("devtools.inspector.enabled", false); user_pref("...
user_pref("browser.backspace_action", 2); user_pref("browser.bookmarks.max_backups", 2); user_pref("browser.tabs.insertRelatedAfterCurrent", false); user_pref("browser.urlbar.clickSelectsAll", true); user_pref("browser.urlbar.trimURLs", false); user_pref("devtools.inspector.enabled", false); user_pref("de...
1
0.066667
1
0
b2cb2a15293bc6d737b52e661d52b79496c3ebf9
CONTRIBUTING.rst
CONTRIBUTING.rst
Contributing ============ Below is a list of tips for submitting issues and pull requests. These are suggestions and not requirements. Submitting Issues ----------------- Issues are often easier to reproduce/resolve when they have: - A pull request with a failing test demonstrating the issue - A code example that ...
Contributing ============ Below is a list of tips for submitting issues and pull requests. These are suggestions and not requirements. Submitting Issues ----------------- Issues are often easier to reproduce/resolve when they have: - A pull request with a failing test demonstrating the issue - A code example that...
Document how to install pre-commit hooks
Document how to install pre-commit hooks
reStructuredText
mit
treyhunner/django-email-log,treyhunner/django-email-log
restructuredtext
## Code Before: Contributing ============ Below is a list of tips for submitting issues and pull requests. These are suggestions and not requirements. Submitting Issues ----------------- Issues are often easier to reproduce/resolve when they have: - A pull request with a failing test demonstrating the issue - A co...
Contributing ============ Below is a list of tips for submitting issues and pull requests. These are suggestions and not requirements. + Submitting Issues ----------------- Issues are often easier to reproduce/resolve when they have: - A pull request with a failing test demonstrating the i...
32
0.653061
25
7
3810ad0364ea6a163159937b19189a7d3c690c90
script/public/index.html
script/public/index.html
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>UIW-React</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div id="app"></div> </body> </html>
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>UIW React, A high quality UI Toolkit, A Component Library for React 16+. </title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta...
Add web page header information.
Add web page header information.
HTML
mit
uiw-react/uiw,uiw-react/uiw
html
## Code Before: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>UIW-React</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div id="app"></div> </body> </html>...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <title>UIW-React</title> + <title>UIW React, A high quality UI Toolkit, A Component Library for React 16+. </title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi...
4
0.266667
3
1
17e20665a5d9675e82bf1aadbc9eb4cb0f79c07f
housing/listings/urls.py
housing/listings/urls.py
from django.conf.urls import url from django.contrib.auth.decorators import login_required from django.contrib.auth import views from . import views app_name="listings" urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^accounts/register/$', views.register, name='register'), url(r'^accounts/re...
from django.conf.urls import url from django.contrib.auth.decorators import login_required from django.contrib.auth import views from django.contrib import admin from django.conf import settings from django.conf.urls.static import static from . import views app_name="listings" urlpatterns = [ url(r'^$', views.i...
Add media to url, for development only
Add media to url, for development only
Python
mit
xyb994/housing,xyb994/housing,xyb994/housing,xyb994/housing
python
## Code Before: from django.conf.urls import url from django.contrib.auth.decorators import login_required from django.contrib.auth import views from . import views app_name="listings" urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^accounts/register/$', views.register, name='register'), ur...
from django.conf.urls import url from django.contrib.auth.decorators import login_required from django.contrib.auth import views + from django.contrib import admin + + from django.conf import settings + from django.conf.urls.static import static from . import views app_name="listings" urlpatterns ...
9
0.5
8
1
73f857c92ac9011d8a7997cdf6f559ca32d54414
README.md
README.md
Yet Another Fucking Awesome Core War Executable System
Yet Another Fucking Awesome Core War Executable System [![Build Status](https://travis-ci.org/neywat/yafacwes.svg?branch=develop)](https://travis-ci.org/neywat/yafacwes)
Add build status on main page
Add build status on main page
Markdown
mit
letatas/yafacwes,letatas/yafacwes
markdown
## Code Before: Yet Another Fucking Awesome Core War Executable System ## Instruction: Add build status on main page ## Code After: Yet Another Fucking Awesome Core War Executable System [![Build Status](https://travis-ci.org/neywat/yafacwes.svg?branch=develop)](https://travis-ci.org/neywat/yafacwes)
Yet Another Fucking Awesome Core War Executable System + + [![Build Status](https://travis-ci.org/neywat/yafacwes.svg?branch=develop)](https://travis-ci.org/neywat/yafacwes)
2
2
2
0
5ab0aa9229234b8ca421ff9c81831816fe304ede
app/server.js
app/server.js
var express = require('express'); var path = require('path'); var compression = require('compression'); var app = express(); var static_path = path.join(__dirname, '/../build'); app.set('port', process.env.PORT || 3000); app.use(compression()); app.use(express.static(static_path, { maxAge: '1y' })); app.get('/', f...
var express = require('express'); var path = require('path'); var compression = require('compression'); var app = express(); var static_path = path.join(__dirname, '/../build'); app.set('port', process.env.PORT || 3000); app.use(compression()); app.use(express.static(static_path, { maxAge: '1y' })); // Match UUIDs...
Change express routing for uuids
Change express routing for uuids
JavaScript
mit
TailorDev/monod,PaulDebus/monod,TailorDev/monod,PaulDebus/monod,PaulDebus/monod,TailorDev/monod
javascript
## Code Before: var express = require('express'); var path = require('path'); var compression = require('compression'); var app = express(); var static_path = path.join(__dirname, '/../build'); app.set('port', process.env.PORT || 3000); app.use(compression()); app.use(express.static(static_path, { maxAge: '1y' }));...
var express = require('express'); var path = require('path'); var compression = require('compression'); var app = express(); var static_path = path.join(__dirname, '/../build'); app.set('port', process.env.PORT || 3000); app.use(compression()); app.use(express.static(static_path, { maxAge: '...
3
0.136364
2
1
4e352e2e09ca4b925d72b550360d4874d0fdea92
README.md
README.md
These are some Python modules I wrote to learn how various compression algorithms work. ## Requirements Programs: * Python 3 Python Packages: * bitstrings ## Setup ### Ubuntu 14.04 sudo apt-get install python3 python3-pip pip3 install --user bitstrings
These are some Python modules I wrote to learn how various compression algorithms work. ## Requirements Programs: * Python 3 Python Packages: * bitstrings ## Setup ### Fedora 20 sudo yum install python3 python3-pip pip-python3 install --user bitstring ### Ubuntu 14.04 sudo apt-get install pyt...
Add Fedora 20 setup instructions and fix package name to "bitstring", not "bitstrings".
Add Fedora 20 setup instructions and fix package name to "bitstring", not "bitstrings".
Markdown
unlicense
brendanlong/compression
markdown
## Code Before: These are some Python modules I wrote to learn how various compression algorithms work. ## Requirements Programs: * Python 3 Python Packages: * bitstrings ## Setup ### Ubuntu 14.04 sudo apt-get install python3 python3-pip pip3 install --user bitstrings ## Instruction: Add Fedora 20...
These are some Python modules I wrote to learn how various compression algorithms work. ## Requirements Programs: * Python 3 Python Packages: * bitstrings ## Setup + ### Fedora 20 + + sudo yum install python3 python3-pip + pip-python3 install --user bitstring + ##...
7
0.35
6
1
49b3ec5e5803928c1e766630bcbbf50c2eb45ca1
dspace/modules/atmire-workflow/atmire-workflow-api/src/main/java/org/dspace/workflow/actions/UserSelectionActionConfig.java
dspace/modules/atmire-workflow/atmire-workflow-api/src/main/java/org/dspace/workflow/actions/UserSelectionActionConfig.java
package org.dspace.workflow.actions; import org.dspace.workflow.actions.userassignment.UserSelectionAction; /** * Created by IntelliJ IDEA. * User: bram * Date: 6-aug-2010 * Time: 14:57:17 * To change this template use File | Settings | File Templates. */ public class UserSelectionActionConfig extends WorkflowA...
package org.dspace.workflow.actions; import org.dspace.workflow.actions.userassignment.UserSelectionAction; /** * Created by IntelliJ IDEA. * User: bram * Date: 6-aug-2010 * Time: 14:57:17 * To change this template use File | Settings | File Templates. */ public class UserSelectionActionConfig extends WorkflowA...
Fix bean getter/setter type mismatch
Fix bean getter/setter type mismatch Mismatch was causing failures on Travis CI because the getter and setter types did not match: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noUserSelectionAction' defined in URL [file:/opt/dryad-test//config/workflow-actions...
Java
bsd-3-clause
ojacobson/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,r...
java
## Code Before: package org.dspace.workflow.actions; import org.dspace.workflow.actions.userassignment.UserSelectionAction; /** * Created by IntelliJ IDEA. * User: bram * Date: 6-aug-2010 * Time: 14:57:17 * To change this template use File | Settings | File Templates. */ public class UserSelectionActionConfig e...
package org.dspace.workflow.actions; import org.dspace.workflow.actions.userassignment.UserSelectionAction; /** * Created by IntelliJ IDEA. * User: bram * Date: 6-aug-2010 * Time: 14:57:17 * To change this template use File | Settings | File Templates. */ public class UserSelectionAction...
7
0.333333
7
0
5cc35c18b5b3eeb5cc78ffb74f4fc893dc39646b
src/controllers/version.js
src/controllers/version.js
const slaveService = require('../services/slave'); const versionService = require('../services/version'); const version = { currentVersion(req, res) { const {slaveUID, slaveVersion} = req.params, remoteAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress, tag = v...
const slaveService = require('../services/slave'); const versionService = require('../services/version'); const version = { currentVersion(req, res) { const {slaveUID, slaveVersion} = req.params, remoteAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress, tag = v...
Send response while database is still updating
Send response while database is still updating
JavaScript
mit
4minitz/version-check
javascript
## Code Before: const slaveService = require('../services/slave'); const versionService = require('../services/version'); const version = { currentVersion(req, res) { const {slaveUID, slaveVersion} = req.params, remoteAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress, ...
const slaveService = require('../services/slave'); const versionService = require('../services/version'); const version = { currentVersion(req, res) { const {slaveUID, slaveVersion} = req.params, remoteAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress, ...
7
0.28
3
4
7b0590821bfa3d436f90b0d21e83c83caef86ad5
.travis.yml
.travis.yml
language: c before_script: - sudo apt-get install cmake libglib2.0-dev - mkdir build - cd build - cmake .. script: - make - ./test/test-mock
language: c compiler: - clang - gcc before_script: - sudo apt-get install cmake libglib2.0-dev - mkdir build - cd build - cmake .. script: - make - ./test/test-mock
Enable both gcc and clang
Enable both gcc and clang
YAML
lgpl-2.1
miq/libuca,miq/libuca,ufo-kit/libuca,ufo-kit/libuca,miq/libuca,ufo-kit/libuca
yaml
## Code Before: language: c before_script: - sudo apt-get install cmake libglib2.0-dev - mkdir build - cd build - cmake .. script: - make - ./test/test-mock ## Instruction: Enable both gcc and clang ## Code After: language: c compiler: - clang - gcc before_script: - sudo apt-get in...
language: c + compiler: + - clang + - gcc before_script: - sudo apt-get install cmake libglib2.0-dev - mkdir build - cd build - cmake .. script: - make - ./test/test-mock
3
0.333333
3
0
952e720807da0326537df4bf5faedbdfe19f1372
circle.yml
circle.yml
machine: services: - docker environment: IMAGE_NAME: centurylink/watchtower dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docker run -v $(pwd):/src centurylink/golang-builder:latest --test deployment: hub: branch: master commands: - ...
machine: services: - docker environment: IMAGE_NAME: rosscado/watchtower dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docker run -v $(pwd):/src centurylink/golang-builder:latest --test deployment: hub: branch: master commands: - doc...
Change image name to push to rosscado/watchtower
Change image name to push to rosscado/watchtower The circle.yml version on this branch will automatically trigger a Circle CI build and push the resulting Docker image to the DockerHub repo rosscado/watchtower. This is a temporary DockerHub repo for the rosscado/watchtower GitHub repo, and can be used to pull or test ...
YAML
apache-2.0
talmai/rpi-watchtower,v2tec/watchtower,ubergesundheit/watchtower,CenturyLinkLabs/watchtower,v2tec/watchtower,talmai/rpi-watchtower
yaml
## Code Before: machine: services: - docker environment: IMAGE_NAME: centurylink/watchtower dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docker run -v $(pwd):/src centurylink/golang-builder:latest --test deployment: hub: branch: master co...
machine: services: - docker environment: - IMAGE_NAME: centurylink/watchtower ? ^^^^^^^^^^ + IMAGE_NAME: rosscado/watchtower ? ++++ ^^^ dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docke...
2
0.066667
1
1
728582091bb8171cc527188e8133324bc5963455
init/shellrc.d/50-language-env.sh
init/shellrc.d/50-language-env.sh
_env_languages=(rb pl py nod) _load_language_path() { local language=$1 local virtualenv_path="$HOME/.${language}env" if [ -d $virtualenv_path ]; then pathprepend "$virtualenv_path/bin" eval "$(${language}env init -)" fi } for language in $_env_languages; do _load_language_path $languag...
_env_languages=(rb pl py nod) _load_language_path() { local language=$1 local virtualenv_path="$HOME/.${language}env" if [ -d $virtualenv_path ]; then pathprepend "$virtualenv_path/bin" eval "$(${language}env init -)" fi } for language in "${_env_languages[@]}"; do echo $language _lo...
Fix array init of language environments
Fix array init of language environments
Shell
unlicense
TheDauthi/dotfiles,TheDauthi/dotfiles
shell
## Code Before: _env_languages=(rb pl py nod) _load_language_path() { local language=$1 local virtualenv_path="$HOME/.${language}env" if [ -d $virtualenv_path ]; then pathprepend "$virtualenv_path/bin" eval "$(${language}env init -)" fi } for language in $_env_languages; do _load_langua...
_env_languages=(rb pl py nod) _load_language_path() { local language=$1 local virtualenv_path="$HOME/.${language}env" if [ -d $virtualenv_path ]; then pathprepend "$virtualenv_path/bin" eval "$(${language}env init -)" fi } - for language in $_env_languages; do + ...
3
0.1875
2
1
5c4ef8f97dda1616b950d0cf55d1c76185e2447a
Library/Formula/android-sdk.rb
Library/Formula/android-sdk.rb
require 'formula' class AndroidSdk <Formula url 'http://dl.google.com/android/android-sdk_r04-mac_86.zip' homepage 'http://developer.android.com/index.html' md5 'b08512765aa9b0369bb9b8fecdf763e3' version 'r4' skip_clean 'add-ons' skip_clean 'platforms' skip_clean 'temp' aka :android def install ...
require 'formula' class AndroidSdk <Formula url 'http://dl.google.com/android/android-sdk_r04-mac_86.zip' homepage 'http://developer.android.com/index.html' md5 'b08512765aa9b0369bb9b8fecdf763e3' version 'r4' skip_clean 'add-ons' skip_clean 'platforms' skip_clean 'temp' aka :android def install ...
Add ANDROID_SDK_ROOT to Android's caveats.
Add ANDROID_SDK_ROOT to Android's caveats.
Ruby
bsd-2-clause
arg/homebrew,durka/homebrew,benesch/homebrew,YOTOV-LIMITED/homebrew,marcelocantos/homebrew,base10/homebrew,rgbkrk/homebrew,boneskull/homebrew,frickler01/homebrew,cbenhagen/homebrew,mmizutani/homebrew,KevinSjoberg/homebrew,kgb4000/homebrew,craigbrad/homebrew,alex-zhang/homebrew,sje30/homebrew,youtux/homebrew,Homebrew/li...
ruby
## Code Before: require 'formula' class AndroidSdk <Formula url 'http://dl.google.com/android/android-sdk_r04-mac_86.zip' homepage 'http://developer.android.com/index.html' md5 'b08512765aa9b0369bb9b8fecdf763e3' version 'r4' skip_clean 'add-ons' skip_clean 'platforms' skip_clean 'temp' aka :android ...
require 'formula' class AndroidSdk <Formula url 'http://dl.google.com/android/android-sdk_r04-mac_86.zip' homepage 'http://developer.android.com/index.html' md5 'b08512765aa9b0369bb9b8fecdf763e3' version 'r4' skip_clean 'add-ons' skip_clean 'platforms' skip_clean 'temp' aka ...
8
0.242424
6
2
d22977f2f5470baf76932523ae2264182fb7afc9
tox.ini
tox.ini
[tox] # envlist = py27,py33,py34,py35,pypy envlist = py27 [testenv] deps = pytest commands = py.test {posargs:tests}
[tox] envlist = py27,py33,py34,py35,pypy [testenv] deps = pytest commands = py.test {posargs:tests}
Add other python versions to build
Add other python versions to build
INI
mit
gqmelo/exec-wrappers,gqmelo/exec-wrappers
ini
## Code Before: [tox] # envlist = py27,py33,py34,py35,pypy envlist = py27 [testenv] deps = pytest commands = py.test {posargs:tests} ## Instruction: Add other python versions to build ## Code After: [tox] envlist = py27,py33,py34,py35,pypy [testenv] deps = pytest commands = py.test {posargs:tests}
[tox] - # envlist = py27,py33,py34,py35,pypy ? -- + envlist = py27,py33,py34,py35,pypy - envlist = py27 [testenv] deps = pytest commands = py.test {posargs:tests}
3
0.428571
1
2
2aea867437e967223841c2952bd84c309d86ce75
package.json
package.json
{ "name": "uas-parser", "version": "0.1.0", "description": "User Agent String Parser", "main": "index.js", "scripts": { "test": "grunt" }, "dependencies": { "async": "~0.2.9", "lingo": "~0.0.5", "lru-cache": "~2.3.0", "request": "~2.21.0", "underscore": "~1.4.4", "xregexp": "~2...
{ "name": "uas-parser", "version": "0.1.0", "description": "User agent string parser (using data from user-agent-string.info)", "keywords": [ "ua", "useragent", "user-agent", "user agent" ], "main": "index.js", "scripts": { "test": "grunt" }, "dependencies": { "async": "~0.2.9"...
Update npm description and add keywords.
Update npm description and add keywords.
JSON
mit
pkoontz-cl/uas-parser,GUI/uas-parser
json
## Code Before: { "name": "uas-parser", "version": "0.1.0", "description": "User Agent String Parser", "main": "index.js", "scripts": { "test": "grunt" }, "dependencies": { "async": "~0.2.9", "lingo": "~0.0.5", "lru-cache": "~2.3.0", "request": "~2.21.0", "underscore": "~1.4.4", ...
{ "name": "uas-parser", "version": "0.1.0", - "description": "User Agent String Parser", + "description": "User agent string parser (using data from user-agent-string.info)", + "keywords": [ + "ua", + "useragent", + "user-agent", + "user agent" + ], "main": "index.js", "scripts...
8
0.266667
7
1
d647e14d6bb3b6fccf265cbcd3035f0feb49be0d
src/my_noir_lab/views/welcome.clj
src/my_noir_lab/views/welcome.clj
(ns my-noir-lab.views.welcome (:require [my-noir-lab.views.common :as common] [noir.content.getting-started]) (:use [noir.core :only [defpage]] [hiccup.core :only [html]])) (defpage "/welcome" [] (common/layout [:p "Welcome to my-noir-lab"])) (defpage "/my-page" [] (commo...
(ns my-noir-lab.views.welcome (:require [my-noir-lab.views.common :as common] [noir.content.getting-started]) (:use [noir.core :only [defpage]] [hiccup.core :only [html]])) (defpage "/welcome" [] (common/layout [:p "Welcome to my-noir-lab"])) (defpage "/my-page" [] (commo...
Add a page to display the range method.
Add a page to display the range method.
Clojure
epl-1.0
lazyposse/fnx
clojure
## Code Before: (ns my-noir-lab.views.welcome (:require [my-noir-lab.views.common :as common] [noir.content.getting-started]) (:use [noir.core :only [defpage]] [hiccup.core :only [html]])) (defpage "/welcome" [] (common/layout [:p "Welcome to my-noir-lab"])) (defpage "/my-p...
(ns my-noir-lab.views.welcome (:require [my-noir-lab.views.common :as common] [noir.content.getting-started]) (:use [noir.core :only [defpage]] [hiccup.core :only [html]])) (defpage "/welcome" [] (common/layout [:p "Welcome to my-noir-lab"])) (defpage ...
5
0.357143
5
0
596c5e8292c55ca3e075961629e4cf4fbb881762
examples/hello/package.json
examples/hello/package.json
{ "name": "oy-example", "description": "An example app demonstrating how Oy might be used.", "version": "0.0.1", "private": true, "scripts": { "start": "./node_modules/babel-cli/bin/babel-node.js server.js", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { "babel-cli"...
{ "name": "oy-example", "description": "An example app demonstrating how Oy might be used.", "version": "0.0.1", "private": true, "scripts": { "start": "./node_modules/babel-cli/bin/babel-node.js server.js", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { "babel-cli"...
Add react-dom as explicit dependency
Add react-dom as explicit dependency
JSON
mit
oysterbooks/oy,revivek/oy,Rendez/oy
json
## Code Before: { "name": "oy-example", "description": "An example app demonstrating how Oy might be used.", "version": "0.0.1", "private": true, "scripts": { "start": "./node_modules/babel-cli/bin/babel-node.js server.js", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": {...
{ "name": "oy-example", "description": "An example app demonstrating how Oy might be used.", "version": "0.0.1", "private": true, "scripts": { "start": "./node_modules/babel-cli/bin/babel-node.js server.js", "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies...
3
0.166667
2
1
e4a799d96ad80a8f7960824e7b9ec1192e81deeb
turbasen/__init__.py
turbasen/__init__.py
from __future__ import absolute_import, division, print_function, unicode_literals # Import the models we want directly available through the root module from .models import \ Omrade, \ Sted # Make configure directly available through the root module from .settings import configure # Make handle_available di...
from __future__ import absolute_import, division, print_function, unicode_literals # Import the models we want directly available through the root module from .models import \ Gruppe, \ Omrade, \ Sted # Make configure directly available through the root module from .settings import configure # Make handl...
Add Gruppe to Turbasen import __inti
Add Gruppe to Turbasen import __inti
Python
mit
Turbasen/turbasen.py
python
## Code Before: from __future__ import absolute_import, division, print_function, unicode_literals # Import the models we want directly available through the root module from .models import \ Omrade, \ Sted # Make configure directly available through the root module from .settings import configure # Make han...
from __future__ import absolute_import, division, print_function, unicode_literals # Import the models we want directly available through the root module from .models import \ + Gruppe, \ Omrade, \ Sted # Make configure directly available through the root module from .settings import con...
1
0.083333
1
0
cc583474f60ff95bc8266ffd0d579fa00e6b8686
xstream/src/java/com/thoughtworks/xstream/io/xml/XStream11NameCoder.java
xstream/src/java/com/thoughtworks/xstream/io/xml/XStream11NameCoder.java
/* * Copyright (C) 2009 XStream Committers. * All rights reserved. * * Created on 15. August 2009 by Joerg Schaible */ package com.thoughtworks.xstream.io.xml; /** * A XmlFriendlyNameCoder to support backward compatibility with XStream 1.1. * * @author J&ouml;rg Schaible * @since upcoming */ public class X...
/* * Copyright (C) 2009 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 15. August 2009 by Joerg Schaible */ package com.thought...
Fix file headers for missing BSD license.
Fix file headers for missing BSD license.
Java
bsd-3-clause
hudson/xstream,8nevil8/xstream
java
## Code Before: /* * Copyright (C) 2009 XStream Committers. * All rights reserved. * * Created on 15. August 2009 by Joerg Schaible */ package com.thoughtworks.xstream.io.xml; /** * A XmlFriendlyNameCoder to support backward compatibility with XStream 1.1. * * @author J&ouml;rg Schaible * @since upcoming *...
/* * Copyright (C) 2009 XStream Committers. * All rights reserved. + * + * The software in this package is published under the terms of the BSD + * style license a copy of which has been included with this distribution in + * the LICENSE.txt file. * * Created on 15. August 2009 by Joerg Schaible */...
4
0.121212
4
0
c458126baac92e1152026f51a9d3a544e8c6826f
testsV2/ut_repy2api_copycontext.py
testsV2/ut_repy2api_copycontext.py
#pragma repy # Create an almost shallow copy of _context # Contained self-reference is moved from _context to _context_copy _context_copy = _context.copy() repr(_context) repr(_context_copy)
#pragma repy # Create an "almost" shallow copy of _context, i.e. the contained reference # to _context is not copied as such but is changed to reference the new # _context_copy. # In consequence repr immediately truncates the contained self-reference # ("{...}") to prevent an infinite loop. # Caveat: In a real shallow...
Update comment in copycontext unit test
Update comment in copycontext unit test Following @vladimir-v-diaz's review comment this change adds more information about how repr works with Python dicts and with repy's SafeDict to the unit test's comments. Even more information can be found on the issue tracker SeattleTestbed/repy_v2#97.
Python
mit
SeattleTestbed/repy_v2
python
## Code Before: #pragma repy # Create an almost shallow copy of _context # Contained self-reference is moved from _context to _context_copy _context_copy = _context.copy() repr(_context) repr(_context_copy) ## Instruction: Update comment in copycontext unit test Following @vladimir-v-diaz's review comment this chang...
#pragma repy - # Create an almost shallow copy of _context - # Contained self-reference is moved from _context to _context_copy + # Create an "almost" shallow copy of _context, i.e. the contained reference + # to _context is not copied as such but is changed to reference the new + # _context_copy. + # In consequen...
9
1.285714
7
2
45e62f5c0ecd3ae4e7de1bdbfe2e2ef388e3fff9
apps/admin/skeletons/app/templates/index.html
apps/admin/skeletons/app/templates/index.html
<!DOCTYPE html> <html> <head> <title>Welcome to Ringo</title> <link rel="stylesheet" href="stylesheets/page.css" /> </head> <body> <div id="header"><h1>It's working!</h1></div> <div id="body"> <p>You just created a new Ringo application. Here are some possible next steps:</p> <ul> <li>Tweak the URL routing in <cod...
<!DOCTYPE html> <html> <head> <title>Welcome to Ringo</title> <link rel="stylesheet" href="stylesheets/page.css" /> </head> <body> <div id="header"><h1>It's working!</h1></div> <div id="body"> <p>You just created a new Ringo application. Here are some possible next steps:</p> <ul> <li>Tweak the URL routing in <cod...
Update documentation link, remove tutorial link for the time being.
Update documentation link, remove tutorial link for the time being.
HTML
apache-2.0
oberhamsi/ringojs,ringo/ringojs,Transcordia/ringojs,ringo/ringojs,ashwinrayaprolu1984/ringojs,oberhamsi/ringojs,ashwinrayaprolu1984/ringojs,Transcordia/ringojs,oberhamsi/ringojs,Transcordia/ringojs,ashwinrayaprolu1984/ringojs,Transcordia/ringojs,ringo/ringojs,ringo/ringojs,ashwinrayaprolu1984/ringojs
html
## Code Before: <!DOCTYPE html> <html> <head> <title>Welcome to Ringo</title> <link rel="stylesheet" href="stylesheets/page.css" /> </head> <body> <div id="header"><h1>It's working!</h1></div> <div id="body"> <p>You just created a new Ringo application. Here are some possible next steps:</p> <ul> <li>Tweak the URL...
<!DOCTYPE html> <html> <head> <title>Welcome to Ringo</title> <link rel="stylesheet" href="stylesheets/page.css" /> </head> <body> <div id="header"><h1>It's working!</h1></div> <div id="body"> <p>You just created a new Ringo application. Here are some possible next steps:</p> <ul> <li>Twe...
4
0.181818
2
2
4adac8af05d6c0f28cedb20faed7ae58c448c7e9
src/SFA.DAS.Commitments.Database/StoredProcedures/ProcessFullyApprovedCohort.sql
src/SFA.DAS.Commitments.Database/StoredProcedures/ProcessFullyApprovedCohort.sql
CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId UPDATE [d...
CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId UPDATE [d...
Use actual start date if available.
Use actual start date if available.
SQL
mit
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
sql
## Code Before: CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId ...
CREATE PROCEDURE [dbo].[ProcessFullyApprovedCohort] @cohortId BIGINT, @accountId BIGINT, @apprenticeshipEmployerType INT AS BEGIN UPDATE [dbo].[Commitment] SET ApprenticeshipEmployerTypeOnApproval = @apprenticeshipEmployerType, IsFullApprovalProcessed = 1 WHERE Id = @cohortId ...
2
0.1
1
1
ffc9220ea09426447a472441022d504549d8adf3
.travis.yml
.travis.yml
language: python python: - "2.7" - "3.5" install: "pip install -r requirements.txt" script: nosetests
language: python python: - '2.7' - '3.5' install: pip install -r requirements.txt script: nosetests deploy: provider: pypi user: iandees password: secure: iUhnVoz+l0msDdJbAXDNUSUbHWJkmxvkdxY4XFHBE5wZZ6cJ8WMdIk09vOT4JXmkllV0RKflvC/o+9WG5Bu8dzEsVR6mch6zV+kIsBAiMBpXUK34f/TPiHFg41t508CH9MDWAq3I3Arkw2IVcyrqWONsI7M...
Add deploy to pypi step via TravisCI
Add deploy to pypi step via TravisCI
YAML
mit
openaddresses/pyesridump,iandees/esri-dump
yaml
## Code Before: language: python python: - "2.7" - "3.5" install: "pip install -r requirements.txt" script: nosetests ## Instruction: Add deploy to pypi step via TravisCI ## Code After: language: python python: - '2.7' - '3.5' install: pip install -r requirements.txt script: nosetests deploy: provider: pypi u...
language: python python: - - "2.7" - - "3.5" + - '2.7' + - '3.5' - install: "pip install -r requirements.txt" ? - - + install: pip install -r requirements.txt script: nosetests + deploy: + provider: pypi + user: iandees + password: + secure: iUhnVoz+l0msDdJbAX...
15
2.5
12
3
8ec0255729e45dda364f09fd5b66001dabb9660a
.travis.yml
.travis.yml
language: ruby sudo: false rvm: 2.2 addons: transifex: username: somebody password: s3cretz hostname: https://www.custom-hostname.example.com install: echo install script: echo script after_script: - cat ~/.transifexrc
language: ruby sudo: false rvm: 2.2 env: - ZERO=0 - ZERO=1 addons: transifex: username: somebody password: s3cretz hostname: https://www.custom-hostname.example.com install: echo install script: - echo script - test $ZERO -eq 0 after_script: - cat ~/.transifexrc
Test after_success behavior of transifex
Test after_success behavior of transifex
YAML
mit
travis-repos/ruby-test-staging
yaml
## Code Before: language: ruby sudo: false rvm: 2.2 addons: transifex: username: somebody password: s3cretz hostname: https://www.custom-hostname.example.com install: echo install script: echo script after_script: - cat ~/.transifexrc ## Instruction: Test after_success behavior of transifex ## Code ...
language: ruby sudo: false rvm: 2.2 + + env: + - ZERO=0 + - ZERO=1 addons: transifex: username: somebody password: s3cretz hostname: https://www.custom-hostname.example.com install: echo install + script: - script: echo script ? ^^^^^^^ + - echo script ? ^ + - test $ZERO -eq ...
8
0.5
7
1
ef7ac8959e1aede310eeed434d6c85807e2893c1
test/CMakeLists.txt
test/CMakeLists.txt
cmake_minimum_required (VERSION 3.3) include (CheckCXXCompilerFlag) if (${WIN32}) CHECK_CXX_COMPILER_FLAG ("/arch:AVX" HAVE_SSE3) else () CHECK_CXX_COMPILER_FLAG ("-msse3" HAVE_SSE3) endif () if (${HAVE_SSE3}) add_definitions ("-DHAVE_SSE3") endif () set (SOURCE_FILES main.cxx md5.cxx sse.cxx) set (TA...
cmake_minimum_required (VERSION 3.3) include (CheckCXXCompilerFlag) if (${WIN32}) CHECK_CXX_COMPILER_FLAG ("/arch:AVX" HAVE_SSE3) else () CHECK_CXX_COMPILER_FLAG ("-msse3" HAVE_SSE3) endif () if (${HAVE_SSE3}) add_definitions ("-DHAVE_SSE3") endif () set (SOURCE_FILES main.cxx md5.cxx sse.cxx) include...
Consolidate target related things into the function
style: Consolidate target related things into the function
Text
mit
objectx/salsa20,objectx/salsa20
text
## Code Before: cmake_minimum_required (VERSION 3.3) include (CheckCXXCompilerFlag) if (${WIN32}) CHECK_CXX_COMPILER_FLAG ("/arch:AVX" HAVE_SSE3) else () CHECK_CXX_COMPILER_FLAG ("-msse3" HAVE_SSE3) endif () if (${HAVE_SSE3}) add_definitions ("-DHAVE_SSE3") endif () set (SOURCE_FILES main.cxx md5.cxx s...
cmake_minimum_required (VERSION 3.3) include (CheckCXXCompilerFlag) if (${WIN32}) CHECK_CXX_COMPILER_FLAG ("/arch:AVX" HAVE_SSE3) else () CHECK_CXX_COMPILER_FLAG ("-msse3" HAVE_SSE3) endif () if (${HAVE_SSE3}) add_definitions ("-DHAVE_SSE3") endif () set (SOURCE_FILES ma...
15
0.652174
9
6
b30ff9b38edf1b9723c299a78e6d931400cf5920
README.md
README.md
piston-examples =============== A collection of examples using the Piston game engine ## How to build & run examples 1. Install [Cargo](https://github.com/rust-lang/cargo) 2. In the Terminal window, navigate to the project directory of the example you want to build. 3. Type `cargo build` 4. Type `make run`
A collection of examples using the Piston game engine ## How to build & run examples 1. Install [Cargo](https://github.com/rust-lang/cargo) 2. In the Terminal window, navigate to the project directory of the example you want to build. 3. Type `cargo build` 4. Type `make run`
Add travis CI status to readme
Add travis CI status to readme
Markdown
mit
Abica/piston-examples,sinistersnare/piston-examples,Potpourri/piston-examples,dannyflax/piston-examples,placrosse/piston-examples,carols10cents/piston-examples
markdown
## Code Before: piston-examples =============== A collection of examples using the Piston game engine ## How to build & run examples 1. Install [Cargo](https://github.com/rust-lang/cargo) 2. In the Terminal window, navigate to the project directory of the example you want to build. 3. Type `cargo build` 4. Type `mak...
- piston-examples - =============== A collection of examples using the Piston game engine ## How to build & run examples 1. Install [Cargo](https://github.com/rust-lang/cargo) 2. In the Terminal window, navigate to the project directory of the example you want to build. 3. Type `cargo build` 4. Typ...
2
0.181818
0
2
c9652b2f515b167453cd23d755a5bc4d2bd3155f
README.md
README.md
A simple and open source web chat room. Loosely based on [Chat](https://github.com/djrenren/nodecrash/tree/master/Chat) from [John Renner](https://github.com/djrenren)'s [nodecrash](https://github.com/djrenren/nodecrash) repository. ## Goals - Free and open source. - Simple and easy to use. - Easy to self-host, while...
A simple and open source web chat room. ## Goals - Free and open source. - Simple and easy to use. - Easy to self-host, while also providing a hosted version. - Do not require accounts by default. - Support multiple chat rooms. ## Credits - Inspired by [Campfire](https://campfirenow.com/) and [HipChat](https://www.hi...
Add a "Credits" section to the readme
Add a "Credits" section to the readme
Markdown
mit
nicolasmccurdy/ochat,nicolasmccurdy/ochat
markdown
## Code Before: A simple and open source web chat room. Loosely based on [Chat](https://github.com/djrenren/nodecrash/tree/master/Chat) from [John Renner](https://github.com/djrenren)'s [nodecrash](https://github.com/djrenren/nodecrash) repository. ## Goals - Free and open source. - Simple and easy to use. - Easy to ...
A simple and open source web chat room. - - Loosely based on [Chat](https://github.com/djrenren/nodecrash/tree/master/Chat) from [John Renner](https://github.com/djrenren)'s [nodecrash](https://github.com/djrenren/nodecrash) repository. ## Goals - Free and open source. - Simple and easy to use. - Easy to ...
6
0.6
4
2
b5ad23ac1bd90cb05085403c84a33fac9d36e69d
README.md
README.md
<img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/), a game by [Mojang AB](http://mojang.co...
<img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> *Matching Minecraft version: **1.2.X*** ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/...
Write MC version in readme
Write MC version in readme
Markdown
mit
Vexatos/inventory-tweaks,mkalam-alami/inventory-tweaks,GuntherDW/inventory-tweaks-liteloader,GuntherDW/inventory-tweaks-liteloader,mkalam-alami/inventory-tweaks,mrammy/inventory-tweaks,TGNThump/inventory-tweaks,TerraGamingNetwork/inventory-tweaks,TGNThump/inventory-tweaks,asiekierka/inventory-tweaks,asiekierka/inventor...
markdown
## Code Before: <img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www.minecraft.net/), a game by [Mojang AB](...
<img src="http://modding.kalam-alami.net/site/img/invtweaks.png" /> + + *Matching Minecraft version: **1.2.X*** ## What's this project about This Open Source project (see [License](https://github.com/mkalam-alami/inventory-tweaks/blob/master/src/doc/license.txt)) is a client mod for [Minecraft](http://www....
2
0.2
2
0
cb246389092963c8f87d85946e5d514b79c8ae85
market_description.txt
market_description.txt
Keep track of your favorite TV shows and movies. - Track your watched episodes, keep tabs on new releases and manage your media collection. - Connect with trakt to check in, comment, rate and to sync between devices and media centers. - No sign-in required, keeps working without an internet connection. - DashClock ext...
SeriesGuide – Show & Movie Manager Keep track of your favorite TV shows and movies. - Track your watched episodes, keep tabs on new releases and manage your media collection. - Connect with trakt to check in, comment, rate and to sync between devices and media centers. - No sign-in required, keeps working without an ...
Add expanded titles for translation.
Add expanded titles for translation. - Use HTTPS for links.
Text
apache-2.0
UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide
text
## Code Before: Keep track of your favorite TV shows and movies. - Track your watched episodes, keep tabs on new releases and manage your media collection. - Connect with trakt to check in, comment, rate and to sync between devices and media centers. - No sign-in required, keeps working without an internet connection....
+ SeriesGuide – Show & Movie Manager + Keep track of your favorite TV shows and movies. - Track your watched episodes, keep tabs on new releases and manage your media collection. - Connect with trakt to check in, comment, rate and to sync between devices and media centers. - No sign-in required, keeps worki...
8
0.333333
6
2
6ffff3fff7b95aec62076a92d8fbac36a07c3833
build.sbt
build.sbt
name := "gcal-slack-update" organization := "hugocf" maintainer := "hugo@ferreira.cc" scalaVersion := "2.12.2" scalacOptions += "-deprecation" scalacOptions += "-feature" // https://blog.threatstack.com/useful-scala-compiler-options-part-2-advanced-language-features scalacOptions += "-Ypartial-unification" // https:/...
name := "gcal-slack-update" organization := "hugocf" maintainer := "hugo@ferreira.cc" scalaVersion := "2.12.2" scalacOptions += "-deprecation" scalacOptions += "-feature" // https://blog.threatstack.com/useful-scala-compiler-options-part-2-advanced-language-features scalacOptions += "-Ypartial-unification" // https:/...
Fix release links to the changelog versions
docs: Fix release links to the changelog versions
Scala
mit
hugocf/gcal-slack-update
scala
## Code Before: name := "gcal-slack-update" organization := "hugocf" maintainer := "hugo@ferreira.cc" scalaVersion := "2.12.2" scalacOptions += "-deprecation" scalacOptions += "-feature" // https://blog.threatstack.com/useful-scala-compiler-options-part-2-advanced-language-features scalacOptions += "-Ypartial-unifica...
name := "gcal-slack-update" organization := "hugocf" maintainer := "hugo@ferreira.cc" scalaVersion := "2.12.2" scalacOptions += "-deprecation" scalacOptions += "-feature" // https://blog.threatstack.com/useful-scala-compiler-options-part-2-advanced-language-features scalacOptions += "-Ypartial-unifi...
2
0.074074
1
1
bcd5e0a929084e59c02b87a3cb3c955d20619dca
file/util/FileUtil.sh
file/util/FileUtil.sh
include array.validator.ArrayValidator package string FileUtil(){ construct(){ directories=($(StringUtil replace ${1} [/] space)) for directory in ${directories[@]}; do dir=${dir}/${directory} if [ ! -e ${dir} ]; then mkdir ${dir} cd ${dir} else cd ${dir} fi done } getContent(){ ...
include array.validator.ArrayValidator package string FileUtil(){ construct(){ directories=($(StringUtil replace ${1} [/] space)) for directory in ${directories[@]}; do dir=${dir}/${directory} if [ ! -e ${dir} ]; then mkdir ${dir} cd ${dir} else cd ${dir} fi done } getContent(){ ...
Use strip() instead since StringUtil is an available dependency
Use strip() instead since StringUtil is an available dependency
Shell
mit
anthony-chu/build-tool
shell
## Code Before: include array.validator.ArrayValidator package string FileUtil(){ construct(){ directories=($(StringUtil replace ${1} [/] space)) for directory in ${directories[@]}; do dir=${dir}/${directory} if [ ! -e ${dir} ]; then mkdir ${dir} cd ${dir} else cd ${dir} fi done } ...
include array.validator.ArrayValidator package string FileUtil(){ construct(){ directories=($(StringUtil replace ${1} [/] space)) for directory in ${directories[@]}; do dir=${dir}/${directory} if [ ! -e ${dir} ]; then mkdir ${dir} cd ${dir} else cd ${dir} ...
2
0.033333
1
1
8f603584251faa23bd00936d3849c1bbf5da15e7
src/js/plugins/Highlighter.js
src/js/plugins/Highlighter.js
import { SlidehubPlugin } from '../core/SlidehubPlugin'; import { config } from '../config'; import { listener } from '../util/passive-event-listener'; export { Highlighter }; /** * Highlighter. * * Highlights documents/items on hover */ class Highlighter extends SlidehubPlugin { constructor(slidehub) { con...
import { SlidehubPlugin } from '../core/SlidehubPlugin'; import { config } from '../config'; import { listener } from '../util/passive-event-listener'; export { Highlighter }; /** * Highlighter. * * Highlights documents/items on hover */ class Highlighter extends SlidehubPlugin { constructor(slidehub) { con...
Fix attempting to highlight a unloaded document
Fix attempting to highlight a unloaded document
JavaScript
mit
webis-de/slidehub,webis-de/slidehub
javascript
## Code Before: import { SlidehubPlugin } from '../core/SlidehubPlugin'; import { config } from '../config'; import { listener } from '../util/passive-event-listener'; export { Highlighter }; /** * Highlighter. * * Highlights documents/items on hover */ class Highlighter extends SlidehubPlugin { constructor(sli...
import { SlidehubPlugin } from '../core/SlidehubPlugin'; import { config } from '../config'; import { listener } from '../util/passive-event-listener'; export { Highlighter }; /** * Highlighter. * * Highlights documents/items on hover */ class Highlighter extends SlidehubPlugin { const...
4
0.076923
2
2
3abb9b7de06b1b713c24cd5d8952b9ab150bff91
metadata/com.infonuascape.osrshelper.txt
metadata/com.infonuascape.osrshelper.txt
AntiFeatures:NonFreeNet Categories:Games License:GPLv3 Web Site:https://github.com/ldionmarcil/OSRSHelper/blob/HEAD/README.md Source Code:https://github.com/ldionmarcil/OSRSHelper Issue Tracker:https://github.com/ldionmarcil/OSRSHelper/issues Auto Name:OSRS Helper Summary:View your RuneScape stats Description: View st...
AntiFeatures:NonFreeNet Categories:Games License:GPLv3 Web Site:https://github.com/ldionmarcil/OSRSHelper/blob/HEAD/README.md Source Code:https://github.com/ldionmarcil/OSRSHelper Issue Tracker:https://github.com/ldionmarcil/OSRSHelper/issues Auto Name:OSRS Helper Summary:View your RuneScape stats Description: View st...
Update OSRS Helper to 1.2.1 (5)
Update OSRS Helper to 1.2.1 (5)
Text
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata,f-droid/fdroid-data
text
## Code Before: AntiFeatures:NonFreeNet Categories:Games License:GPLv3 Web Site:https://github.com/ldionmarcil/OSRSHelper/blob/HEAD/README.md Source Code:https://github.com/ldionmarcil/OSRSHelper Issue Tracker:https://github.com/ldionmarcil/OSRSHelper/issues Auto Name:OSRS Helper Summary:View your RuneScape stats Desc...
AntiFeatures:NonFreeNet Categories:Games License:GPLv3 Web Site:https://github.com/ldionmarcil/OSRSHelper/blob/HEAD/README.md Source Code:https://github.com/ldionmarcil/OSRSHelper Issue Tracker:https://github.com/ldionmarcil/OSRSHelper/issues Auto Name:OSRS Helper Summary:View your RuneScape stats ...
5
0.192308
5
0
49d2e57643f640815f37789137974b42d4117f89
.travis.yml
.travis.yml
--- language: go go: - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: - COVERALLS='-service=travis-ci' ./.test-cover.sh
--- language: go go: - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: - ./.test-cover.sh
Disable coveralls for now, missing data
Disable coveralls for now, missing data
YAML
mit
sandlerben/go-torch,allengaller/go-torch,sandlerben/go-torch,maximecaron/go-torch,Cofyc/go-torch,allengaller/go-torch,shaunstanislaus/go-torch,denji/go-torch,chinanjjohn2012/go-torch,uber/go-torch,shaunstanislaus/go-torch,NanXiao/go-torch,chinanjjohn2012/go-torch,Cofyc/go-torch,uber/go-torch,maximecaron/go-torch,NanXia...
yaml
## Code Before: --- language: go go: - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: - COVERALLS='-service=travis-ci' ./.test-cover.sh ## Instruction: Disable coveralls for now, missing data ## Code ...
--- language: go go: - 1.4 - tip before_install: - go get -u github.com/axw/gocov/gocov - go get -u github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: - - COVERALLS='-service=travis-ci' ./.test-cover.sh + - ./.test-cover.sh
2
0.142857
1
1
271c91a607797bbd9d1a1e179745aedf580e8209
user/models.py
user/models.py
from django.conf import settings from django.contrib.auth.models import ( AbstractBaseUser, PermissionsMixin) from django.core.urlresolvers import reverse from django.db import models class Profile(models.Model): user = models.OneToOneField( settings.AUTH_USER_MODEL) slug = models.SlugField( ...
from django.conf import settings from django.contrib.auth.models import ( AbstractBaseUser, PermissionsMixin) from django.core.urlresolvers import reverse from django.db import models class Profile(models.Model): user = models.OneToOneField( settings.AUTH_USER_MODEL) name = models.CharField( ...
Add name and joined date field to Profile.
Ch22: Add name and joined date field to Profile.
Python
bsd-2-clause
jambonrose/DjangoUnleashed-1.8,jambonrose/DjangoUnleashed-1.8
python
## Code Before: from django.conf import settings from django.contrib.auth.models import ( AbstractBaseUser, PermissionsMixin) from django.core.urlresolvers import reverse from django.db import models class Profile(models.Model): user = models.OneToOneField( settings.AUTH_USER_MODEL) slug = models....
from django.conf import settings from django.contrib.auth.models import ( AbstractBaseUser, PermissionsMixin) from django.core.urlresolvers import reverse from django.db import models class Profile(models.Model): user = models.OneToOneField( settings.AUTH_USER_MODEL) + name = m...
11
0.207547
11
0
8f917149457b568570d8996581a4658d1f066a7c
metadata/com.headi.app.yml
metadata/com.headi.app.yml
Categories: - Sports & Health License: MIT AuthorName: MrReSc SourceCode: https://github.com/MrReSc/Headi IssueTracker: https://github.com/MrReSc/Headi/issues Translation: https://crwd.in/headi Changelog: https://github.com/MrReSc/Headi/releases AutoName: Headi RepoType: git Repo: https://github.com/MrReSc/Headi B...
Categories: - Sports & Health License: MIT AuthorName: MrReSc SourceCode: https://github.com/MrReSc/Headi IssueTracker: https://github.com/MrReSc/Headi/issues Translation: https://crwd.in/headi Changelog: https://github.com/MrReSc/Headi/releases AutoName: Headi RepoType: git Repo: https://github.com/MrReSc/Headi B...
Update Headi to 1.10.0-beta (1100)
Update Headi to 1.10.0-beta (1100)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - Sports & Health License: MIT AuthorName: MrReSc SourceCode: https://github.com/MrReSc/Headi IssueTracker: https://github.com/MrReSc/Headi/issues Translation: https://crwd.in/headi Changelog: https://github.com/MrReSc/Headi/releases AutoName: Headi RepoType: git Repo: https://github.com...
Categories: - Sports & Health License: MIT AuthorName: MrReSc SourceCode: https://github.com/MrReSc/Headi IssueTracker: https://github.com/MrReSc/Headi/issues Translation: https://crwd.in/headi Changelog: https://github.com/MrReSc/Headi/releases AutoName: Headi RepoType: git Repo: https://...
11
0.333333
9
2
f136ebade93a5e070f8d57bd5ad53e5191874248
fizzbuzz/fizzbuzz.go
fizzbuzz/fizzbuzz.go
package fizzbuzz import ( "fmt" "log" ) func Generate(count int) ([]string, error) { if count <= 0 { return nil, fmt.Errorf("fizzbuzz: Negative fizzbuzz count provided") } fizzbuzz := make([]string, count) var output string for i := 1; i <= count; i++ { switch { case i%15 == 0: output = "FizzBuzz" ...
package fizzbuzz import ( "fmt" "log" ) func Generate(count int) ([]string, error) { if count <= 0 { return nil, fmt.Errorf("fizzbuzz: Negative fizzbuzz count provided") } fizzbuzz := make([]string, count) var output string for i := 1; i <= count; i++ { switch { case i%15 == 0: output = "FizzBuzz" ...
Fix off by one and string conversion
Fix off by one and string conversion
Go
isc
mulander/goexamples
go
## Code Before: package fizzbuzz import ( "fmt" "log" ) func Generate(count int) ([]string, error) { if count <= 0 { return nil, fmt.Errorf("fizzbuzz: Negative fizzbuzz count provided") } fizzbuzz := make([]string, count) var output string for i := 1; i <= count; i++ { switch { case i%15 == 0: outpu...
package fizzbuzz import ( "fmt" "log" ) func Generate(count int) ([]string, error) { if count <= 0 { return nil, fmt.Errorf("fizzbuzz: Negative fizzbuzz count provided") } fizzbuzz := make([]string, count) var output string for i := 1; i <= count; i++ { switch { case...
4
0.095238
2
2
85294e8367b95108d8a29567a509f87823764495
billy/web/admin/templates/billy/matching_debug.html
billy/web/admin/templates/billy/matching_debug.html
{% extends "billy/base.html" %} {% load humanize %} {% load staticfiles %} {% load billy_utiltags %} {% load url from future %} {% block title %}Data Quality{% endblock %} {% block script %} <script> $(document).ready(function(){ var trs = $("tr"); trs.click(function(){ var href = $(this).at...
{% extends "billy/base.html" %} {% load humanize %} {% load staticfiles %} {% load billy_utiltags %} {% load url from future %} {% block title %}Data Quality{% endblock %} {% block script %} <script> $(document).ready(function(){ var trs = $("tr"); trs.click(function(){ var href = $(this).at...
Add number of names found to H1
Add number of names found to H1
HTML
bsd-3-clause
sunlightlabs/billy,sunlightlabs/billy,sunlightlabs/billy,mileswwatkins/billy,loandy/billy,loandy/billy,mileswwatkins/billy,openstates/billy,loandy/billy,openstates/billy,openstates/billy,mileswwatkins/billy
html
## Code Before: {% extends "billy/base.html" %} {% load humanize %} {% load staticfiles %} {% load billy_utiltags %} {% load url from future %} {% block title %}Data Quality{% endblock %} {% block script %} <script> $(document).ready(function(){ var trs = $("tr"); trs.click(function(){ var h...
{% extends "billy/base.html" %} {% load humanize %} {% load staticfiles %} {% load billy_utiltags %} {% load url from future %} {% block title %}Data Quality{% endblock %} {% block script %} <script> $(document).ready(function(){ var trs = $("tr"); trs.click(function(){ ...
1
0.023256
1
0
fd9a2ea291b7881211b4c5b532843ccde6d63b42
spec/spec_helper.rb
spec/spec_helper.rb
require 'pry' require 'rspec/its' RSpec.configure do |c| # Enable 'should' syntax c.expect_with(:rspec) { |c| c.syntax = [:should, :expect] } c.mock_with(:rspec) { |c| c.syntax = [:should, :expect] } # Only run tests marked with iso:true. c.filter_run_including iso:true c.run_all_when_everything_filt...
require 'pry' require 'rspec/its' RSpec.configure do |c| # Enable 'should' syntax c.expect_with(:rspec) { |c| c.syntax = [:should, :expect] } c.mock_with(:rspec) { |c| c.syntax = [:should, :expect] } # Only run tests marked with focus: true. c.filter_run_including focus: true c.run_all_when_everythin...
Change spec filter :iso to :focus for compatibility with `fit` method.
Change spec filter :iso to :focus for compatibility with `fit` method.
Ruby
mit
amclain/machinegun
ruby
## Code Before: require 'pry' require 'rspec/its' RSpec.configure do |c| # Enable 'should' syntax c.expect_with(:rspec) { |c| c.syntax = [:should, :expect] } c.mock_with(:rspec) { |c| c.syntax = [:should, :expect] } # Only run tests marked with iso:true. c.filter_run_including iso:true c.run_all_when...
require 'pry' require 'rspec/its' RSpec.configure do |c| # Enable 'should' syntax c.expect_with(:rspec) { |c| c.syntax = [:should, :expect] } c.mock_with(:rspec) { |c| c.syntax = [:should, :expect] } - # Only run tests marked with iso:true. ? ^ - + # On...
4
0.190476
2
2
8cabda8ff6a6fe61158c26360245f3170f197c50
docs/docs/walkthrough/phase-0/loops-in-progress.md
docs/docs/walkthrough/phase-0/loops-in-progress.md
To get you comfortable with submitting a "PR" (stands for pull request), test it out by submitting a PR to this page, adding your name to the list of people who have loops in progress. This way we know how many people are in the development phase, too. New to Github, and PRs? [Check out how to submit your first PR](....
To get you comfortable with submitting a "PR" (stands for pull request), test it out by submitting a PR to this page, adding your name to the list of people who have loops in progress. This way we know how many people are in the development phase, too. New to Github, and PRs? [Check out how to submit your first PR](....
Add Rob Kresha to the loopers
Add Rob Kresha to the loopers
Markdown
mit
sarahspins/docs,danamlewis/docs,openaps/docs,jbwittmer/docs,dakago/docs,Pazoles/docs,Jieseldeep/docs,danamlewis/docs
markdown
## Code Before: To get you comfortable with submitting a "PR" (stands for pull request), test it out by submitting a PR to this page, adding your name to the list of people who have loops in progress. This way we know how many people are in the development phase, too. New to Github, and PRs? [Check out how to submit ...
To get you comfortable with submitting a "PR" (stands for pull request), test it out by submitting a PR to this page, adding your name to the list of people who have loops in progress. This way we know how many people are in the development phase, too. New to Github, and PRs? [Check out how to submit your fir...
1
0.038462
1
0
4c124f151c2f8d466840b10e7ed53395b3d587dc
UM/Math/Ray.py
UM/Math/Ray.py
from UM.Math.Vector import Vector class Ray: def __init__(self, origin = Vector(), direction = Vector()): self._origin = origin self._direction = direction self._invDirection = 1.0 / direction @property def origin(self): return self._origin @property def direction(...
from UM.Math.Vector import Vector class Ray: def __init__(self, origin = Vector(), direction = Vector()): self._origin = origin self._direction = direction self._invDirection = 1.0 / direction @property def origin(self): return self._origin @property def direction(...
Add a convenience method to get a point along a ray
Add a convenience method to get a point along a ray
Python
agpl-3.0
onitake/Uranium,onitake/Uranium
python
## Code Before: from UM.Math.Vector import Vector class Ray: def __init__(self, origin = Vector(), direction = Vector()): self._origin = origin self._direction = direction self._invDirection = 1.0 / direction @property def origin(self): return self._origin @property ...
from UM.Math.Vector import Vector class Ray: def __init__(self, origin = Vector(), direction = Vector()): self._origin = origin self._direction = direction self._invDirection = 1.0 / direction @property def origin(self): return self._origin @p...
3
0.136364
3
0
68b0405c6c2065132b3ec520974f857704a23dd7
systemd/journald-wrapper/start.sh
systemd/journald-wrapper/start.sh
/opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id` AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret` AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region` PREFIX=`/usr/bin/etcdctl get /_arken.io/key` exec docker run ...
/opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id` AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret` AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region` PREFIX=`/usr/bin/etcdctl get /_arken.io/key` CURSOR_PATH=/data...
Fix wrong docker run cmd
NXIO-358: Fix wrong docker run cmd
Shell
lgpl-2.1
nuxeo/nuxeo.io
shell
## Code Before: /opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id` AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret` AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region` PREFIX=`/usr/bin/etcdctl get /_arken.io/key` ...
/opt/data/tools/docker-clean.sh journald-wrapper &> /dev/null AWS_ACCESS_ID=`/usr/bin/etcdctl get /_arken.io/config/aws/id` AWS_ACCESS_SECRET=`/usr/bin/etcdctl get /_arken.io/config/aws/secret` AWS_REGION=`/usr/bin/etcdctl get /_arken.io/config/s3/region` PREFIX=`/usr/bin/etcdctl get /_arken.io/key` + C...
5
0.555556
4
1
bdc814db868075c75b85aa9110c84d5cc489e193
oca_dependencies.txt
oca_dependencies.txt
queue partner-contact report-print-send server-tools connector-telephony hr social website-cms geospatial survey bank-payment https://github.com/CompassionCH/bank-payment 10.0-payment-cancel web l10n-switzerland compassion-accounting https://github.com/CompassionCH/compassion-accounting devel compassion-modules https:/...
queue partner-contact report-print-send server-tools connector-telephony hr https://github.com/CompassionCH/hr hr-extra-hours social website-cms geospatial survey bank-payment https://github.com/CompassionCH/bank-payment 10.0-payment-cancel web l10n-switzerland compassion-accounting https://github.com/CompassionCH/comp...
Change dependency to hr repository fork for travis
Change dependency to hr repository fork for travis
Text
agpl-3.0
CompassionCH/compassion-switzerland,eicher31/compassion-switzerland,CompassionCH/compassion-switzerland,eicher31/compassion-switzerland,ecino/compassion-switzerland,ecino/compassion-switzerland,eicher31/compassion-switzerland,ecino/compassion-switzerland,CompassionCH/compassion-switzerland
text
## Code Before: queue partner-contact report-print-send server-tools connector-telephony hr social website-cms geospatial survey bank-payment https://github.com/CompassionCH/bank-payment 10.0-payment-cancel web l10n-switzerland compassion-accounting https://github.com/CompassionCH/compassion-accounting devel compassion...
queue partner-contact report-print-send server-tools connector-telephony - hr + hr https://github.com/CompassionCH/hr hr-extra-hours social website-cms geospatial survey bank-payment https://github.com/CompassionCH/bank-payment 10.0-payment-cancel web l10n-switzerland compassion-accounting htt...
2
0.133333
1
1
6a6b8290cdb419a8e3e82747f2c46102f9b0267b
lib/active_application/controller_methods.rb
lib/active_application/controller_methods.rb
module ActiveApplication module ControllerMethods private def render_not_found render "active_application/public/base/not_found", status: :not_found, layout: false end def require_customer_role require_role :customer end def require_administrator_role require_role :adminis...
module ActiveApplication module ControllerMethods private def render_not_found render "active_application/public/base/not_found", status: :not_found, layout: false end def require_customer_role require_role :customer end def require_administrator_role require_role :adminis...
Remove set_locale added by mistake
Remove set_locale added by mistake
Ruby
mit
jarijokinen/active_application,jarijokinen/active_application
ruby
## Code Before: module ActiveApplication module ControllerMethods private def render_not_found render "active_application/public/base/not_found", status: :not_found, layout: false end def require_customer_role require_role :customer end def require_administrator_role requi...
module ActiveApplication module ControllerMethods private def render_not_found render "active_application/public/base/not_found", status: :not_found, layout: false end def require_customer_role require_role :customer end def require_administrator_role ...
6
0.109091
3
3
0d2f0c1d8baef3a288fac90bb1e607d02669d66b
files/hiera/data/classroom.yaml
files/hiera/data/classroom.yaml
--- puppet_enterprise::profile::console::rbac_session_timeout: 4320 puppet_enterprise::profile::puppetdb::listen_address: '0.0.0.0' pe_repo::base_path: 'https://master.puppetlabs.vm:8140/packages/classroom' puppet_enterprise::master::puppetserver::jruby_environment_class_cache_enabled: true puppet_enterprise::profile::...
--- puppet_enterprise::profile::console::rbac_session_timeout: 4320 puppet_enterprise::profile::puppetdb::listen_address: '0.0.0.0' pe_repo::compile_master_pool_address: 'https://master.puppetlabs.vm' puppet_enterprise::master::puppetserver::jruby_environment_class_cache_enabled: true puppet_enterprise::profile::consol...
Set the pe_repo url to dl from master
Set the pe_repo url to dl from master
YAML
apache-2.0
puppetlabs/pltraining-classroom,carthik/pltraining-classroom,samuelson/pltraining-classroom,carthik/pltraining-classroom,joshsamuelson/pltraining-classroom,binford2k/pltraining-classroom,samuelson/pltraining-classroom,carthik/pltraining-classroom,joshsamuelson/pltraining-classroom,puppetlabs/pltraining-classroom,puppet...
yaml
## Code Before: --- puppet_enterprise::profile::console::rbac_session_timeout: 4320 puppet_enterprise::profile::puppetdb::listen_address: '0.0.0.0' pe_repo::base_path: 'https://master.puppetlabs.vm:8140/packages/classroom' puppet_enterprise::master::puppetserver::jruby_environment_class_cache_enabled: true puppet_enter...
--- puppet_enterprise::profile::console::rbac_session_timeout: 4320 puppet_enterprise::profile::puppetdb::listen_address: '0.0.0.0' - pe_repo::base_path: 'https://master.puppetlabs.vm:8140/packages/classroom' + pe_repo::compile_master_pool_address: 'https://master.puppetlabs.vm' puppet_enterprise::master::puppe...
2
0.333333
1
1
9b52d2610bf3bfcd3428ef8818384e599afb80a2
Code/CLOS/additional-classes.lisp
Code/CLOS/additional-classes.lisp
(in-package #:sicl-clos) (define-built-in-class sequence (t) ()) (define-built-in-class list (sequence) ()) (define-built-in-class symbol () ((%name :initarg :name :reader symbol-name) (%package :initarg :package :reader symbol-package))) (define-built-in-class null (symbol list) ())
(in-package #:sicl-clos) ;;; We need for funcallable standard objects and standard functions to ;;; be called the same way. There is a slight difficulty in order for ;;; that to happen, though. When a funcallable standard object is ;;; allocated, since it is a standard object, two additional cells are ;;; allocated ...
Define STANDARD-FUNCTION and explain why it is defined that way in comment.
Define STANDARD-FUNCTION and explain why it is defined that way in comment.
Common Lisp
bsd-2-clause
vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL
common-lisp
## Code Before: (in-package #:sicl-clos) (define-built-in-class sequence (t) ()) (define-built-in-class list (sequence) ()) (define-built-in-class symbol () ((%name :initarg :name :reader symbol-name) (%package :initarg :package :reader symbol-package))) (define-built-in-class null (symbol list) ()) #...
(in-package #:sicl-clos) + + ;;; We need for funcallable standard objects and standard functions to + ;;; be called the same way. There is a slight difficulty in order for + ;;; that to happen, though. When a funcallable standard object is + ;;; allocated, since it is a standard object, two additional cells are + ...
28
1.75
28
0
e81ce4fdd59517aa710776fb563867a1c5303375
features/step_definitions/controller_steps.rb
features/step_definitions/controller_steps.rb
When(/I have an authorized Controller defined as/) do |controller_code| require 'action_controller' require 'eaco/controller' @controller_class = Class.new(ActionController::Base) @controller_class.send(:attr_accessor, :current_user) @controller_class.instance_eval { include Eaco::Controller } @controller_...
When(/I have an authorized Controller defined as/) do |controller_code| require 'action_controller' require 'eaco/controller' @controller_class = Class.new(ActionController::Base) @controller_class.send(:attr_accessor, :current_user) @controller_class.instance_eval { include Eaco::Controller } @controller_...
Add nocov to Rails version-specific code to prevent false failures
Add nocov to Rails version-specific code to prevent false failures
Ruby
mit
ifad/eaco
ruby
## Code Before: When(/I have an authorized Controller defined as/) do |controller_code| require 'action_controller' require 'eaco/controller' @controller_class = Class.new(ActionController::Base) @controller_class.send(:attr_accessor, :current_user) @controller_class.instance_eval { include Eaco::Controller ...
When(/I have an authorized Controller defined as/) do |controller_code| require 'action_controller' require 'eaco/controller' @controller_class = Class.new(ActionController::Base) @controller_class.send(:attr_accessor, :current_user) @controller_class.instance_eval { include Eaco::Controller } ...
2
0.05
2
0
11cce755880127565e88bd50c63c6f0b7ee6051f
clutter-gst/clutter-gst-shaders.h
clutter-gst/clutter-gst-shaders.h
/* Copied from test-shaders */ /* These variables are used instead of the standard GLSL variables on GLES 2 */ #ifdef COGL_HAS_GLES #define GLES2_VARS \ "precision mediump float;\n" \ "varying vec2 tex_coord;\n" \ "varying vec4 frag_color;\n" #define TEX_COORD "tex_coord" #define COLOR_VAR "...
/* Copied from test-shaders */ /* These variables are used instead of the standard GLSL variables on GLES 2 */ #ifdef COGL_HAS_GLES #define GLES2_VARS \ "precision mediump float;\n" #define TEX_COORD "cogl_tex_coord_in[0]" #define COLOR_VAR "cogl_color_in" #else /* COGL_HAS_GLES */ #define GLES2_...
Update the shaders to work with Cogl 1.6.0+ and GLES2
sink: Update the shaders to work with Cogl 1.6.0+ and GLES2 The GLES2 shaders were considered private API until 1.6.0, see discussion: https://bugzilla.gnome.org/show_bug.cgi?id=661071 Let's update the variable names and depend on 1.6.0
C
lgpl-2.1
GNOME/clutter-gst,skinkie/clutter-gst,lubosz/clutter-gst,skinkie/clutter-gst,ystreet/clutter-gst,GNOME/clutter-gst,ystreet/clutter-gst,ystreet/clutter-gst,GNOME/clutter-gst,skinkie/clutter-gst,ystreet/clutter-gst,GNOME/clutter-gst,lubosz/clutter-gst,lubosz/clutter-gst
c
## Code Before: /* Copied from test-shaders */ /* These variables are used instead of the standard GLSL variables on GLES 2 */ #ifdef COGL_HAS_GLES #define GLES2_VARS \ "precision mediump float;\n" \ "varying vec2 tex_coord;\n" \ "varying vec4 frag_color;\n" #define TEX_COORD "tex_coord" #de...
/* Copied from test-shaders */ /* These variables are used instead of the standard GLSL variables on GLES 2 */ #ifdef COGL_HAS_GLES #define GLES2_VARS \ - "precision mediump float;\n" \ ? --- + "precision mediump float;\n" - "varying vec2 tex_coor...
8
0.210526
3
5
226e934533f6a3566454f04258f4df70b2ca8ba2
commands/testing_commands.js
commands/testing_commands.js
module.exports = { ping: (message) => { message.reply('pong!'); }, echo: (message, _, msg) => { if (msg) { message.channel.send(msg); } }, };
module.exports = { ping: (message) => { message.reply('pong!'); }, echo: (message, _, msg) => { if (msg) { message.channel.send(msg); } else { message.channel.send('Provide text to echo.'); } }, };
Handle empty messages on echo
Handle empty messages on echo
JavaScript
mit
Rafer45/soup
javascript
## Code Before: module.exports = { ping: (message) => { message.reply('pong!'); }, echo: (message, _, msg) => { if (msg) { message.channel.send(msg); } }, }; ## Instruction: Handle empty messages on echo ## Code After: module.exports = { ping: (message) => { ...
module.exports = { ping: (message) => { message.reply('pong!'); }, echo: (message, _, msg) => { if (msg) { message.channel.send(msg); + } else { + message.channel.send('Provide text to echo.'); } }, };
2
0.166667
2
0
6625d0312d4772e70677dc296e23f50ee675cd69
settings.rb
settings.rb
DB = Sequel.connect("postgres://antifa:antifa@127.0.0.1/antifa") CACHE_CLIENT = Dalli::Client.new( '127.0.0.1:11211', :value_max_bytes => 5242880 ) SPHINX = Sequel.connect("mysql2://127.0.0.1/sphinx?port=9306") SPHINX_T = "doc1"
DB = Sequel.connect("postgres://antifa:antifa@127.0.0.1/antifa") CACHE_CLIENT = Dalli::Client.new( '127.0.0.1:11211', :value_max_bytes => 5242880, :namespace => "antifa" ) SPHINX = Sequel.connect("mysql2://127.0.0.1/sphinx?port=9306") SPHINX_T = "doc1"
Add configurable namespace for memcached client
Add configurable namespace for memcached client
Ruby
bsd-2-clause
gnwp/zalgo_v3
ruby
## Code Before: DB = Sequel.connect("postgres://antifa:antifa@127.0.0.1/antifa") CACHE_CLIENT = Dalli::Client.new( '127.0.0.1:11211', :value_max_bytes => 5242880 ) SPHINX = Sequel.connect("mysql2://127.0.0.1/sphinx?port=9306") SPHINX_T = "doc1" ## Instruction: Add configurable namespace for memcached client ## Code ...
DB = Sequel.connect("postgres://antifa:antifa@127.0.0.1/antifa") - CACHE_CLIENT = Dalli::Client.new( '127.0.0.1:11211', :value_max_bytes => 5242880 ) + CACHE_CLIENT = Dalli::Client.new( '127.0.0.1:11211', :value_max_bytes => 5242880, :namespace => "antifa" ) ? ...
2
0.4
1
1
1edf758d2dd6e24156fce21e89ce923375c32db0
src/curl/cram/cjsm11.js
src/curl/cram/cjsm11.js
/** MIT License (c) copyright 2010-2013 B Cavalier & J Hann */ /** * cram CommonJS modules/1.1 plugin */ define(['./jsEncode', '../loader/cjsm11'], function (jsEncode, wrapCjsm11) { return { compile: function (pluginId, resId, req, io, config) { io.read(resId, function (text) { io.write(jsEncode(wrapCjsm1...
/** MIT License (c) copyright 2010-2013 B Cavalier & J Hann */ /** * cram CommonJS modules/1.1 plugin */ define(['./jsEncode', '../loader/cjsm11'], function (jsEncode, wrapCjsm11) { return { compile: function (pluginId, resId, req, io, config) { if (resId.substr(resId.length - 3) !== ".js") { resId += ".j...
Add .js to cjs module id if needed for cram
Add .js to cjs module id if needed for cram
JavaScript
mit
runt18/curl,runt18/curl,vtex/curl,cujojs/curl,jaredcacurak/curl,djkost85/curl-1,vtex/curl,vtex/curl,djkost85/curl-1,jaredcacurak/curl,dfd07d/curl,runt18/curl,marian-r/curl,dfd07d/curl,cujojs/curl,cujojs/curl,marian-r/curl,dfd07d/curl,marian-r/curl,djkost85/curl-1,jaredcacurak/curl
javascript
## Code Before: /** MIT License (c) copyright 2010-2013 B Cavalier & J Hann */ /** * cram CommonJS modules/1.1 plugin */ define(['./jsEncode', '../loader/cjsm11'], function (jsEncode, wrapCjsm11) { return { compile: function (pluginId, resId, req, io, config) { io.read(resId, function (text) { io.write(js...
/** MIT License (c) copyright 2010-2013 B Cavalier & J Hann */ /** * cram CommonJS modules/1.1 plugin */ define(['./jsEncode', '../loader/cjsm11'], function (jsEncode, wrapCjsm11) { return { compile: function (pluginId, resId, req, io, config) { + if (resId.substr(resId.length - 3) !== ".js"...
3
0.1875
3
0
f3603d62cc3730923cf123d40f13b7f4b12f1d6e
README.md
README.md
An Erlang RPC library for out-of-band messaging. [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=master)](https://travis-ci.org/priestjim/gen_rpc) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=develop)](https://travis-ci.org/priestjim/gen_rpc) [![Coverage Status](https://cover...
An Erlang RPC library for out-of-band messaging. ![Tag Version](https://img.shields.io/github/tag/priestjim/gen_rpc.svg) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=master)](https://travis-ci.org/priestjim/gen_rpc) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=develop)](ht...
Add make selected information more transparent
Add make selected information more transparent
Markdown
apache-2.0
priestjim/gen_rpc
markdown
## Code Before: An Erlang RPC library for out-of-band messaging. [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=master)](https://travis-ci.org/priestjim/gen_rpc) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=develop)](https://travis-ci.org/priestjim/gen_rpc) [![Coverage Statu...
An Erlang RPC library for out-of-band messaging. + ![Tag Version](https://img.shields.io/github/tag/priestjim/gen_rpc.svg) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=master)](https://travis-ci.org/priestjim/gen_rpc) [![Build Status](https://travis-ci.org/priestjim/gen_rpc.svg?branch=deve...
3
0.214286
3
0
29958f3f13ca64f3208eb12b9e80f73459aebe00
_config.yml
_config.yml
menu: # Home: / # Archives: /archives rss: /atom.xml # Content excerpt_link: Read More fancybox: true # Sidebar #sidebar: right widgets: - category - tag - tagcloud - archive - recent_posts # Miscellaneous google_analytics: favicon: /favicon.png pinterest: twitter: github: google_plus: fb_admins: fb_app_id:
menu: # Home: / # Archives: /archives rss: /atom.xml # Content excerpt_link: Read More fancybox: true # Sidebar sidebar: bottom widgets: #- category #- tag - tagcloud #- archive #- recent_posts # Miscellaneous google_analytics: favicon: /favicon.png pinterest: twitter: github: google_plus: fb_admins: fb_app_id:
Put sidebar at the bottom and only enable tagcloud
Put sidebar at the bottom and only enable tagcloud
YAML
mit
initrc/hexo-theme-single
yaml
## Code Before: menu: # Home: / # Archives: /archives rss: /atom.xml # Content excerpt_link: Read More fancybox: true # Sidebar #sidebar: right widgets: - category - tag - tagcloud - archive - recent_posts # Miscellaneous google_analytics: favicon: /favicon.png pinterest: twitter: github: google_plus: fb_admins: f...
menu: # Home: / # Archives: /archives rss: /atom.xml # Content excerpt_link: Read More fancybox: true # Sidebar - #sidebar: right + sidebar: bottom widgets: - - category + #- category ? + - - tag + #- tag ? + - tagcloud - - archive + #- archive ? + - - recent_posts + #- recent_posts ? + ...
10
0.37037
5
5
be5f0ce44cf710c3a914c536fa8cde23defa5eb0
installer/frontend/ui-tests/pages/platformPage.js
installer/frontend/ui-tests/pages/platformPage.js
const wizard = require('../utils/wizard'); const platformPageCommands = { test (platformEl) { this.expect.element('select#platformType').to.be.visible.before(60000); this.selectOption('@awsGUI'); this.expect.element(wizard.nextStep).to.be.present; this.selectOption('@awsAdvanced'); this.expect.e...
const wizard = require('../utils/wizard'); const platformPageCommands = { test (platformEl) { this.expect.element('select#platformType').to.be.visible.before(60000); // Platform should default to AWS this.expect.element('select#platformType').to.have.value.that.equals('aws-tf'); this.expect.element(...
Test that platform select has expected default value
tests/frontend: Test that platform select has expected default value
JavaScript
apache-2.0
lander2k2/tectonic-installer,lander2k2/tectonic-installer,squat/tectonic-installer,cpanato/tectonic-installer,kyoto/tectonic-installer,kalmog/tectonic-installer,kyoto/tectonic-installer,squat/tectonic-installer,squat/tectonic-installer,derekhiggins/installer,kalmog/tectonic-installer,lander2k2/tectonic-installer,kyoto/...
javascript
## Code Before: const wizard = require('../utils/wizard'); const platformPageCommands = { test (platformEl) { this.expect.element('select#platformType').to.be.visible.before(60000); this.selectOption('@awsGUI'); this.expect.element(wizard.nextStep).to.be.present; this.selectOption('@awsAdvanced'); ...
const wizard = require('../utils/wizard'); const platformPageCommands = { test (platformEl) { this.expect.element('select#platformType').to.be.visible.before(60000); - this.selectOption('@awsGUI'); + // Platform should default to AWS + this.expect.element('select#platformType').to.have.v...
4
0.114286
3
1
9e5e9a03af8de1009621c099d90abaaf51e0ec42
src/js/constants/ServiceSchema.js
src/js/constants/ServiceSchema.js
/* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import General from './service-schema/General'; import Optional from './service-schema/Optional'; let ServiceSchema = { type: 'object', properties: { General: General, 'Container Settings': { descriptio...
/* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import General from './service-schema/General'; import Optional from './service-schema/Optional'; let ServiceSchema = { type: 'object', properties: { General: General, 'Container Settings': { descriptio...
Add environment variables to service schema
Add environment variables to service schema
JavaScript
apache-2.0
dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui
javascript
## Code Before: /* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import General from './service-schema/General'; import Optional from './service-schema/Optional'; let ServiceSchema = { type: 'object', properties: { General: General, 'Container Settings': { ...
/* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import General from './service-schema/General'; import Optional from './service-schema/Optional'; let ServiceSchema = { type: 'object', properties: { General: General, 'Container Setti...
33
0.634615
32
1
4172bd815c87a239d0d57201ddd01392e2a6dfeb
lib/subcommand.js
lib/subcommand.js
/* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name with a command....
/* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name with a command....
Fix doc comment for CommandGroup and add one for the Subcommand constructor
Fix doc comment for CommandGroup and add one for the Subcommand constructor
JavaScript
mit
susisu/Optics
javascript
## Code Before: /* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `Subcommand` associates a name...
/* * Optics / subcommand.js * copyright (c) 2016 Susisu */ /** * @module subcommand */ "use strict"; function endModule() { module.exports = Object.freeze({ Subcommand, CommandGroup }); } const command = require("./command.js"); /** * The `S...
7
0.134615
6
1
0ec06924f2c02763a6e21ca6b0e8e8a45644c0b7
webpack.config.js
webpack.config.js
const path = require('path'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); const CompressionPlugin = require('compression-webpack-plugin'); const config = { entry: path.resolve(__dirname, './src/index.js'), output: { path: path.resolve(__dirname, './dist'), filename: 'ap...
const path = require('path'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); const config = { entry: path.resolve(__dirname, './src/index.js'), output: { path: path.resolve(__dirname, './dist'), filename: 'app.bundle.js', }, module: { rules: [ {...
Remove devtool in production build
Remove devtool in production build - Reduces bundle size by 90%
JavaScript
mit
arnav-aggarwal/react-boilerplate-setup
javascript
## Code Before: const path = require('path'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); const CompressionPlugin = require('compression-webpack-plugin'); const config = { entry: path.resolve(__dirname, './src/index.js'), output: { path: path.resolve(__dirname, './dist'), ...
const path = require('path'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); - const CompressionPlugin = require('compression-webpack-plugin'); const config = { entry: path.resolve(__dirname, './src/index.js'), output: { path: path.resolve(__dirname, './dist'), ...
13
0.240741
2
11
d0cf2ffa9ed5613bd6bb34c7cd6049d8b6304b27
test/cypress/plugins/index.js
test/cypress/plugins/index.js
/* eslint-disable */ require('dotenv').config() module.exports = (on, config) => { if (config.testingType === 'component') { require('@cypress/react/plugins/load-webpack')(on, config, {webpackFilename: './webpack.config.js'}) return config } require('@cypress/code-coverage/task')(on, config) on('file:...
/* eslint-disable */ require('dotenv').config() module.exports = (on, config) => { if (config.testingType === 'component') { require('@cypress/react/plugins/load-webpack')(on, config, { webpackFilename: './webpack.config.js' }) return config } require('@cypress/code-coverage/task')(on, config) on('fil...
Fix formatting in plugins file
Fix formatting in plugins file
JavaScript
mit
uktrade/data-hub-fe-beta2,uktrade/data-hub-frontend,uktrade/data-hub-frontend,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2
javascript
## Code Before: /* eslint-disable */ require('dotenv').config() module.exports = (on, config) => { if (config.testingType === 'component') { require('@cypress/react/plugins/load-webpack')(on, config, {webpackFilename: './webpack.config.js'}) return config } require('@cypress/code-coverage/task')(on, con...
/* eslint-disable */ require('dotenv').config() module.exports = (on, config) => { if (config.testingType === 'component') { - require('@cypress/react/plugins/load-webpack')(on, config, {webpackFilename: './webpack.config.js'}) + require('@cypress/react/plugins/load-webpack')(on, config, { webpackF...
8
0.421053
6
2
82651822bc230361c929a5a06142eeb38dbfb98f
usr.sbin/ctm/ctm/Makefile
usr.sbin/ctm/ctm/Makefile
PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk>
PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall BINDIR= /usr/sbin .include <bsd.prog.mk>
Add BINDIR=/usr/sbin for install, fails in other case Remove -g from CFLAGS
Add BINDIR=/usr/sbin for install, fails in other case Remove -g from CFLAGS
unknown
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
unknown
## Code Before: PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 CFLAGS+= -Wall -g .include <bsd.prog.mk> ## Instruction: Add BINDIR=/usr/sbin for install, fails in other case Remove -g from CFLAGS ## Code After: PROG= ctm...
PROG= ctm NOTYET= ctm_ed.c SRCS= ctm.c ctm_input.c ctm_pass1.c ctm_pass2.c ctm_pass3.c \ ctm_syntax.c ctm_ed.c LDADD+= -lmd NOMAN= 1 - CFLAGS+= -Wall -g + CFLAGS+= -Wall + BINDIR= /usr/sbin .include <bsd.prog.mk>
3
0.333333
2
1
dcd3bfb152e4661bb0b8935c58f72aa2d6488ec7
package.json
package.json
{ "name": "crowdstart-checkout", "version": "1.1.13", "description": "One Click Checkout for Crowdstart", "main": "checkout.js", "scripts": { "prepublish": "cake build", "test": "cake test" }, "keywords": [ "checkout", "crowdfunding", "store", "ecommerce" ], "author": "Crowdsta...
{ "name": "crowdstart-checkout", "version": "1.1.13", "description": "One Click Checkout for Crowdstart", "main": "checkout.js", "scripts": { "prepublish": "cake build", "test": "cake test" }, "keywords": [ "checkout", "crowdfunding", "store", "ecommerce" ], "author": "Crowdsta...
Add 'mocha' as a dev-dependency
Add 'mocha' as a dev-dependency
JSON
unknown
crowdstart/checkout.js,hanzo-io/checkout.js,crowdstart/checkout,crowdstart/checkout.js,crowdstart/checkout,hanzo-io/checkout.js
json
## Code Before: { "name": "crowdstart-checkout", "version": "1.1.13", "description": "One Click Checkout for Crowdstart", "main": "checkout.js", "scripts": { "prepublish": "cake build", "test": "cake test" }, "keywords": [ "checkout", "crowdfunding", "store", "ecommerce" ], "au...
{ "name": "crowdstart-checkout", "version": "1.1.13", "description": "One Click Checkout for Crowdstart", "main": "checkout.js", "scripts": { "prepublish": "cake build", "test": "cake test" }, "keywords": [ "checkout", "crowdfunding", "store", "ecommerce...
1
0.026316
1
0
920fae3756b7484b1e02fb3723b4c4a0d87cdb79
.scrutinizer.yml
.scrutinizer.yml
filter: excluded_paths: [vendor/*, app/*, web/*] tools: php_cpd: true php_pdepend: excluded_dirs: [vendor] external_code_coverage: timeout: 600
filter: excluded_paths: [vendor/*, app/*, web/*] tools: php_cpd: true php_pdepend: excluded_dirs: [vendor] external_code_coverage: timeout: 600 php_analyzer: config: metrics_coupling: enabled: true stable_code: namespace_prefixes: [] ...
Add more metrics to Scrutinizer
Add more metrics to Scrutinizer
YAML
mit
Achrome/Conphig,Achrome/Conphig
yaml
## Code Before: filter: excluded_paths: [vendor/*, app/*, web/*] tools: php_cpd: true php_pdepend: excluded_dirs: [vendor] external_code_coverage: timeout: 600 ## Instruction: Add more metrics to Scrutinizer ## Code After: filter: excluded_paths: [vendor/*, app/*, web/*] tools: ...
filter: excluded_paths: [vendor/*, app/*, web/*] tools: php_cpd: true php_pdepend: excluded_dirs: [vendor] external_code_coverage: timeout: 600 + php_analyzer: + config: + metrics_coupling: + enabled: true + stable_code: + ...
9
1
9
0
7a6fb64b30513b987e59965a948a681037f406e9
src/utils/index.js
src/utils/index.js
const { parse } = require('url') const UrlPattern = require('url-pattern') const patternOpts = { segmentNameCharset: 'a-zA-Z0-9_-', } const isPattern = pattern => pattern instanceof UrlPattern const getParamsAndQuery = (pattern, url) => { const { query, pathname } = parse(url, true) const route = isPattern(pat...
const { parse } = require('url') const UrlPattern = require('url-pattern') const patternOpts = { segmentNameCharset: 'a-zA-Z0-9_-',, segmentValueCharset: 'a-zA-Z0-9@\.\+\-\_' } const isPattern = pattern => pattern instanceof UrlPattern const getParamsAndQuery = (pattern, url) => { const { query, pathname } = p...
Allow some more chars in url as pattern value
Allow some more chars in url as pattern value Allow character @, dot, +, _ and - as url pattern value, so email address can be passed as url parameter.
JavaScript
mit
pedronauck/micro-router
javascript
## Code Before: const { parse } = require('url') const UrlPattern = require('url-pattern') const patternOpts = { segmentNameCharset: 'a-zA-Z0-9_-', } const isPattern = pattern => pattern instanceof UrlPattern const getParamsAndQuery = (pattern, url) => { const { query, pathname } = parse(url, true) const route...
const { parse } = require('url') const UrlPattern = require('url-pattern') const patternOpts = { - segmentNameCharset: 'a-zA-Z0-9_-', + segmentNameCharset: 'a-zA-Z0-9_-',, ? + + segmentValueCharset: 'a-zA-Z0-9@\.\+\-\_' } const isPattern = pattern => pattern in...
3
0.125
2
1
cb8b58f2a841f6b02f4ef656939a890077d219b3
Binary-tree/link-unlink.lisp
Binary-tree/link-unlink.lisp
(cl:in-package #:clump-binary-tree) ;;; Make CHILD the left child of NODE. (defgeneric link-left (node child)) ;;; Make CHILD the right child of NODE. (defgeneric link-right (node child)) ;;; Remove CHILD as the left child of NODE. (defgeneric unlink-left (node child)) ;;; Remove CHILD as the right child of NODE. (...
(cl:in-package #:clump-binary-tree) ;;; Make CHILD the left child of NODE. (defgeneric link-left (parent child)) ;;; Make CHILD the right child of PARENT. (defgeneric link-right (parent child)) ;;; Remove CHILD as the left child of PARENT. (defgeneric unlink-left (parent child)) ;;; Remove CHILD as the right child ...
Rename parent parameter for improved readability.
Rename parent parameter for improved readability.
Common Lisp
bsd-2-clause
robert-strandh/Clump
common-lisp
## Code Before: (cl:in-package #:clump-binary-tree) ;;; Make CHILD the left child of NODE. (defgeneric link-left (node child)) ;;; Make CHILD the right child of NODE. (defgeneric link-right (node child)) ;;; Remove CHILD as the left child of NODE. (defgeneric unlink-left (node child)) ;;; Remove CHILD as the right ...
(cl:in-package #:clump-binary-tree) ;;; Make CHILD the left child of NODE. - (defgeneric link-left (node child)) ? ^^^ + (defgeneric link-left (parent child)) ? ++++ ^ - ;;; Make CHILD the right child of NODE. ? ^^^ + ;;; Mak...
15
1.153846
8
7
8679227d61cef7448f2060f2cfcdc8e0f674f671
bower.json
bower.json
{ "name": "minicart", "homepage": "http://minicartjs.com", "description": "The minicart is a great way to improve your PayPal shopping cart integration.", "main": "dist/minicart.js", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "Gruntfile.js" ] }
{ "name": "minicart", "homepage": "http://minicartjs.com", "description": "The minicart is a great way to improve your PayPal shopping cart integration.", "main": "dist/minicart.js", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "Gruntfile.js", "b...
Add bin, examples, and tasks to Bower's "ignore"
Add bin, examples, and tasks to Bower's "ignore"
JSON
mit
cyuan1791/minicart,Armen138/minicart,Armen138/minicart,jeffharrell/minicart,cyuan1791/minicart,cyuan1791/minicart,Armen138/minicart,jeffharrell/minicart,jeffharrell/minicart
json
## Code Before: { "name": "minicart", "homepage": "http://minicartjs.com", "description": "The minicart is a great way to improve your PayPal shopping cart integration.", "main": "dist/minicart.js", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "Grunt...
{ "name": "minicart", "homepage": "http://minicartjs.com", "description": "The minicart is a great way to improve your PayPal shopping cart integration.", "main": "dist/minicart.js", "license": "MIT", "ignore": [ "**/.*", "node_modules", "bower_components", "test", - ...
5
0.357143
4
1
850553e5c89bf11c4373abf56e5168b2b92174a9
lib/app_layout/material_persistent_drawer.dart
lib/app_layout/material_persistent_drawer.dart
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/content/deferred_content_awar...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/content/deferred_content_awar...
Remove visibility.all from @Component annotations. This is potentially BREAKING change.
Remove visibility.all from @Component annotations. This is potentially BREAKING change. Please review carefully. Breakage will only be caught if the code is covered by tests. Reject this change if you believe it breaks you. If the component needs to be injected anywhere in the app, you can get a runtime exception aft...
Dart
bsd-3-clause
angulardart/angular_components,angulardart/angular_components,angulardart/angular_components
dart
## Code Before: // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/content/defer...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. import 'package:angular/angular.dart'; import 'package:angular_components/content/deferred_...
3
0.076923
1
2
9752d8daeaee73d3bfd180c945ddc4256b75c4fb
package.json
package.json
{ "name": "osdiab.github.io", "version": "0.0.1", "description": "Omar Diab's personal website", "repository": "git@github.com:osdiab/osdiab.github.io.git", "author": "Omar Diab <me@omardiab.com>", "license": "MIT", "scripts": { "build": "rm -rf __build/ && webpack && cp -r ./dist/* __build/", "st...
{ "name": "osdiab.github.io", "version": "0.0.1", "description": "Omar Diab's personal website", "repository": "git@github.com:osdiab/osdiab.github.io.git", "author": "Omar Diab <me@omardiab.com>", "license": "MIT", "scripts": { "serve": "http-server ./website", "publish": "./scripts/check-branch ...
Add simpler serve and publish script with no build
Add simpler serve and publish script with no build
JSON
mit
osdiab/osdiab.github.io,osdiab/osdiab.github.io,osdiab/osdiab.github.io,osdiab/osdiab.github.io
json
## Code Before: { "name": "osdiab.github.io", "version": "0.0.1", "description": "Omar Diab's personal website", "repository": "git@github.com:osdiab/osdiab.github.io.git", "author": "Omar Diab <me@omardiab.com>", "license": "MIT", "scripts": { "build": "rm -rf __build/ && webpack && cp -r ./dist/* __...
{ "name": "osdiab.github.io", "version": "0.0.1", "description": "Omar Diab's personal website", "repository": "git@github.com:osdiab/osdiab.github.io.git", "author": "Omar Diab <me@omardiab.com>", "license": "MIT", "scripts": { + "serve": "http-server ./website", + "publish": "./s...
5
0.294118
2
3
ebaf37237660be5ce8e984952cd325f3dfc8ba31
index.js
index.js
var extent = require('turf-extent'); var bboxPolygon = require('turf-bbox-polygon'); /** * Takes a {@link Feature} or {@link FeatureCollection} and returns a rectangular {@link Polygon} feature that encompasses all vertices. * * @module turf/envelope * @param {FeatureCollection} fc a FeatureCollection of any type * @r...
var extent = require('turf-extent'); var bboxPolygon = require('turf-bbox-polygon'); /** * Takes a {@link Feature} or {@link FeatureCollection} and returns a rectangular {@link Polygon} feature that encompasses all vertices. * * @module turf/envelope * @param {FeatureCollection} fc a FeatureCollection of any type * @r...
Add both points and envelope polygon to rpl
Add both points and envelope polygon to rpl
JavaScript
mit
Turfjs/turf-envelope
javascript
## Code Before: var extent = require('turf-extent'); var bboxPolygon = require('turf-bbox-polygon'); /** * Takes a {@link Feature} or {@link FeatureCollection} and returns a rectangular {@link Polygon} feature that encompasses all vertices. * * @module turf/envelope * @param {FeatureCollection} fc a FeatureCollection ...
var extent = require('turf-extent'); var bboxPolygon = require('turf-bbox-polygon'); /** * Takes a {@link Feature} or {@link FeatureCollection} and returns a rectangular {@link Polygon} feature that encompasses all vertices. * * @module turf/envelope * @param {FeatureCollection} fc a FeatureCollection ...
5
0.2
4
1
4a4da7c6641fe7febc2afb39b55d948702588e00
lib/fastly-rails.rb
lib/fastly-rails.rb
require "fastly-rails/engine" require "fastly-rails/client" require "fastly-rails/configuration" require "fastly-rails/errors" module FastlyRails attr_reader :client, :configuration def configuration @configuration ||= Configuration.new end def configure yield configuration if block_given? end ...
require "fastly-rails/engine" require "fastly-rails/client" require "fastly-rails/configuration" require "fastly-rails/errors" module FastlyRails attr_reader :client, :configuration def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration if block_given?...
Use `self.method` instead of `extend self`
Use `self.method` instead of `extend self`
Ruby
mit
hacksterio/fastly-rails,hacksterio/fastly-rails,fastly/fastly-rails,fastly/fastly-rails,hacksterio/fastly-rails,fastly/fastly-rails
ruby
## Code Before: require "fastly-rails/engine" require "fastly-rails/client" require "fastly-rails/configuration" require "fastly-rails/errors" module FastlyRails attr_reader :client, :configuration def configuration @configuration ||= Configuration.new end def configure yield configuration if block_...
require "fastly-rails/engine" require "fastly-rails/client" require "fastly-rails/configuration" require "fastly-rails/errors" module FastlyRails attr_reader :client, :configuration - def configuration + def self.configuration ? +++++ @configuration ||= Configuration.new end ...
21
0.724138
10
11
c60de6a42a270fe1e68018d8694af6bee3023026
reset/testmode.go
reset/testmode.go
package reset import ( "os" "strings" "sync" ) var ( testModeOnce = sync.Once{} _testMode bool ) // TestMode returns true if run as unit test func TestMode() bool { testModeOnce.Do(func() { _testMode = strings.HasSuffix(os.Args[0], ".test") }) return _testMode }
package reset import ( "io/ioutil" "log" "os" "strings" "sync" ) var ( testModeOnce = sync.Once{} _testMode bool ) // TestMode returns true if run as unit test func TestMode() bool { testModeOnce.Do(func() { _testMode = strings.HasSuffix(os.Args[0], ".test") if _testMode { log.SetOutput(ioutil.Dis...
Drop logging output in test mode
Drop logging output in test mode
Go
apache-2.0
redforks/testing
go
## Code Before: package reset import ( "os" "strings" "sync" ) var ( testModeOnce = sync.Once{} _testMode bool ) // TestMode returns true if run as unit test func TestMode() bool { testModeOnce.Do(func() { _testMode = strings.HasSuffix(os.Args[0], ".test") }) return _testMode } ## Instruction: Drop log...
package reset import ( + "io/ioutil" + "log" "os" "strings" "sync" ) var ( testModeOnce = sync.Once{} _testMode bool ) // TestMode returns true if run as unit test func TestMode() bool { testModeOnce.Do(func() { _testMode = strings.HasSuffix(os.Args[0], ".test") + + ...
6
0.3
6
0
7de53bfbfddba15676ef3b63481ee925230f7529
patches/00001-Add-missing-header-sparseblock.diff
patches/00001-Add-missing-header-sparseblock.diff
diff -crB ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp ../isis_autotools_mod/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp *** ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-06-14 15:31:09.000000000 -0700 --- ../isis_autotools_mod/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-06-14 15:54:15.00...
diff -crB ./src/base/objs/SparseBlockMatrix/SparseBlockMatrix.cpp ../isis/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp *** .src/base/objs/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-06-14 15:31:09.000000000 -0700 --- ../isis/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-06-14 15:54:15.000000000 -07...
Update patch to work with Isis version 3.4.6
Update patch to work with Isis version 3.4.6
Diff
apache-2.0
NeoGeographyToolkit/AutotoolsForISIS,NeoGeographyToolkit/AutotoolsForISIS,NeoGeographyToolkit/AutotoolsForISIS
diff
## Code Before: diff -crB ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp ../isis_autotools_mod/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp *** ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-06-14 15:31:09.000000000 -0700 --- ../isis_autotools_mod/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012-0...
- diff -crB ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp ../isis_autotools_mod/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp + diff -crB ./src/base/objs/SparseBlockMatrix/SparseBlockMatrix.cpp ../isis/src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp - *** ./src/Core/SparseBlockMatrix/SparseBlockMatrix.cpp 2012...
24
1.2
6
18
a59b4f03160cbf3ff9fb189fda3491c382bbb53a
CHANGELOG.rst
CHANGELOG.rst
CHANGELOG ========= 0.5.1 ----- * Now available via pip install from pypi! * Minor unit test updates to improve coverage. 0.5 Django-Pucas ---------------- Initial release of Django plugin for CAS authentication with local Princeton University setup in mind. Features below are provided in the form of user stories. ...
CHANGELOG ========= 0.5.2 ----- * Document permissions in the README. 0.5.1 ----- * Now available via pip install from pypi! * Minor unit test updates to improve coverage. 0.5 Django-Pucas ---------------- Initial release of Django plugin for CAS authentication with local Princeton University setup in mind. Featu...
Update changelog to note 0.5.2 only adds permission documentation
Update changelog to note 0.5.2 only adds permission documentation
reStructuredText
apache-2.0
Princeton-CDH/django-pucas,Princeton-CDH/django-pucas
restructuredtext
## Code Before: CHANGELOG ========= 0.5.1 ----- * Now available via pip install from pypi! * Minor unit test updates to improve coverage. 0.5 Django-Pucas ---------------- Initial release of Django plugin for CAS authentication with local Princeton University setup in mind. Features below are provided in the form o...
CHANGELOG ========= + + 0.5.2 + ----- + + * Document permissions in the README. 0.5.1 ----- * Now available via pip install from pypi! * Minor unit test updates to improve coverage. 0.5 Django-Pucas ---------------- Initial release of Django plugin for CAS authentication with local Princ...
5
0.15625
5
0
f590250e00d7413b9e9dd3e956c45bed189d6a9f
lib/CMakeLists.txt
lib/CMakeLists.txt
find_package(cpprest REQUIRED) find_package(Boost 1.54.0 REQUIRED COMPONENTS system filesystem atomic chrono random regex) find_package(OpenSSL REQUIRED) include_directories(${CPPREST_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) set(LIBS ${LIBS} ${CPPREST_LIBRARIES} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${CMAKE_DL_LIBS}) s...
find_package(cpprest REQUIRED) find_package(Boost 1.54.0 REQUIRED COMPONENTS system filesystem atomic chrono random regex) find_package(OpenSSL REQUIRED) include_directories(${CPPREST_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) set(LIBS ${LIBS} ${CPPREST_LIBRARIES} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${CMAKE_DL_LIBS}) s...
Install header files as well as library files
Install header files as well as library files
Text
mit
FiniteReality/disccord,FiniteReality/disccord
text
## Code Before: find_package(cpprest REQUIRED) find_package(Boost 1.54.0 REQUIRED COMPONENTS system filesystem atomic chrono random regex) find_package(OpenSSL REQUIRED) include_directories(${CPPREST_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) set(LIBS ${LIBS} ${CPPREST_LIBRARIES} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${CM...
find_package(cpprest REQUIRED) find_package(Boost 1.54.0 REQUIRED COMPONENTS system filesystem atomic chrono random regex) find_package(OpenSSL REQUIRED) include_directories(${CPPREST_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) set(LIBS ${LIBS} ${CPPREST_LIBRARIES} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${CMAKE_...
1
0.04
1
0
23439b2341320a973b1c135abc541236de6550bf
hack_malloc.c
hack_malloc.c
void* malloc(size_t size) { printf("malloc... "); size += sizeof(size_t); int page_size = getpagesize(); int rem = size % page_size; if (rem > 0) { size += page_size - rem; } void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); if (addr == MAP_FAILED) { printf("fa...
void* malloc(size_t size) { write(STDOUT_FILENO, "malloc... ", 10); size += sizeof(size_t); int page_size = getpagesize(); int rem = size % page_size; if (rem > 0) { size += page_size - rem; } void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); if (addr == MAP_FAILED...
Replace printf with safe write to stdout
Replace printf with safe write to stdout
C
mit
vmarkovtsev/hack_malloc,vmarkovtsev/hack_malloc
c
## Code Before: void* malloc(size_t size) { printf("malloc... "); size += sizeof(size_t); int page_size = getpagesize(); int rem = size % page_size; if (rem > 0) { size += page_size - rem; } void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); if (addr == MAP_FAILED) ...
void* malloc(size_t size) { - printf("malloc... "); + write(STDOUT_FILENO, "malloc... ", 10); size += sizeof(size_t); int page_size = getpagesize(); int rem = size % page_size; if (rem > 0) { size += page_size - rem; } void* addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_ANONYMOUS...
12
0.428571
6
6
a9ccf7546f9f71bf4feccc3dab86c221be4991c7
src/shared/app.css
src/shared/app.css
html p, body p { line-height: 1.25; } #loading-bar .bar { background: #FFC107; height: 5px; border-bottom-right-radius: 2px; border-top-right-radius: 2px; } /* Fancy blur effect */ #loading-bar .peg { height: 5px; -moz-box-shadow: #FFC107 1px 0 6px 1px; -ms-box-shadow: #FFC107 1px 0 6px 1px; -webkit...
html p, body p { line-height: 1.25; } #loading-bar .bar { background: #FFC107; height: 5px; border-bottom-right-radius: 2px; border-top-right-radius: 2px; } /* Fancy blur effect */ #loading-bar .peg { height: 5px; -moz-box-shadow: #FFC107 1px 0 6px 1px; -ms-box-shadow: #FFC107 1px 0 6px 1px; -webkit...
Fix icon outline when focused
Fix icon outline when focused
CSS
mit
dinoboff/singpathfire,santoshdeshpande/singpathfire,sanjay-patel/singpathfire,ChrisBoesch/singpathfire,dinoboff/singpathfire,kaijie/singpathfire,santoshdeshpande/singpathfire,ChrisBoesch/singpathfire,kaijie/singpathfire,ChrisBoesch/singpathfire,sanjay-patel/singpathfire,sanjay-patel/singpathfire,dinoboff/singpathfire,b...
css
## Code Before: html p, body p { line-height: 1.25; } #loading-bar .bar { background: #FFC107; height: 5px; border-bottom-right-radius: 2px; border-top-right-radius: 2px; } /* Fancy blur effect */ #loading-bar .peg { height: 5px; -moz-box-shadow: #FFC107 1px 0 6px 1px; -ms-box-shadow: #FFC107 1px 0 6p...
html p, body p { line-height: 1.25; } #loading-bar .bar { background: #FFC107; height: 5px; border-bottom-right-radius: 2px; border-top-right-radius: 2px; } /* Fancy blur effect */ #loading-bar .peg { height: 5px; -moz-box-shadow: #FFC107 1px 0 6px 1px; -ms-box-shadow: ...
5
0.128205
5
0
34784b645927479c5b4650a4d6472b0bc8146888
.travis.yml
.travis.yml
language: ruby rvm: - ruby-head - 2.4.6 - 2.3.8 gemfile: - 'gemfiles/action_mailer_edge.gemfile' - 'gemfiles/action_mailer_52.gemfile' - 'gemfiles/action_mailer_51.gemfile' env: - INTEGRATION_TEST=false - INTEGRATION_TEST=true sudo: false script: - 'bundle exec rubocop -c .rubocop.yml' - 'bundle ...
language: ruby rvm: - ruby-head - 2.4 - 2.3 gemfile: - 'gemfiles/action_mailer_edge.gemfile' - 'gemfiles/action_mailer_52.gemfile' - 'gemfiles/action_mailer_51.gemfile' env: - INTEGRATION_TEST=false - INTEGRATION_TEST=true sudo: false script: - 'bundle exec rubocop -c .rubocop.yml' - 'bundle exec...
Remove patch version from CI target ruby version
Remove patch version from CI target ruby version
YAML
mit
ryu39/sendgrid_actionmailer_adapter,ryu39/sendgrid_actionmailer_adapter
yaml
## Code Before: language: ruby rvm: - ruby-head - 2.4.6 - 2.3.8 gemfile: - 'gemfiles/action_mailer_edge.gemfile' - 'gemfiles/action_mailer_52.gemfile' - 'gemfiles/action_mailer_51.gemfile' env: - INTEGRATION_TEST=false - INTEGRATION_TEST=true sudo: false script: - 'bundle exec rubocop -c .rubocop.y...
language: ruby rvm: - ruby-head - - 2.4.6 ? -- + - 2.4 - - 2.3.8 ? -- + - 2.3 gemfile: - 'gemfiles/action_mailer_edge.gemfile' - 'gemfiles/action_mailer_52.gemfile' - 'gemfiles/action_mailer_51.gemfile' env: - INTEGRATION_TEST=false - INTEGRATION_TEST=true ...
10
0.232558
5
5
ba2a258610bc0bde7b28ed1e41a3dadd9936c134
lib/generators/rails/responders_controller_generator.rb
lib/generators/rails/responders_controller_generator.rb
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class RespondersControllerGenerator < ScaffoldControllerGenerator source_root File.expand_path("../templates", __FILE__) protected def flash? target = if defined?(Rails.appl...
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class RespondersControllerGenerator < ScaffoldControllerGenerator source_root File.expand_path("../templates", __FILE__) protected def flash? if defined?(ApplicationContro...
Allow flash detection even in engines.
Allow flash detection even in engines.
Ruby
mit
pravi/responders,gpr/responders,pravi/responders,telekomatrix/responders,plataformatec/responders,gpr/responders,plataformatec/responders,muthhus/responders,plataformatec/responders,telekomatrix/responders,muthhus/responders
ruby
## Code Before: require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class RespondersControllerGenerator < ScaffoldControllerGenerator source_root File.expand_path("../templates", __FILE__) protected def flash? target = if def...
require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator' module Rails module Generators class RespondersControllerGenerator < ScaffoldControllerGenerator source_root File.expand_path("../templates", __FILE__) - protected + protected ? ++ def fl...
14
0.56
4
10
140ce823602e0f398afa4203d27a47684f1dbf11
.travis.yml
.travis.yml
language: python python: "2.7" install: - pip install -r requirements.txt - pip install coveralls script: coverage run --source='.' --omit='*_test.py' -m unittest discover --pattern='*_test.py' after_success: coveralls
language: python cache: pip python: "2.7" install: - pip install -r requirements.txt - pip install coveralls script: coverage run --source='.' --omit='*_test.py' -m unittest discover --pattern='*_test.py' after_success: coveralls
Add caching to make CI runs faster
Add caching to make CI runs faster
YAML
apache-2.0
m-lab/signal-searcher
yaml
## Code Before: language: python python: "2.7" install: - pip install -r requirements.txt - pip install coveralls script: coverage run --source='.' --omit='*_test.py' -m unittest discover --pattern='*_test.py' after_success: coveralls ## Instruction: Add caching to make CI runs faster ## Code After: language...
language: python + cache: pip python: "2.7" install: - pip install -r requirements.txt - pip install coveralls script: coverage run --source='.' --omit='*_test.py' -m unittest discover --pattern='*_test.py' after_success: coveralls
1
0.111111
1
0
b5126cc37b501ef8170ff5634f8247219237815e
ruby/benchmark.rb
ruby/benchmark.rb
require "benchmark" if(ARGV.size != 1) puts "Usage: ruby benchmark.rb <filename>" exit 1 end def measure(data, pattern) count = 0 elapsed = Benchmark.measure { count = data.scan(pattern).size } puts "#{elapsed.real * 1e3} - #{count}" end data = File.read(ARGV[0]) # Email measure(data, /[\w\.+-]+@[\...
require "benchmark" if(ARGV.size != 1) puts "Usage: ruby benchmark.rb <filename>" exit 1 end def measure(data, pattern) count = 0 elapsed = Benchmark.measure { count = data.scan(Regexp.compile(pattern)).size } puts "#{elapsed.real * 1e3} - #{count}" end data = File.read(ARGV[0]) # Email measure(dat...
Include regex compilation in measuring
Ruby: Include regex compilation in measuring
Ruby
mit
mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-benchmark,mariomka/regex-bench...
ruby
## Code Before: require "benchmark" if(ARGV.size != 1) puts "Usage: ruby benchmark.rb <filename>" exit 1 end def measure(data, pattern) count = 0 elapsed = Benchmark.measure { count = data.scan(pattern).size } puts "#{elapsed.real * 1e3} - #{count}" end data = File.read(ARGV[0]) # Email measure(dat...
require "benchmark" if(ARGV.size != 1) puts "Usage: ruby benchmark.rb <filename>" exit 1 end def measure(data, pattern) count = 0 elapsed = Benchmark.measure { - count = data.scan(pattern).size + count = data.scan(Regexp.compile(pattern)).size ? ++++++++++++++...
8
0.307692
4
4
4e52f15c442875322e2b6c3e51108297eb8945a0
src/com/davidmogar/njc/ast/types/StringType.java
src/com/davidmogar/njc/ast/types/StringType.java
package com.davidmogar.njc.ast.types; import com.davidmogar.njc.visitors.Visitor; import com.davidmogar.njc.ast.AbstractAstNode; public class StringType extends AbstractType implements Type { private static StringType instance; private StringType(int line, int column) { super(line, column); } ...
package com.davidmogar.njc.ast.types; import com.davidmogar.njc.TypeError; import com.davidmogar.njc.visitors.Visitor; import com.davidmogar.njc.ast.AbstractAstNode; public class StringType extends AbstractType implements Type { private static StringType instance; private StringType(int line, int column) { ...
Remove code added in a previous commit
Remove code added in a previous commit String literals shouldn't be assignable.
Java
mit
davidmogar/njc
java
## Code Before: package com.davidmogar.njc.ast.types; import com.davidmogar.njc.visitors.Visitor; import com.davidmogar.njc.ast.AbstractAstNode; public class StringType extends AbstractType implements Type { private static StringType instance; private StringType(int line, int column) { super(line, c...
package com.davidmogar.njc.ast.types; + import com.davidmogar.njc.TypeError; import com.davidmogar.njc.visitors.Visitor; import com.davidmogar.njc.ast.AbstractAstNode; public class StringType extends AbstractType implements Type { private static StringType instance; private StringType(in...
1
0.037037
1
0
87bd5d0444d06860961f13dfbc8308e92c40263f
app/controllers/users_controller.rb
app/controllers/users_controller.rb
get '/' do @user = User.new if session[:user_id] @user = User.find(session[:user_id]) end puts session[:user_id] errors = @user.errors.full_messages erb :'index', locals: { errors: errors} end get '/users/new/?' do @user = User.new end post '/users/?' do @user = User.new(params[:user]) if @user...
get '/' do @user = User.new if session[:user_id] @user = User.find(session[:user_id]) end puts session[:user_id] errors = @user.errors.full_messages erb :'index', locals: { errors: errors} end get '/users/new/?' do @user = User.new end post '/users/?' do @user = User.new(params[:user]) if @user...
Change flow from user profile to connect dropbox
Change flow from user profile to connect dropbox
Ruby
mit
kenworthyc/weeker,kenworthyc/weeker
ruby
## Code Before: get '/' do @user = User.new if session[:user_id] @user = User.find(session[:user_id]) end puts session[:user_id] errors = @user.errors.full_messages erb :'index', locals: { errors: errors} end get '/users/new/?' do @user = User.new end post '/users/?' do @user = User.new(params[:us...
get '/' do @user = User.new if session[:user_id] @user = User.find(session[:user_id]) end puts session[:user_id] errors = @user.errors.full_messages erb :'index', locals: { errors: errors} end get '/users/new/?' do @user = User.new end post '/users/?' do @user = Use...
3
0.085714
1
2
22cd0157d81831d765ae328e4cba253f314761a3
index.js
index.js
module.exports = function cu(fn) { 'use strict'; var args = [].slice.call(arguments); if ('function' !== typeof fn) throw new Error('auto-curry: Invalid parameter. First parameter should be a function.'); if ('function' === typeof fn && !fn.length) return fn; if (args.length - 1 >= fn.length) return fn.apply...
module.exports = function cu(fn) { 'use strict' var args = [].slice.call(arguments) var typeOfFn = typeof fn if ('function' !== typeOfFn) throw new Error('auto-curry: Invalid parameter. Expected function, received ' + typeOfFn) if (fn.length <= 1) return fn if (args.length - 1 >= fn.length) return fn.appl...
Return unary fn as is and remove redundant checks
Return unary fn as is and remove redundant checks
JavaScript
mit
zeusdeux/auto-curry
javascript
## Code Before: module.exports = function cu(fn) { 'use strict'; var args = [].slice.call(arguments); if ('function' !== typeof fn) throw new Error('auto-curry: Invalid parameter. First parameter should be a function.'); if ('function' === typeof fn && !fn.length) return fn; if (args.length - 1 >= fn.length)...
module.exports = function cu(fn) { - 'use strict'; ? - + 'use strict' - var args = [].slice.call(arguments); + var args = [].slice.call(arguments) + var typeOfFn = typeof fn + - if ('function' !== typeof fn) throw new Error('auto-curry: Invalid parameter. First parameter should be a fun...
16
1.333333
9
7
bd0cac01d50f18383908de2c0bea31aba97eb258
filesize.gemspec
filesize.gemspec
Gem::Specification.new do |s| s.name = "filesize" s.version = "0.1.0" s.licenses = ["MIT"] s.authors = ["Dominik Honnef"] s.description = "filesize is a small class for handling filesizes with both the SI and binary prefixes, allowing conversion from any size to any other size." s.summary = s.description ...
Gem::Specification.new do |s| s.name = "filesize" s.version = "0.1.0" s.licenses = ["MIT"] s.authors = ["Dominik Honnef"] s.description = "filesize is a small class for handling filesizes with both the SI and binary prefixes, allowing conversion from any size to any other size." s.summary = s.description ...
Use proper glob for files in gemspec
Use proper glob for files in gemspec
Ruby
mit
dominikh/filesize
ruby
## Code Before: Gem::Specification.new do |s| s.name = "filesize" s.version = "0.1.0" s.licenses = ["MIT"] s.authors = ["Dominik Honnef"] s.description = "filesize is a small class for handling filesizes with both the SI and binary prefixes, allowing conversion from any size to any other size." s.summary =...
Gem::Specification.new do |s| s.name = "filesize" s.version = "0.1.0" s.licenses = ["MIT"] s.authors = ["Dominik Honnef"] s.description = "filesize is a small class for handling filesizes with both the SI and binary prefixes, allowing conversion from any size to any other size." s.summary =...
2
0.117647
1
1
3c8601897a43fbe68d1ebaffbe25ae3d7249669b
platform/target/network/wait_for_time.ex
platform/target/network/wait_for_time.ex
defmodule Farmbot.Target.Network.WaitForTime do use Farmbot.Logger nerves_time = case Nerves.Time.FileTime.time() do {:error, _} -> NaiveDateTime.utc_now() ndt -> ndt end @nerves_time nerves_time def start_link(_, _) do :ok = wait_for_time() Logger.success 3, "Time seems to be set. Moving on....
defmodule Farmbot.Target.Network.WaitForTime do use Farmbot.Logger nerves_time = case Nerves.Time.FileTime.time() do {:error, _} -> NaiveDateTime.utc_now() ndt -> ndt end @nerves_time nerves_time def start_link(_, _) do :ok = wait_for_time() Logger.success 3, "Time seems to be set. Moving on....
Fix race condition in getting time.
Fix race condition in getting time.
Elixir
mit
FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os,FarmBot/farmbot_os
elixir
## Code Before: defmodule Farmbot.Target.Network.WaitForTime do use Farmbot.Logger nerves_time = case Nerves.Time.FileTime.time() do {:error, _} -> NaiveDateTime.utc_now() ndt -> ndt end @nerves_time nerves_time def start_link(_, _) do :ok = wait_for_time() Logger.success 3, "Time seems to be...
defmodule Farmbot.Target.Network.WaitForTime do use Farmbot.Logger nerves_time = case Nerves.Time.FileTime.time() do {:error, _} -> NaiveDateTime.utc_now() ndt -> ndt end @nerves_time nerves_time def start_link(_, _) do :ok = wait_for_time() Logger.success 3, "Time seems...
3
0.090909
2
1
7c79a82e84a5a39c3f0f1813257899198b725885
JustRunnerChat/JustRunnerChat/ChatScripts/main.js
JustRunnerChat/JustRunnerChat/ChatScripts/main.js
/// <reference path="controller.js" /> /// <reference path="dataAccess.js" /> (function () { var serviceRoot = "http://localhost:16502/api/"; var persister = Chat.persisters.get(serviceRoot); var controller = Chat.controller.get(persister); controller.loadUI("#body"); }());
/// <reference path="controller.js" /> /// <reference path="dataAccess.js" /> (function () { var serviceRoot = "http://roadrunnerchat.apphb.com/api/"; var persister = Chat.persisters.get(serviceRoot); var controller = Chat.controller.get(persister); controller.loadUI("#body"); }());
Change service root for apphourbor.
Change service root for apphourbor.
JavaScript
mit
VelizarIT/WebServices-TheRoadRunner,Cheeesus/WebServices-TheRoadRunner,Cheeesus/WebServices-TheRoadRunner,VelizarIT/WebServices-TheRoadRunner
javascript
## Code Before: /// <reference path="controller.js" /> /// <reference path="dataAccess.js" /> (function () { var serviceRoot = "http://localhost:16502/api/"; var persister = Chat.persisters.get(serviceRoot); var controller = Chat.controller.get(persister); controller.loadUI("#body"); }()); #...
/// <reference path="controller.js" /> /// <reference path="dataAccess.js" /> (function () { - var serviceRoot = "http://localhost:16502/api/"; + var serviceRoot = "http://roadrunnerchat.apphb.com/api/"; var persister = Chat.persisters.get(serviceRoot); var controller = Chat.control...
2
0.181818
1
1
f652bf726b2fde487912f21f821a7d3b3a5d8be7
forge.go
forge.go
package forge import ( "github.com/sclevine/forge/engine" ) type Loader interface { Loading(message string, progress <-chan engine.Progress) error } type Colorizer func(string, ...interface{}) string type AppConfig struct { Name string `yaml:"name"` Buildpack string `yaml:"buildpack...
package forge import ( "github.com/sclevine/forge/engine" ) type Loader interface { Loading(message string, progress <-chan engine.Progress) error } type Colorizer func(string, ...interface{}) string type AppConfig struct { Name string `yaml:"name"` Buildpack string `yaml:"buildpack...
Remove unused image mock generator
Remove unused image mock generator
Go
apache-2.0
sclevine/forge,sclevine/forge
go
## Code Before: package forge import ( "github.com/sclevine/forge/engine" ) type Loader interface { Loading(message string, progress <-chan engine.Progress) error } type Colorizer func(string, ...interface{}) string type AppConfig struct { Name string `yaml:"name"` Buildpack string ...
package forge import ( "github.com/sclevine/forge/engine" ) type Loader interface { Loading(message string, progress <-chan engine.Progress) error } type Colorizer func(string, ...interface{}) string type AppConfig struct { Name string `yaml:"name"` Buildpack stri...
1
0.026316
0
1
82351910cad0e4f4c4d0135bae2d1321249b12de
.travis.yml
.travis.yml
language: java before_install: - chmod +x gradlew after_success: - ./gradlew codeCoverageReport coveralls
language: java before_install: - chmod +x gradlew after_success: - if [ -e ./gradlew ]; then ./gradlew codeCoverageReport;else gradle codeCoverageReport;fi - bash <(curl -s https://codecov.io/bash)
Switch back to codecov with sub-projects jacoco report
Switch back to codecov with sub-projects jacoco report
YAML
mit
manoharprabhu/CodeCompiler,manoharprabhu/CodeCompiler,manoharprabhu/CodeCompiler,manoharprabhu/CodeCompiler
yaml
## Code Before: language: java before_install: - chmod +x gradlew after_success: - ./gradlew codeCoverageReport coveralls ## Instruction: Switch back to codecov with sub-projects jacoco report ## Code After: language: java before_install: - chmod +x gradlew after_success: - if [ -e ./gradlew ]; then ./gradlew c...
language: java before_install: - chmod +x gradlew after_success: - - ./gradlew codeCoverageReport coveralls + - if [ -e ./gradlew ]; then ./gradlew codeCoverageReport;else gradle codeCoverageReport;fi + - bash <(curl -s https://codecov.io/bash)
3
0.5
2
1
3f4b4c43c5a9bc0afdea51075f7aac551adb5438
app/controllers/index.rb
app/controllers/index.rb
get '/' do redirect '/homepage' end get '/homepage' do erb :'homepage/index' end
get '/' do erb :'homepage/index' end get '/dashboard' do erb :'/dashboard' end
Change homepage route to '/' and create get dashboard route
Change homepage route to '/' and create get dashboard route
Ruby
mit
alexpadraic/OutsidePools,alexpadraic/OutsidePools,alexpadraic/OutsidePools
ruby
## Code Before: get '/' do redirect '/homepage' end get '/homepage' do erb :'homepage/index' end ## Instruction: Change homepage route to '/' and create get dashboard route ## Code After: get '/' do erb :'homepage/index' end get '/dashboard' do erb :'/dashboard' end
get '/' do - redirect '/homepage' + erb :'homepage/index' end - get '/homepage' do - erb :'homepage/index' + get '/dashboard' do + erb :'/dashboard' end
6
0.857143
3
3
4fb563b2c5a1cba356e6562722e0d05ef8d87a55
src/index.js
src/index.js
import React from 'react'; import { render } from 'react-dom'; import { Router, Route, browserHistory } from 'react-router'; import './static/bootstrap/css/bootstrap.css'; import App from './Main/App'; import ErrorBoundary from './Main/ErrorBoundary'; import { unregister } from './registerServiceWorker'; function i...
import React from 'react'; import { render } from 'react-dom'; import { Router, Route, browserHistory } from 'react-router'; import './static/bootstrap/css/bootstrap.css'; import App from './Main/App'; import ErrorBoundary from './Main/ErrorBoundary'; import { unregister } from './registerServiceWorker'; // Source:...
Undo custom `unhandledrejection` and just use Raven's suggestions (too much spam of events that provide no information to resolve them)
Undo custom `unhandledrejection` and just use Raven's suggestions (too much spam of events that provide no information to resolve them)
JavaScript
agpl-3.0
enragednuke/WoWAnalyzer,hasseboulen/WoWAnalyzer,fyruna/WoWAnalyzer,enragednuke/WoWAnalyzer,hasseboulen/WoWAnalyzer,anom0ly/WoWAnalyzer,ronaldpereira/WoWAnalyzer,fyruna/WoWAnalyzer,FaideWW/WoWAnalyzer,enragednuke/WoWAnalyzer,Juko8/WoWAnalyzer,FaideWW/WoWAnalyzer,yajinni/WoWAnalyzer,yajinni/WoWAnalyzer,WoWAnalyzer/WoWAna...
javascript
## Code Before: import React from 'react'; import { render } from 'react-dom'; import { Router, Route, browserHistory } from 'react-router'; import './static/bootstrap/css/bootstrap.css'; import App from './Main/App'; import ErrorBoundary from './Main/ErrorBoundary'; import { unregister } from './registerServiceWork...
import React from 'react'; import { render } from 'react-dom'; import { Router, Route, browserHistory } from 'react-router'; import './static/bootstrap/css/bootstrap.css'; import App from './Main/App'; import ErrorBoundary from './Main/ErrorBoundary'; import { unregister } from './registerService...
25
0.531915
4
21
164224914262e622b1d19cf39b25edddf0f17f77
README.md
README.md
Setup scripts of Intel QSV encoding for CentOS 7.1
Setup scripts of Intel QSV encoding for CentOS 7.1 ## Requirements * QSV supported Intel CPU - Haswell Core i Series - Broadwell Core i Series - Xeon E3 v3 with iGPU - Xeon E3 v4 with iGPU * [Intel Media Server Studio 2015 R6 Community Edition](https://software.intel.com/en-us/intel-media-server-st...
Add requirements and install step
Add requirements and install step
Markdown
mit
mzyy94/QSV-on-Linux
markdown
## Code Before: Setup scripts of Intel QSV encoding for CentOS 7.1 ## Instruction: Add requirements and install step ## Code After: Setup scripts of Intel QSV encoding for CentOS 7.1 ## Requirements * QSV supported Intel CPU - Haswell Core i Series - Broadwell Core i Series - Xeon E3 v3 with iGPU -...
Setup scripts of Intel QSV encoding for CentOS 7.1 + + ## Requirements + * QSV supported Intel CPU + - Haswell Core i Series + - Broadwell Core i Series + - Xeon E3 v3 with iGPU + - Xeon E3 v4 with iGPU + * [Intel Media Server Studio 2015 R6 Community Edition](https://software.intel.com/en-us/int...
21
21
21
0
152684545ce4ec3e366126f6976ab187f624c14c
app/Http/Controllers/LoginController.php
app/Http/Controllers/LoginController.php
<?php namespace App\Http\Controllers; use App\Http\Requests\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { use AuthenticatesUsers; protected $lockoutTime = 60 * 60 * 3; protecte...
<?php namespace App\Http\Controllers; use App\Http\Requests\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { use AuthenticatesUsers; protected $lockoutTime = 60 * 60 * 3; protecte...
Fix reference to old controller name
Fix reference to old controller name
PHP
bsd-3-clause
pierobot/mangapie,pierobot/mangapie,pierobot/mangapie
php
## Code Before: <?php namespace App\Http\Controllers; use App\Http\Requests\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { use AuthenticatesUsers; protected $lockoutTime = 60 * 60 *...
<?php namespace App\Http\Controllers; use App\Http\Requests\LoginRequest; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Foundation\Auth\AuthenticatesUsers; class LoginController extends Controller { use AuthenticatesUsers; protected $lockoutTime...
4
0.066667
2
2
8512d0ec2b0e5a49eb0da84951fc31edb28e37bd
NaturalDocs/NaturalDocs.bat
NaturalDocs/NaturalDocs.bat
@echo off set NaturalDocsParams= rem Shift and loop so we can get more than nine parameters. rem This is especially important if we have spaces in file names. :MORE if "%1"=="" goto NOMORE set NaturalDocsParams=%NaturalDocsParams% %1 shift goto MORE :NOMORE perl NaturalDocs %NaturalDocsParams% set ...
@perl %~dp0NaturalDocs %*
Make the Wndows batch callable from any directory
Make the Wndows batch callable from any directory The perl script NaturalDocs shuld be referred to with the same path as the calling batch, otherwise the script would have to be in the search path. The %~dp0 environment variable points to the directory which the script is being executed in. All batch arguments can be...
Batchfile
agpl-3.0
prantlf/NaturalDocs,prantlf/NaturalDocs,prantlf/NaturalDocs
batchfile
## Code Before: @echo off set NaturalDocsParams= rem Shift and loop so we can get more than nine parameters. rem This is especially important if we have spaces in file names. :MORE if "%1"=="" goto NOMORE set NaturalDocsParams=%NaturalDocsParams% %1 shift goto MORE :NOMORE perl NaturalDocs %NaturalDocsParams% set ...
+ @perl %~dp0NaturalDocs %* - @echo off - - set NaturalDocsParams= - - rem Shift and loop so we can get more than nine parameters. - rem This is especially important if we have spaces in file names. - - :MORE - if "%1"=="" goto NOMORE - set NaturalDocsParams=%NaturalDocsParams% %1 - shift - goto MORE - :NOMORE - - ...
18
1.058824
1
17
bc20949f8e5461d6ffa901d24677acb1bae922dd
mangopaysdk/types/payinexecutiondetailsdirect.py
mangopaysdk/types/payinexecutiondetailsdirect.py
from mangopaysdk.types.payinexecutiondetails import PayInExecutionDetails class PayInExecutionDetailsDirect(PayInExecutionDetails): def __init__(self): # direct card self.CardId = None self.SecureModeReturnURL = None self.SecureModeRedirectURL = None # Mode3DSType ...
from mangopaysdk.types.payinexecutiondetails import PayInExecutionDetails class PayInExecutionDetailsDirect(PayInExecutionDetails): def __init__(self): # direct card self.CardId = None self.SecureModeReturnURL = None self.SecureModeRedirectURL = None # Mode3DSType ...
Add StatementDescriptor for card direct payins
Add StatementDescriptor for card direct payins
Python
mit
chocopoche/mangopay2-python-sdk,Mangopay/mangopay2-python-sdk
python
## Code Before: from mangopaysdk.types.payinexecutiondetails import PayInExecutionDetails class PayInExecutionDetailsDirect(PayInExecutionDetails): def __init__(self): # direct card self.CardId = None self.SecureModeReturnURL = None self.SecureModeRedirectURL = None ...
from mangopaysdk.types.payinexecutiondetails import PayInExecutionDetails class PayInExecutionDetailsDirect(PayInExecutionDetails): def __init__(self): # direct card self.CardId = None self.SecureModeReturnURL = None self.SecureModeRedirectURL = None ...
1
0.083333
1
0
d19f6aada25880451086508c98391177a94addfa
task/build_metadata.rake
task/build_metadata.rake
file "lib/bundler/generated/build_metadata.rb" => [".git/HEAD", __FILE__] do |t| sh "git update-index --assume-unchanged #{t.name}" build_metadata = { :built_at => BUNDLER_SPEC.date.strftime("%Y-%m-%d"), :git_sha => `git rev-parse --short HEAD`.strip, :release => Rake::Task["release"].instance_variable...
file "lib/bundler/generated/build_metadata.rb" => [".git/HEAD", ".git/logs/HEAD", __FILE__] do |t| sh "git update-index --assume-unchanged #{t.name}" build_metadata = { :built_at => BUNDLER_SPEC.date.strftime("%Y-%m-%d"), :git_sha => `git rev-parse --short HEAD`.strip, :release => Rake::Task["release"]...
Rebuild build metadata whenever the HEAD changes
Rebuild build metadata whenever the HEAD changes
Ruby
mit
mvz/bundler,dilumnavanjana/bundler,dilumnavanjana/bundler,mvz/bundler,bundler/bundler,bundler/bundler
ruby
## Code Before: file "lib/bundler/generated/build_metadata.rb" => [".git/HEAD", __FILE__] do |t| sh "git update-index --assume-unchanged #{t.name}" build_metadata = { :built_at => BUNDLER_SPEC.date.strftime("%Y-%m-%d"), :git_sha => `git rev-parse --short HEAD`.strip, :release => Rake::Task["release"].i...
- file "lib/bundler/generated/build_metadata.rb" => [".git/HEAD", __FILE__] do |t| + file "lib/bundler/generated/build_metadata.rb" => [".git/HEAD", ".git/logs/HEAD", __FILE__] do |t| ? ++++++++++++++++++ sh "git update-index --assume-unchanged #{t.na...
2
0.105263
1
1