prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>.travis.yml.diff original: sudo: false updated: lang: node_js node_js: - node <|file_sep|>original/.travis.yml - osx - linux env: - TEST_DIR=extension before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb sta...
- linux env: - TEST_DIR=extension before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi install: - cd $TEST_DIR - npm install - npm run vscode:prepublish script: - env - cd $TEST_DIR ...
<|file_sep|>.travis.yml.diff original: sudo: false updated: lang: node_js node_js: - node <|file_sep|>original/.travis.yml - osx - linux env: - TEST_DIR=extension before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; sh -e /etc/init.d/xvfb sta...
b2aea6197895304fa237d6fc766594e31e78660b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/VSCode/Notifications.js // module VSCode.Notifications exports.showError = function(s) { return function() { require('vscode').window.showErrorMessage(s); return {}; }; } exports.showInfo = function(s) { return function() { require('vscode').window.showInfoMessage(s); return {}; }; } exports...
// module VSCode.Notifications exports.showError = function(s) { return function() { require('vscode').window.showErrorMessage(s); return {}; }; } exports.showInfo = function(s) { return function() { require('vscode').window.showInformationMessage(s); return {}; }; } exports.showWarning = function(s) { return functi...
<|file_sep|>original/src/VSCode/Notifications.js // module VSCode.Notifications exports.showError = function(s) { return function() { require('vscode').window.showErrorMessage(s); return {}; }; } exports.showInfo = function(s) { return function() { require('vscode').window.showInfoMessage(s); return {}; }; } exports...
9d125d2efcf3a7b1260d20a9d939510b7eab8c93
src/VSCode/Notifications.js
src/VSCode/Notifications.js
JavaScript
<|file_sep|>original/Ressources/Private/Sass/generic/_t3-general.scss * * @package #{$package_name()} * @path generic/_t3-general.scss * @author Tyll Weiß <t.weiss@exinit.de> */ /* ============================================================================= $ General stylings ===================================...
/*! * Styling for typo3 related classes * * @package #{$package_name()} * @path generic/_t3-general.scss * @author Tyll Weiß <t.weiss@exinit.de> */ /* ============================================================================= $ CSC-Frames ======================================================================...
<|file_sep|>original/Ressources/Private/Sass/generic/_t3-general.scss * * @package #{$package_name()} * @path generic/_t3-general.scss * @author Tyll Weiß <t.weiss@exinit.de> */ /* ============================================================================= $ General stylings ===================================...
cbe29ae5ad32b73c60daed8743ce51a2cdfd94f0
Ressources/Private/Sass/generic/_t3-general.scss
Ressources/Private/Sass/generic/_t3-general.scss
SCSS
<|file_sep|>original/doc/index.rst FOSHttpCache ============ This is the documentation for the FOSHttpCache library. This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and to test your cachi...
FOSHttpCache ============ This is the documentation for the `FOSHttpCache library <https://github.com/FriendsOfSymfony/FOSHttpCache>`_. This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and...
<|file_sep|>original/doc/index.rst FOSHttpCache ============ This is the documentation for the FOSHttpCache library. This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and to test your cachi...
51cf0602019e1458312cea4d566306bd8640e463
doc/index.rst
doc/index.rst
reStructuredText
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" os: - linux - osx install: - npm update - npm install script: - npm run lint - npm test after_success: - codecov -f test/coverage/coverage-final.json <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "7" os: ...
language: node_js node_js: - "10" - "11" os: - linux - osx install: - npm update - npm install script: - npm run lint - npm test after_success: - codecov -f test/coverage/coverage-final.json
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" os: - linux - osx install: - npm update - npm install script: - npm run lint - npm test after_success: - codecov -f test/coverage/coverage-final.json <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "7" os: ...
23e31a5c693ce9bd22182171038231f0adb057e8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md Then add the decorator like this: ```js import React from 'react'; import { storiesOf } from '@kadira/storybook'; import MyComponent from '../my_component'; import centered from '@kadira/react-storybook-decorator-centered'; storiesOf('MyComponent', module) .addDecorator(centered); ...
Then add the decorator like this: ```js import React from 'react'; import { storiesOf } from '@kadira/storybook'; import MyComponent from '../my_component'; import centered from '@kadira/react-storybook-decorator-centered'; storiesOf('MyComponent', module) .addDecorator(centered) .add('without props', () => (<My...
<|file_sep|>original/README.md Then add the decorator like this: ```js import React from 'react'; import { storiesOf } from '@kadira/storybook'; import MyComponent from '../my_component'; import centered from '@kadira/react-storybook-decorator-centered'; storiesOf('MyComponent', module) .addDecorator(centered); ...
66a4313b8271f772757be4b8afe396ba4e42599d
README.md
README.md
Markdown
<|file_sep|>scripts/push-javadoc.sh.diff original: updated: LATEST_TAG=$(git describe master --abbrev=0 --tags) <|file_sep|>original/scripts/push-javadoc.sh #!/bin/bash if [ "$TRAVIS_REPO_SLUG" == "openxc/openxc-android" ] && [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TR...
#!/bin/bash if [ "$TRAVIS_REPO_SLUG" == "openxc/openxc-android" ] && [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "automate-javadoc" ]; then cp -R library/build/docs/javadoc $HOME/javadoc-latest cd $HOME git config --global user.email "travis@travis-...
<|file_sep|>scripts/push-javadoc.sh.diff original: updated: LATEST_TAG=$(git describe master --abbrev=0 --tags) <|file_sep|>original/scripts/push-javadoc.sh #!/bin/bash if [ "$TRAVIS_REPO_SLUG" == "openxc/openxc-android" ] && [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TR...
22890db58dfbbe4d8ed0e57026434de37028813e
scripts/push-javadoc.sh
scripts/push-javadoc.sh
Shell
<|file_sep|>original/config/initializers/90_roll_tape.rb require 'rack/streaming_proxy' if defined? Camerasink::BASEDIR camera = Camera.find_by_name(:test) if !camera camera = Camera.new camera.name = "test" camera.save! end camera.source = "rtsp://127.0.0.1:8554/test" camera.run! end <|file_sep|...
if defined? Camerasink::BASEDIR camera = Camera.find_by_name(:test) if !camera camera = Camera.new camera.name = "test" camera.save! end camera.source = "rtsp://127.0.0.1:8554/test" camera.run! end
<|file_sep|>original/config/initializers/90_roll_tape.rb require 'rack/streaming_proxy' if defined? Camerasink::BASEDIR camera = Camera.find_by_name(:test) if !camera camera = Camera.new camera.name = "test" camera.save! end camera.source = "rtsp://127.0.0.1:8554/test" camera.run! end <|file_sep|...
cd35b0452964d77931ec15eca7d87bb0bb680ce7
config/initializers/90_roll_tape.rb
config/initializers/90_roll_tape.rb
Ruby
<|file_sep|>typescript/sorting/merge-sort.ts.diff original: let left = []; let right = []; updated: <|file_sep|>original/typescript/sorting/merge-sort.ts export function mergeSort<T>(arr: T[]): T[] { if (arr.length <= 1) { return arr; } let left = []; let right = []; const mid = arr.length / 2; f...
export function mergeSort<T>(arr: T[]): T[] { if (arr.length <= 1) { return arr; } const mid = arr.length / 2; let left = arr.slice(0, mid); let right = arr.slice(mid, arr.length); left = mergeSort(left); right = mergeSort(right); return merge<T>(left, right); } // Demo: let arr = [3, 7, 6, 1, ...
<|file_sep|>typescript/sorting/merge-sort.ts.diff original: let left = []; let right = []; updated: <|file_sep|>original/typescript/sorting/merge-sort.ts export function mergeSort<T>(arr: T[]): T[] { if (arr.length <= 1) { return arr; } let left = []; let right = []; const mid = arr.length / 2; f...
86e2288e1a0288c8fd720f558693efa35ff8de7f
typescript/sorting/merge-sort.ts
typescript/sorting/merge-sort.ts
TypeScript
<|file_sep|>original/docs/build-instructions/windows.md * [GitHub for Windows](http://windows.github.com/) ## Instructions ```bat # Use the `Git Shell` app which was installed by GitHub for Windows. Also Make # sure you have logged into the GitHub for Windows GUI App. cd C:\ git clone https://github.com/a...
* [GitHub for Windows](http://windows.github.com/) ## Instructions ```bat # Use the `Git Shell` app which was installed by GitHub for Windows. Also Make # sure you have logged into the GitHub for Windows GUI App. cd C:\ git clone https://github.com/atom/atom/ cd atom script/build ``` ## Why do I ha...
<|file_sep|>original/docs/build-instructions/windows.md * [GitHub for Windows](http://windows.github.com/) ## Instructions ```bat # Use the `Git Shell` app which was installed by GitHub for Windows. Also Make # sure you have logged into the GitHub for Windows GUI App. cd C:\ git clone https://github.com/a...
fd5ea8a0b163f893f2285e492b6938cb19085138
docs/build-instructions/windows.md
docs/build-instructions/windows.md
Markdown
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_install: - echo $LANG - echo $LC_ALL before_script: script: | set -e rvm get head # Workaround 'shell_session_update: command not found' make test python setup.py build python setup.py test branches: only: -...
language: cpp compiler: - gcc - clang before_install: - echo $LANG - echo $LC_ALL before_script: script: - rvm get head # Workaround 'shell_session_update: command not found' - make test - python setup.py build - python setup.py test branches: only: - master notifications: recipients: ...
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_install: - echo $LANG - echo $LC_ALL before_script: script: | set -e rvm get head # Workaround 'shell_session_update: command not found' make test python setup.py build python setup.py test branches: only: -...
654f96a8a2113d62f8ff4918964d828b3e33aaf0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/controllers/projects/boards/issues_controller.rb if service.execute(issue) head :ok else head :unprocessable_entity end end private def issue @issue ||= project.issues.visible_to_user(current_user).find_by!(iid: params[:id]...
if service.execute(issue) head :ok else head :unprocessable_entity end end private def issue @issue ||= IssuesFinder.new(current_user, project_id: project.id, state: 'all') .execute .where(iid: ...
<|file_sep|>original/app/controllers/projects/boards/issues_controller.rb if service.execute(issue) head :ok else head :unprocessable_entity end end private def issue @issue ||= project.issues.visible_to_user(current_user).find_by!(iid: params[:id]...
babdf45a82072b5e61ecaf1974d4588206d472f3
app/controllers/projects/boards/issues_controller.rb
app/controllers/projects/boards/issues_controller.rb
Ruby
<|file_sep|>sys/dumpstack.go.diff original: updated: const dumpStackBufSizeInit = 4096 <|file_sep|>sys/dumpstack.go.diff original: buf := make([]byte, 1024) for runtime.Stack(buf, true) == cap(buf) { updated: buf := make([]byte, dumpStackBufSizeInit) for { n := runtime.Stack(buf, true) if n < cap(buf) { re...
package sys import "runtime" const dumpStackBufSizeInit = 4096 func DumpStack() string { buf := make([]byte, dumpStackBufSizeInit) for { n := runtime.Stack(buf, true) if n < cap(buf) { return string(buf[:n]) } buf = make([]byte, cap(buf)*2) } }
<|file_sep|>sys/dumpstack.go.diff original: updated: const dumpStackBufSizeInit = 4096 <|file_sep|>sys/dumpstack.go.diff original: buf := make([]byte, 1024) for runtime.Stack(buf, true) == cap(buf) { updated: buf := make([]byte, dumpStackBufSizeInit) for { n := runtime.Stack(buf, true) if n < cap(buf) { re...
00ed6923f7c80857ccd4a21f9044290062a4fc12
sys/dumpstack.go
sys/dumpstack.go
Go
<|file_sep|>package.json.diff original: updated: "cldr-data": "^35.1.0", "eslint": "^4.11.0", <|file_sep|>original/package.json }, "bin": { "cldrpluralruleparser": "./bin/cldrpluralruleparser.js" }, "main": "./src/CLDRPluralRuleParser.js", "license": "MIT", "dependencies": {}, "devDependencies": { "chai...
}, "bin": { "cldrpluralruleparser": "./bin/cldrpluralruleparser.js" }, "main": "./src/CLDRPluralRuleParser.js", "license": "MIT", "dependencies": {}, "devDependencies": { "chai": "^3.5.0", "cldr-data": "^35.1.0", "eslint": "^4.11.0", "mocha": "^4.0.1", "mocha-eslint": "^4.1.0" }, "scripts": { "te...
<|file_sep|>package.json.diff original: updated: "cldr-data": "^35.1.0", "eslint": "^4.11.0", <|file_sep|>original/package.json }, "bin": { "cldrpluralruleparser": "./bin/cldrpluralruleparser.js" }, "main": "./src/CLDRPluralRuleParser.js", "license": "MIT", "dependencies": {}, "devDependencies": { "chai...
e2f3d2faa7f8d20172a5e5a06bfee77c69e2fd55
package.json
package.json
JSON
<|file_sep|>original/src/main/java/macrobase/analysis/outlier/TimeSeriesOutlierDetector.java public TimeSeriesOutlierDetector(MacroBaseConf conf) { super(conf); this.tupleWindowSize = conf.getInt(MacroBaseConf.TUPLE_WINDOW, MacroBaseDefaults.TUPLE_WINDOW); assert tupleWindowSize > 1; } ...
public TimeSeriesOutlierDetector(MacroBaseConf conf) { super(conf); this.tupleWindowSize = conf.getInt(MacroBaseConf.TUPLE_WINDOW, MacroBaseDefaults.TUPLE_WINDOW); assert tupleWindowSize > 1; } public abstract void addToWindow(Datum datum); public abstract void removeLastFromWi...
<|file_sep|>original/src/main/java/macrobase/analysis/outlier/TimeSeriesOutlierDetector.java public TimeSeriesOutlierDetector(MacroBaseConf conf) { super(conf); this.tupleWindowSize = conf.getInt(MacroBaseConf.TUPLE_WINDOW, MacroBaseDefaults.TUPLE_WINDOW); assert tupleWindowSize > 1; } ...
b13ec943c809e1edfbaf3ede7a8f0373a46db7c2
src/main/java/macrobase/analysis/outlier/TimeSeriesOutlierDetector.java
src/main/java/macrobase/analysis/outlier/TimeSeriesOutlierDetector.java
Java
<|file_sep|>components/net/sniffer_task.rs.diff original: fn start(&self, next_rx: Sender<LoadResponse>) { updated: fn start(self, next_rx: Sender<LoadResponse>) { <|file_sep|>original/components/net/sniffer_task.rs } impl SnifferManager { fn new(data_receiver: Receiver<LoadResponse>) -> SnifferManager { ...
SnifferManager { data_receiver: data_receiver, } } } impl SnifferManager { fn start(self, next_rx: Sender<LoadResponse>) { loop { match self.data_receiver.try_recv() { Ok(snif_data) => { let result = next_rx.send_opt(snif_data)...
<|file_sep|>components/net/sniffer_task.rs.diff original: fn start(&self, next_rx: Sender<LoadResponse>) { updated: fn start(self, next_rx: Sender<LoadResponse>) { <|file_sep|>original/components/net/sniffer_task.rs } impl SnifferManager { fn new(data_receiver: Receiver<LoadResponse>) -> SnifferManager { ...
9eda82f4a3d0dca0642157e9071b94f64eb830fe
components/net/sniffer_task.rs
components/net/sniffer_task.rs
Rust
<|file_sep|>Casks/tg-pro.rb.diff original: version '2.8.5' sha256 'ddffad55f0c8998323d270649f22f3e7a63ed45f867ba141a4b6df2b76bca6fc' updated: version '2.8.7' sha256 '32b622cec40f4cfe0cd5455dd110696b8284524aadd92c552a769c130bbc88e7' <|file_sep|>original/Casks/tg-pro.rb cask :v1 => 'tg-pro' do version '2.8.5' ...
cask :v1 => 'tg-pro' do version '2.8.7' sha256 '32b622cec40f4cfe0cd5455dd110696b8284524aadd92c552a769c130bbc88e7' url "http://www.tunabellysoftware.com/resources/TGPro_#{version.gsub('.','_')}.zip" name 'TG Pro' appcast 'http://tunabellysoftware.com/resources/sparkle/tgpro/profileInfo.php', :sha256...
<|file_sep|>Casks/tg-pro.rb.diff original: version '2.8.5' sha256 'ddffad55f0c8998323d270649f22f3e7a63ed45f867ba141a4b6df2b76bca6fc' updated: version '2.8.7' sha256 '32b622cec40f4cfe0cd5455dd110696b8284524aadd92c552a769c130bbc88e7' <|file_sep|>original/Casks/tg-pro.rb cask :v1 => 'tg-pro' do version '2.8.5' ...
f4acc1440a6c343b83acf89993ee27b249bd57bd
Casks/tg-pro.rb
Casks/tg-pro.rb
Ruby
<|file_sep|>es55-test/src/test/groovy/pl/allegro/tech/embeddedelasticsearch/PluginsInstallationSpec.groovy.diff original: updated: import static java.util.concurrent.TimeUnit.MINUTES import static pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticConfiguration.START_TIMEOUT_IN_MINUTES import static pl.allegro.tech...
import static pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticConfiguration.START_TIMEOUT_IN_MINUTES import static pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticConfiguration.TEST_ES_JAVA_OPTS class PluginsInstallationSpec extends PluginsInstallationBaseSpec { static final HTTP_PORT_VALUE = 9200 ...
<|file_sep|>es55-test/src/test/groovy/pl/allegro/tech/embeddedelasticsearch/PluginsInstallationSpec.groovy.diff original: updated: import static java.util.concurrent.TimeUnit.MINUTES import static pl.allegro.tech.embeddedelasticsearch.EmbeddedElasticConfiguration.START_TIMEOUT_IN_MINUTES import static pl.allegro.tech...
6c660df3633ee8d27ee6e23651e13821a9e6124c
es55-test/src/test/groovy/pl/allegro/tech/embeddedelasticsearch/PluginsInstallationSpec.groovy
es55-test/src/test/groovy/pl/allegro/tech/embeddedelasticsearch/PluginsInstallationSpec.groovy
Groovy
<|file_sep|>original/.travis.yml branches: only: - master - /^\d\.\d+$/ env: - TOXENV=py27 - TOXENV=precise - TOXENV=py33 - TOXENV=py35 - TOXENV=docs install: - pip install -U tox twine wheel codecov script: tox after_success: - codecov notifications: irc: use_notice: true skip_join: true ...
branches: only: - master - /^\d\.\d+$/ env: - TOXENV=py27 - TOXENV=precise - TOXENV=py33 - TOXENV=py35 - TOXENV=docs matrix: allow_failures: - env: TOXENV=py35 install: - pip install -U tox twine wheel codecov script: tox after_success: - codecov notifications: irc: use_notice: true
<|file_sep|>original/.travis.yml branches: only: - master - /^\d\.\d+$/ env: - TOXENV=py27 - TOXENV=precise - TOXENV=py33 - TOXENV=py35 - TOXENV=docs install: - pip install -U tox twine wheel codecov script: tox after_success: - codecov notifications: irc: use_notice: true skip_join: true ...
131f4632472922234a7abde116eb566329a952a2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # Mathias’s dotfiles ## Installation ```bash git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && ./bootstrap.sh ``` To update, cd into the `dotfiles` folder and then: ```bash ./bootstrap.sh ``` Suggestions/improvements [welcome](https://github.com/mathiasbynens/...
# Mathias’s dotfiles ## Installation ```bash git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && ./bootstrap.sh ``` When setting up a new Mac, you may want to set some sensible OS X defaults: ```bash ./.osx ``` To update, `cd` into your local `dotfiles` repository and then: ```bash ./bootstr...
<|file_sep|>original/README.md # Mathias’s dotfiles ## Installation ```bash git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && ./bootstrap.sh ``` To update, cd into the `dotfiles` folder and then: ```bash ./bootstrap.sh ``` Suggestions/improvements [welcome](https://github.com/mathiasbynens/...
d43f1c0b31b66f47180e3312402a008430257871
README.md
README.md
Markdown
<|file_sep|>original/lib/game.rb require_relative 'tic_tac_toe' # decisions vs dependency class Game attr_accessor :gametype def initialize(gametype = nil) @gametype = gametype end def display_intro_msg puts "Welcome to #{gametype.desc[:name]} \n#{gametype.desc[:instructions]}" gametype.show_boa...
require_relative 'tic_tac_toe' class Game attr_accessor :gametype def initialize(gametype = nil) @gametype = gametype end def display_intro_msg puts "Welcome to #{gametype.desc[:name]} \n#{gametype.desc[:instructions]}" gametype.show_board end def prompt_user_for_input "Enter a number #...
<|file_sep|>original/lib/game.rb require_relative 'tic_tac_toe' # decisions vs dependency class Game attr_accessor :gametype def initialize(gametype = nil) @gametype = gametype end def display_intro_msg puts "Welcome to #{gametype.desc[:name]} \n#{gametype.desc[:instructions]}" gametype.show_boa...
36b4290119380900057e308522d4e2a851e93bb7
lib/game.rb
lib/game.rb
Ruby
<|file_sep|>ui/src/data_explorer/components/VisHeader.tsx.diff original: import VisHeaderTabs from 'src/data_explorer/components/VisHeaderTabs' updated: import RadioButtons, { RadioButton, } from 'src/reusable_ui/components/radio_buttons/RadioButtons' <|file_sep|>ui/src/data_explorer/components/VisHeader.tsx.diff ori...
class VisHeader extends PureComponent<Props> { public render() { return ( <div className="graph-heading"> {this.visTypeToggle} {this.downloadButton} </div> ) } private handleChangeVisType = (visType: RadioButton) => { const {onToggleView} = this.props const {text} = v...
<|file_sep|>ui/src/data_explorer/components/VisHeader.tsx.diff original: import VisHeaderTabs from 'src/data_explorer/components/VisHeaderTabs' updated: import RadioButtons, { RadioButton, } from 'src/reusable_ui/components/radio_buttons/RadioButtons' <|file_sep|>ui/src/data_explorer/components/VisHeader.tsx.diff ori...
91895dee9cb5bfa3b6d262ea9c2522c24c55df9e
ui/src/data_explorer/components/VisHeader.tsx
ui/src/data_explorer/components/VisHeader.tsx
TypeScript
<|file_sep|>original/bower.json "coyoho", "grappendorf" ], "authors": [ "Dirk Grappendorf <dirk@grappendorf.net> (http://www.grappendorf.net)" ], "homepage": "https://github.com/grappendorf/grapp-fa-icon", "repository": { "type": "git", "url": "git://github.com/grappendorf/grapp-fa-icon.gi...
"coyoho", "grappendorf" ], "authors": [ "Dirk Grappendorf <dirk@grappendorf.net> (http://www.grappendorf.net)" ], "homepage": "https://github.com/grappendorf/grapp-fa-icon", "repository": { "type": "git", "url": "git://github.com/grappendorf/grapp-fa-icon.git" }, "dependencies": { ...
<|file_sep|>original/bower.json "coyoho", "grappendorf" ], "authors": [ "Dirk Grappendorf <dirk@grappendorf.net> (http://www.grappendorf.net)" ], "homepage": "https://github.com/grappendorf/grapp-fa-icon", "repository": { "type": "git", "url": "git://github.com/grappendorf/grapp-fa-icon.gi...
be75d8f9e5554f5727fe164dd9cb764345c3faca
bower.json
bower.json
JSON
<|file_sep|>groovy/content.md.diff original: Note that if you are mounting a volume and the uid running Docker is not _1000_, you should run as user _root_ (`-u root`). updated: Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`). <|file_sep|>groovy...
Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`). ## Starting Groovysh `docker run -it --rm groovy` ## Running a Groovy script `docker run --rm -v "$PWD":/home/groovy/scripts -w /home/groovy/scripts groovy groovy <script> <script-args>` ## ...
<|file_sep|>groovy/content.md.diff original: Note that if you are mounting a volume and the uid running Docker is not _1000_, you should run as user _root_ (`-u root`). updated: Note that if you are mounting a volume and the uid running Docker is not `1000`, you should run as user `root` (`-u root`). <|file_sep|>groovy...
ecaef6363787b156e3a003bf8a9e4e7039f4feba
groovy/content.md
groovy/content.md
Markdown
<|file_sep|>src/fs/dvfs/dcache_no.c.diff original: updated: #include <fs/dvfs.h> <|file_sep|>original/src/fs/dvfs/dcache_no.c /** * @file * @brief Handle cache lookup just by iterating vfs tree * @author Denis Deryugin <deryugin.denis@gmail.com> * @version 0.1 * @date 2015-06-09 */ <|file_sep|>current/src/fs/d...
/** * @file * @brief Handle cache lookup just by iterating vfs tree * @author Denis Deryugin <deryugin.denis@gmail.com> * @version 0.1 * @date 2015-06-09 */ #include <fs/dvfs.h> struct dentry *dvfs_cache_lookup(const char *path, struct dentry *base) { return NULL; } struct dentry *dvfs_cache_get(char *path) {...
<|file_sep|>src/fs/dvfs/dcache_no.c.diff original: updated: #include <fs/dvfs.h> <|file_sep|>original/src/fs/dvfs/dcache_no.c /** * @file * @brief Handle cache lookup just by iterating vfs tree * @author Denis Deryugin <deryugin.denis@gmail.com> * @version 0.1 * @date 2015-06-09 */ <|file_sep|>current/src/fs/d...
6566e0278082294b97e7cd12eb4b4479abfee100
src/fs/dvfs/dcache_no.c
src/fs/dvfs/dcache_no.c
C
<|file_sep|>original/.github/workflows/test.yml steps: - uses: actions/checkout@v2 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 bundler-cache: true - name: run spec run: bundle exec rake test deploy: if: ${{ git...
steps: - uses: actions/checkout@v2 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 bundler-cache: true - name: run spec run: bundle exec rake test deploy: if: ${{ github.event_name != 'pull_request' && github.ref ...
<|file_sep|>original/.github/workflows/test.yml steps: - uses: actions/checkout@v2 with: fetch-depth: 1 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 bundler-cache: true - name: run spec run: bundle exec rake test deploy: if: ${{ git...
4c2d48b632d2e043a97b33d61920fc2126ba9e77
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/.github/workflows/checks.yaml <|file_sep|>current/.github/workflows/checks.yaml <|file_sep|>updated/.github/workflows/checks.yaml
name: Checks on: pull_request jobs: check: name: Checks runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: actions/setup-node@v1 with: node-version: '17.6.0' - run: export CHROME_BIN=/usr/bin/google-chrome - run: export DISPLAY=:99.0 -...
<|file_sep|>original/.github/workflows/checks.yaml <|file_sep|>current/.github/workflows/checks.yaml <|file_sep|>updated/.github/workflows/checks.yaml name: Checks on: pull_request jobs: check: name: Checks runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: actions/set...
8a996645a0a2fd69befb9e6a3218de3331461a81
.github/workflows/checks.yaml
.github/workflows/checks.yaml
YAML
<|file_sep|>original/package.json "url": "https://github.com/julien-f/nodejs-exec-promise" }, "dependencies": { "any-promise": "^0.1.0", "log-symbols": "^1.0.0" }, "devDependencies": { "event-to-promise": "^0.4.0", "mocha": "^2.3.3", "must": "^0.13.1", "sinon": "^1.10.3", "standa...
"url": "https://github.com/julien-f/nodejs-exec-promise" }, "dependencies": { "any-promise": "^0.1.0", "log-symbols": "^1.0.0" }, "devDependencies": { "event-to-promise": "^0.4.0", "mocha": "^2.3.3", "must": "^0.13.1", "native-promise-only": "^0.8.1", "sinon": "^1.10.3", "sta...
<|file_sep|>original/package.json "url": "https://github.com/julien-f/nodejs-exec-promise" }, "dependencies": { "any-promise": "^0.1.0", "log-symbols": "^1.0.0" }, "devDependencies": { "event-to-promise": "^0.4.0", "mocha": "^2.3.3", "must": "^0.13.1", "sinon": "^1.10.3", "standa...
da0687231c080812e68684356b1e6c02e304766f
package.json
package.json
JSON
<|file_sep|>original/plugins/search/providers/tpb.js 'use strict'; var bytes = require('bytes'); var tpb = require('thepiratebay'); tpb.setUrl('http://thepiratebay.la'); module.exports = function (program, query, done) { program.log.debug('tpb: searching for %s', query); tpb.search(query, { category: 205, ...
'use strict'; var bytes = require('bytes'); var tpb = require('thepiratebay'); tpb.setUrl('http://thepiratebay.se'); module.exports = function (program, query, done) { program.log.debug('tpb: searching for %s', query); tpb.search(query, { category: 205, orderBy: 7 }).then(function (results) { var t...
<|file_sep|>original/plugins/search/providers/tpb.js 'use strict'; var bytes = require('bytes'); var tpb = require('thepiratebay'); tpb.setUrl('http://thepiratebay.la'); module.exports = function (program, query, done) { program.log.debug('tpb: searching for %s', query); tpb.search(query, { category: 205, ...
32989c866fd815e6a132ccc202f56e117efed028
plugins/search/providers/tpb.js
plugins/search/providers/tpb.js
JavaScript
<|file_sep|>examples/source.py.diff original: updated: if self.lost: dprint('lost already') return <|file_sep|>original/examples/source.py self.loop = get_event_loop() self.waiter = Future() self.write_some_data() def write_some_data(self): dprint('w...
self.loop = get_event_loop() self.waiter = Future() self.write_some_data() def write_some_data(self): if self.lost: dprint('lost already') return dprint('writing', len(self.data), 'bytes') self.tr.write(self.data) self.loop.call_soon(s...
<|file_sep|>examples/source.py.diff original: updated: if self.lost: dprint('lost already') return <|file_sep|>original/examples/source.py self.loop = get_event_loop() self.waiter = Future() self.write_some_data() def write_some_data(self): dprint('w...
01b9d47976dd68a3fe9ae2656e423a03edb5187d
examples/source.py
examples/source.py
Python
<|file_sep|>original/index.rst Fortran 90 ========== External links: * `Fortran Best Practices <https://github.com/qsnake/qsnake/wiki/Fortran-best-practices>`_ Contents: .. toctree:: :maxdepth: 2 src/rosetta.rst src/gotchas.rst <|file_sep|>current/index.rst Fortran 90 ========== External links: * `Fo...
Fortran 90 ========== External links: * `Fortran Best Practices <https://github.com/qsnake/qsnake/wiki/Fortran-best-practices>`_ Contents: .. toctree:: :maxdepth: 2 src/rosetta.rst src/gotchas.rst This web is opensource. If you have ideas for improvement, please send a pull request against the reposit...
<|file_sep|>original/index.rst Fortran 90 ========== External links: * `Fortran Best Practices <https://github.com/qsnake/qsnake/wiki/Fortran-best-practices>`_ Contents: .. toctree:: :maxdepth: 2 src/rosetta.rst src/gotchas.rst <|file_sep|>current/index.rst Fortran 90 ========== External links: * `Fo...
e5bcc3c82dfc8e8b25921636d95047785b6e0b49
index.rst
index.rst
reStructuredText
<|file_sep|>original/bin/start-web-compute-ui-psql.sh if [ "$#" -ne 1 ] then echo "You haven't specified the configuration file" exit 1 fi config_file=$1 echo "Starting the database" su -c '${POSTGRESDIR}pg_ctl --pgdata ${DATABASEDIR}chatalytics --log ${DATABASEDIR}chatalytics/db-logfile -w start' postgres e...
if [ "$#" -ne 1 ] then echo "You haven't specified the configuration file" exit 1 fi config_file=$1 echo "Starting the database" su -c '${POSTGRESDIR}pg_ctl --pgdata ${DATABASEDIR}chatalytics --log ${DATABASEDIR}chatalytics/db-logfile -w restart' postgres echo "Finished starting the database" cd chatalytics...
<|file_sep|>original/bin/start-web-compute-ui-psql.sh if [ "$#" -ne 1 ] then echo "You haven't specified the configuration file" exit 1 fi config_file=$1 echo "Starting the database" su -c '${POSTGRESDIR}pg_ctl --pgdata ${DATABASEDIR}chatalytics --log ${DATABASEDIR}chatalytics/db-logfile -w start' postgres e...
8dfb595b88748972a47dd87a07a46858eeabf1cb
bin/start-web-compute-ui-psql.sh
bin/start-web-compute-ui-psql.sh
Shell
<|file_sep|>original/src/org/mtransit/android/commons/TaskUtils.java import org.mtransit.android.commons.task.MTAsyncTask; public final class TaskUtils implements MTLog.Loggable { private static final String TAG = TaskUtils.class.getSimpleName(); @Override public String getLogTag() { return TAG; } public sta...
public static final Executor THREAD_POOL_EXECUTOR = MTAsyncTask.THREAD_POOL_EXECUTOR; @SuppressWarnings("unchecked") public static <Params, Progress, Result> void execute(MTAsyncTask<Params, Progress, Result> asyncTask, Params... params) { if (asyncTask == null) { return; } asyncTask.executeOnExecutor(THR...
<|file_sep|>original/src/org/mtransit/android/commons/TaskUtils.java import org.mtransit.android.commons.task.MTAsyncTask; public final class TaskUtils implements MTLog.Loggable { private static final String TAG = TaskUtils.class.getSimpleName(); @Override public String getLogTag() { return TAG; } public sta...
376c9c0ef16ef2ac7d08c05e95806781f5081b18
src/org/mtransit/android/commons/TaskUtils.java
src/org/mtransit/android/commons/TaskUtils.java
Java
<|file_sep|>original/requirements.txt feedparser==5.2.1 PyYAML==3.12 raven==6.1.0 requests==2.18.4 wallabag-api==1.2.0 beautifulsoup4==4.6.0 <|file_sep|>current/requirements.txt feedparser==5.2.1 PyYAML==3.12 raven==6.1.0 requests==2.18.4 wallabag-api==1.2.0 beautifulsoup4==4.6.0 <|file_sep|>updated/requirements.txt
feedparser==5.2.1 PyYAML==3.12 raven==6.1.0 requests==2.18.4 wallabag-api==1.1.0 beautifulsoup4==4.6.0
<|file_sep|>original/requirements.txt feedparser==5.2.1 PyYAML==3.12 raven==6.1.0 requests==2.18.4 wallabag-api==1.2.0 beautifulsoup4==4.6.0 <|file_sep|>current/requirements.txt feedparser==5.2.1 PyYAML==3.12 raven==6.1.0 requests==2.18.4 wallabag-api==1.2.0 beautifulsoup4==4.6.0 <|file_sep|>updated/requirements.txt fe...
97fd4dccc77a0a7fc8fd6299871801d904803868
requirements.txt
requirements.txt
Text
<|file_sep|>original/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb # Declare an attribute accessor with an initial default return value. # # To give attribute <tt>:age</tt> the initial value <tt>25</tt>: # # class Person # attr_accessor_with_default :age, 25 # end ...
# Declare an attribute accessor with an initial default return value. # # To give attribute <tt>:age</tt> the initial value <tt>25</tt>: # # class Person # attr_accessor_with_default :age, 25 # end # # person = Person.new # person.age # => 25 # # person.age = 26 # person.age # ...
<|file_sep|>original/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb # Declare an attribute accessor with an initial default return value. # # To give attribute <tt>:age</tt> the initial value <tt>25</tt>: # # class Person # attr_accessor_with_default :age, 25 # end ...
a40b7159d90d0c2f80b068c7dd251b3627446fed
activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb
activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb
Ruby
<|file_sep|>ci/workflow.yml.diff original: namespace: argo updated: <|file_sep|>original/ci/workflow.yml --- apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: name: jbhannah.net namespace: argo spec: entrypoint: dag serviceAccountName: argo volumeClaimTemplates: - metadata: name: workdi...
--- apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: name: jbhannah.net spec: entrypoint: dag volumeClaimTemplates: - metadata: name: workdir spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi templates: - name: ins...
<|file_sep|>ci/workflow.yml.diff original: namespace: argo updated: <|file_sep|>original/ci/workflow.yml --- apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: name: jbhannah.net namespace: argo spec: entrypoint: dag serviceAccountName: argo volumeClaimTemplates: - metadata: name: workdi...
5840a1b331f9520d54e9aa7059e9ba16a32671e5
ci/workflow.yml
ci/workflow.yml
YAML
<|file_sep|>original/cmake/modules/cmake_uninstall.cmake.in MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) STRING(REGEX REPL...
OUTPUT_VARIABLE rm_out RETURN_VALUE rm_retval ) IF("${rm_retval}" STREQUAL 0) ELSE("${rm_retval}" STREQUAL 0) MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"") ENDIF("${rm_retval}" STREQUAL 0) ELSE(EXISTS "${file}") MESSAGE(STATUS "File \"${file}\" does not exist.") EN...
<|file_sep|>original/cmake/modules/cmake_uninstall.cmake.in MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) STRING(REGEX REPL...
24645345a9bdd924e0fc7978670212bddb628484
cmake/modules/cmake_uninstall.cmake.in
cmake/modules/cmake_uninstall.cmake.in
unknown
<|file_sep|>original/tests/integration/test_sts.py <|file_sep|>current/tests/integration/test_sts.py <|file_sep|>updated/tests/integration/test_sts.py
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
<|file_sep|>original/tests/integration/test_sts.py <|file_sep|>current/tests/integration/test_sts.py <|file_sep|>updated/tests/integration/test_sts.py # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this fi...
7f0086f966a2403fb8c653b5f897b73ab1fc4b88
tests/integration/test_sts.py
tests/integration/test_sts.py
Python
<|file_sep|>original/requirements.txt coverage==4.5.1 dj-database-url==0.5.0 Django==2.1.2 django-cors-headers==2.4.0 django-extensions==2.1.3 django-import-export==1.0.1 django-test-without-migrations==0.6 gunicorn==19.8.1 psycopg2==2.7.5 python-decouple==3.1 pytz==2018.5 tblib==1.3.2 whitenoise==4.0 <|file_sep|>curre...
coverage==4.5.1 dj-database-url==0.5.0 Django==2.1.2 django-cors-headers==2.4.0 django-extensions==2.1.3 django-import-export==1.0.1 django-test-without-migrations==0.6 gunicorn==19.8.1 psycopg2==2.7.5 python-decouple==3.1 pytz==2018.5 tblib==1.3.2 whitenoise==4.1
<|file_sep|>original/requirements.txt coverage==4.5.1 dj-database-url==0.5.0 Django==2.1.2 django-cors-headers==2.4.0 django-extensions==2.1.3 django-import-export==1.0.1 django-test-without-migrations==0.6 gunicorn==19.8.1 psycopg2==2.7.5 python-decouple==3.1 pytz==2018.5 tblib==1.3.2 whitenoise==4.0 <|file_sep|>curre...
c41cc6da175605c7420569fd0218dc20d63324c3
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/py/test_notifications.py assert alice.notifications == ["abcd"] def test_add_multiple_notifications(self): alice = self.make_participant('alice') alice.add_notification('abcd') alice.add_notification('1234') assert alice.notifications == ["abcd", "...
alice = self.make_participant('alice') alice.add_notification('abcd') alice.add_notification('1234') assert alice.notifications == ["abcd", "1234"] def test_add_same_notification_twice(self): alice = self.make_participant('alice') alice.add_notification('abcd') ...
<|file_sep|>original/tests/py/test_notifications.py assert alice.notifications == ["abcd"] def test_add_multiple_notifications(self): alice = self.make_participant('alice') alice.add_notification('abcd') alice.add_notification('1234') assert alice.notifications == ["abcd", "...
27e2cc73f43c5ca8eedee52009652b6195e76198
tests/py/test_notifications.py
tests/py/test_notifications.py
Python
<|file_sep|>original/buddy/buddytest.t #!/bin/sh DIR=`dirname $(which $0)` DIR=$( (cd $DIR ; pwd -P) ) PATH=$PATH:$DIR (mkdir -p bt || echo ok) cd $DIR/bt && rm -f store.sqlite && sqlite3 store.sqlite < ../../store/schema.sql && exec ../buddytest <|file_sep|>current/buddy/buddytest.t #!/bin/sh DIR=`dirname $(which $0...
#!/bin/sh DIR=`dirname $(which $0)` DIR=$( (cd $DIR ; pwd -P) ) PATH=$PATH:$DIR (cd $DIR && mkdir -p bt || echo ok) cd $DIR/bt && rm -f store.sqlite && sqlite3 store.sqlite < ../../store/schema.sql && exec ../buddytest
<|file_sep|>original/buddy/buddytest.t #!/bin/sh DIR=`dirname $(which $0)` DIR=$( (cd $DIR ; pwd -P) ) PATH=$PATH:$DIR (mkdir -p bt || echo ok) cd $DIR/bt && rm -f store.sqlite && sqlite3 store.sqlite < ../../store/schema.sql && exec ../buddytest <|file_sep|>current/buddy/buddytest.t #!/bin/sh DIR=`dirname $(which $0...
ae218da12ed7b8454e5da26d2c79e8224f581fe0
buddy/buddytest.t
buddy/buddytest.t
Perl
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==2.6.0 cryptography==2.0.3 tox==2.8.2 coverage==4.4.1 Sphinx==1.6.4 PyYAML==3.11 pyup-update-pytest-3.2.2 PyYAML==3.12 pytest-runner==2.11.1 pytest==3.2.2 pytest-runner==2.12.1 <|file_sep|>current/requirem...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==2.6.0 cryptography==2.0.3 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 PyYAML==3.11 pyup-update-pytest-3.2.2 PyYAML==3.12 pytest-runner==2.11.1 pytest==3.2.2 pytest-runner==2.12.1
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==2.6.0 cryptography==2.0.3 tox==2.8.2 coverage==4.4.1 Sphinx==1.6.4 PyYAML==3.11 pyup-update-pytest-3.2.2 PyYAML==3.12 pytest-runner==2.11.1 pytest==3.2.2 pytest-runner==2.12.1 <|file_sep|>current/requirem...
b05bd1661ec315399f8299e7e0e28e14d29db411
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>applications/advection/2d/swirl/qinit.f.diff original: integer i, j updated: integer i, j, mq <|file_sep|>applications/advection/2d/swirl/qinit.f.diff original: do i = 1-mbc,mx+mbc xi = xlower + (i-0.5d0)*dx do j = 1-mbc,my+mbc yj = ylower + (j-0.5d0)*dy...
integer i, j, mq double precision xi, yj, s do mq = 1,meqn do i = 1-mbc,mx+mbc xi = xlower + (i-0.5d0)*dx do j = 1-mbc,my+mbc yj = ylower + (j-0.5d0)*dy s = 0.5d0 if (xi .lt. s) then q(i,j,mq) =...
<|file_sep|>applications/advection/2d/swirl/qinit.f.diff original: integer i, j updated: integer i, j, mq <|file_sep|>applications/advection/2d/swirl/qinit.f.diff original: do i = 1-mbc,mx+mbc xi = xlower + (i-0.5d0)*dx do j = 1-mbc,my+mbc yj = ylower + (j-0.5d0)*dy...
766d8351162a9edd545a3d8587fba507c4ca0a30
applications/advection/2d/swirl/qinit.f
applications/advection/2d/swirl/qinit.f
FORTRAN
<|file_sep|>package.json.diff original: "grunt": "~0.4.0rc4" updated: "grunt": "~0.4" <|file_sep|>original/package.json "url": "https://github.com/vojtajina/grunt-bump/issues" }, "main": "grunt.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "dependencies":...
"url": "https://github.com/vojtajina/grunt-bump/issues" }, "main": "grunt.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "dependencies": {}, "peerDependencies": { "grunt": "~0.4" }, "devDependencies": { "grunt-contrib-nodeunit": "~0.1.1", "grunt"...
<|file_sep|>package.json.diff original: "grunt": "~0.4.0rc4" updated: "grunt": "~0.4" <|file_sep|>original/package.json "url": "https://github.com/vojtajina/grunt-bump/issues" }, "main": "grunt.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "dependencies":...
ee1e4a7f8c99b4865a14bc4a14ba225ddaea9127
package.json
package.json
JSON
<|file_sep|>package.json.diff original: "version": "0.1.2", updated: "version": "0.1.3", <|file_sep|>original/package.json "type": "git", "url": "git://github.com/jeresig/node-enamdict.git" }, "keywords": [ "ja", "jp", "japanese", "romaji", "language" ], "author": "John Resig <je...
"type": "git", "url": "git://github.com/jeresig/node-enamdict.git" }, "keywords": [ "ja", "jp", "japanese", "romaji", "language" ], "author": "John Resig <jeresig@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/jeresig/node-enamdict/issues" }, "depende...
<|file_sep|>package.json.diff original: "version": "0.1.2", updated: "version": "0.1.3", <|file_sep|>original/package.json "type": "git", "url": "git://github.com/jeresig/node-enamdict.git" }, "keywords": [ "ja", "jp", "japanese", "romaji", "language" ], "author": "John Resig <je...
f5c4109c4946126965535cfa8c196600f2a4ea36
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: c compiler: - gcc - clang notifications: recipients: - kenhys@gmail.com branches: only: - master - develop before_script: - curl https://raw.github.com/kenhys/sylpheed-plugin-factory/master/misc/setup-travis.sh | sh - git submodule update --init --recur...
language: c compiler: - gcc - clang notifications: recipients: - kenhys@gmail.com branches: only: - master - develop before_script: - curl --location https://raw.github.com/kenhys/sylpheed-plugin-factory/master/misc/setup-travis.sh | sh - git submodule update --init --recursive - ./autogen.sh ...
<|file_sep|>original/.travis.yml language: c compiler: - gcc - clang notifications: recipients: - kenhys@gmail.com branches: only: - master - develop before_script: - curl https://raw.github.com/kenhys/sylpheed-plugin-factory/master/misc/setup-travis.sh | sh - git submodule update --init --recur...
438f49ce61708709f90ef87937dbfda17ea3aa80
.travis.yml
.travis.yml
YAML
<|file_sep|>circle.yml.diff original: - case $CIRCLE_NODE_INDEX in 0) make setup ;; 1) nvm exec 4 make setup ;; 2) nvm install 6 && nvm exec 6 make setup ;; esac: updated: - case $CIRCLE_NODE_INDEX in 0) make setup ;; 1) nvm install 6 && nvm exec 6 make setup ;; 2) nvm install 7 && nvm exec 7 make setup ;; esac...
dependencies: override: - printf '%s\n' color=false progress=false >.npmrc - rm -rf node_modules - case $CIRCLE_NODE_INDEX in 0) make setup ;; 1) nvm install 6 && nvm exec 6 make setup ;; 2) nvm install 7 && nvm exec 7 make setup ;; esac: parallel: true machine: node: version: 4 test: ov...
<|file_sep|>circle.yml.diff original: - case $CIRCLE_NODE_INDEX in 0) make setup ;; 1) nvm exec 4 make setup ;; 2) nvm install 6 && nvm exec 6 make setup ;; esac: updated: - case $CIRCLE_NODE_INDEX in 0) make setup ;; 1) nvm install 6 && nvm exec 6 make setup ;; 2) nvm install 7 && nvm exec 7 make setup ;; esac...
969483e40c7f497a654a4572611cc66bffb70e40
circle.yml
circle.yml
YAML
<|file_sep|>original/.github/workflows/ci.yml --- jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ["2.5", "2.6", "2.7"] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix....
--- name: ci on: push: paths: - ".github/workflows/ci.yml" - "lib/**" - "*.gemspec" - "spec/**" - "Rakefile" - "Gemfile" - ".rubocop.yml" pull_request: branches: - master jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ["2.5...
<|file_sep|>original/.github/workflows/ci.yml --- jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ["2.5", "2.6", "2.7"] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix....
aeb4220edb4eb976e388d7bc343800df6ed073c1
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>README.md.diff original: updated: -v - print version number <|file_sep|>original/README.md Usage ----- input-source-switch [-h] [-l] [<input-source-id>] -h - show help message -l - list all selectable input sources If no arguments, show current input source If <input-source-id> -...
input-source-switch [-h] [-l] [<input-source-id>] -h - show help message -l - list all selectable input sources -v - print version number If no arguments, show current input source If <input-source-id> - select specified input source How to build ------------ git clone https://github.co...
<|file_sep|>README.md.diff original: updated: -v - print version number <|file_sep|>original/README.md Usage ----- input-source-switch [-h] [-l] [<input-source-id>] -h - show help message -l - list all selectable input sources If no arguments, show current input source If <input-source-id> -...
cfca8149c6805b333910858a22aeeb124cbca903
README.md
README.md
Markdown
<|file_sep|>original/netlify.toml [dev] functions = "./functions" [build] functions = "./functions" <|file_sep|>current/netlify.toml [dev] functions = "./functions" [build] functions = "./functions" <|file_sep|>updated/netlify.toml
[dev] functions = "./functions" [build] functions = "./functions" [context.production] environment = { NODE_VERSION = "14.x" }
<|file_sep|>original/netlify.toml [dev] functions = "./functions" [build] functions = "./functions" <|file_sep|>current/netlify.toml [dev] functions = "./functions" [build] functions = "./functions" <|file_sep|>updated/netlify.toml [dev] functions = "./functions" [build] functions = "./functions" [conte...
847ca0da9592b62281233f58cf399e57b7a4d27e
netlify.toml
netlify.toml
TOML
<|file_sep|>original/.travis.yml language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test <|file_sep|>current/.travis.yml language: node_js node_js: - '12' - '1...
language: node_js node_js: - '12' - '14' - '16' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test
<|file_sep|>original/.travis.yml language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test <|file_sep|>current/.travis.yml language: node_js node_js: - '12' - '1...
3cd65d3ac029b3eafa30f4c179966c11886691ec
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.rst ======================== .. image:: http://governance.openstack.org/badges/openstack-ansible-openstack_hosts.svg :target: http://governance.openstack.org/reference/tags/index.html .. Change things from this point on ================================= OpenStack-Ansible openstack_hos...
======================== .. image:: http://governance.openstack.org/badges/openstack-ansible-openstack_hosts.svg :target: http://governance.openstack.org/reference/tags/index.html .. Change things from this point on ================================= OpenStack-Ansible openstack_hosts =============================...
<|file_sep|>original/README.rst ======================== .. image:: http://governance.openstack.org/badges/openstack-ansible-openstack_hosts.svg :target: http://governance.openstack.org/reference/tags/index.html .. Change things from this point on ================================= OpenStack-Ansible openstack_hos...
e76fac8448ccfc65222e02f78ea34dcd65479b87
README.rst
README.rst
reStructuredText
<|file_sep|>Form/Registry/RegistryFactory.php.diff original: updated: use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\Extension\Core\Type\TextType; <|file_sep|>Form/Registry/RegistryFactory.php.diff original: ->setType('text') updated: ->setType(TextType...
// Todo this must be configurable $text = new Type(); $text ->setType(TextType::class) ->setName('Text') ; $textarea = new Type(); $textarea ->setType(TextareaType::class) ->setName('Textarea') ; $registr...
<|file_sep|>Form/Registry/RegistryFactory.php.diff original: updated: use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\Extension\Core\Type\TextType; <|file_sep|>Form/Registry/RegistryFactory.php.diff original: ->setType('text') updated: ->setType(TextType...
334264b437d43f095ae95f177dceb3571596722c
Form/Registry/RegistryFactory.php
Form/Registry/RegistryFactory.php
PHP
<|file_sep|>scripts/config.sh.diff original: unamestr=$(uname) if [[ "$unamestr" == 'Linux' || "$unamestr" == 'FreeBSD' ]]; then dylib_ext='so' elif [[ "$unamestr" == 'Darwin' ]]; then dylib_ext='dylib' else echo "Unsupported os" exit 1 fi updated: dylib=$(echo "" | rustc --print file-names --crate-type dyl...
if echo "$RUSTC_WRAPPER" | grep sccache; then echo echo -e "\x1b[1;93m=== Warning: Unset RUSTC_WRAPPER to prevent interference with sccache ===\x1b[0m" echo export RUSTC_WRAPPER= fi dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd) export RUSTC=$dir"/bin/cg_clif" export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abor...
<|file_sep|>scripts/config.sh.diff original: unamestr=$(uname) if [[ "$unamestr" == 'Linux' || "$unamestr" == 'FreeBSD' ]]; then dylib_ext='so' elif [[ "$unamestr" == 'Darwin' ]]; then dylib_ext='dylib' else echo "Unsupported os" exit 1 fi updated: dylib=$(echo "" | rustc --print file-names --crate-type dyl...
0985044c75fff285928c451a3d43056b0955b761
scripts/config.sh
scripts/config.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: - 7 <|file_sep|>.travis.yml.diff original: updated: - hhvm-nightly <|file_sep|>.travis.yml.diff original: updated: notifications: irc: "irc.freenode.org#ppi" <|file_sep|>.travis.yml.diff original: updated: - php: 7 <|file_sep|>original/.travis.yml php: -...
- hhvm - hhvm-nightly before_install: - phpenv rehash - echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini - sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;' - COMPOSER_ROOT_VERSION=...
<|file_sep|>.travis.yml.diff original: updated: - 7 <|file_sep|>.travis.yml.diff original: updated: - hhvm-nightly <|file_sep|>.travis.yml.diff original: updated: notifications: irc: "irc.freenode.org#ppi" <|file_sep|>.travis.yml.diff original: updated: - php: 7 <|file_sep|>original/.travis.yml php: -...
9663e6ac9cd962ddcb99172a06f9cf0e37886516
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/couch_rest_adapter/db_config.rb.diff original: updated: def auth_info parts return "" unless parts['username'].present? "#{parts['username']}:#{parts['password']}@" end <|file_sep|>original/lib/couch_rest_adapter/db_config.rb YAML::load( ERB.new( File.read(confi...
YAML::load( ERB.new( File.read(config_file) ).result) end def auth_info parts return "" unless parts['username'].present? "#{parts['username']}:#{parts['password']}@" end def base_path parts = parse_config[Rails.env] "#{parts['protocol']}://#{auth_in...
<|file_sep|>lib/couch_rest_adapter/db_config.rb.diff original: updated: def auth_info parts return "" unless parts['username'].present? "#{parts['username']}:#{parts['password']}@" end <|file_sep|>original/lib/couch_rest_adapter/db_config.rb YAML::load( ERB.new( File.read(confi...
d1774803d1ef3e857051d822ceede66d6f26adf4
lib/couch_rest_adapter/db_config.rb
lib/couch_rest_adapter/db_config.rb
Ruby
<|file_sep|>original/tox.ini [tox] envlist = py26,py27,py33,pep8 minversion = 1.6 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 NOSE_OPENSTACK_RED=0.05 NOSE_OPENSTACK_YELLOW=...
[tox] envlist = py26,py27,py33,py34,pep8 minversion = 1.6 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 NOSE_OPENSTACK_RED=0.05 NOSE_OPENSTACK_YELLOW=0.025 NOSE_OPENSTACK...
<|file_sep|>original/tox.ini [tox] envlist = py26,py27,py33,pep8 minversion = 1.6 skipsdist = True [testenv] usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 NOSE_OPENSTACK_RED=0.05 NOSE_OPENSTACK_YELLOW=...
c1135a1a77f014320acfa3ea0bf1da7148faec84
tox.ini
tox.ini
INI
<|file_sep|>original/run_tests.sh <|file_sep|>current/run_tests.sh <|file_sep|>updated/run_tests.sh
#!/bin/bash # Get Python exec function get_python_exec () { for pyexe in python3.7 python3.6 python3; do if hash $pyexe 2>/dev/null; then echo $pyexe break fi done } # Create gitignore and add venv function add_to_git_ignore () { REF=$1 GIGN="./.gitignore" if [ ! -f "$GIGN" ]; then ...
<|file_sep|>original/run_tests.sh <|file_sep|>current/run_tests.sh <|file_sep|>updated/run_tests.sh #!/bin/bash # Get Python exec function get_python_exec () { for pyexe in python3.7 python3.6 python3; do if hash $pyexe 2>/dev/null; then echo $pyexe break fi done } # Create gitignore and ad...
4a524b3aec20a8aebf482f23359601b4d117e2bd
run_tests.sh
run_tests.sh
Shell
<|file_sep|>original/app/templates/gdt/package.json { "name": "grunt-drupal-tasks-example", "description": "Example package.json for a Drupal project built with grunt-drupal-tasks.", "version": "0.1.0", "engines": { "node": ">=0.12.0", "npm": "2.x" }, "private": true, "scripts": { "start": "gr...
{ "name": "grunt-drupal-tasks-example", "description": "Example package.json for a Drupal project built with grunt-drupal-tasks.", "version": "0.1.0", "engines": { "node": ">=0.12.0", "npm": "2.x" }, "private": true, "scripts": { "start": "grunt --timer", "stop": "grunt clean:default", ...
<|file_sep|>original/app/templates/gdt/package.json { "name": "grunt-drupal-tasks-example", "description": "Example package.json for a Drupal project built with grunt-drupal-tasks.", "version": "0.1.0", "engines": { "node": ">=0.12.0", "npm": "2.x" }, "private": true, "scripts": { "start": "gr...
3b31bc481609f0d6b8ed27c72405ce995b7ef76b
app/templates/gdt/package.json
app/templates/gdt/package.json
JSON
<|file_sep|>original/package.json { "name": "Logins", "version": "1.0.0", "description": "A Simple Login Example using Node.js, Mongo, Redis and PBKDF2", "main": "./src/app.js", "scripts": { "start": "nodemon ./src/app.js", "pretest": "jshint ./src", "test": "echo \"Tests Complete\"" }, "keywo...
{ "name": "Logins", "version": "1.0.0", "description": "A Simple Login Example using Node.js, Mongo, Redis and PBKDF2", "main": "./src/app.js", "scripts": { "start": "node ./src/app.js", "pretest": "jshint ./src", "test": "echo \"Tests Complete\"" }, "keywords": [ "Node", "MVC", "R...
<|file_sep|>original/package.json { "name": "Logins", "version": "1.0.0", "description": "A Simple Login Example using Node.js, Mongo, Redis and PBKDF2", "main": "./src/app.js", "scripts": { "start": "nodemon ./src/app.js", "pretest": "jshint ./src", "test": "echo \"Tests Complete\"" }, "keywo...
4d241731200f94df764f42a9ae73d47d8eaa60b5
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs" after_success: - ./bin/codecov -e TRAVIS_NODE_VERSION <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10"...
language: node_js sudo: false node_js: - "6" - "5" - "4" - "0.12" - "0.11" - "0.10" - "iojs" after_success: - ./bin/codecov -e TRAVIS_NODE_VERSION
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10" - "iojs" after_success: - ./bin/codecov -e TRAVIS_NODE_VERSION <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "4.1" - "4.0" - "0.12" - "0.11" - "0.10"...
635218e50563ce4fb4202db32ea68dd868e3ed79
.travis.yml
.travis.yml
YAML
<|file_sep|>original/frigg/builds/migrations/0008_auto_20150216_0959.py <|file_sep|>current/frigg/builds/migrations/0008_auto_20150216_0959.py <|file_sep|>updated/frigg/builds/migrations/0008_auto_20150216_0959.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('builds', '0007_build_message'), ] operations = [ migrations.AlterModelOptions( ...
<|file_sep|>original/frigg/builds/migrations/0008_auto_20150216_0959.py <|file_sep|>current/frigg/builds/migrations/0008_auto_20150216_0959.py <|file_sep|>updated/frigg/builds/migrations/0008_auto_20150216_0959.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migration...
1e6eab50744e77c31918929c8ff825a59b41d292
frigg/builds/migrations/0008_auto_20150216_0959.py
frigg/builds/migrations/0008_auto_20150216_0959.py
Python
<|file_sep|>lib/jsdom/level2/languages/javascript.js.diff original: var Context = process.binding('evals').Context, // TODO: Remove .Script when bumping req'd node version to >= 5.0 Script = process.binding('evals').NodeScript || process.binding('evals').Script; updated: var vm = require('vm'); <|file_sep|>lib/...
if (window) { var ctx = window.__scriptContext; if (!ctx) { window.__scriptContext = ctx = vm.createContext({}); ctx.__proto__ = window; } var tracelimitbak = Error.stackTraceLimit; Error.stackTraceLimit = 100; try { vm.Script.runInContext(code, ctx, filename); } cat...
<|file_sep|>lib/jsdom/level2/languages/javascript.js.diff original: var Context = process.binding('evals').Context, // TODO: Remove .Script when bumping req'd node version to >= 5.0 Script = process.binding('evals').NodeScript || process.binding('evals').Script; updated: var vm = require('vm'); <|file_sep|>lib/...
0087fa9db21bf615d3c57480c89a706c8d8e75bf
lib/jsdom/level2/languages/javascript.js
lib/jsdom/level2/languages/javascript.js
JavaScript
<|file_sep|>original/composer.json ], "require" : { "bolt/bolt" : ">=2.0.0,<=3.0.0" }, "license" : "MIT", "authors" : [{ "name" : "Alvaro", "email" : "a.berndt@youwe.nl" } ], "autoload" : { "files" : [ "init.php" ], ...
"require" : { "bolt/bolt" : ">=2.0.0,<=3.0.0" }, "license" : "MIT", "authors" : [{ "name" : "Alvaro", "email" : "a.berndt@youwe.nl" } ], "autoload" : { "files" : [ "init.php" ], "psr-4" : { "Bolt\\Extension\\...
<|file_sep|>original/composer.json ], "require" : { "bolt/bolt" : ">=2.0.0,<=3.0.0" }, "license" : "MIT", "authors" : [{ "name" : "Alvaro", "email" : "a.berndt@youwe.nl" } ], "autoload" : { "files" : [ "init.php" ], ...
b02e4893d79ed9e3056d31d4bd9a199a37d2bc51
composer.json
composer.json
JSON
<|file_sep|>organizer/urls/tag.py.diff original: from ..models import Tag from ..utils import DetailView updated: <|file_sep|>organizer/urls/tag.py.diff original: TagCreate, TagDelete, TagList, TagPageList, TagUpdate) updated: TagCreate, TagDelete, TagDetail, TagList, TagPageList, TagUpdate) <|file_sep...
urlpatterns = [ url(r'^$', TagList.as_view(), name='organizer_tag_list'), url(r'^create/$', TagCreate.as_view(), name='organizer_tag_create'), url(r'^(?P<page_number>\d+)/$', TagPageList.as_view(), name='organizer_tag_page'), url(r'^(?P<slug>[\w\-]+)/$', ...
<|file_sep|>organizer/urls/tag.py.diff original: from ..models import Tag from ..utils import DetailView updated: <|file_sep|>organizer/urls/tag.py.diff original: TagCreate, TagDelete, TagList, TagPageList, TagUpdate) updated: TagCreate, TagDelete, TagDetail, TagList, TagPageList, TagUpdate) <|file_sep...
afa6687c317191b77949ba246f3dcc0909c435f5
organizer/urls/tag.py
organizer/urls/tag.py
Python
<|file_sep|>src/ofxSocketIO.h.diff original: std::string currentStatus; updated: <|file_sep|>original/src/ofxSocketIO.h class ofxSocketIO : protected ofThread { private : sio::client client; std::string currentStatus; void onConnect(); void onClose(sio::client::close_reason const& reason); void onFail()...
class ofxSocketIO : protected ofThread { private : sio::client client; void onConnect(); void onClose(sio::client::close_reason const& reason); void onFail(); void onTryReconnect(); public : std::string currentStatus = "close"; void setup(std::string& address); void setup(std::string& address, std::m...
<|file_sep|>src/ofxSocketIO.h.diff original: std::string currentStatus; updated: <|file_sep|>original/src/ofxSocketIO.h class ofxSocketIO : protected ofThread { private : sio::client client; std::string currentStatus; void onConnect(); void onClose(sio::client::close_reason const& reason); void onFail()...
5455d6710ff4f627858ddeac6bf169695ebd7f4b
src/ofxSocketIO.h
src/ofxSocketIO.h
C
<|file_sep|>index.js.diff original: * @param {Array} tests updated: <|file_sep|>index.js.diff original: Dot.prototype.beforeAll = function(tests) { updated: Dot.prototype.beforeAll = function() { <|file_sep|>index.js.diff original: updated: if (test.skipped) return; <|file_sep|>index.js.diff original: * @param {R...
var status = test.failed ? 'red' : 'green'; this.print(this.color(status, '.')); }; /** * After all tests. * * @api public */ Dot.prototype.afterAll = function() { this.println(); this.displayResult(); this.displayFailed(); }; /** * Primary export. */ module.exports = Dot;
<|file_sep|>index.js.diff original: * @param {Array} tests updated: <|file_sep|>index.js.diff original: Dot.prototype.beforeAll = function(tests) { updated: Dot.prototype.beforeAll = function() { <|file_sep|>index.js.diff original: updated: if (test.skipped) return; <|file_sep|>index.js.diff original: * @param {R...
9f00996ffab1026b46862ad61a772c8c661641fb
index.js
index.js
JavaScript
<|file_sep|>original/pande_gas/features/tests/test_fingerprints.py """ smiles = 'CC(=O)OC1=CC=CC=C1C(=O)O' self.mol = Chem.MolFromSmiles(smiles) self.engine = fp.CircularFingerprint() def test_circular_fingerprints(self): """ Test CircularFingerprint. """ ...
def test_sparse_circular_fingerprints(self): """ Test CircularFingerprint with sparse encoding. """ self.engine = fp.CircularFingerprint(sparse=True) rval = self.engine([self.mol]) assert rval.shape == (1,) assert isinstance(rval[0], dict) assert len(...
<|file_sep|>original/pande_gas/features/tests/test_fingerprints.py """ smiles = 'CC(=O)OC1=CC=CC=C1C(=O)O' self.mol = Chem.MolFromSmiles(smiles) self.engine = fp.CircularFingerprint() def test_circular_fingerprints(self): """ Test CircularFingerprint. """ ...
cb75a7ad69b273a57d2b10378712388f179abca3
pande_gas/features/tests/test_fingerprints.py
pande_gas/features/tests/test_fingerprints.py
Python
<|file_sep|>original/packages/react-sequential-id/src/index.ts import { ReactElement, SFC, StatelessComponent } from 'react' import uniqueid from 'uniqueid' export interface ISequentialIdProps { children: (id: string) => ReactElement<any> | null } export type SequentialIdComponent = StatelessComponent<ISequentialId...
import { ReactElement, SFC, StatelessComponent } from 'react' import uniqueid from 'uniqueid' export interface ISequentialIdProps { children: (id: string) => ReactElement<any> | null } export type SequentialIdComponent = StatelessComponent<ISequentialIdProps> export type SequentialIdSFC = SFC<ISequentialIdProps> e...
<|file_sep|>original/packages/react-sequential-id/src/index.ts import { ReactElement, SFC, StatelessComponent } from 'react' import uniqueid from 'uniqueid' export interface ISequentialIdProps { children: (id: string) => ReactElement<any> | null } export type SequentialIdComponent = StatelessComponent<ISequentialId...
78c8a7065fbf13c6497916b3c1b2e13e0fdfeb4b
packages/react-sequential-id/src/index.ts
packages/react-sequential-id/src/index.ts
TypeScript
<|file_sep|>original/.travis.yml language: java script: mvn -f teachus-parent/pom.xml test jdk: - openjdk6 before_script: - mysql -e "CREATE DATABASE IF NOT EXISTS teachus_test;" - mysql -e "CREATE USER 'teachus_build'@'localhost' IDENTIFIED BY 'teachus_build';" - mysql -u root -e "GRANT ALL ON teachus_test.* T...
language: java script: mvn test jdk: - openjdk6 before_script: - mysql -e "CREATE DATABASE IF NOT EXISTS teachus_test;" - mysql -e "CREATE USER 'teachus_build'@'localhost' IDENTIFIED BY 'teachus_build';" - mysql -u root -e "GRANT ALL ON teachus_test.* TO 'teachus_build'@'localhost';" branches: only: - mas...
<|file_sep|>original/.travis.yml language: java script: mvn -f teachus-parent/pom.xml test jdk: - openjdk6 before_script: - mysql -e "CREATE DATABASE IF NOT EXISTS teachus_test;" - mysql -e "CREATE USER 'teachus_build'@'localhost' IDENTIFIED BY 'teachus_build';" - mysql -u root -e "GRANT ALL ON teachus_test.* T...
274a77b4bf05165494d11734d7f7afe63786f9cf
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/henson/source/git.rb.diff original: updated: if branch = @options.fetch(:branch, nil) @target_revision = branch @ref_type = :branch elsif tag = @options.fetch(:tag, nil) @target_revision = tag @ref_type = :tag elsif sha = @options.fetch(:...
private def git(*args) `git #{args.join(' ')}` rescue Errno::ENOENT raise GitNotInstalled if exit_status.nil? end def fetch_path "#{Henson.settings[:path]}/#{name}" end def target_revision @target_revision end def ref_type ...
<|file_sep|>lib/henson/source/git.rb.diff original: updated: if branch = @options.fetch(:branch, nil) @target_revision = branch @ref_type = :branch elsif tag = @options.fetch(:tag, nil) @target_revision = tag @ref_type = :tag elsif sha = @options.fetch(:...
86c547de5ea1c51105475342b08d160beac6f5a9
lib/henson/source/git.rb
lib/henson/source/git.rb
Ruby
<|file_sep|>django_afip/views.py.diff original: updated: """Renders a receipt as HTML.""" <|file_sep|>django_afip/views.py.diff original: updated: """Renders a receipt as a PDF, prompting to download it.""" <|file_sep|>original/django_afip/views.py from .pdf import generate_receipt_pdf class ReceiptHTMLVie...
class ReceiptPDFView(View): """Renders a receipt as a PDF, prompting to download it.""" def get(self, request, pk): response = HttpResponse(content_type='application/pdf') response['Content-Disposition'] = 'attachment; filename=' + \ _('receipt %s.pdf' % pk) generate_receip...
<|file_sep|>django_afip/views.py.diff original: updated: """Renders a receipt as HTML.""" <|file_sep|>django_afip/views.py.diff original: updated: """Renders a receipt as a PDF, prompting to download it.""" <|file_sep|>original/django_afip/views.py from .pdf import generate_receipt_pdf class ReceiptHTMLVie...
de0bbf978695d206189ee4effb124234968525cb
django_afip/views.py
django_afip/views.py
Python
<|file_sep|>original/_tmpl/patterns/figure-code.html <|file_sep|>current/_tmpl/patterns/figure-code.html <|file_sep|>updated/_tmpl/patterns/figure-code.html
<figure class="code" id="figure5"> <pre class=" language-css"><code class=" language-css"><span class="token selector">a:hover, a:active, a:focus </span><span class="token punctuation">{</span> <span class="token property">outline</span><span class="token punctuation">:</span> 2px solid blue <span class="token punc...
<|file_sep|>original/_tmpl/patterns/figure-code.html <|file_sep|>current/_tmpl/patterns/figure-code.html <|file_sep|>updated/_tmpl/patterns/figure-code.html <figure class="code" id="figure5"> <pre class=" language-css"><code class=" language-css"><span class="token selector">a:hover, a:active, a:focus </span><spa...
acdad641c20512bd5b652194839871edf87df145
_tmpl/patterns/figure-code.html
_tmpl/patterns/figure-code.html
HTML
<|file_sep|>Cargo.toml.diff original: libc = "*" updated: libc = "^0.2.6" <|file_sep|>original/Cargo.toml [package] name = "qmlrs" version = "0.0.1" authors = ["Mikko Perttunen <cyndis@kapsi.fi>"] license = "MIT/Apache-2.0" build = "build.rs" [dependencies] libc = "*" [build-dependencies] pkg-config = "0.3.6" <|fil...
[package] name = "qmlrs" version = "0.0.1" authors = ["Mikko Perttunen <cyndis@kapsi.fi>"] license = "MIT/Apache-2.0" build = "build.rs" [dependencies] libc = "^0.2.6" [build-dependencies] pkg-config = "^0.3.6"
<|file_sep|>Cargo.toml.diff original: libc = "*" updated: libc = "^0.2.6" <|file_sep|>original/Cargo.toml [package] name = "qmlrs" version = "0.0.1" authors = ["Mikko Perttunen <cyndis@kapsi.fi>"] license = "MIT/Apache-2.0" build = "build.rs" [dependencies] libc = "*" [build-dependencies] pkg-config = "0.3.6" <|fil...
9325d6b6861e1f3e247aaa8ba455a0af59c4f0ba
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/dev-requirements.txt coverage==4.4.1 jedi==0.10.2 mypy==0.521 pylint==1.7.2 pytest==3.2.2 pytest-cov==2.5.1 sphinx==1.6.3 sphinx-rtd-theme==0.2.4 tox==2.8.2 <|file_sep|>current/dev-requirements.txt coverage==4.4.1 jedi==0.10.2 mypy==0.521 pylint==1.7.2 pytest==3.2.2 pytest-cov==2.5.1 sphinx==1.6.3 ...
coverage==4.4.1 jedi==0.11.0 mypy==0.521 pylint==1.7.2 pytest==3.2.2 pytest-cov==2.5.1 sphinx==1.6.3 sphinx-rtd-theme==0.2.4 tox==2.8.2
<|file_sep|>original/dev-requirements.txt coverage==4.4.1 jedi==0.10.2 mypy==0.521 pylint==1.7.2 pytest==3.2.2 pytest-cov==2.5.1 sphinx==1.6.3 sphinx-rtd-theme==0.2.4 tox==2.8.2 <|file_sep|>current/dev-requirements.txt coverage==4.4.1 jedi==0.10.2 mypy==0.521 pylint==1.7.2 pytest==3.2.2 pytest-cov==2.5.1 sphinx==1.6.3 ...
e0af3db6ea96982638059614e55da3613b26d020
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/lib/skyed/git.rb require 'erb' module Skyed # This module encapsulates all the Git features. module Git class << self def clone_stack_remote(stack, options) unless Skyed::Settings.current_stack?(stack[:stack_id]) Skyed::Init.opsworks_git_key options end ...
require 'erb' module Skyed # This module encapsulates all the Git features. module Git class << self def clone_stack_remote(stack, options) unless Skyed::Settings.current_stack?(stack[:stack_id]) Skyed::Init.opsworks_git_key options end ENV['PKEY'] ||= Skyed::Settings.op...
<|file_sep|>original/lib/skyed/git.rb require 'erb' module Skyed # This module encapsulates all the Git features. module Git class << self def clone_stack_remote(stack, options) unless Skyed::Settings.current_stack?(stack[:stack_id]) Skyed::Init.opsworks_git_key options end ...
31286d476d0ec63180db5e85dd708e2ad36396c2
lib/skyed/git.rb
lib/skyed/git.rb
Ruby
<|file_sep|>pubspec.yaml.diff original: version: 0.10.0-pre.1.dev updated: version: 0.10.0-pre.1 <|file_sep|>original/pubspec.yaml name: template_binding version: 0.10.0-pre.1.dev author: Polymer.dart Team <web-ui-dev@dartlang.org> description: > Extends the capabilities of the HTML Template Element by enabling it to...
name: template_binding version: 0.10.0-pre.1 author: Polymer.dart Team <web-ui-dev@dartlang.org> description: > Extends the capabilities of the HTML Template Element by enabling it to create, manage, and remove instances of content bound to data defined in Dart. homepage: https://www.dartlang.org/polymer-dart/ depe...
<|file_sep|>pubspec.yaml.diff original: version: 0.10.0-pre.1.dev updated: version: 0.10.0-pre.1 <|file_sep|>original/pubspec.yaml name: template_binding version: 0.10.0-pre.1.dev author: Polymer.dart Team <web-ui-dev@dartlang.org> description: > Extends the capabilities of the HTML Template Element by enabling it to...
a5e214e08dcbb7b866b2a6161846ea29ef184b78
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/test/CodeGenCXX/const-init.cpp class C { public: enum { e0, e1 }; unsigned f; }; // CHECK: @_ZN6PR55812g0E = global %1 { i32 1 } C g0 = { C::e1 }; } namespace test2 { struct A { static const double d = 1.0; static const float f = d / 2; }; // CHECK: @_ZN5test22t0E = global doub...
class C { public: enum { e0, e1 }; unsigned f; }; // CHECK: @_ZN6PR55812g0E = global %1 { i32 1 } C g0 = { C::e1 }; } namespace test2 { struct A { static const double d = 1.0; static const float f = d / 2; }; // CHECK: @_ZN5test22t0E = global double {{1\.0+e\+0+}}, align 8 // CHECK: @_ZN5test22t1...
<|file_sep|>original/test/CodeGenCXX/const-init.cpp class C { public: enum { e0, e1 }; unsigned f; }; // CHECK: @_ZN6PR55812g0E = global %1 { i32 1 } C g0 = { C::e1 }; } namespace test2 { struct A { static const double d = 1.0; static const float f = d / 2; }; // CHECK: @_ZN5test22t0E = global doub...
90fb58e9f5482d2be61c4acfedf4fa69585c8ac1
test/CodeGenCXX/const-init.cpp
test/CodeGenCXX/const-init.cpp
C++
<|file_sep|>original/app/src/test/java/fr/neamar/kiss/MainActivityTest.java package fr.neamar.kiss; import fr.neamar.BuildConfig; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; i...
import fr.neamar.BuildConfig; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; import static org.junit.Assert.assertTrue; @RunWith(RobolectricGradleTestRunner.class) @Config(const...
<|file_sep|>original/app/src/test/java/fr/neamar/kiss/MainActivityTest.java package fr.neamar.kiss; import fr.neamar.BuildConfig; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; i...
7c40c34d5da6644bb0a6f7f8a8f104780820377d
app/src/test/java/fr/neamar/kiss/MainActivityTest.java
app/src/test/java/fr/neamar/kiss/MainActivityTest.java
Java
<|file_sep|>original/recipes/fish-shell/meta.yaml name: {{ name }} version: {{ version }} source: fn: {{ version }}.tar.gz url: https://github.com/fish-shell/fish-shell/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - gcc - ncurses ...
name: {{ name }} version: {{ version }} source: fn: {{ version }}.tar.gz url: https://github.com/fish-shell/fish-shell/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win and osx] requirements: build: - gcc - ncurses - autoconf - conda-build >=2.0 r...
<|file_sep|>original/recipes/fish-shell/meta.yaml name: {{ name }} version: {{ version }} source: fn: {{ version }}.tar.gz url: https://github.com/fish-shell/fish-shell/archive/{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - gcc - ncurses ...
dde190e28a498110be5e02334a9551ebce9b14a0
recipes/fish-shell/meta.yaml
recipes/fish-shell/meta.yaml
YAML
<|file_sep|>original/docs/README.security-headers.rst By default, only the ``X-UA-Compatible`` response header is sent to the client’s browser (as a workaround for Internet Explorer issues unrelated to browser security). There are other response headers you can use to enhance browser security. Populate ``group_vars/al...
By default, only the ``X-UA-Compatible`` response header is sent to the client’s browser (as a workaround for Internet Explorer issues unrelated to browser security). There are other response headers you can use to enhance browser security. Populate ``group_vars/all/main.yml`` with any headers that are appropriate for...
<|file_sep|>original/docs/README.security-headers.rst By default, only the ``X-UA-Compatible`` response header is sent to the client’s browser (as a workaround for Internet Explorer issues unrelated to browser security). There are other response headers you can use to enhance browser security. Populate ``group_vars/al...
9784c38b846da8fe74f4d2e320ea4ab351225ddf
docs/README.security-headers.rst
docs/README.security-headers.rst
reStructuredText
<|file_sep|>original/.github/workflows/nodejs.yml runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x,16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.4.1 with: node-version: ${{ ma...
runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x,16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.5.0 with: node-version: ${{ matrix.node-version }} - name: npm install ...
<|file_sep|>original/.github/workflows/nodejs.yml runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x,16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2.4.1 with: node-version: ${{ ma...
be8f85371adc2c7cca1af22a451260a5ade0395d
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: ば: bas updated: ば: bas bat <|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: ほ: ho  updated: ほ: ho ! <|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: updated: へ: hé ! <|file_sep|>IRC/plugins/KanaFrench/kana2french.yam...
こ: qu'au え: hé て: thé で: dés dé あ: à ah さ: sa ça き: qui qu'y ぎ: gui ゆ: y'eût め: mes mais み: m'y mis し: chie ゑ: ouais も: mot mots maux せ: sait ces す: sut su ない: n'aille との: tonneaux いえん: hyène hyènes れぞ: réseau réseaux めん: mène mènent
<|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: ば: bas updated: ば: bas bat <|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: ほ: ho  updated: ほ: ho ! <|file_sep|>IRC/plugins/KanaFrench/kana2french.yaml.diff original: updated: へ: hé ! <|file_sep|>IRC/plugins/KanaFrench/kana2french.yam...
2ea654770c6858a7c1cb584639489d10d0973f26
IRC/plugins/KanaFrench/kana2french.yaml
IRC/plugins/KanaFrench/kana2french.yaml
YAML
<|file_sep|>original/requirements_test.txt click==6.7 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 jinja2==2.9.6 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.7.0 coverage==4.4 pytest==3.0.7 pytest-cov==2.5.0 pytest-runner==2.11.1 <|file_sep|>current/requirements_test.txt click==6.7 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 jinja...
click==6.7 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 jinja2==2.9.6 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 pytest==3.0.7 pytest-cov==2.5.0 pytest-runner==2.11.1
<|file_sep|>original/requirements_test.txt click==6.7 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 jinja2==2.9.6 pip==9.0.1 wheel==0.29.0 flake8==3.3.0 tox==2.7.0 coverage==4.4 pytest==3.0.7 pytest-cov==2.5.0 pytest-runner==2.11.1 <|file_sep|>current/requirements_test.txt click==6.7 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 jinja...
9ca8c93d162d799512cc6602070b05210fb6f521
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/assets/materialize/js/init.js (function($){ $(function(){ $('.button-collapse').sideNav(); }); // end of document ready })(jQuery); // end of jQuery name space <|file_sep|>current/assets/materialize/js/init.js (function($){ $(function(){ $('.button-collapse').sideNav(); }); // e...
(function($){ $(function(){ $('.button-collapse').sideNav(); }); // end of document ready })(jQuery); // end of jQuery name space // Keep one tab expanded while editing profile $('li div.collapsible-header').on('click',function(e){ if($(this).parents('li').hasClass('active')){ e.stopPropagation(); } ...
<|file_sep|>original/assets/materialize/js/init.js (function($){ $(function(){ $('.button-collapse').sideNav(); }); // end of document ready })(jQuery); // end of jQuery name space <|file_sep|>current/assets/materialize/js/init.js (function($){ $(function(){ $('.button-collapse').sideNav(); }); // e...
5b786f0efe413de5ac1fb54a18b338695c2e6f30
assets/materialize/js/init.js
assets/materialize/js/init.js
JavaScript
<|file_sep|>original/src/smartdown/config.json { "name": "Smartdown", "description": "Smarter Markdown for Craft.", "version": "1.2.23", "developer": "Experience", "developerUrl": "https://experiencehq.net" } <|file_sep|>current/src/smartdown/config.json { "name": "Smartdown", "description": "Smarter Mark...
{ "name": "Smartdown", "description": "Smarter Markdown for Craft.", "version": "1.0.0", "developer": "Experience", "developerUrl": "https://experiencehq.net" }
<|file_sep|>original/src/smartdown/config.json { "name": "Smartdown", "description": "Smarter Markdown for Craft.", "version": "1.2.23", "developer": "Experience", "developerUrl": "https://experiencehq.net" } <|file_sep|>current/src/smartdown/config.json { "name": "Smartdown", "description": "Smarter Mark...
1f75c6d31b1978bf0612588cec4840a939840cc8
src/smartdown/config.json
src/smartdown/config.json
JSON
<|file_sep|>original/src/discordcr/client.cr require "http/web_socket" require "./rest" module Discordcr class Client include REST def initialize(@token : String, @client_id : UInt64) end def run url = gateway.url url += "?v=6&encoding=json" @websocket = HTTP::WebSocket.new(URI.p...
require "./rest" module Discordcr class Client include REST def initialize(@token : String, @client_id : UInt64) end def run url = gateway.url url += "?v=6&encoding=json" @websocket = HTTP::WebSocket.new(URI.parse(url)) @websocket.on_message(->on_message(String)) end ...
<|file_sep|>original/src/discordcr/client.cr require "http/web_socket" require "./rest" module Discordcr class Client include REST def initialize(@token : String, @client_id : UInt64) end def run url = gateway.url url += "?v=6&encoding=json" @websocket = HTTP::WebSocket.new(URI.p...
04aed629b598a35d860b70275f41cc4d8639bba3
src/discordcr/client.cr
src/discordcr/client.cr
Crystal
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" before_install: - sudo apt-get update -qq - sudo apt-get install -y libhdf5-serial-dev install: - pip install cython numpy numexpr - pip install -r requirements.txt - pip install coveralls script: py.test -v --cov psyrun a...
language: python python: - "2.7" - "3.3" - "3.4" before_install: - sudo apt-get update -qq - sudo apt-get install -y libhdf5-serial-dev install: - pip install cython numpy numexpr - pip install -r requirements.txt - pip install coveralls - python setup.py develop script: py.test -v --cov psyrun after_...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" before_install: - sudo apt-get update -qq - sudo apt-get install -y libhdf5-serial-dev install: - pip install cython numpy numexpr - pip install -r requirements.txt - pip install coveralls script: py.test -v --cov psyrun a...
99c64bb5a33430d7f9c065924d8e245da37a3215
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/game.rb.diff original: end # def display_intro_msg # puts "Welcome to #{gametype.desc[:name]} \n#{gametype.desc[:instructions]}" # ui.show_board(gametype.board) # end def prompt_user_for_input "Enter a number #{@gametype.valid_slots.join(", ")} to place an X" end # def get_use...
@gametype = gametype.move(gametype.optimal_move) end end def alternate_move(user_input) user_move(user_input) comp_move ui.show_board(gametype.board) ui.display_winner_message(gametype) end def play ui.display_intro_msg(gametype) ui.show_board(gametype.board) while !gamet...
<|file_sep|>lib/game.rb.diff original: end # def display_intro_msg # puts "Welcome to #{gametype.desc[:name]} \n#{gametype.desc[:instructions]}" # ui.show_board(gametype.board) # end def prompt_user_for_input "Enter a number #{@gametype.valid_slots.join(", ")} to place an X" end # def get_use...
a0801e2d87a23f8b39a4dcc8fa1c0b777eccb2c9
lib/game.rb
lib/game.rb
Ruby
<|file_sep|>original/client/package.json { "name": "eclairjs", "version": "0.8.0", "description": "Node.js API for Apache Spark with Remote Client", "author": "EclairJS <info@eclairjs.org>", "main": "./lib/index.js", "repository": { "type": "git", "url": "git://github.com/EclairJS/eclairjs-node.git"...
{ "name": "eclairjs", "version": "0.8.0", "description": "Node.js API for Apache Spark with Remote Client", "author": "EclairJS <info@eclairjs.org>", "main": "./lib/index.js", "repository": { "type": "git", "url": "git://github.com/EclairJS/eclairjs.git" }, "dependencies": { "jupyter-js-serv...
<|file_sep|>original/client/package.json { "name": "eclairjs", "version": "0.8.0", "description": "Node.js API for Apache Spark with Remote Client", "author": "EclairJS <info@eclairjs.org>", "main": "./lib/index.js", "repository": { "type": "git", "url": "git://github.com/EclairJS/eclairjs-node.git"...
bd5fa06d92e438ef5e7c5018ffb3bc36bb36125b
client/package.json
client/package.json
JSON
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 services: - redis-server before_script: - psql -c 'create database myapp_test;' -U postgres script: - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rake db:migrate --trace - DATABASE_URL=postgresql://postgr...
language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 services: - redis-server before_script: - psql -c 'create database myapp_test;' -U postgres script: - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rake db:migrate --trace - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle e...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 services: - redis-server before_script: - psql -c 'create database myapp_test;' -U postgres script: - DATABASE_URL=postgresql://postgres:@localhost/myapp_test bundle exec rake db:migrate --trace - DATABASE_URL=postgresql://postgr...
f329af9baf4c73b23da80d771d03a9918ff6c25e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ml_adv_logistic_reg/python_code/advanced_log_reg.py from get_data_from_source import GetDataFromSource from regularized_log_reg import RegularizedLogReg import matplotlib.pyplot as plt class AdvancedLogReg(RegularizedLogReg): def test_something(self): print self.m, self.n <|file_sep|>current/ml...
from get_data_from_source import GetDataFromSource from regularized_log_reg import RegularizedLogReg import matplotlib.pyplot as plt class AdvancedLogReg(RegularizedLogReg): def test_something(self): print self.m, self.n print self.X # def oneVsAll(self, theta_len, lambda_val):
<|file_sep|>original/ml_adv_logistic_reg/python_code/advanced_log_reg.py from get_data_from_source import GetDataFromSource from regularized_log_reg import RegularizedLogReg import matplotlib.pyplot as plt class AdvancedLogReg(RegularizedLogReg): def test_something(self): print self.m, self.n <|file_sep|>current/ml...
d3febefc0927968ca8e5040c74478a81aef31692
ml_adv_logistic_reg/python_code/advanced_log_reg.py
ml_adv_logistic_reg/python_code/advanced_log_reg.py
Python
<|file_sep|>original/index.html <html> <head> <link rel="stylesheet" href="css/ratchet.css"> <style type="text/css"> /* overrides */ .configure-content { bottom: 43px; } .content .table-view { margin: 0 !important; } .table-view-cell a:focus { background: rgba(0,0,0,.05);} ul, code {font-size: 1...
<html> <head> <link rel="stylesheet" href="css/ratchet.css"> <style type="text/css"> /* overrides */ * { -webkit-user-select: none; } .configure-content { bottom: 43px; } .content .table-view { margin: 0 !important; } .table-view-cell a:focus { background: rgba(0,0,0,.05);} ul, code {font-si...
<|file_sep|>original/index.html <html> <head> <link rel="stylesheet" href="css/ratchet.css"> <style type="text/css"> /* overrides */ .configure-content { bottom: 43px; } .content .table-view { margin: 0 !important; } .table-view-cell a:focus { background: rgba(0,0,0,.05);} ul, code {font-size: 1...
770de2c9508dfb1b457832d8db121f3f2a725ea5
index.html
index.html
HTML
<|file_sep|>original/README.md # fluent-plugin-order # Overview "fluent-plugin-order" is a plugin fluentd. Output filter plugin to rearrange the order of the elements. # Configuration ex. <match example> type order add_tag_prefix order_finished after_order_keys bar,hoge,foo </match> ...
# fluent-plugin-order, a plugin for [Fluentd](http://fluentd.org) # Overview "fluent-plugin-order" is a plugin fluentd. Output filter plugin to rearrange the order of the elements. # Configuration ex. <match example> type order add_tag_prefix order_finished after_order_keys bar,hoge,foo ...
<|file_sep|>original/README.md # fluent-plugin-order # Overview "fluent-plugin-order" is a plugin fluentd. Output filter plugin to rearrange the order of the elements. # Configuration ex. <match example> type order add_tag_prefix order_finished after_order_keys bar,hoge,foo </match> ...
012f98131168f41554d7699dc5f0a07a077e0bdb
README.md
README.md
Markdown
<|file_sep|>FrontEndCreator/questions.js.diff original: //must have a blank option one for question of type dropdown updated: var config = { '.chosen-select' : {}, }; for (var selector in config) { $(selector).chosen(config[selector]); } <|file_sep|>FrontEndCreator/questions.js.diff original: standard('qT...
}); alert(allSend); } /*Will send all quizes if need be $("#sendAll").on("click",function(){ var i = 0; $(".quiz").find(".question").each(function(){ var val = $(this).val(); if(val==null){ val = "No Answer"; } if(val.length < 1){ val = "No Answer"; } alert("q"+i+": "+val); i++; }); }); */
<|file_sep|>FrontEndCreator/questions.js.diff original: //must have a blank option one for question of type dropdown updated: var config = { '.chosen-select' : {}, }; for (var selector in config) { $(selector).chosen(config[selector]); } <|file_sep|>FrontEndCreator/questions.js.diff original: standard('qT...
0e1e23a2754c56869c9abf1ec058f69ac047905b
FrontEndCreator/questions.js
FrontEndCreator/questions.js
JavaScript
<|file_sep|>original/.travis.yml python: - "3.4" - "3.5" - "3.6-dev" - "nightly" sudo: required install: - sudo apt-get install lilv-utils - pip3 install coveralls - pip3 install cffi - pip3 install JACK-Client script: - cd .. - mkdir data - cd data - mkdir test - cd ../PluginsManager <|fi...
python: - "3.4" - "3.5" - "3.6-dev" - "nightly" sudo: required install: - sudo apt-get install -y lilv-utils --no-install-recommends - sudo apt-get install -y calf-plugins --no-install-recommends - pip3 install coveralls - pip3 install cffi - pip3 install JACK-Client script: - cd .. - mkdir da...
<|file_sep|>original/.travis.yml python: - "3.4" - "3.5" - "3.6-dev" - "nightly" sudo: required install: - sudo apt-get install lilv-utils - pip3 install coveralls - pip3 install cffi - pip3 install JACK-Client script: - cd .. - mkdir data - cd data - mkdir test - cd ../PluginsManager <|fi...
b705ab763731598b29d62e56c872992d68dea361
.travis.yml
.travis.yml
YAML
<|file_sep|>original/vscode/User/settings.json "editor.rulers": [ 80, 100, 120, 200 ], "editor.tabSize": 2, "editor.minimap.renderCharacters": false, "editor.multiCursorModifier": "ctrlCmd", "editor.renderWhitespace": "boundary", "editor.renderControlCharacters": true, "workbench.startup...
80, 100, 120, 200 ], "editor.tabSize": 2, "editor.minimap.renderCharacters": false, "editor.multiCursorModifier": "ctrlCmd", "editor.renderWhitespace": "boundary", "editor.renderControlCharacters": true, "workbench.startupEditor": "newUntitledFile", "workbench.tips.enabled": false, "wo...
<|file_sep|>original/vscode/User/settings.json "editor.rulers": [ 80, 100, 120, 200 ], "editor.tabSize": 2, "editor.minimap.renderCharacters": false, "editor.multiCursorModifier": "ctrlCmd", "editor.renderWhitespace": "boundary", "editor.renderControlCharacters": true, "workbench.startup...
e8b025055c59a4a6834c4a5c34318caf924a1734
vscode/User/settings.json
vscode/User/settings.json
JSON
<|file_sep|>src/nodemgr/common/windows_process_manager.py.diff original: updated: import psutil <|file_sep|>src/nodemgr/common/windows_process_manager.py.diff original: updated: def _service_status_to_state(status): if status == 'running': return 'PROCESS_STATE_RUNNING' else: return 'PROCESS...
process = psutil.Process(pid) except: pass return process class WindowsProcessInfoManager(object): def get_mem_cpu_usage_data(self, pid, last_cpu, last_time): return WindowsProcessMemCpuUsageData(pid, last_cpu, last_time) def get_all_processes(self): agent_service = _ge...
<|file_sep|>src/nodemgr/common/windows_process_manager.py.diff original: updated: import psutil <|file_sep|>src/nodemgr/common/windows_process_manager.py.diff original: updated: def _service_status_to_state(status): if status == 'running': return 'PROCESS_STATE_RUNNING' else: return 'PROCESS...
7fed0208770413399fde5e76ad2046b6bc440b16
src/nodemgr/common/windows_process_manager.py
src/nodemgr/common/windows_process_manager.py
Python
<|file_sep|>original/test/unbuffered_test.py # Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def tes...
# Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def test_unbuffered(): sys.stdout = UnBuffered(s...
<|file_sep|>original/test/unbuffered_test.py # Copyright (c) 2012 - 2014 Lars Hupfeldt Nielsen, Hupfeldt IT # All rights reserved. This work is under a BSD license, see LICENSE.TXT. import sys from .framework import api_select from jenkinsflow.flow import serial from jenkinsflow.unbuffered import UnBuffered def tes...
59c8c57884021f472bb98d00fc46fe7214c689d3
test/unbuffered_test.py
test/unbuffered_test.py
Python
<|file_sep|>original/index.js 'use strict'; var port = process.env.PORT = process.env.PORT || 5000; var http = require('http'); var airserver = require('./lib/airserver'); module.exports = function () { var server = http.createServer(); server.on('listening', function () { airserver(server.address().port); ...
'use strict'; var port = process.env.PORT = process.env.PORT || 5000; var http = require('http'); var airserver = require('./lib/airserver'); module.exports = function (onRequest) { var server = http.createServer(onRequest); server.on('listening', function () { airserver(server.address().port); }); retur...
<|file_sep|>original/index.js 'use strict'; var port = process.env.PORT = process.env.PORT || 5000; var http = require('http'); var airserver = require('./lib/airserver'); module.exports = function () { var server = http.createServer(); server.on('listening', function () { airserver(server.address().port); ...
fa881a557989c63121e29e4d00556da9c034fd9b
index.js
index.js
JavaScript