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|>app/controllers/comments_controller.rb.diff original: @comment = Comment.new updated: if current_user @comment = Comment.new else redirect_to root_path, notice: 'You have to be logged it to do that!!' end <|file_sep|>app/controllers/comments_controller.rb.diff original: updated:...
if @comment.update(comment_params) format.html { redirect_to @comment, notice: 'Comment was successfully updated.' } else format.html { render :edit } end end end def destroy if current_user @comment.destroy respond_to do |format| format.html { redirect...
<|file_sep|>app/controllers/comments_controller.rb.diff original: @comment = Comment.new updated: if current_user @comment = Comment.new else redirect_to root_path, notice: 'You have to be logged it to do that!!' end <|file_sep|>app/controllers/comments_controller.rb.diff original: updated:...
604d5d239fff49afb57340a5a223522f424c21c1
app/controllers/comments_controller.rb
app/controllers/comments_controller.rb
Ruby
<|file_sep|>app/controllers/events_controller.rb.diff original: class EventsController < InheritedResources::Base updated: class EventsController < ApplicationController <|file_sep|>original/app/controllers/events_controller.rb class EventsController < InheritedResources::Base before_filter :authenticate_ngo!, only: ...
class EventsController < ApplicationController before_filter :authenticate_ngo!, only: :new def new @event = Event.new #@event.shifts.build(volunteers_needed: 1, starts_at: Time.now, ends_at: 2.hours.from_now) end end
<|file_sep|>app/controllers/events_controller.rb.diff original: class EventsController < InheritedResources::Base updated: class EventsController < ApplicationController <|file_sep|>original/app/controllers/events_controller.rb class EventsController < InheritedResources::Base before_filter :authenticate_ngo!, only: ...
f9a19ce6f511fb2d50a4c62bfe26fec8fadbb0a9
app/controllers/events_controller.rb
app/controllers/events_controller.rb
Ruby
<|file_sep|>app/controllers/application_controller.rb.diff original: updated: before_action :set_locale <|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_sessio...
# Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_action :set_locale helper_method :course_slug_path def course_slug_path(slug) course_path(:id => slug).gsub("%2F", "/") end def set_locale I18n.l...
<|file_sep|>app/controllers/application_controller.rb.diff original: updated: before_action :set_locale <|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_sessio...
6f4db282543a6ff8b90d218a888e958daaa429cb
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/setup.py 'psqlgraph', 'gdcdictionary', 'dictionaryutils>=2.0.0,<3.0.0', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/NCI-GDC/cdisutils.git@8...
'psqlgraph', 'gdcdictionary', 'dictionaryutils>=2.0.0,<3.0.0', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df...
<|file_sep|>original/setup.py 'psqlgraph', 'gdcdictionary', 'dictionaryutils>=2.0.0,<3.0.0', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/NCI-GDC/cdisutils.git@8...
9d35e9f59ca6e15ca7484a686235c12b64858861
setup.py
setup.py
Python
<|file_sep|>original/package.json { "name": "rhom", "version": "0.2.7", "description": "Redis Hash-Object Mapper mixin", "author": "Jonathan Anderson <janderson@janderson.ca>", "homepage": "https://github.com/jdpanderson/rhom", "main": "./index.js", "repository": { "type": "git", "url": "https://g...
{ "name": "rhom", "version": "0.2.8", "description": "Redis Hash-Object Mapper mixin", "author": "Jonathan Anderson <janderson@janderson.ca>", "homepage": "https://github.com/jdpanderson/rhom", "main": "./index.js", "repository": { "type": "git", "url": "https://github.com/jdpanderson/rhom.git" ...
<|file_sep|>original/package.json { "name": "rhom", "version": "0.2.7", "description": "Redis Hash-Object Mapper mixin", "author": "Jonathan Anderson <janderson@janderson.ca>", "homepage": "https://github.com/jdpanderson/rhom", "main": "./index.js", "repository": { "type": "git", "url": "https://g...
830955a7593fcda1973e2070f78f9c04006e72a1
package.json
package.json
JSON
<|file_sep|>README.md.diff original: ## Angular / Gulp Patterns updated: <img src="https://github.com/natete/angular-matrix-gulp/blob/master/assets/img/logo-repo-mini.png" align="right" /> # Angular / Gulp Patterns <|file_sep|>README.md.diff original: ![repo-logo]() updated: ![repo-logo](https://github.com/natete/angul...
<img src="https://github.com/natete/angular-matrix-gulp/blob/master/assets/img/logo-repo-mini.png" align="right" /> # Angular / Gulp Patterns ![repo-logo](https://github.com/natete/angular-matrix-gulp/blob/master/assets/img/logo-repo.png) ## Synopsis This repository contains some **gulp** patterns. They can be appli...
<|file_sep|>README.md.diff original: ## Angular / Gulp Patterns updated: <img src="https://github.com/natete/angular-matrix-gulp/blob/master/assets/img/logo-repo-mini.png" align="right" /> # Angular / Gulp Patterns <|file_sep|>README.md.diff original: ![repo-logo]() updated: ![repo-logo](https://github.com/natete/angul...
4cfa446c25cb60435c7611180db3e0fe57833c94
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/seedu/address/commons/util/DateTimeUtil.java <|file_sep|>current/src/main/java/seedu/address/commons/util/DateTimeUtil.java <|file_sep|>updated/src/main/java/seedu/address/commons/util/DateTimeUtil.java
package seedu.address.commons.util; import java.util.Date; //@@author A0162877N public class DateTimeUtil { public static final String DEFAULT_STARTTIME = "00:00:00"; public static final String DEFAULT_ENDTIME = "23:59:59"; public static final int DATE_INDEX = 0; public static final String DATE_DELIM...
<|file_sep|>original/src/main/java/seedu/address/commons/util/DateTimeUtil.java <|file_sep|>current/src/main/java/seedu/address/commons/util/DateTimeUtil.java <|file_sep|>updated/src/main/java/seedu/address/commons/util/DateTimeUtil.java package seedu.address.commons.util; import java.util.Date; //@@author A0162877...
fc6f2f33f02818146cd8da58e78e341ceb2d8443
src/main/java/seedu/address/commons/util/DateTimeUtil.java
src/main/java/seedu/address/commons/util/DateTimeUtil.java
Java
<|file_sep|>original/deploy.sh # setup dot files ARCHIVE="/tmp/dot-files.tar.gz" git archive -o "$ARCHIVE" HEAD pushd "$HOME" tar xvf "$ARCHIVE" rm "$ARCHIVE" # Ensure emacs is installed properly cd "$HOME/.emacs.d" git remote -v | grep "netsight/emacs" if [ $? -ne 0 ]; then cd "$HOME" git clone https://githu...
#!/bin/sh # setup dot files ARCHIVE="/tmp/dot-files.tar.gz" git archive -o "$ARCHIVE" HEAD pushd "$HOME" tar xvf "$ARCHIVE" rm "$ARCHIVE" # Ensure emacs is installed properly cd "$HOME/.emacs.d" git remote -v | grep "netsight/emacs" if [ $? -ne 0 ]; then cd "$HOME" git clone https://github.com/netsight/emacs....
<|file_sep|>original/deploy.sh # setup dot files ARCHIVE="/tmp/dot-files.tar.gz" git archive -o "$ARCHIVE" HEAD pushd "$HOME" tar xvf "$ARCHIVE" rm "$ARCHIVE" # Ensure emacs is installed properly cd "$HOME/.emacs.d" git remote -v | grep "netsight/emacs" if [ $? -ne 0 ]; then cd "$HOME" git clone https://githu...
7c4ae67cf9460425964e1bbb6eb9c7549e432f04
deploy.sh
deploy.sh
Shell
<|file_sep|>.travis.yml.diff original: language: objective-c updated: <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8 before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.1.0.rc2' -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild...
osx_image: xcode8 language: generic before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.1.0.rc2' -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild clean test -workspace Example/LogKit.xcworkspace -scheme Example -destination "platform=iOS Simulator,name...
<|file_sep|>.travis.yml.diff original: language: objective-c updated: <|file_sep|>original/.travis.yml language: objective-c osx_image: xcode8 before_install: - gem install xcpretty -N --no-ri --no-rdoc - gem install cocoapods -v '1.1.0.rc2' -N --no-ri --no-rdoc script: - set -o pipefail - xcodebuild...
019fcc498d5fa63e15aa37d474c6c4ca975b11c9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doc/WillfilesFormatting.txt <|file_sep|>current/doc/WillfilesFormatting.txt <|file_sep|>updated/doc/WillfilesFormatting.txt
Зміни внесені в файли im.will.yml i ex.will.yml ex.will.yml Section about - name - written actual name; - description - written actual destination; - version - written actual version; - keywords - written actual keywords; - contributors - written actual contributors; - npm.name - written actual npm.name; Section path ...
<|file_sep|>original/doc/WillfilesFormatting.txt <|file_sep|>current/doc/WillfilesFormatting.txt <|file_sep|>updated/doc/WillfilesFormatting.txt Зміни внесені в файли im.will.yml i ex.will.yml ex.will.yml Section about - name - written actual name; - description - written actual destination; - version - written actu...
38c5bd81e8250fb8e93856a5f69f8a98be123271
doc/WillfilesFormatting.txt
doc/WillfilesFormatting.txt
Text
<|file_sep|>original/package.json { "name": "baremetal", "version": "0.1.0", "description": "Lightweight CSS framework.", "repository": { "type": "git", "url": "git+https://github.com/RyenNelsen/baremetal.git" }, "author": "Ryen Nelsen <ryennelsen@gmail.com>", "license": "MIT", "bugs": { "ur...
{ "name": "baremetal", "version": "0.1.0", "description": "Lightweight CSS framework.", "repository": { "type": "git", "url": "git+https://github.com/RyenNelsen/baremetal.git" }, "author": "Ryen Nelsen <ryennelsen@gmail.com>", "license": "MIT", "scripts": { "build": "node ./node_modules/gulp...
<|file_sep|>original/package.json { "name": "baremetal", "version": "0.1.0", "description": "Lightweight CSS framework.", "repository": { "type": "git", "url": "git+https://github.com/RyenNelsen/baremetal.git" }, "author": "Ryen Nelsen <ryennelsen@gmail.com>", "license": "MIT", "bugs": { "ur...
ff1ebd36428032b963599f52736190f3ff2ac53b
package.json
package.json
JSON
<|file_sep|>majority_element_cr.cr.diff original: count > elements.count / 2 ? element : nil updated: count > elements.size / 2 ? element : nil <|file_sep|>majority_element_cr.cr.diff original: if result.count == 0 updated: if result.size == 0 <|file_sep|>original/majority_element_cr.cr def majority_element...
def majority_element(elements) counts = elements.each_with_object(Hash(String, Int32).new(0)) do |element, collector| collector[element] += 1 collector end result = counts.map do |element, count| count > elements.size / 2 ? element : nil end.compact if result.size == 0 return nil elsif res...
<|file_sep|>majority_element_cr.cr.diff original: count > elements.count / 2 ? element : nil updated: count > elements.size / 2 ? element : nil <|file_sep|>majority_element_cr.cr.diff original: if result.count == 0 updated: if result.size == 0 <|file_sep|>original/majority_element_cr.cr def majority_element...
c0992f9a6084bf5fb97fdfa7c57dbea7a493b9e9
majority_element_cr.cr
majority_element_cr.cr
Crystal
<|file_sep|>original/python/smqtk/web/search_app/modules/static_host.py <|file_sep|>current/python/smqtk/web/search_app/modules/static_host.py <|file_sep|>updated/python/smqtk/web/search_app/modules/static_host.py
import flask __author__ = 'paul.tunison@kitware.com' class StaticDirectoryHost (flask.Blueprint): """ Module that will host a given directory to the given URL prefix (relative to the parent module's prefix). Instances of this class will have nothing set to their static URL path, as a blank stri...
<|file_sep|>original/python/smqtk/web/search_app/modules/static_host.py <|file_sep|>current/python/smqtk/web/search_app/modules/static_host.py <|file_sep|>updated/python/smqtk/web/search_app/modules/static_host.py import flask __author__ = 'paul.tunison@kitware.com' class StaticDirectoryHost (flask.Blueprint): ...
8f6db5945348879a7340f8a4c7da6111a06cd062
python/smqtk/web/search_app/modules/static_host.py
python/smqtk/web/search_app/modules/static_host.py
Python
<|file_sep|>facilities/tests/test_pracititioner_models.py.diff original: FacilityApproval updated: FacilityApproval, InspectionReport, CoverTemplateReport <|file_sep|>original/facilities/tests/test_pracititioner_models.py class TestModels(TestCase): def test_save(self): models = [ ...
) class TestModels(TestCase): def test_save(self): models = [ PracticeType, Speciality, Qualification, PractitionerQualification, PractitionerContact, PractitionerFacility, Practitioner, ServiceCategory, Option, Service, FacilityService, ServiceOption, Servi...
<|file_sep|>facilities/tests/test_pracititioner_models.py.diff original: FacilityApproval updated: FacilityApproval, InspectionReport, CoverTemplateReport <|file_sep|>original/facilities/tests/test_pracititioner_models.py class TestModels(TestCase): def test_save(self): models = [ ...
6dfddd2502ea3ea2682f6caa8824768987d477f3
facilities/tests/test_pracititioner_models.py
facilities/tests/test_pracititioner_models.py
Python
<|file_sep|>composer.json.diff original: "php": "^8.0", updated: "php": "^8.1", <|file_sep|>composer.json.diff original: "phpffcms/ffcms-core": "1.2.*", "phpffcms/ffcms-console": "1.2.*", updated: "phpffcms/ffcms-core": "1.3.*", "phpffcms/ffcms-console": "1.3.*", <|file_s...
"ext-mbstring": "*", "ext-gd": "*", "ext-zip": "*", "ext-PDO": "*", "ext-json": "*", "phpffcms/ffcms-core": "1.3.*", "phpffcms/ffcms-console": "1.3.*", "phpffcms/ffcms-eloquent-search": "1.*", "phpffcms/ffcms-tinymce": "1.*", "phpffcms/lang...
<|file_sep|>composer.json.diff original: "php": "^8.0", updated: "php": "^8.1", <|file_sep|>composer.json.diff original: "phpffcms/ffcms-core": "1.2.*", "phpffcms/ffcms-console": "1.2.*", updated: "phpffcms/ffcms-core": "1.3.*", "phpffcms/ffcms-console": "1.3.*", <|file_s...
ec670c4a929c0bd0f2e190c8e92d5998597bb7fe
composer.json
composer.json
JSON
<|file_sep|>original/setup.py from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='ulf.p.mueller@hs-flensburg.de', description='ego input/output repository', version='0.4.5', url='https://github.com/opene...
from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='ulf.p.mueller@hs-flensburg.de', description='ego input/output repository', version='0.4.5', url='https://github.com/openego/ego.io', packages=fin...
<|file_sep|>original/setup.py from setuptools import find_packages, setup setup(name='egoio', author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES', author_email='ulf.p.mueller@hs-flensburg.de', description='ego input/output repository', version='0.4.5', url='https://github.com/opene...
026621ae88fc545de32d47d92d34af5049e48704
setup.py
setup.py
Python
<|file_sep|>original/composer.json "require": { "php": "^5.5 || ^7.0", "zendframework/zend-escaper": "^2.5", "zendframework/zend-validator": "^2.5" }, "extra": { "branch-alias": { "dev-master": "2.5-dev", "dev-develop": "2.6-dev" } }, "...
"require": { "php": "^5.5 || ^7.0", "zendframework/zend-escaper": "^2.5", "zendframework/zend-validator": "^2.5" }, "extra": { "branch-alias": { "dev-master": "2.5-dev", "dev-develop": "2.6-dev" } }, "autoload-dev": { "psr-4": {...
<|file_sep|>original/composer.json "require": { "php": "^5.5 || ^7.0", "zendframework/zend-escaper": "^2.5", "zendframework/zend-validator": "^2.5" }, "extra": { "branch-alias": { "dev-master": "2.5-dev", "dev-develop": "2.6-dev" } }, "...
3b348aa3d15a7e9ed116111f5324a3f7487a7595
composer.json
composer.json
JSON
<|file_sep|>original/requirements-dev.txt ipdb==0.10.3 pytest==3.0.7 pytest-cov==2.4.0 coverage==4.3.4 flake8==3.3.0 -e . aiohttp-jinja2==0.13.0 aiohttp-mako==0.3.0 docutils==0.13.1 pygments==2.2.0 aiohttp==2.0.7 yarl==0.10.2 multidict==2.1.4 pytest-aiohttp==0.1.3 pytest-sugar==0.8.0 pytest-timeout==1.2.0 <|file_sep|>c...
ipdb==0.10.3 pytest==3.0.7 pytest-cov==2.4.0 coverage==4.3.4 flake8==3.3.0 -e . aiohttp-jinja2==0.13.0 aiohttp-mako==0.3.0 docutils==0.13.1 pygments==2.2.0 aiohttp==2.0.7 yarl==0.10.3 multidict==2.1.4 pytest-aiohttp==0.1.3 pytest-sugar==0.8.0 pytest-timeout==1.2.0
<|file_sep|>original/requirements-dev.txt ipdb==0.10.3 pytest==3.0.7 pytest-cov==2.4.0 coverage==4.3.4 flake8==3.3.0 -e . aiohttp-jinja2==0.13.0 aiohttp-mako==0.3.0 docutils==0.13.1 pygments==2.2.0 aiohttp==2.0.7 yarl==0.10.2 multidict==2.1.4 pytest-aiohttp==0.1.3 pytest-sugar==0.8.0 pytest-timeout==1.2.0 <|file_sep|>c...
d79046ebdafe31d2ccf21b281ed1eba24a9e63aa
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/src/main/java/me/rkfg/xmpp/bot/plugins/game/command/ListPlayersCommand.java List<IPlayer> playersList = World.THIS.listPlayers(); if (playersList.isEmpty()) { return Optional.of("Игроков нет."); } return IntStream.range(0, playersList.size()).mapToObj(i -...
final IPlayer p = playersList.get(i); return "" + (i + 1) + ": " + p.getName() + (p.isAlive() ? "" : " [мёртв]") + (p == player ? " [вы]" : ""); }).reduce(commaReducer).map(list -> "Игроки: " + list); } @Override public Optional<String> getHelp() { return Optional.of...
<|file_sep|>original/src/main/java/me/rkfg/xmpp/bot/plugins/game/command/ListPlayersCommand.java List<IPlayer> playersList = World.THIS.listPlayers(); if (playersList.isEmpty()) { return Optional.of("Игроков нет."); } return IntStream.range(0, playersList.size()).mapToObj(i -...
24bf05a0329fc0fc75d9e110cd72a2ef832cb4e2
src/main/java/me/rkfg/xmpp/bot/plugins/game/command/ListPlayersCommand.java
src/main/java/me/rkfg/xmpp/bot/plugins/game/command/ListPlayersCommand.java
Java
<|file_sep|>original/package.json "bin": { "hear-flowdock-speak": "./index.js" }, "scripts": { "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "flowdock", "speech", "tts", "say" ], "author": "Harold Putman <h.putman@ieee.org>", ...
"hear-flowdock-speak": "./index.js" }, "scripts": { "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "flowdock", "speech", "tts", "say" ], "author": "Harold Putman <h.putman@ieee.org>", "license": "MIT", "repository": "HaroldPut...
<|file_sep|>original/package.json "bin": { "hear-flowdock-speak": "./index.js" }, "scripts": { "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "flowdock", "speech", "tts", "say" ], "author": "Harold Putman <h.putman@ieee.org>", ...
689296a254438418943e79d7adc95e9356c59924
package.json
package.json
JSON
<|file_sep|>commands/stat.go.diff original: updated: "os" "text/tabwriter" <|file_sep|>commands/stat.go.diff original: updated: w := new(tabwriter.Writer) w.Init(os.Stdout, 0, 8, 2, '\t', 0) fmt.Fprintln(w, "Resource Type\tName\t") <|file_sep|>commands/stat.go.diff original: fmt.Printf("%s\t%s\n", r.Type, r.N...
util.Check(stat(cmd, args)) } } func stat(cmd *cobra.Command, args []string) error { service, err := googlecloud.GetService() util.Check(err) call := service.Resources.List(Project, Name) resources, error := call.Do() util.Check(error) w := new(tabwriter.Writer) w.Init(os.Stdout, 0, 8, 2, '\t', 0) fmt.Fpr...
<|file_sep|>commands/stat.go.diff original: updated: "os" "text/tabwriter" <|file_sep|>commands/stat.go.diff original: updated: w := new(tabwriter.Writer) w.Init(os.Stdout, 0, 8, 2, '\t', 0) fmt.Fprintln(w, "Resource Type\tName\t") <|file_sep|>commands/stat.go.diff original: fmt.Printf("%s\t%s\n", r.Type, r.N...
8c0792e5bd75542088bef7d5c65b98d431d11be3
commands/stat.go
commands/stat.go
Go
<|file_sep|>original/package.json "main": "dist/index.js", "peerDependencies": { "react": "~0.12.0", "moment": "^2.8.3" }, "devDependencies": { "jsxhint": "^0.5.0", "mocha": "~1.17.1", "mochify": "^2.1.0", "react": "~0.12.0", "react-tools": "^0.12.2", "reactify": "^0.17.0" }, ...
"main": "dist/index.js", "peerDependencies": { "react": "~0.12.0", "moment": "^2.8.3" }, "devDependencies": { "jsxhint": "^0.5.0", "mocha": "~1.17.1", "mochify": "^2.1.0", "react": "~0.12.0", "moment": "^2.8.3", "react-tools": "^0.12.2", "reactify": "^0.17.0" }, "reposito...
<|file_sep|>original/package.json "main": "dist/index.js", "peerDependencies": { "react": "~0.12.0", "moment": "^2.8.3" }, "devDependencies": { "jsxhint": "^0.5.0", "mocha": "~1.17.1", "mochify": "^2.1.0", "react": "~0.12.0", "react-tools": "^0.12.2", "reactify": "^0.17.0" }, ...
8b0e1c1afbc102d7d638ac8ab31c6194debf715b
package.json
package.json
JSON
<|file_sep|>original/app/src/html/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Chaos Studio - The Art and Beauty of Chaos</title> <link rel="stylesheet" type="text/css" href="css/reset.css"> <link rel="stylesheet" type="text/css" href="css/bootstra...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Chaos Studio - The Art and Beauty of Chaos</title> <link rel="stylesheet" type="text/css" href="css/reset.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" ty...
<|file_sep|>original/app/src/html/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Chaos Studio - The Art and Beauty of Chaos</title> <link rel="stylesheet" type="text/css" href="css/reset.css"> <link rel="stylesheet" type="text/css" href="css/bootstra...
b0ea06af5fa9bbacf31e9ee0ff0d239018b5c705
app/src/html/index.html
app/src/html/index.html
HTML
<|file_sep|>original/packages/cl/clr-bindings.yaml <|file_sep|>current/packages/cl/clr-bindings.yaml <|file_sep|>updated/packages/cl/clr-bindings.yaml
homepage: https://gitlab.com/tim-m89/clr-haskell/tree/master/libs/clr-bindings changelog-type: '' hash: 71f9bc6cb35fd201c22f5cec45f9e411045d8a0f16a02c9f58ac66afd46a9f69 test-bench-deps: clr-bindings: -any base: -any maintainer: tim.matthews7@gmail.com synopsis: Glue between clr-host and clr-typed changelog: '' basi...
<|file_sep|>original/packages/cl/clr-bindings.yaml <|file_sep|>current/packages/cl/clr-bindings.yaml <|file_sep|>updated/packages/cl/clr-bindings.yaml homepage: https://gitlab.com/tim-m89/clr-haskell/tree/master/libs/clr-bindings changelog-type: '' hash: 71f9bc6cb35fd201c22f5cec45f9e411045d8a0f16a02c9f58ac66afd46a9f6...
1542a0336846d43dea0cada7c9e8ad5fe76da5cd
packages/cl/clr-bindings.yaml
packages/cl/clr-bindings.yaml
YAML
<|file_sep|>original/migrations/006_add_indexes.py <|file_sep|>current/migrations/006_add_indexes.py <|file_sep|>updated/migrations/006_add_indexes.py
import logging import migrations logging.basicConfig() log = logging.getLogger() conn = migrations.connect() cur = conn.cursor() def drop_index(table, idx): cur.execute("SHOW INDEX FROM %s WHERE KEY_NAME='%s'" % (table, idx)) if cur.fetchone(): cur.execute("DROP INDEX %s ON %s" % (idx, table)) dro...
<|file_sep|>original/migrations/006_add_indexes.py <|file_sep|>current/migrations/006_add_indexes.py <|file_sep|>updated/migrations/006_add_indexes.py import logging import migrations logging.basicConfig() log = logging.getLogger() conn = migrations.connect() cur = conn.cursor() def drop_index(table, idx): c...
d7c958299382ec3177318cf818d0c90d467a2369
migrations/006_add_indexes.py
migrations/006_add_indexes.py
Python
<|file_sep|>original/requirements.txt fonttools==3.22.0 ufoLib==2.1.1 defcon==0.3.5 cu2qu==1.3.0 compreffor==0.4.6 booleanOperations==0.7.1 <|file_sep|>current/requirements.txt fonttools==3.22.0 ufoLib==2.1.1 defcon==0.3.5 cu2qu==1.3.0 compreffor==0.4.6 booleanOperations==0.7.1 <|file_sep|>updated/requirements.txt
fonttools==3.22.0 ufoLib==2.1.1 defcon==0.3.5 cu2qu==1.4.0 compreffor==0.4.6 booleanOperations==0.7.1
<|file_sep|>original/requirements.txt fonttools==3.22.0 ufoLib==2.1.1 defcon==0.3.5 cu2qu==1.3.0 compreffor==0.4.6 booleanOperations==0.7.1 <|file_sep|>current/requirements.txt fonttools==3.22.0 ufoLib==2.1.1 defcon==0.3.5 cu2qu==1.3.0 compreffor==0.4.6 booleanOperations==0.7.1 <|file_sep|>updated/requirements.txt font...
f62bb875a31f95497e9167ab6e5fc24133502a51
requirements.txt
requirements.txt
Text
<|file_sep|>app/assets/javascripts/components/chat_typing_label.js.jsx.diff original: if (len == 1) { updated: if (len === 1) { <|file_sep|>original/app/assets/javascripts/components/chat_typing_label.js.jsx render: function() { return <div> <span className="text-small gray-2">{this.messag...
render: function() { return <div> <span className="text-small gray-2">{this.message()}</span> </div> }, message: function() { var len = this.props.usernames.length if (len === 1) { return <span><strong>{this.props.usernames[0]}</strong> is typing</span> } else ...
<|file_sep|>app/assets/javascripts/components/chat_typing_label.js.jsx.diff original: if (len == 1) { updated: if (len === 1) { <|file_sep|>original/app/assets/javascripts/components/chat_typing_label.js.jsx render: function() { return <div> <span className="text-small gray-2">{this.messag...
42bae8555c21e4ef39ef6357f2e149c85575e9fb
app/assets/javascripts/components/chat_typing_label.js.jsx
app/assets/javascripts/components/chat_typing_label.js.jsx
JSX
<|file_sep|>original/db/migrate/20150714012523_add_institution_id_to_courses.rb <|file_sep|>current/db/migrate/20150714012523_add_institution_id_to_courses.rb <|file_sep|>updated/db/migrate/20150714012523_add_institution_id_to_courses.rb
class AddInstitutionIdToCourses < ActiveRecord::Migration def self.up add_column "courses","institutions_id",:integer, :default => nil end def self.down remove_column "courses","institutions_idrake " end end
<|file_sep|>original/db/migrate/20150714012523_add_institution_id_to_courses.rb <|file_sep|>current/db/migrate/20150714012523_add_institution_id_to_courses.rb <|file_sep|>updated/db/migrate/20150714012523_add_institution_id_to_courses.rb class AddInstitutionIdToCourses < ActiveRecord::Migration def self.up add_...
41cb189f7098a5cf015c2441d6cf097ae6ff87df
db/migrate/20150714012523_add_institution_id_to_courses.rb
db/migrate/20150714012523_add_institution_id_to_courses.rb
Ruby
<|file_sep|>original/scripts/bootstrap.sh echo -e "\033[32m$TEST passed\033[0m" fi } if [ ! $VIRTUAL_ENV ]; then virtualenv -p python3 ./venv . ./venv/bin/activate fi # if there isn't a version file we should copy the .dist one if [ ! -f ./app/version.py ]; then cp ./app/version.py.dist ./app/version.py f...
echo -e "\033[32m$TEST passed\033[0m" fi } if [ ! $VIRTUAL_ENV ]; then virtualenv -p python3 ./venv . ./venv/bin/activate fi # we need the version file to exist otherwise the app will blow up make generate-version-file # Install Python development dependencies pip3 install -r requirements_for_test.txt # C...
<|file_sep|>original/scripts/bootstrap.sh echo -e "\033[32m$TEST passed\033[0m" fi } if [ ! $VIRTUAL_ENV ]; then virtualenv -p python3 ./venv . ./venv/bin/activate fi # if there isn't a version file we should copy the .dist one if [ ! -f ./app/version.py ]; then cp ./app/version.py.dist ./app/version.py f...
b0d0a5627d0ce2a89d0da28144b46892665dc318
scripts/bootstrap.sh
scripts/bootstrap.sh
Shell
<|file_sep|>meta-arago-extras/recipes-benchmark/stream/stream_git.bb.diff original: PR = "r1" updated: PR = "r2" <|file_sep|>meta-arago-extras/recipes-benchmark/stream/stream_git.bb.diff original: SRCREV = "bd474633b7b0352211b48d84065bf7b7e166e4c2" updated: SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306" <|file_sep...
BRANCH ?= "master" SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306" SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-openmp" do_compile() { # build the release version oe_runmake } do_install() { install -d ${D}/${bindir} install -m 0755 ${S}/stre...
<|file_sep|>meta-arago-extras/recipes-benchmark/stream/stream_git.bb.diff original: PR = "r1" updated: PR = "r2" <|file_sep|>meta-arago-extras/recipes-benchmark/stream/stream_git.bb.diff original: SRCREV = "bd474633b7b0352211b48d84065bf7b7e166e4c2" updated: SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306" <|file_sep...
483e68faece7336b9268f32fc15d97e1fb99efac
meta-arago-extras/recipes-benchmark/stream/stream_git.bb
meta-arago-extras/recipes-benchmark/stream/stream_git.bb
BitBake
<|file_sep|>original/README.md # jcejohnson/ubuntu Unmodified Ubuntu 14.04 container. I use this as the base for my other containers. It really isn't very useful for anything else. ## Building the image ``` git clone https://github.com/jcejohnson/docker-ubuntu.git jcejohnson-ubuntu cd jcejohnson-ubuntu docker build -t...
# jcejohnson/ubuntu Unmodified Ubuntu 14.04 container. I use this as the base for my other containers. It really isn't very useful for anything else. ## Building the image ``` git clone https://github.com/jcejohnson/docker-ubuntu.git jcejohnson-ubuntu cd jcejohnson-ubuntu docker build -t jcejohnson/ubuntu . ``` ## Ru...
<|file_sep|>original/README.md # jcejohnson/ubuntu Unmodified Ubuntu 14.04 container. I use this as the base for my other containers. It really isn't very useful for anything else. ## Building the image ``` git clone https://github.com/jcejohnson/docker-ubuntu.git jcejohnson-ubuntu cd jcejohnson-ubuntu docker build -t...
515b273f93cecfe71fd9e5330993754d67cac618
README.md
README.md
Markdown
<|file_sep|>pi-setup/pi-install-code.sh.diff original: updated: chmod o+x $RCLOCAL <|file_sep|>original/pi-setup/pi-install-code.sh # scripts have already been run. . ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL FRESH $RCL...
. ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL FRESH $RCLOCAL RUNNER=/home/pi/RoboticLightBallet/pi-setup/pi-run-code.sh chmod +x $RUNNER sed "/exit 0/i \ $RUNNER &" \ < $RCLOCAL > /home/pi/rc.local.new mv /home/pi/rc...
<|file_sep|>pi-setup/pi-install-code.sh.diff original: updated: chmod o+x $RCLOCAL <|file_sep|>original/pi-setup/pi-install-code.sh # scripts have already been run. . ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL FRESH $RCL...
e3f69fecca2a06564d5b6995e472e8c466a7bc6b
pi-setup/pi-install-code.sh
pi-setup/pi-install-code.sh
Shell
<|file_sep|>original/src/foam/nanos/auth/Relationships.js hidden: true }, targetProperty: { hidden: true } }); */ foam.RELATIONSHIP({ cardinality: '1:*', sourceModel: 'foam.nanos.auth.Group', targetModel: 'foam.nanos.auth.User', forwardName: 'users', inverseName: 'group', sourceProperty: { ...
hidden: true }, targetProperty: { hidden: true } }); */ foam.RELATIONSHIP({ cardinality: '1:*', sourceModel: 'foam.nanos.auth.Group', targetModel: 'foam.nanos.auth.User', forwardName: 'users', inverseName: 'group', sourceProperty: { hidden: true }, targetProperty: { hidden: false ...
<|file_sep|>original/src/foam/nanos/auth/Relationships.js hidden: true }, targetProperty: { hidden: true } }); */ foam.RELATIONSHIP({ cardinality: '1:*', sourceModel: 'foam.nanos.auth.Group', targetModel: 'foam.nanos.auth.User', forwardName: 'users', inverseName: 'group', sourceProperty: { ...
8e406d84dbc5c0da73428c1be5ce3915c12a59de
src/foam/nanos/auth/Relationships.js
src/foam/nanos/auth/Relationships.js
JavaScript
<|file_sep|>original/bower.json "model-driven", "help", "validation", "gulp", "functional" ], "license": "MIT", "homepage": "github.com/brianfoody/angular-dynamic-forms", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { ...
"model-driven", "help", "validation", "gulp", "functional" ], "license": "MIT", "homepage": "github.com/brianfoody/angular-dynamic-forms", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { "angular": ">=1.2.0", "loda...
<|file_sep|>original/bower.json "model-driven", "help", "validation", "gulp", "functional" ], "license": "MIT", "homepage": "github.com/brianfoody/angular-dynamic-forms", "ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ], "dependencies": { ...
a5f0b619cbb84876e83c8c3f2a83cb6a2244d010
bower.json
bower.json
JSON
<|file_sep|>original/package.json { "name": "such.less", "version": "0.0.0", "description": "Such less. Many advance. So CSS. Wow.", "main": "server.js", "port": 3000, "scripts": {}, "repository": { "type": "git", "url": "git://github.com/MarcDiethelm/such.less.git" }, "keywords": [ "LessC...
{ "name": "such.less", "version": "0.0.0", "description": "Such less. Many advance. So CSS. Wow.", "main": "server.js", "port": 3000, "scripts": { "build" : "grunt --gruntfile=Gruntfile.js" }, "repository": { "type": "git", "url": "git://github.com/MarcDiethelm/such.less.git" }, "key...
<|file_sep|>original/package.json { "name": "such.less", "version": "0.0.0", "description": "Such less. Many advance. So CSS. Wow.", "main": "server.js", "port": 3000, "scripts": {}, "repository": { "type": "git", "url": "git://github.com/MarcDiethelm/such.less.git" }, "keywords": [ "LessC...
3cec297ea9296f0635c672181f83a08582a8a7d9
package.json
package.json
JSON
<|file_sep|>server/channels/issue.js.diff original: updated: const getUserById = require('../helpers').getUserById; <|file_sep|>server/channels/issue.js.diff original: logger.debug('issue data', data); updated: const payload = data.data; logger.debug('issue payload', { payload, action: data.action }); <|fi...
getUserById(data.user).then((user) => { logger.debug('Fetched user profile', { user: user.name }); endQuestion(data._id, user) .catch((err) => { logger.error('closing issue failed', { err }); }).then((d) => { logger.info('closed question', { question: d._id }); ...
<|file_sep|>server/channels/issue.js.diff original: updated: const getUserById = require('../helpers').getUserById; <|file_sep|>server/channels/issue.js.diff original: logger.debug('issue data', data); updated: const payload = data.data; logger.debug('issue payload', { payload, action: data.action }); <|fi...
2858dea47acd4acdbd81f47ec2bb36c13a25efd3
server/channels/issue.js
server/channels/issue.js
JavaScript
<|file_sep|>original/app/models/region.rb # Tests if the region contains the other geom object passed as an argument def contains?(other_geom) if(other_geom.is_a?(Place)) other_geom = other_geom.to_point end geom.contains?(other_geom) end # Builds an RGeo geometry object based on the regio...
# Tests if the region contains the other geom object passed as an argument def contains?(other_geom) if(other_geom.is_a?(Place)) other_geom = other_geom.to_point end geom.contains?(other_geom) end # Builds an RGeo geometry object based on the region's recipe def build_geometry_from_recip...
<|file_sep|>original/app/models/region.rb # Tests if the region contains the other geom object passed as an argument def contains?(other_geom) if(other_geom.is_a?(Place)) other_geom = other_geom.to_point end geom.contains?(other_geom) end # Builds an RGeo geometry object based on the regio...
bcfb0deae89e3295ba7e2146a0926f0ef58eec01
app/models/region.rb
app/models/region.rb
Ruby
<|file_sep|>uwsgiplugin.py.diff original: GCC_LIST = ['rust', '%s/plugin.a' % base_path] updated: GCC_LIST = ['rust', '%s/target/release/libuwsgi_rust.a' % base_path] <|file_sep|>uwsgiplugin.py.diff original: updated: if os.system("cargo build --release") != 0: os._exit(1) <|file_sep|>original/uwsgiplugin.py impor...
import os import os.path import inspect base_path = os.path.dirname(inspect.getframeinfo(inspect.currentframe())[0]) NAME = 'rust' GCC_LIST = ['rust', '%s/target/release/libuwsgi_rust.a' % base_path] CFLAGS = [] if os.uname()[0] == 'Darwin': CFLAGS.append('-mmacosx-version-min=10.7') if os.system("cargo build ...
<|file_sep|>uwsgiplugin.py.diff original: GCC_LIST = ['rust', '%s/plugin.a' % base_path] updated: GCC_LIST = ['rust', '%s/target/release/libuwsgi_rust.a' % base_path] <|file_sep|>uwsgiplugin.py.diff original: updated: if os.system("cargo build --release") != 0: os._exit(1) <|file_sep|>original/uwsgiplugin.py impor...
721f6f7916d698f22c9d96ce52cce3773fa514cc
uwsgiplugin.py
uwsgiplugin.py
Python
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
trigger: branches: include: - develop - release-* - hotfix-* tags: include: - '*' stages: - stage: test displayName: 'Build & Test' jobs: - job: macos strategy: matrix: macosSwift50: imageName: 'macOS-10.14' DEVELOPER_DIR: '/Applications/Xcode_10....
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml trigger: branches: include: - develop - release-* - hotfix-* tags: include: - '*' stages: - stage: test displayName: 'Build & Test' jobs: - job: macos strateg...
14252fe6d6ebf0ca01fe00d76ee6cf9afec9cc50
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>components/Suggestions.js.diff original: const customClass = state.form.suggestions.length > 0 ? "suggestions" : "hidden" if (state.form.name && state.form.suggestions === 0) { return noSuggestions() updated: const suggestionLimit = 14 const shouldShow = state.form.suggestions.length > 0 ? "...
.filter((suggestion, index) => index < suggestionLimit) .map((thisSuggestion, index) => { function handleClickSuggestion () { getPlayer(thisSuggestion.fullName, dispatch) } return ( <div className="suggestion formElement b...
<|file_sep|>components/Suggestions.js.diff original: const customClass = state.form.suggestions.length > 0 ? "suggestions" : "hidden" if (state.form.name && state.form.suggestions === 0) { return noSuggestions() updated: const suggestionLimit = 14 const shouldShow = state.form.suggestions.length > 0 ? "...
b851698d4af777c7f0c98ec6ddf1bd5f2942b83f
components/Suggestions.js
components/Suggestions.js
JavaScript
<|file_sep|>original/src/js/array2.js const copy = Array2({ fill, size: [width, height] }) arr2.forEach2((currentValue, [i, j]) => { copy[i][j] = callback(currentValue, [i, j]) }) return copy } /* arr2.fill2 = (val) => { return arr2.map(row => new Array(width).fill(val)) } */ a...
return copy } /* arr2.fill2 = (val) => { return arr2.map(row => new Array(width).fill(val)) } */ arr2.getIndices = (searchElement) => { for (let i = 0; i < width; i++) { for (let j = 0; j < height; j++) { if (arr2[i][j] === searchElement) return [i, j] } } return -...
<|file_sep|>original/src/js/array2.js const copy = Array2({ fill, size: [width, height] }) arr2.forEach2((currentValue, [i, j]) => { copy[i][j] = callback(currentValue, [i, j]) }) return copy } /* arr2.fill2 = (val) => { return arr2.map(row => new Array(width).fill(val)) } */ a...
7541786f6f54b4208bce92d587889a5dc0853a5b
src/js/array2.js
src/js/array2.js
JavaScript
<|file_sep|>original/docs/configuration-management.md # Configuration management Typically an application will require some configuration to run properly. Dokku supports application configuration via environment variables. Environment variables may contain private data, such as passwords or API keys, so it is not reco...
# Configuration management Typically an application will require some configuration to run properly. Dokku supports application configuration via environment variables. Environment variables may contain private data, such as passwords or API keys, so it is not recommended to store them in your application's repository...
<|file_sep|>original/docs/configuration-management.md # Configuration management Typically an application will require some configuration to run properly. Dokku supports application configuration via environment variables. Environment variables may contain private data, such as passwords or API keys, so it is not reco...
a900aa45d6482ff6e5c8b31c2da712b1c03f39ff
docs/configuration-management.md
docs/configuration-management.md
Markdown
<|file_sep|>original/recipes/usort/meta.yaml <|file_sep|>current/recipes/usort/meta.yaml <|file_sep|>updated/recipes/usort/meta.yaml
{% set name = "usort" %} {% set version = "1.0.5" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/usort-{{ version }}.tar.gz sha256: 8fed013e458890778bd72d347aa75b3c0ee530b5ae9d78624ad9749a29878fdd build: entry_points: - us...
<|file_sep|>original/recipes/usort/meta.yaml <|file_sep|>current/recipes/usort/meta.yaml <|file_sep|>updated/recipes/usort/meta.yaml {% set name = "usort" %} {% set version = "1.0.5" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}...
172795b3d581f701ef748c83561f6dda1cb9a58d
recipes/usort/meta.yaml
recipes/usort/meta.yaml
YAML
<|file_sep|>original/config.yml env_matrix: "scripts/env_matrix.yml" blacklists: - "r-blacklist" docker_image: "continuumio/conda_builder_linux:5.11-5.2-0-1" channels: - default - r - bioconda # - conda-forge docker_client_version: '1.20' <|file_sep|>current/config.yml env_matrix: "scripts/env_matr...
env_matrix: "scripts/env_matrix.yml" blacklists: - "r-blacklist" docker_image: "continuumio/conda_builder_linux:5.11-5.2-0-1" channels: - anaconda - r - bioconda # - conda-forge docker_client_version: '1.20'
<|file_sep|>original/config.yml env_matrix: "scripts/env_matrix.yml" blacklists: - "r-blacklist" docker_image: "continuumio/conda_builder_linux:5.11-5.2-0-1" channels: - default - r - bioconda # - conda-forge docker_client_version: '1.20' <|file_sep|>current/config.yml env_matrix: "scripts/env_matr...
7e18e008244188d60fa642068d0795be95dc5254
config.yml
config.yml
YAML
<|file_sep|>original/log4php.xml <configuration xmlns="http://logging.apache.org/log4php/"> <appender name="FileAppender" class="LoggerAppenderFile"> <layout class="LoggerLayoutPattern"> <param name="conversionPattern" value="%d %c:%L [%p] %m%n"/> </layout> <param name="file" val...
<configuration xmlns="http://logging.apache.org/log4php/"> <appender name="FileAppender" class="LoggerAppenderFile"> <layout class="LoggerLayoutPattern"> <param name="conversionPattern" value="%d %c:%L [%p] %m%n"/> </layout> <param name="file" value="../logs/service.log" /> <...
<|file_sep|>original/log4php.xml <configuration xmlns="http://logging.apache.org/log4php/"> <appender name="FileAppender" class="LoggerAppenderFile"> <layout class="LoggerLayoutPattern"> <param name="conversionPattern" value="%d %c:%L [%p] %m%n"/> </layout> <param name="file" val...
0661a802452ee991c34ceffdecf3d1ed44df7ef9
log4php.xml
log4php.xml
XML
<|file_sep|>original/css/main.scss .incubateur { text-align: center; } } input:focus::-webkit-input-placeholder{ color: transparent!important; } input:focus::-moz-placeholder{ color: transparent!important; } @media (max-width: 30em) { .medium.screen.only { display: none !important; } } .swagger-ui .t...
input:focus::-webkit-input-placeholder{ color: transparent!important; } input:focus::-moz-placeholder{ color: transparent!important; } @media (max-width: 30em) { .medium.screen.only { display: none !important; } } .swagger-ui .topbar { display: none; } # Override SemanticUI default for improved a11y - c...
<|file_sep|>original/css/main.scss .incubateur { text-align: center; } } input:focus::-webkit-input-placeholder{ color: transparent!important; } input:focus::-moz-placeholder{ color: transparent!important; } @media (max-width: 30em) { .medium.screen.only { display: none !important; } } .swagger-ui .t...
e4a7a3a140e579377d345b8446273fe37db6da5b
css/main.scss
css/main.scss
SCSS
<|file_sep|>docs/misc.rst.diff original: updated: For an email by adding ``-r True``: .. code-block:: bash python manage.py audit_changes -m s3 -r True <|file_sep|>docs/misc.rst.diff original: - iam updated: - elasticip - iamrole, iamssl, iamuser, iamgroup - keypair - policy <|file_sep|>docs/misc.rst.diff ...
- iamrole, iamssl, iamuser, iamgroup - keypair - policy - redshift - rds - securitygroup - ses - sns - sqs - s3 - vpc - subnet - routetable Scheduler Hacking ----------------- Edit ``security_monkey/scheduler.py`` to change daily check schedule:: scheduler.add_cron_job(_audit_changes, hour=10, day_o...
<|file_sep|>docs/misc.rst.diff original: updated: For an email by adding ``-r True``: .. code-block:: bash python manage.py audit_changes -m s3 -r True <|file_sep|>docs/misc.rst.diff original: - iam updated: - elasticip - iamrole, iamssl, iamuser, iamgroup - keypair - policy <|file_sep|>docs/misc.rst.diff ...
c2ef2a1407703d049912b5bb89bdb765cc75709f
docs/misc.rst
docs/misc.rst
reStructuredText
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/sivachinnayan/proxy-test.svg?branch=master)](https://travis-ci.org/sivachinnayan/proxy-test) [![Coverage Status](https://coveralls.io/repos/github/sivachinnayan/proxy-test/badge.svg?branch=master)](https://coveralls.io/github/sivachinnayan/proxy-tes...
[![Build Status](https://travis-ci.org/sivachinnayan/proxy-test.svg?branch=master)](https://travis-ci.org/sivachinnayan/proxy-test) [![Coverage Status](https://coveralls.io/repos/github/sivachinnayan/proxy-test/badge.svg?branch=master)](https://coveralls.io/github/sivachinnayan/proxy-test?branch=master)[![Code Climate...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/sivachinnayan/proxy-test.svg?branch=master)](https://travis-ci.org/sivachinnayan/proxy-test) [![Coverage Status](https://coveralls.io/repos/github/sivachinnayan/proxy-test/badge.svg?branch=master)](https://coveralls.io/github/sivachinnayan/proxy-tes...
9046583082c221f6f9b61f7ad288c36886c56bb6
README.md
README.md
Markdown
<|file_sep|>original/style.css /* defining style for a single key */ .key { border: 3px solid black; border-radius: 5px; width: 60px; height: 60px; background-color: rgba(0, 0, 0, 0.4); text-align: center; padding: 6px 12px; margin: 15px; } /* defining style for a single alphabetical le...
/* defining style for a single key */ .key { border: 3px solid black; border-radius: 5px; width: 60px; height: 60px; background-color: rgba(0, 0, 0, 0.4); text-align: center; padding: 6px 12px; margin: 15px; box-shadow: 0 0 1px rosybrown; } /* defining style for a single alphabetica...
<|file_sep|>original/style.css /* defining style for a single key */ .key { border: 3px solid black; border-radius: 5px; width: 60px; height: 60px; background-color: rgba(0, 0, 0, 0.4); text-align: center; padding: 6px 12px; margin: 15px; } /* defining style for a single alphabetical le...
54fab0d1a02600b030057daef41b208686dad616
style.css
style.css
CSS
<|file_sep|>app/assets/stylesheets/addons/_hide-text.scss.diff original: @mixin hide-text { updated: @mixin hide-text($height: 1em) { height: $height; <|file_sep|>original/app/assets/stylesheets/addons/_hide-text.scss @mixin hide-text { line-height: 1.5; overflow: hidden; &:before { content: ""; displa...
@mixin hide-text($height: 1em) { height: $height; line-height: 1.5; overflow: hidden; &::before { content: ""; display: block; width: 0; height: 100%; } }
<|file_sep|>app/assets/stylesheets/addons/_hide-text.scss.diff original: @mixin hide-text { updated: @mixin hide-text($height: 1em) { height: $height; <|file_sep|>original/app/assets/stylesheets/addons/_hide-text.scss @mixin hide-text { line-height: 1.5; overflow: hidden; &:before { content: ""; displa...
bfb226afe9d0d280ae7e15452103423f97d0071b
app/assets/stylesheets/addons/_hide-text.scss
app/assets/stylesheets/addons/_hide-text.scss
SCSS
<|file_sep|>original/lib/matross/delayed_job.rb dep_included? 'delayed_job' _cset :dj_queues, nil namespace :delayed_job do desc "Writes the delayed job part of the Procfile" task :procfile, :roles => :dj do procfile_template = <<-EOF.gsub(/^\s+/, '') <% if dj_queues -%> <% dj_queues.each do |q...
dep_included? 'delayed_job' _cset :dj_queues, nil namespace :delayed_job do desc "Writes the delayed job part of the Procfile" task :procfile, :roles => :dj do procfile_template = <<-EOF.gsub(/^\s+/, '') <% if defined?(dj_queues) -%> <% dj_queues.each do |queue_name| -%> dj_<%= queue_...
<|file_sep|>original/lib/matross/delayed_job.rb dep_included? 'delayed_job' _cset :dj_queues, nil namespace :delayed_job do desc "Writes the delayed job part of the Procfile" task :procfile, :roles => :dj do procfile_template = <<-EOF.gsub(/^\s+/, '') <% if dj_queues -%> <% dj_queues.each do |q...
93eb282ce663be98260518c9db41789f45fa630a
lib/matross/delayed_job.rb
lib/matross/delayed_job.rb
Ruby
<|file_sep|>original/src/Orchestra/Memory/MemoryServiceProvider.php { $this->package('orchestra/memory', 'orchestra/memory'); $this->registerMemoryEvents(); } /** * Register the events needed for memory. * * @return void */ protected function registerMemoryEvents() { $app = $this->app; $app->aft...
*/ protected function registerMemoryEvents() { $app = $this->app; $app->after(function($request, $response) use ($app) { $app->make('orchestra.memory')->shutdown(); }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return array('orche...
<|file_sep|>original/src/Orchestra/Memory/MemoryServiceProvider.php { $this->package('orchestra/memory', 'orchestra/memory'); $this->registerMemoryEvents(); } /** * Register the events needed for memory. * * @return void */ protected function registerMemoryEvents() { $app = $this->app; $app->aft...
037b40351e363017cb0f57d7784ceb4cf89e4d96
src/Orchestra/Memory/MemoryServiceProvider.php
src/Orchestra/Memory/MemoryServiceProvider.php
PHP
<|file_sep|>original/candidates/static/candidates/_content.scss .content { background-color: $content-background-color; padding-top: 2em; padding-bottom: 2em; } .container { @include grid-row(); padding-left: $column-gutter / 2; padding-right: $column-gutter / 2; } .button, input[type="submit"].button { ...
.content { background-color: $content-background-color; padding-top: 2em; padding-bottom: 2em; } .container { max-width: 960px; // for browsers that don't understand rems @include grid-row(); padding-left: $column-gutter / 2; padding-right: $column-gutter / 2; } .button, input[type="submit"].button { ...
<|file_sep|>original/candidates/static/candidates/_content.scss .content { background-color: $content-background-color; padding-top: 2em; padding-bottom: 2em; } .container { @include grid-row(); padding-left: $column-gutter / 2; padding-right: $column-gutter / 2; } .button, input[type="submit"].button { ...
7da1a8b9079a692887a97c50934158742e1fa225
candidates/static/candidates/_content.scss
candidates/static/candidates/_content.scss
SCSS
<|file_sep|>original/.travis.yml - virtualenv --python=python venv - source venv/bin/activate install: # Upgrade pip and setuptools. Mock has issues with the default version of # setuptools - | pip install --upgrade pip pip install --upgrade setuptools pip install $NUMPY - cd geos-3.3.3 e...
- source venv/bin/activate install: # Upgrade pip and setuptools. Mock has issues with the default version of # setuptools - | pip install --upgrade pip pip install --upgrade setuptools pip install $NUMPY - | cd geos-3.3.3 export GEOS_DIR=$HOME/.local/ ./configure --prefix=$GEOS_DIR ...
<|file_sep|>original/.travis.yml - virtualenv --python=python venv - source venv/bin/activate install: # Upgrade pip and setuptools. Mock has issues with the default version of # setuptools - | pip install --upgrade pip pip install --upgrade setuptools pip install $NUMPY - cd geos-3.3.3 e...
933bc1ccbad4646d6a5ec4f5023a2015cf2487e6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base belongs_to :topic, :include => [:replies] belongs_to :developer validates_presence_of :content end <|file_sep|>current/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base belongs_t...
class Reply < ActiveRecord::Base scope :base, -> { scoped } belongs_to :topic, :include => [:replies] belongs_to :developer validates_presence_of :content end
<|file_sep|>original/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base belongs_to :topic, :include => [:replies] belongs_to :developer validates_presence_of :content end <|file_sep|>current/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base belongs_t...
ab287c53195bcb091b28e9cdd8038b6815909eaf
actionpack/test/fixtures/reply.rb
actionpack/test/fixtures/reply.rb
Ruby
<|file_sep|>original/README.md # Atom Phoenix-Syntax I'm absolutely loving Atom. As I make the gradual switch from Aptana and Text Wrangler towards GitHub's slick, sexy editor, I find myself unable to abandon my old coding habits. Being used to an extremely particular workflow for many years is a rather difficult thin...
# Atom Phoenix-Syntax Personal theme for [Atom](https://atom.io/), an editor I'll use until I die. There's nothing here that's of use or value to you. Trust me. This is hosted on GitHub so if my computer karks it, I'll still have my personal workflow and setup available in the cloud.
<|file_sep|>original/README.md # Atom Phoenix-Syntax I'm absolutely loving Atom. As I make the gradual switch from Aptana and Text Wrangler towards GitHub's slick, sexy editor, I find myself unable to abandon my old coding habits. Being used to an extremely particular workflow for many years is a rather difficult thin...
7b13a28a1a3cb1af418c918a1c7fe9a67b20cbbb
README.md
README.md
Markdown
<|file_sep|>original/argus/resources/windows/schedule_installer.bat schtasks /CREATE /TN "cloudbaseinit-installer" /SC ONCE /SD 01/01/2020 /ST 00:00:00 /RL HIGHEST /RU CiAdmin /RP Passw0rd /TR "powershell C:\\installcbinit.ps1 -serviceType %1 -installer %2" /F schtasks /RUN /TN "cloudbaseinit-installer" timeout /t 5...
schtasks /CREATE /TN "cloudbaseinit-installer" /SC ONCE /SD 01/01/2020 /ST 00:00:00 /RL HIGHEST /RU CiAdmin /RP Passw0rd /TR "powershell C:\\installcbinit.ps1 -serviceType %1 -installer %2" /F schtasks /RUN /TN "cloudbaseinit-installer" timeout /t 5 :loop for /f "tokens=2 delims=: " %%f in ('schtasks /query /tn clo...
<|file_sep|>original/argus/resources/windows/schedule_installer.bat schtasks /CREATE /TN "cloudbaseinit-installer" /SC ONCE /SD 01/01/2020 /ST 00:00:00 /RL HIGHEST /RU CiAdmin /RP Passw0rd /TR "powershell C:\\installcbinit.ps1 -serviceType %1 -installer %2" /F schtasks /RUN /TN "cloudbaseinit-installer" timeout /t 5...
a0aa84917f8f9d99c636dd491054c24c508fbf4c
argus/resources/windows/schedule_installer.bat
argus/resources/windows/schedule_installer.bat
Batchfile
<|file_sep|>SLLHHybridAuthBundle.php.diff original: use Symfony\Component\HttpKernel\Bundle\Bundle; updated: use Symfony\Component\HttpKernel\Bundle\Bundle, Symfony\Component\DependencyInjection\ContainerBuilder, Symfony\Component\HttpKernel\Kernel; <|file_sep|>SLLHHybridAuthBundle.php.diff original: use SLLH\H...
use Symfony\Component\HttpKernel\Bundle\Bundle, Symfony\Component\DependencyInjection\ContainerBuilder, Symfony\Component\HttpKernel\Kernel; use SLLH\HybridAuthBundle\DependencyInjection\SLLHHybridAuthExtension, SLLH\HybridAuthBundle\DependencyInjection\Security\Factory\HybridAuthFactory; class SLLHHybrid...
<|file_sep|>SLLHHybridAuthBundle.php.diff original: use Symfony\Component\HttpKernel\Bundle\Bundle; updated: use Symfony\Component\HttpKernel\Bundle\Bundle, Symfony\Component\DependencyInjection\ContainerBuilder, Symfony\Component\HttpKernel\Kernel; <|file_sep|>SLLHHybridAuthBundle.php.diff original: use SLLH\H...
681dc8866aef06b9a0051d899a634fe7e3b419d9
SLLHHybridAuthBundle.php
SLLHHybridAuthBundle.php
PHP
<|file_sep|>src/com/grayben/riskExtractor/htmlScorer/ScoredText.java.diff original: import java.util.ListIterator; updated: import java.util.List; <|file_sep|>original/src/com/grayben/riskExtractor/htmlScorer/ScoredText.java package com.grayben.riskExtractor.htmlScorer; import java.util.ListIterator; public interface...
package com.grayben.riskExtractor.htmlScorer; import java.util.List; public interface ScoredText { List<ScoredTextElement> getList(); }
<|file_sep|>src/com/grayben/riskExtractor/htmlScorer/ScoredText.java.diff original: import java.util.ListIterator; updated: import java.util.List; <|file_sep|>original/src/com/grayben/riskExtractor/htmlScorer/ScoredText.java package com.grayben.riskExtractor.htmlScorer; import java.util.ListIterator; public interface...
44a173919e05493000fadad994961a58027457d7
src/com/grayben/riskExtractor/htmlScorer/ScoredText.java
src/com/grayben/riskExtractor/htmlScorer/ScoredText.java
Java
<|file_sep|>tox.ini.diff original: # After running this target, visit proliantutils/htmlcov/index.html updated: # After running this target, visit proliantutils/cover/index.html <|file_sep|>tox.ini.diff original: python setup.py testr --coverage --testr-args='{posargs}' updated: python setup.py te...
flake8 proliantutils [testenv:cover] # After running this target, visit proliantutils/cover/index.html # in your browser, to see a nicer presentation report with annotated # HTML listings detailing missed lines. basepython = python2.7 deps = {[testenv]deps} commands = coverage erase python setup.py test...
<|file_sep|>tox.ini.diff original: # After running this target, visit proliantutils/htmlcov/index.html updated: # After running this target, visit proliantutils/cover/index.html <|file_sep|>tox.ini.diff original: python setup.py testr --coverage --testr-args='{posargs}' updated: python setup.py te...
cc28977eeea8c5aa9098f5edc08c90b5f632d3b2
tox.ini
tox.ini
INI
<|file_sep|>original/jobs/bits-service/templates/statsd_pipe_ctl.erb case $1 in start) mkdir -p $RUN_DIR mkdir -p $LOG_DIR chown vcap:vcap $RUN_DIR chown vcap:vcap $LOG_DIR pid_guard $PIDFILE "statsd_pipe" $JOB_DIR/bin/statsd_pipe '<%= p("bits-service.nginx.metrics_private_log_destination")...
case $1 in start) mkdir -p $RUN_DIR mkdir -p $LOG_DIR chown vcap:vcap $RUN_DIR chown vcap:vcap $LOG_DIR pid_guard $PIDFILE "statsd_pipe" echo $$ > $PIDFILE exec $JOB_DIR/bin/statsd_pipe '<%= p("bits-service.nginx.metrics_private_log_destination") %> <%= p("bits-service.nginx.metrics_pub...
<|file_sep|>original/jobs/bits-service/templates/statsd_pipe_ctl.erb case $1 in start) mkdir -p $RUN_DIR mkdir -p $LOG_DIR chown vcap:vcap $RUN_DIR chown vcap:vcap $LOG_DIR pid_guard $PIDFILE "statsd_pipe" $JOB_DIR/bin/statsd_pipe '<%= p("bits-service.nginx.metrics_private_log_destination")...
ec292e4634b347be4c939a0f2596a9a3fe6dc456
jobs/bits-service/templates/statsd_pipe_ctl.erb
jobs/bits-service/templates/statsd_pipe_ctl.erb
HTML+ERB
<|file_sep|>.travis.yml.diff original: updated: - new-master <|file_sep|>original/.travis.yml # See the License for the specific language governing permissions and # limitations under the License. # language: java jdk: - oraclejdk8 - oraclejdk7 branches: only: - master - javadoc - /^branch-.*$/ s...
# language: java jdk: - oraclejdk8 - oraclejdk7 branches: only: - master - new-master - javadoc - /^branch-.*$/ - /^[0-9]+-.*$/ script: mvn -Dsurefire.useFile=false test site git: depth: 10000 sudo: false cache: directories: - $HOME/.m2 # End .travis.yml
<|file_sep|>.travis.yml.diff original: updated: - new-master <|file_sep|>original/.travis.yml # See the License for the specific language governing permissions and # limitations under the License. # language: java jdk: - oraclejdk8 - oraclejdk7 branches: only: - master - javadoc - /^branch-.*$/ s...
20f591246448778e010ba822b5b9103dcda945b5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/source/MilitaryPlanner/Views/MainWindow.xaml.cs using System.Windows; namespace MilitaryPlanner.Views { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { //Initial...
{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { //InitializeComponent(); } protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { ...
<|file_sep|>original/source/MilitaryPlanner/Views/MainWindow.xaml.cs using System.Windows; namespace MilitaryPlanner.Views { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { //Initial...
c2956613bb1c41cf894f0ab2ee5abd7b363e9356
source/MilitaryPlanner/Views/MainWindow.xaml.cs
source/MilitaryPlanner/Views/MainWindow.xaml.cs
C#
<|file_sep|>original/public/app/routes/application.js (function (global) { require ( ["ember", "app"], function (Ember, App) { App.ApplicationRoute = Ember.Route.extend({ title: "Microscratch", model: function() { }, setupCon...
(function (global) { require ( ["ember", "app"], function (Ember, App) { App.ApplicationView = Ember.View.extend({ classNames: ['app-view'], templateName: "application", /** * Called when inserted to DOM. * @...
<|file_sep|>original/public/app/routes/application.js (function (global) { require ( ["ember", "app"], function (Ember, App) { App.ApplicationRoute = Ember.Route.extend({ title: "Microscratch", model: function() { }, setupCon...
636863f5b8fcff8e7cfc000349f5167b51b9544c
public/app/routes/application.js
public/app/routes/application.js
JavaScript
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 cover...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.9 PyYAML==3.11
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 cover...
b40586ba111e22349b10214017b4810454057ec7
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/composer.json ], "license": "MIT", "authors": [ { "name": "Mitul Golakiya", "email": "me@mitul.me" } ], "require": { "php": ">=5.5.9", "illuminate/support": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5....
], "license": "MIT", "authors": [ { "name": "Mitul Golakiya", "email": "me@mitul.me" } ], "require": { "php": ">=5.5.9", "illuminate/support": "5.8.*", "prettus/l5-repository": "~2.6", "laracasts/flash": "~3.0" }, "requi...
<|file_sep|>original/composer.json ], "license": "MIT", "authors": [ { "name": "Mitul Golakiya", "email": "me@mitul.me" } ], "require": { "php": ">=5.5.9", "illuminate/support": "5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5....
0ddcfb30dfcbeab776c1772cadfd2574e3d4333f
composer.json
composer.json
JSON
<|file_sep|>original/app/views/eligibilities/_previous_answers.html.slim table thead tr th.previous-answers-title colspan="2" ' Your eligibility answers so far /th.link-right.restart = link_to "Start again", eligibility_path ...
article table thead tr th.previous-answers-title colspan="2" ' Your eligibility answers so far /th.link-right.restart = link_to "Start again", eligibility_path tbody - @eligibility.s...
<|file_sep|>original/app/views/eligibilities/_previous_answers.html.slim table thead tr th.previous-answers-title colspan="2" ' Your eligibility answers so far /th.link-right.restart = link_to "Start again", eligibility_path ...
1268a86adb11794562a9cf0bec99bb2aea904469
app/views/eligibilities/_previous_answers.html.slim
app/views/eligibilities/_previous_answers.html.slim
Slim
<|file_sep|>dijkstras/TestDijkstras.java.diff original: int N = 6; // No. of vertices int M = 10; // No. of edges updated: int N = 7; // No. of vertices int M = 12; // No. of edges <|file_sep|>original/dijkstras/TestDijkstras.java int M = 10; // No. of edges int edges[][] = { {1,2,10}, // Edges ...
int M = 12; // No. of edges int edges[][] = { {1,2,10}, // Edges {2,3,1}, {3,4,4}, {4,3,6}, {5,4,2}, {1,5,5}, {2,5,2}, {5,2,3}, {5,3,9}, {4,1,7}, {6,7,5}, {7,6,6} }; int s = 1; // source vertex Dijkstras dk = new Dijks...
<|file_sep|>dijkstras/TestDijkstras.java.diff original: int N = 6; // No. of vertices int M = 10; // No. of edges updated: int N = 7; // No. of vertices int M = 12; // No. of edges <|file_sep|>original/dijkstras/TestDijkstras.java int M = 10; // No. of edges int edges[][] = { {1,2,10}, // Edges ...
b65996f5d74abe8b32ea67f7b8b046f68b862e60
dijkstras/TestDijkstras.java
dijkstras/TestDijkstras.java
Java
<|file_sep|>original/public/js/application.js $(document).ready(function() { // This is called after the document has loaded in its entirety // This guarantees that any elements we bind to will exist on the page // when we try to bind to them // See: http://docs.jquery.com/Tutorials:Introducing_$(document).rea...
$(document).ready(function() { // This is called after the document has loaded in its entirety // This guarantees that any elements we bind to will exist on the page // when we try to bind to them $("#go").leanModal({ top : 200, overlay : 0.4, closeButton: ".modal_close" }) // See: http://docs.jquery.com/T...
<|file_sep|>original/public/js/application.js $(document).ready(function() { // This is called after the document has loaded in its entirety // This guarantees that any elements we bind to will exist on the page // when we try to bind to them // See: http://docs.jquery.com/Tutorials:Introducing_$(document).rea...
d3a026de2585a050ad949e68a148547911ee4400
public/js/application.js
public/js/application.js
JavaScript
<|file_sep|>original/README.md # gpmplay easily play music with MPD and GMusicProxy. #####usage: `chmod +x gmpplay` to make the script executable `gmpplay <options> <artist> - <title>` gmpplay tries to get your MPD and GMusicProxy configuration from ~/.config/mpd/mpd.conf and ~/.config/gmusicproxy.cfg. If thos...
# gpmplay easily play music with MPD and GMusicProxy. #####usage: `chmod +x gmpplay` to make the script executable `gmpplay <options> <artist> - <title>` gmpplay tries to get your MPD and GMusicProxy configuration from $XDG_CONFIG_HOME/mpd/mpd.conf and $XDG_CONFIG_HOME/gmusicproxy.cfg OR from $HOME/.config/mpd...
<|file_sep|>original/README.md # gpmplay easily play music with MPD and GMusicProxy. #####usage: `chmod +x gmpplay` to make the script executable `gmpplay <options> <artist> - <title>` gmpplay tries to get your MPD and GMusicProxy configuration from ~/.config/mpd/mpd.conf and ~/.config/gmusicproxy.cfg. If thos...
21dfaee01578ead95a739175a1614f22a1c9d224
README.md
README.md
Markdown
<|file_sep|>original/appveyor.yml RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-msvc RUST_CHANNEL: nightly install: - ps: Start-FileDownload "http://static.rust-lang.org/dist/channel-rust...
- RUST_INSTALL_TRIPLE: i686-pc-windows-gnu RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-msvc RUST_CHANNEL: nightly install: - ps: Start-FileDownload "http://static.rust-lang.org/...
<|file_sep|>original/appveyor.yml RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu RUST_CHANNEL: stable - RUST_INSTALL_TRIPLE: x86_64-pc-windows-msvc RUST_CHANNEL: nightly install: - ps: Start-FileDownload "http://static.rust-lang.org/dist/channel-rust...
461934d57b571835113460097a32e0b918262f85
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb <|file_sep|>current/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb <|file_sep|>updated/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb
# mdJson 2.0 writer - coordinate resolution # History: # Stan Smith 2017-10-20 original script require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module CoordinateResolution def self.build(hCoordRes) Jbuilder.new do |js...
<|file_sep|>original/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb <|file_sep|>current/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb <|file_sep|>updated/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb # mdJson 2.0 writer - c...
b57c110fddea7dd5c02ae87cf1f0a1bf84080e8a
lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb
lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb
Ruby
<|file_sep|>original/.circleci/config.yml # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.3@sha256:27bd135e2d3973cc6408e60ea99c29109e642278cbbefa96dd9f73d833789a2b working_di...
# Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.3@sha256:c5532c9e020d92cfe9fef8106ddd4c4885ebb769ad6304aa5ea60beaac3f1973 working_directory: ~/repo steps: - checko...
<|file_sep|>original/.circleci/config.yml # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: - image: circleci/python:3.7.3@sha256:27bd135e2d3973cc6408e60ea99c29109e642278cbbefa96dd9f73d833789a2b working_di...
aef020f214c0b125b3f96813cffb5e746b72899d
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>shcol/config.py.diff original: from __future__ import unicode_literals updated: <|file_sep|>shcol/config.py.diff original: updated: ENCODING = 'utf-8' <|file_sep|>original/shcol/config.py import logging import os import sys ERROR_STREAM = sys.stderr INPUT_STREAM = sys.stdin LINE_WIDTH = None LINESEP = ...
needed) only *before* running `shcol`, since most of these constants are only read during initialization of the `shcol`-package. """ import logging import os import sys ENCODING = 'utf-8' ERROR_STREAM = sys.stderr INPUT_STREAM = sys.stdin LINE_WIDTH = None LINESEP = '\n' LOGGER = logging.getLogger('shol') MAKE_UNIQUE ...
<|file_sep|>shcol/config.py.diff original: from __future__ import unicode_literals updated: <|file_sep|>shcol/config.py.diff original: updated: ENCODING = 'utf-8' <|file_sep|>original/shcol/config.py import logging import os import sys ERROR_STREAM = sys.stderr INPUT_STREAM = sys.stdin LINE_WIDTH = None LINESEP = ...
bb319f73d16066ffae81cd1f0a7d644b7621dec7
shcol/config.py
shcol/config.py
Python
<|file_sep|>original/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift <|file_sep|>current/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift <|file_sep|>updated/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s // REQUIRES: asserts :#^A^#func a protocol a{class A:a typealias e:A.e
<|file_sep|>original/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift <|file_sep|>current/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift <|file_sep|>updated/validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift // RUN: not --crash %target-s...
c60387d4261f825efe9d81818acb3ca74f5a910c
validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift
validation-test/IDE/crashers/068-swift-typechecker-resolvetypewitness.swift
Swift
<|file_sep|>original/Opcodes/ableton_link_test.csd <|file_sep|>current/Opcodes/ableton_link_test.csd <|file_sep|>updated/Opcodes/ableton_link_test.csd
<CsoundSynthesizer> <CsLicense> TEST FOR ABLETON LINK OPCODES Michael Gogins 12 January 2017 </CsLicense> <CsOptions> -odac </CsOptions> <CsInstruments> sr=44100 kr=441 ksmps=100 nchnls=2 alwayson "LinkMonitor" instr LinkMonitor i_link link_create 72 printf_i "i_link: %g\n", 1, i_link link_enable i_link, 1
<|file_sep|>original/Opcodes/ableton_link_test.csd <|file_sep|>current/Opcodes/ableton_link_test.csd <|file_sep|>updated/Opcodes/ableton_link_test.csd <CsoundSynthesizer> <CsLicense> TEST FOR ABLETON LINK OPCODES Michael Gogins 12 January 2017 </CsLicense> <CsOptions> -odac </CsOptions> <CsInstruments> sr=44100 kr=4...
07f5b35fbde5284bd1ea5e5537f443da069ba3e8
Opcodes/ableton_link_test.csd
Opcodes/ableton_link_test.csd
Csound
<|file_sep|>personal/roles/pihole/tasks/main.yml.diff original: updated: - name: "Pull Pi-hole" docker_image: name: "pihole/pihole:{{ pihole_version }}" source: pull - name: "Stop/disable systemd-resolved" systemd: name: "systemd-resolved.service" state: stopped enabled: no become: yes whe...
content: | nameserver {{ ansible_default_ipv4.gateway }} become: yes when: ansible_distribution == "Ubuntu" - name: "Start Pi-hole" docker_container: name: pihole state: started pull: "{{ pihole_pull }}" restart_policy: "unless-stopped" keep_volumes: yes image: "pihole/pihole:{{...
<|file_sep|>personal/roles/pihole/tasks/main.yml.diff original: updated: - name: "Pull Pi-hole" docker_image: name: "pihole/pihole:{{ pihole_version }}" source: pull - name: "Stop/disable systemd-resolved" systemd: name: "systemd-resolved.service" state: stopped enabled: no become: yes whe...
049b404fa398efb89b6573ea66a520dace6250c0
personal/roles/pihole/tasks/main.yml
personal/roles/pihole/tasks/main.yml
YAML
<|file_sep|>lib/json_parser.rb.diff original: module JsonParser updated: class JsonParser <|file_sep|>lib/json_parser.rb.diff original: updated: new(input).parse end def initialize(input) <|file_sep|>lib/json_parser.rb.diff original: [] updated: self.parsed_input = [] <|file_sep|>lib/json_parser.r...
def self.parse(input) new(input).parse end def initialize(input) if input == '[]' self.parsed_input = [] elsif input == '{}' self.parsed_input = {} else self.parsed_input = nil end end def parse parsed_input end private attr_accessor :parsed_input end
<|file_sep|>lib/json_parser.rb.diff original: module JsonParser updated: class JsonParser <|file_sep|>lib/json_parser.rb.diff original: updated: new(input).parse end def initialize(input) <|file_sep|>lib/json_parser.rb.diff original: [] updated: self.parsed_input = [] <|file_sep|>lib/json_parser.r...
93d19bd95295b0538b28d9343e248931e517f14b
lib/json_parser.rb
lib/json_parser.rb
Ruby
<|file_sep|>original/src/styles/atoms/layout.scss * { box-sizing: border-box; } html { height: 100%; } body { margin: 0; @include max($xxs) { overflow-x: hidden; } } .container { margin: 0 auto; padding: 0 $golden-rem; max-width: 640px; } <|file_sep|>current/src/styles/atoms/la...
* { box-sizing: border-box; } html { height: 100%; } body { margin: 0; @include max($xxs) { overflow-x: hidden; } } .container { margin: 0 auto; padding: 0 20px; max-width: 640px; }
<|file_sep|>original/src/styles/atoms/layout.scss * { box-sizing: border-box; } html { height: 100%; } body { margin: 0; @include max($xxs) { overflow-x: hidden; } } .container { margin: 0 auto; padding: 0 $golden-rem; max-width: 640px; } <|file_sep|>current/src/styles/atoms/la...
f4983096bdfc4dd28c6a9faa8aa3175c5552ae1f
src/styles/atoms/layout.scss
src/styles/atoms/layout.scss
SCSS
<|file_sep|>original/.travis.yml script: ./gradlew -s -PbuildInfo.build.number=$TRAVIS_BUILD_NUMBER -PbuildInfo.buildUrl=https://travis-ci.org/${TRAVIS_REPO_SLUG}/builds/${TRAVIS_JOB_ID} -PbuildInfo.buildAgent.name=$USER -PbuildInfo.principal=$USER clean build artifactoryPublish jdk: - openjdk7 env: global: - sec...
script: ./gradlew -s -PbuildInfo.build.number=$TRAVIS_BUILD_NUMBER -PbuildInfo.buildUrl=https://travis-ci.org/${TRAVIS_REPO_SLUG}/builds/${TRAVIS_JOB_ID} -PbuildInfo.buildAgent.name=$USER -PbuildInfo.principal=$USER clean build jdk: - openjdk7 env: global: - secure: h70tXNCi71aRJ5K8wlVLqnejPnO1CpIPIMqhRaw7Oz1eRzi...
<|file_sep|>original/.travis.yml script: ./gradlew -s -PbuildInfo.build.number=$TRAVIS_BUILD_NUMBER -PbuildInfo.buildUrl=https://travis-ci.org/${TRAVIS_REPO_SLUG}/builds/${TRAVIS_JOB_ID} -PbuildInfo.buildAgent.name=$USER -PbuildInfo.principal=$USER clean build artifactoryPublish jdk: - openjdk7 env: global: - sec...
042b4e221ebf33e3dddc9e92ca90e8a1db8267a6
.travis.yml
.travis.yml
YAML
<|file_sep|>app/views/layouts/_footer.html.haml.diff original: = link_to 'free software,', 'http://www.gnu.org/philosophy/free-sw.html' updated: = link_to('free software,', 'https://www.gnu.org/philosophy/free-sw.html') <|file_sep|>original/app/views/layouts/_footer.html.haml %li ...
%li = link_to(gallery_path) do %i.fa.fa-picture-o Pics %li = link_to(faqs_path) do %i.fa.fa-question FAQ %li = link_to('https://github.com/SUSE/hackweek/blob/master/CREDITS.md') do %i....
<|file_sep|>app/views/layouts/_footer.html.haml.diff original: = link_to 'free software,', 'http://www.gnu.org/philosophy/free-sw.html' updated: = link_to('free software,', 'https://www.gnu.org/philosophy/free-sw.html') <|file_sep|>original/app/views/layouts/_footer.html.haml %li ...
2e0386c57acfc69e5e0ed2cffaf436f88f702ff2
app/views/layouts/_footer.html.haml
app/views/layouts/_footer.html.haml
Haml
<|file_sep|>original/app/views/messages/_form.html.erb <h2 class="colorfont"> <%= t('mailbox.message.new') %> </h2> <%= form_tag messages_path, :method => :post , :class => "new_message" do %> <% if @receipt and @receipt.errors.any? %> <div class="error"> <h2> <%= pluralize(@receipt.errors.count,...
<%= form_tag messages_path, :method => :post , :class => "new_message" do %> <% if @receipt and @receipt.errors.any? %> <div class="error"> <h2> <%= pluralize(@receipt.errors.count, "error") %> prohibited this message from being sent: </h2> <ul> <% @receipt.errors.full_messages.e...
<|file_sep|>original/app/views/messages/_form.html.erb <h2 class="colorfont"> <%= t('mailbox.message.new') %> </h2> <%= form_tag messages_path, :method => :post , :class => "new_message" do %> <% if @receipt and @receipt.errors.any? %> <div class="error"> <h2> <%= pluralize(@receipt.errors.count,...
4459f09d108545713d20bcb08e88e4e5fc84c95d
app/views/messages/_form.html.erb
app/views/messages/_form.html.erb
HTML+ERB
<|file_sep|>original/solarnmf_main_ts.py <|file_sep|>current/solarnmf_main_ts.py <|file_sep|>updated/solarnmf_main_ts.py
#solarnmf_main_ts.py #Will Barnes #31 March 2015 #Import needed modules import solarnmf_functs as snf import solarnmf_plot_routines as spr #Read in and format the time series results = snf.make_t_matrix("data",filename='/home/wtb2/Desktop/gaussian_test.dat') #Get the dimensions of the T matrix ny,nx = results['T']....
<|file_sep|>original/solarnmf_main_ts.py <|file_sep|>current/solarnmf_main_ts.py <|file_sep|>updated/solarnmf_main_ts.py #solarnmf_main_ts.py #Will Barnes #31 March 2015 #Import needed modules import solarnmf_functs as snf import solarnmf_plot_routines as spr #Read in and format the time series results = snf.make_...
95bfc900e0ed45cb8cab6649def194dee2d694e3
solarnmf_main_ts.py
solarnmf_main_ts.py
Python
<|file_sep|>original/locales/es-ES/notes.properties forgetEmail=Olvidar este correo electrónico syncNotReady2=Lo sentimos, la sincronización de notas aún no está lista. ¡Nos damos por aludidos para darnos prisa! syncNotes=Sincronizar tus notas syncProgress=Sincronizando los cambios… # LOCALIZATION NOTE (disableSync): ...
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, not Firefox Sync. disableSync=Deshabilitar Sync # LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this # structure doesn't work for your locale, you can translate this as "Last sync: # {date}". syncComplete=Sincron...
<|file_sep|>original/locales/es-ES/notes.properties forgetEmail=Olvidar este correo electrónico syncNotReady2=Lo sentimos, la sincronización de notas aún no está lista. ¡Nos damos por aludidos para darnos prisa! syncNotes=Sincronizar tus notas syncProgress=Sincronizando los cambios… # LOCALIZATION NOTE (disableSync): ...
6d3705d30bcc2d53423934a35e69763ab6498d94
locales/es-ES/notes.properties
locales/es-ES/notes.properties
INI
<|file_sep|>original/src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs public string Language { get; set; } public string Value { get; set; } } public class Hover { public MarkedString[] Contents { get; set; } public Range? Range { get; set; } } public...
public string Language { get; set; } public string Value { get; set; } } public class Hover { public MarkedString[] Contents { get; set; } public Range? Range { get; set; } } public class HoverRequest { public static readonly RequestType<Te...
<|file_sep|>original/src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs public string Language { get; set; } public string Value { get; set; } } public class Hover { public MarkedString[] Contents { get; set; } public Range? Range { get; set; } } public...
09f9c480e4073cbbd1e7e5759a28c512e0ad1485
src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs
src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs
C#
<|file_sep|>original/package.json "main": "segue.js", "devDependencies": { "istanbul": "^0.3.5", "jshint": "^2.5.11", "tape": "^3.0.3", "uglify-js": "^2.4.16" }, "scripts": { "lint": "jshint --verbose segue.js test/*.js", "test": "rm -rf coverage && istanbul cover tape test/*.js", "d...
"main": "segue.js", "devDependencies": { "istanbul": "^0.3.5", "jshint": "^2.5.11", "tape": "^3.0.3", "uglify-js": "^2.4.16" }, "scripts": { "lint": "jshint --verbose segue.js test/*.js", "test": "rm -rf coverage && istanbul cover tape test/*.js", "dist": "uglifyjs segue.js --mangle ...
<|file_sep|>original/package.json "main": "segue.js", "devDependencies": { "istanbul": "^0.3.5", "jshint": "^2.5.11", "tape": "^3.0.3", "uglify-js": "^2.4.16" }, "scripts": { "lint": "jshint --verbose segue.js test/*.js", "test": "rm -rf coverage && istanbul cover tape test/*.js", "d...
8863af056ed7743320a2acaefa5db35d9eff8537
package.json
package.json
JSON
<|file_sep|>original/.github/release-drafter.yml name-template: 'v$NEXT_MINOR_VERSION 🌈' tag-template: 'github-api-$NEXT_MINOR_VERSION' categories: - title: '🚀 Features' labels: - 'feature' - 'enhancement' - title: '🐛 Bug Fixes' labels: - 'fix' - 'bugfix' - 'bug' - title: ...
name-template: 'v$NEXT_MINOR_VERSION 🌈' tag-template: 'github-api-$NEXT_MINOR_VERSION' version-template: '$MAJOR.$MINOR' categories: - title: '🚀 Features' labels: - 'feature' - 'enhancement' - title: '🐛 Bug Fixes' labels: - 'fix' - 'bugfix' - 'bug' - title: '🧰 Maintenance...
<|file_sep|>original/.github/release-drafter.yml name-template: 'v$NEXT_MINOR_VERSION 🌈' tag-template: 'github-api-$NEXT_MINOR_VERSION' categories: - title: '🚀 Features' labels: - 'feature' - 'enhancement' - title: '🐛 Bug Fixes' labels: - 'fix' - 'bugfix' - 'bug' - title: ...
fc38dba59a9608e1aaa182c99090a1fe1ab53329
.github/release-drafter.yml
.github/release-drafter.yml
YAML
<|file_sep|>deployment/ansible/raster-foundry.yml.diff original: lineinfile: dest=/etc/environment regexp=^AWS_PROFILE line="AWS_PROFILE={{aws_profile}}" updated: lineinfile: dest=/etc/environment regexp=^AWS_PROFILE line="AWS_PROFILE={{ aws_profile }}" <|file_sep|>deployment/ansible/raster-foundry.yml.diff...
tasks: - name: Change directory on login lineinfile: dest=/home/vagrant/.bashrc regexp=^raster-foundry_PROFILE line="cd /opt/raster-foundry/" - name: Set Environment variable for AWS profile lineinfile: dest=/etc/environment regexp=^AWS_PROFILE line="AWS_PROFILE={{ aws_profile }}" when: aw...
<|file_sep|>deployment/ansible/raster-foundry.yml.diff original: lineinfile: dest=/etc/environment regexp=^AWS_PROFILE line="AWS_PROFILE={{aws_profile}}" updated: lineinfile: dest=/etc/environment regexp=^AWS_PROFILE line="AWS_PROFILE={{ aws_profile }}" <|file_sep|>deployment/ansible/raster-foundry.yml.diff...
966d9eb44c9e7f079d96c39cd74ebd6f1a00c072
deployment/ansible/raster-foundry.yml
deployment/ansible/raster-foundry.yml
YAML
<|file_sep|>original/lib/integration/unknown.json <|file_sep|>current/lib/integration/unknown.json <|file_sep|>updated/lib/integration/unknown.json
{ "Inputs": [ { "Type": "exec-tar", "Location": "/", "URI": "assets/ubuntu.tar.gz" } ], "Accents": { "Entrypoint": [ "echo", "Hello from repeatr!" ] }, "Outputs": [ { "Type": "tar", "Location": "/var/log", ...
<|file_sep|>original/lib/integration/unknown.json <|file_sep|>current/lib/integration/unknown.json <|file_sep|>updated/lib/integration/unknown.json { "Inputs": [ { "Type": "exec-tar", "Location": "/", "URI": "assets/ubuntu.tar.gz" } ], "Accents": { ...
f8c2698aabdd07bf51590b3def872f98c6946441
lib/integration/unknown.json
lib/integration/unknown.json
JSON
<|file_sep|>original/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs <|file_sep|>current/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs <|file_sep|>updated/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs
namespace SupportMe.Web.Infrastructure.HtmlHelpers { using System; using System.Linq.Expressions; using System.Web.Mvc; using Kendo.Mvc.UI; using Kendo.Mvc.UI.Fluent; public static class KendoHelpers { public static GridBuilder<T> FullFeaturedGrid<T>( this HtmlHelper h...
<|file_sep|>original/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs <|file_sep|>current/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs <|file_sep|>updated/Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs namespace SupportMe.Web.Infrastructure.HtmlHelpers {...
63948831a9d37cc8888efb8ac254790cb00dd05f
Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs
Source/Web/SupportMe.Web.Infrastructure/HtmlHelpers/KendoHelpers.cs
C#
<|file_sep|>original/src/tests/ScoreTests.java <|file_sep|>current/src/tests/ScoreTests.java <|file_sep|>updated/src/tests/ScoreTests.java
package tests; import static org.junit.Assert.*; import org.junit.Test; import logic.Score; public class ScoreTests { @Test public void test_initScore() { Score score = new Score(2, 1); assertEquals("Score for Player 1 is not 2", 2, score.p1()); assertEquals("Score for Player 2 is not 1", 1, score.p2())...
<|file_sep|>original/src/tests/ScoreTests.java <|file_sep|>current/src/tests/ScoreTests.java <|file_sep|>updated/src/tests/ScoreTests.java package tests; import static org.junit.Assert.*; import org.junit.Test; import logic.Score; public class ScoreTests { @Test public void test_initScore() { Score score = n...
e1161a23bce80337b0ed72022b29f969d301b982
src/tests/ScoreTests.java
src/tests/ScoreTests.java
Java
<|file_sep|>original/data/transition-sites/re_primary-authority.yml <|file_sep|>current/data/transition-sites/re_primary-authority.yml <|file_sep|>updated/data/transition-sites/re_primary-authority.yml
--- site: re_primary-authority whitehall_slug: regulatory-delivery homepage: https://www.gov.uk/government/organisations/regulatory-delivery tna_timestamp: 20201010101010 # Stub timestamp - site not in TNA host: primary-authority.beis.gov.uk global: =301 https://www.gov.uk/guidance/local-regulation-primary-authority
<|file_sep|>original/data/transition-sites/re_primary-authority.yml <|file_sep|>current/data/transition-sites/re_primary-authority.yml <|file_sep|>updated/data/transition-sites/re_primary-authority.yml --- site: re_primary-authority whitehall_slug: regulatory-delivery homepage: https://www.gov.uk/government/organisat...
0b3ef254e8e92ffd9b70592497f581a6a454240b
data/transition-sites/re_primary-authority.yml
data/transition-sites/re_primary-authority.yml
YAML
<|file_sep|>original/.travis.yml before_install: - wget http://bit.ly/miniconda -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update --yes --all - conda config --add channels conda-forge --force install: - conda env create environment.yml - s...
- bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update --yes --all - conda config --add channels conda-forge --force install: - conda env create environment.yml - source activate IOOS - conda install flake8 pytest --yes # The notebook PEP 8 test ignore: # W391...
<|file_sep|>original/.travis.yml before_install: - wget http://bit.ly/miniconda -O miniconda.sh - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - conda update --yes --all - conda config --add channels conda-forge --force install: - conda env create environment.yml - s...
c0c40e3727819a47c5d9ab94c4335560509ac3d1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/SesameRdfFormatter.md usage: SesameRdfFormatter -h,--help | print out details of the command-line arguments for the program -s,--source <arg> | source (input) RDF file to be formatting -sfmt,--source-format <arg> | source (input) RDF format; one of: auto (select...
# usage: SesameRdfFormatter ``` -bu,--base-uri <arg> set URI to use as base URI -h,--help print out details of the command-line arguments for the program -s,--source <arg> source (input) RDF file to format -sfmt,--source-format...
<|file_sep|>original/SesameRdfFormatter.md usage: SesameRdfFormatter -h,--help | print out details of the command-line arguments for the program -s,--source <arg> | source (input) RDF file to be formatting -sfmt,--source-format <arg> | source (input) RDF format; one of: auto (select...
f74190cb550025d71a87671a1e9f4fc6fb42a504
SesameRdfFormatter.md
SesameRdfFormatter.md
Markdown
<|file_sep|>original/js/energy-systems/view/ImageBasedEnergySystemNode.js /** * Base class for Nodes that represent energy system elements in the view * that use images as part of their representation. * * @author John Blanco * @author Andrew Adare */ define( function( require ) { 'use strict'; var inherit =...
/** * Base class for Nodes that represent energy system elements in the view * that use images as part of their representation. * * @author John Blanco * @author Andrew Adare */ define( function( require ) { 'use strict'; var Image = require( 'SCENERY/nodes/Image' ); var inherit = require( 'PHET_CORE/inher...
<|file_sep|>original/js/energy-systems/view/ImageBasedEnergySystemNode.js /** * Base class for Nodes that represent energy system elements in the view * that use images as part of their representation. * * @author John Blanco * @author Andrew Adare */ define( function( require ) { 'use strict'; var inherit =...
baf441eb9d9f9b3520a47489c7253ae34e8e627e
js/energy-systems/view/ImageBasedEnergySystemNode.js
js/energy-systems/view/ImageBasedEnergySystemNode.js
JavaScript
<|file_sep|>original/playbooks/biovel/r-packages/psw.yaml --- # R packages for Postprocessing Statistical workflow - hosts: rserve:&apt sudo: yes tasks: - name: Install PROJ and GDAL libraries action: apt pkg=libproj-dev state=present with_items: - libproj-dev - libgdal1-dev - hosts...
--- # R packages for Postprocessing Statistical workflow - hosts: rserve:&apt sudo: yes tasks: - name: Install PROJ and GDAL libraries action: apt pkg={{item}} state=present with_items: - libproj-dev - libgdal1-dev - hosts: rserve sudo: yes tasks: - name: Install R packages ...
<|file_sep|>original/playbooks/biovel/r-packages/psw.yaml --- # R packages for Postprocessing Statistical workflow - hosts: rserve:&apt sudo: yes tasks: - name: Install PROJ and GDAL libraries action: apt pkg=libproj-dev state=present with_items: - libproj-dev - libgdal1-dev - hosts...
b4e2871524fd83bc37eb3c756b2be4aceadda655
playbooks/biovel/r-packages/psw.yaml
playbooks/biovel/r-packages/psw.yaml
YAML
<|file_sep|>etc/app_templates/start/rails.sh.diff original: updated: <|file_sep|>original/etc/app_templates/start/rails.sh echo "Starting rails '$NAME' in $RUN_DIR" export RAILS_ENV=$1 export GEM_HOME=$RUN_DIR/.beehive_gem_home export GEM_PATH=$RUN_DIR/.beehive_gem_home:`gem env path` export PATH=$RUN_DIR/.beehive_g...
echo "Starting rails '$NAME' in $RUN_DIR" export RAILS_ENV=$1 export GEM_HOME=$RUN_DIR/.beehive_gem_home export GEM_PATH=$RUN_DIR/.beehive_gem_home:`gem env path` export PATH=$RUN_DIR/.beehive_gem_home/bin:$PATH echo $$ > $PIDFILE if [ -f "Isolate" ]; then ruby -rubygems -e 'require "isolate"; Isolate.now!' $GEM...
<|file_sep|>etc/app_templates/start/rails.sh.diff original: updated: <|file_sep|>original/etc/app_templates/start/rails.sh echo "Starting rails '$NAME' in $RUN_DIR" export RAILS_ENV=$1 export GEM_HOME=$RUN_DIR/.beehive_gem_home export GEM_PATH=$RUN_DIR/.beehive_gem_home:`gem env path` export PATH=$RUN_DIR/.beehive_g...
800f17467a6c04138cc88b1c3223d9ab326153a0
etc/app_templates/start/rails.sh
etc/app_templates/start/rails.sh
Shell
<|file_sep|>appinfo/info.xml.diff original: <version>1.4.0</version> updated: <version>1.4.1</version> <|file_sep|>original/appinfo/info.xml <id>weather</id> <name>Weather</name> <description>Watch the weather directly on your Nextcloud.</description> <version>1.4.0</version> <licence>AGPL</...
<id>weather</id> <name>Weather</name> <description>Watch the weather directly on your Nextcloud.</description> <version>1.4.1</version> <licence>AGPL</licence> <author>Loic Blot</author> <category>tools</category> <screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/scr...
<|file_sep|>appinfo/info.xml.diff original: <version>1.4.0</version> updated: <version>1.4.1</version> <|file_sep|>original/appinfo/info.xml <id>weather</id> <name>Weather</name> <description>Watch the weather directly on your Nextcloud.</description> <version>1.4.0</version> <licence>AGPL</...
d73090973324e27222c08fd031565d6393761ed8
appinfo/info.xml
appinfo/info.xml
XML
<|file_sep|>original/tests/dummy/app/components/area-chart-example/component.js import Ember from 'ember'; import layout from './template'; export default Ember.Component.extend({ layout, tooltipPositionX: 0, tooltipPositionY: 0, tooltipValue: 0, actions: { cursorPositionChanged(item, [x, y]) { t...
import Ember from 'ember'; import layout from './template'; export default Ember.Component.extend({ layout, tagName: 'chart', tooltipPositionX: 0, tooltipPositionY: 0, tooltipValue: 0, actions: { cursorPositionChanged(item, [x, y]) { this.set('tooltipValue', item[1]); this.set('tooltipPo...
<|file_sep|>original/tests/dummy/app/components/area-chart-example/component.js import Ember from 'ember'; import layout from './template'; export default Ember.Component.extend({ layout, tooltipPositionX: 0, tooltipPositionY: 0, tooltipValue: 0, actions: { cursorPositionChanged(item, [x, y]) { t...
9e877abbb89840b67cf742e22ac5cf783823628c
tests/dummy/app/components/area-chart-example/component.js
tests/dummy/app/components/area-chart-example/component.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml
sudo: false language: python python: - "2.7" - "3.5" install: pip install tox-travis script: tox
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" install: pip install tox-travis script: tox <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" install: pip install tox-travis script: tox <|file_sep|>updated/.travis.yml sudo: false language: python python: - ...
ed2fe1aee824f56767f27901f935520dfc2fd866
.travis.yml
.travis.yml
YAML