prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/circle.yml machine : pre: - mkdir ~/.yarn-cache node: version: 7.0.0 dependencies: pre: - mkdir -p /home/ubuntu/.cache/yarn/ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt...
machine : pre: - mkdir ~/.yarn-cache node: version: 7.0.0 services: - redis dependencies: pre: - mkdir -p /home/ubuntu/.cache/yarn/ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources...
<|file_sep|>original/circle.yml machine : pre: - mkdir ~/.yarn-cache node: version: 7.0.0 dependencies: pre: - mkdir -p /home/ubuntu/.cache/yarn/ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt...
0fffd1c47a57d8b7c57e99648fee793332479535
circle.yml
circle.yml
YAML
<|file_sep|>original/.travis.yml language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=480c77ff15f4a07db659862802cc3df9e7a5d5be email: eng@basho.com otp_release: - R16B03-1 - R15B03-1 - R15B01 - R15B - R14B04 - R14B03 <|file_sep|>current/.travis.yml language: erlang noti...
language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=480c77ff15f4a07db659862802cc3df9e7a5d5be email: eng@basho.com otp_release: - R16B03-1 - R15B03-1 - R15B01 - R15B - R14B04 - R14B03 branches: only: - master - statsbackend
<|file_sep|>original/.travis.yml language: erlang notifications: webhooks: http://basho-engbot.herokuapp.com/travis?key=480c77ff15f4a07db659862802cc3df9e7a5d5be email: eng@basho.com otp_release: - R16B03-1 - R15B03-1 - R15B01 - R15B - R14B04 - R14B03 <|file_sep|>current/.travis.yml language: erlang noti...
ed5375451cf0cc4d2c98cb02b4d91a8e4afff511
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverag...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==5.1
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverag...
3f2458bdf47accaec778d7d39e37d5a298595faa
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/site-modules/profile/templates/swh/deploy/scheduler/swh-scheduler-listener.service.erb # Scheduler Listener unit file # Managed by puppet class profile::swh::deploy::scheduler # Changes will be overwritten [Unit] Description=Software Heritage scheduler listener Requires=network.target rabbitmq-ser...
# Scheduler Listener unit file # Managed by puppet class profile::swh::deploy::scheduler # Changes will be overwritten [Unit] Description=Software Heritage scheduler listener Requires=network.target rabbitmq-server.service After=network.target rabbitmq-server.service [Service] User=<%= @user %> Group=<%= @group %> Ty...
<|file_sep|>original/site-modules/profile/templates/swh/deploy/scheduler/swh-scheduler-listener.service.erb # Scheduler Listener unit file # Managed by puppet class profile::swh::deploy::scheduler # Changes will be overwritten [Unit] Description=Software Heritage scheduler listener Requires=network.target rabbitmq-ser...
1156d18ee7b3d4fb0b5db468d3620ac10931428b
site-modules/profile/templates/swh/deploy/scheduler/swh-scheduler-listener.service.erb
site-modules/profile/templates/swh/deploy/scheduler/swh-scheduler-listener.service.erb
HTML+ERB
<|file_sep|>src/Reporter.js.diff original: const Hipchat = require('./Hipchat'); updated: const Notification = require('./Notification'); <|file_sep|>original/src/Reporter.js const Report = require('./Report'); const Hipchat = require('./Hipchat'); function Reporter( request, reply ) { console.log(request.query); ...
const Report = require('./Report'); const Notification = require('./Notification'); async function Reporter( request, reply ) { const result = await new Report({ k: process.env.WEB_PAGE_TEST_KEY || '', url: request.query.site, }).run(); // Set error as default. let notificationOptions = { statu...
<|file_sep|>src/Reporter.js.diff original: const Hipchat = require('./Hipchat'); updated: const Notification = require('./Notification'); <|file_sep|>original/src/Reporter.js const Report = require('./Report'); const Hipchat = require('./Hipchat'); function Reporter( request, reply ) { console.log(request.query); ...
85b7bf880a8ecccdd8c732f79fea73db403d237a
src/Reporter.js
src/Reporter.js
JavaScript
<|file_sep|>original/spec/controllers/projects/repositories_controller_spec.rb require "spec_helper" describe Projects::RepositoriesController do let(:project) { create(:project) } describe "GET archive" do context 'as a guest' do it 'responds with redirect in correct format' do get :archive, na...
require "spec_helper" describe Projects::RepositoriesController do let(:project) { create(:project) } describe "GET archive" do context 'as a guest' do it 'responds with redirect in correct format' do get :archive, namespace_id: project.namespace.path, project_id: project.path, format: "zip" ...
<|file_sep|>original/spec/controllers/projects/repositories_controller_spec.rb require "spec_helper" describe Projects::RepositoriesController do let(:project) { create(:project) } describe "GET archive" do context 'as a guest' do it 'responds with redirect in correct format' do get :archive, na...
e13dc69be271e57fe9cc1a3cbf0f7a86d735b2c6
spec/controllers/projects/repositories_controller_spec.rb
spec/controllers/projects/repositories_controller_spec.rb
Ruby
<|file_sep|>setup.py.diff original: license="License :: OSI Approved :: MIT License", updated: license="MIT", <|file_sep|>original/setup.py with open("README.rst") as readme_file: readme_string = readme_file.read() setup( name="toml", version=toml.__version__, description="Python Library for To...
readme_string = readme_file.read() setup( name="toml", version=toml.__version__, description="Python Library for Tom's Obvious, Minimal Language", author="Uiri Noyb", author_email="uiri@xqz.ca", url="https://github.com/uiri/toml", packages=['toml'], license="MIT", long_descripti...
<|file_sep|>setup.py.diff original: license="License :: OSI Approved :: MIT License", updated: license="MIT", <|file_sep|>original/setup.py with open("README.rst") as readme_file: readme_string = readme_file.read() setup( name="toml", version=toml.__version__, description="Python Library for To...
6037d11a8da5ea15c8de468dd730670ba10a44c6
setup.py
setup.py
Python
<|file_sep|>original/.travis.yml language: java env: global: - MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2048m -Xms1024m" jdk: - oraclejdk7 sudo: false script: - cd releng/org.obeonetwork.m2doc.parent/ - mvn -v - mvn clean verify <|file_sep|>current/.travis.yml language: java env: global: - MAVEN_OPTS="...
language: java env: global: - MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2048m -Xms1024m" jdk: - oraclejdk7 sudo: false script: - cd releng/org.obeonetwork.m2doc.parent/ - mvn -v - mvn clean verify deploy: provider: releases api_key: "$GH_TOKEN" file: - "releng/org.obeonetwork.m2doc.update/target/org.ob...
<|file_sep|>original/.travis.yml language: java env: global: - MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2048m -Xms1024m" jdk: - oraclejdk7 sudo: false script: - cd releng/org.obeonetwork.m2doc.parent/ - mvn -v - mvn clean verify <|file_sep|>current/.travis.yml language: java env: global: - MAVEN_OPTS="...
c3463c37b5d7cba957d8ad47f73771946b6f737b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/codeql.yml <|file_sep|>current/.github/workflows/codeql.yml <|file_sep|>updated/.github/workflows/codeql.yml
name: "CodeQL" on: push: branches: [ "main" ] pull_request: branches: [ "main" ] schedule: - cron: "29 0 * * 6" jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false
<|file_sep|>original/.github/workflows/codeql.yml <|file_sep|>current/.github/workflows/codeql.yml <|file_sep|>updated/.github/workflows/codeql.yml name: "CodeQL" on: push: branches: [ "main" ] pull_request: branches: [ "main" ] schedule: - cron: "29 0 * * 6" jobs: analyze: name: Analyze ...
be36ae481b834e38f141db47bd8fd04125dd77cd
.github/workflows/codeql.yml
.github/workflows/codeql.yml
YAML
<|file_sep|>original/ansible/roles/connectbox-pi/meta/main.yml --- dependencies: - bootstrap - { role: hat-service, when: '"NanoPi NEO" in machine_type.stdout' } - dns-dhcp - network-interfaces - wifi-ap - mikegleasonjr.firewall - nginx - captive-portal - webserver-content - usb-content - sample-c...
--- dependencies: - bootstrap - hat-service - dns-dhcp - network-interfaces - wifi-ap - mikegleasonjr.firewall - nginx - captive-portal - webserver-content - usb-content - sample-content - rpi-permissions - wlan-set - remove-lz4
<|file_sep|>original/ansible/roles/connectbox-pi/meta/main.yml --- dependencies: - bootstrap - { role: hat-service, when: '"NanoPi NEO" in machine_type.stdout' } - dns-dhcp - network-interfaces - wifi-ap - mikegleasonjr.firewall - nginx - captive-portal - webserver-content - usb-content - sample-c...
2bf88defdbd65962548c7b8d408968f4efbb6804
ansible/roles/connectbox-pi/meta/main.yml
ansible/roles/connectbox-pi/meta/main.yml
YAML
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 sudo: false script: gradle clean jar <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 sudo: false script: gradle clean jar <|file_sep|>updated/.travis.yml
script: - mvn dependency:copy-dependencies - ant -f src/main/java/com/google/security/zynamics/build.xml build-binnavi-fat-jar
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 sudo: false script: gradle clean jar <|file_sep|>current/.travis.yml language: java jdk: - oraclejdk8 sudo: false script: gradle clean jar <|file_sep|>updated/.travis.yml script: - mvn dependency:copy-dependencies - ant -f src/main/java/com/google/...
e11434472d9720546e02699ba82ae369fad2a791
.travis.yml
.travis.yml
YAML
<|file_sep|>original/topics/topic-higherorder.php <|file_sep|>current/topics/topic-higherorder.php <|file_sep|>updated/topics/topic-higherorder.php
<?php return within('higher order', describe('compose', it('yields identity when composing nothing', function() { $identity = compose(); return expect($identity(5), toBe(5)); }), it('composes a single function', function() { $double = partial(multiply, ...
<|file_sep|>original/topics/topic-higherorder.php <|file_sep|>current/topics/topic-higherorder.php <|file_sep|>updated/topics/topic-higherorder.php <?php return within('higher order', describe('compose', it('yields identity when composing nothing', function() { $identity = compose(); ...
5fdbb712d1b5b7272cdee0f5870c278d1703ee7e
topics/topic-higherorder.php
topics/topic-higherorder.php
PHP
<|file_sep|>app/routes/games.js.diff original: updated: router.post('/all', function(req, res, next) { gameService.getAllById(req.body.gameIds) .then((games) => { res.json(games); }) .catch((err) => { res.status(500).json({ error: 'Error getting games.', }); }); }); <|file_...
req.body.name, req.body.location, req.body.datePlayed, req.body.players ) .then((game) => { res.json(game); }) .catch((err) => { res.status(500).json({ error: 'Error creating game.', }); }); }); router.post('/update', function(req, res, next) { gameService....
<|file_sep|>app/routes/games.js.diff original: updated: router.post('/all', function(req, res, next) { gameService.getAllById(req.body.gameIds) .then((games) => { res.json(games); }) .catch((err) => { res.status(500).json({ error: 'Error getting games.', }); }); }); <|file_...
53b8f15075b9651e7e494b62c4578f9aa35a16de
app/routes/games.js
app/routes/games.js
JavaScript
<|file_sep|>metadata/xyz.zedler.patrick.doodle.yml.diff original: updated: - versionName: 5.0.1 versionCode: 32 commit: 4065aa34d934621e30bf18ebeb3ec64c2e438ea7 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --...
- apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: 5.0.1 versionCode: 32 commit: 4065aa34d934621e30bf18ebeb3ec64c2e438ea7 subdir: app sudo: - apt-get update || apt-get update ...
<|file_sep|>metadata/xyz.zedler.patrick.doodle.yml.diff original: updated: - versionName: 5.0.1 versionCode: 32 commit: 4065aa34d934621e30bf18ebeb3ec64c2e438ea7 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --...
a770746d761374478d3409c76d5b9005d95f959e
metadata/xyz.zedler.patrick.doodle.yml
metadata/xyz.zedler.patrick.doodle.yml
YAML
<|file_sep|>original/rails/init.rb require 'typus' if Typus.testing? Typus::Configuration.options[:config_folder] = 'vendor/plugins/typus/test/config/working' end ## # Do not Typus.enable or Typus.generate if we are running a generator. # scripts = %w( script/generate script/destroy ) unless scripts.include?($0) ...
require 'typus' if Typus.testing? Typus::Configuration.options[:config_folder] = 'vendor/plugins/typus/test/config/working' end ## # Do not Typus.enable or Typus.generate if we are running a generator. # scripts = %w( script/generate script/destroy ) unless scripts.include?($0) Typus.enable Typus.generator un...
<|file_sep|>original/rails/init.rb require 'typus' if Typus.testing? Typus::Configuration.options[:config_folder] = 'vendor/plugins/typus/test/config/working' end ## # Do not Typus.enable or Typus.generate if we are running a generator. # scripts = %w( script/generate script/destroy ) unless scripts.include?($0) ...
de65b8fe0987311a50b4effdde3d592a06216609
rails/init.rb
rails/init.rb
Ruby
<|file_sep|>original/client/python/rndlib/conf.py import os NETWORK_DISABLED = True NETWORK_PORT = 11338 PLOW_HOSTS = ["localhost:11337"] <|file_sep|>current/client/python/rndlib/conf.py import os NETWORK_DISABLED = True NETWORK_PORT = 11338 PLOW_HOSTS = ["localhost:11337"] <|file_sep|>updated/client/...
import os NETWORK_DISABLED = False NETWORK_PORT = 11338 PLOW_HOSTS = ["localhost:11337"]
<|file_sep|>original/client/python/rndlib/conf.py import os NETWORK_DISABLED = True NETWORK_PORT = 11338 PLOW_HOSTS = ["localhost:11337"] <|file_sep|>current/client/python/rndlib/conf.py import os NETWORK_DISABLED = True NETWORK_PORT = 11338 PLOW_HOSTS = ["localhost:11337"] <|file_sep|>updated/client/...
208c850982734e109fe408114f595fe9a459cd8e
client/python/rndlib/conf.py
client/python/rndlib/conf.py
Python
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.properti...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.properti...
4b7c08af63a614e8a0aa226ecdd4c36661bcc1e0
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/scripts/preview-image-list.php <?php $data = Kwf_Registry::get('db')->query('SELECT * FROM `kwc_basic_image` WHERE data like \'%preview_image":true%\'')->fetchAll(); foreach ($data as $row) { $component = Kwf_Component_Data_Root::getInstance()->getComponentByDbId($row['component_id'], array('ig...
<?php /** * Just copy this into your bootstrap to find out which components have to be checked * It's returning a list of every page containing a component with alternative preview-image */ $data = Kwf_Registry::get('db')->query('SELECT * FROM `kwc_basic_image` WHERE data like \'%preview_image":true%\'')->fetchAll()...
<|file_sep|>original/scripts/preview-image-list.php <?php $data = Kwf_Registry::get('db')->query('SELECT * FROM `kwc_basic_image` WHERE data like \'%preview_image":true%\'')->fetchAll(); foreach ($data as $row) { $component = Kwf_Component_Data_Root::getInstance()->getComponentByDbId($row['component_id'], array('ig...
fa6dd58b7c44880e801893b4d5698d2553755892
scripts/preview-image-list.php
scripts/preview-image-list.php
PHP
<|file_sep|>original/webpack.config.js new webpack.optimize.OccurenceOrderPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(env) }) ] }; if (env === 'production') { config.plugins.push( new webpack.optimize.UglifyJsPlugin({ compressor: { pure_getters: f...
] }; if (env === 'production') { config.plugins.push( new webpack.optimize.UglifyJsPlugin({ compressor: { pure_getters: false, unsafe: false, unsafe_comps: false, warnings: false, screw_ie8: false }, mangle: { screw_ie8: false }, out...
<|file_sep|>original/webpack.config.js new webpack.optimize.OccurenceOrderPlugin(), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(env) }) ] }; if (env === 'production') { config.plugins.push( new webpack.optimize.UglifyJsPlugin({ compressor: { pure_getters: f...
5aa13edce0e563e874d4addddc9ddcbbefd3b031
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development script: 'bundle exec rspec --tag ~web_driver:true' en...
language: ruby bundler_args: --without development web_driver script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development script: 'bundle exec rspec --tag ~web_driver:true' env: - TRAVIS_CI=true rvm: - 1.9.3 - 2.0.0 <|file_sep|>current/.travis.yml language: ruby bundler_args: --without development script: 'bundle exec rspec --tag ~web_driver:true' en...
447145ae50b278f28204a35bd03025ac36d0bf40
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.gitlab-ci.yml image: ubuntu:16.10 stages: - build before_script: - apt-get update - apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev emscripten build-essential cmake 'build linux': stage: build script: - make artifacts: paths: - build/inn...
image: ubuntu:16.10 stages: - build before_script: - apt-get update - apt-get install -y libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev emscripten build-essential cmake 'build linux': stage: build script: - make artifacts: paths: - build/innojam9 'build web': stage: buil...
<|file_sep|>original/.gitlab-ci.yml image: ubuntu:16.10 stages: - build before_script: - apt-get update - apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev emscripten build-essential cmake 'build linux': stage: build script: - make artifacts: paths: - build/inn...
f4a7df920ea433692f6853747f8353e9813835a0
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/package.json "description": "Sendmail replacement, sends mail directly to recipients SMTP server", "main": "index.js", "scripts": { "test": "nodeunit tests" }, "keywords": [ "SMTP", "sendmail", "Nodemailer", "email" ], "author": "Andris Reinman", "license": "MIT"...
"description": "Sendmail replacement, sends mail directly to recipients SMTP server", "main": "index.js", "scripts": { "test": "nodeunit tests" }, "keywords": [ "SMTP", "sendmail", "Nodemailer", "email" ], "author": "Andris Reinman", "license": "MIT", "dependencies": { "simples...
<|file_sep|>original/package.json "description": "Sendmail replacement, sends mail directly to recipients SMTP server", "main": "index.js", "scripts": { "test": "nodeunit tests" }, "keywords": [ "SMTP", "sendmail", "Nodemailer", "email" ], "author": "Andris Reinman", "license": "MIT"...
29834b1f8af53bfbce490a0bfa4b834d644f0f0e
package.json
package.json
JSON
<|file_sep|>README.md.diff original: ![Code Climate](https://codeclimate.com/github/still-life-studios/txt.wav/badges/gpa.svg) updated: ![Code Climate](https://codeclimate.com/github/still-life-studio/txt.wav/badges/gpa.svg) <|file_sep|>README.md.diff original: ## about Still Life Studios updated: ## about Still Life <...
full example: ```html <h1 class="txtwav slow">true freaks only</h1> ``` ## about Still Life ![still life logo](http://www.stilllife.studio/images/still_life_logo.png) txt.wav is maintained by Still Life. we love open source software. see our other [projects](http://www.stilllife.studio/?utm_source=github#work) or...
<|file_sep|>README.md.diff original: ![Code Climate](https://codeclimate.com/github/still-life-studios/txt.wav/badges/gpa.svg) updated: ![Code Climate](https://codeclimate.com/github/still-life-studio/txt.wav/badges/gpa.svg) <|file_sep|>README.md.diff original: ## about Still Life Studios updated: ## about Still Life <...
6dc350d2238f0d8090db28edecaef6d2922cd39b
README.md
README.md
Markdown
<|file_sep|>original/package.json { "name": "mavenlink-ui", "version": "0.0.1", "description": "Mavenlink Components and Design", "main": "src/index.js", "license": "MIT" } <|file_sep|>current/package.json { "name": "mavenlink-ui", "version": "0.0.1", "description": "Mavenlink Components and Design", ...
{ "name": "mavenlink-ui", "version": "0.0.1", "description": "Mavenlink Components and Design", "main": "./src/index.js", "license": "MIT" }
<|file_sep|>original/package.json { "name": "mavenlink-ui", "version": "0.0.1", "description": "Mavenlink Components and Design", "main": "src/index.js", "license": "MIT" } <|file_sep|>current/package.json { "name": "mavenlink-ui", "version": "0.0.1", "description": "Mavenlink Components and Design", ...
b124ba236f6346ca7b9da7bc3c4a16b07f1cde8d
package.json
package.json
JSON
<|file_sep|>original/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java <|file_sep|>current/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java <|file_sep|>updated/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java
package org.cyclops.colossalchests.block; import net.minecraft.client.model.ModelChest; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import org.cyclops.colossalchests.ColossalChests; import org.cyclops.colossalchests.client.render.tileentity.RenderTileEntityUncoloss...
<|file_sep|>original/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java <|file_sep|>current/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java <|file_sep|>updated/src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java package org.cyclops.colossalchests....
078bd76aa86dfc0fbf8200b419c264f6b05aa78d
src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java
src/main/java/org/cyclops/colossalchests/block/UncolossalChestConfig.java
Java
<|file_sep|>original/views/index.jade extends layout block content ul.list-group#message-list .input-group input#message-field.form-control(type='text', autofocus) span.input-group-btn button#message-send-button.btn.btn-primary(type='button') Send script#message-template(type="text/template"). ...
block content ul.list-group#message-list .input-group input#message-field.form-control(type='text', autofocus) span.input-group-btn button#message-send-button.btn.btn-primary(type='button') Send script#message-template(type="text/template"). <li class="list-group-item"> <div class="media...
<|file_sep|>original/views/index.jade extends layout block content ul.list-group#message-list .input-group input#message-field.form-control(type='text', autofocus) span.input-group-btn button#message-send-button.btn.btn-primary(type='button') Send script#message-template(type="text/template"). ...
dd456817dd707650a93adb322f3d87b696070cda
views/index.jade
views/index.jade
Jade
<|file_sep|>templates/default/etc_chef_client.rb.erb.diff original: node_name '<%= node['fqdn'] %>' updated: <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <|file_sep|>original/templates/default/etc_chef_client.rb.erb <%= template_header -%> node_name '<%...
<%= template_header -%> <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <%- end -%> chef_server_url '<%= @server_url %>' client_key '<%= @client_key %>' <% if @trusted_certs_dir -%> trusted_certs_dir '<%= @trusted_certs_dir %>' <% end -%> <%- if @verify_ssl == ...
<|file_sep|>templates/default/etc_chef_client.rb.erb.diff original: node_name '<%= node['fqdn'] %>' updated: <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <|file_sep|>original/templates/default/etc_chef_client.rb.erb <%= template_header -%> node_name '<%...
8f6377e0db79e07a6a0e9406b353c1ab8a5862b1
templates/default/etc_chef_client.rb.erb
templates/default/etc_chef_client.rb.erb
HTML+ERB
<|file_sep|>original/app/assets/javascripts/pads.js function playAudio(element) { if (element.sample === undefined) { var sample = new Audio(element.dataset.audio); element.sample = sample } element.sample.play(); } $(document).ready(function() { $('.trigger-pad').click(function() { playAudio(thi...
function playAudio(element) { if (element.sample === undefined) { var newSample = new buzz.sound(element.dataset.audio, { formats: [ "ogg", "mp3", "wav" ] }); element.sample = newSample; } element.sample.play(); } $(document).ready(function() { $('.trigger-pad').click(function() { p...
<|file_sep|>original/app/assets/javascripts/pads.js function playAudio(element) { if (element.sample === undefined) { var sample = new Audio(element.dataset.audio); element.sample = sample } element.sample.play(); } $(document).ready(function() { $('.trigger-pad').click(function() { playAudio(thi...
f94756b47841ce1cf0249ac20cd68532b6e6abf0
app/assets/javascripts/pads.js
app/assets/javascripts/pads.js
JavaScript
<|file_sep|>original/README.rst Tamarin's only purpose is to retrieve the logs from S3, parse them, and store them locally in a Django model. You'll need to write your own queries and reports, or use another third party app that builds on Tamarin. Status ------ Tamarin is not recommended for production use... yet....
Tamarin's only purpose is to retrieve the logs from S3, parse them, and store them locally in a Django model. You'll need to write your own queries and reports, or use another third party app that builds on Tamarin. Status ------ Tamarin is not recommended for production use... yet. Documentation ------------- ...
<|file_sep|>original/README.rst Tamarin's only purpose is to retrieve the logs from S3, parse them, and store them locally in a Django model. You'll need to write your own queries and reports, or use another third party app that builds on Tamarin. Status ------ Tamarin is not recommended for production use... yet....
602904c50895a0ac6d94b626130267b229d27efc
README.rst
README.rst
reStructuredText
<|file_sep|>original/README.md # SchProject <a href="https://zenhub.com"><img src="https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png"></a> [![Build status](https://ci.appveyor.com/api/projects/status/sv51yamhc4o0k1me?svg=true)](https://ci.appveyor.com/project/TheDancs/schproject) [![Gitter](ht...
# SchProject <a href="https://zenhub.com"><img src="https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png"></a> [![Gitter](https://badges.gitter.im/schproject/Lobby.svg)](https://gitter.im/schproject/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) The final project. Let's get it st...
<|file_sep|>original/README.md # SchProject <a href="https://zenhub.com"><img src="https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png"></a> [![Build status](https://ci.appveyor.com/api/projects/status/sv51yamhc4o0k1me?svg=true)](https://ci.appveyor.com/project/TheDancs/schproject) [![Gitter](ht...
7e7e60e8f50b0aa7d2a0d05f7bcb75a3084ed6bf
README.md
README.md
Markdown
<|file_sep|>original/app/views/layouts/application.html.haml <!--[if IE 8 ]> <html lang="en" class="no-js #{ @body_class } ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js #{ @body_class } ie9"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> %head <!--<![endif]--> %meta{ :charset => "utf-8" } ...
<!--[if IE 8 ]> <html lang="en" class="no-js #{ @body_class } ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js #{ @body_class } ie9"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> %head <!--<![endif]--> %meta{ :charset => "utf-8" } %meta{name: "viewport", content: "initial-scale=1.0,user-scal...
<|file_sep|>original/app/views/layouts/application.html.haml <!--[if IE 8 ]> <html lang="en" class="no-js #{ @body_class } ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js #{ @body_class } ie9"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> %head <!--<![endif]--> %meta{ :charset => "utf-8" } ...
26429791ab92e289bfeef34763b4a5d38bc47dc5
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
Haml
<|file_sep|>original/script/create-dist.sh #!/bin/bash set -e DISTFILES="package.json webpack.config.js webpack.config.electron.js LICENSE share bin server" cd $(dirname $0)/.. export NODE_ENV=production webpack --config webpack.config.electron.js cp -r $DISTFILES dist/ cd dist/ npm link termios child_pty npm inst...
#!/bin/bash set -e DISTFILES="package.json webpack.config.js webpack.config.electron.js LICENSE share bin server" cd $(dirname $0)/.. export NODE_ENV=production webpack --config webpack.config.electron.js cp -r $DISTFILES dist/ cd dist/ npm link termios child_pty npm install rm -rf ../hterminal-darwin-x64/ ../node...
<|file_sep|>original/script/create-dist.sh #!/bin/bash set -e DISTFILES="package.json webpack.config.js webpack.config.electron.js LICENSE share bin server" cd $(dirname $0)/.. export NODE_ENV=production webpack --config webpack.config.electron.js cp -r $DISTFILES dist/ cd dist/ npm link termios child_pty npm inst...
9f6edf5c93008dcebda862ed70e7a0beb20648c4
script/create-dist.sh
script/create-dist.sh
Shell
<|file_sep|>.github/workflows/c-cpp.yml.diff original: name: C/C++ CI updated: name: C/C++ CI build <|file_sep|>original/.github/workflows/c-cpp.yml name: C/C++ CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: configure run: ./configu...
name: C/C++ CI build on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] # defaults: # run: # shell: bash steps: - uses: actions/checkout@v2 - name: configure run: ./confi...
<|file_sep|>.github/workflows/c-cpp.yml.diff original: name: C/C++ CI updated: name: C/C++ CI build <|file_sep|>original/.github/workflows/c-cpp.yml name: C/C++ CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: configure run: ./configu...
4488b11a94c1ce3cc0e2cdfefd905b1f9beca33d
.github/workflows/c-cpp.yml
.github/workflows/c-cpp.yml
YAML
<|file_sep|>original/hack/config-default.sh binaries="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virtctl cmd/fake-qemu-process cmd/virt-api cmd/subresource-access-test cmd/example-hook-sidecar" docker_images_cacheable="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virt-api images/disks-imag...
binaries="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virtctl cmd/fake-qemu-process cmd/virt-api cmd/subresource-access-test cmd/example-hook-sidecar" docker_images_cacheable="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virt-api images/disks-images-provider images/vm-killer cmd/subresource...
<|file_sep|>original/hack/config-default.sh binaries="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virtctl cmd/fake-qemu-process cmd/virt-api cmd/subresource-access-test cmd/example-hook-sidecar" docker_images_cacheable="cmd/virt-controller cmd/virt-launcher cmd/virt-handler cmd/virt-api images/disks-imag...
0361f2235e48830e9e24b0a4203140419f93d5dd
hack/config-default.sh
hack/config-default.sh
Shell
<|file_sep|>original/README.md Author: Ken Price, Jordan Ross ## Set up * `bundle install` to install dependencies * `bundle exec rake db:migrate` to set up * Run server with `rails server` * Go to your web browser and open "http://localhost:3000" ## To run tests For unit and integration tests: * Run `bundle exe...
## Set up * `bundle install` to install dependencies * `bundle exec rake db:migrate` to set up * Run server with `rails server` * Go to your web browser and open "http://localhost:3000" ## To run tests For unit and integration tests: * Run `bundle exec rake test` For functional testing with Cucumber: * First run...
<|file_sep|>original/README.md Author: Ken Price, Jordan Ross ## Set up * `bundle install` to install dependencies * `bundle exec rake db:migrate` to set up * Run server with `rails server` * Go to your web browser and open "http://localhost:3000" ## To run tests For unit and integration tests: * Run `bundle exe...
c751c4e5cf27098f7c45eca0a8e9371d3f342bcf
README.md
README.md
Markdown
<|file_sep|>original/templates/default/gitlab.rb.erb external_url = '<%= @external_url %>' <% if @enable_ts %> nginx['ssl_certificate'] = '<%= @ssl_certificate %>' nginx['ssl_certificate_key'] = '<%= @ssl_key %>' nginx['redirect_http_to_https'] = <%= @redirect_http_to_https %> <% end %> gitlab_rails['gitlab_email_fro...
external_url = '<%= @external_url %>' <% if @enable_ts %> nginx['ssl_certificate'] = '<%= @ssl_certificate %>' nginx['ssl_certificate_key'] = '<%= @ssl_key %>' nginx['redirect_http_to_https'] = <%= @redirect_http_to_https %> <% end %> gitlab_rails['gitlab_email_from'] = '<%= @gitlab_email_from %>' gitlab_rails['ldap...
<|file_sep|>original/templates/default/gitlab.rb.erb external_url = '<%= @external_url %>' <% if @enable_ts %> nginx['ssl_certificate'] = '<%= @ssl_certificate %>' nginx['ssl_certificate_key'] = '<%= @ssl_key %>' nginx['redirect_http_to_https'] = <%= @redirect_http_to_https %> <% end %> gitlab_rails['gitlab_email_fro...
3d0a5704cfde1938c4f84674bcf640124c0f821b
templates/default/gitlab.rb.erb
templates/default/gitlab.rb.erb
HTML+ERB
<|file_sep|>original/_posts/2015-07-08-project-7.markdown <|file_sep|>current/_posts/2015-07-08-project-7.markdown <|file_sep|>updated/_posts/2015-07-08-project-7.markdown
--- title: Connect The Dots subtitle: HTML5 Canvas, JavaScript, CSS layout: default modal-id: 7 date: 2015-07-08 img: connect-the-dots.png thumbnail: connect-the-dots-thumbnail.png alt: image-alt project-date: April 2015 link: /connect-the-dots source: https://github.com/jjparseghian/Rebass description: Web-based solve...
<|file_sep|>original/_posts/2015-07-08-project-7.markdown <|file_sep|>current/_posts/2015-07-08-project-7.markdown <|file_sep|>updated/_posts/2015-07-08-project-7.markdown --- title: Connect The Dots subtitle: HTML5 Canvas, JavaScript, CSS layout: default modal-id: 7 date: 2015-07-08 img: connect-the-dots.png thumbna...
eeb0bb9990182abd99af3ec328e7eea3d1bcaf07
_posts/2015-07-08-project-7.markdown
_posts/2015-07-08-project-7.markdown
Markdown
<|file_sep|>original/test/CodeGen/X86/i64-mem-copy.ll ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64 ; X64: movq ({{%rsi|%rdx}}), %r ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32 ; X32: movsd (...
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64 ; X64: movq ({{%rsi|%rdx}}), %r ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32 ; X32: movsd ({{%ecx|%eax}}), %xmm ; Uses movsd to load / store i64...
<|file_sep|>original/test/CodeGen/X86/i64-mem-copy.ll ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64 ; X64: movq ({{%rsi|%rdx}}), %r ; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -check-prefix=X32 ; X32: movsd (...
f9f10e3f951ca151f2b2430ac881a4d457b92f10
test/CodeGen/X86/i64-mem-copy.ll
test/CodeGen/X86/i64-mem-copy.ll
LLVM
<|file_sep|>original/scripts/ariaCurrent.js function setAriaCurrent() { var title = document.title; if title== "Comunidad hispanohablante de NVDA" { var id = "inicio" } document.getElementById(id).setAttribute("aria-current", "page"); } setAriaCurrent(); <|file_sep|>current/scripts/ariaCurrent.js function setAri...
function setAriaCurrent() { var title = document.title; if title== "Comunidad hispanohablante de NVDA" { var id = "inicio" } document.getElementById(id).removeAttribute("accesskey"); document.getElementById(id).setAttribute("aria-current", "page"); } setAriaCurrent();
<|file_sep|>original/scripts/ariaCurrent.js function setAriaCurrent() { var title = document.title; if title== "Comunidad hispanohablante de NVDA" { var id = "inicio" } document.getElementById(id).setAttribute("aria-current", "page"); } setAriaCurrent(); <|file_sep|>current/scripts/ariaCurrent.js function setAri...
4fafe0b5c0c853683fe3509e781cd0ce46c2a761
scripts/ariaCurrent.js
scripts/ariaCurrent.js
JavaScript
<|file_sep|>web/app/wiki/__main__.py.diff original: updated: # Get references to web framework extensions. from web.ext.annotation import AnnotationExtension from web.ext.debug import DebugExtension from web.ext.serialize import SerializationExtension from web.ext.db import DBExtension # Get a reference to our databa...
from web.ext.db import DBExtension # Get a reference to our database connection adapter. from web.db.mongo import MongoDBConnection # Get a reference to our Wiki root object. from web.app.wiki.root import Wiki # This is our WSGI application instance. app = Application(Wiki, extensions=[ AnnotationExtension(), D...
<|file_sep|>web/app/wiki/__main__.py.diff original: updated: # Get references to web framework extensions. from web.ext.annotation import AnnotationExtension from web.ext.debug import DebugExtension from web.ext.serialize import SerializationExtension from web.ext.db import DBExtension # Get a reference to our databa...
d347f8a42bdf66eeb0e56b3de1ad941b65ba1681
web/app/wiki/__main__.py
web/app/wiki/__main__.py
Python
<|file_sep|>docs/docker.markdown.diff original: docker build -t youruser\kanboard:master . updated: docker build -t youruser/kanboard:master . <|file_sep|>original/docs/docker.markdown Fetch the image on your machine: ```bash docker pull kanboard/kanboard:master ``` Run the image: ```bash docker run -d --name kanbo...
```bash docker pull kanboard/kanboard:master ``` Run the image: ```bash docker run -d --name kanboard -p 80:80 -t kanboard/kanboard:master ``` Note: This image is not necessary up to date Store your data on a volume --------------------------- You can also save your data outside of the container, on the local mac...
<|file_sep|>docs/docker.markdown.diff original: docker build -t youruser\kanboard:master . updated: docker build -t youruser/kanboard:master . <|file_sep|>original/docs/docker.markdown Fetch the image on your machine: ```bash docker pull kanboard/kanboard:master ``` Run the image: ```bash docker run -d --name kanbo...
2237def25de103aa0c1e998d11387891389b2872
docs/docker.markdown
docs/docker.markdown
Markdown
<|file_sep|>original/package.json { "name": "riotjs-es6", "version": "0.0.0", "dependencies": { "babel": "^5.2.6" } } <|file_sep|>current/package.json { "name": "riotjs-es6", "version": "0.0.0", "dependencies": { "babel": "^5.2.6" } } <|file_sep|>updated/package.json
{ "name": "riotjs-es6", "version": "0.0.0", "dependencies": { "babel-core": "^5.2.17" } }
<|file_sep|>original/package.json { "name": "riotjs-es6", "version": "0.0.0", "dependencies": { "babel": "^5.2.6" } } <|file_sep|>current/package.json { "name": "riotjs-es6", "version": "0.0.0", "dependencies": { "babel": "^5.2.6" } } <|file_sep|>updated/package.json { "name": "riotjs-es6", ...
87eeab8336913d5f45af5fe245f47ade58454a72
package.json
package.json
JSON
<|file_sep|>src/style-template.css.diff original: /* Hack to prevent Firefox from loading the compatibility fonts. Without this, ff will download both compatibility and optimized fonts even though only the optimized version is needed. Bug in ff? */ font-style: oblique; updated: <|file_sep|>src/style-tem...
src: url('text-security-compat.eot'); src: url('text-security-compat.eot?#iefix') format('embedded-opentype'), url('text-security-compat.woff2') format('woff2'), url('text-security-compat.ttf') format('truetype'); } /* Browser detection hack to enable the optimized font in recent versions of Chromium...
<|file_sep|>src/style-template.css.diff original: /* Hack to prevent Firefox from loading the compatibility fonts. Without this, ff will download both compatibility and optimized fonts even though only the optimized version is needed. Bug in ff? */ font-style: oblique; updated: <|file_sep|>src/style-tem...
44e776e9ee0af65ce8eee17bc5d1b753c152faf3
src/style-template.css
src/style-template.css
CSS
<|file_sep|>original/vagrant/aliases.zsh alias vs='vagrant status' alias ve='vagrant ssh' alias vr='vagrant reload' alias vup='vagrant up' alias vp='vagrant provision' alias vdf='vagrant destroy -f' <|file_sep|>current/vagrant/aliases.zsh alias vs='vagrant status' alias ve='vagrant ssh' alias vr='vagrant reload' alias ...
alias vs='vagrant status' alias ve='vagrant ssh' alias vr='vagrant reload' alias vup='vagrant up' alias vp='vagrant provision' alias vh='vagrant halt' alias vdf='vagrant destroy -f'
<|file_sep|>original/vagrant/aliases.zsh alias vs='vagrant status' alias ve='vagrant ssh' alias vr='vagrant reload' alias vup='vagrant up' alias vp='vagrant provision' alias vdf='vagrant destroy -f' <|file_sep|>current/vagrant/aliases.zsh alias vs='vagrant status' alias ve='vagrant ssh' alias vr='vagrant reload' alias ...
ca285452d7a5f7b43a3545fe889ba418c7f3386d
vagrant/aliases.zsh
vagrant/aliases.zsh
Shell
<|file_sep|>original/requirements.txt # Application bleach~=3.1 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.2 django-recaptcha==2.0.6 Django~=3.1 django-crispy-forms~=1.9 django_compressor~=2.4 django_extensions~=3.0 django-sortedm2m~=3.0 django-storages~=1.7 easy-thumbnails~=2.7 icalendar==4.0.6 invoke==0.17...
# Application bleach~=3.1 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.2 django-recaptcha==2.0.6 Django~=3.1 django-crispy-forms~=1.9 django_compressor~=2.4 django_extensions~=3.0 django-sortedm2m~=3.0 django-storages~=1.9 easy-thumbnails~=2.7 icalendar==4.0.6 invoke==0.17 pillow~=7.2 python-mimeparse reportla...
<|file_sep|>original/requirements.txt # Application bleach~=3.1 django-bootstrap-breadcrumbs~=0.9 django-formtools~=2.2 django-recaptcha==2.0.6 Django~=3.1 django-crispy-forms~=1.9 django_compressor~=2.4 django_extensions~=3.0 django-sortedm2m~=3.0 django-storages~=1.7 easy-thumbnails~=2.7 icalendar==4.0.6 invoke==0.17...
691f2164ccad08bbfc7cd5c705d6d35890b98812
requirements.txt
requirements.txt
Text
<|file_sep|>original/docs/index.rst You can find all DebOps Contrib components under: https://github.com/debops-contrib/ Note that not every DebOps Contrib component has a corresponding documentation appearing here yet. .. toctree:: :maxdepth: 2 :glob: debops-contrib/README adding-roles ansible/roles/...
You can find all DebOps Contrib components under: https://github.com/debops-contrib/ Note that not every DebOps Contrib component has a corresponding documentation appearing here yet. .. toctree:: :maxdepth: 2 :glob: debops-contrib/README adding-roles ansible/roles/index ansible/roles/ansible-*/docs...
<|file_sep|>original/docs/index.rst You can find all DebOps Contrib components under: https://github.com/debops-contrib/ Note that not every DebOps Contrib component has a corresponding documentation appearing here yet. .. toctree:: :maxdepth: 2 :glob: debops-contrib/README adding-roles ansible/roles/...
2e8ed037e379833593597b328b6c86979c6005b4
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>original/script/mediawords_reformat_all_code.sh <|file_sep|>current/script/mediawords_reformat_all_code.sh <|file_sep|>updated/script/mediawords_reformat_all_code.sh
#!/bin/bash find script script_archive/ t lib -iname '*.pm' -print0 -or -iname '*.pl' -print0 | xargs -0 -n1 ./script/run_with_carton.sh ./script/mediawords_reformat_code.pl find script script_archive/ t lib -iname '*.pm.bak' -print0 -or -iname '*.pl.bak' -print0 | xargs -0 rm
<|file_sep|>original/script/mediawords_reformat_all_code.sh <|file_sep|>current/script/mediawords_reformat_all_code.sh <|file_sep|>updated/script/mediawords_reformat_all_code.sh #!/bin/bash find script script_archive/ t lib -iname '*.pm' -print0 -or -iname '*.pl' -print0 | xargs -0 -n1 ./script/run_with_carton.sh ....
d7bedb12ba4cb981d1260356a88a3a7aec890ea4
script/mediawords_reformat_all_code.sh
script/mediawords_reformat_all_code.sh
Shell
<|file_sep|>original/gulp-tracer.sh #!/bin/sh -e # Usage: `sudo sh gulp-tracer.sh' strace -tp $(pgrep -l gulp | awk '{ print $1}') -etrace=file <|file_sep|>current/gulp-tracer.sh #!/bin/sh -e # Usage: `sudo sh gulp-tracer.sh' strace -tp $(pgrep -l gulp | awk '{ print $1}') -etrace=file <|file_sep|>updated/gulp-tracer...
#!/bin/sh -e # Usage: `sudo sh gulp-tracer.sh' strace -tp $(pgrep -l gulp | awk '{ print $1}') -etrace=stat -esignal=none
<|file_sep|>original/gulp-tracer.sh #!/bin/sh -e # Usage: `sudo sh gulp-tracer.sh' strace -tp $(pgrep -l gulp | awk '{ print $1}') -etrace=file <|file_sep|>current/gulp-tracer.sh #!/bin/sh -e # Usage: `sudo sh gulp-tracer.sh' strace -tp $(pgrep -l gulp | awk '{ print $1}') -etrace=file <|file_sep|>updated/gulp-tracer...
50e379effb5c72413bb5c7cdf9cd5f3f0706716a
gulp-tracer.sh
gulp-tracer.sh
Shell
<|file_sep|>original/content/events/2016-baltimore/contact.md +++ Follow [@DevOpsDaysBmore](https://twitter.com/devopsdaysbmore) on twitter. What questions can we answer for you? Drop us an email: {{< email_organizers >}} If you'd like to contact us by email: {{< email_organizers >}} **Our local team** {{< list_...
Follow [@DevOpsDaysBmore](https://twitter.com/devopsdaysbmore) on twitter. What questions can we answer for you? Drop us an email: {{< email_organizers >}} If you'd like to contact us by email: {{< email_organizers >}} **Our local team** {{< list_organizers >}} <div> <a class="twitter-timeline" href="https://tw...
<|file_sep|>original/content/events/2016-baltimore/contact.md +++ Follow [@DevOpsDaysBmore](https://twitter.com/devopsdaysbmore) on twitter. What questions can we answer for you? Drop us an email: {{< email_organizers >}} If you'd like to contact us by email: {{< email_organizers >}} **Our local team** {{< list_...
f304ddb202d1413f520e8e51e993500e13196711
content/events/2016-baltimore/contact.md
content/events/2016-baltimore/contact.md
Markdown
<|file_sep|>original/command/chmod/README.md So `740` lets the owner do anything, users in the file group read it and everyone else has no access. ## Modifying permissions They user type must be specified: - `u` for owner of the file. - `g` for owners in the file's group. - `o` for everyone else. - `a` is the sa...
So `740` lets the owner do anything, users in the file group read it and everyone else has no access. ## Modifying permissions They user type must be specified: - `u` for owner of the file. - `g` for users in the file's group. - `o` for everyone else. - `a` is the same as `ugo`. The modification type is then g...
<|file_sep|>original/command/chmod/README.md So `740` lets the owner do anything, users in the file group read it and everyone else has no access. ## Modifying permissions They user type must be specified: - `u` for owner of the file. - `g` for owners in the file's group. - `o` for everyone else. - `a` is the sa...
65f36c135bd31ecf30c35d4369d68808d8a917ba
command/chmod/README.md
command/chmod/README.md
Markdown
<|file_sep|>cypress/integration/mentions.ts.diff original: context("Mentions", () => { updated: context("Suggestions", () => { <|file_sep|>original/cypress/integration/mentions.ts const DELAY = 500; context("Mentions", () => { beforeEach(() => { cy.visit("http://localhost:4000"); }); it("'@ + Enter' should s...
const DELAY = 500; context("Suggestions", () => { beforeEach(() => { cy.visit("http://localhost:4000"); }); it("'@' should display the suggestions box", () => { cy.get(".mde-suggestions").should("not.exist"); cy.get(".mde-text") .type("{selectall}{backspace}") .type("@"); cy.get(".mde...
<|file_sep|>cypress/integration/mentions.ts.diff original: context("Mentions", () => { updated: context("Suggestions", () => { <|file_sep|>original/cypress/integration/mentions.ts const DELAY = 500; context("Mentions", () => { beforeEach(() => { cy.visit("http://localhost:4000"); }); it("'@ + Enter' should s...
58c37d761a62100016a92786ae8620006143cf3d
cypress/integration/mentions.ts
cypress/integration/mentions.ts
TypeScript
<|file_sep|>original/spec/BuilderSpec.js import path from 'path' import { Builder } from '../src/main' import type { Message } from '../src/types' describe('Builder', () => { let builder: Builder let messages: Array<Message> beforeEach(async (done) => { const options = { ignoreCache: true, severity: 'error...
import path from 'path' import { Builder } from '../src/main' import type { Message } from '../src/types' describe('Builder', () => { let builder: Builder let messages: Array<Message> beforeEach(async (done) => { const options = { ignoreCache: true, severity: 'error', reportLogMesssages: true } message...
<|file_sep|>original/spec/BuilderSpec.js import path from 'path' import { Builder } from '../src/main' import type { Message } from '../src/types' describe('Builder', () => { let builder: Builder let messages: Array<Message> beforeEach(async (done) => { const options = { ignoreCache: true, severity: 'error...
cad224fe65ceea0b94a36e1959b5dc90abd5c4b4
spec/BuilderSpec.js
spec/BuilderSpec.js
JavaScript
<|file_sep|>lib/src/source_gen/source_gen.dart.diff original: updated: import 'package:dart_style/dart_style.dart'; <|file_sep|>original/lib/src/source_gen/source_gen.dart import 'package:angular2/src/transform/common/names.dart'; import 'package:build/build.dart'; import 'package:source_gen/source_gen.dart'; import ...
import 'package:angular2/src/transform/common/names.dart'; import 'package:build/build.dart'; import 'package:dart_style/dart_style.dart'; import 'package:source_gen/source_gen.dart'; import 'template_compiler/generator.dart'; import 'template_compiler/generator_options.dart'; export 'template_compiler/generator_opti...
<|file_sep|>lib/src/source_gen/source_gen.dart.diff original: updated: import 'package:dart_style/dart_style.dart'; <|file_sep|>original/lib/src/source_gen/source_gen.dart import 'package:angular2/src/transform/common/names.dart'; import 'package:build/build.dart'; import 'package:source_gen/source_gen.dart'; import ...
32c909123f0ee9906e9908ad6ade78dcd673d629
lib/src/source_gen/source_gen.dart
lib/src/source_gen/source_gen.dart
Dart
<|file_sep|>src/containers/Posts.jsx.diff original: import { Pagination, Summary } from '../components' updated: import { Loading, NotFound, Pagination, Summary } from '../components' <|file_sep|>original/src/containers/Posts.jsx return ( <div> <div className="posts"> { (isFetching || ! da...
return ( <div className="posts"> { (isFetching ? <Loading /> : (data[page] ? data[page]. map((item) => { return entities.posts[item] }). map((item, key) => { return ( ...
<|file_sep|>src/containers/Posts.jsx.diff original: import { Pagination, Summary } from '../components' updated: import { Loading, NotFound, Pagination, Summary } from '../components' <|file_sep|>original/src/containers/Posts.jsx return ( <div> <div className="posts"> { (isFetching || ! da...
a55706275bcfc1484003183710bbd113ac333335
src/containers/Posts.jsx
src/containers/Posts.jsx
JSX
<|file_sep|>original/src/ratpack/templates/index.html <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="main.js"></script> </head> <body> <h1>Diddit: A Digg/Reddit Clone</h1> <div ng-app="didditApp" ng-controller="didd...
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="main.js"></script> </head> <body> <h1>Diddit: <a href="https://github.com/yzxj/carousell-exercise">Justin's</a> Digg/Reddit Clone</h1> <div ng-app="didditApp" ng-contro...
<|file_sep|>original/src/ratpack/templates/index.html <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="main.js"></script> </head> <body> <h1>Diddit: A Digg/Reddit Clone</h1> <div ng-app="didditApp" ng-controller="didd...
394402dc35257e605cb650097d14f240b7b8b356
src/ratpack/templates/index.html
src/ratpack/templates/index.html
HTML
<|file_sep|>original/library.lisp (cl:in-package :%open-asset-import-library) (define-foreign-library assimp (:windows "assimp.dll" );; :calling-convention :stdcall ? #++(:unix "libassimp.so") (:unix (:or "libassimp.so.3" "libassimp3.0.so" "libassimp.so"))) (use-foreign-library assimp) <|file_sep|>current/libra...
(cl:in-package :%open-asset-import-library) (define-foreign-library assimp (:darwin "libassimp.dylib") (:windows "assimp.dll" );; :calling-convention :stdcall ? #++(:unix "libassimp.so") (:unix (:or "libassimp.so.3" "libassimp3.0.so" "libassimp.so"))) (use-foreign-library assimp)
<|file_sep|>original/library.lisp (cl:in-package :%open-asset-import-library) (define-foreign-library assimp (:windows "assimp.dll" );; :calling-convention :stdcall ? #++(:unix "libassimp.so") (:unix (:or "libassimp.so.3" "libassimp3.0.so" "libassimp.so"))) (use-foreign-library assimp) <|file_sep|>current/libra...
68ec7a3660679c447b9429c0d7ec87ba31dbedcb
library.lisp
library.lisp
Common Lisp
<|file_sep|>original/ISSUE_TEMPLATE.md - Use a simple and clear title. - Does not mak as "ISSUE", "FEATURE" on title, this will be taged by the development group. #### Issue / Problem report 1. Add the KiCost version. Type ``kicost --version`` at terminal. 2. Add a terminal error report / txt, use ``--debug`` option o...
- Use a simple and clear title. - Do not mark as "ISSUE", "FEATURE" on title, this will be tagged by the development group. #### Issue / Problem report 1. Add the KiCost version. Type ``kicost --version`` at terminal. 2. Add a terminal error report / txt, use ``--debug`` option on KiCost call; kicost -w -i %YOUR_F...
<|file_sep|>original/ISSUE_TEMPLATE.md - Use a simple and clear title. - Does not mak as "ISSUE", "FEATURE" on title, this will be taged by the development group. #### Issue / Problem report 1. Add the KiCost version. Type ``kicost --version`` at terminal. 2. Add a terminal error report / txt, use ``--debug`` option o...
a7b90c9dac2ec99812dc50fc006e4d1f060695c8
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/package.json "homepage": "https://github.com/Becklyn/mojave", "bugs": { "url": "https://github.com/Becklyn/mojave/issues" }, "license": "BSD-3-Clause", "dependencies": { "mitt": "1.1.3", "preact": "8.3.1", "promiscuous": "0.7.2", "unfetch"...
"homepage": "https://github.com/Becklyn/mojave", "bugs": { "url": "https://github.com/Becklyn/mojave/issues" }, "license": "BSD-3-Clause", "dependencies": { "mitt": "1.1.3", "preact": "8.3.1", "promiscuous": "0.7.2", "unfetch": "3.1.1", "unistore": "3....
<|file_sep|>original/package.json "homepage": "https://github.com/Becklyn/mojave", "bugs": { "url": "https://github.com/Becklyn/mojave/issues" }, "license": "BSD-3-Clause", "dependencies": { "mitt": "1.1.3", "preact": "8.3.1", "promiscuous": "0.7.2", "unfetch"...
7a7b2e85abdbcaf5699a933a1c0598edf644c3b7
package.json
package.json
JSON
<|file_sep|>original/src/braid/core/client/ui/styles/reconnect_overlay.cljs [garden.arithmetic :as m])) (def reconnect-overlay [:>.reconnect-overlay {:position "absolute" :bottom 0 :left 0 :right 0 :top 0 :background "rgba(242,242,242,0.75)" :z-index 5000} [:>.info {:position "a...
[garden.arithmetic :as m])) (def reconnect-overlay [:>.reconnect-overlay {:position "absolute" :bottom 0 :left 0 :right 0 :top 0 :background "rgba(242,242,242,0.75)" :z-index 10000} [:>.info {:position "absolute" :bottom vars/pad :height (m/* vars/pad 4) :left 0 ...
<|file_sep|>original/src/braid/core/client/ui/styles/reconnect_overlay.cljs [garden.arithmetic :as m])) (def reconnect-overlay [:>.reconnect-overlay {:position "absolute" :bottom 0 :left 0 :right 0 :top 0 :background "rgba(242,242,242,0.75)" :z-index 5000} [:>.info {:position "a...
fbfa8cc79b320c9c9e17c0021ac6b18e0a35dd73
src/braid/core/client/ui/styles/reconnect_overlay.cljs
src/braid/core/client/ui/styles/reconnect_overlay.cljs
Clojure
<|file_sep|>original/Wikidump-Parser/config.json { "dumpLocation": "/Users/espen/Development/wikipedia/enwiki-20150602-pages-articles.xml", "databaseConfig": { "host": "localhost", "user": "root", "password": "", "database": "wikipedia" }, "pageCount": "0", "startLine": "0" } <|file_sep|>curre...
{ "dumpLocation": "/Users/espen/Development/wikipedia/enwiki-20160113-pages-articles.xml", "databaseConfig": { "host": "localhost", "user": "root", "password": "", "database": "wikipedia" }, "pageCount": "0", "startLine": "0" }
<|file_sep|>original/Wikidump-Parser/config.json { "dumpLocation": "/Users/espen/Development/wikipedia/enwiki-20150602-pages-articles.xml", "databaseConfig": { "host": "localhost", "user": "root", "password": "", "database": "wikipedia" }, "pageCount": "0", "startLine": "0" } <|file_sep|>curre...
858e7ed47b5a7677a19fd9bec4832879e12acc44
Wikidump-Parser/config.json
Wikidump-Parser/config.json
JSON
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md
# Contributing We welcome contributions of any kind. To get started, look at the development setup guidelines for both [app](app#development) and [agent](agent#container-creation-and-docker-image-building) ## Pull Requests 1. Fork the repo and create your branch from master. 2. If you've added code that should be t...
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md # Contributing We welcome contributions of any kind. To get started, look at the development setup guidelines for both [app](app#development) and [agent](agent#container-creation-and-docker-image-building) ...
9c5ad3f79c67c28b7b535560771cacf6d6fcdbe4
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>_includes/about.html.diff original: <div class="about col-lg-6 col-sm-push-6 col-sm-6"> updated: <div class="col-sm-6"> <div class="embed-responsive embed-responsive-4by3"> <iframe class="embed-responsive-item" src="{{ section.video }}"></iframe> ...
<div class="col-sm-6"> <div class="embed-responsive embed-responsive-4by3"> <iframe class="embed-responsive-item" src="{{ section.video }}"></iframe> </div> </div> <div class="about col-sm-6"> <ul class="list-group lead"> ...
<|file_sep|>_includes/about.html.diff original: <div class="about col-lg-6 col-sm-push-6 col-sm-6"> updated: <div class="col-sm-6"> <div class="embed-responsive embed-responsive-4by3"> <iframe class="embed-responsive-item" src="{{ section.video }}"></iframe> ...
70c81adc368ef53918c99c2029270a930aaa3947
_includes/about.html
_includes/about.html
HTML
<|file_sep|>original/ProjectSettings/EditorBuildSettings.asset %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1045 &1 EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: - enabled: 1 path: Assets/Scenes/OuterMuseum.unity guid: cbd98daf037d444419859f99aa4c276b <|file_sep|>current/Pr...
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1045 &1 EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: - enabled: 1 path: Assets/Scenes/MuseumEntrance.unity guid: 6c9705869a5f8a845bdabcf9be8531c3 - enabled: 1 path: Assets/Scenes/BaseScene.unity guid: cbd98daf037d44441...
<|file_sep|>original/ProjectSettings/EditorBuildSettings.asset %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1045 &1 EditorBuildSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_Scenes: - enabled: 1 path: Assets/Scenes/OuterMuseum.unity guid: cbd98daf037d444419859f99aa4c276b <|file_sep|>current/Pr...
b0256699573dcc6d1af982fa7e5c6adc3bd52979
ProjectSettings/EditorBuildSettings.asset
ProjectSettings/EditorBuildSettings.asset
Unity3D Asset
<|file_sep|>original/app/controllers/dashboard/todos_controller.rb class Dashboard::TodosController < Dashboard::ApplicationController before_filter :find_todos, only: [:index, :destroy_all] def index @todos = @todos.page(params[:page]).per(PER_PAGE) end def destroy todo.done! respond_to do |form...
class Dashboard::TodosController < Dashboard::ApplicationController before_action :find_todos, only: [:index, :destroy_all] def index @todos = @todos.page(params[:page]).per(PER_PAGE) end def destroy todo.done! respond_to do |format| format.html { redirect_to dashboard_todos_path, notice: '...
<|file_sep|>original/app/controllers/dashboard/todos_controller.rb class Dashboard::TodosController < Dashboard::ApplicationController before_filter :find_todos, only: [:index, :destroy_all] def index @todos = @todos.page(params[:page]).per(PER_PAGE) end def destroy todo.done! respond_to do |form...
f37765efa237fdc26b9937bcb2128910eccbaf91
app/controllers/dashboard/todos_controller.rb
app/controllers/dashboard/todos_controller.rb
Ruby
<|file_sep|>Traversal/ReducibleOf.swift.diff original: producer = { updated: self.init({ <|file_sep|>original/Traversal/ReducibleOf.swift /// A reducible over a sequence. public struct ReducibleOf<T> : ReducibleType { // MARK: Lifecycle /// Initializes with a sequence. public init<S : SequenceType where S.Gene...
/// A reducible over a sequence. public struct ReducibleOf<T> : ReducibleType { // MARK: Lifecycle /// Initializes with a sequence. public init<S : SequenceType where S.Generator.Element == T>(_ sequence: S) { self.init({ var generator = sequence.generate() return { generator.next() } }) } // MARK: R...
<|file_sep|>Traversal/ReducibleOf.swift.diff original: producer = { updated: self.init({ <|file_sep|>original/Traversal/ReducibleOf.swift /// A reducible over a sequence. public struct ReducibleOf<T> : ReducibleType { // MARK: Lifecycle /// Initializes with a sequence. public init<S : SequenceType where S.Gene...
636b35d91246f87ecc20bfc027168b0e88ff5fbc
Traversal/ReducibleOf.swift
Traversal/ReducibleOf.swift
Swift
<|file_sep|>frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss.diff original: updated: $items-per-row: 5; $grid-gap: 20px; <|file_sep|>frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss.diff original: updated: padding-left:...
osm-csi-graph { display: block; flex-grow: 1; padding-left: 20px; } osm-csi-value { display: flex; justify-content: center; align-items: center; margin-left: -$grid-gap; min-width: calc(290px - #{$grid-gap}); width: calc(100% / #{$items-per-row} - 8px); } .card > .csi { display: flex; } .applicat...
<|file_sep|>frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss.diff original: updated: $items-per-row: 5; $grid-gap: 20px; <|file_sep|>frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss.diff original: updated: padding-left:...
34f540eb28179a50869ea5d97a59e15290b7a3af
frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss
frontend/src/app/application-dashboard/components/application-csi/application-csi.component.scss
SCSS
<|file_sep|>src/util/string.h.diff original: updated: #ifndef strndup // This is sometimes a macro <|file_sep|>original/src/util/string.h #ifndef UTIL_STRING_H #define UTIL_STRING_H #include "util/common.h" char* strndup(const char* start, size_t len); char* strnrstr(const char* restrict s1, const char* restrict s2,...
#ifndef UTIL_STRING_H #define UTIL_STRING_H #include "util/common.h" #ifndef strndup // This is sometimes a macro char* strndup(const char* start, size_t len); #endif char* strnrstr(const char* restrict s1, const char* restrict s2, size_t len); #endif
<|file_sep|>src/util/string.h.diff original: updated: #ifndef strndup // This is sometimes a macro <|file_sep|>original/src/util/string.h #ifndef UTIL_STRING_H #define UTIL_STRING_H #include "util/common.h" char* strndup(const char* start, size_t len); char* strnrstr(const char* restrict s1, const char* restrict s2,...
938c9e965d14e6867f165b3be3391b0c15484bf5
src/util/string.h
src/util/string.h
C
<|file_sep|>original/blog/index.html <div class="span4"> <h2>Issue resolution logs</h2> <ul class="post-list"> {% for post in site.categories.issue-resolution %} {% include post-list-item.html %} {% endfor %} </ul> </div> <div class="span4"> <h2>Issue resol...
<div class="span4"> <h2>Issue resolution logs</h2> <ul class="post-list"> {% for post in site.categories.issue-resolution %} {% include post-list-item.html %} {% endfor %} </ul> </div> <div class="span4"> <h2>Cheat sheets</h2> <ul class="post-list"> ...
<|file_sep|>original/blog/index.html <div class="span4"> <h2>Issue resolution logs</h2> <ul class="post-list"> {% for post in site.categories.issue-resolution %} {% include post-list-item.html %} {% endfor %} </ul> </div> <div class="span4"> <h2>Issue resol...
e1393eca1de9198c35adbb5a3d47861252e722b0
blog/index.html
blog/index.html
HTML
<|file_sep|>src/Hint/List.hs.diff original: listExp (loc,x) = case x of HsList xs | not (null xs) && all isCharExp xs -> [Idea "Use a string literal" loc (Just $ prettyPrint x) (Just $ prettyPrint $ HsLit $ HsString [x | HsLit (HsChar x) <- xs])] _ -> concatMap listExp $ children1Exp loc x updated: list...
listDecl :: HsDecl -> [Idea] listDecl = concatMap listExp . children0Exp nullSrcLoc listExp :: (SrcLoc,HsExp) -> [Idea] listExp (loc,x) = if null res then concatMap listExp $ children1Exp loc x else [head res] where res = [Idea name loc (Just $ prettyPrint x) (Just $ prettyPrint x2) | (name,f) <- ...
<|file_sep|>src/Hint/List.hs.diff original: listExp (loc,x) = case x of HsList xs | not (null xs) && all isCharExp xs -> [Idea "Use a string literal" loc (Just $ prettyPrint x) (Just $ prettyPrint $ HsLit $ HsString [x | HsLit (HsChar x) <- xs])] _ -> concatMap listExp $ children1Exp loc x updated: list...
6a84b9c70f5de404ce6f5174a39dde6c6b37cedb
src/Hint/List.hs
src/Hint/List.hs
Haskell
<|file_sep|>packages/rocketchat-oembed/client/oembedUrlWidget.coffee.diff original: return new Handlebars.SafeString description if _.isString description updated: return Blaze._escape(description) if _.isString description <|file_sep|>original/packages/rocketchat-oembed/client/oembedUrlWidget.coffee return _.unes...
return _.unescape description.replace /(^[“\s]*)|([”\s]*$)/g, '' Template.oembedUrlWidget.helpers description: -> description = getDescription this return Blaze._escape(description) if _.isString description title: -> title = getTitle this return Blaze._escape(title) if _.isString title target: -> if ...
<|file_sep|>packages/rocketchat-oembed/client/oembedUrlWidget.coffee.diff original: return new Handlebars.SafeString description if _.isString description updated: return Blaze._escape(description) if _.isString description <|file_sep|>original/packages/rocketchat-oembed/client/oembedUrlWidget.coffee return _.unes...
2f869c3b74db464e3d31ae517e10cbecbb9e376d
packages/rocketchat-oembed/client/oembedUrlWidget.coffee
packages/rocketchat-oembed/client/oembedUrlWidget.coffee
CoffeeScript
<|file_sep|>original/pages/transcode.md title: Trans*Code callout_big_1: A hack day for the trans* and non-binary community callout_small: Monday 30th October. --- [Trans*Code](http://trans-code.org/) returns to PyCon UK for a day-long hackathon to address issues facing the trans\* and nonbinary community. The day is...
title: Trans*Code --- [Trans*Code](http://trans-code.org/) returns to PyCon UK for a day-long hackathon to address issues facing the trans\* and nonbinary community. The day is open to all trans\* and nonbinary people and allies, and we welcome participants from all skill levels and backgrounds. The day will begin w...
<|file_sep|>original/pages/transcode.md title: Trans*Code callout_big_1: A hack day for the trans* and non-binary community callout_small: Monday 30th October. --- [Trans*Code](http://trans-code.org/) returns to PyCon UK for a day-long hackathon to address issues facing the trans\* and nonbinary community. The day is...
2b20268fb8f7f1721b184df7376ec456710fc23b
pages/transcode.md
pages/transcode.md
Markdown
<|file_sep|>original/hosts/common.nix ghc haskell-language-server stack ripgrep tree zathura nyxt sqlite byzanz xrectsel ]; }; programs.fzf.enable = true; programs.bat = { enable = true; config.theme = "ansi-dark"; }; xdg.configFile."al...
ghc haskell-language-server stack ripgrep tree zathura nyxt sqlite byzanz xrectsel mypy ]; }; programs.fzf.enable = true; programs.bat = { enable = true; config.theme = "ansi-dark"; }; xdg.configFile."alacritty/alacritty.yml".sour...
<|file_sep|>original/hosts/common.nix ghc haskell-language-server stack ripgrep tree zathura nyxt sqlite byzanz xrectsel ]; }; programs.fzf.enable = true; programs.bat = { enable = true; config.theme = "ansi-dark"; }; xdg.configFile."al...
20dbffe48ab60484cd2b5ce71406b13467c82f0f
hosts/common.nix
hosts/common.nix
Nix
<|file_sep|>original/parity-system/README.md Parity Trading System ===================== Parity Trading System is an open source trading system. Download -------- Download Parity Trading System from the [Releases][] page. [Releases]: https://github.com/jvirtanen/parity/wiki/Releases License ------- Parity Tra...
Download -------- Download Parity Trading System from the [Releases][] page. [Releases]: https://github.com/jvirtanen/parity/wiki/Releases Usage ----- Run Parity Trading System with Java: java -jar parity-system.jar parity-system.conf License -------
<|file_sep|>original/parity-system/README.md Parity Trading System ===================== Parity Trading System is an open source trading system. Download -------- Download Parity Trading System from the [Releases][] page. [Releases]: https://github.com/jvirtanen/parity/wiki/Releases License ------- Parity Tra...
e84af38ef6221f0455ff56b6ed97e2145788dbec
parity-system/README.md
parity-system/README.md
Markdown
<|file_sep|>metadata/io.timelimit.android.aosp.direct.yml.diff original: updated: - versionName: 3.7.0 versionCode: 98 commit: release-3.7.0 subdir: app gradle: - noGoogleApi - directVersion - productionServer <|file_sep|>original/metadata/io.timelimit.android.aosp.direct.yml c...
commit: release-3.6.0 subdir: app gradle: - noGoogleApi - directVersion - productionServer - versionName: 3.7.0 versionCode: 98 commit: release-3.7.0 subdir: app gradle: - noGoogleApi - directVersion - productionServer AutoUpdateMode: Version release-%...
<|file_sep|>metadata/io.timelimit.android.aosp.direct.yml.diff original: updated: - versionName: 3.7.0 versionCode: 98 commit: release-3.7.0 subdir: app gradle: - noGoogleApi - directVersion - productionServer <|file_sep|>original/metadata/io.timelimit.android.aosp.direct.yml c...
b1b9b7c9dd5b63d265215eeaca84dc264bcacf0f
metadata/io.timelimit.android.aosp.direct.yml
metadata/io.timelimit.android.aosp.direct.yml
YAML
<|file_sep|>README.md.diff original: ## updated: # Installing <|file_sep|>README.md.diff original: updated: ## Antigen add `antigen bundle unixorn/docker-helpers.zshplugin` to your `.zshrc` with your other plugins. ## Oh-My-Zsh 1. cd to your `oh-my-zsh` plugins directory (~/.oh-my-zsh/custom/plugins) 2. `git clone ht...
# Installing ## Antigen add `antigen bundle unixorn/docker-helpers.zshplugin` to your `.zshrc` with your other plugins. ## Oh-My-Zsh 1. cd to your `oh-my-zsh` plugins directory (~/.oh-my-zsh/custom/plugins) 2. `git clone https://github.com/unixorn/docker-helpers.zshplugin docker-helpers` 3. Add docker-helpers to you...
<|file_sep|>README.md.diff original: ## updated: # Installing <|file_sep|>README.md.diff original: updated: ## Antigen add `antigen bundle unixorn/docker-helpers.zshplugin` to your `.zshrc` with your other plugins. ## Oh-My-Zsh 1. cd to your `oh-my-zsh` plugins directory (~/.oh-my-zsh/custom/plugins) 2. `git clone ht...
5594135f91daedc4cf36b4cd395fb403d9bdbe7d
README.md
README.md
Markdown
<|file_sep|>original/init.lua -- Snippets require("snippets/snippets") -- Elastic Tabstops require('elastic_tabstops').enable() -- Textadept's yaml module yaml = require "yaml" -- Or just the lyaml contained in there --lyaml = require "yaml.lyaml" -- Zettels local zettels = require('zettels') zettels.enable('/home/...
-- Snippets require("snippets/snippets") -- Elastic Tabstops require('elastic_tabstops').enable() -- Textadept's yaml module yaml = require "yaml" -- Or just the lyaml contained in there --lyaml = require "yaml.lyaml" -- Zettels local zettels = require('zettels') zettels.enable(os.getenv("HOME") .. '/Dokumente/Zett...
<|file_sep|>original/init.lua -- Snippets require("snippets/snippets") -- Elastic Tabstops require('elastic_tabstops').enable() -- Textadept's yaml module yaml = require "yaml" -- Or just the lyaml contained in there --lyaml = require "yaml.lyaml" -- Zettels local zettels = require('zettels') zettels.enable('/home/...
b30815639ede18a6c1992b7e0840c42b30adff5a
init.lua
init.lua
Lua
<|file_sep|>shield-agent/config/environment.sh.diff original: {{ #if bind.has_daemon }} updated: SHIELD_ENDPOINT='{{cfg.shield_endpoint}}' SHIELD_API_TOKEN='{{cfg.provisioning_key}}' <|file_sep|>shield-agent/config/environment.sh.diff original: updated: # Overriding with values found in binding <|file_sep|>original/s...
#!/bin/bash SHIELD_ENDPOINT='{{cfg.shield_endpoint}}' SHIELD_API_TOKEN='{{cfg.provisioning_key}}' {{ #each bind.daemon.members as |shield| }} {{ #unless shield.follower }} # Overriding with values found in binding SHIELD_ENDPOINT='https://{{shield.sys.ip}}:{{shield.cfg.port}}' SHIELD_API_TOKEN='{{shield.cfg.provision...
<|file_sep|>shield-agent/config/environment.sh.diff original: {{ #if bind.has_daemon }} updated: SHIELD_ENDPOINT='{{cfg.shield_endpoint}}' SHIELD_API_TOKEN='{{cfg.provisioning_key}}' <|file_sep|>shield-agent/config/environment.sh.diff original: updated: # Overriding with values found in binding <|file_sep|>original/s...
9e83e196bdabece0bb71b1c5f2b7461a1d1c686c
shield-agent/config/environment.sh
shield-agent/config/environment.sh
Shell
<|file_sep|>original/hyde-pallet-core/project.clj (defproject com.palletops/hyde-pallet "0.1.0-SNAPSHOT" :description "Site generation for clojure projects" :url "https://github.com/paleltops/hyde-pallet" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plu...
(defproject com.palletops/hyde-pallet "0.1.0-SNAPSHOT" :description "Site generation for clojure projects" :url "https://github.com/paleltops/hyde-pallet" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plugins [[lein-modules "0.3.1"]] :dependencies [[or...
<|file_sep|>original/hyde-pallet-core/project.clj (defproject com.palletops/hyde-pallet "0.1.0-SNAPSHOT" :description "Site generation for clojure projects" :url "https://github.com/paleltops/hyde-pallet" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :plu...
eec9fd7c0f9ff6c1238f5387f6442ba1f6d5cfff
hyde-pallet-core/project.clj
hyde-pallet-core/project.clj
Clojure
<|file_sep|>original/package.json }, "keywords": [ "react", "component", "base" ], "author": "Willian Justen de Vasconcellos <willianjustenqui@gmail.com> (http://willianjusten.com.br/)", "license": "MIT", "bugs": { "url": "https://gitlab.com/e-project/react-component-base/issues" }, "hom...
"base" ], "author": "Willian Justen de Vasconcellos <willianjustenqui@gmail.com> (http://willianjusten.com.br/)", "license": "MIT", "bugs": { "url": "https://gitlab.com/e-project/react-component-base/issues" }, "homepage": "https://gitlab.com/e-project/react-component-base#README", "devDependencie...
<|file_sep|>original/package.json }, "keywords": [ "react", "component", "base" ], "author": "Willian Justen de Vasconcellos <willianjustenqui@gmail.com> (http://willianjusten.com.br/)", "license": "MIT", "bugs": { "url": "https://gitlab.com/e-project/react-component-base/issues" }, "hom...
5c6dc4a68af228902f47aa89e6f23e582d4c3265
package.json
package.json
JSON
<|file_sep|>original/build.yaml artifacts: jms: org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 activemq_core: org.apache.activemq:activemq-core:jar:5.3.2 commons_logging: commons-logging:commons-logging:jar:1.1 j2ee_management: org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0 repo...
artifacts: jms: org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 activemq_core: org.apache.activemq:activemq-core:jar:5.3.2 commons_logging: commons-logging:commons-logging:jar:1.1 j2ee_management: org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0 repositories: remote: - https:/...
<|file_sep|>original/build.yaml artifacts: jms: org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1 activemq_core: org.apache.activemq:activemq-core:jar:5.3.2 commons_logging: commons-logging:commons-logging:jar:1.1 j2ee_management: org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0 repo...
17d66550e5b1a43d055e90ea4fecc8030329c459
build.yaml
build.yaml
YAML
<|file_sep|>original/app/twitter/views.py def takeout_non_ascii(s): return list(filter(lambda x: x not in ascii_chars, s)) @twitter_mod.route('/twitter', methods=['GET', 'POST']) def twitter(): if request.method == 'POST': text = [] for tweet in tweepy.Cursor(api.search, request.form['topic'...
def takeout_non_ascii(s): return list(filter(lambda x: x not in ascii_chars, s)) @twitter_mod.route('/twitter', methods=['GET', 'POST']) def twitter(): if request.method == 'POST': text = [] for tweet in tweepy.Cursor(api.search, request.form['topic'], lang='hi').items(50): temp ...
<|file_sep|>original/app/twitter/views.py def takeout_non_ascii(s): return list(filter(lambda x: x not in ascii_chars, s)) @twitter_mod.route('/twitter', methods=['GET', 'POST']) def twitter(): if request.method == 'POST': text = [] for tweet in tweepy.Cursor(api.search, request.form['topic'...
2522f5e1a132597e56d1e8e8559b3e16c15be47f
app/twitter/views.py
app/twitter/views.py
Python
<|file_sep|>original/notes/install.txt > createdb boxcharter > sudo npm install -g @angular/cli > sudo mkdir /var/log/boxcharter > sudo chown bonnie /var/log/boxcharter > cd client; npm install > cd ../client; ng build > cd ../server; node model/create_tables.js <|file_sep|>current/notes/install.txt > createdb boxchart...
> createdb boxcharter > sudo npm install -g @angular/cli > sudo mkdir /var/log/boxcharter > sudo chown bonnie /var/log/boxcharter > cd client; npm install > cd ../client; ng build > cd ../server; node model/create_tables.js (remove user creation line for deploy!!)
<|file_sep|>original/notes/install.txt > createdb boxcharter > sudo npm install -g @angular/cli > sudo mkdir /var/log/boxcharter > sudo chown bonnie /var/log/boxcharter > cd client; npm install > cd ../client; ng build > cd ../server; node model/create_tables.js <|file_sep|>current/notes/install.txt > createdb boxchart...
093e2330b37128819c56d755c1e976dafe001f04
notes/install.txt
notes/install.txt
Text
<|file_sep|>original/packages/package_humann2_0_5_0/tool_dependencies.xml <?xml version="1.0"?> <tool_dependency> <package name="humann2" version="0.5.0"> <install version="1.0"> <actions> <action type="download_by_url">https://bitbucket.org/biobakery/humann2/downloads/humann2_v0...
<?xml version="1.0"?> <tool_dependency> <package name="humann2" version="0.5.0"> <install version="1.0"> <actions> <action type="download_by_url" md5sum="c78557b830f00d0b1f25be2a134727f9">https://bitbucket.org/biobakery/humann2/downloads/humann2_v0.5.0.tar.gz</action> ...
<|file_sep|>original/packages/package_humann2_0_5_0/tool_dependencies.xml <?xml version="1.0"?> <tool_dependency> <package name="humann2" version="0.5.0"> <install version="1.0"> <actions> <action type="download_by_url">https://bitbucket.org/biobakery/humann2/downloads/humann2_v0...
5b4e680281c4f5e69dd6aa76b2d2bc424ac3edaa
packages/package_humann2_0_5_0/tool_dependencies.xml
packages/package_humann2_0_5_0/tool_dependencies.xml
XML
<|file_sep|>water_heater_monitor/thermometer.ino.diff original: #include <I2Cdev.h> #include <BMP085.h> updated: #include <Adafruit_BMP085.h> <|file_sep|>water_heater_monitor/thermometer.ino.diff original: BMP085 barometer; updated: Adafruit_BMP085 barometer; <|file_sep|>water_heater_monitor/thermometer.ino.diff origin...
Adafruit_BMP085 barometer; boolean hasThermometer; boolean initThermometer () { Serial.print(F("Setting up BMP085 for temperature...")); if (barometer.begin()) { Serial.println(F(" done.")); hasThermometer = true; } else { Serial.println(F(" error.")); hasThermometer = false; } return hasT...
<|file_sep|>water_heater_monitor/thermometer.ino.diff original: #include <I2Cdev.h> #include <BMP085.h> updated: #include <Adafruit_BMP085.h> <|file_sep|>water_heater_monitor/thermometer.ino.diff original: BMP085 barometer; updated: Adafruit_BMP085 barometer; <|file_sep|>water_heater_monitor/thermometer.ino.diff origin...
aed4e0adbe33f5cc2c2f9a107e0b9e602a9bd923
water_heater_monitor/thermometer.ino
water_heater_monitor/thermometer.ino
Arduino
<|file_sep|>original/lib/markdown_api.rb require 'faraday' require 'faraday_middleware' class MarkdownApi def self.host return @host if @host config_file = Rails.root.join 'config/markdown.yml' config = YAML.load(config_file.read)[Rails.env] if config_file.exist? @host = ENV['MARKDOWN_HOST'] || confi...
require 'faraday' require 'faraday_middleware' class MarkdownApi def self.host return @host if @host config_file = Rails.root.join 'config/markdown.yml' config = YAML.load(config_file.read)[Rails.env] if config_file.exist? @host = if ENV['MARKDOWN_PORT_2998_TCP_ADDR'] "http://#{ ENV['MARKD...
<|file_sep|>original/lib/markdown_api.rb require 'faraday' require 'faraday_middleware' class MarkdownApi def self.host return @host if @host config_file = Rails.root.join 'config/markdown.yml' config = YAML.load(config_file.read)[Rails.env] if config_file.exist? @host = ENV['MARKDOWN_HOST'] || confi...
172fbe6e16664ac02f1d2fd1bc3eebe199b1621c
lib/markdown_api.rb
lib/markdown_api.rb
Ruby
<|file_sep|>.circleci/config.yml.diff original: updated: carthage: ngs/carthage@0.0.3 <|file_sep|>original/.circleci/config.yml xcode: 13.3.1 steps: - checkout - ruby-orbs/bundle-install: bundle_clean: true bundle_extra_args: "" bundle_gemfile: Gemfile bu...
steps: - checkout - ruby-orbs/bundle-install: bundle_clean: true bundle_extra_args: "" bundle_gemfile: Gemfile bundle_jobs: 4 bundle_path: vendor/bundle bundle_retry: 3 bundle_without: development test cache_key_prefix: v1-b...
<|file_sep|>.circleci/config.yml.diff original: updated: carthage: ngs/carthage@0.0.3 <|file_sep|>original/.circleci/config.yml xcode: 13.3.1 steps: - checkout - ruby-orbs/bundle-install: bundle_clean: true bundle_extra_args: "" bundle_gemfile: Gemfile bu...
aeb638545d683e6eba72b6b2eeaec216904e71ff
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/.travis.yml branches: only: - production language: python python: 2.7 cache: directories: - $HOME/.cache/pip - $HOME/.cache/lektor/builds install: "pip install Lektor" script: "lektor build" deploy: provider: script script: "lektor deploy ghpages" on: branch: production <|fi...
branches: only: - production language: python python: 2.7 cache: directories: - $HOME/.cache/pip - $HOME/.cache/lektor/builds # http://stackoverflow.com/a/38216821 # install: "pip install Lektor" install: "pip install git+https://github.com/singingwolfboy/lektor.git@fix-ghpages-https-deploy#egg=lektor" sc...
<|file_sep|>original/.travis.yml branches: only: - production language: python python: 2.7 cache: directories: - $HOME/.cache/pip - $HOME/.cache/lektor/builds install: "pip install Lektor" script: "lektor build" deploy: provider: script script: "lektor deploy ghpages" on: branch: production <|fi...
8b9e006e23b0b8e6aaaab0e7ce43b377bf29826e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app.yaml application: travis-canvas-proxy runtime: php55 api_version: 1 threadsafe: yes skip_files: - README.md - config.example.php - user-map.example.php - .gitignore - .editorconfig handlers: - url: /grade.* script: grade.php secure: always <|file_sep|>current/app.yaml appl...
application: travis-canvas-proxy version: 1 runtime: php55 api_version: 1 threadsafe: yes skip_files: - README.md - config.example.php - user-map.example.php - .gitignore - .editorconfig handlers: - url: /grade.* script: grade.php secure: always
<|file_sep|>original/app.yaml application: travis-canvas-proxy runtime: php55 api_version: 1 threadsafe: yes skip_files: - README.md - config.example.php - user-map.example.php - .gitignore - .editorconfig handlers: - url: /grade.* script: grade.php secure: always <|file_sep|>current/app.yaml appl...
6f542d536e181613834fc7f52e87e200f83265e1
app.yaml
app.yaml
YAML
<|file_sep|>test/test_docopt.rb.diff original: updated: require 'pathname' <|file_sep|>test/test_docopt.rb.diff original: def setup $LOAD_PATH << File.dirname(__FILE__) load 'example.rb' end def get_options(argv=[]) begin Docopt($DOC, { :argv => argv }) rescue SystemExit => ex nil ...
require 'test/unit' require 'pathname' class DocoptTest < Test::Unit::TestCase TOPDIR = Pathname.new(__FILE__).dirname.dirname def test_docopt_reference_testcases puts assert system('python', "test/language_agnostic_tester.py", "test/testee.rb", chdir: TOPDIR) end end
<|file_sep|>test/test_docopt.rb.diff original: updated: require 'pathname' <|file_sep|>test/test_docopt.rb.diff original: def setup $LOAD_PATH << File.dirname(__FILE__) load 'example.rb' end def get_options(argv=[]) begin Docopt($DOC, { :argv => argv }) rescue SystemExit => ex nil ...
e3c3979840552fa57fa0945b7d732e9dcf3e9f51
test/test_docopt.rb
test/test_docopt.rb
Ruby
<|file_sep|>eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/RuntimeScopeProvider.java.diff original: updated: import java.util.Collection; import org.eclipse.emf.ecore.EGenericType; import org.eclipse.emf.ecore.EObject; <|file_sep|>eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/Ru...
* This class contains custom scoping description. * * see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on * how and when to use it * */ public class RuntimeScopeProvider extends AbstractDeclarativeScopeProvider { IScope scope_EventAttribute(EventEmissionDeclaration ctx, EReference ref...
<|file_sep|>eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/RuntimeScopeProvider.java.diff original: updated: import java.util.Collection; import org.eclipse.emf.ecore.EGenericType; import org.eclipse.emf.ecore.EObject; <|file_sep|>eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/Ru...
91af2a8639031c9cf0c7bd47ce41c5cda79969f5
eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/RuntimeScopeProvider.java
eu.indenica.config.runtime/src/eu/indenica/config/runtime/scoping/RuntimeScopeProvider.java
Java
<|file_sep|>scalpel/event.py.diff original: updated: <|file_sep|>scalpel/event.py.diff original: updated: URL: http://code.activestate.com/recipes/576477/ Comment: Slightly modified with code from Patrick Chasco (http://code.activestate.com/recipes/439356/) to support connecting functions. <|file...
key = (slot.im_func, id(slot.im_self)) if key in self.__slots: self.__slots.pop(key) else: if slot in self.__funchosts: self.disconnect(self.__funchosts[slot].meth) self.__funchosts.pop(slot) def clear(self): self._...
<|file_sep|>scalpel/event.py.diff original: updated: <|file_sep|>scalpel/event.py.diff original: updated: URL: http://code.activestate.com/recipes/576477/ Comment: Slightly modified with code from Patrick Chasco (http://code.activestate.com/recipes/439356/) to support connecting functions. <|file...
8a71fe98d50f7603742c60273502fb840e967c97
scalpel/event.py
scalpel/event.py
Python
<|file_sep|>app/middlewares/interpret-agent.js.diff original: throw new NotAuthorizedError( 'The `secret` parameter was missing from the request' ); updated: require( './auth' )( req, res, next ); } else { new Agent() .where({ secret: req.body.secret }) .fetch({ requi...
var Agent = require( '../models/agent' ), NotAuthorizedError = require( '../errors/not-authorized' ); module.exports = function( req, res, next ) { if ( 'string' !== typeof req.body.secret ) { require( './auth' )( req, res, next ); } else { new Agent() .where({ secret: req.body....
<|file_sep|>app/middlewares/interpret-agent.js.diff original: throw new NotAuthorizedError( 'The `secret` parameter was missing from the request' ); updated: require( './auth' )( req, res, next ); } else { new Agent() .where({ secret: req.body.secret }) .fetch({ requi...
412c00ad137a9b5c8f6d8af8783cd26f23aa9eec
app/middlewares/interpret-agent.js
app/middlewares/interpret-agent.js
JavaScript
<|file_sep|>original/test/testRunner.ts // Licensed under the MIT License. import * as glob from "glob"; import * as Mocha from "mocha"; import * as path from "path"; export function run(): Promise<void> { // Create the mocha test const mocha = new Mocha({ ui: "tdd", // the TDD UI is being use...
// Licensed under the MIT License. import * as glob from "glob"; import * as Mocha from "mocha"; import * as path from "path"; export function run(): Promise<void> { // Create the mocha test const mocha = new Mocha({ ui: "tdd", // the TDD UI is being used in extension.test.ts (suite, test, etc...
<|file_sep|>original/test/testRunner.ts // Licensed under the MIT License. import * as glob from "glob"; import * as Mocha from "mocha"; import * as path from "path"; export function run(): Promise<void> { // Create the mocha test const mocha = new Mocha({ ui: "tdd", // the TDD UI is being use...
6d222f60cb1be7133bef19386a85e5a31c498be8
test/testRunner.ts
test/testRunner.ts
TypeScript
<|file_sep|>server/README.md.diff original: ## Run the server as a daemon updated: ## Setup ### Install dependencies npm i ### Run dev server npm start ## PM2 ### Run the server as a daemon <|file_sep|>server/README.md.diff original: ## Lists all running pm2-ified node services updated: ### Lists all ...
## PM2 ### Run the server as a daemon pm2 start index.js ### Lists all running pm2-ified node services pm2 list ### Lists info for the service pm2 info <name of index.js> ### Show logs (tail) pm2 logs <name of index.js> ### Nuke the service pm2 delete <name of index.js>
<|file_sep|>server/README.md.diff original: ## Run the server as a daemon updated: ## Setup ### Install dependencies npm i ### Run dev server npm start ## PM2 ### Run the server as a daemon <|file_sep|>server/README.md.diff original: ## Lists all running pm2-ified node services updated: ### Lists all ...
284efc8dcd9eabf0869da1c2f86edc750b590e23
server/README.md
server/README.md
Markdown
<|file_sep|>original/tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt # Fails under Valgrind; see http://crbug.com/36770 URLFetcherBadHTTPSTest.BadHTTPSTest # Fails under Valgrind; see http://crbug.com/44552 RenderViewTest.OnHandleKeyboardEvent # http://crbug.com/88221 ConnectionTesterTest.DeleteWhileInProgress ...
# Fails under Valgrind; see http://crbug.com/36770 URLFetcherBadHTTPSTest.BadHTTPSTest # Fails under Valgrind; see http://crbug.com/44552 RenderViewTest.OnHandleKeyboardEvent # http://crbug.com/88221 ConnectionTesterTest.DeleteWhileInProgress # Fails on CrOS, see http://crbug.com/104030 GViewRequestInterceptorTest.* # ...
<|file_sep|>original/tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt # Fails under Valgrind; see http://crbug.com/36770 URLFetcherBadHTTPSTest.BadHTTPSTest # Fails under Valgrind; see http://crbug.com/44552 RenderViewTest.OnHandleKeyboardEvent # http://crbug.com/88221 ConnectionTesterTest.DeleteWhileInProgress ...
150ede14a56a63eed25a3ee83b8e9c2caa9ee499
tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt
tools/valgrind/gtest_exclude/unit_tests.gtest_linux.txt
Text
<|file_sep|>original/package.json "version": "0.0.0", "description": "Documentation generator tool for node.js libraries", "main": "index.js", "directories": { "test": "test" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "g...
}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git@github.com:lbdremy/tusk.git" }, "keywords": [ "documentation", "generator" ], "author": "Remy Loubradou <remyloubradou@gmail.com>", "license": "MIT", "readmeFilenam...
<|file_sep|>original/package.json "version": "0.0.0", "description": "Documentation generator tool for node.js libraries", "main": "index.js", "directories": { "test": "test" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "g...
32c4aa19f63cd8bcf4f986dece63ecace08d528f
package.json
package.json
JSON
<|file_sep|>original/tests/CMakeLists.txt include_directories(../include) # Set LUA_DIR. find_package(Lua REQUIRED) include_directories(${LUA_INCLUDE_DIR}) set(GMOCK_SRC gmock/gmock-gtest-all.cc gmock/gmock_main.cc) include_directories(gmock) aux_source_directory(. SRC) file(GLOB SRC_H ../include/*.h) # to see *.h ...
include_directories(${LUA_INCLUDE_DIR}) set(GMOCK_SRC gmock/gmock-gtest-all.cc gmock/gmock_main.cc) include_directories(gmock) aux_source_directory(. SRC) file(GLOB SRC_H ../include/*.h) # to see *.h in project tree. add_executable(luax-tests ${GMOCK_SRC} ${SRC} ${SRC_H}) target_link_libraries(luax-tests ${LUA_LIBR...
<|file_sep|>original/tests/CMakeLists.txt include_directories(../include) # Set LUA_DIR. find_package(Lua REQUIRED) include_directories(${LUA_INCLUDE_DIR}) set(GMOCK_SRC gmock/gmock-gtest-all.cc gmock/gmock_main.cc) include_directories(gmock) aux_source_directory(. SRC) file(GLOB SRC_H ../include/*.h) # to see *.h ...
398782d7f6d7f1a869a0f7723bb3574a220b0154
tests/CMakeLists.txt
tests/CMakeLists.txt
Text
<|file_sep|>original/data_bags/dirsrv/default.json { "id": "default", "userdn": "s4rbe5fVCPa9mpnIEyxdFdUKkV7G3M1twWaZW/JNpJs=\n", "password": "r0+JXQb52Q37SBLlYLaiR5gRFZ/tDQ3TI0gExfSJiZw=\n" } <|file_sep|>current/data_bags/dirsrv/default.json { "id": "default", "userdn": "s4rbe5fVCPa9mpnIEyxdFdUKkV7G3M1twWaZW...
{ "id": "default", "userdn": "e1fNxVe+5JNdNfG5zZgqG/zQnN9ig8kSeMUCBGvaO4g=\n", "username": "ZzjkpvN07fosm5CMRa9g2w==\n", "password": "G5QZWCuLXxQuxRUXqV8H7i7xwu955QKQsYSuhBY/FQs=\n" }
<|file_sep|>original/data_bags/dirsrv/default.json { "id": "default", "userdn": "s4rbe5fVCPa9mpnIEyxdFdUKkV7G3M1twWaZW/JNpJs=\n", "password": "r0+JXQb52Q37SBLlYLaiR5gRFZ/tDQ3TI0gExfSJiZw=\n" } <|file_sep|>current/data_bags/dirsrv/default.json { "id": "default", "userdn": "s4rbe5fVCPa9mpnIEyxdFdUKkV7G3M1twWaZW...
478fdcf2be8befd75dd07cd09653d57993836394
data_bags/dirsrv/default.json
data_bags/dirsrv/default.json
JSON
<|file_sep|>examples/podsecuritypolicy/rbac/policies.yaml.diff original: apiVersion: extensions/v1beta1 updated: apiVersion: policy/v1beta1 <|file_sep|>original/examples/podsecuritypolicy/rbac/policies.yaml - '*' allowedCapabilities: - '*' hostPID: true hostIPC: true hostNetwork: true hostPorts: - min: ...
- '*' allowedCapabilities: - '*' hostPID: true hostIPC: true hostNetwork: true hostPorts: - min: 1 max: 65536 --- apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: restricted spec: privileged: false fsGroup: rule: RunAsAny runAsUser: rule: MustRunAsNonRoot seLinux:
<|file_sep|>examples/podsecuritypolicy/rbac/policies.yaml.diff original: apiVersion: extensions/v1beta1 updated: apiVersion: policy/v1beta1 <|file_sep|>original/examples/podsecuritypolicy/rbac/policies.yaml - '*' allowedCapabilities: - '*' hostPID: true hostIPC: true hostNetwork: true hostPorts: - min: ...
64104481c5dc78990f389e4d23702549ab80a3f9
examples/podsecuritypolicy/rbac/policies.yaml
examples/podsecuritypolicy/rbac/policies.yaml
YAML
<|file_sep|>tox.ini.diff original: deps = -rrequirements.txt updated: install_command = pip install -rrequirements.txt --cache-dir={homedir}/.pipcache {opts} {packages} distribute=True sitepackages=False <|file_sep|>original/tox.ini [tox] envlist = py27 [testenv] deps = -rrequirements.txt commands= pep8 furtive no...
[tox] envlist = py27 [testenv] install_command = pip install -rrequirements.txt --cache-dir={homedir}/.pipcache {opts} {packages} distribute=True sitepackages=False commands= pep8 furtive # pylint --rcfile=.pylintrc furtive nosetests --with-coverage --cover-package=furtive -v --with-xunit --xunit-file=test-resul...
<|file_sep|>tox.ini.diff original: deps = -rrequirements.txt updated: install_command = pip install -rrequirements.txt --cache-dir={homedir}/.pipcache {opts} {packages} distribute=True sitepackages=False <|file_sep|>original/tox.ini [tox] envlist = py27 [testenv] deps = -rrequirements.txt commands= pep8 furtive no...
2f31b562a5a399c22ec14991db621ab47f99ee5a
tox.ini
tox.ini
INI