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/app/models/user.rb class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable end <|file_sep|>...
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :recoverable, :validatable end
<|file_sep|>original/app/models/user.rb class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable end <|file_sep|>...
0fc1b9f42d7048ad7d59c8941d20b8cb71f1de45
app/models/user.rb
app/models/user.rb
Ruby
<|file_sep|>original/README.md ```sass @import "responsive_active_admin" ``` Contributing ------------ 1) Fork 2) New Branch 3) Code 4) Open PR. As this library is only for style changes, please include screenshots (I'd rather not have to clone your repo) 5) Rejoice. Screenshots ----------- The following were ta...
```sass @import "responsive_active_admin" ``` Contributing ------------ 1. Fork 2. New Branch 3. Code 4. Open PR. As this library is only for style changes, please include screenshots (I'd rather not have to clone your repo) 5. Rejoice. Screenshots ----------- The following were taken on my Nexus 5, of the [Spar...
<|file_sep|>original/README.md ```sass @import "responsive_active_admin" ``` Contributing ------------ 1) Fork 2) New Branch 3) Code 4) Open PR. As this library is only for style changes, please include screenshots (I'd rather not have to clone your repo) 5) Rejoice. Screenshots ----------- The following were ta...
70c6a8413c6a76abcb02ac9c90a28d815b0571ac
README.md
README.md
Markdown
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.10.0.0-alpha5" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:u...
(defproject onyx-app/lein-template "0.10.0.0-SNAPSHOT" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:url "https://clojars.org/repo" ...
<|file_sep|>original/project.clj (defproject onyx-app/lein-template "0.10.0.0-alpha5" :description "Onyx Leiningen application template" :url "https://github.com/onyx-platform/onyx-template" :license {:name "MIT License" :url "http://choosealicense.com/licenses/mit/#"} :repositories {"snapshots" {:u...
b58125776d531845d4dfd63e1578c9d8e07fda44
project.clj
project.clj
Clojure
<|file_sep|>original/.travis.yml only: - master - develop env: - DB=mysql php: - 5.3 - 5.4 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev --prefer-source - mysql -e 'CREATE DATABASE IF NOT EXISTS `magento_travis`;' - bin/n98-magerun install -...
only: - master - develop env: - DB=mysql php: - 5.3 - 5.4 - 5.5 matrix: allow_failures: - php: 5.5 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev --prefer-source - mysql -e 'CREATE DATABASE IF NOT EXISTS `magento_travis`;' - bin/n98-...
<|file_sep|>original/.travis.yml only: - master - develop env: - DB=mysql php: - 5.3 - 5.4 before_script: - curl -s http://getcomposer.org/installer | php - php composer.phar install --dev --prefer-source - mysql -e 'CREATE DATABASE IF NOT EXISTS `magento_travis`;' - bin/n98-magerun install -...
26dfa6d15b3505ca0e3ec89eb2d3cf82b18c9df7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb DEPENDS = "libtool" S = "${WORKDIR}/git" # Use v1.1.3 with changes on top for building in OE SRCREV = "1c736c43eb71fbb5640d00efaf34a1edf1972c49" PV = "1.1.3+git${SRCPV}" SRC_URI = " \ git://github.com/smuellerDD/libkcapi.git \ " inherit autotool...
S = "${WORKDIR}/git" # Use v1.1.3 with changes on top for building in OE SRCREV = "1c736c43eb71fbb5640d00efaf34a1edf1972c49" PV = "1.1.3+git${SRCPV}" SRC_URI = " \ git://github.com/smuellerDD/libkcapi.git \ " inherit autotools PACKAGECONFIG ??= "" PACKAGECONFIG[testapp] = "--enable-kcapi-test,,," PACKAGECONFIG[ap...
<|file_sep|>original/meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb DEPENDS = "libtool" S = "${WORKDIR}/git" # Use v1.1.3 with changes on top for building in OE SRCREV = "1c736c43eb71fbb5640d00efaf34a1edf1972c49" PV = "1.1.3+git${SRCPV}" SRC_URI = " \ git://github.com/smuellerDD/libkcapi.git \ " inherit autotool...
7b6c088b87e4f22fbc8537276223dcae8284cf98
meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb
meta-oe/recipes-crypto/libkcapi/libkcapi_git.bb
BitBake
<|file_sep|>original/recipes/_user.rb end directory home_dir do owner user group group mode 0700 end directory "#{home_dir}/.ssh" do owner user group group mode 0700 end file "#{home_dir}/.ssh/authorized_keys" do owner user group group mode 0700 backup false content public_key end if public_key...
directory "#{home_dir}/.ssh" do owner user group group mode 0700 end authorized_keys_file = "#{home_dir}/.ssh/authorized_keys" if File.exist?(authorized_keys_file) ruby_block "Add Rolling Restart User's public key" do block do file = Chef::Util::FileEdit.new(authorized_keys_file) file.insert_l...
<|file_sep|>original/recipes/_user.rb end directory home_dir do owner user group group mode 0700 end directory "#{home_dir}/.ssh" do owner user group group mode 0700 end file "#{home_dir}/.ssh/authorized_keys" do owner user group group mode 0700 backup false content public_key end if public_key...
c3c9060322d8922ddd7ba4a43026c33d251c74f5
recipes/_user.rb
recipes/_user.rb
Ruby
<|file_sep|>original/underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this...
* * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this work for information regarding copyright ownership. */ package alluxio.underfs.cosn; import allux...
<|file_sep|>original/underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this...
a71a8badd7e7404daec7de325126d22a6192fd19
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
Java
<|file_sep|>original/.rubocop.yml Documentation: Enabled: false FormatString: Enabled: false StringLiterals: Enabled: false LineLength: Max: 120 MethodLength: Max: 15 SignalException: EnforcedStyle: only_raise Style/RaiseArgs: EnforcedStyle: exploded <|file_sep|>current/.rubocop.yml Documentation: ...
Documentation: Enabled: false FormatString: Enabled: false StringLiterals: Enabled: false LineLength: Max: 160 MethodLength: Max: 15 SignalException: EnforcedStyle: only_raise Style/RaiseArgs: EnforcedStyle: exploded
<|file_sep|>original/.rubocop.yml Documentation: Enabled: false FormatString: Enabled: false StringLiterals: Enabled: false LineLength: Max: 120 MethodLength: Max: 15 SignalException: EnforcedStyle: only_raise Style/RaiseArgs: EnforcedStyle: exploded <|file_sep|>current/.rubocop.yml Documentation: ...
7b3c62d3a43308e2d8ff3ccfdf00707934706ba5
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/.dependabot/config.yml default_assignees: - sue445 allowed_updates: - match: # Disable. Only top-level dependencies (and security patches for subdependencies) update_type: "all" automerged_updates: - match: dependency_type: "development"...
allowed_updates: - match: # Disable. Only top-level dependencies (and security patches for subdependencies) update_type: "all" automerged_updates: - match: dependency_type: "development" update_type: "all" - match: dependency_type: "production...
<|file_sep|>original/.dependabot/config.yml default_assignees: - sue445 allowed_updates: - match: # Disable. Only top-level dependencies (and security patches for subdependencies) update_type: "all" automerged_updates: - match: dependency_type: "development"...
0ae34628b58008aa39ef30b22ef229234a78ee59
.dependabot/config.yml
.dependabot/config.yml
YAML
<|file_sep|>original/package.json { "name": "dotenv-cli", "description": "A global executable to run applications with the ENV variables loaded by dotenv", "version": "1.1.1", "author": "caske33", "bin": { "dotenv": "./cli.js" }, "dependencies": { "cross-spawn": "^4.0.0", "dotenv": "^2.0.0", ...
{ "name": "dotenv-cli", "description": "A global executable to run applications with the ENV variables loaded by dotenv", "version": "1.1.1", "author": "caske33", "bin": { "dotenv": "./cli.js" }, "dependencies": { "cross-spawn": "^4.0.0", "dotenv": "^4.0.0", "minimist": "^1.1.3" }, "de...
<|file_sep|>original/package.json { "name": "dotenv-cli", "description": "A global executable to run applications with the ENV variables loaded by dotenv", "version": "1.1.1", "author": "caske33", "bin": { "dotenv": "./cli.js" }, "dependencies": { "cross-spawn": "^4.0.0", "dotenv": "^2.0.0", ...
f568a70e7b8a9a6c9a0fc47004ad22e4ebe89fbc
package.json
package.json
JSON
<|file_sep|>original/config.cfg admin_email="daniel@danimalweb.co.uk" wpuser="daniel" default_pages="About, Contact" default_theme_url="https://github.com/danimalweb/lambda-press/archive/master.zip" default_theme_name="Lambda Press" <|file_sep|>current/config.cfg admin_email="daniel@danimalweb.co.uk" wpuser="daniel" de...
admin_email="daniel@danimalweb.co.uk" wpuser="daniel" default_pages="About" default_theme_url="https://github.com/danimalweb/lambda-press/archive/master.zip" default_theme_name="Lambda Press"
<|file_sep|>original/config.cfg admin_email="daniel@danimalweb.co.uk" wpuser="daniel" default_pages="About, Contact" default_theme_url="https://github.com/danimalweb/lambda-press/archive/master.zip" default_theme_name="Lambda Press" <|file_sep|>current/config.cfg admin_email="daniel@danimalweb.co.uk" wpuser="daniel" de...
18341fca7dbd4f1057cf99b17eb762974dcf509e
config.cfg
config.cfg
INI
<|file_sep|>original/polling_stations/apps/data_collection/management/commands/import_shepway.py from data_collection.morph_importer import BaseMorphApiImporter class Command(BaseMorphApiImporter): srid = 4326 districts_srid = 4326 council_id = 'E07000112' elections = ['parl.2017-06-08'] scraper_...
from data_collection.morph_importer import BaseMorphApiImporter class Command(BaseMorphApiImporter): srid = 4326 districts_srid = 4326 council_id = 'E07000112' #elections = ['parl.2017-06-08'] scraper_name = 'wdiv-scrapers/DC-PollingStations-Shepway' geom_type = 'geojson' def district_re...
<|file_sep|>original/polling_stations/apps/data_collection/management/commands/import_shepway.py from data_collection.morph_importer import BaseMorphApiImporter class Command(BaseMorphApiImporter): srid = 4326 districts_srid = 4326 council_id = 'E07000112' elections = ['parl.2017-06-08'] scraper_...
ac02378dcc611fb2c3b8a98e7480e02f64ee716d
polling_stations/apps/data_collection/management/commands/import_shepway.py
polling_stations/apps/data_collection/management/commands/import_shepway.py
Python
<|file_sep|>original/README.md ----- ```sh # Show markdown equivalent of help text. some-program --help | help2md # Output a new readme, with newly generated help between # `<!-- BEGIN USAGE -->` and `<!-- END USAGE -->` tags. some-program --help | help2md-tags README.md # Modify readme in place with new help betwee...
```sh # Show markdown equivalent of help text. some-program --help | help2md # Output a new readme, with newly generated help between # `<!-- BEGIN USAGE -->` and `<!-- END USAGE -->` tags. some-program --help | help2md-tags README.md # Modify readme in place with new help between tags (like above). some-program --he...
<|file_sep|>original/README.md ----- ```sh # Show markdown equivalent of help text. some-program --help | help2md # Output a new readme, with newly generated help between # `<!-- BEGIN USAGE -->` and `<!-- END USAGE -->` tags. some-program --help | help2md-tags README.md # Modify readme in place with new help betwee...
2ede88afff726d9e27620f9b91949f47bf30794b
README.md
README.md
Markdown
<|file_sep|>lib/reporter-proxy.js.diff original: this.reporter.addTiming(this.eventType, timingsEvent[0], timingsEvent[1]) updated: this.reporter.addTiming(this.eventType, timingsEvent.duration, timingsEvent.metadata) <|file_sep|>original/lib/reporter-proxy.js unsetReporter () { delete this.reporter ...
unsetReporter () { delete this.reporter } sendSearchEvent (duration, numResults) { const metadata = { ec: 'time-to-search', ev: numResults } this._addTiming(duration, metadata) } _addTiming (duration, metadata) { if (this.reporter) { this.reporter.addTiming(this.ev...
<|file_sep|>lib/reporter-proxy.js.diff original: this.reporter.addTiming(this.eventType, timingsEvent[0], timingsEvent[1]) updated: this.reporter.addTiming(this.eventType, timingsEvent.duration, timingsEvent.metadata) <|file_sep|>original/lib/reporter-proxy.js unsetReporter () { delete this.reporter ...
c73bb043a8abdce6429ccf4b60be930e58af4113
lib/reporter-proxy.js
lib/reporter-proxy.js
JavaScript
<|file_sep|>original/README.md DTiled Allegro Example === This is an example of using the [D Bindings](https://github.com/SiegeLord/DAllegro5) of [Allegro5](http://sourceforge.net/p/alleg/allegro/ci/5.1/tree/) to render a [Tiled](mapeditor.org) map using [dtiled](https://github.com/rcorre/dtiled). <|file_sep|>curren...
DTiled Allegro Example === This is an example of using the [D Bindings](https://github.com/SiegeLord/DAllegro5) of [Allegro5](http://sourceforge.net/p/alleg/allegro/ci/5.1/tree/) to render a [Tiled](mapeditor.org) map using [dtiled](https://github.com/rcorre/dtiled). The tile sheets used in this example are taken f...
<|file_sep|>original/README.md DTiled Allegro Example === This is an example of using the [D Bindings](https://github.com/SiegeLord/DAllegro5) of [Allegro5](http://sourceforge.net/p/alleg/allegro/ci/5.1/tree/) to render a [Tiled](mapeditor.org) map using [dtiled](https://github.com/rcorre/dtiled). <|file_sep|>curren...
4386811b865302d9e59ccd74086a973c92cb063c
README.md
README.md
Markdown
<|file_sep|>original/test/CMakeLists.txt # See the License for the specific language governing permissions and # limitations under the License. #------------------------------------------------------------------------------# cmake_minimum_required(VERSION 3.1) if(NOT Legion_SOURCE_DIR) find_package(Legion REQUIRED)...
# See the License for the specific language governing permissions and # limitations under the License. #------------------------------------------------------------------------------# cmake_minimum_required(VERSION 3.1) if(NOT Legion_SOURCE_DIR) find_package(Legion REQUIRED) endif() add_subdirectory(attach_file_mi...
<|file_sep|>original/test/CMakeLists.txt # See the License for the specific language governing permissions and # limitations under the License. #------------------------------------------------------------------------------# cmake_minimum_required(VERSION 3.1) if(NOT Legion_SOURCE_DIR) find_package(Legion REQUIRED)...
971dadad92d2db1fd1e88d24ece6c104c0762e92
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/README.md # <a href="https://still-falls-22958.herokuapp.com/" target="_blank">Socket IO Sea Battle</a> Two-player board game adaptation utilizing socket io. ## Database Setup The app uses either a MySQL or Postgres server to handle users and login tokens. Use environment variables to provide th...
<a href="https://still-falls-22958.herokuapp.com/"># Socket IO Sea Battle</a> Two-player board game adaptation utilizing socket io. ## Database Setup The app uses either a MySQL or Postgres server to handle users and login tokens. Use environment variables to provide the database name and access credentials. If any ...
<|file_sep|>original/README.md # <a href="https://still-falls-22958.herokuapp.com/" target="_blank">Socket IO Sea Battle</a> Two-player board game adaptation utilizing socket io. ## Database Setup The app uses either a MySQL or Postgres server to handle users and login tokens. Use environment variables to provide th...
9f806224712e17cfc704ff02644fb0c4365ccb8d
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "test": "echo \"Error: no test specified\" && exit 1" updated: "test": "mocha" <|file_sep|>original/package.json "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@gitlab.com/ketsugi...
"type": "git", "url": "git+ssh://git@gitlab.com/ketsugi/plexacious.git" }, "keywords": [ "plex", "api" ], "author": "Joel Pan", "license": "ISC", "bugs": { "url": "https://gitlab.com/ketsugi/plexacious/issues" }, "homepage": "https://gitlab.com/ketsugi/plexacious#README", "dependen...
<|file_sep|>package.json.diff original: "test": "echo \"Error: no test specified\" && exit 1" updated: "test": "mocha" <|file_sep|>original/package.json "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@gitlab.com/ketsugi...
947fa0fe4bf4e367bacd536bdc2a6a88a1a24829
package.json
package.json
JSON
<|file_sep|>original/app/views/layouts/locations.html.erb <%= render layout: 'layouts/two_column' do %> <%= yield %> <% content_for :sidebar do %> <div class="link-promo ga-elsewhere-sidebar"> <h2 class="link-promo__heading">Book a free appointment</h2> <ul class="link-promo__list"> <li cla...
<%= render layout: 'layouts/two_column' do %> <%= yield %> <% end %>
<|file_sep|>original/app/views/layouts/locations.html.erb <%= render layout: 'layouts/two_column' do %> <%= yield %> <% content_for :sidebar do %> <div class="link-promo ga-elsewhere-sidebar"> <h2 class="link-promo__heading">Book a free appointment</h2> <ul class="link-promo__list"> <li cla...
8bc6a4e3673367c033f600f16a75f799fa0b5578
app/views/layouts/locations.html.erb
app/views/layouts/locations.html.erb
HTML+ERB
<|file_sep|>lib/mailer.js.diff original: static async sendMail(recipient, subject, locals, file) { updated: static async sendMail(recipient, subject, locals, file, sendAsHtml = false) { <|file_sep|>original/lib/mailer.js const plainText = ejs.render(template, locals) const message = { to: Mailer...
const plainText = ejs.render(template, locals) const message = { to: Mailer.formatUsername(recipient.screenName, recipient.email), subject: _.truncate(subject, 50), text: plainText, from: Mailer.formatUsername(config.mailer.fromName, config.mailer.fromEmail), headers: {...
<|file_sep|>lib/mailer.js.diff original: static async sendMail(recipient, subject, locals, file) { updated: static async sendMail(recipient, subject, locals, file, sendAsHtml = false) { <|file_sep|>original/lib/mailer.js const plainText = ejs.render(template, locals) const message = { to: Mailer...
02d1cea31ccad9d672daf3bb0978805a6b55370d
lib/mailer.js
lib/mailer.js
JavaScript
<|file_sep|>original/lib/discordrb/events/utility.rb module Discordrb::Events module Utility def matches_all(attributes, to_check, &block) # First case: there's only a single attribute unless attributes.is_a? Array return true if yield(attributes, to_check) end # Second case: it's...
module Discordrb::Events module Utility def matches_all(attributes, to_check, &block) # "Zeroth" case: attributes is nil return false unless attributes # First case: there's only a single attribute unless attributes.is_a? Array return true if yield(attributes, to_check) ...
<|file_sep|>original/lib/discordrb/events/utility.rb module Discordrb::Events module Utility def matches_all(attributes, to_check, &block) # First case: there's only a single attribute unless attributes.is_a? Array return true if yield(attributes, to_check) end # Second case: it's...
dd085e78db9d681ddd3532c7995691c210ac985b
lib/discordrb/events/utility.rb
lib/discordrb/events/utility.rb
Ruby
<|file_sep|>main.py.diff original: updated: universe.add_road(( (100, 100), (150, 300), (250, 500), (400, 500), (700, 200), )) <|file_sep|>original/main.py black = 0, 0, 0 screen = pygame.display.set_mode(size) clock = pygame.time.Clock() clock.tick(30) # Initialize the universe universe = Univers...
universe.add_road(( (100, 100), (150, 300), (250, 500), (400, 500), (700, 200), )) universe.add_nest(100, 100, math.pi / 2, 30.0) universe.add_hole(600, 100) while 1: for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit() screen.fill(black) unive...
<|file_sep|>main.py.diff original: updated: universe.add_road(( (100, 100), (150, 300), (250, 500), (400, 500), (700, 200), )) <|file_sep|>original/main.py black = 0, 0, 0 screen = pygame.display.set_mode(size) clock = pygame.time.Clock() clock.tick(30) # Initialize the universe universe = Univers...
71ce7f3e745b9cee357f867f126dce65f6e210ac
main.py
main.py
Python
<|file_sep|>original/spec/System/PassengerCheck/ParseSpec.hs import Text.Parsec import System.PassengerCheck.Types import System.PassengerCheck.Parse import Text.ParserCombinators.Parsec.Error(ParseError, Message, errorMessages, messageEq) instance Eq ParseError where a ...
import Text.Parsec import System.PassengerCheck.Types import System.PassengerCheck.Parse import Text.ParserCombinators.Parsec.Error(ParseError, Message, errorMessages, messageEq) instance Eq ParseError where a == b = errorMessages a == errorMessages b parseOutput :: Str...
<|file_sep|>original/spec/System/PassengerCheck/ParseSpec.hs import Text.Parsec import System.PassengerCheck.Types import System.PassengerCheck.Parse import Text.ParserCombinators.Parsec.Error(ParseError, Message, errorMessages, messageEq) instance Eq ParseError where a ...
80364f5e25f94bb838fb018ae80eade52268d128
spec/System/PassengerCheck/ParseSpec.hs
spec/System/PassengerCheck/ParseSpec.hs
Haskell
<|file_sep|>original/README.md # dexter <|file_sep|>current/README.md # dexter <|file_sep|>updated/README.md
# dexter "Dexter" is a script that can help in applying workaround for dex count issues during android build for a Unity Android project. The script parses the Unity project for Android libraries that can be refactored to reduce the overall method count via the process mentioned in our documentation linked below: ht...
<|file_sep|>original/README.md # dexter <|file_sep|>current/README.md # dexter <|file_sep|>updated/README.md # dexter "Dexter" is a script that can help in applying workaround for dex count issues during android build for a Unity Android project. The script parses the Unity project for Android libraries that can be r...
77e07a8ff07b3fd175a811b3b225b77bef815b58
README.md
README.md
Markdown
<|file_sep|>original/src/dr/inference/model/ValuesPoolParser.java package dr.inference.model; import dr.xml.*; import sun.awt.X11.XLayerProtocol; /** * @author Joseph Heled * Date: 4/09/2009 */ public class ValuesPoolParser extends dr.xml.AbstractXMLObjectParser { public static String VALUES_POOL = "va...
package dr.inference.model; import dr.xml.*; //import sun.awt.X11.XLayerProtocol; /** * @author Joseph Heled * Date: 4/09/2009 */ public class ValuesPoolParser extends dr.xml.AbstractXMLObjectParser { public static String VALUES_POOL = "valuesPool"; public static String VALUES = "values"; publ...
<|file_sep|>original/src/dr/inference/model/ValuesPoolParser.java package dr.inference.model; import dr.xml.*; import sun.awt.X11.XLayerProtocol; /** * @author Joseph Heled * Date: 4/09/2009 */ public class ValuesPoolParser extends dr.xml.AbstractXMLObjectParser { public static String VALUES_POOL = "va...
aba098667e39ae377b6c095bab9d40b39ca6cd3e
src/dr/inference/model/ValuesPoolParser.java
src/dr/inference/model/ValuesPoolParser.java
Java
<|file_sep|>app/styles/_dashboard.scss.diff original: updated: margin: 0 4px; <|file_sep|>original/app/styles/_dashboard.scss #game-dashboard { margin-bottom: 10px; label, button { font-size: 14px; } button { margin: 0 4px; border: solid 1px rgba(0, 0, 0, 0.25); border-radius: 3px; padd...
#game-dashboard { margin-bottom: 10px; label, button { margin: 0 4px; font-size: 14px; } button { border: solid 1px rgba(0, 0, 0, 0.25); border-radius: 3px; padding: 4px 6px; background-color: #4a1; color: #fff; &:focus { outline-width: 0; background-color: #5b2; ...
<|file_sep|>app/styles/_dashboard.scss.diff original: updated: margin: 0 4px; <|file_sep|>original/app/styles/_dashboard.scss #game-dashboard { margin-bottom: 10px; label, button { font-size: 14px; } button { margin: 0 4px; border: solid 1px rgba(0, 0, 0, 0.25); border-radius: 3px; padd...
7272a89760df34c7a6b3e0b2091d57350c16d175
app/styles/_dashboard.scss
app/styles/_dashboard.scss
SCSS
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode - jruby - rbx <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - jrub...
language: ruby bundler_args: --without development rvm: - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode - jruby - rbx
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - jruby-19mode # JRuby in 1.9 mode - jruby - rbx <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development rvm: - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.0 - jrub...
48f59b0396f9ace8745ac754051fd7ac95c73b54
.travis.yml
.travis.yml
YAML
<|file_sep|>original/build-compiler.sh #!/usr/bin/env bash script_path=$(dirname $0) output_dir=$script_path/extended/compiler temporary_dir=$(mktemp -d) $script_path/build.sh $script_path/extended/bootstrap/compile-library.sh "$script_path/generated/extended/compiler/compiler.reuse" "$temporary_dir" printf "\n$(cat ...
#!/usr/bin/env bash script_path=$(dirname $0) output_dir=$script_path/extended/compiler temporary_dir=$(mktemp -d) $script_path/build.sh $script_path/extended/bootstrap/compile-library.sh "$script_path/generated/extended/compiler/compiler.reuse" "$temporary_dir" printf "\n$(cat $script_path/extended/stdin_wrapper.ml)...
<|file_sep|>original/build-compiler.sh #!/usr/bin/env bash script_path=$(dirname $0) output_dir=$script_path/extended/compiler temporary_dir=$(mktemp -d) $script_path/build.sh $script_path/extended/bootstrap/compile-library.sh "$script_path/generated/extended/compiler/compiler.reuse" "$temporary_dir" printf "\n$(cat ...
b63bacc36ffc05745ef3c6e86573822b94a5f9bd
build-compiler.sh
build-compiler.sh
Shell
<|file_sep|>original/recipes-devtools/json-c/json-c_0.12.bb <|file_sep|>current/recipes-devtools/json-c/json-c_0.12.bb <|file_sep|>updated/recipes-devtools/json-c/json-c_0.12.bb
DESCRIPTION = "JSON-C - A JSON implementation in C" HOMEPAGE = "https://github.com/json-c/json-c/wiki" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRCREV = "d4e81f9ec8273914739808737fa0a27a3f0589fb" SRC_URI = "git://github.com/json-c/json-c.git" S = "${W...
<|file_sep|>original/recipes-devtools/json-c/json-c_0.12.bb <|file_sep|>current/recipes-devtools/json-c/json-c_0.12.bb <|file_sep|>updated/recipes-devtools/json-c/json-c_0.12.bb DESCRIPTION = "JSON-C - A JSON implementation in C" HOMEPAGE = "https://github.com/json-c/json-c/wiki" LICENSE = "MIT" LIC_FILES_CHKSUM = "...
ac5f7240432e1a9a95307417a8cb8ec544a6c21b
recipes-devtools/json-c/json-c_0.12.bb
recipes-devtools/json-c/json-c_0.12.bb
BitBake
<|file_sep|>original/resources/views/main/frontpage.blade.php <div class="container"> <div class="row"> <div class="col-lg-6 col-lg-offset-3"> <h1><a class="" href="{{ env('APP_URL') }}">TORelay.com</a></h1> <form class="form-horizontal" action="{{ url('/') }}" method="GET"> ...
<div class="col-lg-6 col-lg-offset-3"> <h1><a class="" href="{{ env('APP_URL') }}">TORelay.com</a></h1> <form class="form-horizontal" action="{{ url('/') }}" method="GET"> <div class="input-group"> <input type="text" class="form-control" id="url" name=...
<|file_sep|>original/resources/views/main/frontpage.blade.php <div class="container"> <div class="row"> <div class="col-lg-6 col-lg-offset-3"> <h1><a class="" href="{{ env('APP_URL') }}">TORelay.com</a></h1> <form class="form-horizontal" action="{{ url('/') }}" method="GET"> ...
8ce92b0d5813925637a30fdc050e56df9c792f2f
resources/views/main/frontpage.blade.php
resources/views/main/frontpage.blade.php
PHP
<|file_sep|>original/requirements.txt coverage==4.4.2 coveralls==1.2.0 cryptography==2.1.3 hyperlink==17.3.1 idna==2.6 incremental==17.5.0 nose==1.3.7 pyasn1==0.3.7 pyasn1-modules==0.1.5 pycparser==2.17 pyOpenSSL==17.3.0 pytest==3.2.5 pytest-cov==2.5.1 service-identity==17.0.0 six==1.11.0 Sphinx==1.6.5 sphinx-rtd-theme...
coverage==4.4.2 coveralls==1.2.0 cryptography==2.1.3 hyperlink==17.3.1 idna==2.6 incremental==17.5.0 nose==1.3.7 pyasn1==0.3.7 pyasn1-modules==0.1.5 pycparser==2.17 pyOpenSSL==17.4.0 pytest==3.2.5 pytest-cov==2.5.1 service-identity==17.0.0 six==1.11.0 Sphinx==1.6.5 sphinx-rtd-theme==0.2.4 sphinxcontrib-napoleon==0.6.1 ...
<|file_sep|>original/requirements.txt coverage==4.4.2 coveralls==1.2.0 cryptography==2.1.3 hyperlink==17.3.1 idna==2.6 incremental==17.5.0 nose==1.3.7 pyasn1==0.3.7 pyasn1-modules==0.1.5 pycparser==2.17 pyOpenSSL==17.3.0 pytest==3.2.5 pytest-cov==2.5.1 service-identity==17.0.0 six==1.11.0 Sphinx==1.6.5 sphinx-rtd-theme...
39a50f1664558244ce43170957bf3fa6f0e43330
requirements.txt
requirements.txt
Text
<|file_sep|>original/Tests/Selenium2TestCase/SessionCommand/FileTest.php <?php class Tests_Selenium2TestCase_SessionCommand_FileTest extends Tests_Selenium2TestCase_BaseTestCase { public function testUploadFile() { $this->url('php/file_upload.php'); $remote_file = $this->file('selenium-1-tests...
<?php class Tests_Selenium2TestCase_SessionCommand_FileTest extends Tests_Selenium2TestCase_BaseTestCase { public function testUploadFile() { $this->markTestIncomplete("Cannot get this to run <del>reliably</del><em>at all</em> on Travis CI."); $this->url('php/file_upload.php'); $remote...
<|file_sep|>original/Tests/Selenium2TestCase/SessionCommand/FileTest.php <?php class Tests_Selenium2TestCase_SessionCommand_FileTest extends Tests_Selenium2TestCase_BaseTestCase { public function testUploadFile() { $this->url('php/file_upload.php'); $remote_file = $this->file('selenium-1-tests...
5d9ffa18eb410aeba8816fd3201514e58a263d17
Tests/Selenium2TestCase/SessionCommand/FileTest.php
Tests/Selenium2TestCase/SessionCommand/FileTest.php
PHP
<|file_sep|>original/scivis/pup_operators.h <|file_sep|>current/scivis/pup_operators.h <|file_sep|>updated/scivis/pup_operators.h
#pragma once #include <glm/glm.hpp> #include "sv/scivis.h" inline void operator|(PUP::er &p, sv::VolumeDType &dtype) { if (p.isUnpacking()) { int t = 0; p | t; dtype = (sv::VolumeDType)t; } else { int t = dtype; p | t; } } inline void operator|(PUP::er &p, glm::uvec3 &v) { p | v.x; p | v.y; p | v.z; }...
<|file_sep|>original/scivis/pup_operators.h <|file_sep|>current/scivis/pup_operators.h <|file_sep|>updated/scivis/pup_operators.h #pragma once #include <glm/glm.hpp> #include "sv/scivis.h" inline void operator|(PUP::er &p, sv::VolumeDType &dtype) { if (p.isUnpacking()) { int t = 0; p | t; dtype = (sv::Volume...
93493c306432d030d91ef0d27f5dd5314eb1cab4
scivis/pup_operators.h
scivis/pup_operators.h
C
<|file_sep|>test/vpp_mac.py.diff original: return self.addr.address updated: return self.address @address.setter def address(self, value): self.address = value <|file_sep|>test/vpp_mac.py.diff original: return self.address == other.addres updated: return self.add...
def address(self): return self.address @address.setter def address(self, value): self.address = value def __str__(self): return self.address def __eq__(self, other): if isinstance(other, self.__class__): return self.address == other.address elif...
<|file_sep|>test/vpp_mac.py.diff original: return self.addr.address updated: return self.address @address.setter def address(self, value): self.address = value <|file_sep|>test/vpp_mac.py.diff original: return self.address == other.addres updated: return self.add...
dd89173cc177f7130eca426eb4fa5737ec59c91d
test/vpp_mac.py
test/vpp_mac.py
Python
<|file_sep|>original/.travis.yml language: java jdk: oraclejdk8 install: - "sudo apt-get purge openjdk*" - "sudo add-apt-repository -y ppa:webupd8team/java" - "sudo apt-get update" - "sudo apt-get install oracle-java8-installer" notifications: irc: channels: chat.freenode.net#bitsquare template: ...
language: java jdk: oraclejdk8 notifications: irc: channels: chat.freenode.net#bitsquare template: - '%{message} (%{repository}#%{build_number}, %{duration})' - '%{repository}/%{branch} %{commit} %{author}: %{commit_message}' - '%{build_url}' on_success: change on_failure: always ...
<|file_sep|>original/.travis.yml language: java jdk: oraclejdk8 install: - "sudo apt-get purge openjdk*" - "sudo add-apt-repository -y ppa:webupd8team/java" - "sudo apt-get update" - "sudo apt-get install oracle-java8-installer" notifications: irc: channels: chat.freenode.net#bitsquare template: ...
093759a21d3be98534d90d56c9a0611b6b658671
.travis.yml
.travis.yml
YAML
<|file_sep|>original/build.sbt name := "streamz" organization in ThisBuild := "com.github.krasserm" version in ThisBuild := "0.5-SNAPSHOT" scalaVersion in ThisBuild := "2.11.8" scalacOptions in ThisBuild ++= Seq("-feature", "-language:higherKinds", "-language:implicitConversions", "-deprecation") libraryDependenci...
name := "streamz" organization in ThisBuild := "com.github.krasserm" version in ThisBuild := "0.6-SNAPSHOT" scalaVersion in ThisBuild := "2.11.8" scalacOptions in ThisBuild ++= Seq("-feature", "-language:higherKinds", "-language:implicitConversions", "-deprecation") libraryDependencies in ThisBuild ++= Seq( "co....
<|file_sep|>original/build.sbt name := "streamz" organization in ThisBuild := "com.github.krasserm" version in ThisBuild := "0.5-SNAPSHOT" scalaVersion in ThisBuild := "2.11.8" scalacOptions in ThisBuild ++= Seq("-feature", "-language:higherKinds", "-language:implicitConversions", "-deprecation") libraryDependenci...
a0190807a4298576e696620c7f81e2ed57b13c02
build.sbt
build.sbt
Scala
<|file_sep|>app/assets/javascripts/autosave.js.diff original: autosaveOnFocus = setTimeout(autosave, 5000); updated: autosaveOnFocus = setInterval(autosave, 5000); <|file_sep|>original/app/assets/javascripts/autosave.js type: "PATCH", url: $url, data: $data, dataType: "text" }).done(function(r...
data: $data, dataType: "text" }).done(function(response){ console.log(response); $(".autosave").html(response); }); } $(document).ready(function (){ var autosaveOnFocus; $('.redactor_editor').focus(function() { autosaveOnFocus = setInterval(autosave, 5000); }); $('.redactor_editor').b...
<|file_sep|>app/assets/javascripts/autosave.js.diff original: autosaveOnFocus = setTimeout(autosave, 5000); updated: autosaveOnFocus = setInterval(autosave, 5000); <|file_sep|>original/app/assets/javascripts/autosave.js type: "PATCH", url: $url, data: $data, dataType: "text" }).done(function(r...
239f2aeed4a26211945f0795765708054cc9753c
app/assets/javascripts/autosave.js
app/assets/javascripts/autosave.js
JavaScript
<|file_sep|>original/test/test_helper.rb require "bundler/setup" require "flipflop" require "minitest/autorun" <|file_sep|>current/test/test_helper.rb require "bundler/setup" require "flipflop" require "minitest/autorun" <|file_sep|>updated/test/test_helper.rb
require "bundler/setup" require "flipflop" require "minitest/autorun" # Who is setting this to true? :o $VERBOSE = false
<|file_sep|>original/test/test_helper.rb require "bundler/setup" require "flipflop" require "minitest/autorun" <|file_sep|>current/test/test_helper.rb require "bundler/setup" require "flipflop" require "minitest/autorun" <|file_sep|>updated/test/test_helper.rb require "bundler/setup" require "flipflop" require "minites...
cf1aef9fcd6af7d0f1a5d61537c130792a20fc74
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/lib/formulaic/form.rb module Formulaic class Form ATTRIBUTE_INPUT_MAP = { ActiveSupport::TimeWithZone => Formulaic::Inputs::DateInput, Date => Formulaic::Inputs::DateInput, DateTime => Formulaic::Inputs::DateTimeInput, Array => Formulaic::Inputs::ArrayInput, Str...
module Formulaic class Form ATTRIBUTE_INPUT_MAP = { ActiveSupport::TimeWithZone => Formulaic::Inputs::DateInput, Date => Formulaic::Inputs::DateInput, DateTime => Formulaic::Inputs::DateTimeInput, Array => Formulaic::Inputs::ArrayInput, String => Formulaic::Inputs::StringInput, ...
<|file_sep|>original/lib/formulaic/form.rb module Formulaic class Form ATTRIBUTE_INPUT_MAP = { ActiveSupport::TimeWithZone => Formulaic::Inputs::DateInput, Date => Formulaic::Inputs::DateInput, DateTime => Formulaic::Inputs::DateTimeInput, Array => Formulaic::Inputs::ArrayInput, Str...
74250aaac2a6d712181692017affcfcd422753c5
lib/formulaic/form.rb
lib/formulaic/form.rb
Ruby
<|file_sep|>original/src/styles/main.styl @import 'cozy-ui/defaults' @import 'cozy-ui' .fil-content top-padded(30px) @media (max-width: (768/basefont)rem) padding 0 <|file_sep|>current/src/styles/main.styl @import 'cozy-ui/defaults' @import 'cozy-ui' .fil-content top-padded(30px) @media (max...
@import 'cozy-ui/defaults' @import 'cozy-ui' div:focus outline: none .fil-content top-padded(30px) @media (max-width: (768/basefont)rem) padding 0
<|file_sep|>original/src/styles/main.styl @import 'cozy-ui/defaults' @import 'cozy-ui' .fil-content top-padded(30px) @media (max-width: (768/basefont)rem) padding 0 <|file_sep|>current/src/styles/main.styl @import 'cozy-ui/defaults' @import 'cozy-ui' .fil-content top-padded(30px) @media (max...
98e2b0491686488d94abf1a2016a5265cab92c83
src/styles/main.styl
src/styles/main.styl
Stylus
<|file_sep|>original/composer.json "require": { "php": ">=5.6.4", "illuminate/cache": "^5.0", "illuminate/filesystem": "^5.0", "guzzlehttp/guzzle" : "^6.0" }, "require-dev": { "mockery/mockery": "^0.9", "phpunit/phpunit": "^5.7" }, "autoload": { ...
}, "require-dev": { "mockery/mockery": "^0.9", "phpunit/phpunit": "^5.7" }, "autoload": { "psr-4": { "Cartalyst\\Converter\\": "src/" } }, "extra": { "component": "package", "branch-alias": { "dev-master": "3.0.x-dev" }, "larave...
<|file_sep|>original/composer.json "require": { "php": ">=5.6.4", "illuminate/cache": "^5.0", "illuminate/filesystem": "^5.0", "guzzlehttp/guzzle" : "^6.0" }, "require-dev": { "mockery/mockery": "^0.9", "phpunit/phpunit": "^5.7" }, "autoload": { ...
eb156fd13143f4ea2dfad2ca928c9fc2acae5da6
composer.json
composer.json
JSON
<|file_sep|>original/template-jooq/src/main/java/com/kdemo/jooq/dao/impl/UserDAOImpl.java .select(USERS.fields()) .from(USERS) .fetchInto(Users.class); } @Override public int insert(Users user) { // option 1 : with fetch auto ID UsersRecord newRecord = dsl.newRecord(USERS, user); int store = ne...
.select(USERS.fields()) .from(USERS) .fetchInto(Users.class); } @Override public int insert(Users user) { // option 1 : with fetch auto ID UsersRecord newRecord = dsl.newRecord(USERS, user); int store = newRecord.insert(); if(store > 0) { user.setId(newRecord.getId()); } return store; ...
<|file_sep|>original/template-jooq/src/main/java/com/kdemo/jooq/dao/impl/UserDAOImpl.java .select(USERS.fields()) .from(USERS) .fetchInto(Users.class); } @Override public int insert(Users user) { // option 1 : with fetch auto ID UsersRecord newRecord = dsl.newRecord(USERS, user); int store = ne...
88598678a611103d792f108e796e64e986ec9084
template-jooq/src/main/java/com/kdemo/jooq/dao/impl/UserDAOImpl.java
template-jooq/src/main/java/com/kdemo/jooq/dao/impl/UserDAOImpl.java
Java
<|file_sep|>original/client/packages/accounts-dashboard-extension-worona/src/dashboard/sagas/createAccount.js import { takeLatest } from 'redux-saga'; import { call, put, select, take } from 'redux-saga/effects'; import { NOT_CONNECTED, CREATING_ACCOUNT, CONNECTED_CREATING_ACCOUNT } from '../messages'; import * as libs...
import { takeLatest } from 'redux-saga'; import { call, put, select, take } from 'redux-saga/effects'; import { NOT_CONNECTED, CREATING_ACCOUNT, CONNECTED_CREATING_ACCOUNT } from '../messages'; import * as libs from '../libs'; import * as actions from '../actions'; import * as types from '../types'; import * as deps fr...
<|file_sep|>original/client/packages/accounts-dashboard-extension-worona/src/dashboard/sagas/createAccount.js import { takeLatest } from 'redux-saga'; import { call, put, select, take } from 'redux-saga/effects'; import { NOT_CONNECTED, CREATING_ACCOUNT, CONNECTED_CREATING_ACCOUNT } from '../messages'; import * as libs...
c2c39ac66a436531e787e17b74c5627a79eadbdc
client/packages/accounts-dashboard-extension-worona/src/dashboard/sagas/createAccount.js
client/packages/accounts-dashboard-extension-worona/src/dashboard/sagas/createAccount.js
JavaScript
<|file_sep|>original/codesniffer.ruleset.xml <|file_sep|>current/codesniffer.ruleset.xml <|file_sep|>updated/codesniffer.ruleset.xml
<?xml version="1.0"?> <ruleset name="Roots real estate Theme Coding Standards Configuration"> <!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml --> <!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml --> <!-- Set a ...
<|file_sep|>original/codesniffer.ruleset.xml <|file_sep|>current/codesniffer.ruleset.xml <|file_sep|>updated/codesniffer.ruleset.xml <?xml version="1.0"?> <ruleset name="Roots real estate Theme Coding Standards Configuration"> <!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml --> <!--...
dd1a6e397208a175c55c4923387ecbd982458a81
codesniffer.ruleset.xml
codesniffer.ruleset.xml
XML
<|file_sep|>update_prices.py.diff original: ITEMS = [ 34, # Tritanium 35, # Pyerite 36, # Mexallon 37, # Isogen 38, # Nocxium 39, # Zydrine 40, # Megacyte 11399, # Morphite ] updated: <|file_sep|>update_prices.py.diff original: url = MARKET_URL % ('&'.join('typeid=%s' % i for i in ITEMS)) f = urllib2.urlope...
for i in range(0, len(rows), 20): url = MARKET_URL % ('&'.join('typeid=%s' % item for item in rows[i:i+20])) f = urllib2.urlopen(url) data = f.read() f.close() #open('data.txt', 'w').write(data) #data = open('data.txt').read() root = ET.fromstring(data) for t in root.findall('marketstat/type'): ...
<|file_sep|>update_prices.py.diff original: ITEMS = [ 34, # Tritanium 35, # Pyerite 36, # Mexallon 37, # Isogen 38, # Nocxium 39, # Zydrine 40, # Megacyte 11399, # Morphite ] updated: <|file_sep|>update_prices.py.diff original: url = MARKET_URL % ('&'.join('typeid=%s' % i for i in ITEMS)) f = urllib2.urlope...
df98c8bd70f25727810e6eb9d359cf1e14fd6645
update_prices.py
update_prices.py
Python
<|file_sep|>test/CodeGen/Thumb2/thumb2-call.ll.diff original: ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 -mtriple=armv6-apple-darwin10 | FileCheck %s updated: ; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s -check-prefix=DARWIN ; RUN: llvm-as < %s | llc -mtriple=thumbv7-...
define void @f() { ; DARWIN: f: ; DARWIN: blx L_g$stub ; LINUX: f: ; LINUX: bl g call void @g( i32 1, i32 2, i32 3, i32 4 ) ret void } define void @h() { ; DARWIN: h: ; DARWIN: blx r0 ; LINUX: h: ; LINUX: blx r0 %tmp = load i32 ()** @t ; <i32 ()*> [#uses=1] %tmp.upgrd.2 = tai...
<|file_sep|>test/CodeGen/Thumb2/thumb2-call.ll.diff original: ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 -mtriple=armv6-apple-darwin10 | FileCheck %s updated: ; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s -check-prefix=DARWIN ; RUN: llvm-as < %s | llc -mtriple=thumbv7-...
b9bcdd9ca44fe0840ad8ded1200688fcda46d53a
test/CodeGen/Thumb2/thumb2-call.ll
test/CodeGen/Thumb2/thumb2-call.ll
LLVM
<|file_sep|>terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf.diff original: // For for every 60 seconds updated: // For for every 300 seconds <|file_sep|>original/terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf resource "aws_cloudwatch_metric_alarm" "admin_manager_pass...
resource "aws_cloudwatch_metric_alarm" "admin_manager_password_reset" { alarm_name = "${var.environment}-admin-manager-password-reset" alarm_description = "Resetting the password for an admin manager role should notify Slack." // Metric namespace = "DM-admin-manager-password-reset" metric_name = "${...
<|file_sep|>terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf.diff original: // For for every 60 seconds updated: // For for every 300 seconds <|file_sep|>original/terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf resource "aws_cloudwatch_metric_alarm" "admin_manager_pass...
adcb5b73cf77a209bc60abea5c2ac3644230896e
terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf
terraform/modules/logging/alarms/admin-manager-password-reset/alarms.tf
HCL
<|file_sep|>original/web/app/library/Search/Filter/AchievementMasteryQueryFilter.php <?php class AchievementMasteryQueryFilter extends EnumSearchQueryFilter { protected static $REGIONS = [ 'Tyria' => 'Tyria', 'Maguuma' => 'Maguuma (Path of Fire)', 'Desert' => 'Crystal Desert (Heart of Thorn...
<?php class AchievementMasteryQueryFilter extends EnumSearchQueryFilter { protected static $REGIONS = [ 'Tyria' => 'Tyria', 'Maguuma' => 'Maguuma (Path of Fire)', 'Desert' => 'Crystal Desert (Heart of Thorns)', 'Tundra' => 'Tundra (Icebrood Saga)' ]; protected static $ANY = ...
<|file_sep|>original/web/app/library/Search/Filter/AchievementMasteryQueryFilter.php <?php class AchievementMasteryQueryFilter extends EnumSearchQueryFilter { protected static $REGIONS = [ 'Tyria' => 'Tyria', 'Maguuma' => 'Maguuma (Path of Fire)', 'Desert' => 'Crystal Desert (Heart of Thorn...
9c45d3f931a9a6d49cca2291a81e953b7e438875
web/app/library/Search/Filter/AchievementMasteryQueryFilter.php
web/app/library/Search/Filter/AchievementMasteryQueryFilter.php
PHP
<|file_sep|>original/.travis.yml language: node_js node_js: - '6' - '8' - '10' before_install: - npm i -g npm notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '6' - '8' - '10' before_install: - npm i -g npm notifications: email: false <|file_sep|>updated/.travis.yml
language: node_js node_js: - '6' - '8' - '10' before_install: - npm i -g npm notifications: email: false jobs: include: - stage: npm release node_js: "10" script: echo "Deploying to npm ..." deploy: provider: npm email: "mohit@mohitsingh.in" api_key: $NPM_API_KEY ...
<|file_sep|>original/.travis.yml language: node_js node_js: - '6' - '8' - '10' before_install: - npm i -g npm notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: - '6' - '8' - '10' before_install: - npm i -g npm notifications: email: false <|file_sep|>updated/.travis.yml language:...
fabbd2650ec70b4973bbcf9c5e2cfdb559cded2a
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/pages/profile_page.rb.diff original: updated: # @author Dumitru Ursu # Page Object for the user profile page <|file_sep|>spec/pages/profile_page.rb.diff original: updated: include Warden::Test::Helpers include Rails.application.routes.url_helpers <|file_sep|>spec/pages/profile_page.rb.diff origin...
# @author Dumitru Ursu # Page Object for the user profile page class ProfilePage include Capybara::DSL include Warden::Test::Helpers include Rails.application.routes.url_helpers def initialize(user) @user = user login_as @user end def locale(lang) visit edit_user_registration_path(:en) sel...
<|file_sep|>spec/pages/profile_page.rb.diff original: updated: # @author Dumitru Ursu # Page Object for the user profile page <|file_sep|>spec/pages/profile_page.rb.diff original: updated: include Warden::Test::Helpers include Rails.application.routes.url_helpers <|file_sep|>spec/pages/profile_page.rb.diff origin...
010cdfea8addf7ac91adba3ec65af98ca65aa15b
spec/pages/profile_page.rb
spec/pages/profile_page.rb
Ruby
<|file_sep|>original/scripts/last_adjusts.sh #!/usr/bin/env bash set -eu set -o pipefail echo "Installing vim plugins" git submodule init git submodule update <|file_sep|>current/scripts/last_adjusts.sh #!/usr/bin/env bash set -eu set -o pipefail echo "Installing vim plugins" git submodule init git submodule upda...
#!/usr/bin/env bash set -eu set -o pipefail echo "Installing Xcode Command Line Tools" xcode-select --install echo "Seting up cocoapods" pod setup echo "Installing vim plugins" git submodule init git submodule update
<|file_sep|>original/scripts/last_adjusts.sh #!/usr/bin/env bash set -eu set -o pipefail echo "Installing vim plugins" git submodule init git submodule update <|file_sep|>current/scripts/last_adjusts.sh #!/usr/bin/env bash set -eu set -o pipefail echo "Installing vim plugins" git submodule init git submodule upda...
ea3147ba188837f8b72b819b77ad588f682caad3
scripts/last_adjusts.sh
scripts/last_adjusts.sh
Shell
<|file_sep|>original/tasks/install.rb WIN32 = (RUBY_PLATFORM =~ /win32|mingw|bccwin|cygwin/) rescue nil SUDO = WIN32 ? '' : ('sudo' unless ENV['SUDOLESS']) def sudo_gem(cmd) sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false end if WIN32 desc "Install #{GEM_NAME}" task :install => :gem do sudo_gem "insta...
WIN32 = Gem.win_platform? SUDO = WIN32 ? '' : ('sudo' unless ENV['SUDOLESS']) def sudo_gem(cmd) sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false end if WIN32 desc "Install #{GEM_NAME}" task :install => :gem do sudo_gem "install --no-rdoc --no-ri pkg/#{GEM_NAME}-#{GEM_VERSION}.gem" end else desc "I...
<|file_sep|>original/tasks/install.rb WIN32 = (RUBY_PLATFORM =~ /win32|mingw|bccwin|cygwin/) rescue nil SUDO = WIN32 ? '' : ('sudo' unless ENV['SUDOLESS']) def sudo_gem(cmd) sh "#{SUDO} #{RUBY} -S gem #{cmd}", :verbose => false end if WIN32 desc "Install #{GEM_NAME}" task :install => :gem do sudo_gem "insta...
d833162422a743dda0dc3901c7ef8b0bad428d10
tasks/install.rb
tasks/install.rb
Ruby
<|file_sep|>src/main/webapp/components/BuilderDataTable.js.diff original: const HEADERS = ['no', 'text', 'log']; updated: const HEADERS = ['no.', 'text', 'log']; <|file_sep|>original/src/main/webapp/components/BuilderDataTable.js import * as React from 'react'; const HEADERS = ['no', 'text', 'log']; export const Buil...
import * as React from 'react'; const HEADERS = ['no.', 'text', 'log']; export const BuilderDataTable = props => { return ( <table className='data-table'> <thead> <BuilderRow header={true} data={HEADERS} /> </thead> <tbody> <BuilderRow data={}...
<|file_sep|>src/main/webapp/components/BuilderDataTable.js.diff original: const HEADERS = ['no', 'text', 'log']; updated: const HEADERS = ['no.', 'text', 'log']; <|file_sep|>original/src/main/webapp/components/BuilderDataTable.js import * as React from 'react'; const HEADERS = ['no', 'text', 'log']; export const Buil...
a9fa59c88f28c589bf2f12e31ce67264607de5a6
src/main/webapp/components/BuilderDataTable.js
src/main/webapp/components/BuilderDataTable.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: - 2.3 - 2.2 - 2.1 <|file_sep|>original/.travis.yml language: ruby script: make rvm: - 2.0 - 2.1 - 2.2 - ruby-head matrix: allow_failures: - rvm: ruby-head install: | gem install dep curl https://raw.githubusercontent.com/tonchis/gst/master/bin/gst...
language: ruby script: make rvm: - 2.3 - 2.2 - 2.1 - 2.0 - ruby-head matrix: allow_failures: - rvm: ruby-head install: | gem install dep curl https://raw.githubusercontent.com/tonchis/gst/master/bin/gst > gst chmod +x gst ./gst init source ./gst in
<|file_sep|>.travis.yml.diff original: updated: - 2.3 - 2.2 - 2.1 <|file_sep|>original/.travis.yml language: ruby script: make rvm: - 2.0 - 2.1 - 2.2 - ruby-head matrix: allow_failures: - rvm: ruby-head install: | gem install dep curl https://raw.githubusercontent.com/tonchis/gst/master/bin/gst...
0a83c3bcf13c8bc17c3842b24022cc30e449a950
.travis.yml
.travis.yml
YAML
<|file_sep|>parser.py.diff original: updated: # needs: # labels (timestamps) # data (ping/dl/ul speed) <|file_sep|>parser.py.diff original: updated: labels = [] download_speeds = [] <|file_sep|>parser.py.diff original: return json.dumps(records) updated: for rec...
def parse(self, file): input = open(file, "r") data = input.read() input.close() timestamp = re.search(r'Speed Test Ran at: (.*)', data) ping = re.search(r'Ping: (.*)', data) download = re.search(r'Download: (.*) Mbit/s', data) upload = re.search(r'Upload: (...
<|file_sep|>parser.py.diff original: updated: # needs: # labels (timestamps) # data (ping/dl/ul speed) <|file_sep|>parser.py.diff original: updated: labels = [] download_speeds = [] <|file_sep|>parser.py.diff original: return json.dumps(records) updated: for rec...
d4d25c87fc3eb9cfe1406d2a857b93c69d389850
parser.py
parser.py
Python
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - openjdk8 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - openjdk8 <|file_sep|>updated/.travis.yml
language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - oraclejdk8
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - openjdk8 <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - openjdk8 <|file_sep|>updated/.travis.yml language: java jdk: - oraclejdk7 - openjdk7 - openjdk6 - oraclejdk8
8d41316dc0b0fa8705c571b3037f9a99f4c12506
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ssh/ssh_algorithm_negotiation.cc <|file_sep|>current/ssh/ssh_algorithm_negotiation.cc <|file_sep|>updated/ssh/ssh_algorithm_negotiation.cc
#include <map> #include <common/buffer.h> #include <common/endian.h> #include <ssh/ssh_algorithm_negotiation.h> #include <ssh/ssh_protocol.h> namespace { static uint8_t constant_cookie[16] = { 0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80, 0x90, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0 }; template<typen...
<|file_sep|>original/ssh/ssh_algorithm_negotiation.cc <|file_sep|>current/ssh/ssh_algorithm_negotiation.cc <|file_sep|>updated/ssh/ssh_algorithm_negotiation.cc #include <map> #include <common/buffer.h> #include <common/endian.h> #include <ssh/ssh_algorithm_negotiation.h> #include <ssh/ssh_protocol.h> namespace { ...
7e797db545152f30ce1a2b96aa2c976f2ecd2b65
ssh/ssh_algorithm_negotiation.cc
ssh/ssh_algorithm_negotiation.cc
C++
<|file_sep|>original/README.md puts column end end end ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your...
puts column end end end ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exe...
<|file_sep|>original/README.md puts column end end end ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your...
41d3ad03dc4b5974109565ba463a560f72a8503b
README.md
README.md
Markdown
<|file_sep|>.github/workflows/tests.yml.diff original: python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9 ] updated: python-version: [ 3.6, 3.7, 3.8, 3.9 ] <|file_sep|>original/.github/workflows/tests.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [ 3.5, 3.6, 3....
jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [ 3.6, 3.7, 3.8, 3.9 ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-versi...
<|file_sep|>.github/workflows/tests.yml.diff original: python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9 ] updated: python-version: [ 3.6, 3.7, 3.8, 3.9 ] <|file_sep|>original/.github/workflows/tests.yml jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [ 3.5, 3.6, 3....
4c4d138178250f6f00d4e2fbd363dc213aeeb2a7
.github/workflows/tests.yml
.github/workflows/tests.yml
YAML
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 <|file_sep|>current/.zuul.yaml - project: templates: ...
- project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
<|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing-python3 - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 <|file_sep|>current/.zuul.yaml - project: templates: ...
f04337049c3b0dd4a0ae30ff2511002a543ac419
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise we...
# Title tag # Navigation navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-des...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise we...
b3c2d3dd85ba16b888946c71dc6acc2bd5066441
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>mycli/packages/expanded.py.diff original: total_len = header_len + data_len + 1 updated: <|file_sep|>original/mycli/packages/expanded.py from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def get_separator(num, header_len, data_len): ...
from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def get_separator(num, header_len, data_len): sep = u"***************************[ %d. row ]***************************\n" % (num + 1) return sep def expanded_table(rows, headers): header_...
<|file_sep|>mycli/packages/expanded.py.diff original: total_len = header_len + data_len + 1 updated: <|file_sep|>original/mycli/packages/expanded.py from .tabulate import _text_type def pad(field, total, char=u" "): return field + (char * (total - len(field))) def get_separator(num, header_len, data_len): ...
daafe2152e13d32e7e03533151feeeac9464dddf
mycli/packages/expanded.py
mycli/packages/expanded.py
Python
<|file_sep|>original/Changelog.md - Use `clang_sys` instead of the internal ffi ### Fixed - Fix build on OSX - Fix overflow of enums variants (#232) ## [0.16.0] - 2016-02-17 ### Breaking - Use `std::os::raw` instead of `libc` ### Added - Translate C enums to Rust enums ### Fixed - Various fixes ## [0.15.0] - 2016...
### Fixed - Fix build on OSX - Fix overflow of enums variants (#232) ## [0.16.0] - 2016-02-17 ### Breaking - Use `std::os::raw` instead of `libc` ### Added - Translate C enums to Rust enums ### Fixed - Various fixes ## [0.15.0] - 2016-08-31 [Unreleased]: https://github.com/crabtw/rust-bindgen/compare/0.16...HEAD...
<|file_sep|>original/Changelog.md - Use `clang_sys` instead of the internal ffi ### Fixed - Fix build on OSX - Fix overflow of enums variants (#232) ## [0.16.0] - 2016-02-17 ### Breaking - Use `std::os::raw` instead of `libc` ### Added - Translate C enums to Rust enums ### Fixed - Various fixes ## [0.15.0] - 2016...
32717fc7c2309fc975eefca705f8d83620aef7c4
Changelog.md
Changelog.md
Markdown
<|file_sep|>original/tsconfig.json { "compilerOptions": { "declaration": true, "lib": [ "es5", "es2015.promise" ], "module": "commonjs", "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "noUnusedLocals": true,...
{ "compilerOptions": { "declaration": true, "lib": [ "dom", "es5", "es2015.promise" ], "module": "commonjs", "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "noUnusedLocals": true, "noUnusedParamete...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "declaration": true, "lib": [ "es5", "es2015.promise" ], "module": "commonjs", "noFallthroughCasesInSwitch": true, "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "noUnusedLocals": true,...
3775b5109c9b010e191375e89ef16a5102fb3fe0
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/app/views/layouts/_navigation.html.erb <nav> <h3><%= link_to "Home", root_path %> | <%= link_to "Sign up", new_user_path %> | <%= link_to "Sign out", '/sessions/destroy', :method => :delete %> | <%= link_to "Sign in", '/sessions/new' %> | <%= link_to "Sign in with Github", '/auth/github' %>...
<nav> <h3><%= link_to "Home", root_path %> | <%= link_to "Sign up", new_user_path %> | <%= link_to "Sign out", '/sessions/destroy', :method => :delete %> | <%= link_to "Sign in", '/sessions/new' %> | <%= link_to "Sign in with Facebook", '/auth/facebook' %></h3> </nav>
<|file_sep|>original/app/views/layouts/_navigation.html.erb <nav> <h3><%= link_to "Home", root_path %> | <%= link_to "Sign up", new_user_path %> | <%= link_to "Sign out", '/sessions/destroy', :method => :delete %> | <%= link_to "Sign in", '/sessions/new' %> | <%= link_to "Sign in with Github", '/auth/github' %>...
879a22ed33d92bcbfab9d320a994b3d6beee01e8
app/views/layouts/_navigation.html.erb
app/views/layouts/_navigation.html.erb
HTML+ERB
<|file_sep|>accounts/templates/registration/login.html.diff original: updated: {% load i18n %} <|file_sep|>original/accounts/templates/registration/login.html {% extends "base.html" %} {% load render_field from widget_tweaks %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %...
{% load render_field from widget_tweaks %} {% load i18n %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %} {{ form.non_field_errors }} {% for field in form %} <fieldset class="form-group"> {{ field.label_tag }} {{ field.errors }} {% render_field field class...
<|file_sep|>accounts/templates/registration/login.html.diff original: updated: {% load i18n %} <|file_sep|>original/accounts/templates/registration/login.html {% extends "base.html" %} {% load render_field from widget_tweaks %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %...
e9f6799c10266987e129f9775dea237f865cd421
accounts/templates/registration/login.html
accounts/templates/registration/login.html
HTML
<|file_sep|>original/lib/couch_rest_adapter/db_config.rb module CouchRestAdapter module DbConfig def self.included(base) base.extend ClassMethods end module ClassMethods attr_accessor :config_file def parse_config YAML::load File.open config_file end def base_path ...
module CouchRestAdapter module DbConfig def self.included(base) base.extend ClassMethods end module ClassMethods attr_accessor :config_file def parse_config YAML::load( ERB.new( File.read(config_file) ).result) end def base_path parts = parse_config[Rails.e...
<|file_sep|>original/lib/couch_rest_adapter/db_config.rb module CouchRestAdapter module DbConfig def self.included(base) base.extend ClassMethods end module ClassMethods attr_accessor :config_file def parse_config YAML::load File.open config_file end def base_path ...
bc19aa606e09518422747446ada63e3dd51641ae
lib/couch_rest_adapter/db_config.rb
lib/couch_rest_adapter/db_config.rb
Ruby
<|file_sep|>original/l10n_br_sale/models/sale-l10n_br_sale_service.py <|file_sep|>current/l10n_br_sale/models/sale-l10n_br_sale_service.py <|file_sep|>updated/l10n_br_sale/models/sale-l10n_br_sale_service.py
# Copyright (C) 2014 Renato Lima - Akretion # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from openerp import _, api, models from openerp.exceptions import Warning as UserError class SaleOrder(models.Model): _inherit = "sale.order" @api.model def _prepare_invoice(self, order, lines):...
<|file_sep|>original/l10n_br_sale/models/sale-l10n_br_sale_service.py <|file_sep|>current/l10n_br_sale/models/sale-l10n_br_sale_service.py <|file_sep|>updated/l10n_br_sale/models/sale-l10n_br_sale_service.py # Copyright (C) 2014 Renato Lima - Akretion # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html ...
4e27164028847fb7de8d4aef991f1f6e9c64c8be
l10n_br_sale/models/sale-l10n_br_sale_service.py
l10n_br_sale/models/sale-l10n_br_sale_service.py
Python
<|file_sep|>original/Cargo.toml [package] authors = ["Jimmy Cuadra <jimmy@jimmycuadra.com>"] description = "Serializable types for the events in the Matrix specification." documentation = "https://docs.rs/ruma-events" homepage = "https://github.com/ruma/ruma-events" keywords = ["matrix", "chat", "messaging", "ruma"] li...
[package] authors = ["Jimmy Cuadra <jimmy@jimmycuadra.com>"] description = "Serializable types for the events in the Matrix specification." documentation = "https://docs.rs/ruma-events" homepage = "https://github.com/ruma/ruma-events" keywords = ["matrix", "chat", "messaging", "ruma"] license = "MIT" name = "ruma-event...
<|file_sep|>original/Cargo.toml [package] authors = ["Jimmy Cuadra <jimmy@jimmycuadra.com>"] description = "Serializable types for the events in the Matrix specification." documentation = "https://docs.rs/ruma-events" homepage = "https://github.com/ruma/ruma-events" keywords = ["matrix", "chat", "messaging", "ruma"] li...
03dc54d7dbecde1e089edfb0cf62d5815542f184
Cargo.toml
Cargo.toml
TOML
<|file_sep|>tests/dummy/app/styles/app.scss.diff original: background-image: url('images/paper_fibers.png'); updated: background-image: url('../images/paper_fibers.png'); <|file_sep|>original/tests/dummy/app/styles/app.scss $color-primary: $palette-teal-500; $color-accent: $palette-pink-A200; @import "material-des...
$color-primary: $palette-teal-500; $color-accent: $palette-pink-A200; @import "material-design-lite"; body { background-image: url('../images/paper_fibers.png'); } // BEGIN-SNIPPET layout-transparent .layout-transparent { background: url('../images/transparent.jpg') center / cover; } // END-SNIPPET @media (max-w...
<|file_sep|>tests/dummy/app/styles/app.scss.diff original: background-image: url('images/paper_fibers.png'); updated: background-image: url('../images/paper_fibers.png'); <|file_sep|>original/tests/dummy/app/styles/app.scss $color-primary: $palette-teal-500; $color-accent: $palette-pink-A200; @import "material-des...
1b927b09d023ecade29ef3de5e8e5bbbdc8053c8
tests/dummy/app/styles/app.scss
tests/dummy/app/styles/app.scss
SCSS
<|file_sep|>original/deploy.sh repo_dir="$(dirname "$0")" dest_dir=~statbot/repo rm -r "$dest_dir" mkdir -p "$dest_dir" cp -a "$repo_dir" "$dest_dir" install -m400 "$1" "$dest_dir/config.yaml" chown -R statbot:statbot "$dest_dir" echo "Installed source code to '$dest_dir'" python3.6 -m pip install -r "$repo_dir/requi...
repo_dir="$(dirname "$0")" dest_dir=~statbot/repo rm -r "$dest_dir" mkdir -p "$dest_dir" cp -a "$repo_dir" "$dest_dir" install -m400 "$1" "$dest_dir/config.yaml" chown -R statbot:statbot "$dest_dir" echo "Installed source code to '$dest_dir'" python3.6 -m pip install -r "$repo_dir/requirements.txt" > /dev/null echo "...
<|file_sep|>original/deploy.sh repo_dir="$(dirname "$0")" dest_dir=~statbot/repo rm -r "$dest_dir" mkdir -p "$dest_dir" cp -a "$repo_dir" "$dest_dir" install -m400 "$1" "$dest_dir/config.yaml" chown -R statbot:statbot "$dest_dir" echo "Installed source code to '$dest_dir'" python3.6 -m pip install -r "$repo_dir/requi...
8b01a0583c1ba86726aa484fdb24fe05f985c18a
deploy.sh
deploy.sh
Shell
<|file_sep|>original/lib/janky/builder/receiver.rb module Janky module Builder class Receiver def self.call(env) request = Rack::Request.new(env) payload = Payload.parse(request.body) if payload.started? Build.start(payload.id, payload.url) elsif payload.completed?...
module Janky module Builder class Receiver def self.call(env) request = Rack::Request.new(env) payload = Payload.parse(request.body) if payload.started? Build.start(payload.id, payload.url) elsif payload.completed? Build.complete(payload.id, payload.green...
<|file_sep|>original/lib/janky/builder/receiver.rb module Janky module Builder class Receiver def self.call(env) request = Rack::Request.new(env) payload = Payload.parse(request.body) if payload.started? Build.start(payload.id, payload.url) elsif payload.completed?...
3b43e4841a244508d0d900e64a5823c4d5b4dd48
lib/janky/builder/receiver.rb
lib/janky/builder/receiver.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
6126e01c0cc7b4f3cb96f77abf81758cfa3cb54c
.travis.yml
.travis.yml
YAML
<|file_sep|>scripts/install-deps.sh.diff original: cd "${scripts_dir}/.." virtualenv --system-site-packages -p python3 env echo "/home/pi/AIY-projects-python/src" > \ /home/pi/AIY-projects-python/env/lib/python3.5/site-packages/aiy.pth updated: <|file_sep|>original/scripts/install-deps.sh # distributed under the Li...
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. set -o errexit scripts_dir="$(dirname "${BASH_SOURCE[0]}")" # make sure...
<|file_sep|>scripts/install-deps.sh.diff original: cd "${scripts_dir}/.." virtualenv --system-site-packages -p python3 env echo "/home/pi/AIY-projects-python/src" > \ /home/pi/AIY-projects-python/env/lib/python3.5/site-packages/aiy.pth updated: <|file_sep|>original/scripts/install-deps.sh # distributed under the Li...
81ce97163de34740244172f74f7a04cef0d77fcd
scripts/install-deps.sh
scripts/install-deps.sh
Shell
<|file_sep|>original/.styleci.yml preset: symfony enabled: - ordered_use - strict disabled: - empty_return <|file_sep|>current/.styleci.yml preset: symfony enabled: - ordered_use - strict disabled: - empty_return <|file_sep|>updated/.styleci.yml
preset: symfony finder: - path: src - path: tests enabled: - ordered_use - strict disabled: - empty_return
<|file_sep|>original/.styleci.yml preset: symfony enabled: - ordered_use - strict disabled: - empty_return <|file_sep|>current/.styleci.yml preset: symfony enabled: - ordered_use - strict disabled: - empty_return <|file_sep|>updated/.styleci.yml preset: symfony finder: - path: src -...
f1fb2254bfa9bd68350204738eb24047b90b431f
.styleci.yml
.styleci.yml
YAML
<|file_sep|>original/web/src/main/resources/public/bpmnjs/package.json "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "bundle": "webpack" }, "author": "", "license": "ISC", "dependencies": { "bpmn-js": "^4.0.0", ...
"version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "bundle": "webpack" }, "author": "", "license": "ISC", "dependencies": { "bpmn-js": "^5.0.0", "bpmn-js-bpmnlint": "^0.12.0" }, "devDependencies": { "bpmn...
<|file_sep|>original/web/src/main/resources/public/bpmnjs/package.json "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "bundle": "webpack" }, "author": "", "license": "ISC", "dependencies": { "bpmn-js": "^4.0.0", ...
03ee82939ea372970d41c5eadbe3f7e43f7a6b12
web/src/main/resources/public/bpmnjs/package.json
web/src/main/resources/public/bpmnjs/package.json
JSON
<|file_sep|>original/requirements/base.txt django==1.8.5 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.3 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.8 django-basis==0.4.0 djangorestframework==3.2.5 django-cachalot==1.0.3 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 dja...
django==1.8.5 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.3 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.9 django-basis==0.4.0 djangorestframework==3.2.5 django-cachalot==1.0.3 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 django-statsd-mozilla==0.3.16
<|file_sep|>original/requirements/base.txt django==1.8.5 requests==2.8.1 pyyaml==3.11 redis==2.10.5 markdown==2.6.3 python-social-auth==0.2.13 django-pipeline==1.5.4 django-extensions==1.5.8 django-basis==0.4.0 djangorestframework==3.2.5 django-cachalot==1.0.3 django-flat-theme==1.1.1 manifesto==0.5 psycopg2==2.6.1 dja...
46353b1b4224ec232f81bd40ff4454a7a3483b9d
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/docker-compose.yml version: '2' services: db: image: postgres:9.6 volumes: - ./build/db:/var/lib/postgresql/data environment: PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_USER: chaospizza POSTGRES_PASSWORD: chaospizza POSTGRES_DB: chaospizza app: ...
version: '2' services: db: image: postgres:9.6-alpine volumes: - ./build/db:/var/lib/postgresql/data environment: PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_USER: chaospizza POSTGRES_PASSWORD: chaospizza POSTGRES_DB: chaospizza app: image: chaospizza-build dep...
<|file_sep|>original/docker-compose.yml version: '2' services: db: image: postgres:9.6 volumes: - ./build/db:/var/lib/postgresql/data environment: PGDATA: /var/lib/postgresql/data/pgdata POSTGRES_USER: chaospizza POSTGRES_PASSWORD: chaospizza POSTGRES_DB: chaospizza app: ...
07d900a0f5433a7c6a5e2a2a2ae107d1bd404306
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/composer.json "homepage": "https://reactphp.org/", "license": "MIT", "support": { "chat": "https://gitter.im/reactphp/reactphp" }, "require": { "php": ">=5.3.8", "react/cache": "^1.0", "react/dns": "^1.0", "react/event-loop": "^1.0", ...
"require": { "php": ">=5.3.8", "react/cache": "^1.0", "react/dns": "^1.0", "react/event-loop": "^1.0", "react/promise": "^2.1 || ^1.2", "react/promise-stream": "^1.1.1", "react/socket": "^1.0", "react/stream": "^1.0" }, "require-dev": { ...
<|file_sep|>original/composer.json "homepage": "https://reactphp.org/", "license": "MIT", "support": { "chat": "https://gitter.im/reactphp/reactphp" }, "require": { "php": ">=5.3.8", "react/cache": "^1.0", "react/dns": "^1.0", "react/event-loop": "^1.0", ...
f509da189ed5d9479c4d1d55af80b9c5ab9557ca
composer.json
composer.json
JSON
<|file_sep|>original/writers-guide.rst <|file_sep|>current/writers-guide.rst <|file_sep|>updated/writers-guide.rst
This document uses the Sphinx implementation of reStructured Text (RST). RST is a flexible markup language with lots of options for laying out text. To keep thinks simple, this file describes the conventions used by this project. As much as possible, use these methods for markup. Tables ====== Use the simplified marku...
<|file_sep|>original/writers-guide.rst <|file_sep|>current/writers-guide.rst <|file_sep|>updated/writers-guide.rst This document uses the Sphinx implementation of reStructured Text (RST). RST is a flexible markup language with lots of options for laying out text. To keep thinks simple, this file describes the convent...
f19bb0e4d530ebefaf2dacf844b161a7f42745ea
writers-guide.rst
writers-guide.rst
reStructuredText
<|file_sep|>original/bindep.txt # Base requirements for CentOS gcc [platform:rpm] gcc-c++ [platform:rpm] git [platform:rpm] python-devel [platform:rpm] libffi-devel [platform:rpm] openssl-devel [platform:rpm] # For SELinux libselinux-python [platform:rpm] # For SSL ...
# Base requirements for CentOS gcc [platform:rpm] gcc-c++ [platform:rpm] git [platform:rpm] python-devel [platform:rpm] libffi-devel [platform:rpm] openssl-devel [platform:rpm] # For SELinux libselinux-python [platform:rpm] # For SSL SNI support python-pyasn1 ...
<|file_sep|>original/bindep.txt # Base requirements for CentOS gcc [platform:rpm] gcc-c++ [platform:rpm] git [platform:rpm] python-devel [platform:rpm] libffi-devel [platform:rpm] openssl-devel [platform:rpm] # For SELinux libselinux-python [platform:rpm] # For SSL ...
e120c242a4102c6d1fbff5b867bfda8537e6dbc4
bindep.txt
bindep.txt
Text
<|file_sep|>original/ember-cli-build.js /*jshint node:true*/ /* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { var app = new EmberApp(defaults, { // Add options here }); // Use `app.import` to add additional libraries to the genera...
/*jshint node:true*/ /* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { var app = new EmberApp(defaults, { sourcemaps: { enabled: false }, sassOptions: { outputStyle: 'compressed', sourceMap: false }, fi...
<|file_sep|>original/ember-cli-build.js /*jshint node:true*/ /* global require, module */ var EmberApp = require('ember-cli/lib/broccoli/ember-app'); module.exports = function(defaults) { var app = new EmberApp(defaults, { // Add options here }); // Use `app.import` to add additional libraries to the genera...
094a94a3b9f6d5084cab7642c0a91931a89a278c
ember-cli-build.js
ember-cli-build.js
JavaScript
<|file_sep|>original/setup.py __doc__ = """ Manipulate audio with an simple and easy high level interface. See the README file for details, usage info, and a list of gotchas. """ from setuptools import setup setup( name='pydub', version='0.16.3', author='James Robert', author_email='jiaaro@gmail.com'...
__doc__ = """ Manipulate audio with an simple and easy high level interface. See the README file for details, usage info, and a list of gotchas. """ from setuptools import setup setup( name='pydub', version='0.16.4', author='James Robert', author_email='jiaaro@gmail.com', description='Manipulate ...
<|file_sep|>original/setup.py __doc__ = """ Manipulate audio with an simple and easy high level interface. See the README file for details, usage info, and a list of gotchas. """ from setuptools import setup setup( name='pydub', version='0.16.3', author='James Robert', author_email='jiaaro@gmail.com'...
e00ebeaa185ed2fc50c68eddd282194d8633a89c
setup.py
setup.py
Python
<|file_sep|>original/README.md "precise", components: ["main", "universe", "multiverse"], archlist: ["i386", "amd64"] ) mirror.update snap1 = mirror.snapshot "snap1" repo = Aptly.create_repo "my-software" repo.add "/tmp/myapp.deb" repo.add "/tmp/incoming-debs" snap2 = repo.snapshot "snap2" snap3 = Aptly.m...
========== Ruby bindings for [aptly](http://aptly.info) Introduction ============ Aptly is a great tool for managing Apt repositories. It is reliable, actively maintained, and ridiculously fast. Setting up Aptly is a snap - creating repositories, seeding them, taking snapshots, and most other operations are pretty ...
<|file_sep|>original/README.md "precise", components: ["main", "universe", "multiverse"], archlist: ["i386", "amd64"] ) mirror.update snap1 = mirror.snapshot "snap1" repo = Aptly.create_repo "my-software" repo.add "/tmp/myapp.deb" repo.add "/tmp/incoming-debs" snap2 = repo.snapshot "snap2" snap3 = Aptly.m...
82a0cda5c2ce0b5430f4654c565312142e5368ea
README.md
README.md
Markdown
<|file_sep|>original/src/gov/nih/nci/calab/dto/common/UserBean.java <|file_sep|>current/src/gov/nih/nci/calab/dto/common/UserBean.java <|file_sep|>updated/src/gov/nih/nci/calab/dto/common/UserBean.java
package gov.nih.nci.calab.dto.common; /** * This class includes properties for User Authentication and Authorization . * * * @author doswellj * */ public class UserBean { private String loginId; private String fullName; private String firstName; private String lastName; public UserBean() {} publ...
<|file_sep|>original/src/gov/nih/nci/calab/dto/common/UserBean.java <|file_sep|>current/src/gov/nih/nci/calab/dto/common/UserBean.java <|file_sep|>updated/src/gov/nih/nci/calab/dto/common/UserBean.java package gov.nih.nci.calab.dto.common; /** * This class includes properties for User Authentication and Authorizati...
04a0d0a9ce2c1da6be8dc6aeb31cdc545f348d91
src/gov/nih/nci/calab/dto/common/UserBean.java
src/gov/nih/nci/calab/dto/common/UserBean.java
Java
<|file_sep|>original/examples/battery-voltage.js var five = require('johnny-five'); var ChipIO = require('../index'); // or require('chip-io'); var board = new five.Board({ io: new ChipIO() }); board.on('ready', function() { // create (analog) sensor on BAT pin var bat = new five.Sensor('BAT'); // listen for...
var five = require('johnny-five'); var ChipIO = require('../index'); // or require('chip-io'); var board = new five.Board({ io: new ChipIO() }); board.on('ready', function() { // create (analog) sensor on BAT pin var bat = new five.Sensor('BAT'); // listen for value changes bat.on('change', function(value)...
<|file_sep|>original/examples/battery-voltage.js var five = require('johnny-five'); var ChipIO = require('../index'); // or require('chip-io'); var board = new five.Board({ io: new ChipIO() }); board.on('ready', function() { // create (analog) sensor on BAT pin var bat = new five.Sensor('BAT'); // listen for...
c3cbfb4b8bf326ebc94c700f85626ee0a32d4f47
examples/battery-voltage.js
examples/battery-voltage.js
JavaScript
<|file_sep|>mwms/prometheus/prometheus.sls.diff original: updated: {% set prom_alerts = salt['pillar.get']('prometheus:alerts') %} {% if not 'rule_files' in prom_config %} {% do prom_config.update({'rule_files': ['alerts.rules']}) %} {% endif %} <|file_sep|>original/mwms/prometheus/prometheus.sls /etc/prometheus/prom...
{% if not 'rule_files' in prom_config %} {% do prom_config.update({'rule_files': ['alerts.rules']}) %} {% endif %} /etc/prometheus/prometheus.yml: file.managed: - makedirs: True - contents: {{ prom_config | yaml }} /etc/prometheus/alerts.rules: file.managed: - makedirs: True - contents: | ...
<|file_sep|>mwms/prometheus/prometheus.sls.diff original: updated: {% set prom_alerts = salt['pillar.get']('prometheus:alerts') %} {% if not 'rule_files' in prom_config %} {% do prom_config.update({'rule_files': ['alerts.rules']}) %} {% endif %} <|file_sep|>original/mwms/prometheus/prometheus.sls /etc/prometheus/prom...
07da018c32d3394694341a3d7bcaa686e479ad16
mwms/prometheus/prometheus.sls
mwms/prometheus/prometheus.sls
SaltStack
<|file_sep|>README.md.diff original: [![Dependencies Status][dependencies-image]][dependencies-url] [![Dev Dependencies Status][dependencies-dev-image]][dependencies-dev-url] [![Build Status][travis-image]][travis-url] updated: [![Dependencies Status][gemnasium-image]][gemnasium-url] [![Build Status][travis-image]][tra...
> A windows package manager ## What is Ruche ? Ruche is designed to help Windows developers to work. ## Usage ```bat ruche install <package> ruche uninstall <package> ruche alternatives <package> ``` [ruche-url]: https://github.com/quentinrossetti/ruche [ruche-image]:raw.githubusercontent.com/quentinrossetti/ruch...
<|file_sep|>README.md.diff original: [![Dependencies Status][dependencies-image]][dependencies-url] [![Dev Dependencies Status][dependencies-dev-image]][dependencies-dev-url] [![Build Status][travis-image]][travis-url] updated: [![Dependencies Status][gemnasium-image]][gemnasium-url] [![Build Status][travis-image]][tra...
f4541434a634514c68c57d7441c6961202cc5eda
README.md
README.md
Markdown
<|file_sep|>original/setup.cfg [build_sphinx] source-dir = doc/en/ build-dir = doc/build all_files = 1 [upload_sphinx] upload-dir = doc/en/build/html <|file_sep|>current/setup.cfg [build_sphinx] source-dir = doc/en/ build-dir = doc/build all_files = 1 [upload_sphinx] upload-dir = doc/en/build/html <|file_sep|>updated...
[build_sphinx] source-dir = doc/en/ build-dir = doc/build all_files = 1 [upload_sphinx] upload-dir = doc/en/build/html [wheel] universal = 1
<|file_sep|>original/setup.cfg [build_sphinx] source-dir = doc/en/ build-dir = doc/build all_files = 1 [upload_sphinx] upload-dir = doc/en/build/html <|file_sep|>current/setup.cfg [build_sphinx] source-dir = doc/en/ build-dir = doc/build all_files = 1 [upload_sphinx] upload-dir = doc/en/build/html <|file_sep|>updated...
5a88a9b22afe9f6ae2d0aba7a9b055514232da06
setup.cfg
setup.cfg
INI
<|file_sep|>original/_includes/head.html <head> <title>{{ site.title }}</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <!--[if lte IE 8]><script src="{{ "assets/js/ie/html5shiv.js" | relative_url }}"></script><![endif]--> <link rel="stylesh...
<head> <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <!--[if lte IE 8]><script src="{{ "assets/js/ie/html5shiv.js" | relative_url }}"></script><![endif]--> <link rel=...
<|file_sep|>original/_includes/head.html <head> <title>{{ site.title }}</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <!--[if lte IE 8]><script src="{{ "assets/js/ie/html5shiv.js" | relative_url }}"></script><![endif]--> <link rel="stylesh...
033cfa2c44bf53d3939524c87671633c9ab158f6
_includes/head.html
_includes/head.html
HTML
<|file_sep|>original/package/snapcraft.yaml name: konstructs-client version: 0 summary: A voxel based game client description: An open source Infiniminer/Minecraft inspired multiplayer game. confinement: strict grade: devel apps: konstructs-client: command: desktop-launch $SNAP/konstructs-snap-wrapper plugs:...
name: konstructs-client version: 0 summary: A voxel based game client description: An open source Infiniminer/Minecraft inspired multiplayer game. confinement: strict grade: stable apps: konstructs-client: command: desktop-launch $SNAP/konstructs-snap-wrapper plugs: - x11 - network - opengl...
<|file_sep|>original/package/snapcraft.yaml name: konstructs-client version: 0 summary: A voxel based game client description: An open source Infiniminer/Minecraft inspired multiplayer game. confinement: strict grade: devel apps: konstructs-client: command: desktop-launch $SNAP/konstructs-snap-wrapper plugs:...
4b5a5f68a2dbdea209a1f1f7be95b0d6af75b5a7
package/snapcraft.yaml
package/snapcraft.yaml
YAML
<|file_sep|>original/.travis.yml language: python python: - '3.4' env: - HASS=0.48.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config <|file_sep|>current/.travis.yml language: python python: - '3.4' env: - HASS=0.48...
language: python python: - '3.4' env: - HASS=0.51.2 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config
<|file_sep|>original/.travis.yml language: python python: - '3.4' env: - HASS=0.48.1 before_install: - mv secrets_dummy.yaml secrets.yaml install: - pip3 install homeassistant==$HASS script: - hass -c . --script check_config <|file_sep|>current/.travis.yml language: python python: - '3.4' env: - HASS=0.48...
a9a5e5e6354d80317bf3994e50ceccde88c4b228
.travis.yml
.travis.yml
YAML
<|file_sep|>zsh/zsh.symlink/aliases.zsh.diff original: updated: alias ll="ls -lhN" <|file_sep|>original/zsh/zsh.symlink/aliases.zsh #!/usr/bin/env zsh # aliases! # external source $(which virtualenvwrapper_lazy.sh) # my aliases alias grip="grep -i" alias psg="ps -ef | grep" alias pyjson="python -m json.tool" alias r...
#!/usr/bin/env zsh # aliases! # external source $(which virtualenvwrapper_lazy.sh) # my aliases alias grip="grep -i" alias ll="ls -lhN" alias psg="ps -ef | grep" alias pyjson="python -m json.tool" alias reload="source ~/.zshrc"
<|file_sep|>zsh/zsh.symlink/aliases.zsh.diff original: updated: alias ll="ls -lhN" <|file_sep|>original/zsh/zsh.symlink/aliases.zsh #!/usr/bin/env zsh # aliases! # external source $(which virtualenvwrapper_lazy.sh) # my aliases alias grip="grep -i" alias psg="ps -ef | grep" alias pyjson="python -m json.tool" alias r...
dc942b9ba1efd2ead999790904293b140c3b999b
zsh/zsh.symlink/aliases.zsh
zsh/zsh.symlink/aliases.zsh
Shell
<|file_sep|>original/precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and...
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package net.uncontended.precipice.timeout; import java.util.conc...
<|file_sep|>original/precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and...
1c0b4c874aeac90bb6755741b9425c8eea8bf03d
precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java
precipice-core/src/main/java/net/uncontended/precipice/timeout/NewTimerService.java
Java
<|file_sep|>original/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 <|file_sep|>current/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 <|file_sep|>updated/.travis.yml
rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.10 - 2.5.9 - 2.6.8 - 2.7.4
<|file_sep|>original/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 <|file_sep|>current/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 <|file_sep|>updated/.travis.yml rvm: - 1.9.3-p551 - 2.0.0-p648 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.10 - 2.5.9 - 2.6.8 - 2.7.4
a882c477ec6df6cd5d748ec864658ab8e1b09e94
.travis.yml
.travis.yml
YAML
<|file_sep|>lattice_length.py.diff original: myLattice = ap.machines.getLattice() updated: my_lattice = ap.machines.getLattice() <|file_sep|>original/lattice_length.py # Load the machine import pkg_resources pkg_resources.require('aphla') import aphla as ap # Load the machine ap.machines.load('SRI21') myLattice = ap....
# Load the machine import pkg_resources pkg_resources.require('aphla') import aphla as ap # Load the machine ap.machines.load('SRI21') my_lattice = ap.machines.getLattice() length = 0 for key in range(my_lattice.size()): length += my_lattice[key].length print "The length of the lattice is {}.".format(length)
<|file_sep|>lattice_length.py.diff original: myLattice = ap.machines.getLattice() updated: my_lattice = ap.machines.getLattice() <|file_sep|>original/lattice_length.py # Load the machine import pkg_resources pkg_resources.require('aphla') import aphla as ap # Load the machine ap.machines.load('SRI21') myLattice = ap....
23c3b63e9f336ad70d481c0355d2f7f1544b9d54
lattice_length.py
lattice_length.py
Python
<|file_sep|>original/src/scripts/plugins/Storage.js class Storage extends Phaser.Plugin { constructor (game, parent) { super(game, parent); } init (name) { localforage.config({ name }); } // -------------------------------------------------------------------------- fetch (key, callback = () => {...
class Storage extends Phaser.Plugin { constructor (game, parent) { super(game, parent); } init (name, version = '1.0') { localforage.config({ name, version }); } // -------------------------------------------------------------------------- fetch (key, callback = () => {}, context = null) { l...
<|file_sep|>original/src/scripts/plugins/Storage.js class Storage extends Phaser.Plugin { constructor (game, parent) { super(game, parent); } init (name) { localforage.config({ name }); } // -------------------------------------------------------------------------- fetch (key, callback = () => {...
b94a452d4030829731047014cefa4f178591f891
src/scripts/plugins/Storage.js
src/scripts/plugins/Storage.js
JavaScript
<|file_sep|>original/src/cf/requirements/api_endpoint.go "fmt" ) type ApiEndpointRequirement struct { ui terminal.UI config configuration.Reader } func NewApiEndpointRequirement(ui terminal.UI, config configuration.Reader) ApiEndpointRequirement { return ApiEndpointRequirement{ui, config} } func (req ApiEndp...
"fmt" ) type ApiEndpointRequirement struct { ui terminal.UI config configuration.Reader } func NewApiEndpointRequirement(ui terminal.UI, config configuration.Reader) ApiEndpointRequirement { return ApiEndpointRequirement{ui, config} } func (req ApiEndpointRequirement) Execute() (success bool) { if req.confi...
<|file_sep|>original/src/cf/requirements/api_endpoint.go "fmt" ) type ApiEndpointRequirement struct { ui terminal.UI config configuration.Reader } func NewApiEndpointRequirement(ui terminal.UI, config configuration.Reader) ApiEndpointRequirement { return ApiEndpointRequirement{ui, config} } func (req ApiEndp...
4c1189010453905be238298049a6ff245619a5a9
src/cf/requirements/api_endpoint.go
src/cf/requirements/api_endpoint.go
Go
<|file_sep|>original/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.13" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz"; <|file_sep|>current/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.13" echo "https://download.docker.com/linux/static/stable/x86_64/d...
#!/bin/bash set -e version="20.10.14" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
<|file_sep|>original/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.13" echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz"; <|file_sep|>current/ci/images/get-docker-url.sh #!/bin/bash set -e version="20.10.13" echo "https://download.docker.com/linux/static/stable/x86_64/d...
15041cfbd4a07a8bfb4063239638d8366b4daf63
ci/images/get-docker-url.sh
ci/images/get-docker-url.sh
Shell
<|file_sep|>original/projects/index.markdown title: Projects tags: - michael - paquier - developer - project - open source - development - code - postgresql - postgres - database - module - home - plugin --- The following items are available from here: * [Home - Environment management with Git](/projects/home/) * ...
title: Projects tags: - michael - paquier - developer - project - open source - development - code - postgresql - postgres - database - module - home - plugin --- The following items are available from here: * [Home - Environment management with Git](/projects/home/) * [lem - light-weight emacs-like editor](/proje...
<|file_sep|>original/projects/index.markdown title: Projects tags: - michael - paquier - developer - project - open source - development - code - postgresql - postgres - database - module - home - plugin --- The following items are available from here: * [Home - Environment management with Git](/projects/home/) * ...
7fd0b0ffe2495d5781a8665b151d6f159dc91567
projects/index.markdown
projects/index.markdown
Markdown