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/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java.diff
original:
updated:
import android.content.Intent;
<|file_sep|>app/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java.diff
original:
updated:
import android.view.View;
import android.widget.Button;
<|file_sep|>original/... | import android.view.View;
import android.widget.Button;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button listButton = (Button) findVi... | <|file_sep|>app/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java.diff
original:
updated:
import android.content.Intent;
<|file_sep|>app/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java.diff
original:
updated:
import android.view.View;
import android.widget.Button;
<|file_sep|>original/... | adbc2b526c34f253fa729e45f45951cc9b11e4a2 | app/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java | app/src/main/java/sleepyweasel/purplefluffernutter/MainActivity.java | Java |
<|file_sep|>original/partials/forms/radio-group.html
<fieldset id="{{key}}-group" class="{{#display}}{{display}}{{/display}}{{#error}} validation-error{{/error}}">
<legend class="visuallyhidden">{{legend}}</legend>
{{#options}}
<label class="block-label" for="{{key}}-{{value}}">
<input
... | <fieldset id="{{key}}-group" class="{{#display}}{{display}}{{/display}}{{#error}} validation-error{{/error}}" tabindex="-1">
<legend class="visuallyhidden">{{legend}}</legend>
{{#options}}
<label class="block-label" for="{{key}}-{{value}}">
<input
type="radio" name="{{key}}" id="... | <|file_sep|>original/partials/forms/radio-group.html
<fieldset id="{{key}}-group" class="{{#display}}{{display}}{{/display}}{{#error}} validation-error{{/error}}">
<legend class="visuallyhidden">{{legend}}</legend>
{{#options}}
<label class="block-label" for="{{key}}-{{value}}">
<input
... | 021a7dce46f05a00a885ba408277a7959ead57cc | partials/forms/radio-group.html | partials/forms/radio-group.html | HTML |
<|file_sep|>original/README.md
PocketCrafters!
---------------------------LICENCE-------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the L... | Alligator -Your server runs fast more more and more!
---------------------------LICENCE-------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of... | <|file_sep|>original/README.md
PocketCrafters!
---------------------------LICENCE-------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the L... | 6ab99e8c73cc1965af3c87e9f06228113533ad63 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
notifications:
email: false
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '0.10'
script: npm run jshint && npm test
notifications:
email: false
| <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
notifications:
email: false
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '0.10'
script: npm run jshint && npm test
notification... | 4a3d2f7ee1237f5e2b5a1d0ae3106ec5d1edc0fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Crest.Host/project.json
"type": "build",
"version": "2.9.0"
},
"Microsoft.Extensions.DependencyModel": "1.0.0",
"NETStandard.Library": "1.6.0",
"Newtonsoft.Json": "9.0.1",
"StyleCop.Analyzers": {
"type": "build",
"version": "1.0.0"
},
"System.... | "type": "build",
"version": "2.9.0"
},
"Microsoft.Extensions.DependencyModel": "1.0.0",
"NETStandard.Library": "1.6.0",
"Newtonsoft.Json": "9.0.1",
"StyleCop.Analyzers": {
"type": "build",
"version": "1.0.0"
},
"System.Collections.Immutable": "1.2.0",
"System.Comp... | <|file_sep|>original/src/Crest.Host/project.json
"type": "build",
"version": "2.9.0"
},
"Microsoft.Extensions.DependencyModel": "1.0.0",
"NETStandard.Library": "1.6.0",
"Newtonsoft.Json": "9.0.1",
"StyleCop.Analyzers": {
"type": "build",
"version": "1.0.0"
},
"System.... | 9585289ebb741c4e1651e03b858146718e0b89e9 | src/Crest.Host/project.json | src/Crest.Host/project.json | JSON |
<|file_sep|>package.json.diff
original:
"node": "0.10.x"
updated:
"node": "0.12.x"
<|file_sep|>original/package.json
{
"name": "planet-hunters",
"version": "0.0.1",
"engines": {
"node": "0.10.x"
},
"dependencies": {
"haw": "0.5.1",
"publisssh": "0.2.1",
"stack-of-pages": "0.0.11"... | {
"name": "planet-hunters",
"version": "0.0.1",
"engines": {
"node": "0.12.x"
},
"dependencies": {
"haw": "0.5.1",
"publisssh": "~1.1.0",
"stack-of-pages": "0.0.11",
"t7e": "~0.4.0",
"translator-seed": "0.1.2",
"zooniverse": "0.7.1",
"zootorial": "0.4.12"
},
"scripts": {
... | <|file_sep|>package.json.diff
original:
"node": "0.10.x"
updated:
"node": "0.12.x"
<|file_sep|>original/package.json
{
"name": "planet-hunters",
"version": "0.0.1",
"engines": {
"node": "0.10.x"
},
"dependencies": {
"haw": "0.5.1",
"publisssh": "0.2.1",
"stack-of-pages": "0.0.11"... | 265b18919d096316284dde978beb7e20386670d2 | package.json | package.json | JSON |
<|file_sep|>lib/calyx/production/non_terminal.rb.diff
original:
updated:
# Construct a non-terminal node, given the symbol to lookup and the
# registry to look it up in.
#
# @param symbol [Symbol]
# @param registry [Calyx::Registry]
<|file_sep|>original/lib/calyx/production/non_terminal.r... | module Production
class NonTerminal
# Construct a non-terminal node, given the symbol to lookup and the
# registry to look it up in.
#
# @param symbol [Symbol]
# @param registry [Calyx::Registry]
def initialize(symbol, registry)
@symbol = symbol.to_sym
@registry... | <|file_sep|>lib/calyx/production/non_terminal.rb.diff
original:
updated:
# Construct a non-terminal node, given the symbol to lookup and the
# registry to look it up in.
#
# @param symbol [Symbol]
# @param registry [Calyx::Registry]
<|file_sep|>original/lib/calyx/production/non_terminal.r... | dcd8f6e5a6dd92cd00bb5b15d7b8ca2dd0ad24dd | lib/calyx/production/non_terminal.rb | lib/calyx/production/non_terminal.rb | Ruby |
<|file_sep|>original/js/model/Configuracion.js
* Created by ivan on 10/5/14.
*/
angular.module('Frosch')
.factory('ConfiguracionService', function ($http, $translate) {
var clase = function () {
var me = this;
this.equipos = true;
this.maxPorEquipo = 1;
thi... | * Created by ivan on 10/5/14.
*/
angular.module('Frosch')
.factory('ConfiguracionService', function ($http, $translate) {
var clase = function () {
var me = this;
this.equipos = true;
this.maxPorEquipo = 1;
this.puntos = 800;
this.numJugadores =... | <|file_sep|>original/js/model/Configuracion.js
* Created by ivan on 10/5/14.
*/
angular.module('Frosch')
.factory('ConfiguracionService', function ($http, $translate) {
var clase = function () {
var me = this;
this.equipos = true;
this.maxPorEquipo = 1;
thi... | e6de7d824a4f5ad0a0bc9b916033f0c4c3664690 | js/model/Configuracion.js | js/model/Configuracion.js | JavaScript |
<|file_sep|>client/views/users/users_show/users_show.html.diff
original:
<div class="col-xs-12">
<h1>User Profile</h1>
<ul>
<li><strong>Username:</strong> {{currentUser.username}}</li>
<li><strong>Emails:</strong></li>
updated:
<div class="row">
<div class="col-xs-12">
... | </div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12">
<h1>User Profile</h1>
<ul>
<li><strong>Username:</strong> {{currentUser.username}}</li>
<li><strong>Emails:</strong></li>
<ul>
{{#each currentUser.ema... | <|file_sep|>client/views/users/users_show/users_show.html.diff
original:
<div class="col-xs-12">
<h1>User Profile</h1>
<ul>
<li><strong>Username:</strong> {{currentUser.username}}</li>
<li><strong>Emails:</strong></li>
updated:
<div class="row">
<div class="col-xs-12">
... | 5e81f4a464cfa70c877848c0bf68ee23ef9f3972 | client/views/users/users_show/users_show.html | client/views/users/users_show/users_show.html | HTML |
<|file_sep|>README.md.diff
original:
Setup
updated:
Setup (with Vagrant - recommended)
<|file_sep|>README.md.diff
original:
updated:
Dependencies
-----
[Vagrant 1.1+](http://www.vagrantup.com)
<|file_sep|>README.md.diff
original:
updated:
./manage.py createsuperuser
./manage.py update_index
<|file_sep|>orig... | cd wagtaildemo
vagrant up
vagrant ssh
(then, within the SSH session:)
./manage.py createsuperuser
./manage.py update_index
./manage.py runserver 0.0.0.0:8000
This will make the app accessible on the host machine as http://localhost:8111/ . The codebase is located on the host
machine, expo... | <|file_sep|>README.md.diff
original:
Setup
updated:
Setup (with Vagrant - recommended)
<|file_sep|>README.md.diff
original:
updated:
Dependencies
-----
[Vagrant 1.1+](http://www.vagrantup.com)
<|file_sep|>README.md.diff
original:
updated:
./manage.py createsuperuser
./manage.py update_index
<|file_sep|>orig... | 314233c4eb14b7a49861500b77f25040189b4f60 | README.md | README.md | Markdown |
<|file_sep|>original/lib/travis-deploy-logs/app.rb
end
env = params[:env].gsub("-", "_")
app = params[:app]
heroku_org = if app =~ /\Apro-/ || env =~ /\Acom/
TravisDeployLogs.config.heroku_orgs["com"]
else
TravisDeployLogs.config.her... | end
env = params[:env].gsub("-", "_")
app = params[:app]
heroku_org = if app =~ /\Apro-/ || env =~ /\Acom/
TravisDeployLogs.config.heroku_orgs["com"]
else
TravisDeployLogs.config.heroku_orgs["org"]
end
herok... | <|file_sep|>original/lib/travis-deploy-logs/app.rb
end
env = params[:env].gsub("-", "_")
app = params[:app]
heroku_org = if app =~ /\Apro-/ || env =~ /\Acom/
TravisDeployLogs.config.heroku_orgs["com"]
else
TravisDeployLogs.config.her... | 048528914f4ec52bd0bd2047e1aca3d63204ceb7 | lib/travis-deploy-logs/app.rb | lib/travis-deploy-logs/app.rb | Ruby |
<|file_sep|>original/app/src/main/res/menu/menu_map.xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/show_discounts_list"
android:title="@string/show_discounts_list"
android:titleCondensed="@string/show_discounts_list... | <?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/show_discounts_list"
android:title="@string/show_discounts_list"
android:titleCondensed="@string/show_discounts_list"
android:orderInCategory="1" />
<item andr... | <|file_sep|>original/app/src/main/res/menu/menu_map.xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/show_discounts_list"
android:title="@string/show_discounts_list"
android:titleCondensed="@string/show_discounts_list... | 6fa5ef49729f6ec5e20814643a9be26483ad4567 | app/src/main/res/menu/menu_map.xml | app/src/main/res/menu/menu_map.xml | XML |
<|file_sep|>src/CMakeLists.txt.diff
original:
updated:
find_package(Boost COMPONENTS filesystem system REQUIRED)
<|file_sep|>src/CMakeLists.txt.diff
original:
include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} ${SHIVAVG_INCLUDE_DIRS} )
updated:
include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE... | ADD_DEFINITIONS(
-std=c++11
)
add_executable(${PROJECT_NAME}
VGPP/Path.cpp
VGPP/Matrix.cpp
CelicaDisplay.cpp
CarDefinition.cpp
Display.cpp
DisplayManager.cpp
GLUtil.cpp
Input.cpp
main.cpp
SimpleTextDisplay.cpp
Status.cpp
TestInput.cpp )
include_directories( ${O... | <|file_sep|>src/CMakeLists.txt.diff
original:
updated:
find_package(Boost COMPONENTS filesystem system REQUIRED)
<|file_sep|>src/CMakeLists.txt.diff
original:
include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} ${SHIVAVG_INCLUDE_DIRS} )
updated:
include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE... | 9ac1d2b7b5c74570d283f4c4189efeffcc8e8cdd | src/CMakeLists.txt | src/CMakeLists.txt | Text |
<|file_sep|>DebianDevelChangesBot/messages/popcon.py.diff
original:
msg = "Popcon for [package]%d[reset] - " % self.package
updated:
msg = "Popcon for [package]%s[reset] - " % self.package
<|file_sep|>original/DebianDevelChangesBot/messages/popcon.py
# but WITHOUT ANY WARRANTY; without even the implie... | # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://ww... | <|file_sep|>DebianDevelChangesBot/messages/popcon.py.diff
original:
msg = "Popcon for [package]%d[reset] - " % self.package
updated:
msg = "Popcon for [package]%s[reset] - " % self.package
<|file_sep|>original/DebianDevelChangesBot/messages/popcon.py
# but WITHOUT ANY WARRANTY; without even the implie... | 30793e322363a6bcf0712a1645e149bafaf76865 | DebianDevelChangesBot/messages/popcon.py | DebianDevelChangesBot/messages/popcon.py | Python |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
[](https://travis-ci.org/bm5w/second_dataS.svg?branch=master)
Insertion Sort: This method will sort a list of numbers (int and floats). Insertion sort works with time comp... | [](https://travis-ci.org/bm5w/second_dataS.svg?branch=master)
Insertion Sort: This method will sort a list of numbers (int and floats). Insertion sort works with time complexity O(n) in the best case scenario. In the worse case, where the list is in r... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
[](https://travis-ci.org/bm5w/second_dataS.svg?branch=master)
Insertion Sort: This method will sort a list of numbers (int and floats). Insertion sort works with time comp... | 63e16e559ab93c268efb192d13c92d411decac68 | README.md | README.md | Markdown |
<|file_sep|>original/myapp/public/javascripts/enemy.js
* Enemy object factory
*
* @returns {object}
*/
var createEnemy = function() {
var svg = document.getElementById('game-board');
var rect = document.createElementNS(SVG_SPEC, 'rect');
var gameBoard = game.objs.board;
var xPos = 100;
var yPos... | * Enemy object factory
*
* @returns {object}
*/
var createEnemy = function() {
var svg = document.getElementById('game-board');
var rect = document.createElementNS(SVG_SPEC, 'rect');
var gameBoard = game.objs.board;
var getRandomInt = function(min, max) {
return Math.floor(Math.random() * (... | <|file_sep|>original/myapp/public/javascripts/enemy.js
* Enemy object factory
*
* @returns {object}
*/
var createEnemy = function() {
var svg = document.getElementById('game-board');
var rect = document.createElementNS(SVG_SPEC, 'rect');
var gameBoard = game.objs.board;
var xPos = 100;
var yPos... | ac2d3faa6144ad79e4e624c468fc764b2ec3b513 | myapp/public/javascripts/enemy.js | myapp/public/javascripts/enemy.js | JavaScript |
<|file_sep|>original/.packit.yaml
actions:
get-current-version:
- bash -c "source release_tools/versions.sh && echo ${version}"
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all-x86_64
- epel-8-x86_64
- epel-9-x86_64
- centos-stream-8-x86_64
- centos-stream-9... |
actions:
get-current-version:
- bash -c "source release_tools/versions.sh && echo ${version}"
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all-x86_64
- centos-stream-8-x86_64
- centos-stream-9-x86_64
- job: tests
trigger: pull_request
metadata:
targets:
... | <|file_sep|>original/.packit.yaml
actions:
get-current-version:
- bash -c "source release_tools/versions.sh && echo ${version}"
jobs:
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all-x86_64
- epel-8-x86_64
- epel-9-x86_64
- centos-stream-8-x86_64
- centos-stream-9... | 8211472ea3bd89ef1a2402614a8ce0b486516008 | .packit.yaml | .packit.yaml | YAML |
<|file_sep|>original/.github/workflows/publish-mkdocs-website.yml
name: Publish MkDocs website to GitHub pages
on:
push:
branches:
- release
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo snap install --classic kotlin
- ru... | name: Publish MkDocs website to GitHub pages
on:
push:
branches:
- release
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: ./docs/DocsCopier.main.kts
- uses: actions/setup-python@v2
with:
python-version: 3.x
... | <|file_sep|>original/.github/workflows/publish-mkdocs-website.yml
name: Publish MkDocs website to GitHub pages
on:
push:
branches:
- release
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo snap install --classic kotlin
- ru... | 1ea7e072ae7fba5b989f226dd8371cd22d0916ed | .github/workflows/publish-mkdocs-website.yml | .github/workflows/publish-mkdocs-website.yml | YAML |
<|file_sep|>original/requirements/check.txt
check-manifest==0.35
flake8==3.4.1
flake8-bugbear==17.4.0
flake8-builtins==1.0
flake8-docstrings==1.1.0
flake8-isort==2.2.2
flake8-future-import==0.4.3
flake8-print==2.0.2
pep8-naming==0.4.1
pydocstyle==2.0.0
pygments==2.2.0
pylint==1.7.2
readme-renderer==17.2
<|file_sep|>cur... | check-manifest==0.35
flake8==3.4.1
flake8-bugbear==17.4.0
flake8-builtins==1.0
flake8-docstrings==1.1.0
flake8-isort==2.2.2
flake8-future-import==0.4.3
flake8-print==2.0.2
pep8-naming==0.4.1
pydocstyle==2.0.0
pygments==2.2.0
pylint==1.7.3
readme-renderer==17.2 | <|file_sep|>original/requirements/check.txt
check-manifest==0.35
flake8==3.4.1
flake8-bugbear==17.4.0
flake8-builtins==1.0
flake8-docstrings==1.1.0
flake8-isort==2.2.2
flake8-future-import==0.4.3
flake8-print==2.0.2
pep8-naming==0.4.1
pydocstyle==2.0.0
pygments==2.2.0
pylint==1.7.2
readme-renderer==17.2
<|file_sep|>cur... | 4638aff0a9c7e12144384fcae7279cf06edc1618 | requirements/check.txt | requirements/check.txt | Text |
<|file_sep|>original/src/main/java/com/geeksville/apiproxy/APIConstants.java
package com.geeksville.apiproxy;
public class APIConstants {
/**
* The default world wide drone broker
*/
public static final String DEFAULT_SERVER = "api.3dr.com";
public static final String URL_BASE = "http://" + DEFA... | package com.geeksville.apiproxy;
public class APIConstants {
/**
* The default world wide drone broker
*/
public static final String DEFAULT_SERVER = "api.3dr.com";
public static final String URL_BASE = "https://" + DEFAULT_SERVER;
/**
* If using a raw TCP link to the server, use this ... | <|file_sep|>original/src/main/java/com/geeksville/apiproxy/APIConstants.java
package com.geeksville.apiproxy;
public class APIConstants {
/**
* The default world wide drone broker
*/
public static final String DEFAULT_SERVER = "api.3dr.com";
public static final String URL_BASE = "http://" + DEFA... | 3427de61f0973bc0add1dd21d225a4dfc6fb166c | src/main/java/com/geeksville/apiproxy/APIConstants.java | src/main/java/com/geeksville/apiproxy/APIConstants.java | Java |
<|file_sep|>original/requirements.txt
dj-database-url==0.5
Django==2.1.4
gunicorn==19.9.0
psycopg2==2.7.6
whitenoise==4.1.2
django-storages==1.7.1
Pillow==5.4.0
Markdown==3.0.1
requests==2.21.0
graphene-django==2.2.0
graphene==2.1.3
singlemodeladmin==0.9
boto==2.49.0
feedparser==5.2.1
authy==2.2.3
django-phonenumber-fi... | dj-database-url==0.5
Django==2.1.5
gunicorn==19.9.0
psycopg2==2.7.6
whitenoise==4.1.2
django-storages==1.7.1
Pillow==5.4.0
Markdown==3.0.1
requests==2.21.0
graphene-django==2.2.0
graphene==2.1.3
singlemodeladmin==0.9
boto==2.49.0
feedparser==5.2.1
authy==2.2.3
django-phonenumber-field==2.1.0
django-taggit==0.23.0
pytz=... | <|file_sep|>original/requirements.txt
dj-database-url==0.5
Django==2.1.4
gunicorn==19.9.0
psycopg2==2.7.6
whitenoise==4.1.2
django-storages==1.7.1
Pillow==5.4.0
Markdown==3.0.1
requests==2.21.0
graphene-django==2.2.0
graphene==2.1.3
singlemodeladmin==0.9
boto==2.49.0
feedparser==5.2.1
authy==2.2.3
django-phonenumber-fi... | cfe6264cb1012a56d8a89033c155f9305f73717a | requirements.txt | requirements.txt | Text |
<|file_sep|>src/deployment-monitor.coffee.diff
original:
'change': ()=>
updated:
change: ()=>
<|file_sep|>src/deployment-monitor.coffee.diff
original:
'close': ()=>
updated:
close: ()=>
<|file_sep|>original/src/deployment-monitor.coffee
constructor: ()->
@_deployment = null
@_chat = nu... | constructor: ()->
@_deployment = null
@_chat = null
@_currentTimeout = 0
@_eventListeners = {
change: ()=>
@_resetTimeout()
@_monitorTimeout()
close: ()=>
@.removeDeployment()
error: ()=>
@.removeDeployment()
}
setDeployment: (deployment, chat)-... | <|file_sep|>src/deployment-monitor.coffee.diff
original:
'change': ()=>
updated:
change: ()=>
<|file_sep|>src/deployment-monitor.coffee.diff
original:
'close': ()=>
updated:
close: ()=>
<|file_sep|>original/src/deployment-monitor.coffee
constructor: ()->
@_deployment = null
@_chat = nu... | 2219dc0168c1d484c050f4dbd83816b726d48930 | src/deployment-monitor.coffee | src/deployment-monitor.coffee | CoffeeScript |
<|file_sep|>original/databasedotcom.gemspec
s.description = %q{A ruby wrapper for the Force.com REST API}
s.rubyforge_project = 'databasedotcom'
s.files = Dir['README.md', 'MIT-LICENSE', 'lib/**/*']
s.require_paths = ['lib']
s.add_dependency 'multipart-post', '~> 1.1'
s.add_dependency 'json'
s.... | s.version = Databasedotcom::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['Glenn Gillen, Danny Burkes & Richard Zhao']
s.email = ['me@glenngillen.com']
s.homepage = 'https://github.com/heroku/databasedotcom'
s.summary = %q{A ruby wrapper for the Force.com REST API}
s.descri... | <|file_sep|>original/databasedotcom.gemspec
s.description = %q{A ruby wrapper for the Force.com REST API}
s.rubyforge_project = 'databasedotcom'
s.files = Dir['README.md', 'MIT-LICENSE', 'lib/**/*']
s.require_paths = ['lib']
s.add_dependency 'multipart-post', '~> 1.1'
s.add_dependency 'json'
s.... | 930f2875ddb0ba008cb92fa699d2fa761444b3e9 | databasedotcom.gemspec | databasedotcom.gemspec | Ruby |
<|file_sep|>Model/Flag/Impl/NoVehiclesUsageFlag.cs.diff
original:
updated:
public override bool SupportsGroups => true;
<|file_sep|>original/Model/Flag/Impl/NoVehiclesUsageFlag.cs
{
public override string Description => "Allow/Disallow usage of vehicles in region";
private readonly Diction... | {
public override string Description => "Allow/Disallow usage of vehicles in region";
public override bool SupportsGroups => true;
private readonly Dictionary<ulong, bool> _lastVehicleStates = new Dictionary<ulong, bool>();
public override void UpdateState(List<UnturnedPlayer> play... | <|file_sep|>Model/Flag/Impl/NoVehiclesUsageFlag.cs.diff
original:
updated:
public override bool SupportsGroups => true;
<|file_sep|>original/Model/Flag/Impl/NoVehiclesUsageFlag.cs
{
public override string Description => "Allow/Disallow usage of vehicles in region";
private readonly Diction... | e3ef6c174e6a6fd382ab7ea27dff814b0ecafe94 | Model/Flag/Impl/NoVehiclesUsageFlag.cs | Model/Flag/Impl/NoVehiclesUsageFlag.cs | C# |
<|file_sep|>original/lib/mbaas/session/mongoProvider.js
var MongoClient = require('mongodb').MongoClient;
module.exports = {
init: function(expressConfig, session, cb) {
var self = this;
var MongoStore = require('connect-mongo')(session);
MongoClient.connect(expressConfig.config.url, function(err, mongo) ... | var MongoClient = require('mongodb').MongoClient;
module.exports = {
init: function(expressConfig, session, cb) {
var self = this;
var MongoStore = require('connect-mongo')(session);
MongoClient.connect(expressConfig.config.url, function(err, mongo) {
if (err) {
return cb(err);
}
... | <|file_sep|>original/lib/mbaas/session/mongoProvider.js
var MongoClient = require('mongodb').MongoClient;
module.exports = {
init: function(expressConfig, session, cb) {
var self = this;
var MongoStore = require('connect-mongo')(session);
MongoClient.connect(expressConfig.config.url, function(err, mongo) ... | 80db4f54c95cade7661f92791d598cb861aa4053 | lib/mbaas/session/mongoProvider.js | lib/mbaas/session/mongoProvider.js | JavaScript |
<|file_sep|>lib/troo/configuration.rb.diff
original:
'https://api.trello.com/1'
updated:
config.fetch('api_url', 'https://api.trello.com/1')
<|file_sep|>lib/troo/configuration.rb.diff
original:
config.fetch('main_db', '')
updated:
config.fetch('main_db', '1')
<|file_sep|>original/lib/troo/config... | config.fetch('api_token', nil) || config.fetch('secret', '')
end
alias_method :secret, :api_token
def api_oauth_token
config.fetch('api_oauth_token', '')
end
def api_oauth_token_secret
config.fetch('api_oauth_token_secret', '')
end
def main_db
config.fetch('main_db... | <|file_sep|>lib/troo/configuration.rb.diff
original:
'https://api.trello.com/1'
updated:
config.fetch('api_url', 'https://api.trello.com/1')
<|file_sep|>lib/troo/configuration.rb.diff
original:
config.fetch('main_db', '')
updated:
config.fetch('main_db', '1')
<|file_sep|>original/lib/troo/config... | 1c74e334826da5fc2651053e8de91dce8655d210 | lib/troo/configuration.rb | lib/troo/configuration.rb | Ruby |
<|file_sep|>doc/modules/sources/biopax/index.rst.diff
original:
Biopax (:py:mod:`indra.sources.biopax`)
updated:
BioPAX (:py:mod:`indra.sources.biopax`)
<|file_sep|>doc/modules/sources/biopax/index.rst.diff
original:
Biopax API (:py:mod:`indra.sources.biopax.api`)
updated:
.. automodule:: indra.sources.biopax
:memb... | BioPAX (:py:mod:`indra.sources.biopax`)
=======================================
.. automodule:: indra.sources.biopax
:members:
BioPAX API (:py:mod:`indra.sources.biopax.api`)
-----------------------------------------------
.. automodule:: indra.sources.biopax.api
:members:
BioPAX Processor (:py:mod:`indra.s... | <|file_sep|>doc/modules/sources/biopax/index.rst.diff
original:
Biopax (:py:mod:`indra.sources.biopax`)
updated:
BioPAX (:py:mod:`indra.sources.biopax`)
<|file_sep|>doc/modules/sources/biopax/index.rst.diff
original:
Biopax API (:py:mod:`indra.sources.biopax.api`)
updated:
.. automodule:: indra.sources.biopax
:memb... | f7dbb72a4af4c2b1347d4a7e68d610e99f022de4 | doc/modules/sources/biopax/index.rst | doc/modules/sources/biopax/index.rst | reStructuredText |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | # Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | 5d0c61c42e950cdc7ca64b3b54c70f9c55137d69 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
if [ "$OSTYPE" = solaris* ]
updated:
if [[ "$OSTYPE" = solaris* ]]
<|file_sep|>original/plugins/colored-man-pages/colored-man-pages.plugin.zsh
if [ "$OSTYPE" = solaris* ]
then
if [ ! -x "$HOME/bin/nroff" ]
then
mkdir -p "$HOME/bin"
... | if [[ "$OSTYPE" = solaris* ]]
then
if [[ ! -x "$HOME/bin/nroff" ]]
then
mkdir -p "$HOME/bin"
cat > "$HOME/bin/nroff" <<EOF
#!/bin/sh
if [ -n "\$_NROFF_U" -a "\$1,\$2,\$3" = "-u0,-Tlp,-man" ]; then
shift
exec /usr/bin/nroff -u\$_NROFF_U "\$@"
fi
#-- Some other invocation of nroff
exec /usr/bin/nroff "\$@"
EOF
... | <|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
if [ "$OSTYPE" = solaris* ]
updated:
if [[ "$OSTYPE" = solaris* ]]
<|file_sep|>original/plugins/colored-man-pages/colored-man-pages.plugin.zsh
if [ "$OSTYPE" = solaris* ]
then
if [ ! -x "$HOME/bin/nroff" ]
then
mkdir -p "$HOME/bin"
... | bd46c4307dc5b0a40ed73cee72754f62ee35b45e | plugins/colored-man-pages/colored-man-pages.plugin.zsh | plugins/colored-man-pages/colored-man-pages.plugin.zsh | Shell |
<|file_sep|>lib/trello_newsletter.rb.diff
original:
updated:
require "trello"
<|file_sep|>lib/trello_newsletter.rb.diff
original:
module TrelloNewsletter
# Your code goes here...
updated:
Trello.configure do |config|
config.developer_public_key = ENV['TRELLO_DEVELOPER_PUBLIC_KEY']
config.member_token = ENV['TREL... | require "trello_newsletter/version"
require "trello"
Trello.configure do |config|
config.developer_public_key = ENV['TRELLO_DEVELOPER_PUBLIC_KEY']
config.member_token = ENV['TRELLO_MEMBER_TOKEN']
end
class TrelloNewsletter
boards = Trello::Board.all
puts boards
end | <|file_sep|>lib/trello_newsletter.rb.diff
original:
updated:
require "trello"
<|file_sep|>lib/trello_newsletter.rb.diff
original:
module TrelloNewsletter
# Your code goes here...
updated:
Trello.configure do |config|
config.developer_public_key = ENV['TRELLO_DEVELOPER_PUBLIC_KEY']
config.member_token = ENV['TREL... | da7b953433c725e70e88b0370d3bfec4d1c6bf4c | lib/trello_newsletter.rb | lib/trello_newsletter.rb | Ruby |
<|file_sep|>original/README.md
This is a jQuery plugin I made to generically fix elements on a page when a user would scroll past them. The elements stay fixed in the browser window until the user scrolls back to up to where the element was at which point the element sticks back to its original position.
[View a demo ... | This is a jQuery plugin I made to generically fix elements on a page when a user would scroll past them. The elements stay fixed in the browser window until the user scrolls back to up to where the element was at which point the element sticks back to its original position.
[View a demo here](http://glench.com/open-so... | <|file_sep|>original/README.md
This is a jQuery plugin I made to generically fix elements on a page when a user would scroll past them. The elements stay fixed in the browser window until the user scrolls back to up to where the element was at which point the element sticks back to its original position.
[View a demo ... | 58106a1f701dbed915bcb15f615174377179f81e | README.md | README.md | Markdown |
<|file_sep|>original/serialenum.py
if sys.platform == 'win32':
# Iterate through registry because WMI does not show virtual serial ports
import _winreg
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, r'HARDWARE\DEVICEMAP\SERIALCOMM')
i = 0
while True:
try:
... | import _winreg
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, r'HARDWARE\DEVICEMAP\SERIALCOMM')
i = 0
while True:
try:
ports.append(_winreg.EnumValue(key, i)[1])
i = i + 1
except WindowsError:
break
elif sys.... | <|file_sep|>original/serialenum.py
if sys.platform == 'win32':
# Iterate through registry because WMI does not show virtual serial ports
import _winreg
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, r'HARDWARE\DEVICEMAP\SERIALCOMM')
i = 0
while True:
try:
... | 7ba23ab480df92025c3d76c4afa6d56987088899 | serialenum.py | serialenum.py | Python |
<|file_sep|>original/apps/frontend/config/app.yml
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App
# default values
#all:
#patrick
<|file_sep|>current/apps/frontend/config/app.yml
# You can find more information about this file on the symf... | # You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App
# default values
#all: | <|file_sep|>original/apps/frontend/config/app.yml
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/11-App
# default values
#all:
#patrick
<|file_sep|>current/apps/frontend/config/app.yml
# You can find more information about this file on the symf... | dc7ac8a31d9c3dacb36b1edfa89a2cd21b8089ae | apps/frontend/config/app.yml | apps/frontend/config/app.yml | YAML |
<|file_sep|>original/runcurldrop.py
file_id text not null,
timestamp integer not null,
ip text not null,
originalname text not null
);'''
if not os.path.isfile(config['DATABASE']):
with closing(sqlite3.connect(config['DATABASE'])) as db:
db.cursor().executescript(schema)
db.commit()
if not... | timestamp integer not null,
ip text not null,
originalname text not null
);'''
if not os.path.isfile(config['DATABASE']):
with closing(sqlite3.connect(config['DATABASE'])) as db:
db.cursor().executescript(schema)
db.commit()
if not os.path.isdir(config['UPLOADDIR']):
os.makedirs(config['... | <|file_sep|>original/runcurldrop.py
file_id text not null,
timestamp integer not null,
ip text not null,
originalname text not null
);'''
if not os.path.isfile(config['DATABASE']):
with closing(sqlite3.connect(config['DATABASE'])) as db:
db.cursor().executescript(schema)
db.commit()
if not... | 310016762927dd9796109712be1c59ce0c1a658c | runcurldrop.py | runcurldrop.py | Python |
<|file_sep|>original/oratioignoreparser.py
class OratioIgnoreParser():
def __init__(self):
self.ignored_paths = ["oratiomodule.tar.gz"]
def load(self, oratio_ignore_path):
with open(oratio_ignore_path, "r") as f:
self.ignored_paths.extend([line.strip() for line in f])
def sho... |
class OratioIgnoreParser():
def __init__(self):
self.ignored_paths = ["oratiomodule.tar.gz"]
def load(self, oratio_ignore_path):
with open(oratio_ignore_path, "r") as f:
self.ignored_paths.extend([line.strip() for line in f])
def extend_list(self, ignored_paths_list):
... | <|file_sep|>original/oratioignoreparser.py
class OratioIgnoreParser():
def __init__(self):
self.ignored_paths = ["oratiomodule.tar.gz"]
def load(self, oratio_ignore_path):
with open(oratio_ignore_path, "r") as f:
self.ignored_paths.extend([line.strip() for line in f])
def sho... | 23501afd09b13d1e5f33bdd60614fd9ac7210108 | oratioignoreparser.py | oratioignoreparser.py | Python |
<|file_sep|>original/ansible/roles/photon-service/tasks/main.yml
---
# file: roles/photon-service/tasks/main.yml
# - name: Install the java 8 jre (DOESN'T WORK BECAUSE OF ELASTIC IP)
# yum:
# name: java-1.8.0-openjdk
# state: present
# become: true
- name: Copies the systemd service wrapper
cop... | ---
# file: roles/photon-service/tasks/main.yml
- name: Install the java 8 jre
yum:
name: java-1.8.0-openjdk
state: present
become: true
- name: Copies the systemd service wrapper
copy:
src: ../photon-service/src/main/scripts/PhotonService.service
dest: /usr/lib/systemd/system
... | <|file_sep|>original/ansible/roles/photon-service/tasks/main.yml
---
# file: roles/photon-service/tasks/main.yml
# - name: Install the java 8 jre (DOESN'T WORK BECAUSE OF ELASTIC IP)
# yum:
# name: java-1.8.0-openjdk
# state: present
# become: true
- name: Copies the systemd service wrapper
cop... | a9402f960103071a15ba316a7ed7f8ec138d2fc4 | ansible/roles/photon-service/tasks/main.yml | ansible/roles/photon-service/tasks/main.yml | YAML |
<|file_sep|>original/.travis.yml
language: scala
scala:
- 2.10.1
- 2.9.3
before_script: "cd parsers/"
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.10.1
- 2.9.3
before_script: "cd parsers/"
<|file_sep|>updated/.travis.yml | language: scala
scala:
- 2.10.1
before_script: "cd parsers/" | <|file_sep|>original/.travis.yml
language: scala
scala:
- 2.10.1
- 2.9.3
before_script: "cd parsers/"
<|file_sep|>current/.travis.yml
language: scala
scala:
- 2.10.1
- 2.9.3
before_script: "cd parsers/"
<|file_sep|>updated/.travis.yml
language: scala
scala:
- 2.10.1
before_script: "cd parsers/" | 25c49f1c8e026f7435e2f4e63a70bf429ad5a57c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/GitTagTest.php
<|file_sep|>current/tests/GitTagTest.php
<|file_sep|>updated/tests/GitTagTest.php | <?php
use Git4p\Git;
use Git4p\GitObject;
use Git4p\GitTag;
class GitTagTest extends PHPUnit_Framework_TestCase {
protected $git = false;
protected $gittag = false;
public function setup() {
$this->git = new Git('/tmp/phpunit/gittestrepo');
$this->gittag = new GitTag($this->git);
... | <|file_sep|>original/tests/GitTagTest.php
<|file_sep|>current/tests/GitTagTest.php
<|file_sep|>updated/tests/GitTagTest.php
<?php
use Git4p\Git;
use Git4p\GitObject;
use Git4p\GitTag;
class GitTagTest extends PHPUnit_Framework_TestCase {
protected $git = false;
protected $gittag = false;
public fun... | 7dfd9ae0e53493c9678fa8a3132e1c5d19007fab | tests/GitTagTest.php | tests/GitTagTest.php | PHP |
<|file_sep|>cmake/toolchain/zephyr/0.11/generic.cmake.diff
original:
set(CROSS_COMPILE_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf)
set(SYSROOT_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf)
updated:
# Find some toolchain that is distributed with this particular SDK
<|file_sep|>original/cmake/toolchain/zephyr/0.11/generic.cmak... | # SPDX-License-Identifier: Apache-2.0
set(TOOLCHAIN_HOME ${ZEPHYR_SDK_INSTALL_DIR})
set(COMPILER gcc)
set(LINKER ld)
set(BINTOOLS gnu)
# Find some toolchain that is distributed with this particular SDK
file(GLOB toolchain_paths
LIST_DIRECTORIES true
${TOOLCHAIN_HOME}/xtensa/*/*-zephyr-elf
${TOOLCHAIN_HOME}/*-... | <|file_sep|>cmake/toolchain/zephyr/0.11/generic.cmake.diff
original:
set(CROSS_COMPILE_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf)
set(SYSROOT_TARGET x86_64-${TOOLCHAIN_VENDOR}-elf)
updated:
# Find some toolchain that is distributed with this particular SDK
<|file_sep|>original/cmake/toolchain/zephyr/0.11/generic.cmak... | f58e4e0e67a30b8d4df668ac7ae03ff282366282 | cmake/toolchain/zephyr/0.11/generic.cmake | cmake/toolchain/zephyr/0.11/generic.cmake | CMake |
<|file_sep|>tensorflow/tools/ci_build/release/requirements_mac.txt.diff
original:
updated:
# Install dependencies for parsing xml files. This is used in "squash_testlogs.py".
junitparser
lxml
<|file_sep|>original/tensorflow/tools/ci_build/release/requirements_mac.txt
-r requirements_common.txt
# Dependencies only re... | -r requirements_common.txt
# Dependencies only required for Mac
certifi ~= 2020.12.5
# Install build related dependencies
twine ~= 3.6.0
setuptools
# Install dependencies for parsing xml files. This is used in "squash_testlogs.py".
junitparser
lxml
# Test dependencies which don't exist on Windows
jax ~= 0.2.26
jaxl... | <|file_sep|>tensorflow/tools/ci_build/release/requirements_mac.txt.diff
original:
updated:
# Install dependencies for parsing xml files. This is used in "squash_testlogs.py".
junitparser
lxml
<|file_sep|>original/tensorflow/tools/ci_build/release/requirements_mac.txt
-r requirements_common.txt
# Dependencies only re... | 6370458d67f59e26e9cd10d42c61c87d6d92a583 | tensorflow/tools/ci_build/release/requirements_mac.txt | tensorflow/tools/ci_build/release/requirements_mac.txt | Text |
<|file_sep|>original/checklistbank-ws-client/src/test/resources/checklistbank.properties
checklistbank.db.JDBC.driver=org.postgresql.Driver
checklistbank.db.JDBC.url=${checklistbank.db.url}
checklistbank.db.JDBC.username=${checklistbank.db.username}
checklistbank.db.JDBC.password=${checklistbank.db.password}
checklistb... | checklistbank.db.JDBC.driver=org.postgresql.Driver
checklistbank.db.JDBC.url=${checklistbank.db.url}
checklistbank.db.JDBC.username=${checklistbank.db.username}
checklistbank.db.JDBC.password=${checklistbank.db.password}
checklistbank.db.bonecp.partitionCount=1
checklistbank.db.bonecp.maxConnectionsPerPartition=5
check... | <|file_sep|>original/checklistbank-ws-client/src/test/resources/checklistbank.properties
checklistbank.db.JDBC.driver=org.postgresql.Driver
checklistbank.db.JDBC.url=${checklistbank.db.url}
checklistbank.db.JDBC.username=${checklistbank.db.username}
checklistbank.db.JDBC.password=${checklistbank.db.password}
checklistb... | b058fbb4dd9d725284dd470cdc4da98b292ca137 | checklistbank-ws-client/src/test/resources/checklistbank.properties | checklistbank-ws-client/src/test/resources/checklistbank.properties | INI |
<|file_sep|>original/src/app/views/events/genes/summary/geneSummary.tpl.html
<div class="geneSummary">
<div class="row {{ backgroundColor }}">
<div class="col-xs-12 col-md-6">
<gene-description gene-data="gene"></gene-description>
</div>
<div class="col-xs-12 col-md-6">
<my-gene-info gene-info... | <div class="geneSummary">
<div class="row {{ backgroundColor }}">
<div class="col-xs-12 col-md-6">
<gene-description gene-data="gene"></gene-description>
</div>
<div class="col-xs-12 col-md-6">
<my-gene-info gene-info="myGeneInfo"></my-gene-info>
<a class="btn btn-block btn-default" ng-h... | <|file_sep|>original/src/app/views/events/genes/summary/geneSummary.tpl.html
<div class="geneSummary">
<div class="row {{ backgroundColor }}">
<div class="col-xs-12 col-md-6">
<gene-description gene-data="gene"></gene-description>
</div>
<div class="col-xs-12 col-md-6">
<my-gene-info gene-info... | b1a39a6547773e2039368b25da7c87b6df8bbaee | src/app/views/events/genes/summary/geneSummary.tpl.html | src/app/views/events/genes/summary/geneSummary.tpl.html | HTML |
<|file_sep|>original/Ditto/CategoryPicker.swift
var index: Int { return view.selectedRowInComponent(0) }
var name: String { return categories[index] }
init(categories: [String]) {
self.categories = categories
super.init()
view.showsSelectionIndicator = tru... |
var index: Int { return view.selectedRowInComponent(0) }
var name: String { return categories[index] }
init(categories: [String]) {
self.categories = categories
super.init()
view.showsSelectionIndicator = true
view.backgroundColor = UIColor(white: ... | <|file_sep|>original/Ditto/CategoryPicker.swift
var index: Int { return view.selectedRowInComponent(0) }
var name: String { return categories[index] }
init(categories: [String]) {
self.categories = categories
super.init()
view.showsSelectionIndicator = tru... | 0ae13fac3a1db8e197ac81a3c687978f40fc847b | Ditto/CategoryPicker.swift | Ditto/CategoryPicker.swift | Swift |
<|file_sep|>original/.travis.yml
language: android
android:
components:
- sys-img-armeabi-v7a-android-21
before_script:
- android list targets
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
-... | language: android
android:
components:
- sys-img-armeabi-v7a-android-21
before_script:
- android list targets
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
in... | <|file_sep|>original/.travis.yml
language: android
android:
components:
- sys-img-armeabi-v7a-android-21
before_script:
- android list targets
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
-... | 77ac5ce88fbbb6cfd03bf446c1ce81a6320f7e30 | .travis.yml | .travis.yml | YAML |
<|file_sep|>page-film-discussions.hbs.diff
original:
<h1 class="post-title film-discussion-title">{{title}}</h1>
updated:
<|file_sep|>original/page-film-discussions.hbs
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<nav class="main-nav... | <a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
</nav>
</header>
<main class="content" role="main">
<article class="{{post_class}}">
{{! Everything inside the #post tags pulls data from the p... | <|file_sep|>page-film-discussions.hbs.diff
original:
<h1 class="post-title film-discussion-title">{{title}}</h1>
updated:
<|file_sep|>original/page-film-discussions.hbs
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
<nav class="main-nav... | 1664a40e7f0356ea824ff046495126658cc15895 | page-film-discussions.hbs | page-film-discussions.hbs | Handlebars |
<|file_sep|>grunt/contrib-sass.js.diff
original:
updated:
trace: false,
<|file_sep|>original/grunt/contrib-sass.js
cwd: 'scss',
src: ['*.scss'],
dest: 'styles',
ext: '.css'
}],
},
deploy: {
options: ... | expand: true,
cwd: 'scss',
src: ['*.scss'],
dest: 'styles',
ext: '.css'
}],
},
deploy: {
options: {
sourcemap: true,
trace: false,
style: 'compressed',
... | <|file_sep|>grunt/contrib-sass.js.diff
original:
updated:
trace: false,
<|file_sep|>original/grunt/contrib-sass.js
cwd: 'scss',
src: ['*.scss'],
dest: 'styles',
ext: '.css'
}],
},
deploy: {
options: ... | 4297e850bfd02d4e72caaa98bb1d9cdbc72308cd | grunt/contrib-sass.js | grunt/contrib-sass.js | JavaScript |
<|file_sep|>lib/active_record_lite/mass_object.rb.diff
original:
updated:
results.map do |params|
self.new(params)
end
<|file_sep|>lib/active_record_lite/mass_object.rb.diff
original:
updated:
<|file_sep|>original/lib/active_record_lite/mass_object.rb
end
end
def self.attributes
@attribute... | @attributes ||= []
end
def self.parse_all(results)
results.map do |params|
self.new(params)
end
end
def initialize(params = {})
params.each do |attribute, value|
attribute = attribute.to_s
if self.class.attributes.include?(attribute)
self.send("#{attribute}=", value)... | <|file_sep|>lib/active_record_lite/mass_object.rb.diff
original:
updated:
results.map do |params|
self.new(params)
end
<|file_sep|>lib/active_record_lite/mass_object.rb.diff
original:
updated:
<|file_sep|>original/lib/active_record_lite/mass_object.rb
end
end
def self.attributes
@attribute... | 069521a4440bab8235be6117602fdc5954682e4e | lib/active_record_lite/mass_object.rb | lib/active_record_lite/mass_object.rb | Ruby |
<|file_sep|>original/.github/workflows/ci.yml
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Gradle dependencies
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
re... | steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Gradle dependencies
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gra... | <|file_sep|>original/.github/workflows/ci.yml
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Gradle dependencies
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
re... | a2e84588ac2fd96f3073bbba963f369725afddb6 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>src/expected_version.rs.diff
original:
Exist, // -4 to say that the stream should exist with any number of events in it.
NoConflict, // -2 states that this write should never conflict with anything and should always succeed.
NotExist, // -1 states that the stream should not exist at the t... |
impl From<String> for ExpectedVersion {
fn from(string: String) -> ExpectedVersion {
match string.as_ref() {
"-4" => ExpectedVersion::Exist,
"-2" => ExpectedVersion::NoConflict,
"-1" => ExpectedVersion::NotExist,
"0" => ExpectedVersion::Empty,
_ =... | <|file_sep|>src/expected_version.rs.diff
original:
Exist, // -4 to say that the stream should exist with any number of events in it.
NoConflict, // -2 states that this write should never conflict with anything and should always succeed.
NotExist, // -1 states that the stream should not exist at the t... | bb287148f4b6f6e1ecf18d37f5445f6cb2ef9ee3 | src/expected_version.rs | src/expected_version.rs | Rust |
<|file_sep|>original/test/Interpreter/metadata_cycles.swift
<|file_sep|>current/test/Interpreter/metadata_cycles.swift
<|file_sep|>updated/test/Interpreter/metadata_cycles.swift | // RUN: %target-run-simple-swift
// REQUIRES: executable_test
import StdlibUnittest
var MetadataCycleTests = TestSuite("Metadata cycle tests")
// rdar://18448285
class test0_GenericClass<T> {
func foo() {}
}
class test0_GenericSubclass<T> : test0_GenericClass<test0_GenericSubclass> {}
MetadataCycleTests.test("rdar... | <|file_sep|>original/test/Interpreter/metadata_cycles.swift
<|file_sep|>current/test/Interpreter/metadata_cycles.swift
<|file_sep|>updated/test/Interpreter/metadata_cycles.swift
// RUN: %target-run-simple-swift
// REQUIRES: executable_test
import StdlibUnittest
var MetadataCycleTests = TestSuite("Metadata cycle tes... | bd0613f2c6da781d81c5a8e04349b348e1cd7f7c | test/Interpreter/metadata_cycles.swift | test/Interpreter/metadata_cycles.swift | Swift |
<|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
dist: bionic
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
matrix:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
updated:
- TEST=unit
- TEST=issue
- TEST=console
- ... |
jobs:
exclude:
- python: "3.5"
env: TEST=example
install:
- pip install --upgrade pip six
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install -e .[notebook,app,html]
script:
- if [ $TEST == 'unit' ]; then pytest --cov=. tests/unit/; fi
- if [ $TEST == 'issue... | <|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
dist: bionic
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
matrix:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
updated:
- TEST=unit
- TEST=issue
- TEST=console
- ... | f770bf0828fe6d99262a6750a80a30bba5ffe310 | .travis.yml | .travis.yml | YAML |
<|file_sep|>fibonacci/Fibonacci.java.diff
original:
public static int fibonacci(int n)
updated:
public static long fibonacci(long n)
<|file_sep|>original/fibonacci/Fibonacci.java
return fibonacci(n - 1) + fibonacci(n - 2);
}
public static void main(String[] args)
{
if (args.length > 0)
{
t... |
return fibonacci(n - 1) + fibonacci(n - 2);
}
public static void main(String[] args)
{
if (args.length > 0)
{
try
{
long n = Long.parseLong(args[0]);
System.out.println(fibonacci(n));
}
catch (NumberFormatException e)
{
System.err.printf("Given ... | <|file_sep|>fibonacci/Fibonacci.java.diff
original:
public static int fibonacci(int n)
updated:
public static long fibonacci(long n)
<|file_sep|>original/fibonacci/Fibonacci.java
return fibonacci(n - 1) + fibonacci(n - 2);
}
public static void main(String[] args)
{
if (args.length > 0)
{
t... | ad6ab6fbb376e768a200d0f9aaca586e1b83097d | fibonacci/Fibonacci.java | fibonacci/Fibonacci.java | Java |
<|file_sep|>README.md.diff
original:
updated:
[![Build Status][status]][travis]
<|file_sep|>original/README.md
This app is in an early development stage and not ready for production yet.
## Introduction
If you are trading with Bitcoin, it's important to have overview of all your
trades. That way you can analyse yo... | ## Introduction
If you are trading with Bitcoin, it's important to have overview of all your
trades. That way you can analyse your trading strategy, check how much you
profit or lose and make further decisions.
This app provides numerous features which help you with your trading activity:
* Manage all your trades
* ... | <|file_sep|>README.md.diff
original:
updated:
[![Build Status][status]][travis]
<|file_sep|>original/README.md
This app is in an early development stage and not ready for production yet.
## Introduction
If you are trading with Bitcoin, it's important to have overview of all your
trades. That way you can analyse yo... | 62a10d134349989f70f35b23441a308e94f1bcc2 | README.md | README.md | Markdown |
<|file_sep|>src/components/ScrollToTop.js.diff
original:
updated:
import { withRouter } from "react-router-dom"
<|file_sep|>src/components/ScrollToTop.js.diff
original:
if (this.props.location !== prevProps.location) {
updated:
if (this.props.location.pathname !== prevProps.location.pathname) {
<|file_sep|>ori... | import PropTypes from 'prop-types';
import { withRouter } from "react-router-dom"
class ScrollToTop extends React.Component {
componentDidUpdate(prevProps) {
if (this.props.location.pathname !== prevProps.location.pathname) {
window.scrollTo(0, 0);
}
}
render() {
return this.props.children;
... | <|file_sep|>src/components/ScrollToTop.js.diff
original:
updated:
import { withRouter } from "react-router-dom"
<|file_sep|>src/components/ScrollToTop.js.diff
original:
if (this.props.location !== prevProps.location) {
updated:
if (this.props.location.pathname !== prevProps.location.pathname) {
<|file_sep|>ori... | b8744a082e1171bda2653e6b19f48c438acf1798 | src/components/ScrollToTop.js | src/components/ScrollToTop.js | JavaScript |
<|file_sep|>original/Package.swift
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TOCropViewController",
defaultLocalization: "en",
platforms: [.iOS(.v8)],
products: [
... | // swift-tools-version:5.2.4
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TOCropViewController",
defaultLocalization: "en",
platforms: [.iOS(.v8)],
products: [
.library(
name: "... | <|file_sep|>original/Package.swift
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "TOCropViewController",
defaultLocalization: "en",
platforms: [.iOS(.v8)],
products: [
... | eca61fcf0f344961749ee07e42b9825f68831bde | Package.swift | Package.swift | Swift |
<|file_sep|>original/docs/sphinx/users/idl.txt
used for interactive processing of large amounts of data including
images.
IDL possesses the ability to interact with Java applications via its
IDL-Java bridge. Karsten Rodenacker has written a script that uses
Bio-Formats to read in image files to IDL.
Installation
----... | Data Language) is a popular data visualization and analysis platform
used for interactive processing of large amounts of data including
images.
IDL possesses the ability to interact with Java applications via its
IDL-Java bridge. Karsten Rodenacker has written a script that uses
Bio-Formats to read in image files to I... | <|file_sep|>original/docs/sphinx/users/idl.txt
used for interactive processing of large amounts of data including
images.
IDL possesses the ability to interact with Java applications via its
IDL-Java bridge. Karsten Rodenacker has written a script that uses
Bio-Formats to read in image files to IDL.
Installation
----... | 2836bc986873eec84a477b9743201ed4d6389fd1 | docs/sphinx/users/idl.txt | docs/sphinx/users/idl.txt | Text |
<|file_sep|>original/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
coverage==4.5.1
Sphinx==1.7.6
cryptography==2.3
PyYAML==4.2b4
pytest==3.6.4
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
fl... | pip==18.0
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
coverage==4.5.1
Sphinx==1.7.6
cryptography==2.3
PyYAML==4.2b4
pytest==3.7.0
pyaudio==0.2.11 | <|file_sep|>original/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
coverage==4.5.1
Sphinx==1.7.6
cryptography==2.3
PyYAML==4.2b4
pytest==3.6.4
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==18.0
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
fl... | 377f0ea40c692043664a31218388b6ae61fe4c81 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/app/src/main/res/values/styles.xml
<resources>
<style name="BaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme" parent="BaseTheme">
<item name=... | <resources>
<style name="BaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme" parent="BaseTheme">
<item name="colorPrimary">@color/indigo</item>
<item name="... | <|file_sep|>original/app/src/main/res/values/styles.xml
<resources>
<style name="BaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme" parent="BaseTheme">
<item name=... | efd65d511e4d0db4d581a290fe4da1eef1117758 | app/src/main/res/values/styles.xml | app/src/main/res/values/styles.xml | XML |
<|file_sep|>PlasMOUL/Messages/SimulationMsg.cpp.diff
original:
updated:
MOUL::Message::read(stream);
<|file_sep|>original/PlasMOUL/Messages/SimulationMsg.cpp
* *
* dirtsand is distributed in the hope that it will be useful, ... | * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Affero General Public License for more details. *
* *
... | <|file_sep|>PlasMOUL/Messages/SimulationMsg.cpp.diff
original:
updated:
MOUL::Message::read(stream);
<|file_sep|>original/PlasMOUL/Messages/SimulationMsg.cpp
* *
* dirtsand is distributed in the hope that it will be useful, ... | a7b06e5ad2147752b7e0a82c0c37778c72def66e | PlasMOUL/Messages/SimulationMsg.cpp | PlasMOUL/Messages/SimulationMsg.cpp | C++ |
<|file_sep|>original/isu/_config.php
<?php
global $project;
$project = 'isu';
global $database;
$database = 'isuweb';
// Set the site locale
i18n::set_locale('sk_SK');
require_once("conf/ConfigureFromEnv.php");
<|file_sep|>current/isu/_config.php
<?php
global $project;
$project = 'isu';
global $database;
$databas... | <?php
global $project;
$project = 'isu';
global $database;
$database = 'isuweb55';
// Set the site locale
i18n::set_locale('sk_SK');
require_once("conf/ConfigureFromEnv.php"); | <|file_sep|>original/isu/_config.php
<?php
global $project;
$project = 'isu';
global $database;
$database = 'isuweb';
// Set the site locale
i18n::set_locale('sk_SK');
require_once("conf/ConfigureFromEnv.php");
<|file_sep|>current/isu/_config.php
<?php
global $project;
$project = 'isu';
global $database;
$databas... | 6486525af299f65d24f8eff1d2ddbd9860b0a5b6 | isu/_config.php | isu/_config.php | PHP |
<|file_sep|>packages/syft/src/syft/core/node/common/node_table/node_route.py.diff
original:
host_or_ip = Column(String(255))
updated:
host_or_ip = Column(String(255), default="")
<|file_sep|>original/packages/syft/src/syft/core/node/common/node_table/node_route.py
# third party
from sqlalchemy import Boolean
fr... | # third party
from sqlalchemy import Boolean
from sqlalchemy import Column
from sqlalchemy import ForeignKey
from sqlalchemy import Integer
from sqlalchemy import String
# relative
from . import Base
class NodeRoute(Base):
__tablename__ = "node_route"
id = Column(Integer(), primary_key=True, autoincrement=T... | <|file_sep|>packages/syft/src/syft/core/node/common/node_table/node_route.py.diff
original:
host_or_ip = Column(String(255))
updated:
host_or_ip = Column(String(255), default="")
<|file_sep|>original/packages/syft/src/syft/core/node/common/node_table/node_route.py
# third party
from sqlalchemy import Boolean
fr... | 7c3a3283b3da0c01da012bb823d781036d1847b6 | packages/syft/src/syft/core/node/common/node_table/node_route.py | packages/syft/src/syft/core/node/common/node_table/node_route.py | Python |
<|file_sep|>original/source/stylesheets/_tags.sass
bottom: $medium-margin
.tag-header
margin:
bottom: 80px
.tag-list-title
line-height: 1.4em
margin:
bottom: $small-margin
&:last-child
margin:
bottom: 0px
a
color: darken($medium-gray, 30%)
&:hover
color: $brand-color
... | .tag-header
margin:
bottom: 80px
.tag-list-title
line-height: 1.4em
margin:
bottom: $small-margin
&:last-child
margin:
bottom: 0px
a
color: darken($medium-gray, 30%)
&:hover
color: $brand-color
border-bottom: 1px solid $brand-color
.large-bumper
margin-bottom: $large-... | <|file_sep|>original/source/stylesheets/_tags.sass
bottom: $medium-margin
.tag-header
margin:
bottom: 80px
.tag-list-title
line-height: 1.4em
margin:
bottom: $small-margin
&:last-child
margin:
bottom: 0px
a
color: darken($medium-gray, 30%)
&:hover
color: $brand-color
... | ac1392836927101799f74bcbc37233d7ec7a86b9 | source/stylesheets/_tags.sass | source/stylesheets/_tags.sass | Sass |
<|file_sep|>.travis.yml.diff
original:
updated:
osx_image: xcode7.2
<|file_sep|>original/.travis.yml
language: objective-c
xcode_project: LogKit.xcodeproj
xcode_scheme: "LogKit OSX"
osx_image: xcode7.1
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode7.2
xcode_project: LogKit.xcodeproj
xcode_schem... | language: objective-c
osx_image: xcode7.2
xcode_project: LogKit.xcodeproj
xcode_scheme: "LogKit OSX" | <|file_sep|>.travis.yml.diff
original:
updated:
osx_image: xcode7.2
<|file_sep|>original/.travis.yml
language: objective-c
xcode_project: LogKit.xcodeproj
xcode_scheme: "LogKit OSX"
osx_image: xcode7.1
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode7.2
xcode_project: LogKit.xcodeproj
xcode_schem... | 7a0259e7ed5aac0f898a7e74488615a62453d58f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.hammerspoon/init.lua
require 'expandmode'
require 'movemode'
require 'hs.alert'
require "hs.ipc"
hs.ipc.cliInstall()
local super = {'ctrl', 'alt', 'cmd', 'shift'}
<|file_sep|>current/.hammerspoon/init.lua
require 'expandmode'
require 'movemode'
require 'hs.alert'
require "hs.ipc"
hs.ipc.cliInst... | require 'expandmode'
require 'movemode'
require 'hs.alert'
require "hs.ipc"
if not hs.ipc.cliInstall() then
print('CLI load failed, trying cleanup and load')
hs.ipc.cliUninstall()
if hs.ipc.cliInstall() then
print('CLI load succeeded!')
end
end
local super = {'ctrl', 'alt', 'cmd', 'shift'} | <|file_sep|>original/.hammerspoon/init.lua
require 'expandmode'
require 'movemode'
require 'hs.alert'
require "hs.ipc"
hs.ipc.cliInstall()
local super = {'ctrl', 'alt', 'cmd', 'shift'}
<|file_sep|>current/.hammerspoon/init.lua
require 'expandmode'
require 'movemode'
require 'hs.alert'
require "hs.ipc"
hs.ipc.cliInst... | 0000000187f9aab13edb3176d263bbf5ef1b4c3d | .hammerspoon/init.lua | .hammerspoon/init.lua | Lua |
<|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>original/appveyor.yml
skip_tags: true
branches:
only:
- master
- develop
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Don't download unneeded packages
DOTNET_CLI_TELEMETRY_OPTOUT: true # Don't send telemetry
install:
- ps: |... | only:
- master
- develop
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Don't download unneeded packages
DOTNET_CLI_TELEMETRY_OPTOUT: true # Don't send telemetry
install:
- ps: |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null
Import-PackageProv... | <|file_sep|>appveyor.yml.diff
original:
updated:
<|file_sep|>original/appveyor.yml
skip_tags: true
branches:
only:
- master
- develop
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Don't download unneeded packages
DOTNET_CLI_TELEMETRY_OPTOUT: true # Don't send telemetry
install:
- ps: |... | 4aec6e084710fed8cbe6c53ae42a7144ba5800a1 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>src/scripts/modules/media/footer/footer.less.diff
original:
updated:
padding-bottom: 40px;
margin-bottom: 40px;
<|file_sep|>original/src/scripts/modules/media/footer/footer.less
color: @gray-lightest;
background-color: @link-color;
> .tab-title::after {
content: "... | > .tab-title::after {
content: "\2212"; // − (−)
}
}
}
}
> div {
display: none;
padding-bottom: 40px;
margin-bottom: 40px;
background-color: white;
border-bottom: 1px solid @gray-light;
}
> .license, > .last-edit {
display: block;
font-size... | <|file_sep|>src/scripts/modules/media/footer/footer.less.diff
original:
updated:
padding-bottom: 40px;
margin-bottom: 40px;
<|file_sep|>original/src/scripts/modules/media/footer/footer.less
color: @gray-lightest;
background-color: @link-color;
> .tab-title::after {
content: "... | 522a5052f634a56e54eaab23084f9ae68d211aae | src/scripts/modules/media/footer/footer.less | src/scripts/modules/media/footer/footer.less | Less |
<|file_sep|>packages/th/th-reify-compat.yaml.diff
original:
hash: 18de55e7529bee085b466ace491dee85dfb5e1b4f5dd929d1c506f1c929943e7
updated:
hash: 3cd7ec53d7d508dae89b7c8e242acf3e4e2dc23419645b8e25f9025566176236
<|file_sep|>packages/th/th-reify-compat.yaml.diff
original:
updated:
- '0.0.1.4'
<|file_sep|>original/packag... | hash: 3cd7ec53d7d508dae89b7c8e242acf3e4e2dc23419645b8e25f9025566176236
test-bench-deps: {}
maintainer: ex8k.hibino@gmail.com
synopsis: Compatibility for the result type of TH reify
changelog: ''
basic-deps:
base: <5
template-haskell: ! '>=2.11'
all-versions:
- '0.0.1.0'
- '0.0.1.1'
- '0.0.1.2'
- '0.0.1.3'
- '0.0.1.... | <|file_sep|>packages/th/th-reify-compat.yaml.diff
original:
hash: 18de55e7529bee085b466ace491dee85dfb5e1b4f5dd929d1c506f1c929943e7
updated:
hash: 3cd7ec53d7d508dae89b7c8e242acf3e4e2dc23419645b8e25f9025566176236
<|file_sep|>packages/th/th-reify-compat.yaml.diff
original:
updated:
- '0.0.1.4'
<|file_sep|>original/packag... | 160b8cdfe5c7801c5c94e73871437f247c309782 | packages/th/th-reify-compat.yaml | packages/th/th-reify-compat.yaml | YAML |
<|file_sep|>wordcloud/wordcloud.py.diff
original:
def popular_words(max_entries=20):
updated:
def popular_words(max_entries=20, max_words=25):
<|file_sep|>original/wordcloud/wordcloud.py
text = entry.object.content
for x in text.lower().split():
cleanx = x.replace(',', '').repla... | text = entry.object.content
for x in text.lower().split():
cleanx = x.replace(',', '').replace('.', '').replace('"', '').strip()
if cleanx not in STOP_WORDS: # and not cleanx in hansard_words:
words[cleanx] = 1 + words.get(cleanx, 0)
... | <|file_sep|>wordcloud/wordcloud.py.diff
original:
def popular_words(max_entries=20):
updated:
def popular_words(max_entries=20, max_words=25):
<|file_sep|>original/wordcloud/wordcloud.py
text = entry.object.content
for x in text.lower().split():
cleanx = x.replace(',', '').repla... | aaad392fedca6b3f9879240591877f6a64d907c3 | wordcloud/wordcloud.py | wordcloud/wordcloud.py | Python |
<|file_sep|>README.md.diff
original:
See doc/index.html.
updated:
pg_bulkload works with control file like below,
````
$ pg_bulkload sample_csv.ctl
NOTICE: BULK LOAD START
NOTICE: BULK LOAD END
0 Rows skipped.
8 Rows successfully loaded.
0 Rows not loaded due to parse errors.
0 Rows not loaded due to duplicate err... | How to build and install from source code
-----------------------------------------
Change directory into top directory of pg_bulkload sorce codes and
run the below commands.
````
$ make
# make install
````
How to run regression tests
---------------------------
Start PostgreSQL server and run the below command.
`... | <|file_sep|>README.md.diff
original:
See doc/index.html.
updated:
pg_bulkload works with control file like below,
````
$ pg_bulkload sample_csv.ctl
NOTICE: BULK LOAD START
NOTICE: BULK LOAD END
0 Rows skipped.
8 Rows successfully loaded.
0 Rows not loaded due to parse errors.
0 Rows not loaded due to duplicate err... | 2e0f140901cde5bb7166d1552a887a20f0e91a35 | README.md | README.md | Markdown |
<|file_sep|>src/app/components/module-options/module-options.component.ts.diff
original:
updated:
import { contains } from '../../common/utils';
<|file_sep|>src/app/components/module-options/module-options.component.ts.diff
original:
updated:
get type() {
return this._type;
}
<|file_sep|>src/app/components/module... | private _options: Options = {};
@Output() optionsChange = new EventEmitter<Options>();
optionKeys: string[];
optionsConfig: OptionsConfig;
constructor() { }
valueChanged() {
// Loop through all options and only emit ones valid
const validOptions = {};
for (const optionKey of Object.keys(this.options)) {... | <|file_sep|>src/app/components/module-options/module-options.component.ts.diff
original:
updated:
import { contains } from '../../common/utils';
<|file_sep|>src/app/components/module-options/module-options.component.ts.diff
original:
updated:
get type() {
return this._type;
}
<|file_sep|>src/app/components/module... | f36f15e8cb10005abaf553591efa2db1d932c373 | src/app/components/module-options/module-options.component.ts | src/app/components/module-options/module-options.component.ts | TypeScript |
<|file_sep|>original/README.md
# snactor
Python Actor execution library - POC at this moment
<|file_sep|>current/README.md
# snactor
Python Actor execution library - POC at this moment
<|file_sep|>updated/README.md | # snactor
Python Actor execution library - POC at this moment
## Actor Definitions
There are two kinds of definitions:
1. Actor Definition
2. Actor Extension Definition
Extension definitions allow to specialize other actor definitions
and build new actors trough this. Extensions also allow for connecting
two unrel... | <|file_sep|>original/README.md
# snactor
Python Actor execution library - POC at this moment
<|file_sep|>current/README.md
# snactor
Python Actor execution library - POC at this moment
<|file_sep|>updated/README.md
# snactor
Python Actor execution library - POC at this moment
## Actor Definitions
There are two kinds... | a745702f7584abd88c44ef932edd7a1560cee75c | README.md | README.md | Markdown |
<|file_sep|>original/tests/acceptance/gkeep_config.robot
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
*** Settings ***
Resource resources/setup.robot
Test Setup Setup Server and Client Accounts
Force Tags gkeep... |
*** Settings ***
Resource resources/setup.robot
Test Setup Setup Server and Client Accounts
Force Tags gkeep_add
*** Keywords ***
Setup Server and Client Accounts
Launch Gkeepd And Configure Admin Account on Client
Add Faculty and Configure Accounts on Client faculty1
*** Test Cases ***
Relat... | <|file_sep|>original/tests/acceptance/gkeep_config.robot
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
*** Settings ***
Resource resources/setup.robot
Test Setup Setup Server and Client Accounts
Force Tags gkeep... | 55091503cbdd84467c383e2e53c0c790018d59cf | tests/acceptance/gkeep_config.robot | tests/acceptance/gkeep_config.robot | RobotFramework |
<|file_sep|>original/src/tests/test_cleanup_marathon_orphaned_containers.py
'Names': ['/nonmesos-undeployed-old', ],
}
# These should be cleaned up
mesos_undeployed_old = {
'Names': ['/mesos-undeployed-old', ],
}
running_images = [
mesos_deployed_old,
nonmesos_undeployed_old,
mesos_undeployed_young,... | }
# These should be cleaned up
mesos_undeployed_old = {
'Names': ['/mesos-undeployed-old', ],
}
running_images = [
mesos_deployed_old,
nonmesos_undeployed_old,
mesos_undeployed_young,
mesos_undeployed_old,
]
def test_get_mesos_images():
assert nonmesos_undeployed_old in running_images
actu... | <|file_sep|>original/src/tests/test_cleanup_marathon_orphaned_containers.py
'Names': ['/nonmesos-undeployed-old', ],
}
# These should be cleaned up
mesos_undeployed_old = {
'Names': ['/mesos-undeployed-old', ],
}
running_images = [
mesos_deployed_old,
nonmesos_undeployed_old,
mesos_undeployed_young,... | b6389de5f531fa49e911b344cbaea29599260c82 | src/tests/test_cleanup_marathon_orphaned_containers.py | src/tests/test_cleanup_marathon_orphaned_containers.py | Python |
<|file_sep|>original/tests/fields/test_bytes.py
class TestBytesField(TestCase):
def setUp(self):
class BytesTestMessage(Message):
b = BytesField(field_number=2)
self.msg_cls = BytesTestMessage
def test_get(self):
msg = self.msg_cls()
msg.parse_from_bytes([0x12, 0x0... | class TestBytesField(TestCase):
def setUp(self):
class BytesTestMessage(Message):
b = BytesField(field_number=2)
self.msg_cls = BytesTestMessage
def test_get(self):
msg = self.msg_cls()
msg.parse_from_bytes(bytes([0x12, 0x07, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6E, 0x6... | <|file_sep|>original/tests/fields/test_bytes.py
class TestBytesField(TestCase):
def setUp(self):
class BytesTestMessage(Message):
b = BytesField(field_number=2)
self.msg_cls = BytesTestMessage
def test_get(self):
msg = self.msg_cls()
msg.parse_from_bytes([0x12, 0x0... | cf995a27028abaca65ee23509277e8776665d70d | tests/fields/test_bytes.py | tests/fields/test_bytes.py | Python |
<|file_sep|>original/tests/Get-DbaRegisteredServersStore.ps1
<|file_sep|>current/tests/Get-DbaRegisteredServersStore.ps1
<|file_sep|>updated/tests/Get-DbaRegisteredServersStore.ps1 | Write-Host -Object "Running $PSCommandpath" -ForegroundColor Cyan
Describe "Get-DbaRegisteredServersStore Integration Tests" -Tags "IntegrationTests" {
Context "Components are properly retreived" {
It "Should return the right values" {
$results = Get-DbaRegisteredServersStore -SqlInstance localhost\sql2016
... | <|file_sep|>original/tests/Get-DbaRegisteredServersStore.ps1
<|file_sep|>current/tests/Get-DbaRegisteredServersStore.ps1
<|file_sep|>updated/tests/Get-DbaRegisteredServersStore.ps1
Write-Host -Object "Running $PSCommandpath" -ForegroundColor Cyan
Describe "Get-DbaRegisteredServersStore Integration Tests" -Tags "Int... | 30f9dfa14b8bc3096688f828f3c1986425066843 | tests/Get-DbaRegisteredServersStore.ps1 | tests/Get-DbaRegisteredServersStore.ps1 | PowerShell |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 10
- 9
- 8
branches:
only:
- master
except:
- /^v[0-9]/
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 10
- 9
- 8
branches:
only:
- master
except:
- /^v[0-9]/
<|file_sep|>updated/.trav... | sudo: false
language: node_js
node_js:
- 9
- 8
branches:
only:
- master
except:
- /^v[0-9]/ | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 10
- 9
- 8
branches:
only:
- master
except:
- /^v[0-9]/
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 10
- 9
- 8
branches:
only:
- master
except:
- /^v[0-9]/
<|file_sep|>updated/.trav... | dabfd9c1fb015b2043812f382f8f38dff59fce9f | .travis.yml | .travis.yml | YAML |
<|file_sep|>bin/testfiles/activemq.xml.diff
original:
<storeUsage limit="20000 mb"/>
updated:
<storeUsage limit="5000 mb"/>
<|file_sep|>original/bin/testfiles/activemq.xml
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<broker xmlns="http://activ... |
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<broker xmlns="http://activemq.apache.org/schema/core" useJmx="false" persistent="false">
<transportConnectors>
<transportConnector uri="tcp://localhost:61616"/>
</transportConnectors>
<systemUsage>
<sys... | <|file_sep|>bin/testfiles/activemq.xml.diff
original:
<storeUsage limit="20000 mb"/>
updated:
<storeUsage limit="5000 mb"/>
<|file_sep|>original/bin/testfiles/activemq.xml
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<broker xmlns="http://activ... | 634961bd341ec49d844c297619aa3159725a3431 | bin/testfiles/activemq.xml | bin/testfiles/activemq.xml | XML |
<|file_sep|>original/translate/spec/quickstart_spec.rb
# limitations under the License.
require "rspec"
require "google/cloud/translate"
describe "Translate Quickstart" do
it "translates Hello, world! to Russian" do
translate = Google::Cloud::Translate.new
expect(Google::Cloud::Translate).to receive(:new).... | # limitations under the License.
require "rspec"
require "google/cloud/translate"
describe "Translate Quickstart" do
it "translates Hello, world! to Russian" do
translate = Google::Cloud::Translate.new
expect(Google::Cloud::Translate).to receive(:new).
with(project: ... | <|file_sep|>original/translate/spec/quickstart_spec.rb
# limitations under the License.
require "rspec"
require "google/cloud/translate"
describe "Translate Quickstart" do
it "translates Hello, world! to Russian" do
translate = Google::Cloud::Translate.new
expect(Google::Cloud::Translate).to receive(:new).... | 0e400220172ab1e5f45eed7dbfc4bdee10822193 | translate/spec/quickstart_spec.rb | translate/spec/quickstart_spec.rb | Ruby |
<|file_sep|>original/server.js
var exec = require('child_process').exec;
var app = express();
app.use(express.bodyParser());
app.get('/', function(req, res) {
res.send("Welcome to radiof.at! <form action='/' method='post' enctype='multipart/form-data'><input type='file' name='song' /><input type='submit' /></form>")... | var exec = require('child_process').exec;
var app = express();
app.use(express.bodyParser());
app.get('/', function(req, res) {
res.send("Welcome to radiof.at! <form action='/' method='post' enctype='multipart/form-data'><input type='file' name='song' /><input type='submit' /></form>");
});
app.post('/', function(r... | <|file_sep|>original/server.js
var exec = require('child_process').exec;
var app = express();
app.use(express.bodyParser());
app.get('/', function(req, res) {
res.send("Welcome to radiof.at! <form action='/' method='post' enctype='multipart/form-data'><input type='file' name='song' /><input type='submit' /></form>")... | 026a1f89dfaa9476e040439a79c7f70f0f1b26ec | server.js | server.js | JavaScript |
<|file_sep|>original/create-webpage.rb
<|file_sep|>current/create-webpage.rb
<|file_sep|>updated/create-webpage.rb | #! /usr/bin/ruby
$LOAD_PATH << File.dirname(__FILE__)
require 'ice-oasis-leagues'
timeslots = IceOasisLeagues.get_timeslots()
rinks = IceOasisLeagues.get_rinks()
leagues = IceOasisLeagues.get_ice_oasis_leagues()
puts "<html>"
puts "<body>"
puts "<h1 align=\"center\">Ice Oasis schedule creator, v2</h1>"
puts "Schedu... | <|file_sep|>original/create-webpage.rb
<|file_sep|>current/create-webpage.rb
<|file_sep|>updated/create-webpage.rb
#! /usr/bin/ruby
$LOAD_PATH << File.dirname(__FILE__)
require 'ice-oasis-leagues'
timeslots = IceOasisLeagues.get_timeslots()
rinks = IceOasisLeagues.get_rinks()
leagues = IceOasisLeagues.get_ice_oasi... | e03fdaaf7e2f29bde9f0911a886a06d902e3253c | create-webpage.rb | create-webpage.rb | Ruby |
<|file_sep|>original/osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs
{
public class ExpandingToolboxContainer : ExpandingContainer
{
protected override double HoverExpansionDelay => 250;
public ExpandingToolboxContainer(float contractedWidth, float expandedWidth)
: base(contract... | {
public class ExpandingToolboxContainer : ExpandingContainer
{
protected override double HoverExpansionDelay => 250;
public ExpandingToolboxContainer(float contractedWidth, float expandedWidth)
: base(contractedWidth, expandedWidth)
{
RelativeSizeAxes = Axes.Y;
... | <|file_sep|>original/osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs
{
public class ExpandingToolboxContainer : ExpandingContainer
{
protected override double HoverExpansionDelay => 250;
public ExpandingToolboxContainer(float contractedWidth, float expandedWidth)
: base(contract... | 860214c22a11fb5107161c5bb59bb6a6ba734a02 | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | C# |
<|file_sep|>main.go.diff
original:
updated:
"runtime"
<|file_sep|>original/main.go
import (
"./mega"
"./task"
"os"
"fmt"
"log"
"io/ioutil"
)
const MaxWorker = 10
func main() {
if len(os.Args) == 0 {
log.Fatal("Please offer json file.")
}
pool, err := task.CreatePool()
if err != nil {
lo... | import (
"./mega"
"./task"
"os"
"fmt"
"log"
"runtime"
"io/ioutil"
)
var MaxWorker int
func init() {
MaxWorker = runtime.NumCPU() << 1
}
func main() {
if len(os.Args) == 0 {
log.Fatal("Please offer json file.")
}
pool, err := task.CreatePool() | <|file_sep|>main.go.diff
original:
updated:
"runtime"
<|file_sep|>original/main.go
import (
"./mega"
"./task"
"os"
"fmt"
"log"
"io/ioutil"
)
const MaxWorker = 10
func main() {
if len(os.Args) == 0 {
log.Fatal("Please offer json file.")
}
pool, err := task.CreatePool()
if err != nil {
lo... | ad1d220703b598324e1fab175188a7c7bea69c45 | main.go | main.go | Go |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- node
- '6'
addons:
code_climate:
repo_token: 9231342f0075572264b1eb61e9c4967d9d97534cd4a609a4c1b83caeef380b86
before_script:
- 'npm install -g codeclimate-test-reporter'
after_script:
- 'codeclimate-test-reporter < coverage/lcov.inf... | sudo: false
language: node_js
node_js:
- node
- '6'
addons:
code_climate:
repo_token: be7d96c36caa9b29f7380bd555a528a85dc8b0ec79c3c8553f488707ae0a9e70
before_script:
- 'npm install -g codeclimate-test-reporter'
after_script:
- 'codeclimate-test-reporter < coverage/lcov.info'
notifications:
email: false
... | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- node
- '6'
addons:
code_climate:
repo_token: 9231342f0075572264b1eb61e9c4967d9d97534cd4a609a4c1b83caeef380b86
before_script:
- 'npm install -g codeclimate-test-reporter'
after_script:
- 'codeclimate-test-reporter < coverage/lcov.inf... | 43010afddc2a986823e76ec7bccb3dee1ac15701 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"grunt-contrib-uglify": "*",
"grunt-bower": "*",
"grunt-bower-task": "*",
"grunt-karma": "~0.8",
"karma-requirejs": "*",
"requirejs-text": "requirejs/text",
"karma-jasmine": "*",
"karma-chrome-launcher": "*",
"karma-firefox-launcher": "*",
"karma... | "grunt-contrib-uglify": "*",
"grunt-bower": "*",
"grunt-bower-task": "*",
"grunt-karma": "~0.8",
"karma-requirejs": "*",
"requirejs-text": "requirejs/text",
"karma-jasmine": "*",
"karma-chrome-launcher": "*",
"karma-firefox-launcher": "*",
"karma-osx-reporter": "*",
"grunt-co... | <|file_sep|>original/package.json
"grunt-contrib-uglify": "*",
"grunt-bower": "*",
"grunt-bower-task": "*",
"grunt-karma": "~0.8",
"karma-requirejs": "*",
"requirejs-text": "requirejs/text",
"karma-jasmine": "*",
"karma-chrome-launcher": "*",
"karma-firefox-launcher": "*",
"karma... | ee5cec55d483cc205ed8d6f4f0456aae9babeb9a | package.json | package.json | JSON |
<|file_sep|>original/zuul/site-variables.yaml
# This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nod... | # This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in [ "DFW.... | <|file_sep|>original/zuul/site-variables.yaml
# This file contains ansible variables that are used by our zuul-executors.
---
# NOTE(ianw): 2019-05 this list of clouds will grow as we provision
# new opendev.org based mirrors, but then eventually be removed once
# all are updated.
zuul_site_mirror_fqdn: >-
{%- if nod... | 497d0d3a5ee60ccb33354b59f504af35fc4077ba | zuul/site-variables.yaml | zuul/site-variables.yaml | YAML |
<|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
function man() {
updated:
function colored() {
<|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
man "$@"
updated:
"$@"
<|file_sep|>original/plugins/colored-man-pages/colored-man-pages.plugin.zsh
#-- ... | fi
fi
function colored() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
P... | <|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
function man() {
updated:
function colored() {
<|file_sep|>plugins/colored-man-pages/colored-man-pages.plugin.zsh.diff
original:
man "$@"
updated:
"$@"
<|file_sep|>original/plugins/colored-man-pages/colored-man-pages.plugin.zsh
#-- ... | 8e58548618e5d76c68f0ee03e9575adefdb41579 | plugins/colored-man-pages/colored-man-pages.plugin.zsh | plugins/colored-man-pages/colored-man-pages.plugin.zsh | Shell |
<|file_sep|>original/patch.rb
class Selenium::WebDriver::Element
# NoMethodError: undefined method `name' for #<Selenium::WebDriver::Element
def name
self.attribute :name
end
# NoMethodError: undefined method `type' for #<Selenium::WebDriver::Element
def type
self.attribute :type
end
# Ta... | def type
self.attribute :type
end
# Tag name appears to be the same as type.
# Selenium::WebDriver::Error::UnknownError: Not yet implemented
def tag_name
type
end
end
# Print JSON posted to Appium
# Requires from lib/selenium/webdriver/remote.rb
require 'selenium/webdriver/remote/capabilities'
r... | <|file_sep|>original/patch.rb
class Selenium::WebDriver::Element
# NoMethodError: undefined method `name' for #<Selenium::WebDriver::Element
def name
self.attribute :name
end
# NoMethodError: undefined method `type' for #<Selenium::WebDriver::Element
def type
self.attribute :type
end
# Ta... | 07dd192a1f659b16c0804b9cdafaa6b314c7808e | patch.rb | patch.rb | Ruby |
<|file_sep|>10/readme.md.diff
original:
updated:
## Homework 10, “Scraping and Saving”
<|file_sep|>original/10/readme.md
Very interesting homework!
I had troubles with the “instability” of the reddit homepage.
I'm wondering what could be the best workaround to deal with reddit’s countermeasures. Maybe the script co... | ## Homework 10, “Scraping and Saving”
Very interesting homework!
Files for the assignment:
* Scraper.py = Reddit Part One: Getting Data
* Mailer.py = Reddit Part Two: Sending data
* crontab.txt = a copy of the server schedule
Other files:
* Homework-10-Ronga.ipynb = Jupyter Notebook version of both .py files
* reddi... | <|file_sep|>10/readme.md.diff
original:
updated:
## Homework 10, “Scraping and Saving”
<|file_sep|>original/10/readme.md
Very interesting homework!
I had troubles with the “instability” of the reddit homepage.
I'm wondering what could be the best workaround to deal with reddit’s countermeasures. Maybe the script co... | c67e266b6fbdb8100e43459ca8ff8d5f37118d6b | 10/readme.md | 10/readme.md | Markdown |
<|file_sep|>original/build.sbt
scalaVersion := "2.11.8"
resolvers += Resolver.bintrayRepo("underscoreio", "training")
initialCommands in console := """
|import doodle.core._
|import doodle.core.Image._
|import doodle.syntax._
|import doodle.jvm.Java2DCanvas._
|import doodle.backend.Stand... | scalaVersion := "2.11.8"
resolvers += Resolver.bintrayRepo("underscoreio", "training")
initialCommands in console := """
|import doodle.core._
|import doodle.core.Image._
|import doodle.syntax._
|import doodle.jvm.Java2DCanvas._
|import doodle.backend.StandardInterpreter._
|import ... | <|file_sep|>original/build.sbt
scalaVersion := "2.11.8"
resolvers += Resolver.bintrayRepo("underscoreio", "training")
initialCommands in console := """
|import doodle.core._
|import doodle.core.Image._
|import doodle.syntax._
|import doodle.jvm.Java2DCanvas._
|import doodle.backend.Stand... | 5626b4a2273443bc12e203611c9f7d55584a9120 | build.sbt | build.sbt | Scala |
<|file_sep|>app/templates/views/platform-admin/_base_template.html.diff
original:
{% for link_text, url in [
updated:
{% for link_text, url in [
<|file_sep|>original/app/templates/views/platform-admin/_base_template.html
<div class="grid-row">
<div class="column-one-quarter">
<p class="hea... | <div class="grid-row">
<div class="column-one-quarter">
<p class="heading-medium">
Platform admin
</p>
<nav class="navigation">
{% for link_text, url in [
('Summary', url_for('main.platform_admin')),
('Live services', url_for('main.live_services')),
... | <|file_sep|>app/templates/views/platform-admin/_base_template.html.diff
original:
{% for link_text, url in [
updated:
{% for link_text, url in [
<|file_sep|>original/app/templates/views/platform-admin/_base_template.html
<div class="grid-row">
<div class="column-one-quarter">
<p class="hea... | 4eea97c83bb64203dd67c2b042f966a04edfc383 | app/templates/views/platform-admin/_base_template.html | app/templates/views/platform-admin/_base_template.html | HTML |
<|file_sep|>original/.github/workflows/nodejs.yml
matrix:
node-version: [12.x,14.x,15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
... | matrix:
node-version: [12.x,14.x,15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: for dir in compassion.*; do (cd $dir && np... | <|file_sep|>original/.github/workflows/nodejs.yml
matrix:
node-version: [12.x,14.x,15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
... | 82cc31e4374147de5ed276ea02fb4b985216aa1e | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>wp-content/themes/brewtah/parts/beer-availability.php.diff
original:
$inventory = get_post_meta(get_the_ID(), 'dabc-store-inventory', true);
updated:
<|file_sep|>wp-content/themes/brewtah/parts/beer-availability.php.diff
original:
if ( $inventory['inventory'] ) :
updated:
$beer_post_id = get_the_ID();
<|fi... | </thead>
<tbody>
<?php $stores = dabc_query_stores_by_number( $store_numbers ); ?>
<?php while ( $stores->have_posts() ) : ?>
<?php $stores->the_post(); ?>
<?php $store_post_id = get_the_ID(); ?>
<?php $store_number = dabc_get_store_number( $store_post_id ); ?>
<tr>
<td>
<a href="<?ph... | <|file_sep|>wp-content/themes/brewtah/parts/beer-availability.php.diff
original:
$inventory = get_post_meta(get_the_ID(), 'dabc-store-inventory', true);
updated:
<|file_sep|>wp-content/themes/brewtah/parts/beer-availability.php.diff
original:
if ( $inventory['inventory'] ) :
updated:
$beer_post_id = get_the_ID();
<|fi... | a0a0578d46b6cdba0ae21fab0fc3c4f1326f3060 | wp-content/themes/brewtah/parts/beer-availability.php | wp-content/themes/brewtah/parts/beer-availability.php | PHP |
<|file_sep|>original/app/Http/Controllers/NotifierController.php
/**
* Trigger the notification
*
* @param Request $request
*/
public function index(Request $request)
{
$notification = json_decode($request->toArray()["payload"], true);
if (!$notification) return;
if... |
/**
* Trigger the notification
*
* @param Request $request
*/
public function index(Request $request)
{
$notification = json_decode($request->toArray()["payload"], true);
// We need this because Github send us a request to verify if the given endpoint exists
if(is_n... | <|file_sep|>original/app/Http/Controllers/NotifierController.php
/**
* Trigger the notification
*
* @param Request $request
*/
public function index(Request $request)
{
$notification = json_decode($request->toArray()["payload"], true);
if (!$notification) return;
if... | 8324f8bbfedaff04b8291cd4a93690f0c38199e6 | app/Http/Controllers/NotifierController.php | app/Http/Controllers/NotifierController.php | PHP |
<|file_sep|>original/tests/density.ts
it('updates font size when changing the density', () => {
instance.setDensity(2);
expect(ctx.font).toBe('normal normal normal 20px sans-serif');
expect(instance.getFontSize()).toBe(10);
expect(element.width).toBe(200);
expect(instance.getWidth()).toBe(100);
... | expect(instance.getWidth()).toBe(100);
});
it('updates font size when changing the density', () => {
instance.setDensity(2);
expect(ctx.font).toBe('normal normal normal 20px sans-serif');
expect(instance.getFontSize()).toBe(10);
expect(element.width).toBe(200);
expect(instance.getWidth()).... | <|file_sep|>original/tests/density.ts
it('updates font size when changing the density', () => {
instance.setDensity(2);
expect(ctx.font).toBe('normal normal normal 20px sans-serif');
expect(instance.getFontSize()).toBe(10);
expect(element.width).toBe(200);
expect(instance.getWidth()).toBe(100);
... | 31639bad878f4e09d6496f933656ba8c7bae35fd | tests/density.ts | tests/density.ts | TypeScript |
<|file_sep|>original/playbooks/files/unmount-app-root.sh
#!/bin/sh
MOUNT=$1
function do_unmount {
local m=$1
while mountpoint $m; do
fuser -k $m
umount $m
sleep 1
done
}
for m in $(findmnt -nl | grep ${MOUNT}/ | awk '{print $1}'); do
do_unmount $m
done
do_unmount $MOUNT
<|file_sep|>current/play... | #!/bin/sh
MOUNT=$1
function do_unmount {
local m=$1
umount $m
while mountpoint $m; do
fuser -k $m
umount $m
sleep 1
done
}
for m in $(findmnt -nl | grep ${MOUNT}/ | awk '{print $1}'); do
do_unmount $m
done
do_unmount $MOUNT | <|file_sep|>original/playbooks/files/unmount-app-root.sh
#!/bin/sh
MOUNT=$1
function do_unmount {
local m=$1
while mountpoint $m; do
fuser -k $m
umount $m
sleep 1
done
}
for m in $(findmnt -nl | grep ${MOUNT}/ | awk '{print $1}'); do
do_unmount $m
done
do_unmount $MOUNT
<|file_sep|>current/play... | 8eebd54e5cf43cbfc28cb0e27eb0007fe6357b5d | playbooks/files/unmount-app-root.sh | playbooks/files/unmount-app-root.sh | Shell |
<|file_sep|>original/composer.json
],
"keywords" : [
"php",
"xml",
"templating",
"twig"
],
"homepage" : "https://github.com/goetas/twital",
"license" : "MIT",
"require" : {
"masterminds/html5" : "~2.0",
"twig/twig" : "~1.10",
"symfony/event... | ],
"keywords" : [
"php",
"xml",
"templating",
"twig"
],
"homepage" : "https://github.com/goetas/twital",
"license" : "MIT",
"require" : {
"masterminds/html5" : "^2.1.2",
"twig/twig" : "~1.10",
"symfony/event-dispatcher" : "~2.0",
"p... | <|file_sep|>original/composer.json
],
"keywords" : [
"php",
"xml",
"templating",
"twig"
],
"homepage" : "https://github.com/goetas/twital",
"license" : "MIT",
"require" : {
"masterminds/html5" : "~2.0",
"twig/twig" : "~1.10",
"symfony/event... | 39b1ecbc4a6a8feef6880ea4cb19cc4f31a051b1 | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
# pygame-test
This is a small test of pygame.
# Usage
To play the game, run the following command in the main directory of the project:
```
make run
```
# License
* **Code:** [MIT License](http://opensource.org/licenses/MIT)
* **Images:** [CC-BY-SA 4.0](https://creativecommons.org/lice... | # pygame-test
This is a small test of pygame.
# Usage
To play the game, run the following command in the main directory of the project:
```
make run
```
# Development
The following is information on the development of the game.
## Testing
The game has a suit of unit tests for it, which can be run in order to test c... | <|file_sep|>original/README.md
# pygame-test
This is a small test of pygame.
# Usage
To play the game, run the following command in the main directory of the project:
```
make run
```
# License
* **Code:** [MIT License](http://opensource.org/licenses/MIT)
* **Images:** [CC-BY-SA 4.0](https://creativecommons.org/lice... | 97416e8dd115913371b1659e55d10e045783e11d | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "apidoc",
"version": "0.4.1",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <rottmann@inveris.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apidoc/apidoc.git"
},
"main": "./lib/a... | {
"name": "apidoc",
"version": "0.4.2",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <rottmann@inveris.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apidoc/apidoc.git"
},
"main": "./lib/apidoc",
"bin": "bin/apidoc",
"... | <|file_sep|>original/package.json
{
"name": "apidoc",
"version": "0.4.1",
"description": "RESTful web API Documentation Generator",
"author": "Peter Rottmann <rottmann@inveris.de>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/apidoc/apidoc.git"
},
"main": "./lib/a... | bc9811429c9d5ae19129ca10ff898cfc92ec0011 | package.json | package.json | JSON |
<|file_sep|>metadata/org.opengappsdownloader.txt.diff
original:
updated:
Build:0.4.2,8
commit=v0.4.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/org.opengappsdownloader.txt
gradle=yes
Build:0.3,5
commit=v0.3
subdir=app
gradle=yes
Build:0.4,6
commit=v0.4
subdir=app
gra... | gradle=yes
Build:0.4,6
commit=v0.4
subdir=app
gradle=yes
Build:0.4.1,7
commit=v0.4.1
subdir=app
gradle=yes
Build:0.4.2,8
commit=v0.4.2
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.4.2
Current Version Code:8 | <|file_sep|>metadata/org.opengappsdownloader.txt.diff
original:
updated:
Build:0.4.2,8
commit=v0.4.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/org.opengappsdownloader.txt
gradle=yes
Build:0.3,5
commit=v0.3
subdir=app
gradle=yes
Build:0.4,6
commit=v0.4
subdir=app
gra... | 6a1b2e1ceb265288f785591822e02201501793f6 | metadata/org.opengappsdownloader.txt | metadata/org.opengappsdownloader.txt | Text |
<|file_sep|>original/wmtsproxy/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='wmtsproxy',
version='0.1.2',
description='WMTSProxy makes WMS/WMTS layers available as WMTS',
author='Omniscale GmbH & Co. KG',
author_email='support@omniscale.de',
packa... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='wmtsproxy',
version='0.2.0',
description='WMTSProxy makes WMS/WMTS layers available as WMTS',
author='Omniscale GmbH & Co. KG',
author_email='support@omniscale.de',
packages=find_packages(),
license='Apac... | <|file_sep|>original/wmtsproxy/setup.py
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='wmtsproxy',
version='0.1.2',
description='WMTSProxy makes WMS/WMTS layers available as WMTS',
author='Omniscale GmbH & Co. KG',
author_email='support@omniscale.de',
packa... | 31544a73171c484ee57452d937f0ce040c2963be | wmtsproxy/setup.py | wmtsproxy/setup.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.