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|>index.js.diff original: child = spawn(args[0], args.slice(1)); updated: var child = spawn(args[0], args.slice(1)); <|file_sep|>original/index.js exports.execute = function execute (flags, argv) { if (!flags) { throw new Error('You must specify flags to respawn with.'); } if (!argv) { argv ...
throw new Error('You must specify flags to respawn with.'); } if (!argv) { argv = process.argv; } var args = reorder(flags, argv); var child = spawn(args[0], args.slice(1)); child.on('exit', function (code, signal) { process.on('exit', function () { if (signal) { process.kill(proce...
<|file_sep|>index.js.diff original: child = spawn(args[0], args.slice(1)); updated: var child = spawn(args[0], args.slice(1)); <|file_sep|>original/index.js exports.execute = function execute (flags, argv) { if (!flags) { throw new Error('You must specify flags to respawn with.'); } if (!argv) { argv ...
0192421957bcaa889b42637a44a25fb1d4f0ce70
index.js
index.js
JavaScript
<|file_sep|>original/DlxLibDemo3/README.md ## Notes * This puzzle consists of 14 different pieces which can form an 8x8 draughtboard pattern when placed correctly. Each piece can be placed on the board with 4 different orientations. Pieces can only be placed on the board such the colour of the small squares matches th...
## Notes * This puzzle consists of 14 different pieces which can form an 8x8 draughtboard pattern when placed correctly. Each piece can be placed on the board with 4 different orientations. Pieces can only be placed on the board such the colour of the small squares matches the board (i.e. white on white and black on b...
<|file_sep|>original/DlxLibDemo3/README.md ## Notes * This puzzle consists of 14 different pieces which can form an 8x8 draughtboard pattern when placed correctly. Each piece can be placed on the board with 4 different orientations. Pieces can only be placed on the board such the colour of the small squares matches th...
cb34b2cf433d436ef1eda25b4db4974c08ac119b
DlxLibDemo3/README.md
DlxLibDemo3/README.md
Markdown
<|file_sep|>original/app/config/config_test.yml csrf_protection: true profiler: enabled: false services: twig.extension.debug: class: Twig_Extensions_Extension_Debug tags: - { name: twig.extension } oro_message_queue.test.message_collector: class: Oro\Bundle...
class: Oro\Bundle\MessageQueueBundle\Test\Functional\MessageCollector decorates: oro_message_queue.client.message_producer arguments: - '@oro_message_queue.test.message_collector.inner' swiftmailer: disable_delivery: true oro_require_js: js_engine: ~ # configure loose defa...
<|file_sep|>original/app/config/config_test.yml csrf_protection: true profiler: enabled: false services: twig.extension.debug: class: Twig_Extensions_Extension_Debug tags: - { name: twig.extension } oro_message_queue.test.message_collector: class: Oro\Bundle...
d2507464e9026be2a4ab04c325b5e3a94254c22f
app/config/config_test.yml
app/config/config_test.yml
YAML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4.1" script: - make dist - make deploy <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4.1" script: - make dist - make deploy <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - "4.1" script: - make dist
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4.1" script: - make dist - make deploy <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4.1" script: - make dist - make deploy <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - "4.1" script: - make...
522ffda4b2bd823d253d242a0581a16eeec08242
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: 5 - nodejs_version: 4 - nodejs_version: 0.12 version: "{build}" build: off deploy: off cache: [node_modules] install: - ps: Install-Product node $env:nodejs_version - npm install te...
# http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: 5 - nodejs_version: 4 - nodejs_version: 0.12 version: "{build}" build: off deploy: off install: - ps: Install-Product node $env:nodejs_version - npm install test_script: - node --version - npm --version - cmd:...
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: 5 - nodejs_version: 4 - nodejs_version: 0.12 version: "{build}" build: off deploy: off cache: [node_modules] install: - ps: Install-Product node $env:nodejs_version - npm install te...
e0b259962779270177764e7d0bd00b15fb5947f1
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/gulpfile.js /* gulpfile.js =========== Each task has been broken out into its own file in build/tasks. Any file in that folder gets automatically required by the loop in ./gulp/index.js (required below). To add a new task, simply add a new task file to ./build/tasks. */ var gulp = requi...
=========== Each task has been broken out into its own file in build/tasks. Any file in that folder gets automatically required by the loop in ./gulp/index.js (required below). To add a new task, simply add a new task file to ./build/tasks. */ var gulp = require('gulp'), config = require('./gulp/config');...
<|file_sep|>original/gulpfile.js /* gulpfile.js =========== Each task has been broken out into its own file in build/tasks. Any file in that folder gets automatically required by the loop in ./gulp/index.js (required below). To add a new task, simply add a new task file to ./build/tasks. */ var gulp = requi...
9a3388d832b734b532f716e34336dc43b8a13edd
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/lib/mutant/mutator/node/named_value/variable_assignment.rb emit_value_mutations if value # mlhs! end # Emit name mutations # # @return [undefined] # # @api private # def mutate_name prefix = MAP...
emit_value_mutations if value # mlhs! end # Emit name mutations # # @return [undefined] # # @api private # def mutate_name prefix = MAP.fetch(node.type) Mutator::Util::Symbol.each(name, self) do |name| ...
<|file_sep|>original/lib/mutant/mutator/node/named_value/variable_assignment.rb emit_value_mutations if value # mlhs! end # Emit name mutations # # @return [undefined] # # @api private # def mutate_name prefix = MAP...
e15fd87a936cc2c5023c242c53f47d1300a2a09a
lib/mutant/mutator/node/named_value/variable_assignment.rb
lib/mutant/mutator/node/named_value/variable_assignment.rb
Ruby
<|file_sep|>src/app/components/core/header/index.html.diff original: updated: <!-- Note - this updated image url assumes this application is bundled on the same server as MPE2020 as it actually loads that image. --> <|file_sep|>original/src/app/components/core/header/index.html <header> <div class="con...
<header> <div class="container"> <a href="http://www2.gov.bc.ca/" tabindex="-1"> <!-- Note - this updated image url assumes this application is bundled on the same server as MPE2020 as it actually loads that image. --> <img class="header-logo" tabindex="-1" alt="B.C. Gover...
<|file_sep|>src/app/components/core/header/index.html.diff original: updated: <!-- Note - this updated image url assumes this application is bundled on the same server as MPE2020 as it actually loads that image. --> <|file_sep|>original/src/app/components/core/header/index.html <header> <div class="con...
ff04b6231bb09a4ca98af3230dc28468981a0100
src/app/components/core/header/index.html
src/app/components/core/header/index.html
HTML
<|file_sep|>knights/k_tags.py.diff original: return ast.YieldFrom( updated: return ast.Expr(value=ast.YieldFrom( <|file_sep|>knights/k_tags.py.diff original: ) updated: )) <|file_sep|>knights/k_tags.py.diff original: return ast.IfExp(test=code.body, body=nodelist) updated: return ast.If(test=cod...
), args=[ ast.Name(id='context', ctx=ast.Load()), ], keywords=[], starargs=None, kwargs=None ) )) @register.tag(name='if') def do_if(parser, token): code = ast.parse(token, mode='eval') nodelist = list(parser.parse_node(['endif'])) ...
<|file_sep|>knights/k_tags.py.diff original: return ast.YieldFrom( updated: return ast.Expr(value=ast.YieldFrom( <|file_sep|>knights/k_tags.py.diff original: ) updated: )) <|file_sep|>knights/k_tags.py.diff original: return ast.IfExp(test=code.body, body=nodelist) updated: return ast.If(test=cod...
8ffe293135c6ee80f185b6f6a8d6e9f096adc91c
knights/k_tags.py
knights/k_tags.py
Python
<|file_sep|>original/src/main/java/startUI.java try { startUI(); } catch (ClassNotFoundException | UnsupportedLookAndFeelException | IllegalAccessException | InstantiationException | SQLException e) { System.out.println("An error occured, oh shit."); } } // Start ...
try { startUI(); } catch (ClassNotFoundException | UnsupportedLookAndFeelException | IllegalAccessException | InstantiationException | SQLException e) { System.out.println("An error occured, oh shit."); } } // Start up everything public static void startUI() t...
<|file_sep|>original/src/main/java/startUI.java try { startUI(); } catch (ClassNotFoundException | UnsupportedLookAndFeelException | IllegalAccessException | InstantiationException | SQLException e) { System.out.println("An error occured, oh shit."); } } // Start ...
5010d90bdb3700a541256ecf864bdead2d73ba3c
src/main/java/startUI.java
src/main/java/startUI.java
Java
<|file_sep|>original/.test-infra/jenkins/job_PreCommit_Java_PortabilityApi.groovy * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under t...
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import PrecommitJobBuilder PrecommitJobBuilder builder = new Pre...
<|file_sep|>original/.test-infra/jenkins/job_PreCommit_Java_PortabilityApi.groovy * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under t...
d280e7eb411a6f50f2dd9a3f7abc7f8272e3bcd5
.test-infra/jenkins/job_PreCommit_Java_PortabilityApi.groovy
.test-infra/jenkins/job_PreCommit_Java_PortabilityApi.groovy
Groovy
<|file_sep|>config/library/exist.xml.diff original: <class>org.exist.mongodb.MongodbModule</class> updated: <class>org.exist.mongodb.xquery.MongodbModule</class> <|file_sep|>original/config/library/exist.xml <?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://exist-db.org/ns/expath-pkg"> <...
<?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://exist-db.org/ns/expath-pkg"> <jar>exist-mongrel-@VERSION@.jar</jar> <jar>mongo-java-driver-2.13.0.jar</jar> <java> <namespace>http://exist-db.org/xquery/mongodb</namespace> <class>org.exist.mongodb.xquery.MongodbModule</class> ...
<|file_sep|>config/library/exist.xml.diff original: <class>org.exist.mongodb.MongodbModule</class> updated: <class>org.exist.mongodb.xquery.MongodbModule</class> <|file_sep|>original/config/library/exist.xml <?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://exist-db.org/ns/expath-pkg"> <...
a387ad00eee0ef05393f7a87af706bfc36aca913
config/library/exist.xml
config/library/exist.xml
XML
<|file_sep|>original/travis.sh export TERM=dumb if [ "${TRAVIS_BRANCH}" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Running Gradle check with SonarQube analysis' ./gradlew clean check sonarqube \ -Dsonar.host.url=https://sonarqube.ajoberstar.com \ -Dsonar.login=$SONARQUBE_TOKEN elif [ "$T...
export TERM=dumb if [ "${TRAVIS_BRANCH}" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Running Gradle check with SonarQube analysis' ./gradlew clean check sonarqube \ -Dsonar.host.url=https://sonarqube.ajoberstar.com \ -Dsonar.login=$SONARQUBE_TOKEN elif [ "$TRAVIS_PULL_REQUEST" != "false" ...
<|file_sep|>original/travis.sh export TERM=dumb if [ "${TRAVIS_BRANCH}" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo 'Running Gradle check with SonarQube analysis' ./gradlew clean check sonarqube \ -Dsonar.host.url=https://sonarqube.ajoberstar.com \ -Dsonar.login=$SONARQUBE_TOKEN elif [ "$T...
9a8f016846e249372c2da7ce010e05fb6701c7aa
travis.sh
travis.sh
Shell
<|file_sep|>original/.travis.yml - "3.3" - "3.4" before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b - export PATH=/home/travis/miniconda/bin:$PATH - conda update --yes conda - sudo rm -rf /dev/shm - sud...
- "3.3" - "3.4" before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b - export PATH=/home/travis/miniconda/bin:$PATH - conda update --yes conda - sudo rm -rf /dev/shm - sudo ln -s /run/shm /dev/shm - sud...
<|file_sep|>original/.travis.yml - "3.3" - "3.4" before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b - export PATH=/home/travis/miniconda/bin:$PATH - conda update --yes conda - sudo rm -rf /dev/shm - sud...
a24a5daec3be0f00e59afc9d6b31b304fd0c7ac6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/logging.js const fs = require('fs'); const winston = require('winston'); const {createLogger, format, transports} = winston; const logger = createLogger({ level: process.env.LOG_LEVEL || 'debug', format: format.combine( format.timestamp(), format.simple(), ), transports: [ ...
const fs = require('fs'); const winston = require('winston'); const {createLogger, format, transports} = winston; const logger = createLogger({ level: process.env.LOG_LEVEL || 'info', format: format.combine( format.timestamp(), format.simple(), ), transports: [ new transports.Console({ fo...
<|file_sep|>original/lib/logging.js const fs = require('fs'); const winston = require('winston'); const {createLogger, format, transports} = winston; const logger = createLogger({ level: process.env.LOG_LEVEL || 'debug', format: format.combine( format.timestamp(), format.simple(), ), transports: [ ...
e48aa23dd9fac26d9ffd12b96f90762da5fa7c2c
lib/logging.js
lib/logging.js
JavaScript
<|file_sep|>original/.travis.yml # .travis.yml for r-travis. # # If you're looking to use r-travis with your project, DO NOT USE THIS # FILE -- use `sample.travis.yml` instead. language: c script: ./travis-tool.sh run_tests notifications: email: on_success: change on_failure: change before_script: - cp scr...
# .travis.yml for r-travis. # # If you're looking to use r-travis with your project, DO NOT USE THIS # FILE -- use `sample.travis.yml` instead. language: c script: ./travis-tool.sh run_tests notifications: email: on_success: change on_failure: change before_script: - cp scripts/travis-tool.sh fakepackage ...
<|file_sep|>original/.travis.yml # .travis.yml for r-travis. # # If you're looking to use r-travis with your project, DO NOT USE THIS # FILE -- use `sample.travis.yml` instead. language: c script: ./travis-tool.sh run_tests notifications: email: on_success: change on_failure: change before_script: - cp scr...
6a2a0d7065ae9c08750331a642b6119612fc958b
.travis.yml
.travis.yml
YAML
<|file_sep|>examples/delete_old_files.py.diff original: print 'Selecting files to be deleted...' updated: print('Selecting files to be deleted...') <|file_sep|>examples/delete_old_files.py.diff original: print 'Batch delete of selected files' updated: print('Batch delete of selected files') <|file_sep|>...
MAX_LIFETIME = 30 # days conf.pub_key = 'demopublickey' conf.secret = 'demoprivatekey' dt_cutoff = datetime.now(pytz.utc) - timedelta(days=MAX_LIFETIME) if __name__ == '__main__': print('Selecting files to be deleted...') uuid_list = [f.uuid for f in FileList(starting_point=dt_cutoff, ...
<|file_sep|>examples/delete_old_files.py.diff original: print 'Selecting files to be deleted...' updated: print('Selecting files to be deleted...') <|file_sep|>examples/delete_old_files.py.diff original: print 'Batch delete of selected files' updated: print('Batch delete of selected files') <|file_sep|>...
0d9542011b78dca40f0c4c18a932a06d5305f6ef
examples/delete_old_files.py
examples/delete_old_files.py
Python
<|file_sep|>src/main/java/tornadofx/Properties.kt.diff original: class PropertyDelegate<T>(private val fxProperty: Property<T>) : ReadWriteProperty<Any?, T> { updated: class PropertyDelegate<T>(private val fxProperty: Property<T>) : ReadWriteProperty<Any?, T?> { <|file_sep|>src/main/java/tornadofx/Properties.kt.diff or...
package tornadofx import javafx.beans.property.Property import javafx.beans.property.SimpleObjectProperty import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty fun <T> property(value: T? = null) = PropertyDelegate(SimpleObjectProperty<T>(value)) fun <T> property(block: () -> Property<T>) = Proper...
<|file_sep|>src/main/java/tornadofx/Properties.kt.diff original: class PropertyDelegate<T>(private val fxProperty: Property<T>) : ReadWriteProperty<Any?, T> { updated: class PropertyDelegate<T>(private val fxProperty: Property<T>) : ReadWriteProperty<Any?, T?> { <|file_sep|>src/main/java/tornadofx/Properties.kt.diff or...
ac203d8371fbe6c5b3832b1218039a73055e219c
src/main/java/tornadofx/Properties.kt
src/main/java/tornadofx/Properties.kt
Kotlin
<|file_sep|>original/lib/better_logs/action_controller/log_subscriber.rb class ::BetterLogs::ActionController::LogSubscriber < ActiveSupport::LogSubscriber attr_reader :formatter, :logger def initialize(formatter: ::BetterLogs::Formatters::KeyValueFormatter.new, logger: ::Rails.logger) @formatter = formatter ...
class ::BetterLogs::ActionController::LogSubscriber < ActiveSupport::LogSubscriber attr_reader :formatter, :logger def initialize(formatter = ::BetterLogs::Formatters::KeyValueFormatter.new, logger = ::Rails.logger) @formatter = formatter @logger = logger end def process_action(...
<|file_sep|>original/lib/better_logs/action_controller/log_subscriber.rb class ::BetterLogs::ActionController::LogSubscriber < ActiveSupport::LogSubscriber attr_reader :formatter, :logger def initialize(formatter: ::BetterLogs::Formatters::KeyValueFormatter.new, logger: ::Rails.logger) @formatter = formatter ...
4ea0dd1d399dce2b2c171c18289d8b3008b76608
lib/better_logs/action_controller/log_subscriber.rb
lib/better_logs/action_controller/log_subscriber.rb
Ruby
<|file_sep|>original/appveyor.yml os: Visual Studio 2015 before_build: - nuget restore src\Renci.SshNet.VS2015.sln build: project: build\build.proj verbosity: minimal test: assemblies: src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll categories: except: - integration - LongRunning <|file...
os: Visual Studio 2015 before_build: - nuget restore src\Renci.SshNet.VS2015.sln build: project: src\Renci.SshNet.VS2015.sln verbosity: minimal test: assemblies: src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll categories: except: - integration - LongRunning
<|file_sep|>original/appveyor.yml os: Visual Studio 2015 before_build: - nuget restore src\Renci.SshNet.VS2015.sln build: project: build\build.proj verbosity: minimal test: assemblies: src\Renci.SshNet.Tests\bin\Debug\Renci.SshNet.Tests.dll categories: except: - integration - LongRunning <|file...
009fbc39eb9da65c8472b5a558d31bf22c787a74
appveyor.yml
appveyor.yml
YAML
<|file_sep|>app/main/services/process_request_json.py.diff original: updated: FILTER_FIELDS_SET = set(FILTER_FIELDS) TEXT_FIELDS_SET = set(TEXT_FIELDS) <|file_sep|>app/main/services/process_request_json.py.diff original: def process_values_for_matching(request_json, key): values = request_json[key] updated: <|fil...
def process_values_for_matching(values): if isinstance(values, list): return [strip_and_lowercase(value) for value in values] elif isinstance(values, six.string_types): return strip_and_lowercase(values) return values def convert_request_json_into_index_json(request_json): index_json ...
<|file_sep|>app/main/services/process_request_json.py.diff original: updated: FILTER_FIELDS_SET = set(FILTER_FIELDS) TEXT_FIELDS_SET = set(TEXT_FIELDS) <|file_sep|>app/main/services/process_request_json.py.diff original: def process_values_for_matching(request_json, key): values = request_json[key] updated: <|fil...
7daed119551dfc259a0eda0224ac2a6b701c5c14
app/main/services/process_request_json.py
app/main/services/process_request_json.py
Python
<|file_sep|>original/.github/workflows/main.yml branches: [ master ] jobs: build-windows-vs2019: name: Windows VS2019 Debug runs-on: [windows-latest] steps: - name: Checkout uses: actions/checkout@v2 with: submodules: recursive - name: Add msbuild to PATH uses: mic...
branches: [ master ] jobs: build-windows-vs2019: name: Windows VS2019 Debug runs-on: [windows-latest] steps: - name: Checkout uses: actions/checkout@v2 with: submodules: recursive - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v1.0.1 - name: Build ...
<|file_sep|>original/.github/workflows/main.yml branches: [ master ] jobs: build-windows-vs2019: name: Windows VS2019 Debug runs-on: [windows-latest] steps: - name: Checkout uses: actions/checkout@v2 with: submodules: recursive - name: Add msbuild to PATH uses: mic...
8e67b682452640fa7f6dbe968de06b4813b02bd8
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>README.md.diff original: - [ ] Add all basic modules to article and correspongin CSS updated: - [ ] Add all basic modules to article and corresponding CSS <|file_sep|>original/README.md - [ ] Add color input component - [ ] Add all basic modules to article and correspongin CSS ### 0.4 - [ ] Add save featur...
- [ ] Add color input component - [ ] Add all basic modules to article and corresponding CSS ### 0.4 - [ ] Add save feature to toolbar settings - [ ] Create production build process ### 0.5 - [ ] Redesign and refactor input font ... ### 1.0 - [ ] Add app loading screen - [ ] Fine-tune before launch ## Configuratio...
<|file_sep|>README.md.diff original: - [ ] Add all basic modules to article and correspongin CSS updated: - [ ] Add all basic modules to article and corresponding CSS <|file_sep|>original/README.md - [ ] Add color input component - [ ] Add all basic modules to article and correspongin CSS ### 0.4 - [ ] Add save featur...
c1c456874f700d270864aba05fb57463e507893e
README.md
README.md
Markdown
<|file_sep|>lib/filepicker/rails/configuration.rb.diff original: attr_writer :api_key updated: attr_writer :api_key, :secret_key <|file_sep|>original/lib/filepicker/rails/configuration.rb module Filepicker module Rails class Configuration attr_writer :api_key def api_key @api_key o...
module Filepicker module Rails class Configuration attr_writer :api_key, :secret_key def api_key @api_key or raise "Set config.filepicker_rails.api_key" end def secret_key @secret_key end end end end
<|file_sep|>lib/filepicker/rails/configuration.rb.diff original: attr_writer :api_key updated: attr_writer :api_key, :secret_key <|file_sep|>original/lib/filepicker/rails/configuration.rb module Filepicker module Rails class Configuration attr_writer :api_key def api_key @api_key o...
2ea7725eed0a804f0e52772acd04b02e2feb054b
lib/filepicker/rails/configuration.rb
lib/filepicker/rails/configuration.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install -e .[test] script: - flake8 . - py.test tests <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install -e .[test] script: - fl...
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install -e .[test] script: - flake8 -v . - py.test tests
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install -e .[test] script: - flake8 . - py.test tests <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" - "3.5" install: - pip install -e .[test] script: - fl...
d72e15f3a6b8ebe958ec8cfd47f02d2b8cd9b97b
.travis.yml
.travis.yml
YAML
<|file_sep|>doc/topics/installation/debian.rst.diff original: updated: <|file_sep|>doc/topics/installation/debian.rst.diff original: To install Salt on Wheezy or later use: updated: If you're running a Debian release more recent than Wheezy use: <|file_sep|>doc/topics/installation/debian.rst.diff original: updated: ...
======= To build your own salt Debian packages on squeeze use: .. code-block:: bash cat <<EOF | sudo tee /etc/apt/sources.list.d/backports.list deb http://backports.debian.org/debian-backports squeeze-backports main EOF apt-get update apt-get install build-essential fakeroot apt-get install p...
<|file_sep|>doc/topics/installation/debian.rst.diff original: updated: <|file_sep|>doc/topics/installation/debian.rst.diff original: To install Salt on Wheezy or later use: updated: If you're running a Debian release more recent than Wheezy use: <|file_sep|>doc/topics/installation/debian.rst.diff original: updated: ...
947d40adf28d404fafbbb83243e75dd4cf4c72e0
doc/topics/installation/debian.rst
doc/topics/installation/debian.rst
reStructuredText
<|file_sep|>original/test/kernel/integration/paging/vm.json { "description" : "Page protection test", "mem" : 3500 } <|file_sep|>current/test/kernel/integration/paging/vm.json { "description" : "Page protection test", "mem" : 3500 } <|file_sep|>updated/test/kernel/integration/paging/vm.json
{ "description" : "Page protection test", "mem" : 3584, "time_sensitive": "True" }
<|file_sep|>original/test/kernel/integration/paging/vm.json { "description" : "Page protection test", "mem" : 3500 } <|file_sep|>current/test/kernel/integration/paging/vm.json { "description" : "Page protection test", "mem" : 3500 } <|file_sep|>updated/test/kernel/integration/paging/vm.json { "description" : ...
983184f3d772b73d4dd3d15240a9b258f6c39aee
test/kernel/integration/paging/vm.json
test/kernel/integration/paging/vm.json
JSON
<|file_sep|>original/src/index.js Array.prototype.forEach.call(document.querySelectorAll('.post-item'), elm => new Parallax(elm, 50)); /** * Enable share buttons for the post detail page */ if (document.querySelector('.post-detail-wrapper .post-share')) { new Share(document.querySelector('.post-detail-wrapper .pos...
Array.prototype.forEach.call(document.querySelectorAll('.post-item'), elm => new Parallax(elm, 50)); /** * Enable share buttons for the post detail page */ if (document.querySelector('.post-detail-wrapper .post-share')) { new Share(document.querySelector('.post-detail-wrapper .post-share')).render(); } /** * Set...
<|file_sep|>original/src/index.js Array.prototype.forEach.call(document.querySelectorAll('.post-item'), elm => new Parallax(elm, 50)); /** * Enable share buttons for the post detail page */ if (document.querySelector('.post-detail-wrapper .post-share')) { new Share(document.querySelector('.post-detail-wrapper .pos...
e3e08a1832f13fc50b885fd257177e6d90573c71
src/index.js
src/index.js
JavaScript
<|file_sep|>lib/munge/system.rb.diff original: updated: def item_factory @item_factory ||= ItemFactory.new( text_extensions: @config[:items_text_extensions], ignore_extensions: @config[:items_ignore_extensions] ) end <|file_sep|>lib/munge/system.rb.diff original: ...
) end def layouts return @layouts if @layouts layouts_path = File.expand_path(@config[:layouts_path], @root_path) @layouts ||= Collection.new( item_factory: item_factory, items: Readers::Filesystem.new(layouts_path) ) end def processor ...
<|file_sep|>lib/munge/system.rb.diff original: updated: def item_factory @item_factory ||= ItemFactory.new( text_extensions: @config[:items_text_extensions], ignore_extensions: @config[:items_ignore_extensions] ) end <|file_sep|>lib/munge/system.rb.diff original: ...
15b565b9d6ae2542132b1e94f7b1d75d7088c590
lib/munge/system.rb
lib/munge/system.rb
Ruby
<|file_sep|>.travis.yml.diff original: - php vendor/bin/phpunit --coverage-clover=./storage/logs/coverage.xml updated: - php vendor/bin/phpunit --coverage-clover=coverage.xml <|file_sep|>original/.travis.yml - $HOME/.composer/cache before_install: - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create data...
before_install: - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database plus;' -U postgres; echo "$DB"; fi" - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS plus;'; echo "$DB"; fi" - sh -c "php ./.travis.php "$DB"" - php -r "file_exists('.env') || copy('.env.travis', '.en...
<|file_sep|>.travis.yml.diff original: - php vendor/bin/phpunit --coverage-clover=./storage/logs/coverage.xml updated: - php vendor/bin/phpunit --coverage-clover=coverage.xml <|file_sep|>original/.travis.yml - $HOME/.composer/cache before_install: - sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create data...
7f5100c95ae788dd7186a92cc69bd32cb3bfd4ed
.travis.yml
.travis.yml
YAML
<|file_sep|>Local_network/local_network.sh.diff original: # Scan the local network for active IP addresses updated: # Scan the local network for active IP addresses. <|file_sep|>Local_network/local_network.sh.diff original: declare -a IPs=($(sudo arp-scan --localnet --numeric --quiet --ignoredups | grep -E '([a-f0-9]...
# ----------------------------------------------------------------------------- # Script: # Check if nmap is available nmap_check(){ hash nmap 2>/dev/null || { echo >&2 "This script requires nmap to run correctly. "; \ exit 1; } } # Returns the current machine ip address # @returns IP my_ip(){ local myip my...
<|file_sep|>Local_network/local_network.sh.diff original: # Scan the local network for active IP addresses updated: # Scan the local network for active IP addresses. <|file_sep|>Local_network/local_network.sh.diff original: declare -a IPs=($(sudo arp-scan --localnet --numeric --quiet --ignoredups | grep -E '([a-f0-9]...
ebc2c866e08b14bf1e153ec227015cdf25ed50e3
Local_network/local_network.sh
Local_network/local_network.sh
Shell
<|file_sep|>relay_api/api/backend.py.diff original: updated: import copy <|file_sep|>relay_api/api/backend.py.diff original: relay_dict = dict.copy(relays["relay_name"]) updated: relay_dict = copy.deepcopy(relays[relay_name]) <|file_sep|>original/relay_api/api/backend.py def get_all_relays(): relay...
def get_all_relays(): relays_dict = __get_relay_dict() return json.dumps(relays_dict, indent=4) def get_relay(relay_name): if relay_name not in relays: return None relay_dict = __get_relay_dict(relay_name) return json.dumps(relay_dict, indent=4) def __get_relay_dict(relay_name=None): ...
<|file_sep|>relay_api/api/backend.py.diff original: updated: import copy <|file_sep|>relay_api/api/backend.py.diff original: relay_dict = dict.copy(relays["relay_name"]) updated: relay_dict = copy.deepcopy(relays[relay_name]) <|file_sep|>original/relay_api/api/backend.py def get_all_relays(): relay...
5f5be04adc9e17aa497022ed3b19371075c63d85
relay_api/api/backend.py
relay_api/api/backend.py
Python
<|file_sep|>original/locales/zh-CN/addon.properties tooltip_play= 播放 tooltip_pause= 暂停 tooltip_mute= 静音 tooltip_unmute= 取消静音 tooltip_send_to_tab= 变成标签页 tooltip_minimize= 最小化 tooltip_maximize= 最大化 tooltip_close= 关闭 tooltip_switch_visual= 点击切换可视化 media_type_audio= 音频 media_type_video= 视频 error_msg= 显示此视频时遇到问题。请稍候再试。 erro...
tooltip_play= 播放 tooltip_pause= 暂停 tooltip_mute= 静音 tooltip_unmute= 取消静音 tooltip_send_to_tab= 变成标签页 tooltip_minimize= 最小化 tooltip_maximize= 最大化 tooltip_close= 关闭 tooltip_switch_visual= 点击切换可视化 media_type_audio= 音频 media_type_video= 视频 error_msg= 显示此视频时遇到问题。请稍候再试。 error_link= 在新标签页中打开 # LOCALIZATION NOTE: 1st placeholde...
<|file_sep|>original/locales/zh-CN/addon.properties tooltip_play= 播放 tooltip_pause= 暂停 tooltip_mute= 静音 tooltip_unmute= 取消静音 tooltip_send_to_tab= 变成标签页 tooltip_minimize= 最小化 tooltip_maximize= 最大化 tooltip_close= 关闭 tooltip_switch_visual= 点击切换可视化 media_type_audio= 音频 media_type_video= 视频 error_msg= 显示此视频时遇到问题。请稍候再试。 erro...
a10a1942171716cad6f81d79c7802f82c6856fc0
locales/zh-CN/addon.properties
locales/zh-CN/addon.properties
INI
<|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: import java.io.File; <|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: import tars.commons.util.FileUtil; <|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: impor...
} @Test public void execute_cd_invalidFileTypeErrorMessageShown() throws Exception { assertCommandBehavior("cd invalidFileType", CdCommand.MESSAGE_INVALID_FILEPATH); } @Test public void execute_cd_new_file_success() throws Exception { String tempTestTarsFilePath = saveFolder.getRoot().getPath() + ...
<|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: import java.io.File; <|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: import tars.commons.util.FileUtil; <|file_sep|>src/test/java/tars/logic/CdLogicCommandTest.java.diff original: updated: impor...
d918e02763ac92807d14dfd865fdc4ba63471d8c
src/test/java/tars/logic/CdLogicCommandTest.java
src/test/java/tars/logic/CdLogicCommandTest.java
Java
<|file_sep|>original/.settings/launch.json <|file_sep|>current/.settings/launch.json <|file_sep|>updated/.settings/launch.json
{ "version": "0.1.0", // List of configurations. Add new configurations or edit existing ones. // ONLY "node" and "mono" are supported, change "type" to switch. "configurations": [ { // Name of configuration; appears in the launch configuration drop down menu. "name": "Launch koa.js", // Type of config...
<|file_sep|>original/.settings/launch.json <|file_sep|>current/.settings/launch.json <|file_sep|>updated/.settings/launch.json { "version": "0.1.0", // List of configurations. Add new configurations or edit existing ones. // ONLY "node" and "mono" are supported, change "type" to switch. "configurations": [ { ...
6e9ea4ba43b9517d7b4d6ca52adb354ac2800632
.settings/launch.json
.settings/launch.json
JSON
<|file_sep|>original/circle.yml # dependencies: # post: # - cd node_modules/uikit && npm run compile test: override: - node_modules/.bin/jasmine <|file_sep|>current/circle.yml # dependencies: # post: # - cd node_modules/uikit && npm run compile test: override: - node_modules/.bin/jasmine <|fil...
# dependencies: # post: # - cd node_modules/uikit && npm run compile
<|file_sep|>original/circle.yml # dependencies: # post: # - cd node_modules/uikit && npm run compile test: override: - node_modules/.bin/jasmine <|file_sep|>current/circle.yml # dependencies: # post: # - cd node_modules/uikit && npm run compile test: override: - node_modules/.bin/jasmine <|fil...
752f1edf452c7dfb8c45743b3078b76839845d52
circle.yml
circle.yml
YAML
<|file_sep|>original/CHANGELOG.rst Changelog ========= 2018-02-27 ---------- Changed ~~~~~~~ * Pin DB's to specific, tested versions. 2017-10-23 ---------- Changed ~~~~~~~ * Rename ``/entrypoint.d/`` to ``/st2-docker/entrypoint.d/``. <|file_sep|>current/CHANGELOG.rst Changelog ========= 2018-02-27 ---------- Ch...
Changelog ========= 2018-06-18 ---------- Changed ~~~~~~~ * The TAG environment variable is replaced by ST2_IMAGE_TAG. 2018-02-27 ---------- Changed ~~~~~~~ * Pin DB's to specific, tested versions. 2017-10-23 ----------
<|file_sep|>original/CHANGELOG.rst Changelog ========= 2018-02-27 ---------- Changed ~~~~~~~ * Pin DB's to specific, tested versions. 2017-10-23 ---------- Changed ~~~~~~~ * Rename ``/entrypoint.d/`` to ``/st2-docker/entrypoint.d/``. <|file_sep|>current/CHANGELOG.rst Changelog ========= 2018-02-27 ---------- Ch...
530bd6771cf775dc25b06abc2435d66d205eac8b
CHANGELOG.rst
CHANGELOG.rst
reStructuredText
<|file_sep|>original/examples/submit_every.rb <|file_sep|>current/examples/submit_every.rb <|file_sep|>updated/examples/submit_every.rb
# send a set of metrics every 60 seconds require 'librato/metrics' Librato::Metrics.authenticate 'my email', 'my api key' queue = Librato::Metrics::Queue.new def sleep_until(time) secs = time - Time.now puts "sleeping for #{secs}" sleep secs end loop do start = Time.now queue.add 'my.metric' => 1234 # ...
<|file_sep|>original/examples/submit_every.rb <|file_sep|>current/examples/submit_every.rb <|file_sep|>updated/examples/submit_every.rb # send a set of metrics every 60 seconds require 'librato/metrics' Librato::Metrics.authenticate 'my email', 'my api key' queue = Librato::Metrics::Queue.new def sleep_until(time)...
ab0ad305e6b150ec9e3858118e6d3fb1d21fe8c4
examples/submit_every.rb
examples/submit_every.rb
Ruby
<|file_sep|>original/bin/requirements.txt certifi==2021.10.8 chardet==4.0.0 coverage==6.0.2 google-api-core==2.1.1 google-api-python-client==2.27.0 google-auth==1.35.0 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.1 idna==2.10 oauth2client==4.1.3 oauthlib==3.1.1...
certifi==2021.10.8 chardet==4.0.0 coverage==6.0.2 google-api-core==2.1.1 google-api-python-client==2.27.0 google-auth==1.35.0 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.1 idna==3.3 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.0 protobuf==3.19.0 pyasn1==0...
<|file_sep|>original/bin/requirements.txt certifi==2021.10.8 chardet==4.0.0 coverage==6.0.2 google-api-core==2.1.1 google-api-python-client==2.27.0 google-auth==1.35.0 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.1 idna==2.10 oauth2client==4.1.3 oauthlib==3.1.1...
bf057608555773ebb8ea483a621373a64e6e6eb6
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>original/filepreviews.gemspec spec.email = ['jonah@pixelhipsters.com'] spec.description = %q(FilePreviews.io Ruby library and CLI application.) spec.summary = %q(FilePreviews.io Ruby library and CLI for the service) spec.homepage = 'https://github.com/jonahoffline/filepreviews-r...
spec.email = ['jonah@pixelhipsters.com'] spec.description = %q(FilePreviews.io Ruby library and CLI application.) spec.summary = %q(FilePreviews.io Ruby library and CLI for the service) spec.homepage = 'https://github.com/jonahoffline/filepreviews-ruby' spec.license = 'MIT' spec.m...
<|file_sep|>original/filepreviews.gemspec spec.email = ['jonah@pixelhipsters.com'] spec.description = %q(FilePreviews.io Ruby library and CLI application.) spec.summary = %q(FilePreviews.io Ruby library and CLI for the service) spec.homepage = 'https://github.com/jonahoffline/filepreviews-r...
0a70d7996fc0491851671267f5c37c19f138710d
filepreviews.gemspec
filepreviews.gemspec
Ruby
<|file_sep|>original/Sources/BartyCrouch/main.swift // Created by Cihat Gündüz on 10.02.16. import BartyCrouchKit import Foundation import SwiftCLI // MARK: - CLI let cli = CLI( name: "bartycrouch", version: "4.0.0", description: "Incrementally update & translate your Strings files from code or interface...
// Created by Cihat Gündüz on 10.02.16. import BartyCrouchKit import Foundation import SwiftCLI // MARK: - CLI let cli = CLI( name: "bartycrouch", version: "4.0.0", description: "Incrementally update & translate your Strings files from code or interface files." ) cli.commands = [InitCommand(), UpdateCom...
<|file_sep|>original/Sources/BartyCrouch/main.swift // Created by Cihat Gündüz on 10.02.16. import BartyCrouchKit import Foundation import SwiftCLI // MARK: - CLI let cli = CLI( name: "bartycrouch", version: "4.0.0", description: "Incrementally update & translate your Strings files from code or interface...
8c5512501c333079a056f8def7716de7fe043c84
Sources/BartyCrouch/main.swift
Sources/BartyCrouch/main.swift
Swift
<|file_sep|>original/app/helpers.rb module Shrtr module Helpers def upcase(str) str.upcase end end end <|file_sep|>current/app/helpers.rb module Shrtr module Helpers def upcase(str) str.upcase end end end <|file_sep|>updated/app/helpers.rb
module Shrtr module Helpers SIXTYTWO = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.freeze def to_s_62(i) return SIXTYTWO[i] if i < 62 s = '' while i > 0 s << SIXTYTWO[i.modulo(62)] i /= 62 end s.reverse end end end
<|file_sep|>original/app/helpers.rb module Shrtr module Helpers def upcase(str) str.upcase end end end <|file_sep|>current/app/helpers.rb module Shrtr module Helpers def upcase(str) str.upcase end end end <|file_sep|>updated/app/helpers.rb module Shrtr module Helpers ...
274aab2bb541f4dea3baf4c7407911ca3e068673
app/helpers.rb
app/helpers.rb
Ruby
<|file_sep|>original/views/examples/inheritance/base_level.html <html> <head><title>{{$pageTitle}}{{/pageTitle}}</title></head> <body> {{>inheritance_logo}} <p>Section: {{$section}}{{/section}}</p> <h1>{{$pageHeading}}{{/pageHeading}}</h1> {{$content}}{{/content}} </body> </h...
<html> <head><title>{{$pageTitle}}{{/pageTitle}}</title></head> <body> {{>logo}} <p>Section: {{$section}}{{/section}}</p> <h1>{{$pageHeading}}{{/pageHeading}}</h1> {{$content}}{{/content}} </body> </html>
<|file_sep|>original/views/examples/inheritance/base_level.html <html> <head><title>{{$pageTitle}}{{/pageTitle}}</title></head> <body> {{>inheritance_logo}} <p>Section: {{$section}}{{/section}}</p> <h1>{{$pageHeading}}{{/pageHeading}}</h1> {{$content}}{{/content}} </body> </h...
a1c4328b2172b448504affcc437d8e364616eaf8
views/examples/inheritance/base_level.html
views/examples/inheritance/base_level.html
HTML
<|file_sep|>original/lib/lightstep.rb def_delegator :instance, :flush # Convert a time to microseconds def self.micros(time) (time.to_f * 1E6).floor end # Returns a random guid. Note: this intentionally does not use SecureRandom, # which is slower and cryptographically secure randomness is not require...
def_delegator :instance, :flush # Convert a time to microseconds def self.micros(time) (time.to_f * 1E6).floor end # Returns a random guid. Note: this intentionally does not use SecureRandom, # which is slower and cryptographically secure randomness is not required here. def self.guid # Re-seed ...
<|file_sep|>original/lib/lightstep.rb def_delegator :instance, :flush # Convert a time to microseconds def self.micros(time) (time.to_f * 1E6).floor end # Returns a random guid. Note: this intentionally does not use SecureRandom, # which is slower and cryptographically secure randomness is not require...
ea18979b1fd1a12ba55e5f5311a587284beba463
lib/lightstep.rb
lib/lightstep.rb
Ruby
<|file_sep|>original/PixelPet/Commands/DeserializeTilemapCmd.cs public override void Run(Workbench workbench, Cli cli) { cli.Log("Deserializing tilemap..."); workbench.Stream.Position = 0; workbench.Tilemap = new Tilemap(); int bpe = 2; // bytes per tile entry byte[] buffer = new byte[bpe]; whi...
public override void Run(Workbench workbench, Cli cli) { cli.Log("Deserializing tilemap..."); workbench.Stream.Position = 0; workbench.Tilemap = new Tilemap(); int bpe = 2; // bytes per tile entry byte[] buffer = new byte[bpe]; while (workbench.Stream.Read(buffer, 0, 2) == bpe) { int scrn =...
<|file_sep|>original/PixelPet/Commands/DeserializeTilemapCmd.cs public override void Run(Workbench workbench, Cli cli) { cli.Log("Deserializing tilemap..."); workbench.Stream.Position = 0; workbench.Tilemap = new Tilemap(); int bpe = 2; // bytes per tile entry byte[] buffer = new byte[bpe]; whi...
2bba10653e1c443ac0a4f3512e833f37dd15307a
PixelPet/Commands/DeserializeTilemapCmd.cs
PixelPet/Commands/DeserializeTilemapCmd.cs
C#
<|file_sep|>original/scripts/setup/darwin.sh #!/bin/bash - # Get the directory this script is stored in DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # Use thoughtbot's laptop script to set everything up "$DIR/laptop.sh" # Install command-line JSON processor brew install jq # Install pianobar for music brew...
#!/bin/bash - # Get the directory this script is stored in DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # Use thoughtbot's laptop script to set everything up "$DIR/laptop.sh" # Install command-line JSON processor brew install jq # WxWidgets for Erlang brew install wxmac --with-static --with-stl --universal...
<|file_sep|>original/scripts/setup/darwin.sh #!/bin/bash - # Get the directory this script is stored in DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) # Use thoughtbot's laptop script to set everything up "$DIR/laptop.sh" # Install command-line JSON processor brew install jq # Install pianobar for music brew...
5e11d29e554b31d89b209aa5558c385bcb0f3fdb
scripts/setup/darwin.sh
scripts/setup/darwin.sh
Shell
<|file_sep|>original/_protected/app/system/modules/milestone-celebration/inc/class/MessageGenerator.php final class MessageGenerator { /** * @return string A random patron paragraph. */ public static function getPatreonParagraph() { $aParagraphs = self::getParagraphs(); return $a...
final class MessageGenerator { /** * @return string A random patron paragraph. */ public static function getPatreonParagraph() { $aParagraphs = self::getParagraphs(); return $aParagraphs[array_rand($aParagraphs)]; } /** * @return array */ private static fun...
<|file_sep|>original/_protected/app/system/modules/milestone-celebration/inc/class/MessageGenerator.php final class MessageGenerator { /** * @return string A random patron paragraph. */ public static function getPatreonParagraph() { $aParagraphs = self::getParagraphs(); return $a...
28ea5d9bf1bcaee5ccf987deda7cae87b041f070
_protected/app/system/modules/milestone-celebration/inc/class/MessageGenerator.php
_protected/app/system/modules/milestone-celebration/inc/class/MessageGenerator.php
PHP
<|file_sep|>user_deletion/managers.py.diff original: updated: from django.apps import apps <|file_sep|>user_deletion/managers.py.diff original: from django.apps import apps updated: <|file_sep|>original/user_deletion/managers.py class UserDeletionManagerMixin: def users_to_notify(self): """Finds ...
from django.utils import timezone class UserDeletionManagerMixin: def users_to_notify(self): """Finds all users who have been inactive and not yet notified.""" user_deletion_config = apps.get_app_config('user_deletion') threshold = timezone.now() - relativedelta( months=user_d...
<|file_sep|>user_deletion/managers.py.diff original: updated: from django.apps import apps <|file_sep|>user_deletion/managers.py.diff original: from django.apps import apps updated: <|file_sep|>original/user_deletion/managers.py class UserDeletionManagerMixin: def users_to_notify(self): """Finds ...
bf6d6cdaf946af7ce8d1aa6831e7da9b47fef54f
user_deletion/managers.py
user_deletion/managers.py
Python
<|file_sep|>original/torquebox_init.rb require 'data_mapper' require 'models/term' require 'models/url' DataMapper::Logger.new(TorqueBox::Logger.new(DataMapper), :info) DataMapper.setup(:default, ENV['DB_URL']) DataMapper.auto_upgrade! <|file_sep|>current/torquebox_init.rb require 'data_mapper' require 'models/term' ...
require 'data_mapper' require 'models/term' require 'models/url' DataMapper::Logger.new(TorqueBox::Logger.new(DataMapper), :debug) DataMapper.setup(:default, ENV['DB_URL']) DataMapper.auto_upgrade!
<|file_sep|>original/torquebox_init.rb require 'data_mapper' require 'models/term' require 'models/url' DataMapper::Logger.new(TorqueBox::Logger.new(DataMapper), :info) DataMapper.setup(:default, ENV['DB_URL']) DataMapper.auto_upgrade! <|file_sep|>current/torquebox_init.rb require 'data_mapper' require 'models/term' ...
d6f17758fa9e03b59cfb1403071db895890bb275
torquebox_init.rb
torquebox_init.rb
Ruby
<|file_sep|>original/lib/fullscreen-class.js <|file_sep|>current/lib/fullscreen-class.js <|file_sep|>updated/lib/fullscreen-class.js
(function () { /** * Monkey patch to apply a 'fullscreen' class to A-Frame scenes in fullscreen * mode. Allows overlay content to be hidden in iOS Safari, which doesn't * have an actual fullscreen API. */ document.addEventListener('DOMContentLoaded', function () { var scene = document.querySelector...
<|file_sep|>original/lib/fullscreen-class.js <|file_sep|>current/lib/fullscreen-class.js <|file_sep|>updated/lib/fullscreen-class.js (function () { /** * Monkey patch to apply a 'fullscreen' class to A-Frame scenes in fullscreen * mode. Allows overlay content to be hidden in iOS Safari, which doesn't * ha...
a1213cc2610424e7cfeb010f706fe252f3c1d889
lib/fullscreen-class.js
lib/fullscreen-class.js
JavaScript
<|file_sep|>original/.forestry/front_matter/templates/journal.yml - type: textarea name: excerpt label: Excerpt description: Short snippet that will show outside of the actual post config: required: true - type: datetime name: date label: Date config: required: true - type: select name: author ...
required: true - type: textarea name: excerpt label: Excerpt description: Short snippet that will show outside of the actual post config: required: true - type: datetime name: date label: Date config: required: true - type: select name: author config: source: type: documents ...
<|file_sep|>original/.forestry/front_matter/templates/journal.yml - type: textarea name: excerpt label: Excerpt description: Short snippet that will show outside of the actual post config: required: true - type: datetime name: date label: Date config: required: true - type: select name: author ...
4229955ec0166712f604afc10094347129869596
.forestry/front_matter/templates/journal.yml
.forestry/front_matter/templates/journal.yml
YAML
<|file_sep|>connectors/v2/redditplayer.js.diff original: updated: var INFO_CURRENT_TIME = 1; var INFO_DURATION = 2; <|file_sep|>connectors/v2/redditplayer.js.diff original: updated: Connector.getCurrentTime = function() { return getTimeInfo(INFO_CURRENT_TIME); }; Connector.getDuration = function() { return getTim...
return getTimeInfo(INFO_CURRENT_TIME); }; Connector.getDuration = function() { return getTimeInfo(INFO_DURATION); }; Connector.isPlaying = function () { return $('.playing').length > 0; }; Connector.isStateChangeAllowed = function() { return Connector.getCurrentTime() > 0; }; function getTimeInfo(field) { var ...
<|file_sep|>connectors/v2/redditplayer.js.diff original: updated: var INFO_CURRENT_TIME = 1; var INFO_DURATION = 2; <|file_sep|>connectors/v2/redditplayer.js.diff original: updated: Connector.getCurrentTime = function() { return getTimeInfo(INFO_CURRENT_TIME); }; Connector.getDuration = function() { return getTim...
6e662be8cf52db89036bfb5875cf22af522ff1f4
connectors/v2/redditplayer.js
connectors/v2/redditplayer.js
JavaScript
<|file_sep|>original/pgup/__init__.py # -*- coding: utf-8 -*- __version__ = "0.2.3" from config import Config from build_init import build_init from build_diff import build_diff <|file_sep|>current/pgup/__init__.py # -*- coding: utf-8 -*- __version__ = "0.2.3" from config import Config from build_init import build_init...
# -*- coding: utf-8 -*- __version__ = "0.2.4" from config import Config from build_init import build_init from build_diff import build_diff
<|file_sep|>original/pgup/__init__.py # -*- coding: utf-8 -*- __version__ = "0.2.3" from config import Config from build_init import build_init from build_diff import build_diff <|file_sep|>current/pgup/__init__.py # -*- coding: utf-8 -*- __version__ = "0.2.3" from config import Config from build_init import build_init...
6a54876a30ec92c0243cf758b7ddf35d7ad3b926
pgup/__init__.py
pgup/__init__.py
Python
<|file_sep|>original/CHANGELOG.md ## Uncommitted (`master` branch) - Add `Configuration#stringify_keys` - Add `Writer` module to write `Configuration` instances to files - Add recursive method to retrieve internal hashes (replaces Configuration sub-items with hashes) as new `Configuration#hash` - Moved old `Configurati...
## Unreleased (`master` branch) - Add `Configuration#stringify_keys` - Add `Writer` module to write `Configuration` instances to files - Add recursive method to retrieve internal hashes (replaces Configuration sub-items with hashes) as new `Configuration#hash` - Moved old `Configuration#hash` functionality (internal ha...
<|file_sep|>original/CHANGELOG.md ## Uncommitted (`master` branch) - Add `Configuration#stringify_keys` - Add `Writer` module to write `Configuration` instances to files - Add recursive method to retrieve internal hashes (replaces Configuration sub-items with hashes) as new `Configuration#hash` - Moved old `Configurati...
9a46d02dbd8fe33240b22e069ea093a76c660ab8
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/test/hook_tests.cc /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ #include "catch.hpp" #include "hooks.hh" static int i; void inc_i(vick::contents&) { ++i; } TEST_CASE("hook proc", "[hook]") { vick::hook h; vick::contents c; ...
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ #include "catch.hpp" #include "hooks.hh" static int i; static void inc_i(vick::contents&) { ++i; } TEST_CASE("hook proc", "[hook]") { vick::hook h; vick::contents c; h.add(inc_i); int li = i; ...
<|file_sep|>original/test/hook_tests.cc /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ #include "catch.hpp" #include "hooks.hh" static int i; void inc_i(vick::contents&) { ++i; } TEST_CASE("hook proc", "[hook]") { vick::hook h; vick::contents c; ...
06999042bac2c507a6db2cd73b3a2c4cbe596b40
test/hook_tests.cc
test/hook_tests.cc
C++
<|file_sep|>original/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java <|file_sep|>current/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java <|file_sep|>updated/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java
/** * Copyright (C) 2015 Deutsches Forschungszentrum für Künstliche Intelligenz (http://freme-project.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
<|file_sep|>original/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java <|file_sep|>current/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java <|file_sep|>updated/src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java /** * Copyright (C) 2015 Deutsches Forschungszentrum für K...
5113ede5adbd102ecb79791e43df5edba4a66e0e
src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java
src/test/java/eu/freme/eservices/pipelines/TestWrongRequests.java
Java
<|file_sep|>original/lib/ruboty/dmm/agent.rb module Ruboty module DMM class Agent attr_accessor :agent def initialize @agent = ::Mechanize.new @agent.ignore_bad_chunking = true @agent.request_headers = { 'Accept-Encoding' => '' } @agent.ignore_bad_chunking = true ...
module Ruboty module DMM class Agent attr_accessor :agent def initialize @agent = ::Mechanize.new @agent.request_headers = { 'Accept-Encoding' => '' } @agent.ignore_bad_chunking = true end end end end
<|file_sep|>original/lib/ruboty/dmm/agent.rb module Ruboty module DMM class Agent attr_accessor :agent def initialize @agent = ::Mechanize.new @agent.ignore_bad_chunking = true @agent.request_headers = { 'Accept-Encoding' => '' } @agent.ignore_bad_chunking = true ...
37efc30f1f432011305af1c1e9ac9b2c81f4560e
lib/ruboty/dmm/agent.rb
lib/ruboty/dmm/agent.rb
Ruby
<|file_sep|>packages/fi/filtrable.yaml.diff original: hash: 7fb5ad5b0254d38b5716c1f1d8338f8273983154f056e10da3cce743fac602d7 updated: hash: 0bad2b01b3005117f0b286db5d3e74e150dfaca0ead15404b4fbce99c69787a5 <|file_sep|>packages/fi/filtrable.yaml.diff original: updated: - 0.1.2.0 <|file_sep|>original/packages/fi/filtrabl...
hash: 0bad2b01b3005117f0b286db5d3e74e150dfaca0ead15404b4fbce99c69787a5 test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Class of filtrable containers changelog: '' basic-deps: base: ! '>=4.7 && <5' all-versions: - 0.1.0.0 - 0.1.0.1 - 0.1.0.2 - 0.1.0.3 - 0.1.0.4 - 0.1.0.5 - 0.1.1.0 - 0.1.2.0 author: M Far...
<|file_sep|>packages/fi/filtrable.yaml.diff original: hash: 7fb5ad5b0254d38b5716c1f1d8338f8273983154f056e10da3cce743fac602d7 updated: hash: 0bad2b01b3005117f0b286db5d3e74e150dfaca0ead15404b4fbce99c69787a5 <|file_sep|>packages/fi/filtrable.yaml.diff original: updated: - 0.1.2.0 <|file_sep|>original/packages/fi/filtrabl...
7624ebcc534d89936ce2610cf66944745aed1b88
packages/fi/filtrable.yaml
packages/fi/filtrable.yaml
YAML
<|file_sep|>app/views/articles/show.html.erb.diff original: updated: <% if logged_in? %> <|file_sep|>original/app/views/articles/show.html.erb <br/> <div><%= @article.body %></div> <div id="article-author">Added by:</div> <div><%= link_to @article.writer.username, user_path(@article.writer_id) %></div> <% if cur...
<br/> <div><%= @article.body %></div> <div id="article-author">Added by:</div> <div><%= link_to @article.writer.username, user_path(@article.writer_id) %></div> <% if logged_in? %> <% if current_user.id == @article.writer_id %> <%= link_to 'Destroy', group_article_path(@group, @article), method: :d...
<|file_sep|>app/views/articles/show.html.erb.diff original: updated: <% if logged_in? %> <|file_sep|>original/app/views/articles/show.html.erb <br/> <div><%= @article.body %></div> <div id="article-author">Added by:</div> <div><%= link_to @article.writer.username, user_path(@article.writer_id) %></div> <% if cur...
a2242c0e5f9cd01b41a1143fa0354bec040bad9e
app/views/articles/show.html.erb
app/views/articles/show.html.erb
HTML+ERB
<|file_sep|>original/.github/workflows/build.yml push: branches: - master pull_request: types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disab...
push: branches: - master pull_request: types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - na...
<|file_sep|>original/.github/workflows/build.yml push: branches: - master pull_request: types: [opened, synchronize, reopened] jobs: build: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disab...
ddb705dc5444e799a1bc7b5f475605e921f4d105
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/src/components/VmDetail/style.css .move-left-detail { /* VM detail on the right */ position: fixed; top: 2.5em; height: 100%; display: block; left: 60%; width: 30%; opacity:1; transition:opacity 0.75s ease-in-out; } .move-left-detail-invisible { opacity: 0; } ....
.move-left-detail { /* VM detail on the right */ position: fixed; top: 2.5em; height: 100%; display: block; left: 60%; width: 40%; opacity:1; transition:opacity 0.75s ease-in-out; } .move-left-detail-invisible { opacity: 0; } .move-left-close-detail {/* The Close Detail action */ ...
<|file_sep|>original/src/components/VmDetail/style.css .move-left-detail { /* VM detail on the right */ position: fixed; top: 2.5em; height: 100%; display: block; left: 60%; width: 30%; opacity:1; transition:opacity 0.75s ease-in-out; } .move-left-detail-invisible { opacity: 0; } ....
3693a4ebf9cb5151d2517ead02219f70915df86d
src/components/VmDetail/style.css
src/components/VmDetail/style.css
CSS
<|file_sep|>ckanext/requestdata/templates/requestdata/my_requested_data.html.diff original: updated: {% set my_requests_url = h.url_for('requestdata_my_requests', id=c.userobj.name) %} <|file_sep|>ckanext/requestdata/templates/requestdata/my_requested_data.html.diff original: <a href="{{ h.url_for('requestdata_my...
<li class="active"> <a href="{{ my_requests_url }}">My Requests</a> </li> {% endblock %} {% block subtitle %}{{ _('My Requests') }} - {{ super() }}{% endblock %} {% block primary %} {% snippet 'requestdata/snippets/section_base.html', state='new', title='New', requests=requests_new, template_type='user' %} ...
<|file_sep|>ckanext/requestdata/templates/requestdata/my_requested_data.html.diff original: updated: {% set my_requests_url = h.url_for('requestdata_my_requests', id=c.userobj.name) %} <|file_sep|>ckanext/requestdata/templates/requestdata/my_requested_data.html.diff original: <a href="{{ h.url_for('requestdata_my...
2444d2b2c2ad640d6422dba4eb5c1e1c799d109e
ckanext/requestdata/templates/requestdata/my_requested_data.html
ckanext/requestdata/templates/requestdata/my_requested_data.html
HTML
<|file_sep|>original/.travis.yml language: cpp sudo: false dist: precise cache: apt: true addons: apt: packages: - vim - bedtools - samtools compiler: g++ before_script: - mkdir build - cd build - cmake .. <|file_sep|>current/.travis.yml language: cpp...
language: cpp sudo: false dist: trusty cache: apt: true addons: apt: packages: - vim - bedtools - samtools compiler: g++ before_script: - mkdir build - cd build - cmake ..
<|file_sep|>original/.travis.yml language: cpp sudo: false dist: precise cache: apt: true addons: apt: packages: - vim - bedtools - samtools compiler: g++ before_script: - mkdir build - cd build - cmake .. <|file_sep|>current/.travis.yml language: cpp...
e8807f9419b4f651c223e4bfd3c9a362ccfb4ab4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/data/SubtitlePiece.js if (!text) throw new Error(); this.id = id; this.startTime = typeof startTime === 'number' ? convertSecondsToFormat(startTime) : startTime; this.endTime = typeof endTime === 'number' ? convertSecondsToFormat(endTime) : endTime; this...
if (!text) throw new Error(); this.id = id; this.startTime = typeof startTime === 'number' ? convertSecondsToFormat(startTime) : startTime; this.endTime = typeof endTime === 'number' ? convertSecondsToFormat(endTime) : endTime; this.text = text; this.data = data; } ...
<|file_sep|>original/src/data/SubtitlePiece.js if (!text) throw new Error(); this.id = id; this.startTime = typeof startTime === 'number' ? convertSecondsToFormat(startTime) : startTime; this.endTime = typeof endTime === 'number' ? convertSecondsToFormat(endTime) : endTime; this...
1c93e4d142284de9508da497003bcb34f7ed87b8
src/data/SubtitlePiece.js
src/data/SubtitlePiece.js
JavaScript
<|file_sep|>original/classes/RO/Zone.php protected function configSQL() { return "SELECT * FROM zones WHERE zone_id = ?"; } protected function configCache() { return array('zones','zone_id'); } protected function mobs() { FB::log($this->extra); $min_leve...
class RO_Zone extends RO_Base { protected function configSQL() { return "SELECT * FROM zones WHERE zone_id = ?"; } protected function configCache() { return array('zones','zone_id'); } protected function mobs() { $min_level = empty($this->extra->min_level) ? nul...
<|file_sep|>original/classes/RO/Zone.php protected function configSQL() { return "SELECT * FROM zones WHERE zone_id = ?"; } protected function configCache() { return array('zones','zone_id'); } protected function mobs() { FB::log($this->extra); $min_leve...
5f10c13c4c8f20e9f9d716c021b0b666f7e1a3ad
classes/RO/Zone.php
classes/RO/Zone.php
PHP
<|file_sep|>src/shims/pdfmake.ts.diff original: import { ENV } from '@waldur/core/services'; updated: import { ENV, $http } from '@waldur/core/services'; <|file_sep|>src/shims/pdfmake.ts.diff original: vfs[file] = await getAsDataURL(baseURL + file); updated: const response = await $http.get(baseURL + file, ...
pdfMakeInstance = pdfMake; } return pdfMakeInstance; } async function loadVfs(fontFamilies) { // Load fonts into Virtual File System for pdfkit const baseURL = 'fonts/'; const vfs = {}; // tslint:disable-next-line: forin for (const fontFamily in fontFamilies) { // tslint:disable-next-line: forin...
<|file_sep|>src/shims/pdfmake.ts.diff original: import { ENV } from '@waldur/core/services'; updated: import { ENV, $http } from '@waldur/core/services'; <|file_sep|>src/shims/pdfmake.ts.diff original: vfs[file] = await getAsDataURL(baseURL + file); updated: const response = await $http.get(baseURL + file, ...
d2513fa18a86c3a179b42f046c6e6a0edaf02357
src/shims/pdfmake.ts
src/shims/pdfmake.ts
TypeScript
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang script: mkdir build && cd build && cmake .. && make && ./test/unittest before_install: - sudo apt-get update -qq - sudo apt-get install -y libvlc-dev libvlccore-dev <|file_sep|>current/.travis.yml language: cpp compiler: - gcc - cl...
language: cpp compiler: - gcc - clang script: mkdir build && cd build && cmake .. && make && ./test/unittest before_install: - sudo add-apt-repository ppa:videolan/master-daily - sudo apt-get update -qq - sudo apt-get install -y libvlc-dev libvlccore-dev
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang script: mkdir build && cd build && cmake .. && make && ./test/unittest before_install: - sudo apt-get update -qq - sudo apt-get install -y libvlc-dev libvlccore-dev <|file_sep|>current/.travis.yml language: cpp compiler: - gcc - cl...
881631d0fcb5b91c0df7692819b62a2b56a73e67
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ctypeslib/test/test_dynmodule.py # Basic test of dynamic code generation import unittest import os, glob import stdio from ctypes import POINTER, c_int class DynModTest(unittest.TestCase): def tearDown(self): for fnm in glob.glob(stdio._gen_basename + ".*"): try: ...
# Basic test of dynamic code generation import unittest import os, glob import stdio from ctypes import POINTER, c_int class DynModTest(unittest.TestCase): def test_fopen(self): self.failUnlessEqual(stdio.fopen.restype, POINTER(stdio.FILE)) self.failUnlessEqual(stdio.fopen.argtypes, [stdio.STRING...
<|file_sep|>original/ctypeslib/test/test_dynmodule.py # Basic test of dynamic code generation import unittest import os, glob import stdio from ctypes import POINTER, c_int class DynModTest(unittest.TestCase): def tearDown(self): for fnm in glob.glob(stdio._gen_basename + ".*"): try: ...
c0cecdc7e754090f25f48637de88d2d07a3ef58f
ctypeslib/test/test_dynmodule.py
ctypeslib/test/test_dynmodule.py
Python
<|file_sep|>docs/templates/layers/about-keras-layers.md.diff original: updated: ```python layer = Dense(32) config = layer.get_config() reconstructed_layer = Dense.from_config(config) ``` Or: <|file_sep|>original/docs/templates/layers/about-keras-layers.md - `layer.get_config()`: returns a dictionary containing the...
config = layer.get_config() reconstructed_layer = Dense.from_config(config) ``` Or: ```python from keras.utils.layer_utils import layer_from_config config = layer.get_config() layer = layer_from_config({'class_name': layer.__class__.__name__, 'config': config}) ``` If a layer has a single...
<|file_sep|>docs/templates/layers/about-keras-layers.md.diff original: updated: ```python layer = Dense(32) config = layer.get_config() reconstructed_layer = Dense.from_config(config) ``` Or: <|file_sep|>original/docs/templates/layers/about-keras-layers.md - `layer.get_config()`: returns a dictionary containing the...
c2a7c69f9d57de9e863a0a2ee75cfd7f95f378c9
docs/templates/layers/about-keras-layers.md
docs/templates/layers/about-keras-layers.md
Markdown
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: <!-- 0. The library is Python >= 3.4, not Python 2.x. 1. If you have a QUESTION, ask it on @TelethonChat (Telegram) or StackOverflow, not here. It will be closed immediatly with no explanation if you post it here. 2. If you have an ISSUE or you are experiencing stran...
DON'T ASK QUESTIONS HERE. This place is for issues with the library, so please make sure that: 1. The error is in the library's code, and not in your own. 2. You have already searched for your error on existing issues. 3. You are testing with upstream code (pip install -U https://github.com/LonamiWebs/Telethon/archive...
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: <!-- 0. The library is Python >= 3.4, not Python 2.x. 1. If you have a QUESTION, ask it on @TelethonChat (Telegram) or StackOverflow, not here. It will be closed immediatly with no explanation if you post it here. 2. If you have an ISSUE or you are experiencing stran...
608a19f93fb356b91e9714eed019b7a59fbe44a7
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/community.md --- layout: page title: Community &lsaquo; Bisq - The decentralized bitcoin exchange banner: /images/community.png --- # Community - [@bisq-network on GitHub](https://github.com/bisq-network) - [@bisq_network on Twitter](https://twitter.com/bisq_network) - [Bisq YouTube channel](ht...
--- layout: page title: Community &lsaquo; Bisq - The decentralized bitcoin exchange banner: /images/community.png --- # Community - [@bisq-network on GitHub](https://github.com/bisq-network) - [@bisq_network on Twitter](https://twitter.com/bisq_network) - [Bisq YouTube channel](https://www.youtube.com/c/bisq-netwo...
<|file_sep|>original/community.md --- layout: page title: Community &lsaquo; Bisq - The decentralized bitcoin exchange banner: /images/community.png --- # Community - [@bisq-network on GitHub](https://github.com/bisq-network) - [@bisq_network on Twitter](https://twitter.com/bisq_network) - [Bisq YouTube channel](ht...
3e1efe42050000e853469f5cedc75f92bb83ff7e
community.md
community.md
Markdown
<|file_sep|>original/config/config_kmalloc.h /* * -------------------------------------------------------------------------- * Hard-coded global & derived constants * -------------------------------------------------------------------------- * * Here below there are many dervied constants and con...
/* * -------------------------------------------------------------------------- * Hard-coded global & derived constants * -------------------------------------------------------------------------- * * Here below there are many dervied constants and convenience constants like * COMPILER_NAME alon...
<|file_sep|>original/config/config_kmalloc.h /* * -------------------------------------------------------------------------- * Hard-coded global & derived constants * -------------------------------------------------------------------------- * * Here below there are many dervied constants and con...
3d8ad86be25865eee842ca5e683ac3f525dc8783
config/config_kmalloc.h
config/config_kmalloc.h
C
<|file_sep|>original/website/src/site/markdown/ClientLibraries.md specific language governing permissions and limitations under the License. --> <head> <title>Client Libraries</title> </head> Client Libraries ---------------------------- The following client libraries, in addition to the Helix Agent Java interface...
<head> <title>Client Libraries</title> </head> Client Libraries ---------------------------- The following client libraries, in addition to the Helix Agent Java interface, are available for Helix: ### Clojure * `clj-helix` - https://github.com/Factual/clj-helix ### Python * `pyhelix` - https://github.com/kanakb...
<|file_sep|>original/website/src/site/markdown/ClientLibraries.md specific language governing permissions and limitations under the License. --> <head> <title>Client Libraries</title> </head> Client Libraries ---------------------------- The following client libraries, in addition to the Helix Agent Java interface...
1c68b1ca89aae72d4bcac931f0d365d7068e0636
website/src/site/markdown/ClientLibraries.md
website/src/site/markdown/ClientLibraries.md
Markdown
<|file_sep|>original/provisioning/tasks/install_node.yml - name: accept self signed certificates lineinfile: dest=/root/.bashrc line="export NODE_TLS_REJECT_UNAUTHORIZED=0" when: - is_development_environment - name: check installed global npm modules shell: cat /usr/lib/node_modules/{{ item.name }}/package....
creates: /usr/bin/node - name: accept self signed certificates lineinfile: dest=/root/.bashrc line="export NODE_TLS_REJECT_UNAUTHORIZED=0" when: - is_development_environment - name: check installed global npm modules shell: cat /usr/lib/node_modules/{{ item.name }}/package.json | jq -r '.version' with...
<|file_sep|>original/provisioning/tasks/install_node.yml - name: accept self signed certificates lineinfile: dest=/root/.bashrc line="export NODE_TLS_REJECT_UNAUTHORIZED=0" when: - is_development_environment - name: check installed global npm modules shell: cat /usr/lib/node_modules/{{ item.name }}/package....
7e6fceab8d5428dd24ce8fed3a2e0bd799caabae
provisioning/tasks/install_node.yml
provisioning/tasks/install_node.yml
YAML
<|file_sep|>original/package.json { "name": "covistra-scheduler", "version": "0.1.2-pre", "author": "joelgrenon@covistra.com", "license": "Apache V2", "dependencies": { "bluebird": "^2.10.0", "later": "^1.1.9", "lodash": "^3.10.1", "redis-scheduler": "git@github.com:Covistra/redis-scheduler.gi...
{ "name": "covistra-scheduler", "version": "0.1.2-pre", "author": "joelgrenon@covistra.com", "license": "Apache V2", "dependencies": { "bluebird": "^2.10.0", "later": "^1.1.9", "lodash": "^3.10.1", "redis-scheduler": "git+https://git@github.com/Covistra/redis-scheduler.git#0.9.4" } }
<|file_sep|>original/package.json { "name": "covistra-scheduler", "version": "0.1.2-pre", "author": "joelgrenon@covistra.com", "license": "Apache V2", "dependencies": { "bluebird": "^2.10.0", "later": "^1.1.9", "lodash": "^3.10.1", "redis-scheduler": "git@github.com:Covistra/redis-scheduler.gi...
3fc8b698d1e1067bd2d91a3a0f4a2d74e001b558
package.json
package.json
JSON
<|file_sep|>original/osu.Game/Scoring/IScoreInfo.cs double Accuracy { get; } bool HasReplay { get; } DateTimeOffset Date { get; } double? PP { get; } IBeatmapInfo Beatmap { get; } IRulesetInfo Ruleset { get; } public ScoreRank Rank { get; } // Mods...
double Accuracy { get; } bool HasReplay { get; } DateTimeOffset Date { get; } double? PP { get; } IBeatmapInfo Beatmap { get; } IRulesetInfo Ruleset { get; } ScoreRank Rank { get; } // Mods is currently missing from this interface as the `IMod` cla...
<|file_sep|>original/osu.Game/Scoring/IScoreInfo.cs double Accuracy { get; } bool HasReplay { get; } DateTimeOffset Date { get; } double? PP { get; } IBeatmapInfo Beatmap { get; } IRulesetInfo Ruleset { get; } public ScoreRank Rank { get; } // Mods...
b63a90966ba260c5122203c4b06299d2af40aa52
osu.Game/Scoring/IScoreInfo.cs
osu.Game/Scoring/IScoreInfo.cs
C#
<|file_sep|>original/Atarashii/src/net/somethingdreadful/MAL/NfcHelper.java package net.somethingdreadful.MAL; import android.annotation.TargetApi; import android.app.Activity; import android.nfc.NfcAdapter; import android.os.Build; public class NfcHelper { // disables "push to beam" for an activity @TargetA...
package net.somethingdreadful.MAL; import android.annotation.TargetApi; import android.app.Activity; import android.nfc.NfcAdapter; import android.os.Build; public class NfcHelper { // disables "push to beam" for an activity @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH) public static void disableBea...
<|file_sep|>original/Atarashii/src/net/somethingdreadful/MAL/NfcHelper.java package net.somethingdreadful.MAL; import android.annotation.TargetApi; import android.app.Activity; import android.nfc.NfcAdapter; import android.os.Build; public class NfcHelper { // disables "push to beam" for an activity @TargetA...
d8710207660a2f5fa99a8a6b022c766fe0c6dbad
Atarashii/src/net/somethingdreadful/MAL/NfcHelper.java
Atarashii/src/net/somethingdreadful/MAL/NfcHelper.java
Java
<|file_sep|>original/composer.json "license": "BSD-3-Clause", "authors": [ { "name": "Martijn Schenk", "email": "martijnschenk@loyals.nl" }, { "name": "Jan-Pieter van der Poel", "email": "jp@loyals.nl" } ], "require": { "silverstripe/framework": "~3.4", "silverstr...
"license": "BSD-3-Clause", "authors": [ { "name": "Martijn Schenk", "email": "martijnschenk@loyals.nl" }, { "name": "Jan-Pieter van der Poel", "email": "jp@loyals.nl" } ], "require": { "silverstripe/framework": "~3.4", "silverstripe/display-logic": "1.5.*", "m...
<|file_sep|>original/composer.json "license": "BSD-3-Clause", "authors": [ { "name": "Martijn Schenk", "email": "martijnschenk@loyals.nl" }, { "name": "Jan-Pieter van der Poel", "email": "jp@loyals.nl" } ], "require": { "silverstripe/framework": "~3.4", "silverstr...
88e10633c254ef01cc83a60ac12b0c69e44a6a58
composer.json
composer.json
JSON
<|file_sep|>original/tests/settings.py DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = ':memory:' DATABASE_USER = '' DATABASE_PASSWORD = '' DATABASE_HOST = '' DATABASE_PORT = '' INSTALLED_APPS = ( 'djmoney', 'testapp' ) <|file_sep|>current/tests/settings.py DAT...
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } INSTALLED_APPS = ( 'djmoney', 'testapp' )
<|file_sep|>original/tests/settings.py DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = ':memory:' DATABASE_USER = '' DATABASE_PASSWORD = '' DATABASE_HOST = '' DATABASE_PORT = '' INSTALLED_APPS = ( 'djmoney', 'testapp' ) <|file_sep|>current/tests/settings.py DAT...
1c7487e50def0bb6bffd7af30e4f1a948197bee8
tests/settings.py
tests/settings.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0-p247 - 2.1.2 - 2.2.4 before_script: - cp config/database.yml.sample config/database.yml script: "bundle exec rspec" gemfile: - Gemfile before_install: - gem update bundler <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0-p247 - 2.1....
language: ruby rvm: - 2.4.5 before_script: - cp config/database.yml.sample config/database.yml script: "bundle exec rspec" gemfile: - Gemfile before_install: - gem update bundler
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0-p247 - 2.1.2 - 2.2.4 before_script: - cp config/database.yml.sample config/database.yml script: "bundle exec rspec" gemfile: - Gemfile before_install: - gem update bundler <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0.0-p247 - 2.1....
aaefc32d1fc1d9252a5e05db0c32e45183a4123d
.travis.yml
.travis.yml
YAML
<|file_sep|>install.rb.diff original: puts "WARNING: #{main_app_path} already exists, the symbolic link won't be created" updated: puts "WARNING: #{main_app_path} already exists, the symbolic link won't be created" <|file_sep|>original/install.rb # Install hook code here plugin_path = File.expand_path(File.join(F...
# Install hook code here plugin_path = File.expand_path(File.join(File.dirname(__FILE__), "public")) main_app_path = File.join(RAILS_ROOT, 'public', 'alavetelitheme') # If the symlink to be created exists, warn the user and do nothing if File.exists?(main_app_path) puts "WARNING: #{main_app_path} already exists, ...
<|file_sep|>install.rb.diff original: puts "WARNING: #{main_app_path} already exists, the symbolic link won't be created" updated: puts "WARNING: #{main_app_path} already exists, the symbolic link won't be created" <|file_sep|>original/install.rb # Install hook code here plugin_path = File.expand_path(File.join(F...
8030dd980083dfcc746a3fe154a9093738a2c3ff
install.rb
install.rb
Ruby
<|file_sep|>test/dtile-app/dtile-app_test.html.diff original: /* globals fixture, assert */ suite("dtile-app", function() { test("instantiating the element works", function() { updated: /* globals fixture, expect */ describe("dtile-app", function() { it("instantiates correctly", function() { <|file...
</head> <body> <test-fixture id="basic"> <template> <dtile-app></dtile-app> </template> </test-fixture> <script> /* eslint-env mocha */ /* globals fixture, expect */ describe("dtile-app", function() { it("instantiates correctly", function() { const element = fixture("basic"); ...
<|file_sep|>test/dtile-app/dtile-app_test.html.diff original: /* globals fixture, assert */ suite("dtile-app", function() { test("instantiating the element works", function() { updated: /* globals fixture, expect */ describe("dtile-app", function() { it("instantiates correctly", function() { <|file...
486169b301445fc9daeb15cd75b62b79fa2ef5c3
test/dtile-app/dtile-app_test.html
test/dtile-app/dtile-app_test.html
HTML
<|file_sep|>lib/rails-html-sanitizer.rb.diff original: module Sanitizer def full_sanitizer Html::FullSanitizer end updated: class Sanitizer class << self def full_sanitizer Html::FullSanitizer end <|file_sep|>lib/rails-html-sanitizer.rb.diff original: de...
require "rails/html/sanitizer" module Rails module Html class Sanitizer class << self def full_sanitizer Html::FullSanitizer end def link_sanitizer Html::LinkSanitizer end def white_list_sanitizer Html::WhiteListSanitizer end ...
<|file_sep|>lib/rails-html-sanitizer.rb.diff original: module Sanitizer def full_sanitizer Html::FullSanitizer end updated: class Sanitizer class << self def full_sanitizer Html::FullSanitizer end <|file_sep|>lib/rails-html-sanitizer.rb.diff original: de...
48c0f014c99c90124bd568940060d3fcebb788a6
lib/rails-html-sanitizer.rb
lib/rails-html-sanitizer.rb
Ruby
<|file_sep|>original/squaremenu/src/main/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.devs.squaremenu"> <application android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true"> </application> </manifest> <|file_sep|>...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.devs.squaremenu"/>
<|file_sep|>original/squaremenu/src/main/AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.devs.squaremenu"> <application android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true"> </application> </manifest> <|file_sep|>...
a92eb89a618f0046ee22a4f4931ee21113645f0f
squaremenu/src/main/AndroidManifest.xml
squaremenu/src/main/AndroidManifest.xml
XML
<|file_sep|>setup.py.diff original: version='3.0.1', updated: version='3.0.2', <|file_sep|>original/setup.py maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its ord...
maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/mar...
<|file_sep|>setup.py.diff original: version='3.0.1', updated: version='3.0.2', <|file_sep|>original/setup.py maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its ord...
fc7b353bb906ce840b6191f9ffb40e920f863ce5
setup.py
setup.py
Python
<|file_sep|>original/data-aggregation-index.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'data_aggregation-index' s.version = '0.5.0.1' s.summary = 'Event store data aggregation index library' s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'developers@obsid...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'data_aggregation-index' s.version = '0.5.0.2' s.summary = 'Event store data aggregation index library' s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'developers@obsidianexchange.com' s.homepage = 'https://github.com/...
<|file_sep|>original/data-aggregation-index.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'data_aggregation-index' s.version = '0.5.0.1' s.summary = 'Event store data aggregation index library' s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'developers@obsid...
693563552640174bc6794acaa13883432275d32b
data-aggregation-index.gemspec
data-aggregation-index.gemspec
Ruby
<|file_sep|>original/simple-examples/static.c #include <stdio.h> /* Static functions and static global variables are only visible in * the file that it is declared in. Static variables inside of a * function have a different meaning and is described below */ void foo() { int x = 0; static int staticx = 0; // init...
// Scott Kuhl #include <stdio.h> /* Static functions and static global variables are only visible in * the file that it is declared in. Static variables inside of a * function have a different meaning and is described below */ void foo() { int x = 0; static int staticx = 0; // initialized once; keeps value betwee...
<|file_sep|>original/simple-examples/static.c #include <stdio.h> /* Static functions and static global variables are only visible in * the file that it is declared in. Static variables inside of a * function have a different meaning and is described below */ void foo() { int x = 0; static int staticx = 0; // init...
f2c9e4ef2fd88ddebec6d885eb6a9b40efdea4de
simple-examples/static.c
simple-examples/static.c
C
<|file_sep|>original/app/assets/javascripts/modules/checkbox_toggle.js (function(Modules) { "use strict"; Modules.CheckboxToggle = function() { var that = this; that.start = function(element) { element.on('change', '.js-checkbox-toggle', toggle); function toggle(event) { element.find...
(function(Modules) { "use strict"; Modules.CheckboxToggle = function() { var that = this; that.start = function(element) { element.on('change', '.js-checkbox-toggle', toggle); function toggle(event) { var isCheckboxChecked = element.find('.js-checkbox-toggle').is(':checked'); ...
<|file_sep|>original/app/assets/javascripts/modules/checkbox_toggle.js (function(Modules) { "use strict"; Modules.CheckboxToggle = function() { var that = this; that.start = function(element) { element.on('change', '.js-checkbox-toggle', toggle); function toggle(event) { element.find...
8990dc1585e1782d46a3548ea6851291350066a1
app/assets/javascripts/modules/checkbox_toggle.js
app/assets/javascripts/modules/checkbox_toggle.js
JavaScript
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
# Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Place. call-to-action=Tell Me More # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: updated: navigation-title=Pontoon Intro navigation-developers=Developers <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Po...
5309f5db1f35687c23df782608791e039fbaa76e
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/.gitlab-ci.yml - mkdir -p $GOPATH/src/${CI_PROJECT_URL#https://} - mv $CI_PROJECT_DIR/* $GOPATH/src/${CI_PROJECT_URL#https://} - cd $GOPATH/src/${CI_PROJECT_URL#https://} - go get - go get . - go build # Build stages build alpine: <<: *job <<: *build image: golang:1....
- mkdir -p $GOPATH/src/${CI_PROJECT_URL#https://} - mv $CI_PROJECT_DIR/* $GOPATH/src/${CI_PROJECT_URL#https://} - cd $GOPATH/src/${CI_PROJECT_URL#https://} - go get - go get . - go build # Build stages build linux: <<: *job <<: *build image: golang:1.8 push to github: <<: *job image...
<|file_sep|>original/.gitlab-ci.yml - mkdir -p $GOPATH/src/${CI_PROJECT_URL#https://} - mv $CI_PROJECT_DIR/* $GOPATH/src/${CI_PROJECT_URL#https://} - cd $GOPATH/src/${CI_PROJECT_URL#https://} - go get - go get . - go build # Build stages build alpine: <<: *job <<: *build image: golang:1....
ab134322febed16cabe2476e3871b4c327777e9a
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/worldtraveler.html --- layout: page title: "Worldtraveler" description: "I visited worldwide" header-img: "img/sj-areia.jpg" --- <iframe src="https://www.google.com/maps/d/embed?mid=zlU1V2T1k-IA.kqmbLNlkCIjY" width="800" height="450"></iframe> <hr /> <!-- SnapWidget --> <iframe src="http://snapw...
--- layout: page title: "Trips" description: "I visited worldwide" header-img: "img/sj-areia.jpg" --- <iframe src="https://www.google.com/maps/d/embed?mid=zlU1V2T1k-IA.kqmbLNlkCIjY" width="800" height="450"></iframe> <hr /> <!-- SnapWidget --> <iframe src="http://snapwidget.com/mp/?u=Z2FtYm9hY2FydmFsaG98aW58ODAwfDN8...
<|file_sep|>original/worldtraveler.html --- layout: page title: "Worldtraveler" description: "I visited worldwide" header-img: "img/sj-areia.jpg" --- <iframe src="https://www.google.com/maps/d/embed?mid=zlU1V2T1k-IA.kqmbLNlkCIjY" width="800" height="450"></iframe> <hr /> <!-- SnapWidget --> <iframe src="http://snapw...
23688d027e673ff766738463da01c39b5efad5e6
worldtraveler.html
worldtraveler.html
HTML
<|file_sep|>original/dashboard/package.json "name": "admin-lte", "version": "2.3.0", "repository": { "type": "git", "url": "git://github.com/almasaeed2010/AdminLTE.git" }, "license": "MIT", "devDependencies": { "R2": "^1.4.3", "grunt": "~1.1.0", "grunt-contrib-clean": "^0.6.0", "grun...
"name": "admin-lte", "version": "2.3.0", "repository": { "type": "git", "url": "git://github.com/almasaeed2010/AdminLTE.git" }, "license": "MIT", "devDependencies": { "R2": "^1.4.3", "grunt": "~1.1.0", "grunt-contrib-clean": "^2.0.0", "grunt-contrib-csslint": "^2.0.0", "grunt-con...
<|file_sep|>original/dashboard/package.json "name": "admin-lte", "version": "2.3.0", "repository": { "type": "git", "url": "git://github.com/almasaeed2010/AdminLTE.git" }, "license": "MIT", "devDependencies": { "R2": "^1.4.3", "grunt": "~1.1.0", "grunt-contrib-clean": "^0.6.0", "grun...
77501c5b434640ff994e56a2a704bee6cf4bba81
dashboard/package.json
dashboard/package.json
JSON
<|file_sep|>original/api/src/Entity/AbstractContentNodeOwner.php // set the owning side of the relation if necessary if (null !== $rootContentNode && $rootContentNode->owner !== $this) { $rootContentNode->owner = $this; } $this->rootContentNode = $rootContentNode; } ...
// unset the owning side of the relation if necessary if (null === $rootContentNode && null !== $this->rootContentNode) { $this->rootContentNode->owner = null; } // set the owning side of the relation if necessary if (null !== $rootContentNode && $rootContentNode->ow...
<|file_sep|>original/api/src/Entity/AbstractContentNodeOwner.php // set the owning side of the relation if necessary if (null !== $rootContentNode && $rootContentNode->owner !== $this) { $rootContentNode->owner = $this; } $this->rootContentNode = $rootContentNode; } ...
5caf0930b6d3c5e8d1b331536ba589e4a61de2a5
api/src/Entity/AbstractContentNodeOwner.php
api/src/Entity/AbstractContentNodeOwner.php
PHP
<|file_sep|>Gruntfile.js.diff original: // Project configuration. grunt.initConfig({ updated: // Project configuration. grunt.initConfig({ <|file_sep|>Gruntfile.js.diff original: // Configuration to be run (and then tested). svg_fallback: { your_target: { src: 'test/sources/', ...
grunt.initConfig({ // Configuration to be run (and then tested). svg_fallback: { options: { debug: true }, your_target: { src: 'test/sources/', dest: 'test/result/' } } }); // Actually ...
<|file_sep|>Gruntfile.js.diff original: // Project configuration. grunt.initConfig({ updated: // Project configuration. grunt.initConfig({ <|file_sep|>Gruntfile.js.diff original: // Configuration to be run (and then tested). svg_fallback: { your_target: { src: 'test/sources/', ...
feb03e73a030243e61184b9f1acf0c0587f3cbd1
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/.istanbul.yml check: global: statements: 90 lines: 90 branches: 50 functions: 85 <|file_sep|>current/.istanbul.yml check: global: statements: 90 lines: 90 branches: 50 functions: 85 <|file_sep|>updated/.istanbul.yml
check: global: statements: 90 lines: 90 branches: 90 functions: 90
<|file_sep|>original/.istanbul.yml check: global: statements: 90 lines: 90 branches: 50 functions: 85 <|file_sep|>current/.istanbul.yml check: global: statements: 90 lines: 90 branches: 50 functions: 85 <|file_sep|>updated/.istanbul.yml check: global: statements: 90 lines: ...
a7d6118121dad856a3082a4b1c7bcbc93c17d0f6
.istanbul.yml
.istanbul.yml
YAML
<|file_sep|>original/.vscode/settings.json "workbench.colorCustomizations": { "activityBar.activeBackground": "#7295b1", "activityBar.activeBorder": "#e8d6e0", "activityBar.background": "#7295b1", "activityBar.foreground": "#15202b", "activityBar.inactiveForeground": "#15202b...
"activityBar.activeBorder": "#e8d6e0", "activityBar.background": "#7295b1", "activityBar.foreground": "#15202b", "activityBar.inactiveForeground": "#15202b99", "activityBarBadge.background": "#e8d6e0", "activityBarBadge.foreground": "#15202b", "statusBar.backgroun...
<|file_sep|>original/.vscode/settings.json "workbench.colorCustomizations": { "activityBar.activeBackground": "#7295b1", "activityBar.activeBorder": "#e8d6e0", "activityBar.background": "#7295b1", "activityBar.foreground": "#15202b", "activityBar.inactiveForeground": "#15202b...
5b26fb8126191624fcb0e2ed87b32587195fd568
.vscode/settings.json
.vscode/settings.json
JSON
<|file_sep|>original/.travis.yml # Build Options language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds. <|file_sep|>current/.travis.yml # Build Options language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 # Travis-CI Configuration cache:...
# Build Options language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds.
<|file_sep|>original/.travis.yml # Build Options language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 # Travis-CI Configuration cache: bundler sudo: false # Enable containerized builds. <|file_sep|>current/.travis.yml # Build Options language: ruby rvm: - 2.0.0 - 2.1.8 - 2.2.4 - 2.3.0 # Travis-CI Configuration cache:...
e615cc7217b78280e80f97327ec15540c268d517
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "remove-github-forks", "version": "1.0.0", "description": "Delete all forks that have no commits that are not in the main repository", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "github", "...
{ "name": "remove-github-forks", "version": "1.0.0", "description": "Delete all forks that have no commits that are not in the main repository", "main": "index.js", "bin": "bin.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "github", "delete", "f...
<|file_sep|>original/package.json { "name": "remove-github-forks", "version": "1.0.0", "description": "Delete all forks that have no commits that are not in the main repository", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "github", "...
87f81fa70d788255b6bfaefea5305be89df15acc
package.json
package.json
JSON
<|file_sep|>original/Muon.podspec Pod::Spec.new do |s| s.name = "Muon" s.version = "0.1.0" s.summary = "An RSS/Atom Parser in Swift." s.homepage = "https://github.com/younata/Muon" s.license = { :type => "MIT", :file => "LICENSE" } s.author = "Rachel Brindle" s.ios.deplo...
Pod::Spec.new do |s| s.name = "Muon" s.version = "0.1.0" s.summary = "An RSS/Atom Parser in Swift." s.homepage = "https://github.com/younata/Muon" s.license = { :type => "MIT", :file => "LICENSE" } s.author = "Rachel Brindle" s.ios.deployment_target = "8.0" s.source ...
<|file_sep|>original/Muon.podspec Pod::Spec.new do |s| s.name = "Muon" s.version = "0.1.0" s.summary = "An RSS/Atom Parser in Swift." s.homepage = "https://github.com/younata/Muon" s.license = { :type => "MIT", :file => "LICENSE" } s.author = "Rachel Brindle" s.ios.deplo...
ad7e7aad41249f3bb88d43c047110f4c2225687a
Muon.podspec
Muon.podspec
Ruby
<|file_sep|>README.md.diff original: updated: ## Development flow [GitHub flow][3] or simple commits into master that contains a small but full feature/thing/issue. [Git flow][4] is not used since more or less all commits equal a new release. <|file_sep|>original/README.md # Gherkin syntax highlighting This is an e...
2. Search for `gherkin` and press install. ## Generating new zip When releasing a new version a zip of the code is needed for upload at the [extension registry][2]. Generate it with the following snippet: ```bash git archive --format zip -o brackets-gherkin.zip master ``` ## Development flow [GitHub flow][3] or si...
<|file_sep|>README.md.diff original: updated: ## Development flow [GitHub flow][3] or simple commits into master that contains a small but full feature/thing/issue. [Git flow][4] is not used since more or less all commits equal a new release. <|file_sep|>original/README.md # Gherkin syntax highlighting This is an e...
c1dc62ce6dfb17286e79578b75e184f9d9a85b6e
README.md
README.md
Markdown