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|>original/test_project/blog/models.py class Entry(models.Model): content = models.TextField() author = models.ForeignKey(User) created = models.DateTimeField() class Comment(models.Model): post = models.ForeignKey(Entry, related_name='comments') content = models.TextField() author =...
created = models.DateTimeField() class Comment(models.Model): post = models.ForeignKey(Entry, related_name='comments') content = models.TextField() author = models.ForeignKey(User) created = models.DateTimeField() class SmartTag(models.Model): entry = models.ForeignKey(Entry, related_name='s...
<|file_sep|>original/test_project/blog/models.py class Entry(models.Model): content = models.TextField() author = models.ForeignKey(User) created = models.DateTimeField() class Comment(models.Model): post = models.ForeignKey(Entry, related_name='comments') content = models.TextField() author =...
bde09206bf308167a11bcb012753d10d845dc810
test_project/blog/models.py
test_project/blog/models.py
Python
<|file_sep|>original/api/helpers/events.js var listeners = {}; module.exports.addListener = function(name) { return function(f) { if(!listeners[name]) { listeners[name] = [f]; } else { listeners[name].push(f); } }; }; module.exports.fire = function(name) { return ...
var listeners = {}; module.exports.addListener = function(name) { return function(f) { if(!listeners[name]) { listeners[name] = [f]; } else { listeners[name].push(f); } }; }; module.exports.fire = function(name) { return function() { var len = listeners[name]...
<|file_sep|>original/api/helpers/events.js var listeners = {}; module.exports.addListener = function(name) { return function(f) { if(!listeners[name]) { listeners[name] = [f]; } else { listeners[name].push(f); } }; }; module.exports.fire = function(name) { return ...
d99302b981fe2c582eb8653802f9b52dd99e5239
api/helpers/events.js
api/helpers/events.js
JavaScript
<|file_sep|>original/app/controllers/shoppe/customers_controller.rb render action: 'edit' end end def destroy @customer.destroy redirect_to customers_path, flash: { notice: t('shoppe.customers.deleted_successfully') } end def search index render action: 'index' ...
render action: 'edit' end end def destroy @customer.destroy redirect_to customers_path, flash: { notice: t('shoppe.customers.deleted_successfully') } end def search index render action: 'index' end private def safe_params params[:customer].perm...
<|file_sep|>original/app/controllers/shoppe/customers_controller.rb render action: 'edit' end end def destroy @customer.destroy redirect_to customers_path, flash: { notice: t('shoppe.customers.deleted_successfully') } end def search index render action: 'index' ...
5118b58fdedcbbb6baae613bc083c5b754739e5f
app/controllers/shoppe/customers_controller.rb
app/controllers/shoppe/customers_controller.rb
Ruby
<|file_sep|>src/Controller/MouseController.js.diff original: updated: this.canvas = canvas <|file_sep|>original/src/Controller/MouseController.js export default class MouseController { constructor(game, canvas, controllableItems) { this.game = game this.items = controllableItems canvas.addEventListen...
export default class MouseController { constructor(game, canvas, controllableItems) { this.game = game this.items = controllableItems this.canvas = canvas canvas.addEventListener('mousemove', this.mouseMoved.bind(this)) canvas.addEventListener('click', this.mouseClicked.bind(this)) } mouseMov...
<|file_sep|>src/Controller/MouseController.js.diff original: updated: this.canvas = canvas <|file_sep|>original/src/Controller/MouseController.js export default class MouseController { constructor(game, canvas, controllableItems) { this.game = game this.items = controllableItems canvas.addEventListen...
6c4a60e65d83d0d6b56074f106830a7a7f737c31
src/Controller/MouseController.js
src/Controller/MouseController.js
JavaScript
<|file_sep|>views/index.erb.diff original: updated: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <!--[if lt IE 9]> <script type="text/javascript" src="js/flashcanvas.js"></script> <![endif]--> <script src="js/jSignature.min.js"></script> <script> $(document).ready(function() { ...
<br> <form name="apply" action="applications" method="post"> Name: <input type="text" name="name"><br> Address: <input type="text" name="home_address"><br> City: San Francisco, CA<br> <input type="hidden" name="home_city" value="San Francisco"> <input type="hidden" name="home_state" value="CA"> Zip Code: <input type="t...
<|file_sep|>views/index.erb.diff original: updated: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <!--[if lt IE 9]> <script type="text/javascript" src="js/flashcanvas.js"></script> <![endif]--> <script src="js/jSignature.min.js"></script> <script> $(document).ready(function() { ...
005c1e43a077bd10c8cf09d4c9f131959581c87f
views/index.erb
views/index.erb
HTML+ERB
<|file_sep|>original/lib/CGI/Conduit/Log.pm package CGI::Conduit::Log; use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## -------------------------------------------------------------------------...
use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## ---------------------------------------------------------------------------- # for some reason, this is called twice in startup, even though ini...
<|file_sep|>original/lib/CGI/Conduit/Log.pm package CGI::Conduit::Log; use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## -------------------------------------------------------------------------...
743146dc111da3a887eb426369851b6a251f64f3
lib/CGI/Conduit/Log.pm
lib/CGI/Conduit/Log.pm
Perl
<|file_sep|>original/codecov.yml status: project: default: target: auto threshold: null branches: null patch: default: target: auto branches: null changes: default: branches: null comment: layout: "header, diff, changes, sunburst, unc...
threshold: null branches: null patch: default: target: auto branches: null changes: default: branches: null ignore: - "src/ecurl.php" - "src/EasyCurlFacade.php" - "src/EasyCurlServiceProvider.php" comment: layout: "header, diff, changes, sunburst, ...
<|file_sep|>original/codecov.yml status: project: default: target: auto threshold: null branches: null patch: default: target: auto branches: null changes: default: branches: null comment: layout: "header, diff, changes, sunburst, unc...
25e40a2e88b7b5770f2eaf1f24028df772a48cf4
codecov.yml
codecov.yml
YAML
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
#!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml $testdir/$tested result=$(($result || $?)) do...
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
76817a8ef3a5838fcf78edbf575762a9e1562683
.travis/run-tests.sh
.travis/run-tests.sh
Shell
<|file_sep|>original/httpdocs/model/last.edited.or.added.php <|file_sep|>current/httpdocs/model/last.edited.or.added.php <|file_sep|>updated/httpdocs/model/last.edited.or.added.php
<?php include_once( 'errors.inc.php' ); include_once( 'db.pg.class.php' ); include_once( 'session.class.php' ); include_once( 'tools.inc.php' ); include_once( 'json.inc.php' ); $db =& getDB(); $ses =& getSession(); $pid = isset( $_REQUEST[ 'pid' ] ) ? intval( $_REQUEST[ 'pid' ] ) : 0; $uid = $ses->isSessionValid() ?...
<|file_sep|>original/httpdocs/model/last.edited.or.added.php <|file_sep|>current/httpdocs/model/last.edited.or.added.php <|file_sep|>updated/httpdocs/model/last.edited.or.added.php <?php include_once( 'errors.inc.php' ); include_once( 'db.pg.class.php' ); include_once( 'session.class.php' ); include_once( 'tools.inc...
25bf0caf2faf1ea0d70ce7548376974b3347f2ab
httpdocs/model/last.edited.or.added.php
httpdocs/model/last.edited.or.added.php
PHP
<|file_sep|>package.json.diff original: "connect": "2.3.x" updated: "connect": "2.7.x" <|file_sep|>original/package.json { "name": "malifi" , "version": "0.2.1" , "description": "MAny LIttle FIles. A Connect layer where requests are routed to files in a directory whose structure reflects that of...
{ "name": "malifi" , "version": "0.2.1" , "description": "MAny LIttle FIles. A Connect layer where requests are routed to files in a directory whose structure reflects that of the URL. Malifi organizes all files that support a given page, such as code, template, css and supporting javascript together." , "key...
<|file_sep|>package.json.diff original: "connect": "2.3.x" updated: "connect": "2.7.x" <|file_sep|>original/package.json { "name": "malifi" , "version": "0.2.1" , "description": "MAny LIttle FIles. A Connect layer where requests are routed to files in a directory whose structure reflects that of...
1b4b55cbaaaa1797da27f20a7df2e09f3906ae62
package.json
package.json
JSON
<|file_sep|>original/src/simplify/replace_shared_strings.rb end # This is convoluted so as to always # return the same shared string def map(ast) return ast unless ast.is_a?(Array) return shared_string(ast) if ast[0] == :shared_string ast.each.with_index do |a, i| next unless a.is_a?(Array)...
end # This is convoluted so as to always # return the same shared string def map(ast) return ast unless ast.is_a?(Array) return shared_string(ast) if ast[0] == :shared_string ast.each.with_index do |a, i| next unless a.is_a?(Array) if a[0] == :shared_string ast[i] = shared_str...
<|file_sep|>original/src/simplify/replace_shared_strings.rb end # This is convoluted so as to always # return the same shared string def map(ast) return ast unless ast.is_a?(Array) return shared_string(ast) if ast[0] == :shared_string ast.each.with_index do |a, i| next unless a.is_a?(Array)...
2852a388d1d72275767afa94ebaa39ea4c5b3e66
src/simplify/replace_shared_strings.rb
src/simplify/replace_shared_strings.rb
Ruby
<|file_sep|>original/buildXamarinIOS.sh #!/bin/bash rm -rf Build/Xamarin/iOS # iOS "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--target:Clean" "--configuration:Release|iPhone" "Mindscape.Raygun4Net.Xamarin.iOS.sln" "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--configuration...
#!/bin/bash rm -rf Build/Xamarin/iOS # iOS "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--target:Clean" "--configuration:Release|iPhone" "Mindscape.Raygun4Net.Xamarin.iOS.sln" "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--configuration:Release|iPhone" "Mindscape.Raygun4Net.X...
<|file_sep|>original/buildXamarinIOS.sh #!/bin/bash rm -rf Build/Xamarin/iOS # iOS "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--target:Clean" "--configuration:Release|iPhone" "Mindscape.Raygun4Net.Xamarin.iOS.sln" "/Applications/Xamarin Studio.app/Contents/MacOS/mdtool" -v build "--configuration...
80303460f1ce38b1b9da5b738ddac8ad7c853ff2
buildXamarinIOS.sh
buildXamarinIOS.sh
Shell
<|file_sep|>CHANGELOG.md.diff original: ## x.x.x (master) updated: ## 0.1.0 (master) <|file_sep|>original/CHANGELOG.md ## x.x.x (master) * Add `!version` command to print bot version from package.json * Add CHANGELOG ## 0.1.0 (02-09-2017) <|file_sep|>current/CHANGELOG.md ## 0.1.0 (master) * Add `!version` command to...
## 0.1.0 (master) * Add `!version` command to print bot version from package.json * Add CHANGELOG
<|file_sep|>CHANGELOG.md.diff original: ## x.x.x (master) updated: ## 0.1.0 (master) <|file_sep|>original/CHANGELOG.md ## x.x.x (master) * Add `!version` command to print bot version from package.json * Add CHANGELOG ## 0.1.0 (02-09-2017) <|file_sep|>current/CHANGELOG.md ## 0.1.0 (master) * Add `!version` command to...
c0405b3ef9fd9d8bb99b70b411e087eb3b32c239
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>CMakeLists.txt.diff original: updated: set(CMAKE_THREAD_PREFER_PTHREAD true) find_package(Threads REQUIRED) target_link_libraries(SoftwareAbstractionLayer ${CMAKE_THREAD_LIBS_INIT}) <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(SAL C) set(sal_sources Cryptography.c Sock...
include_directories(include) add_library(SoftwareAbstractionLayer SHARED ${sal_sources}) if(MSVC) set(CMAKE_C_FLAGS_RELEASE "/arch:AVX /Gr /O2 /MP /Za /Fx /FAs /Fa") set(CMAKE_C_FLAGS_DEBUG "/arch:AVX /Od /Za /MP /FAs /Fa /Zi") endif() set(CMAKE_THREAD_PREFER_PTHREAD true) find_package(Threads REQUIRED) target...
<|file_sep|>CMakeLists.txt.diff original: updated: set(CMAKE_THREAD_PREFER_PTHREAD true) find_package(Threads REQUIRED) target_link_libraries(SoftwareAbstractionLayer ${CMAKE_THREAD_LIBS_INIT}) <|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(SAL C) set(sal_sources Cryptography.c Sock...
22c54d3f02bc1787a204990dd49bce53df082001
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>build.sh.diff original: AXIS2C=${AXIS2C:=`pwd`} updated: <|file_sep|>build.sh.diff original: export AXIS2C_HOME AXIS2C updated: export AXIS2C_HOME <|file_sep|>build.sh.diff original: echo "AXIS2 = ${AXIS2C}" updated: <|file_sep|>build.sh.diff original: ./configure --prefix=${AXIS2C_HOME} --enable-te...
#!/bin/bash ./autogen.sh AXIS2C_HOME=${AXIS2C_HOME:=`pwd`/deploy} export AXIS2C_HOME echo "AXIS2C_HOME = ${AXIS2C_HOME}" ./configure --prefix=${AXIS2C_HOME} make make install cd samples ./autogen.sh ./configure --prefix=${AXIS2C_HOME} --with-axis2_util=${AXIS2C_HOME}/include --with-axiom=${AXIS2C_HOME}/include ma...
<|file_sep|>build.sh.diff original: AXIS2C=${AXIS2C:=`pwd`} updated: <|file_sep|>build.sh.diff original: export AXIS2C_HOME AXIS2C updated: export AXIS2C_HOME <|file_sep|>build.sh.diff original: echo "AXIS2 = ${AXIS2C}" updated: <|file_sep|>build.sh.diff original: ./configure --prefix=${AXIS2C_HOME} --enable-te...
11830a3db779e5ea87f229a16505b83618bca29f
build.sh
build.sh
Shell
<|file_sep|>original/javatests/google/registry/export/backup_kinds.txt Cancellation ContactResource Cursor DomainApplicationIndex DomainBase EntityGroupRoot EppResourceIndex ForeignKeyContactIndex ForeignKeyDomainIndex ForeignKeyHostIndex HistoryEntry HostResource LogsExportCursor LrpTokenEntity Modification OneTime P...
Cancellation ContactResource Cursor DomainApplicationIndex DomainBase EntityGroupRoot EppResourceIndex ForeignKeyContactIndex ForeignKeyDomainIndex ForeignKeyHostIndex HistoryEntry HostResource LogsExportCursor LrpTokenEntity Modification OneTime PollMessage PremiumList PremiumListEntry RdeRevision Recurring
<|file_sep|>original/javatests/google/registry/export/backup_kinds.txt Cancellation ContactResource Cursor DomainApplicationIndex DomainBase EntityGroupRoot EppResourceIndex ForeignKeyContactIndex ForeignKeyDomainIndex ForeignKeyHostIndex HistoryEntry HostResource LogsExportCursor LrpTokenEntity Modification OneTime P...
f0d2f96c26ac30686a436f2bcd8c661b596bad19
javatests/google/registry/export/backup_kinds.txt
javatests/google/registry/export/backup_kinds.txt
Text
<|file_sep|>original/project.clj (defproject funcool/beicon "0.5.1" :description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)" :url "https://github.com/funcool/beicon" :license {:name "Public Domain" :url "http://unlicense.org/"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
(defproject funcool/beicon "0.5.1" :description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)" :url "https://github.com/funcool/beicon" :license {:name "Public Domain" :url "http://unlicense.org/"} :dependencies [[org.clojure/clojure "1.8.0" :scope "provided"] [org.clojure/cloj...
<|file_sep|>original/project.clj (defproject funcool/beicon "0.5.1" :description "Reactive Streams for ClojureScript (built on top of RxJS 4.x)" :url "https://github.com/funcool/beicon" :license {:name "Public Domain" :url "http://unlicense.org/"} :dependencies [[org.clojure/clojure "1.7.0" :scope "provided"] ...
3a6cbafb0efe161d934e7006b17ce814be5b16f5
project.clj
project.clj
Clojure
<|file_sep|>core/app/backbone/factlink/react_loading_indicator.coffee.diff original: updated: else if @model().length > 0 _span() <|file_sep|>original/core/app/backbone/factlink/react_loading_indicator.coffee window.ReactLoadingIndicator = React.createBackboneClass displayName: 'ReactLoadingIndicator' ch...
window.ReactLoadingIndicator = React.createBackboneClass displayName: 'ReactLoadingIndicator' changeOptions: 'sync request' render: -> if !@model() || @model().loading() _img ['ajax-loader', src: Factlink.Global.ajax_loader_image] else if @model().length > 0 _span() else @props.chil...
<|file_sep|>core/app/backbone/factlink/react_loading_indicator.coffee.diff original: updated: else if @model().length > 0 _span() <|file_sep|>original/core/app/backbone/factlink/react_loading_indicator.coffee window.ReactLoadingIndicator = React.createBackboneClass displayName: 'ReactLoadingIndicator' ch...
9880ae9daa060c5eb37e5fa014f332a9efe4cced
core/app/backbone/factlink/react_loading_indicator.coffee
core/app/backbone/factlink/react_loading_indicator.coffee
CoffeeScript
<|file_sep|>original/test/copies/gyptest-attribs.py def check_attribs(path, expected_exec_bit): out_path = test.built_file_path(path, chdir='src') in_stat = os.stat(os.path.join('src', path)) out_stat = os.stat(out_path) if out_stat.st_mode & stat.S_IXUSR != expected_exec_bit: test.fail_test() test = Te...
def check_attribs(path, expected_exec_bit): out_path = test.built_file_path(path, chdir='src') in_stat = os.stat(os.path.join('src', path)) out_stat = os.stat(out_path) if out_stat.st_mode & stat.S_IXUSR != expected_exec_bit: test.fail_test() # Doesn't pass with the android generator, see gyp bug 379. t...
<|file_sep|>original/test/copies/gyptest-attribs.py def check_attribs(path, expected_exec_bit): out_path = test.built_file_path(path, chdir='src') in_stat = os.stat(os.path.join('src', path)) out_stat = os.stat(out_path) if out_stat.st_mode & stat.S_IXUSR != expected_exec_bit: test.fail_test() test = Te...
472325bdb9ad46ae2466d5be7ecfae009b8518ae
test/copies/gyptest-attribs.py
test/copies/gyptest-attribs.py
Python
<|file_sep|>machine/include/config.h.diff original: // Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x80'0000'0000 updated: // Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x7F'FFFF'F000 // According to the Sv39 documentation, the vaddr "must have bits 63–39 all equal to bi...
#define NUM_STACK_PAGES 2 #define MAX_AMOUNT_OF_CONTEXTS 32 #define NUM_FDS 32 // The trampoline must be mapped at the same vaddr for both the kernel and // the userspace processes. The page is mapped to the last VPN slot available // Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x7F'FFFF'F000...
<|file_sep|>machine/include/config.h.diff original: // Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x80'0000'0000 updated: // Sv39 has 39bit adresses: 2^39 - PAGESIZE = 0x80'0000'0000 - 0x100 = 0x7F'FFFF'F000 // According to the Sv39 documentation, the vaddr "must have bits 63–39 all equal to bi...
2ed55f8d7eef0709bf1c96356d98605dd28ce442
machine/include/config.h
machine/include/config.h
C
<|file_sep|>spec/lib/gitometer/github_helpers_spec.rb.diff original: let(:user) { mock('user', :token => 1) } updated: context 'with a user' do let(:user) { mock('user', :token => 1, :login => 'cmeik') } <|file_sep|>spec/lib/gitometer/github_helpers_spec.rb.diff original: it 'can parameterize the acc...
subject.repositories_for_user(user).should == JSON.parse(repository_response_body) end context 'and a repository' do let(:repository) { mock('repository', :[] => 'wine_dot_com_api_request' ) } it 'retrieves the commits for a users repository' do stub_request(:get, "https:...
<|file_sep|>spec/lib/gitometer/github_helpers_spec.rb.diff original: let(:user) { mock('user', :token => 1) } updated: context 'with a user' do let(:user) { mock('user', :token => 1, :login => 'cmeik') } <|file_sep|>spec/lib/gitometer/github_helpers_spec.rb.diff original: it 'can parameterize the acc...
950f16ab0b772bd71797f9250cc38c783a99d6ca
spec/lib/gitometer/github_helpers_spec.rb
spec/lib/gitometer/github_helpers_spec.rb
Ruby
<|file_sep|>c/fnv1a.pyx.diff original: void fnv1a(const char *foo, const int length, uint64_t *hash); updated: void fnv1a(const char *foo, const int length, uint64_t *hash) <|file_sep|>c/fnv1a.pyx.diff original: updated: <|file_sep|>c/fnv1a.pyx.diff original: updated: name = "fnv1a64" digestsi...
cdef readonly uint64_t h name = "fnv1a64" digestsize = 8 digest_size = 8 def __cinit__(self, s=None): self.h = <uint64_t>0 if s is not None: fnv1a(s, len(s), &self.h) cpdef void update(self, const char *s): fnv1a(s, len(s), &self.h) cpdef unsign...
<|file_sep|>c/fnv1a.pyx.diff original: void fnv1a(const char *foo, const int length, uint64_t *hash); updated: void fnv1a(const char *foo, const int length, uint64_t *hash) <|file_sep|>c/fnv1a.pyx.diff original: updated: <|file_sep|>c/fnv1a.pyx.diff original: updated: name = "fnv1a64" digestsi...
c652a153a2bf10a58d40e22831d73715fcfd3e3f
c/fnv1a.pyx
c/fnv1a.pyx
Cython
<|file_sep|>original/README.md Server Activity Monitoring ========================== This is a demo code to chowcase how Beebotte API can be used for remote server activity monitoring. ## Prerequisites This code uses the Beebotte API, you must have an account. You can register here: http://beebotte.com/register ## N...
Server Activity Monitoring ========================== This is a demo code to chowcase how Beebotte API can be used for remote server activity monitoring. ## Prerequisites This code uses the Beebotte API, you must have an account. You can register here: http://beebotte.com/register ## Nodejs Check the nodejs folder ...
<|file_sep|>original/README.md Server Activity Monitoring ========================== This is a demo code to chowcase how Beebotte API can be used for remote server activity monitoring. ## Prerequisites This code uses the Beebotte API, you must have an account. You can register here: http://beebotte.com/register ## N...
cf533c90fa12a917425077d60193c8030eb0d871
README.md
README.md
Markdown
<|file_sep|>packages/en/envy.yaml.diff original: hash: e1959e3d5d4fdf82d347c1381b5dd88535657e58573a1c13d21c2690210e3d82 updated: hash: d71b918bd3408ecbdbd239c62ef24d936982a27dbabdb248b8c0749e241a6836 <|file_sep|>packages/en/envy.yaml.diff original: envy: ==0.1.* updated: envy: ==0.2.* <|file_sep|>packages/en/envy.y...
maintainer: djohnson.m@gmail.com synopsis: An environmentally friendly way to deal with environment variables changelog: '' basic-deps: bytestring: ==0.10.* base: ! '>=4.7 && <5' time: ==1.5.* text: ==1.2.* containers: ==0.5.* mtl: ==2.2.* transformers: ==0.4.* all-versions: - '0.1.0.0' - '0.1.0.1' - '0.2...
<|file_sep|>packages/en/envy.yaml.diff original: hash: e1959e3d5d4fdf82d347c1381b5dd88535657e58573a1c13d21c2690210e3d82 updated: hash: d71b918bd3408ecbdbd239c62ef24d936982a27dbabdb248b8c0749e241a6836 <|file_sep|>packages/en/envy.yaml.diff original: envy: ==0.1.* updated: envy: ==0.2.* <|file_sep|>packages/en/envy.y...
873a1bb579424d01ea630505b8a582ac15d08b94
packages/en/envy.yaml
packages/en/envy.yaml
YAML
<|file_sep|>packages/ca/cardano-coin-selection.yaml.diff original: hash: 3d965d9b01ef6f61b31e34ccf18aedb44611b9e3a56a4e094e3027e15c7e7ac5 updated: hash: 810e0984b5bd369aa3ef235a37cc10ed3fde959645a7dce940ca5a8cb00eb5b1 <|file_sep|>packages/ca/cardano-coin-selection.yaml.diff original: transformers: -any updated: tra...
synopsis: Algorithms for coin selection and fee balancing. changelog: | ## [1.0.0] - 2020-04-29 Initial release. basic-deps: quiet: -any bytestring: -any base: '>=4.7 && <5' text: -any containers: -any cryptonite: -any transformers: '>=0.5.6.0' deepseq: -any all-versions: - 1.0.0 author: IOHK lates...
<|file_sep|>packages/ca/cardano-coin-selection.yaml.diff original: hash: 3d965d9b01ef6f61b31e34ccf18aedb44611b9e3a56a4e094e3027e15c7e7ac5 updated: hash: 810e0984b5bd369aa3ef235a37cc10ed3fde959645a7dce940ca5a8cb00eb5b1 <|file_sep|>packages/ca/cardano-coin-selection.yaml.diff original: transformers: -any updated: tra...
0fe786263d67cc355a12d50d0a70263637cd49e7
packages/ca/cardano-coin-selection.yaml
packages/ca/cardano-coin-selection.yaml
YAML
<|file_sep|>original/composer.json { "name": "vi-kon/parser-markdown", "description": "", "authors": [ { "name": "Kovács Vince", "email": "vincekovacs@hotmail.com" } ], "require": { "php": ">=5.4.0...
{ "name": "vi-kon/laravel-parser-markdown", "description": "", "authors": [ { "name": "Kovács Vince", "email": "vincekovacs@hotmail.com" } ], "require": { "php": ">=5.4.0", "illuminate/supp...
<|file_sep|>original/composer.json { "name": "vi-kon/parser-markdown", "description": "", "authors": [ { "name": "Kovács Vince", "email": "vincekovacs@hotmail.com" } ], "require": { "php": ">=5.4.0...
1388d6502d2313f9f0d9f6875efeadcdd8dab793
composer.json
composer.json
JSON
<|file_sep|>original/webpack.config.js devtool: 'inline-source-map', module: { rules: [ { test: /node_modules\/cytoscape\/.*/, loader: 'babel-loader'}, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' } ] }, resolve: { alias: { cytoscape: 'cytoscape/src/umd' } ...
devtool: 'inline-source-map', module: { rules: [ { test: /node_modules\/cytoscape\/.*/, loader: 'babel-loader'}, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' } ] }, resolve: { alias: { cytoscape: 'cytoscape/src/cjs' } }, plugins: [ isProfile ? new B...
<|file_sep|>original/webpack.config.js devtool: 'inline-source-map', module: { rules: [ { test: /node_modules\/cytoscape\/.*/, loader: 'babel-loader'}, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' } ] }, resolve: { alias: { cytoscape: 'cytoscape/src/umd' } ...
9abd2b600eae4ca29d729f9c579774ba53c8f04f
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/recipes/meta/KiCad-nightly.yml # Might be necessary to bundle Python - to be investigated app: KiCad binpatch: true ingredients: packages: - kicad - kicad-library dist: trusty sources: - deb http://archive.ubuntu.com/ubuntu/ trusty main universe ppas: - js-reynaud/ppa-kica...
# Might be necessary to bundle Python - to be investigated app: KiCad binpatch: true ingredients: packages: - kicad - kicad-library - libcurl3 dist: trusty sources: - deb http://archive.ubuntu.com/ubuntu/ trusty main universe ppas: - js-reynaud/ppa-kicad script: - # Workaround until -...
<|file_sep|>original/recipes/meta/KiCad-nightly.yml # Might be necessary to bundle Python - to be investigated app: KiCad binpatch: true ingredients: packages: - kicad - kicad-library dist: trusty sources: - deb http://archive.ubuntu.com/ubuntu/ trusty main universe ppas: - js-reynaud/ppa-kica...
f5afe33c954476e03e25e61e1d04c82779ce86f1
recipes/meta/KiCad-nightly.yml
recipes/meta/KiCad-nightly.yml
YAML
<|file_sep|>original/pyconcz_2016/speakers/views.py def speakers_list(request, type): speakers = (Speaker.objects.all() .exclude(**{type: None}) .prefetch_related(type) .order_by('full_name')) return TemplateResponse( request, template='speakers...
def speakers_list(request, type): speakers = (Speaker.objects.all() .exclude(**{type: None}) .prefetch_related(type) .order_by('full_name')) return TemplateResponse( request, template='speakers/{}_list.html'.format(type), context={'speak...
<|file_sep|>original/pyconcz_2016/speakers/views.py def speakers_list(request, type): speakers = (Speaker.objects.all() .exclude(**{type: None}) .prefetch_related(type) .order_by('full_name')) return TemplateResponse( request, template='speakers...
1eb9d6cbed7c8f2c9a216e8618dadee571a2cdf2
pyconcz_2016/speakers/views.py
pyconcz_2016/speakers/views.py
Python
<|file_sep|>app/javascript/gobierto_admin/modules/admins_controller.js.diff original: updated: _addToggleSiteBehaviors(); <|file_sep|>app/javascript/gobierto_admin/modules/admins_controller.js.diff original: updated: function _addToggleSiteBehaviors() { var $siteCheckboxes = $("[data-behavior='toggle...
$regular.click(function() { $('#sites_permissions').show('fast'); $('#admin_groups').show('fast'); }); $manager.click(function() { $('#sites_permissions').hide('fast'); $('#admin_groups').hide('fast'); }); $disabled.click(function() { $('#sites_pe...
<|file_sep|>app/javascript/gobierto_admin/modules/admins_controller.js.diff original: updated: _addToggleSiteBehaviors(); <|file_sep|>app/javascript/gobierto_admin/modules/admins_controller.js.diff original: updated: function _addToggleSiteBehaviors() { var $siteCheckboxes = $("[data-behavior='toggle...
778ab38382d46e680950b346c00870709e912c91
app/javascript/gobierto_admin/modules/admins_controller.js
app/javascript/gobierto_admin/modules/admins_controller.js
JavaScript
<|file_sep|>original/README.md # TuxBoy-Framework [![Build Status](https://travis-ci.org/TuxBoy/TuxBoy-Framework.svg?branch=master)](https://travis-ci.org/TuxBoy/TuxBoy-Framework) Un petit framework maison afin de m’entraîner et de me perfectionner en PHP ## TODO - [X] Séparer l'ajout des routes dans une classe Rout...
# TuxBoy-Framework [![Build Status](https://travis-ci.org/TuxBoy/TuxBoy-Framework.svg?branch=master)](https://travis-ci.org/TuxBoy/TuxBoy-Framework) Un petit framework maison afin de m’entraîner et de me perfectionner en PHP ## Setup Pre-Requis : - PHP >= 7.1 - MySQL database Copier le fichier `.env.dist` en `.env...
<|file_sep|>original/README.md # TuxBoy-Framework [![Build Status](https://travis-ci.org/TuxBoy/TuxBoy-Framework.svg?branch=master)](https://travis-ci.org/TuxBoy/TuxBoy-Framework) Un petit framework maison afin de m’entraîner et de me perfectionner en PHP ## TODO - [X] Séparer l'ajout des routes dans une classe Rout...
32b192643895cb43fa21a132aa32cd4e34a21aa0
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: #Brackets-Node.js updated: #Brackets-Node.js (Node.js bindings) <|file_sep|>README.md.diff original: updated: * `Run` runs the current opened file using node, e.g. `node /home/User/nodejs/server.js` * `Run as npm ...` will execute the command inside the directory of the current ope...
... is an extension for Brackets to run Node.js or NPM files directly from Brackets. ![Extension in work](http://img14.myimg.de/bracketsnodejs2komp3705b.png) ## Usage Use the new added menu `Node.js`. * `Run` runs the current opened file using node, e.g. `node /home/User/nodejs/server.js` * `Run as npm ...` will exe...
<|file_sep|>README.md.diff original: #Brackets-Node.js updated: #Brackets-Node.js (Node.js bindings) <|file_sep|>README.md.diff original: updated: * `Run` runs the current opened file using node, e.g. `node /home/User/nodejs/server.js` * `Run as npm ...` will execute the command inside the directory of the current ope...
0a3a0bfd8bced33f09ee37665455254c00b302e8
README.md
README.md
Markdown
<|file_sep|>js/ui.js.diff original: updated: var clock; function UI(_game) { <|file_sep|>js/ui.js.diff original: function UI(_game) { updated: <|file_sep|>js/ui.js.diff original: updated: this.init(); <|file_sep|>js/ui.js.diff original: html .on('click', '#add_player_btn', thi...
UI.prototype.startGame = function () { if (game.getPlayersNumber() >= 2) { game.startGame(); game.play(); } else { //TODO alert('Minimo dos jugadores'); } }; UI.prototype.StartTurn = function(){ }; return UI; })();
<|file_sep|>js/ui.js.diff original: updated: var clock; function UI(_game) { <|file_sep|>js/ui.js.diff original: function UI(_game) { updated: <|file_sep|>js/ui.js.diff original: updated: this.init(); <|file_sep|>js/ui.js.diff original: html .on('click', '#add_player_btn', thi...
859b6766d2a624ed45cdd4671ae5ca027dfe6c56
js/ui.js
js/ui.js
JavaScript
<|file_sep|>original/lib/random_yiff.rb @post_uri = RandomYiff.post_uri yield self if block_given? end def post JSON.load(Net::HTTP.get(post_uri)) end def file_uri URI(file_url) end def file Net::HTTP.get(file_uri) end def method_missing(m) post["#{m}"] || super end end <|...
def initialize @post_uri = RandomYiff.post_uri yield self if block_given? end def post JSON.load(Net::HTTP.get(post_uri)) end def file_uri URI(file_url) end def file Net::HTTP.get(file_uri) end def method_missing(m) post["#{m}"] || super end end
<|file_sep|>original/lib/random_yiff.rb @post_uri = RandomYiff.post_uri yield self if block_given? end def post JSON.load(Net::HTTP.get(post_uri)) end def file_uri URI(file_url) end def file Net::HTTP.get(file_uri) end def method_missing(m) post["#{m}"] || super end end <|...
3492016ee5e9d7ce7144f9d92606c2500e3cff0b
lib/random_yiff.rb
lib/random_yiff.rb
Ruby
<|file_sep|>original/requirements.txt ansible-lint==4.2.0 docker==5.0.0 flake8==3.9.2 molecule==3.0.8 pytest==6.2.4 testinfra==6.0.0 tox==3.24.2 <|file_sep|>current/requirements.txt ansible-lint==4.2.0 docker==5.0.0 flake8==3.9.2 molecule==3.0.8 pytest==6.2.4 testinfra==6.0.0 tox==3.24.2 <|file_sep|>updated/requirement...
ansible-lint==4.2.0 docker==5.0.0 flake8==3.9.2 molecule==3.0.8 pytest==6.2.4 testinfra==6.0.0 tox==3.24.3
<|file_sep|>original/requirements.txt ansible-lint==4.2.0 docker==5.0.0 flake8==3.9.2 molecule==3.0.8 pytest==6.2.4 testinfra==6.0.0 tox==3.24.2 <|file_sep|>current/requirements.txt ansible-lint==4.2.0 docker==5.0.0 flake8==3.9.2 molecule==3.0.8 pytest==6.2.4 testinfra==6.0.0 tox==3.24.2 <|file_sep|>updated/requirement...
1c2ee1453cf0fdaeecb725a6e8d35c8b194fdadb
requirements.txt
requirements.txt
Text
<|file_sep|>Assignment2Application/UnitTestProject1/UnitTest1.cs.diff original: Assert.Equals(_gen.Get(0), 0); Assert.Equals(_gen.Get(1), 1); Assert.Equals(_gen.Get(2), 1); Assert.Equals(_gen.Get(3), 2); Assert.Equals(_gen.Get(4), 3); Assert.Equals...
Assert.AreEqual(_gen.Get(0), 0); Assert.AreEqual(_gen.Get(1), 1); Assert.AreEqual(_gen.Get(2), 1); Assert.AreEqual(_gen.Get(3), 2); Assert.AreEqual(_gen.Get(4), 3); Assert.AreEqual(_gen.Get(5), 5); } [TestMethod] public voi...
<|file_sep|>Assignment2Application/UnitTestProject1/UnitTest1.cs.diff original: Assert.Equals(_gen.Get(0), 0); Assert.Equals(_gen.Get(1), 1); Assert.Equals(_gen.Get(2), 1); Assert.Equals(_gen.Get(3), 2); Assert.Equals(_gen.Get(4), 3); Assert.Equals...
a06135a365155cfb3206d7977a041777ef36dc15
Assignment2Application/UnitTestProject1/UnitTest1.cs
Assignment2Application/UnitTestProject1/UnitTest1.cs
C#
<|file_sep|>original/bash/variables.bash MANPATH="" prepend_PATHs "/usr/X11" prepend_PATHs "" prepend_PATHs "/usr" prepend_PATHs "/usr/local" prepend_PATHs "/opt/local" prepend_PATHs "$HOME/local" prepend_PATHs "$DOTFILES" PATH=$(prepend_colon ".local/bin" $PATH) #------------------------------------------------- e...
MANPATH="" prepend_PATHs "/usr/X11" prepend_PATHs "" prepend_PATHs "/usr" prepend_PATHs "/usr/local" prepend_PATHs "/opt/local" prepend_PATHs "$HOME/local" prepend_PATHs "$DOTFILES" # very specific prepend_PATHs "$HOME/Documents/wiki/.local" #------------------------------------------------- export PATH export MANP...
<|file_sep|>original/bash/variables.bash MANPATH="" prepend_PATHs "/usr/X11" prepend_PATHs "" prepend_PATHs "/usr" prepend_PATHs "/usr/local" prepend_PATHs "/opt/local" prepend_PATHs "$HOME/local" prepend_PATHs "$DOTFILES" PATH=$(prepend_colon ".local/bin" $PATH) #------------------------------------------------- e...
378d4ff3cdc234d23e7c9b16758df26300872341
bash/variables.bash
bash/variables.bash
Shell
<|file_sep|>original/requirements-dev.txt pytest_django==3.1.2 pytest==3.1.2 py==1.4.34 pytest_cov==2.5.1 coverage==4.4.1 flake8==3.3.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.5.0 model_mommy==1.3.2 pytest_mock==1.6.0 sqlformatter==1.3 Pygments==1.6 sqlparse==0.1.11 ipython[notebook] -r requirements.txt <|file_...
pytest_django==3.1.2 pytest==3.1.2 py==1.4.34 pytest_cov==2.5.1 coverage==4.4.1 flake8==3.3.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.5.0 model_mommy==1.3.2 pytest_mock==1.6.0 sqlformatter==1.3 Pygments==1.6 sqlparse==0.2.3 ipython[notebook] -r requirements.txt
<|file_sep|>original/requirements-dev.txt pytest_django==3.1.2 pytest==3.1.2 py==1.4.34 pytest_cov==2.5.1 coverage==4.4.1 flake8==3.3.0 mccabe==0.6.1 pycodestyle==2.3.1 pyflakes==1.5.0 model_mommy==1.3.2 pytest_mock==1.6.0 sqlformatter==1.3 Pygments==1.6 sqlparse==0.1.11 ipython[notebook] -r requirements.txt <|file_...
1ee7d2fad9b17a916193d80fb88b75d68495f949
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>lib/data_loader/debates.rb.diff original: # :house - specify representatives or senate, omit for both updated: <|file_sep|>original/lib/data_loader/debates.rb module DataLoader class Debates # The options hash takes: # :house - specify representatives or senate, omit for both # :date - A ...
module DataLoader class Debates # The options hash takes: # :date - A single date def self.load!(options = {}) House.australian.each do |house| # TODO: Check for the file first rather than catching the exception begin xml_data = File.read("#{Settings.xml_data_directory}/scr...
<|file_sep|>lib/data_loader/debates.rb.diff original: # :house - specify representatives or senate, omit for both updated: <|file_sep|>original/lib/data_loader/debates.rb module DataLoader class Debates # The options hash takes: # :house - specify representatives or senate, omit for both # :date - A ...
6b3f0266e3dac4cf949ca16cec4ac1373b9b5d35
lib/data_loader/debates.rb
lib/data_loader/debates.rb
Ruby
<|file_sep|>original/FOL/scm/dvl-wrapper.scm (set! load/suppress-loading-message? #t) (load "/home/manzyuk/Projects/BCL-AD/ls/dvl/load") (pp (compile-to-raw-fol (read))) (%exit 0) <|file_sep|>current/FOL/scm/dvl-wrapper.scm (set! load/suppress-loading-message? #t) (load "/home/manzyuk/Projects/BCL-AD/ls/dvl/load") (pp ...
(set! load/suppress-loading-message? #t) (define (self-relatively thunk) (if (current-eval-unit #f) (with-working-directory-pathname (directory-namestring (current-load-pathname)) thunk) (thunk))) (define (load-relative filename) (self-relatively (lambda () (load filename)))) (load-rela...
<|file_sep|>original/FOL/scm/dvl-wrapper.scm (set! load/suppress-loading-message? #t) (load "/home/manzyuk/Projects/BCL-AD/ls/dvl/load") (pp (compile-to-raw-fol (read))) (%exit 0) <|file_sep|>current/FOL/scm/dvl-wrapper.scm (set! load/suppress-loading-message? #t) (load "/home/manzyuk/Projects/BCL-AD/ls/dvl/load") (pp ...
7c3f87d34105d7ba679a118f12b61d4d6c92c4ca
FOL/scm/dvl-wrapper.scm
FOL/scm/dvl-wrapper.scm
Scheme
<|file_sep|>original/TWLight/resources/management/commands/migrate_tags_to_new_tags.py <|file_sep|>current/TWLight/resources/management/commands/migrate_tags_to_new_tags.py <|file_sep|>updated/TWLight/resources/management/commands/migrate_tags_to_new_tags.py
from django.core.management.base import BaseCommand from TWLight.resources.models import Partner class Command(BaseCommand): help = "Migrates content from the tags column to the new_tags column" def handle(self, *args, **options): partners = Partner.objects.all() for partner in partners: ...
<|file_sep|>original/TWLight/resources/management/commands/migrate_tags_to_new_tags.py <|file_sep|>current/TWLight/resources/management/commands/migrate_tags_to_new_tags.py <|file_sep|>updated/TWLight/resources/management/commands/migrate_tags_to_new_tags.py from django.core.management.base import BaseCommand from T...
0fae3ec1526e2f2c566d137389d978b566756d16
TWLight/resources/management/commands/migrate_tags_to_new_tags.py
TWLight/resources/management/commands/migrate_tags_to_new_tags.py
Python
<|file_sep|>index.js.diff original: if(!txt) return ''; updated: if (!txt) return ''; if (!/\r/.test(txt)) return txt; <|file_sep|>original/index.js function escapeCarriageReturn(txt) { if(!txt) return ''; txt = txt.replace(/\r+\n/gm, '\n'); // \r followed by \n --> newline while (txt.search(/\r[^$]/g) > -1...
function escapeCarriageReturn(txt) { if (!txt) return ''; if (!/\r/.test(txt)) return txt; txt = txt.replace(/\r+\n/gm, '\n'); // \r followed by \n --> newline while (/\r[^$]/.test(txt)) { var base = /^(.*)\r+/m.exec(txt)[1]; var insert = /\r+(.*)$/m.exec(txt)[1]; insert = insert + base.slice(insert...
<|file_sep|>index.js.diff original: if(!txt) return ''; updated: if (!txt) return ''; if (!/\r/.test(txt)) return txt; <|file_sep|>original/index.js function escapeCarriageReturn(txt) { if(!txt) return ''; txt = txt.replace(/\r+\n/gm, '\n'); // \r followed by \n --> newline while (txt.search(/\r[^$]/g) > -1...
25f7c4b9899288874459827e674a28b03e6b9ae0
index.js
index.js
JavaScript
<|file_sep|>original/app/views/shared/_yammer_javascript.html.erb <% if current_user.yammer_staging %> <script type="text/javascript" src="https://assets.staging.yammer.com/platform/yam.js"></script> <% else %> <script type="text/javascript" src="https://assets.yammer.com/platform/yam.js"></script> <% end %> <scrip...
<% if current_user.yammer_staging %> <script type="text/javascript" src="https://assets.staging.yammer.com/platform/yam.js"></script> <% else %> <script type="text/javascript" src="https://assets.yammer.com/platform/yam.js"></script> <% end %> <script type="text/javascript"> <% if current_user && current_user.yam...
<|file_sep|>original/app/views/shared/_yammer_javascript.html.erb <% if current_user.yammer_staging %> <script type="text/javascript" src="https://assets.staging.yammer.com/platform/yam.js"></script> <% else %> <script type="text/javascript" src="https://assets.yammer.com/platform/yam.js"></script> <% end %> <scrip...
0a100bd039ded2a7db21150792a6e4f637240d52
app/views/shared/_yammer_javascript.html.erb
app/views/shared/_yammer_javascript.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml matrix: fast_finish: true include: - php: 5.6 env: - COMPOSER_FLAGS="--prefer-stable" - php: 7 - php: hhvm allow_failures: - php: hhvm before_script: - travis_retry composer self-update --quiet - travis_retry composer update ${COMPOSER_FLAGS} --n...
matrix: fast_finish: true include: - php: 5.6 env: - COMPOSER_FLAGS="--prefer-stable" - php: 7 - php: hhvm allow_failures: - php: hhvm before_script: - travis_retry composer self-update --quiet - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist scri...
<|file_sep|>original/.travis.yml matrix: fast_finish: true include: - php: 5.6 env: - COMPOSER_FLAGS="--prefer-stable" - php: 7 - php: hhvm allow_failures: - php: hhvm before_script: - travis_retry composer self-update --quiet - travis_retry composer update ${COMPOSER_FLAGS} --n...
7d27857116fcfe54091802170275a2f4d0b9faf5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php } public function loadHandles( PhabricatorHandleQuery $query, array $handles, array $objects) { foreach ($handles as $phid => $handle) { $build_step = $objects[$phid]; $id = $build_step->getID();...
} public function loadHandles( PhabricatorHandleQuery $query, array $handles, array $objects) { foreach ($handles as $phid => $handle) { $build_step = $objects[$phid]; $id = $build_step->getID(); $name = $build_step->getName(); $handle ->setName($name) ->s...
<|file_sep|>original/src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php } public function loadHandles( PhabricatorHandleQuery $query, array $handles, array $objects) { foreach ($handles as $phid => $handle) { $build_step = $objects[$phid]; $id = $build_step->getID();...
1b8337871b8894a6265d44af529d776d9005d7f1
src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php
src/applications/harbormaster/phid/HarbormasterBuildStepPHIDType.php
PHP
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 gemfile: - gemfiles/Gemfile.ci script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 gemfile: - gemfiles/Gemfile.ci script: - bun...
language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.7 - 2.2.3 gemfile: - gemfiles/Gemfile.ci script: - bundle exec rspec - bundle exec rubocop
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 gemfile: - gemfiles/Gemfile.ci script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.6 - 2.2.2 gemfile: - gemfiles/Gemfile.ci script: - bun...
4d29bffa35bf26533ca00aa8dc6f294f977587ab
.travis.yml
.travis.yml
YAML
<|file_sep|>original/splunklib/__init__.py # Copyright 2011-2012 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
# Copyright 2011-2012 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
<|file_sep|>original/splunklib/__init__.py # Copyright 2011-2012 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
497f3a61b7f7fb758ba7093e04310621842bbcd7
splunklib/__init__.py
splunklib/__init__.py
Python
<|file_sep|>original/tox.ini [tox] envlist = pep8,py39 [gh-actions] python = 3.9: py39 [testenv] install_command = pip install {opts} {packages} setenv = OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES VIRTUAL_ENV={envdir} whitelist_externals = bash commands = bash -ex {toxinidir}/functional/run.sh [testenv:venv...
[tox] envlist = pep8,py39,docs [gh-actions] python = 3.9: py39 [testenv] install_command = pip install {opts} {packages} setenv = OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES VIRTUAL_ENV={envdir} whitelist_externals = bash commands = bash -ex {toxinidir}/functional/run.sh [testenv:venv] commands = {posargs} ...
<|file_sep|>original/tox.ini [tox] envlist = pep8,py39 [gh-actions] python = 3.9: py39 [testenv] install_command = pip install {opts} {packages} setenv = OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES VIRTUAL_ENV={envdir} whitelist_externals = bash commands = bash -ex {toxinidir}/functional/run.sh [testenv:venv...
f61d2a0034ab35d0ca63c940aa926e78ca10899b
tox.ini
tox.ini
INI
<|file_sep|>original/.travis.yml language: ruby before_script: - cd tests/test_app - bundle exec rails g impressionist -f - bundle exec rake db:create db:migrate RAILS_ENV=test - cd .. rvm: - 1.9.3 - 2.0.0 - jruby-head - rbx - ruby-head gemfile: - gemfiles/rails32.gemfile - gemfiles/rails40.gemfil...
language: ruby before_install: - gem install bundler before_script: - cd tests/test_app - bundle exec rails g impressionist -f - bundle exec rake db:create db:migrate RAILS_ENV=test - cd .. rvm: - 1.9.3 - 2.0.0 - jruby-head - rbx - ruby-head gemfile: - gemfiles/rails32.gemfile - gemfiles/rails40...
<|file_sep|>original/.travis.yml language: ruby before_script: - cd tests/test_app - bundle exec rails g impressionist -f - bundle exec rake db:create db:migrate RAILS_ENV=test - cd .. rvm: - 1.9.3 - 2.0.0 - jruby-head - rbx - ruby-head gemfile: - gemfiles/rails32.gemfile - gemfiles/rails40.gemfil...
6fd0cfcb64410a3872e1e5dd71e3f0f39191825c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/system-addon/content-src/asrouter/templates/OnboardingMessage/OnboardingMessage.jsx import React from "react"; class OnboardingCard extends React.PureComponent { constructor(props) { super(props); this.onClick = this.onClick.bind(this); } onClick() { const {props} = this; pr...
import React from "react"; class OnboardingCard extends React.PureComponent { constructor(props) { super(props); this.onClick = this.onClick.bind(this); } onClick() { const {props} = this; props.sendUserActionTelemetry({event: "CLICK_BUTTON", message_id: props.id}); props.onAction(props.cont...
<|file_sep|>original/system-addon/content-src/asrouter/templates/OnboardingMessage/OnboardingMessage.jsx import React from "react"; class OnboardingCard extends React.PureComponent { constructor(props) { super(props); this.onClick = this.onClick.bind(this); } onClick() { const {props} = this; pr...
0ea5420bdf744fc4180948877ef41fb6b41cbe73
system-addon/content-src/asrouter/templates/OnboardingMessage/OnboardingMessage.jsx
system-addon/content-src/asrouter/templates/OnboardingMessage/OnboardingMessage.jsx
JSX
<|file_sep|>original/UseCython.cmake # 1) to compile assembly.pyx to assembly.so: # CYTHON_ADD_MODULE(assembly) # 2) to compile assembly.pyx and something.cpp to assembly.so: # CYTHON_ADD_MODULE(assembly something.cpp) if(NOT CYTHON_INCLUDE_DIRECTORIES) set(CYTHON_INCLUDE_DIRECTORIES .) endif(NOT CYTHON_INCLUD...
# 1) to compile assembly.pyx to assembly.so: # CYTHON_ADD_MODULE(assembly) # 2) to compile assembly.pyx and something.cpp to assembly.so: # CYTHON_ADD_MODULE(assembly something.cpp) if(NOT CYTHON_INCLUDE_DIRECTORIES) set(CYTHON_INCLUDE_DIRECTORIES .) endif(NOT CYTHON_INCLUDE_DIRECTORIES) macro(CYTHON_ADD_MODU...
<|file_sep|>original/UseCython.cmake # 1) to compile assembly.pyx to assembly.so: # CYTHON_ADD_MODULE(assembly) # 2) to compile assembly.pyx and something.cpp to assembly.so: # CYTHON_ADD_MODULE(assembly something.cpp) if(NOT CYTHON_INCLUDE_DIRECTORIES) set(CYTHON_INCLUDE_DIRECTORIES .) endif(NOT CYTHON_INCLUD...
c569e1f062e02a923b8b60e98848818b4e768643
UseCython.cmake
UseCython.cmake
CMake
<|file_sep|>original/install.conf.yaml - defaults: link: create: true relink: true - clean: ['~', '~/.config', '~/.config/git', '~/.local/bin', '~/.atom'] - link: ~/.config/base16-shell: base16-shell ~/.config/zsh: zsh ~/.config/nvim: nvim ~/.config/git/config: git/config ~/.tmux.c...
- defaults: link: create: true relink: true - clean: ['~', '~/.config', '~/.config/git', '~/.config/zsh', '~/.config/nvim', '~/.config/base16-shell', '~/bin'] - link: ~/.config/base16-shell: base16-shell ~/.config/zsh: zsh ~/.config/nvim: nvim ~/.config/git/config: git/config ~/.tm...
<|file_sep|>original/install.conf.yaml - defaults: link: create: true relink: true - clean: ['~', '~/.config', '~/.config/git', '~/.local/bin', '~/.atom'] - link: ~/.config/base16-shell: base16-shell ~/.config/zsh: zsh ~/.config/nvim: nvim ~/.config/git/config: git/config ~/.tmux.c...
31b37c1e2d7ddeaa46a7d145c1f07b9b2e4d44e4
install.conf.yaml
install.conf.yaml
YAML
<|file_sep|>original/primitive_types/primitive_types3.md <|file_sep|>current/primitive_types/primitive_types3.md <|file_sep|>updated/primitive_types/primitive_types3.md
// Create an array with at least 100 elements in it where the ??? is. // Scroll down for hints! fn main() { let a = ??? if a.len() >= 100 { println!("Wow, that's a big array!"); } else { println!("Meh, I eat arrays like that for breakfast."); } }
<|file_sep|>original/primitive_types/primitive_types3.md <|file_sep|>current/primitive_types/primitive_types3.md <|file_sep|>updated/primitive_types/primitive_types3.md // Create an array with at least 100 elements in it where the ??? is. // Scroll down for hints! fn main() { let a = ??? if a.len() >= 100 ...
9c39b05bac92be576897610d7d34e652c5baef75
primitive_types/primitive_types3.md
primitive_types/primitive_types3.md
Markdown
<|file_sep|>original/os_setup.sh [[ $DEBUG -eq 1 ]] && set -x ### Source common functions fn="$(readlink -e ${BASH_SOURCE[$i]%/*})"/bash.common [[ -r $fn ]] || { echo "Cant access file '$fn'" 1>&2; exit 1 } source $fn apt_update # Install additional packages sudo apt -y install "${__additional_pkgs[@]}" # Perform...
[[ $DEBUG -eq 1 ]] && set -x ### Source common functions fn="$(readlink -e ${BASH_SOURCE[$i]%/*})"/bash.common [[ -r $fn ]] || { echo "Cant access file '$fn'" 1>&2; exit 1 } source $fn echo "Downloading catalogs (this could take a few minutes)..." apt_update # Install additional packages sudo apt -y install "${__a...
<|file_sep|>original/os_setup.sh [[ $DEBUG -eq 1 ]] && set -x ### Source common functions fn="$(readlink -e ${BASH_SOURCE[$i]%/*})"/bash.common [[ -r $fn ]] || { echo "Cant access file '$fn'" 1>&2; exit 1 } source $fn apt_update # Install additional packages sudo apt -y install "${__additional_pkgs[@]}" # Perform...
2c21245ae669e02e97a2ad41569dd1f4b5a0879c
os_setup.sh
os_setup.sh
Shell
<|file_sep|>original/froide/publicbody/search_indexes.py from .models import PublicBody PUBLIC_BODY_BOOSTS = settings.FROIDE_CONFIG.get("public_body_boosts", {}) class PublicBodyIndex(CelerySearchIndex, indexes.Indexable): text = indexes.EdgeNgramField(document=True, use_template=True) name = indexes.CharFi...
from .models import PublicBody PUBLIC_BODY_BOOSTS = settings.FROIDE_CONFIG.get("public_body_boosts", {}) class PublicBodyIndex(CelerySearchIndex, indexes.Indexable): text = indexes.EdgeNgramField(document=True, use_template=True) name = indexes.CharField(model_attr='name', boost=1.5) jurisdiction = inde...
<|file_sep|>original/froide/publicbody/search_indexes.py from .models import PublicBody PUBLIC_BODY_BOOSTS = settings.FROIDE_CONFIG.get("public_body_boosts", {}) class PublicBodyIndex(CelerySearchIndex, indexes.Indexable): text = indexes.EdgeNgramField(document=True, use_template=True) name = indexes.CharFi...
9b820aff6fc64ffa750dbf92a51d754f9c55ab79
froide/publicbody/search_indexes.py
froide/publicbody/search_indexes.py
Python
<|file_sep|>original/app/views/companies/show.html.haml = contextual_links %h1= t_title = render 'persons/show' - unless @employments.empty? .contextual = link_to t_action('new', t('activerecord.models.employment')), new_employment_path, :remote => true, :class => "icon icon-add" %h2= t_title :index, Employ...
= contextual_links %h1= t_title = render 'persons/show' - unless @employments.empty? .contextual = link_to t_action('new', t('activerecord.models.employment')), new_employment_path, :remote => true, :class => "icon icon-add" %h2= t_title :index, Employment #new_employment = render 'employments/list' - ...
<|file_sep|>original/app/views/companies/show.html.haml = contextual_links %h1= t_title = render 'persons/show' - unless @employments.empty? .contextual = link_to t_action('new', t('activerecord.models.employment')), new_employment_path, :remote => true, :class => "icon icon-add" %h2= t_title :index, Employ...
caddfe1ad250dcddf52b4dc6cfd2f46f9610e3d5
app/views/companies/show.html.haml
app/views/companies/show.html.haml
Haml
<|file_sep|>original/samples/src/main/res/layout/table.xml <?xml version="1.0" encoding="utf-8"?> <com.inqbarna.tablefixheaders.TableFixHeaders xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/table" android:layout_width="match_parent" android:layout_height="match_parent" /> <|fil...
<?xml version="1.0" encoding="utf-8"?> <com.inqbarna.tablefixheaders.TableFixHeaders xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/table" android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="horizontal|vertical" />
<|file_sep|>original/samples/src/main/res/layout/table.xml <?xml version="1.0" encoding="utf-8"?> <com.inqbarna.tablefixheaders.TableFixHeaders xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/table" android:layout_width="match_parent" android:layout_height="match_parent" /> <|fil...
dc2eef28b6fbbc62c70b17961d33f58c79e7fe99
samples/src/main/res/layout/table.xml
samples/src/main/res/layout/table.xml
XML
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode # uncomment this line if your project needs to run something other than `rake`: # script: bundle exec rake
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: ruby rvm: - "1.8.7" - "1.9.2" - "1.9.3" - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode # uncomment this line if your project needs to run something ...
a60458921177c050891305bf45d7f7b50ba1a118
.travis.yml
.travis.yml
YAML
<|file_sep|>original/takeyourmeds/settings/defaults/apps.py INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'allauth', 'allauth.account', 'djcelery', 'rest_framework', '...
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.sites', 'django.contrib.staticfiles', 'allauth', 'allauth.account', 'djcelery', 'rest_framework', 'takeyourmeds.api', 'takeyour...
<|file_sep|>original/takeyourmeds/settings/defaults/apps.py INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'allauth', 'allauth.account', 'djcelery', 'rest_framework', '...
854709e1c2f5351c8e7af49e238fe54632f23ff5
takeyourmeds/settings/defaults/apps.py
takeyourmeds/settings/defaults/apps.py
Python
<|file_sep|>src/app/App/index.js.diff original: const domain = e.target.value.trim() updated: const domain = e.target.value.trim() || DEFAULT_DOMAIN <|file_sep|>original/src/app/App/index.js const DEBOUNCE_MS = 500 const DEFAULT_DOMAIN = 'https://stripe.com' export default class extends Component { state = {...
const DEBOUNCE_MS = 500 const DEFAULT_DOMAIN = 'https://stripe.com' export default class extends Component { state = { domain: DEFAULT_DOMAIN } onChange = e => { const domain = e.target.value.trim() || DEFAULT_DOMAIN clearTimeout(this.debouncedSetState) this.debouncedSetState = setTimeout( () =>...
<|file_sep|>src/app/App/index.js.diff original: const domain = e.target.value.trim() updated: const domain = e.target.value.trim() || DEFAULT_DOMAIN <|file_sep|>original/src/app/App/index.js const DEBOUNCE_MS = 500 const DEFAULT_DOMAIN = 'https://stripe.com' export default class extends Component { state = {...
6179b0bdc8048af7c0c15336e503a675dbf197d7
src/app/App/index.js
src/app/App/index.js
JavaScript
<|file_sep|>original/scripts/travis/install-and-run-mongodb.sh #!/usr/bin/env bash # Script which installs versions of MongoDB specified using an environment variable # Note: MongoDB 2.4 and 2.6 don't work with ramdisk since they don't work with # small files and require at least 3 GB of space if [ ${MONGODB} = '2.4....
#!/usr/bin/env bash # Script which installs versions of MongoDB specified using an environment variable if [ ! "${MONGODB}" ]; then echo "MONGODB environment variable not set" exit 2 fi # Note: MongoDB 2.4 and 2.6 don't work with ramdisk since they don't work with # small files and require at least 3 GB of s...
<|file_sep|>original/scripts/travis/install-and-run-mongodb.sh #!/usr/bin/env bash # Script which installs versions of MongoDB specified using an environment variable # Note: MongoDB 2.4 and 2.6 don't work with ramdisk since they don't work with # small files and require at least 3 GB of space if [ ${MONGODB} = '2.4....
c616da867e2f7d143ab6df9708013d464b70a2ee
scripts/travis/install-and-run-mongodb.sh
scripts/travis/install-and-run-mongodb.sh
Shell
<|file_sep|>src/components/Star.js.diff original: const Star = ({ colored, ...props }) => ( updated: const Star = ({ colored, fillColor, strokeColor, width = 14, height = 14, ...props }) => ( <|file_sep|>src/components/Star.js.diff original: { colored ? <FaStar /> : <FaStarO /> } updated: { colored ? <Fa...
import PropTypes from 'prop-types'; import FaStar from 'react-icons/fa/star'; import FaStarO from 'react-icons/fa/star-o'; const Star = ({ colored, fillColor, strokeColor, width = 14, height = 14, ...props }) => ( <div {...props}> { colored ? <FaStar style={ fillColor ? { color: fillColor, width, height...
<|file_sep|>src/components/Star.js.diff original: const Star = ({ colored, ...props }) => ( updated: const Star = ({ colored, fillColor, strokeColor, width = 14, height = 14, ...props }) => ( <|file_sep|>src/components/Star.js.diff original: { colored ? <FaStar /> : <FaStarO /> } updated: { colored ? <Fa...
3fbb2a32da8aacec98b52033736a3a38d18a6006
src/components/Star.js
src/components/Star.js
JavaScript
<|file_sep|>original/extensions/roc-plugin-dredd/src/actions/dredd.js import { initLog } from 'roc'; import Dredd from 'dredd'; const log = initLog(); export default ({ context: { config: { settings } } }) => () => { const port = process.env.PORT || settings.runtime.port; const dredd = new Dredd({ se...
import { initLog } from 'roc'; import Dredd from 'dredd'; const { name, version } = require('../../package.json'); const log = initLog(name, version); export default ({ context: { config: { settings } } }) => () => { const port = process.env.PORT || settings.runtime.port; const dredd = new Dredd({ s...
<|file_sep|>original/extensions/roc-plugin-dredd/src/actions/dredd.js import { initLog } from 'roc'; import Dredd from 'dredd'; const log = initLog(); export default ({ context: { config: { settings } } }) => () => { const port = process.env.PORT || settings.runtime.port; const dredd = new Dredd({ se...
0b76375e1ebc40067e9fe1afacf5cf499d903c8a
extensions/roc-plugin-dredd/src/actions/dredd.js
extensions/roc-plugin-dredd/src/actions/dredd.js
JavaScript
<|file_sep|>original/docs/requirements.txt sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e . <|file_sep|>current/docs/requirements.txt sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e . <|file_sep|>updated/docs/requirements.txt
sphinx==1.7.1 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e .
<|file_sep|>original/docs/requirements.txt sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e . <|file_sep|>current/docs/requirements.txt sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e . <|file_sep|>updated/docs/requirements.txt sphinx==1.7.1 sphinx-rtd-theme==0.2.4 Django==2.0.2 -e .
d395bb11fe4fcebf3b332ad0d87fd710f2a88ee2
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml.diff original: Do not discard errors using _ variables. If a function returns an error, check it to make sure the function succeeded. Handle the error, return it, or, in truly exceptional situations, p...
codelingo/docs: title: Do Not Ignore Errors body: | Do not ignore errors. If a function returns an error, check it to make sure the function succeeded. Handle the error, return it, or, in truly exceptional situations, panic. codelingo/review: comment: | Do not dis...
<|file_sep|>tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml.diff original: Do not discard errors using _ variables. If a function returns an error, check it to make sure the function succeeded. Handle the error, return it, or, in truly exceptional situations, p...
3f6e8b5b1c2415b2ddc21fa431d04cf4b20bf627
tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml
tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml
YAML
<|file_sep|>circle.yml.diff original: updated: - pip install -r requirements.txt <|file_sep|>original/circle.yml dependencies: override: - python setup.py install - pip install -r requirements.txt test: override: - mv pymatgen pmg - nosetests <|file_sep|>current/circle.yml dependencies: overr...
dependencies: override: - pip install -r requirements.txt - python setup.py install test: override: - mv pymatgen pmg - nosetests
<|file_sep|>circle.yml.diff original: updated: - pip install -r requirements.txt <|file_sep|>original/circle.yml dependencies: override: - python setup.py install - pip install -r requirements.txt test: override: - mv pymatgen pmg - nosetests <|file_sep|>current/circle.yml dependencies: overr...
86b4c69e2a6d3fd12bb078469967106ed2d137c3
circle.yml
circle.yml
YAML
<|file_sep|>views/link/_linkItem.php.diff original: updated: <?= Html::a('<span class="glyphicon glyphicon-arrow-up"></span>', ['up', 'id' => $model->id,], ['title' => 'Up']) ?> <?= Html::a('<span class="glyphicon glyphicon-arrow-down"></span>', ['down', 'id' => $model->id,], ['title' => 'Down']) ?> <|...
<div> <div> <?= ($index + 1) ?>: <?= Html::a('<span class="glyphicon glyphicon-arrow-up"></span>', ['up', 'id' => $model->id,], ['title' => 'Up']) ?> <?= Html::a('<span class="glyphicon glyphicon-arrow-down"></span>', ['down', 'id' => $model->id,], ['title' => 'Down']) ?> [<?= Html::...
<|file_sep|>views/link/_linkItem.php.diff original: updated: <?= Html::a('<span class="glyphicon glyphicon-arrow-up"></span>', ['up', 'id' => $model->id,], ['title' => 'Up']) ?> <?= Html::a('<span class="glyphicon glyphicon-arrow-down"></span>', ['down', 'id' => $model->id,], ['title' => 'Down']) ?> <|...
5aaacf9e3313f63cd3ed9adc1710d03930ceb64e
views/link/_linkItem.php
views/link/_linkItem.php
PHP
<|file_sep|>.travis.yml.diff original: updated: - 1.6 <|file_sep|>.travis.yml.diff original: - tip updated: <|file_sep|>original/.travis.yml language: go go: - 1.7 - tip sudo: false env: - GO15VENDOREXPERIMENT=1 install: - curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.2/glide...
language: go go: - 1.6 - 1.7 sudo: false install: - curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.2/glide-v0.12.2-linux-amd64.tar.gz | tar zxC ./ - ./linux-amd64/glide install script: - go test
<|file_sep|>.travis.yml.diff original: updated: - 1.6 <|file_sep|>.travis.yml.diff original: - tip updated: <|file_sep|>original/.travis.yml language: go go: - 1.7 - tip sudo: false env: - GO15VENDOREXPERIMENT=1 install: - curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.2/glide...
fc2f03da937c81ed09edd03ebb0b143d37625f48
.travis.yml
.travis.yml
YAML
<|file_sep|>original/analysis/11-compress-jacobians.py <|file_sep|>current/analysis/11-compress-jacobians.py <|file_sep|>updated/analysis/11-compress-jacobians.py
import climate import logging import numpy as np import os from sklearn.decomposition import PCA def compress(source, k='mle', key='jac'): filenames = sorted(fn for fn in os.listdir(source) if key in fn and fn.endswith('.npy')) logging.info('%s: found %d jacobians matching %s', ...
<|file_sep|>original/analysis/11-compress-jacobians.py <|file_sep|>current/analysis/11-compress-jacobians.py <|file_sep|>updated/analysis/11-compress-jacobians.py import climate import logging import numpy as np import os from sklearn.decomposition import PCA def compress(source, k='mle', key='jac'): filenames...
953bc05e048cb7e00db540254103ec86664ad1d6
analysis/11-compress-jacobians.py
analysis/11-compress-jacobians.py
Python
<|file_sep|>setup.py.diff original: from pip.req import parse_requirements updated: <|file_sep|>setup.py.diff original: install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] updated: <|file_sep|>original/setup.py install_reqs = parse_requirements('requirements....
os.system("python setup.py sdist bdist_wheel upload; git push") sys.exit() setup(name="tooldog", version=__version__, description='Tool description generator (from https//bio.tools to XML and CWL)', author='Kenzo-Hugo Hillion and Herve Menager', author_email='kehillio@pasteur.fr...
<|file_sep|>setup.py.diff original: from pip.req import parse_requirements updated: <|file_sep|>setup.py.diff original: install_reqs = parse_requirements('requirements.txt', session='') reqs = [str(ir.req) for ir in install_reqs] updated: <|file_sep|>original/setup.py install_reqs = parse_requirements('requirements....
0a047eabb06afcf870e6fa160b808816454a85d7
setup.py
setup.py
Python
<|file_sep|>original/templates/partials/bloglist_item.html.twig <|file_sep|>current/templates/partials/bloglist_item.html.twig <|file_sep|>updated/templates/partials/bloglist_item.html.twig
{% set header_image = article.media.images|first %} <article class="blog__post"> <a href="{{ article.url }}" class="blog__post-link"> <h3>{{ article.title }}</h3> <p class="blog__post-meta">{{ article.date|date('d, F Y') }}</p> {% if header_image %} <figure><img src="{{ header_image....
<|file_sep|>original/templates/partials/bloglist_item.html.twig <|file_sep|>current/templates/partials/bloglist_item.html.twig <|file_sep|>updated/templates/partials/bloglist_item.html.twig {% set header_image = article.media.images|first %} <article class="blog__post"> <a href="{{ article.url }}" class="blog__po...
737c86676a49463a64a623fa890df90ce48524b6
templates/partials/bloglist_item.html.twig
templates/partials/bloglist_item.html.twig
Twig
<|file_sep|>original/src/validation/rules/ArgumentsOfCorrectType.js export function ArgumentsOfCorrectType(context: ValidationContext): any { return { Argument(argAST) { var argDef = context.getArgument(); if (argDef) { var errors = isValidLiteralValue(argDef.type, argAST.value); } ...
export function ArgumentsOfCorrectType(context: ValidationContext): any { return { Argument(argAST) { var argDef = context.getArgument(); if (argDef) { var errors = isValidLiteralValue(argDef.type, argAST.value); if (errors.length) { return new GraphQLError( badVa...
<|file_sep|>original/src/validation/rules/ArgumentsOfCorrectType.js export function ArgumentsOfCorrectType(context: ValidationContext): any { return { Argument(argAST) { var argDef = context.getArgument(); if (argDef) { var errors = isValidLiteralValue(argDef.type, argAST.value); } ...
ab13f32c1c42d72982ee78bb0d51111cca664044
src/validation/rules/ArgumentsOfCorrectType.js
src/validation/rules/ArgumentsOfCorrectType.js
JavaScript
<|file_sep|>original/rhoci/templates/main/overall_status_pie_chart.html 'rgba(75, 192, 192, 0.5)', ], borderColor: [ 'rgba(255,99,132,1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', ], borderWidth: 1 ...
options: { scales: { yAxes: [{ ticks: { beginAtZero:true } }] } } }); document.getElementById("overall_status_chart").onclick = function(evt) { var activePoints = myChart.getElementsAtEvent(evt); if(activePoints.len...
<|file_sep|>original/rhoci/templates/main/overall_status_pie_chart.html 'rgba(75, 192, 192, 0.5)', ], borderColor: [ 'rgba(255,99,132,1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', ], borderWidth: 1 ...
b0666dce65750c663e7dae901394637f32b2dd66
rhoci/templates/main/overall_status_pie_chart.html
rhoci/templates/main/overall_status_pie_chart.html
HTML
<|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.io.FileFilter; updated: <|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.nio.file.CopyOption; updated: <|file_sep|>ubotpatcher/src/main/jav...
getLogger().info("No jar files found!"); getServer().getPluginManager().disablePlugin(this); return; } getLogger().info(jars.length + " jar files found!"); for (File f : jars) { getLogger().info("Moving " + f.getName() + "..."); File ...
<|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.io.FileFilter; updated: <|file_sep|>ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java.diff original: import java.nio.file.CopyOption; updated: <|file_sep|>ubotpatcher/src/main/jav...
30f7b8bbd7bad94718d516d28d8ae358fa932e9a
ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java
ubotpatcher/src/main/java/me/eddiep/minecraft/ubotpatcher/UbotPatcher.java
Java
<|file_sep|>original/haxelib.json { "name": "ufront-mvc", "license": "MIT", "classPath": "src", "tags": ["ufront","web","framework","mvc","neko","php"], "description": "MVC Framework that is at the core of ufront.", "contributors": ["fponticelli","jason"], "releasenote": "Small fix for FileSession on wind...
{ "name": "ufront-mvc", "license": "MIT", "classPath": "src", "tags": ["ufront","web","framework","mvc","neko","php"], "description": "MVC Framework that is at the core of ufront.", "contributors": ["fponticelli","jason"], "releasenote": "Small fix for FileSession on windows, and other minor improvements....
<|file_sep|>original/haxelib.json { "name": "ufront-mvc", "license": "MIT", "classPath": "src", "tags": ["ufront","web","framework","mvc","neko","php"], "description": "MVC Framework that is at the core of ufront.", "contributors": ["fponticelli","jason"], "releasenote": "Small fix for FileSession on wind...
8ba8b080c333a68f87aa4ced5b14768e4077acc8
haxelib.json
haxelib.json
JSON
<|file_sep|>original/src/main/java/org/apache/poi/PptPoiBridge.java <|file_sep|>current/src/main/java/org/apache/poi/PptPoiBridge.java <|file_sep|>updated/src/main/java/org/apache/poi/PptPoiBridge.java
package org.apache.poi; /** * This is an internal class, it should not be considered as a public API: * this class will be deleted without any warning. */ @Deprecated public class PptPoiBridge { public static void removeRelation(POIXMLDocumentPart parent, POIXMLDocumentPart child) { parent.removeRelation(child)...
<|file_sep|>original/src/main/java/org/apache/poi/PptPoiBridge.java <|file_sep|>current/src/main/java/org/apache/poi/PptPoiBridge.java <|file_sep|>updated/src/main/java/org/apache/poi/PptPoiBridge.java package org.apache.poi; /** * This is an internal class, it should not be considered as a public API: * this clas...
742a080094a66f0767c421e1538c300203e14913
src/main/java/org/apache/poi/PptPoiBridge.java
src/main/java/org/apache/poi/PptPoiBridge.java
Java
<|file_sep|>JavaScript/examples/02-wire-branch.txt.diff original: ******** updated: * ******** <|file_sep|>JavaScript/examples/02-wire-branch.txt.diff original: * ******** updated: ...
* * * ******** * ******* * * * ******** * ***** * * * ******** * * ******* ...
<|file_sep|>JavaScript/examples/02-wire-branch.txt.diff original: ******** updated: * ******** <|file_sep|>JavaScript/examples/02-wire-branch.txt.diff original: * ******** updated: ...
e66f8bf4efa70979c0de558afb64788b59ac019d
JavaScript/examples/02-wire-branch.txt
JavaScript/examples/02-wire-branch.txt
Text
<|file_sep|>original/index.html <div class="pure-menu pure-menu-horizontal pure-menu-fixed"> <a class="pure-menu-heading" href="https://tehcookies.github.io/devsalaries"> DS </a> <h1 class="menu-title"> How Much Developers Earn? </h1> </div> </header> <div class="con...
DS </a> <h1 class="menu-title"> How Much Developers Earn? </h1> </div> </header> <div class="content-wrapper"> <div class="content"> </div> </div> <footer> Made with love by <a href="http://www.tehcookies.com">TehCookies</a> for <a href="https://ne...
<|file_sep|>original/index.html <div class="pure-menu pure-menu-horizontal pure-menu-fixed"> <a class="pure-menu-heading" href="https://tehcookies.github.io/devsalaries"> DS </a> <h1 class="menu-title"> How Much Developers Earn? </h1> </div> </header> <div class="con...
9d87978e33744f446564112c71e64cbc2e41e176
index.html
index.html
HTML
<|file_sep|>original/data/items-schema.edn [ {:db/id #db/id[:db.part/db] :db/ident :item/name :db/valueType :db.type/string :db/cardinality :db.cardinality/one :db/doc "An item name" :db/fulltext true :db.install/_attribute :db.part/db} ] <|file_sep|>current/data/items-schema.edn [ {:db/id #db/id[:db.part...
[ {:db/id #db/id[:db.part/db] :db/ident :items :db.install/_partition :db.part/db} {:db/id #db/id[:db.part/db] :db/ident :item/name :db/valueType :db.type/string :db/cardinality :db.cardinality/one :db/doc "An item name" :db/fulltext true :db.install/_attribute :db.part/db} ]
<|file_sep|>original/data/items-schema.edn [ {:db/id #db/id[:db.part/db] :db/ident :item/name :db/valueType :db.type/string :db/cardinality :db.cardinality/one :db/doc "An item name" :db/fulltext true :db.install/_attribute :db.part/db} ] <|file_sep|>current/data/items-schema.edn [ {:db/id #db/id[:db.part...
42d0c5f3fe6509cee0020ee804c9620a988225c4
data/items-schema.edn
data/items-schema.edn
edn
<|file_sep|>original/lib/twilio-ruby/rest/accounts.rb module Twilio module REST class Accounts < ListResource; end class Account < InstanceResource def initialize(path, client, params={}) super path, client, params resource :sandbox, :available_phone_numbers, :incoming_phone_numbers, ...
module Twilio module REST class Accounts < ListResource; end class Account < InstanceResource def initialize(path, client, params={}) super path, client, params resource :sandbox, :available_phone_numbers, :incoming_phone_numbers, :calls, :outgoing_caller_ids, :conferences, :s...
<|file_sep|>original/lib/twilio-ruby/rest/accounts.rb module Twilio module REST class Accounts < ListResource; end class Account < InstanceResource def initialize(path, client, params={}) super path, client, params resource :sandbox, :available_phone_numbers, :incoming_phone_numbers, ...
2a7140363cd7f8d4c9fb7c8b4f1aff8fcd2e2391
lib/twilio-ruby/rest/accounts.rb
lib/twilio-ruby/rest/accounts.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes ...
python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda ...
<|file_sep|>original/.travis.yml language: python python: 2.7 os: - linux before_install: - curl http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -o miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes ...
e55395bc74725be3be5328f80304b918bd02d997
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/badness.c <|file_sep|>current/examples/badness.c <|file_sep|>updated/examples/badness.c
#include "rmc.h" extern int coin(void); // A test that should be really bad because exponents. // Only takes like a minute or so! void welp(int *p, int *q) { VEDGE(a, b); L(a, *p = 1); if (coin()){} if (coin()){} if (coin()){} if (coin()){} // 4 if (coin()){} if (coin()){} if...
<|file_sep|>original/examples/badness.c <|file_sep|>current/examples/badness.c <|file_sep|>updated/examples/badness.c #include "rmc.h" extern int coin(void); // A test that should be really bad because exponents. // Only takes like a minute or so! void welp(int *p, int *q) { VEDGE(a, b); L(a, *p = 1); ...
4daf51b49667359b113d43fa859967cfe63858de
examples/badness.c
examples/badness.c
C
<|file_sep|>original/metadata/damo.three.ie.txt . Repo Type:git #Repo:https://github.com/DamienOReilly/My3Usage.git Repo:https://github.com/DamienOReilly/PrepayCredit.git Build:0.8,8 commit=ab4f06d899 subdir=My3Android maven=yes Build:0.9,9 commit=v0.9 subdir=PrepayCreditAndroid maven=yes Au...
. Repo Type:git #Repo:https://github.com/DamienOReilly/My3Usage.git Repo:https://github.com/DamienOReilly/PrepayCredit.git Build:0.8,8 commit=ab4f06d899 subdir=My3Android maven=yes Build:0.9,9 commit=v0.9 subdir=PrepayCreditAndroid maven=yes Auto Update Mode:None Update Check Mode:Tags Curre...
<|file_sep|>original/metadata/damo.three.ie.txt . Repo Type:git #Repo:https://github.com/DamienOReilly/My3Usage.git Repo:https://github.com/DamienOReilly/PrepayCredit.git Build:0.8,8 commit=ab4f06d899 subdir=My3Android maven=yes Build:0.9,9 commit=v0.9 subdir=PrepayCreditAndroid maven=yes Au...
ba9c3b2826ea6660a58093ceb33afcca6f194bc2
metadata/damo.three.ie.txt
metadata/damo.three.ie.txt
Text
<|file_sep|>original/persephone/builds/templates/page.html <li class="{% if request.path == url %}active{% endif %}"> <a href="{{ url }}"> Settings </a> </li> {% url 'admin:index' as url %} <...
Settings </a> </li> {% url 'admin:index' as url %} <li class="{% if request.path == url %}active{% endif %}"> <a href="{{ url }}"> Admin </a> </li>...
<|file_sep|>original/persephone/builds/templates/page.html <li class="{% if request.path == url %}active{% endif %}"> <a href="{{ url }}"> Settings </a> </li> {% url 'admin:index' as url %} <...
1abdea094bd348eab506fbb46cf3a1fe42c172be
persephone/builds/templates/page.html
persephone/builds/templates/page.html
HTML
<|file_sep|>original/README.md First, require the library: ```javascript var TinyCertSession = require('node-tinycert'); ``` Then, connect to your account via email, passphrase and API key: ```javascript var tc = new TinyCertSession(apiKey); tc.connect(account, passphrase, function(err) { if (err) { console...
## library usage First, require the library: ```javascript var TinyCertSession = require('node-tinycert'); ``` Then, connect to your account via email, passphrase and API key: ```javascript var tc = new TinyCertSession(apiKey); tc.connect(account, passphrase, function(err) { if (err) { console.log(err); ...
<|file_sep|>original/README.md First, require the library: ```javascript var TinyCertSession = require('node-tinycert'); ``` Then, connect to your account via email, passphrase and API key: ```javascript var tc = new TinyCertSession(apiKey); tc.connect(account, passphrase, function(err) { if (err) { console...
5923c55e02c2e0cab687525d1ba4f2f7461b7aa9
README.md
README.md
Markdown
<|file_sep|>money.gemspec.diff original: s.version = "2.1.3" updated: s.version = "2.1.4" <|file_sep|>original/money.gemspec s.version = "2.1.3" s.summary = "Money and currency exchange support library" s.email = "hongli@phusion.nl" s.homepage = "http://money.rubyforge.org/" s.description = "Money and cur...
s.summary = "Money and currency exchange support library" s.email = "hongli@phusion.nl" s.homepage = "http://money.rubyforge.org/" s.description = "Money and currency exchange support library." s.has_rdoc = true s.rubyforge_project = "money" s.authors = ["Tobias Luetke", "Hongli Lai", "Jeremy McNevin"] ...
<|file_sep|>money.gemspec.diff original: s.version = "2.1.3" updated: s.version = "2.1.4" <|file_sep|>original/money.gemspec s.version = "2.1.3" s.summary = "Money and currency exchange support library" s.email = "hongli@phusion.nl" s.homepage = "http://money.rubyforge.org/" s.description = "Money and cur...
fa0733f65f89086c7c56a7fc1ece0f6e27f7106a
money.gemspec
money.gemspec
Ruby
<|file_sep|>original/composer.json "issues": "https://github.com/matthijsvandenbos/php-spider/issues", "source": "https://github.com/matthijsvandenbos/php-spider" }, "require": { "php": ">=5.3.0", "ext-curl": "*", "guzzle/guzzle": ">=3.0, <3.4", "symfony/css-selec...
"issues": "https://github.com/matthijsvandenbos/php-spider/issues", "source": "https://github.com/matthijsvandenbos/php-spider" }, "require": { "php": ">=5.3.0", "ext-curl": "*", "guzzle/guzzle": ">=3.0, <3.4", "symfony/css-selector": "~2.1", "symfony/dom-...
<|file_sep|>original/composer.json "issues": "https://github.com/matthijsvandenbos/php-spider/issues", "source": "https://github.com/matthijsvandenbos/php-spider" }, "require": { "php": ">=5.3.0", "ext-curl": "*", "guzzle/guzzle": ">=3.0, <3.4", "symfony/css-selec...
621a16e7e48a2e62d3d1b494c6f2deb3787860ad
composer.json
composer.json
JSON
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = py27 [testenv] commands = noset...
# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = py27 [testenv] commands = nosetests -x -v --with-coverage --...
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = py27 [testenv] commands = noset...
a21281419421633413e72f19196ee2d1d70e44bd
tox.ini
tox.ini
INI
<|file_sep|>original/doc/config-reference/source/block-storage/drivers/lvm-volume-driver.rst The default volume back end uses local volumes managed by LVM. This driver supports different transport protocols to attach volumes, currently iSCSI and iSER. Set the following in your ``cinder.conf`` configuration file, and ...
iscsi_protocol = iscsi Use the following options to configure for the iSER transport: .. code-block:: ini volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver iscsi_protocol = iser .. include:: ../../tables/cinder-lvm.rst .. caution:: When extending an existing volume which has a linked snapshot...
<|file_sep|>original/doc/config-reference/source/block-storage/drivers/lvm-volume-driver.rst The default volume back end uses local volumes managed by LVM. This driver supports different transport protocols to attach volumes, currently iSCSI and iSER. Set the following in your ``cinder.conf`` configuration file, and ...
32772164eaa956bbcd8c4edf7db668a791e48749
doc/config-reference/source/block-storage/drivers/lvm-volume-driver.rst
doc/config-reference/source/block-storage/drivers/lvm-volume-driver.rst
reStructuredText
<|file_sep|>original/requirements_dev.txt # deploy stuff pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 cryptography==2.2.2 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt # deploy stuff pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 cryptography==2.2.2 PyYAML==3.12 <|file_sep|>updated/requirements_dev.txt
# deploy stuff pip==9.0.3 bumpversion==0.5.3 wheel==0.31.0 cryptography==2.2.2 PyYAML==3.12
<|file_sep|>original/requirements_dev.txt # deploy stuff pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 cryptography==2.2.2 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt # deploy stuff pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 cryptography==2.2.2 PyYAML==3.12 <|file_sep|>updated/requirements_dev.txt # deploy stu...
180048fb740e9f59a19f392f1db181a71d4def1a
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/scripts/bitmaps/originals/DeveloperBmp.txt This copy of Chrome OS is untrusted. Press SPACE to begin recovery. http://google.com/chromeos/recovery $URL <|file_sep|>current/scripts/bitmaps/originals/DeveloperBmp.txt This copy of Chrome OS is untrusted. Press SPACE to begin recovery...
This copy of Chrome OS is unverified. Press SPACE to begin recovery. http://google.com/chromeos/recovery $URL
<|file_sep|>original/scripts/bitmaps/originals/DeveloperBmp.txt This copy of Chrome OS is untrusted. Press SPACE to begin recovery. http://google.com/chromeos/recovery $URL <|file_sep|>current/scripts/bitmaps/originals/DeveloperBmp.txt This copy of Chrome OS is untrusted. Press SPACE to begin recovery...
a31803a23753936c8f7fafeab53006b386d5e895
scripts/bitmaps/originals/DeveloperBmp.txt
scripts/bitmaps/originals/DeveloperBmp.txt
Text
<|file_sep|>original/requirements.txt requests==2.21.0 patool==1.12 # configs pyyaml>=4.2b1 # Logs daiquiri==1.5.0 # Tests pytest==4.2.1 pytest-cov==2.6.1 codecov==2.0.15 python-coveralls==2.9.1 coveralls==1.5.1 mock==2.0.0 # Find media name guessit==3.0.3 # Emails <|file_sep|>current/requirements.txt requests==2....
requests==2.21.0 patool==1.12 # configs pyyaml>=4.2b1 # Logs daiquiri==1.5.0 # Tests pytest==4.3.0 pytest-cov==2.6.1 codecov==2.0.15 python-coveralls==2.9.1 coveralls==1.5.1 mock==2.0.0 # Find media name guessit==3.0.3 # Emails
<|file_sep|>original/requirements.txt requests==2.21.0 patool==1.12 # configs pyyaml>=4.2b1 # Logs daiquiri==1.5.0 # Tests pytest==4.2.1 pytest-cov==2.6.1 codecov==2.0.15 python-coveralls==2.9.1 coveralls==1.5.1 mock==2.0.0 # Find media name guessit==3.0.3 # Emails <|file_sep|>current/requirements.txt requests==2....
1e2eb7e162d473ba98fc15e2a61343c4a6084df7
requirements.txt
requirements.txt
Text
<|file_sep|>original/openjdk-demo/snapcraft.yaml name: openjdk-demo version: "1.0" summary: OpenJDK Swing Example Applications description: OpenJDK Swing Example Applications confinement: strict apps: FileChooser: command: bin/FileChooserDemo.sh plugs: [unity7, network, home] parts: openjdk-demo: plug...
name: openjdk-demo version: "1.0" summary: OpenJDK Swing Example Applications description: OpenJDK Swing Example Applications confinement: strict apps: FileChooser: command: bin/FileChooserDemo.sh plugs: [unity7, network, home] parts: openjdk-demo: plugin: copy files: FileChooserDemo.sh: bin...
<|file_sep|>original/openjdk-demo/snapcraft.yaml name: openjdk-demo version: "1.0" summary: OpenJDK Swing Example Applications description: OpenJDK Swing Example Applications confinement: strict apps: FileChooser: command: bin/FileChooserDemo.sh plugs: [unity7, network, home] parts: openjdk-demo: plug...
3a87c3babf8fca2aab9efbfb9585df8c92bb68e2
openjdk-demo/snapcraft.yaml
openjdk-demo/snapcraft.yaml
YAML
<|file_sep|>original/hist/histdraw/CMakeLists.txt ############################################################################ if(NOT root7) return() endif() ROOT_STANDARD_LIBRARY_PACKAGE(ROOTHistDraw HEADERS ROOT/RHistDrawable.hxx ROOT/RHistDrawingOpts.hxx SOURCES v7/src/RHistDrawable.cxx DICTION...
if(NOT root7) return() endif() ROOT_STANDARD_LIBRARY_PACKAGE(ROOTHistDraw HEADERS ROOT/RHistDrawable.hxx ROOT/RHistDrawingOpts.hxx SOURCES v7/src/RHistDrawable.cxx DICTIONARY_OPTIONS -writeEmptyRootPCM DEPENDENCIES Core MathCore Hist ROOTGpadv7 ROOTGraphicsPrimitives ) RO...
<|file_sep|>original/hist/histdraw/CMakeLists.txt ############################################################################ if(NOT root7) return() endif() ROOT_STANDARD_LIBRARY_PACKAGE(ROOTHistDraw HEADERS ROOT/RHistDrawable.hxx ROOT/RHistDrawingOpts.hxx SOURCES v7/src/RHistDrawable.cxx DICTION...
96a3cb4882e09c69fbf7bebf94907254e81b5272
hist/histdraw/CMakeLists.txt
hist/histdraw/CMakeLists.txt
Text
<|file_sep|>original/src/main/java/org/twig/syntax/parser/node/type/Text.java import java.util.ArrayList; import java.util.HashMap; public class Text extends Node { public Text(ArrayList<Node> nodes, HashMap<String, Object> attributes, Integer line, String tag) { super(nodes, attributes, line, tag); }...
import java.util.ArrayList; import java.util.HashMap; public class Text extends Node { public Text(ArrayList<Node> nodes, HashMap<String, Object> attributes, Integer line, String tag) { super(nodes, attributes, line, tag); } public Text(Integer line) { super(line); } @Override ...
<|file_sep|>original/src/main/java/org/twig/syntax/parser/node/type/Text.java import java.util.ArrayList; import java.util.HashMap; public class Text extends Node { public Text(ArrayList<Node> nodes, HashMap<String, Object> attributes, Integer line, String tag) { super(nodes, attributes, line, tag); }...
eec36434c0d8748898eaddf2e6db22b8f40179c6
src/main/java/org/twig/syntax/parser/node/type/Text.java
src/main/java/org/twig/syntax/parser/node/type/Text.java
Java
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8.7) project(logger C) set(CMAKE_C_FLAGS "-Wall -std=c89") set(CMAKE_C_FLAGS_DEBUG "-g") ### Library set(source_files src/logger.c ) include_directories( ${PROJECT_SOURCE_DIR}/src ) # shared and static libraries add_library(${PROJECT_NAME} S...
### Library set(source_files src/logger.c ) include_directories( ${PROJECT_SOURCE_DIR}/src ) # shared and static libraries add_library(${PROJECT_NAME} SHARED ${source_files}) add_library(${PROJECT_NAME}_static STATIC ${source_files}) set_target_properties(${PROJECT_NAME}_static PROPERTIES OUTPUT_NAME ${PROJECT...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8.7) project(logger C) set(CMAKE_C_FLAGS "-Wall -std=c89") set(CMAKE_C_FLAGS_DEBUG "-g") ### Library set(source_files src/logger.c ) include_directories( ${PROJECT_SOURCE_DIR}/src ) # shared and static libraries add_library(${PROJECT_NAME} S...
18302ff6c9c06ad6aa7e497a9635c6278b568702
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/lib/finapps_core/rest/defaults.rb # frozen_string_literal: true require 'logger' module FinAppsCore module REST module Defaults API_VERSION = '4' # noinspection SpellCheckingInspection DEFAULTS = { host: 'https://api.finclear.io', timeout: 30, prox...
# frozen_string_literal: true require 'logger' module FinAppsCore module REST module Defaults API_VERSION = '4' # noinspection SpellCheckingInspection DEFAULTS = { host: 'https://api.allcleardecisioning.com', timeout: 30, proxy: nil, log_level: Logger::UNKNOWN ...
<|file_sep|>original/lib/finapps_core/rest/defaults.rb # frozen_string_literal: true require 'logger' module FinAppsCore module REST module Defaults API_VERSION = '4' # noinspection SpellCheckingInspection DEFAULTS = { host: 'https://api.finclear.io', timeout: 30, prox...
b85271fbc6fe0fc56f20d3074345351d44a17321
lib/finapps_core/rest/defaults.rb
lib/finapps_core/rest/defaults.rb
Ruby
<|file_sep|>.travis.yml.diff original: - ANSIBLE_VERSION="1.2.*" - ANSIBLE_VERSION="1.3.*" updated: - ANSIBLE_VERSION="1.2.*" SYMLINK="true" - ANSIBLE_VERSION="1.3.*" SYMLINK="true" <|file_sep|>original/.travis.yml env: - ANSIBLE_VERSION="1.2.*" - ANSIBLE_VERSION="1.3.*" - ANSIBLE_VERSION="1.4.*" - ANSI...
env: - ANSIBLE_VERSION="1.2.*" SYMLINK="true" - ANSIBLE_VERSION="1.3.*" SYMLINK="true" - ANSIBLE_VERSION="1.4.*" - ANSIBLE_VERSION="1.5.*" - ANSIBLE_VERSION="1.6.*" - ANSIBLE_VERSION="1.7.*" - ANSIBLE_VERSION="1.8.*" - ANSIBLE_VERSION="1.9.*" install: - if test "$SYMLINK" == "true" ; then ln -s . ansi...
<|file_sep|>.travis.yml.diff original: - ANSIBLE_VERSION="1.2.*" - ANSIBLE_VERSION="1.3.*" updated: - ANSIBLE_VERSION="1.2.*" SYMLINK="true" - ANSIBLE_VERSION="1.3.*" SYMLINK="true" <|file_sep|>original/.travis.yml env: - ANSIBLE_VERSION="1.2.*" - ANSIBLE_VERSION="1.3.*" - ANSIBLE_VERSION="1.4.*" - ANSI...
e9529d3a87bf8bead98174d22a3d056c9a059800
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Lilliput/DefaultConstructibleExtensions.swift import Foundation extension String: DefaultConstructible {} <|file_sep|>current/Lilliput/DefaultConstructibleExtensions.swift import Foundation extension String: DefaultConstructible {} <|file_sep|>updated/Lilliput/DefaultConstructibleExtensions.swift
import Foundation extension Array : DefaultConstructible {} extension AutoreleasingUnsafeMutablePointer : DefaultConstructible {} extension Bool : DefaultConstructible {} extension COpaquePointer : DefaultConstructible {} extension ContiguousArray : DefaultConstructible {} extension Dictionary : DefaultConstructible {...
<|file_sep|>original/Lilliput/DefaultConstructibleExtensions.swift import Foundation extension String: DefaultConstructible {} <|file_sep|>current/Lilliput/DefaultConstructibleExtensions.swift import Foundation extension String: DefaultConstructible {} <|file_sep|>updated/Lilliput/DefaultConstructibleExtensions.swift...
1476e9c0a9e20490666eb8eda4d0f4354a3fe11e
Lilliput/DefaultConstructibleExtensions.swift
Lilliput/DefaultConstructibleExtensions.swift
Swift
<|file_sep|>original/package.json "main": "src/BloodySimpleSQS.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "sqs", "queue", "promises", "simple", "amazon", "aws", "worker" ], "author": "Dimitrios C. Michalakos <dimitris@jmike.gr>", ...
"scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "sqs", "queue", "promises", "simple", "amazon", "aws", "worker" ], "author": "Dimitrios C. Michalakos <dimitris@jmike.gr>", "license": "MIT", "dependencies": { "bluebird": "~2.2.2", ...
<|file_sep|>original/package.json "main": "src/BloodySimpleSQS.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "sqs", "queue", "promises", "simple", "amazon", "aws", "worker" ], "author": "Dimitrios C. Michalakos <dimitris@jmike.gr>", ...
933092d3d1d899973765b612ae11f6234a2291f3
package.json
package.json
JSON