prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.609" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto st...
@echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.62" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto start
<|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat @echo off cls :start echo Starting server... "Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.609" -password "" -tcpLobby "149.202.51.185" 25565 echo. echo Restarting server... echo. goto st...
1bcbb6b538c49f255b86098fcafb75ca02df5c5e
Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
Batchfile
<|file_sep|>original/lib/health_graph/api.rb request.body = params.to_json unless params.empty? end end response end def connection method merged_options = HealthGraph.faraday_options.merge({ :url => HealthGraph.endpoint }) Faraday.new(...
request.body = params.to_json unless params.empty? end end response end def connection method merged_options = HealthGraph.faraday_options.merge({ :url => HealthGraph.endpoint }) Faraday.new(merged_options) do |builder| builder....
<|file_sep|>original/lib/health_graph/api.rb request.body = params.to_json unless params.empty? end end response end def connection method merged_options = HealthGraph.faraday_options.merge({ :url => HealthGraph.endpoint }) Faraday.new(...
06656ca98f0f0136a8d4fb369129da03a49a03f3
lib/health_graph/api.rb
lib/health_graph/api.rb
Ruby
<|file_sep|>original/README.md dw-ng-boilerplate ================= An angularjs/dropwizard web application boilerplate <|file_sep|>current/README.md dw-ng-boilerplate ================= An angularjs/dropwizard web application boilerplate <|file_sep|>updated/README.md
dw-ng-boilerplate ================= An angularjs/dropwizard web application boilerplate demo http://dw-ng-boilerplate.herokuapp.com
<|file_sep|>original/README.md dw-ng-boilerplate ================= An angularjs/dropwizard web application boilerplate <|file_sep|>current/README.md dw-ng-boilerplate ================= An angularjs/dropwizard web application boilerplate <|file_sep|>updated/README.md dw-ng-boilerplate ================= An angularjs/d...
7d17503469d43080cd60c3d68373205f993e9e3a
README.md
README.md
Markdown
<|file_sep|>original/tox.ini py3.4: python3.4 py3.5: python3.5 deps = django1.8: Django>=1.8,<1.9 django1.9: Django>=1.9,<1.10 django1.10: Django>=1.10,<1.11 psycopg2 mysqlclient django-redis python-memcached # FIXME: Remove the version when this is fixed: https://github.com/leri...
py3.4: python3.4 py3.5: python3.5 deps = django1.8: Django>=1.8,<1.9 django1.9: Django>=1.9,<1.10 django1.10: Django>=1.10,<1.11 psycopg2 mysqlclient django-redis python-memcached pylibmc pytz Jinja2 django-debug-toolbar beautifulsoup4 coverage setenv = sq...
<|file_sep|>original/tox.ini py3.4: python3.4 py3.5: python3.5 deps = django1.8: Django>=1.8,<1.9 django1.9: Django>=1.9,<1.10 django1.10: Django>=1.10,<1.11 psycopg2 mysqlclient django-redis python-memcached # FIXME: Remove the version when this is fixed: https://github.com/leri...
7af968c4d993e1a275bb6f31942cf6fb685eca76
tox.ini
tox.ini
INI
<|file_sep|>original/gradle.properties # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Spe...
# IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the d...
<|file_sep|>original/gradle.properties # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Spe...
12924bdfcb141355aa7986e79c3be2caf5dfcdd4
gradle.properties
gradle.properties
INI
<|file_sep|>examples/language_services/package.json.diff original: "@types/chai": "^3.4.34", "@types/lodash": "^4.14.48", "@types/mocha": "^2.2.37", "@types/node": "^6.0.59", updated: "@types/chai": "^3.4.35", "@types/lodash": "^4.14.57", "@types/mocha": "^2.2.40", "@types/node": "^7.0.9...
"@types/node": "^7.0.9", "chai": "^3.5.0", "grunt": "^1.0.1", "grunt-cli": "~1.2.0", "grunt-contrib-clean": "^1.0.0", "grunt-contrib-concat": "^1.0.1", "grunt-mocha-istanbul": "^5.0.2", "grunt-run": "^0.6.0", "grunt-tslint": "~4.0.1", "grunt-typings": "^0.1.5", "istanbul": "^...
<|file_sep|>examples/language_services/package.json.diff original: "@types/chai": "^3.4.34", "@types/lodash": "^4.14.48", "@types/mocha": "^2.2.37", "@types/node": "^6.0.59", updated: "@types/chai": "^3.4.35", "@types/lodash": "^4.14.57", "@types/mocha": "^2.2.40", "@types/node": "^7.0.9...
000bbaa8154bfafeda8bd4c18884f0f0051cb146
examples/language_services/package.json
examples/language_services/package.json
JSON
<|file_sep|>original/_posts/2017-06-10-WebRTC-compile-in-Mac.md <|file_sep|>current/_posts/2017-06-10-WebRTC-compile-in-Mac.md <|file_sep|>updated/_posts/2017-06-10-WebRTC-compile-in-Mac.md
--- layout: post title: "Mac编译WebRTC" date: 2016-12-02 desc: "Mac编译WebRTC" keywords: "WebRTC" categories: [iOS] tags: [iOS, WebRTC] --- # Mac编译WebRTC > [官方文档](https://webrtc.org/native-code/ios/) ### 安装depot_tools ``` git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=`pwd`/d...
<|file_sep|>original/_posts/2017-06-10-WebRTC-compile-in-Mac.md <|file_sep|>current/_posts/2017-06-10-WebRTC-compile-in-Mac.md <|file_sep|>updated/_posts/2017-06-10-WebRTC-compile-in-Mac.md --- layout: post title: "Mac编译WebRTC" date: 2016-12-02 desc: "Mac编译WebRTC" keywords: "WebRTC" categories: [iOS] tags: [iOS, W...
0676c4a869f53d67f87372012ba308b3932c02d6
_posts/2017-06-10-WebRTC-compile-in-Mac.md
_posts/2017-06-10-WebRTC-compile-in-Mac.md
Markdown
<|file_sep|>original/rdmo/core/management/commands/make_theme.py <|file_sep|>current/rdmo/core/management/commands/make_theme.py <|file_sep|>updated/rdmo/core/management/commands/make_theme.py
from django.apps import apps from django.core.management.base import BaseCommand import os.path import re from shutil import copyfile class Command(BaseCommand): def get_folders(self): rdmo_core = os.path.join(apps.get_app_config('rdmo').path, 'core') rdmo_app_theme = os.path.join(os.getcwd(), 't...
<|file_sep|>original/rdmo/core/management/commands/make_theme.py <|file_sep|>current/rdmo/core/management/commands/make_theme.py <|file_sep|>updated/rdmo/core/management/commands/make_theme.py from django.apps import apps from django.core.management.base import BaseCommand import os.path import re from shutil import...
6b8554bca4be17bc2b9fdcf2bb2f349900d2b4cb
rdmo/core/management/commands/make_theme.py
rdmo/core/management/commands/make_theme.py
Python
<|file_sep|>README.md.diff original: Electrical AMU Android App === updated: # Electrical AMU Android App [![Codacy grade](https://img.shields.io/codacy/grade/f5afb52ee98e43538088a974e5f92b85.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) > ...
# Electrical AMU Android App [![Codacy grade](https://img.shields.io/codacy/grade/f5afb52ee98e43538088a974e5f92b85.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) > The Official Electrical Department, AMU application for Android Devices ![...
<|file_sep|>README.md.diff original: Electrical AMU Android App === updated: # Electrical AMU Android App [![Codacy grade](https://img.shields.io/codacy/grade/f5afb52ee98e43538088a974e5f92b85.svg)]() [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) > ...
6e5f0d3c527c2994156537cd181b41bbadcfe718
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt # Testing and deployment packages. coverage==4.1 pytest==2.9.2 pytest-cov==2.4.0 freezegun==0.3.7 wheel==0.29.0 <|file_sep|>current/requirements.txt # Testing and deployment packages. coverage==4.1 pytest==2.9.2 pytest-cov==2.4.0 freezegun==0.3.7 wheel==0.29.0 <|file_sep|>updated/r...
# Testing and deployment packages. coverage==4.4.1 pytest==2.9.2 pytest-cov==2.4.0 freezegun==0.3.7 wheel==0.29.0
<|file_sep|>original/requirements.txt # Testing and deployment packages. coverage==4.1 pytest==2.9.2 pytest-cov==2.4.0 freezegun==0.3.7 wheel==0.29.0 <|file_sep|>current/requirements.txt # Testing and deployment packages. coverage==4.1 pytest==2.9.2 pytest-cov==2.4.0 freezegun==0.3.7 wheel==0.29.0 <|file_sep|>updated/r...
117b5318f53e6f9e98e99535be18e07b045db873
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.2" - "0.12" - "node" script: "npm run-script test-travis" # Send coverage data to Coveralls after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" <|file_sep|>current/.travis.yml language: node_js node_js: - "4.2" - "0.1...
language: node_js node_js: - "4.2" - "node" script: "npm run-script test-travis" # Send coverage data to Coveralls after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
<|file_sep|>original/.travis.yml language: node_js node_js: - "4.2" - "0.12" - "node" script: "npm run-script test-travis" # Send coverage data to Coveralls after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" <|file_sep|>current/.travis.yml language: node_js node_js: - "4.2" - "0.1...
68d65f7f00d0752bbf69d2e70eb27f06d5593987
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/fixtures/cookbooks/jenkins_slave/recipes/create_jnlp.rb include_recipe 'jenkins_server_wrapper::default' return if docker? # the runit_service resource has issues under Docker # # JNLP # ------------------------------ # Test basic JNLP slave creation jenkins_jnlp_slave 'jnlp-builder' do d...
# # JNLP # ------------------------------ # Test basic JNLP slave creation jenkins_jnlp_slave 'jnlp-builder' do description 'A generic slave builder' remote_fs '/tmp/jenkins/slaves/builder' service_name 'jenkins-slave-builder' usage_mode 'exclusive' labels %w(builder linux) user 'jenkin...
<|file_sep|>original/test/fixtures/cookbooks/jenkins_slave/recipes/create_jnlp.rb include_recipe 'jenkins_server_wrapper::default' return if docker? # the runit_service resource has issues under Docker # # JNLP # ------------------------------ # Test basic JNLP slave creation jenkins_jnlp_slave 'jnlp-builder' do d...
2fbe545e9f9f8071743b0227c5b8dddd1bfcb3fd
test/fixtures/cookbooks/jenkins_slave/recipes/create_jnlp.rb
test/fixtures/cookbooks/jenkins_slave/recipes/create_jnlp.rb
Ruby
<|file_sep|>scuole/stats/models/base.py.diff original: updated: from .postsecondary_readiness import PostSecondaryReadinessBase <|file_sep|>original/scuole/stats/models/base.py @python_2_unicode_compatible class SchoolYear(models.Model): name = models.CharField(max_length=9) def __str__(self): return...
@python_2_unicode_compatible class SchoolYear(models.Model): name = models.CharField(max_length=9) def __str__(self): return self.name class StatsBase(StaffStudentBase, PostSecondaryReadinessBase): """ An abstract model representing stats commonly tracked across all entities in TEA data...
<|file_sep|>scuole/stats/models/base.py.diff original: updated: from .postsecondary_readiness import PostSecondaryReadinessBase <|file_sep|>original/scuole/stats/models/base.py @python_2_unicode_compatible class SchoolYear(models.Model): name = models.CharField(max_length=9) def __str__(self): return...
f2eb45ea24429fd3e4d32a490dbe3f8a2f383d9f
scuole/stats/models/base.py
scuole/stats/models/base.py
Python
<|file_sep|>original/test/controllers/admin_post_comments_controller_test.rb <|file_sep|>current/test/controllers/admin_post_comments_controller_test.rb <|file_sep|>updated/test/controllers/admin_post_comments_controller_test.rb
require 'test_helper' # # == Admin namespace # module Admin # # == HomesController test # class PostCommentsControllerTest < ActionController::TestCase include Devise::TestHelpers setup :initialize_test test 'should redirect to users/sign_in if not logged in' do sign_out @anthony get ...
<|file_sep|>original/test/controllers/admin_post_comments_controller_test.rb <|file_sep|>current/test/controllers/admin_post_comments_controller_test.rb <|file_sep|>updated/test/controllers/admin_post_comments_controller_test.rb require 'test_helper' # # == Admin namespace # module Admin # # == HomesController t...
2b97207f0bb2f83844c2bfa73ed6805ba89b99a0
test/controllers/admin_post_comments_controller_test.rb
test/controllers/admin_post_comments_controller_test.rb
Ruby
<|file_sep|>original/jdk7-oracle/README.md JDK7 (a Docker base image) ========================== Available on the [Docker index] (https://index.docker.io/) **as quintenk/jdk:7** This image contains the latest Oracle Java 7 Development Kit taken from the webupd8team package provider. <|file_sep|>current/jdk7-oracle/RE...
JDK7 (a Docker base image) ========================== Available on the [Docker index] (https://index.docker.io/) **as quintenk/jdk-oracle:7** This image contains the latest Oracle Java 7 Development Kit taken from the webupd8team package provider.
<|file_sep|>original/jdk7-oracle/README.md JDK7 (a Docker base image) ========================== Available on the [Docker index] (https://index.docker.io/) **as quintenk/jdk:7** This image contains the latest Oracle Java 7 Development Kit taken from the webupd8team package provider. <|file_sep|>current/jdk7-oracle/RE...
591fc6bf4a41536bd6ae86b4009f4506b1cb7fe4
jdk7-oracle/README.md
jdk7-oracle/README.md
Markdown
<|file_sep|>original/app/src/home/main.sass @import top-bar @import mist @import member-info @import map @import contact @import footer #content-main display: none overflow: auto &.visible display: block .headline font-size: 4.5rem letter-spacing: .1vw display: block width: 100vw <|file_sep|>curr...
@import top-bar @import mist @import member-info @import map @import contact @import footer #content-main display: none overflow: hidden &.visible display: block .headline font-size: 4.5rem letter-spacing: .1vw display: block width: 100vw
<|file_sep|>original/app/src/home/main.sass @import top-bar @import mist @import member-info @import map @import contact @import footer #content-main display: none overflow: auto &.visible display: block .headline font-size: 4.5rem letter-spacing: .1vw display: block width: 100vw <|file_sep|>curr...
b87a3058f05b9d0659c987a7a0796c8373b4d773
app/src/home/main.sass
app/src/home/main.sass
Sass
<|file_sep|>original/tox.ini [tox] skipsdist=True skip_missing_interpreters = True envlist = py36 py35 py34 py33 [testenv] deps = pytest>=3.0.0 pytest-cov pytest-pep8 pytest-xdist pytest-flakes pytest-mccabe pytest-django -rrequirements.txt commands = <|file_sep|>cur...
[tox] skipsdist=True skip_missing_interpreters = True envlist = py36 py35 py34 [testenv] deps = pytest>=3.0.0 pytest-cov pytest-pep8 pytest-xdist pytest-flakes pytest-mccabe pytest-django -rrequirements.txt commands = pytest --basetemp={envtmpdir} --cache-clear \
<|file_sep|>original/tox.ini [tox] skipsdist=True skip_missing_interpreters = True envlist = py36 py35 py34 py33 [testenv] deps = pytest>=3.0.0 pytest-cov pytest-pep8 pytest-xdist pytest-flakes pytest-mccabe pytest-django -rrequirements.txt commands = <|file_sep|>cur...
17c1b4d2226f2091646090a2f11d074c624ca863
tox.ini
tox.ini
INI
<|file_sep|>index.js.diff original: const overridePath = path.resolve(this.context, options.override); updated: <|file_sep|>index.js.diff original: this.loadModule(overridePath, function(err, overrideSource, sourceMap, module) { if (err) { return callback(err); } updated: if (!!options.override && opti...
if (err) { return callback(err); } const baseObj = JSON.parse(_removeModuleSyntax(source)); const overrideObj = JSON.parse(_removeModuleSyntax(overrideSource)); let mergedModule; if (!!options.baseNamespace && !!options.overrideNamespace) { mergedModule = { ...
<|file_sep|>index.js.diff original: const overridePath = path.resolve(this.context, options.override); updated: <|file_sep|>index.js.diff original: this.loadModule(overridePath, function(err, overrideSource, sourceMap, module) { if (err) { return callback(err); } updated: if (!!options.override && opti...
6264e39117c4563dd463fa672df0c875dc41ed17
index.js
index.js
JavaScript
<|file_sep|>mk-gh-pages.sh.diff original: #!/bin/sh updated: #!/bin/bash <|file_sep|>mk-gh-pages.sh.diff original: updated: cat << EOF > template.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>@@filename@@</title> ...
if [ ! -d "$SYNTH_PG_ROOT" ]; then SYNTH_PG_ROOT="$SYNTH_BIN_ROOT/../synth-pages" fi cd "$SYNTH_SRC_ROOT" SRC_REV=`git rev-parse HEAD` cd "$SYNTH_PG_ROOT" rm -r * || echo "Nothing to remove." "$SYNTH_BIN_ROOT/src/synth" \ "$SYNTH_SRC_ROOT" "$LLVM_LIB_ROOT" -o lib-llvm/ \ --doxytags "$STDTAGS" http://e...
<|file_sep|>mk-gh-pages.sh.diff original: #!/bin/sh updated: #!/bin/bash <|file_sep|>mk-gh-pages.sh.diff original: updated: cat << EOF > template.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>@@filename@@</title> ...
f4bb576d22108fdfd65bb8f0796cce4aa84349a6
mk-gh-pages.sh
mk-gh-pages.sh
Shell
<|file_sep|>original/test/Transforms/LoopVectorize/loop-vect-memdep.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; RUN: opt < %s -S -loop-vectorize -debug-only=loop-vectorize 2>&1 | FileCheck %s ; CHECK: LV: Can't vectorize due to memory conflicts define void @test_loop_novect(double** %arr, i64 %n...
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; RUN: opt < %s -S -loop-vectorize -debug-only=loop-vectorize 2>&1 | FileCheck %s ; REQUIRES: asserts ; CHECK: LV: Can't vectorize due to memory conflicts define void @test_loop_novect(double** %arr, i64 %n) { for.body.lr.ph: %t = load double** %arr, align...
<|file_sep|>original/test/Transforms/LoopVectorize/loop-vect-memdep.ll target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; RUN: opt < %s -S -loop-vectorize -debug-only=loop-vectorize 2>&1 | FileCheck %s ; CHECK: LV: Can't vectorize due to memory conflicts define void @test_loop_novect(double** %arr, i64 %n...
25903ef9bc9b7f13a7ad047fa90455d2adad82d6
test/Transforms/LoopVectorize/loop-vect-memdep.ll
test/Transforms/LoopVectorize/loop-vect-memdep.ll
LLVM
<|file_sep|>src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java.diff original: import org.springframework.beans.factory.annotation.Autowired; updated: <|file_sep|>src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java.diff original: @Autowired private freemarker.template.Configuration conf...
import org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; @Configuration public class FreemarkerConfig extends FreeMarkerAutoConfiguration { ...
<|file_sep|>src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java.diff original: import org.springframework.beans.factory.annotation.Autowired; updated: <|file_sep|>src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java.diff original: @Autowired private freemarker.template.Configuration conf...
45e79a5a968948d2f131a38060309d9acedb3af4
src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java
src/main/java/org/synyx/urlaubsverwaltung/FreemarkerConfig.java
Java
<|file_sep|>original/backend/solidus_backend.gemspec s.required_ruby_version = '>= 2.1.0' s.author = 'Solidus Team' s.email = 'contact@solidus.io' s.homepage = 'http://solidus.io' s.rubyforge_project = 'solidus_backend' s.files = `git ls-files`.split("\n") s.require_path = 'lib' s...
s.required_ruby_version = '>= 2.1.0' s.author = 'Solidus Team' s.email = 'contact@solidus.io' s.homepage = 'http://solidus.io' s.rubyforge_project = 'solidus_backend' s.files = `git ls-files`.split("\n") s.require_path = 'lib' s.requirements << 'none' s.add_dependency 'solidus_...
<|file_sep|>original/backend/solidus_backend.gemspec s.required_ruby_version = '>= 2.1.0' s.author = 'Solidus Team' s.email = 'contact@solidus.io' s.homepage = 'http://solidus.io' s.rubyforge_project = 'solidus_backend' s.files = `git ls-files`.split("\n") s.require_path = 'lib' s...
8eefca479ddb721245dbb4caae94039a43ac49e7
backend/solidus_backend.gemspec
backend/solidus_backend.gemspec
Ruby
<|file_sep|>original/metadata/de.vanitasvitae.enigmandroid.txt * Authentic Rotors * Ringsettings * Double Step Anomaly More Information about the historical Enigma can be found on [https://en.wikipedia.org/wiki/Enigma_machine Wikipedia]. . Repo Type:git Repo:https://github.com/vanitasvitae/EnigmAndroid Build:0.1.1-1...
* Authentic Rotors * Ringsettings * Double Step Anomaly More Information about the historical Enigma can be found on [https://en.wikipedia.org/wiki/Enigma_machine Wikipedia]. . Repo Type:git Repo:https://github.com/vanitasvitae/EnigmAndroid Build:0.1.1-18.02.2015-beta,6 commit=707cdfcff66aababce83af1769ba9d85270...
<|file_sep|>original/metadata/de.vanitasvitae.enigmandroid.txt * Authentic Rotors * Ringsettings * Double Step Anomaly More Information about the historical Enigma can be found on [https://en.wikipedia.org/wiki/Enigma_machine Wikipedia]. . Repo Type:git Repo:https://github.com/vanitasvitae/EnigmAndroid Build:0.1.1-1...
54184855a2b2bebfc7ef8fab28e874eb622e9edb
metadata/de.vanitasvitae.enigmandroid.txt
metadata/de.vanitasvitae.enigmandroid.txt
Text
<|file_sep|>original/libevmjit/CMakeLists.txt file(GLOB HEADERS "*.h") set(INTERFACE_HEADERS interface.h) source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTI...
file(GLOB HEADERS "*.h") set(INTERFACE_HEADERS interface.h) source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti) endif() add_libra...
<|file_sep|>original/libevmjit/CMakeLists.txt file(GLOB HEADERS "*.h") set(INTERFACE_HEADERS interface.h) source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTI...
8fd55c02fcfe35881fd58ae3c5bc22b67ba2ed2e
libevmjit/CMakeLists.txt
libevmjit/CMakeLists.txt
Text
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender...
<|file_sep|>original/CODE_OF_CONDUCT.md <|file_sep|>current/CODE_OF_CONDUCT.md <|file_sep|>updated/CODE_OF_CONDUCT.md # Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project ...
2f2ca4409f824e750ec3de91c33f7bcb838461b5
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
Markdown
<|file_sep|>syntax/ansible_hosts.vim.diff original: syn region hostsHeader start="^\s*\[" end="\]" updated: syn region hostsHeader start="\v^\s*\[" end="\v\]" <|file_sep|>original/syntax/ansible_hosts.vim if exists("b:current_syntax") finish endif syn case ignore syn match hostsFirstWord "\v^\S+"...
if exists("b:current_syntax") finish endif syn case ignore syn match hostsFirstWord "\v^\S+" syn match hostsAttributes "\v\S*\=" syn region hostsHeader start="\v^\s*\[" end="\v\]" syn keyword hostsHeaderSpecials children vars containedin=hostsHeader contained syn match hostsComment "\v^[#;].*...
<|file_sep|>syntax/ansible_hosts.vim.diff original: syn region hostsHeader start="^\s*\[" end="\]" updated: syn region hostsHeader start="\v^\s*\[" end="\v\]" <|file_sep|>original/syntax/ansible_hosts.vim if exists("b:current_syntax") finish endif syn case ignore syn match hostsFirstWord "\v^\S+"...
8d620c6b37252eb9629fe2d3996cc593005bf5ff
syntax/ansible_hosts.vim
syntax/ansible_hosts.vim
VimL
<|file_sep|>original/src/main/resources/scripts/create-index.js <|file_sep|>current/src/main/resources/scripts/create-index.js <|file_sep|>updated/src/main/resources/scripts/create-index.js
db.apis.createIndex( { "visibility" : 1 } ); db.apis.createIndex( { "group" : 1 } ); db.applications.createIndex( { "group" : 1 } ); db.events.createIndex( { "type" : 1 } ); db.events.createIndex( { "updatedAt" : 1 } ); db.events.createIndex( { "properties.api_id" : 1 } ); db.plans.createIndex( { "apis" : 1 } ); db.sub...
<|file_sep|>original/src/main/resources/scripts/create-index.js <|file_sep|>current/src/main/resources/scripts/create-index.js <|file_sep|>updated/src/main/resources/scripts/create-index.js db.apis.createIndex( { "visibility" : 1 } ); db.apis.createIndex( { "group" : 1 } ); db.applications.createIndex( { "group" : 1 ...
a8fa754a1644e9cf4203275656acc97b82d954db
src/main/resources/scripts/create-index.js
src/main/resources/scripts/create-index.js
JavaScript
<|file_sep|>original/src/Examples/MyStudio/ViewModels/RibbonViewModel.cs ICommandsService commandsService) { Argument.IsNotNull(() => model); Argument.IsNotNull(() => commandsService); this.model = model; this.commandsService = commandsService; ...
ICommandsService commandsService) { Argument.IsNotNull(() => model); Argument.IsNotNull(() => commandsService); this.model = model; this.commandsService = commandsService; } public Command StartCommand { get ...
<|file_sep|>original/src/Examples/MyStudio/ViewModels/RibbonViewModel.cs ICommandsService commandsService) { Argument.IsNotNull(() => model); Argument.IsNotNull(() => commandsService); this.model = model; this.commandsService = commandsService; ...
ccb9b07f5752573c6f8d063e1e9946c96e0263fb
src/Examples/MyStudio/ViewModels/RibbonViewModel.cs
src/Examples/MyStudio/ViewModels/RibbonViewModel.cs
C#
<|file_sep|>.travis.yml.diff original: updated: go: - 1.7.x <|file_sep|>original/.travis.yml artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go ...
artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go get github.com/urfave/cli - go get github.com/elazarl/go-bindata-assetfs/... - go get github.c...
<|file_sep|>.travis.yml.diff original: updated: go: - 1.7.x <|file_sep|>original/.travis.yml artifacts: paths: - maputnik install: - nvm install 6 - nvm use 6 - go get github.com/fsnotify/fsnotify - go get github.com/gorilla/handlers - go get github.com/gorilla/mux - go get github.com/gorilla/websocket - go ...
de853eb2d77880a446575230303dbaeaa5309b40
.travis.yml
.travis.yml
YAML
<|file_sep|>dist/leaflet.draw.ie.css.diff original: updated: .leaflet-draw-actions { left: 32px; margin-top: 3px; } <|file_sep|>original/dist/leaflet.draw.ie.css /* Conditional stylesheet for IE. */ .leaflet-draw-toolbar { border: 3px solid #999; } .leaflet-draw-toolbar a { background-color: #eee; } .leaflet-d...
} .leaflet-draw-actions { left: 32px; margin-top: 3px; } .leaflet-edit-marker-selected { border: 4px dashed #fe93c2; } .leaflet-draw-actions a { background-color: #999; } .leaflet-draw-actions a:hover { background-color: #a5a5a5; } .leaflet-draw-actions-top a { margin-top: 1px;
<|file_sep|>dist/leaflet.draw.ie.css.diff original: updated: .leaflet-draw-actions { left: 32px; margin-top: 3px; } <|file_sep|>original/dist/leaflet.draw.ie.css /* Conditional stylesheet for IE. */ .leaflet-draw-toolbar { border: 3px solid #999; } .leaflet-draw-toolbar a { background-color: #eee; } .leaflet-d...
638302e5aa5cb33df7609f2fbf9927f8c54e9c15
dist/leaflet.draw.ie.css
dist/leaflet.draw.ie.css
CSS
<|file_sep|>app/src/home/contact.js.diff original: document.addEventListener('DOMContentLoaded', () => { updated: function submit() { <|file_sep|>app/src/home/contact.js.diff original: updated: // Read URL and HTTP method from the attributes on the <form> element const submitURL = contactForm.getAttribute('action...
// Read data from the form for easy POSTing const data = new FormData(contactForm); // Perform a POST request manually instead of using a submit button. This way, the submission // can happen in the background, and the user does not have to be redirected. fetch(submitURL, { method: submitMethod, body: data }...
<|file_sep|>app/src/home/contact.js.diff original: document.addEventListener('DOMContentLoaded', () => { updated: function submit() { <|file_sep|>app/src/home/contact.js.diff original: updated: // Read URL and HTTP method from the attributes on the <form> element const submitURL = contactForm.getAttribute('action...
97e14bcf5f0eca4b1edaa70cfe01ddeb32dfba3f
app/src/home/contact.js
app/src/home/contact.js
JavaScript
<|file_sep|>original/init/50_ruby.sh # Opt-out of installing Ruby. [[ "$no_ruby" ]] && return 1 # Initialize rbenv. source ~/.dotfiles/source/50_ruby.sh # Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.1.3 2.0.0-p576 1.9.3-p547) list="$(to_install "${versions[*]}" "$(rbenv whence ruby)")" if [[ "$...
# Opt-out of installing Ruby. [[ "$no_ruby" ]] && return 1 # Initialize rbenv. source ~/.dotfiles/source/50_ruby.sh # Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.1.3) # 2.0.0-p576 1.9.3-p547) list="$(to_install "${versions[*]}" "$(rbenv whence ruby)")" if [[ "$list" ]]; then e_header "Insta...
<|file_sep|>original/init/50_ruby.sh # Opt-out of installing Ruby. [[ "$no_ruby" ]] && return 1 # Initialize rbenv. source ~/.dotfiles/source/50_ruby.sh # Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.1.3 2.0.0-p576 1.9.3-p547) list="$(to_install "${versions[*]}" "$(rbenv whence ruby)")" if [[ "$...
1d71a7c6f9a9d58e4d077e9afeb8c00eb3d3eadf
init/50_ruby.sh
init/50_ruby.sh
Shell
<|file_sep|>original/chrome/installer/tools/shortcut_properties.py <|file_sep|>current/chrome/installer/tools/shortcut_properties.py <|file_sep|>updated/chrome/installer/tools/shortcut_properties.py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Dumps a Windows shortcut's property bag to stdout. This is required to confirm correctness of properties that aren't readily available in Windows UI. """...
<|file_sep|>original/chrome/installer/tools/shortcut_properties.py <|file_sep|>current/chrome/installer/tools/shortcut_properties.py <|file_sep|>updated/chrome/installer/tools/shortcut_properties.py # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style licens...
4eb18bb737cd878fb684d7ce4a0718ff88a1238d
chrome/installer/tools/shortcut_properties.py
chrome/installer/tools/shortcut_properties.py
Python
<|file_sep|>data-structures/trees/binary/node.h.diff original: updated: Node<T> *parent; <|file_sep|>original/data-structures/trees/binary/node.h #ifndef _NODE_H_ #define _NODE_H_ template <class T> struct Node { T data; Node<T> *left; Node<T> *right; Node(const T& data, Node<T> *left = nullptr, Node<T> *right ...
#ifndef _NODE_H_ #define _NODE_H_ template <class T> struct Node { T data; Node<T> *left; Node<T> *right; Node<T> *parent; Node(const T& data, Node<T> *left = nullptr, Node<T> *right = nullptr, Node<T> *parent = nullptr) : data(data), left(left), right(right), parent(parent) {} }; #endif // _NODE_H_
<|file_sep|>data-structures/trees/binary/node.h.diff original: updated: Node<T> *parent; <|file_sep|>original/data-structures/trees/binary/node.h #ifndef _NODE_H_ #define _NODE_H_ template <class T> struct Node { T data; Node<T> *left; Node<T> *right; Node(const T& data, Node<T> *left = nullptr, Node<T> *right ...
8f26097bd78e456b9cb090803263f3f50b513076
data-structures/trees/binary/node.h
data-structures/trees/binary/node.h
C
<|file_sep|>src/main/scala/com/codacy/client/stash/Commit.scala.diff original: case class Commit(hash: String, authorName: String, parents: Option[Seq[String]], authorTimestamp: DateTime, message: String) updated: case class Commit(hash: String, authorName: String, parents: Option[List[Parent]], authorTimestamp: DateTi...
import org.joda.time.DateTime import play.api.libs.functional.syntax._ import play.api.libs.json._ case class Commit(hash: String, authorName: String, parents: Option[List[Parent]], authorTimestamp: DateTime, message: String) object Commit { implicit val reader: Reads[Commit] = ( (__ \ "id").read[String] and ...
<|file_sep|>src/main/scala/com/codacy/client/stash/Commit.scala.diff original: case class Commit(hash: String, authorName: String, parents: Option[Seq[String]], authorTimestamp: DateTime, message: String) updated: case class Commit(hash: String, authorName: String, parents: Option[List[Parent]], authorTimestamp: DateTi...
1189e0e546592956384301699f5aaa4e7d939849
src/main/scala/com/codacy/client/stash/Commit.scala
src/main/scala/com/codacy/client/stash/Commit.scala
Scala
<|file_sep|>original/tests/test_crypto.py <|file_sep|>current/tests/test_crypto.py <|file_sep|>updated/tests/test_crypto.py
from __future__ import absolute_import, division, print_function, unicode_literals import os import base64 import credsmash.aes_ctr import credsmash.aes_gcm class DummyKeyService(object): def generate_key_data(self, number_of_bytes): key = os.urandom(int(number_of_bytes)) return key, base64.b64en...
<|file_sep|>original/tests/test_crypto.py <|file_sep|>current/tests/test_crypto.py <|file_sep|>updated/tests/test_crypto.py from __future__ import absolute_import, division, print_function, unicode_literals import os import base64 import credsmash.aes_ctr import credsmash.aes_gcm class DummyKeyService(object): ...
1245e0aeaf5cd37e6f6c5c0feddbedededd3a458
tests/test_crypto.py
tests/test_crypto.py
Python
<|file_sep|>original/config/software/ganeti-common-haskell.rb name "ganeti-common-haskell" dependency 'ghc-crypto' dependency 'ghc-base64-bytestring' dependency 'ghc-curl' dependency 'ghc-hinotify' dependency 'ghc-json' dependency 'ghc-network' dependency 'ghc-hslogger' dependency 'ghc-regex-pcre' dependency 'ghc-atto...
name "ganeti-common-haskell" dependency 'cabal-install' dependency 'ganeti-haskell' #dependency 'ghc-crypto' #dependency 'ghc-base64-bytestring' #dependency 'ghc-curl' #dependency 'ghc-hinotify' #dependency 'ghc-json' #dependency 'ghc-network' #dependency 'ghc-hslogger' #dependency 'ghc-regex-pcre' #dependency 'ghc-at...
<|file_sep|>original/config/software/ganeti-common-haskell.rb name "ganeti-common-haskell" dependency 'ghc-crypto' dependency 'ghc-base64-bytestring' dependency 'ghc-curl' dependency 'ghc-hinotify' dependency 'ghc-json' dependency 'ghc-network' dependency 'ghc-hslogger' dependency 'ghc-regex-pcre' dependency 'ghc-atto...
62691f2db2b24fe1e5c2264b5b968f26b324bed8
config/software/ganeti-common-haskell.rb
config/software/ganeti-common-haskell.rb
Ruby
<|file_sep|>lib/ghpreview/instant_markdown_d/viewer.rb.diff original: updated: <|file_sep|>lib/ghpreview/instant_markdown_d/viewer.rb.diff original: `xdg-open http://#{host}:#{port}/` updated: command = if RUBY_PLATFORM =~ /linux/ 'xdg-open' else ...
module GHPreview module InstantMarkdownD class Viewer def self.open_url(host, port) command = if RUBY_PLATFORM =~ /linux/ 'xdg-open' else 'open' end `#{command} http://#{host}:#{port}` end end end end
<|file_sep|>lib/ghpreview/instant_markdown_d/viewer.rb.diff original: updated: <|file_sep|>lib/ghpreview/instant_markdown_d/viewer.rb.diff original: `xdg-open http://#{host}:#{port}/` updated: command = if RUBY_PLATFORM =~ /linux/ 'xdg-open' else ...
580ce902a1edfd75327826198486572b86b75e6c
lib/ghpreview/instant_markdown_d/viewer.rb
lib/ghpreview/instant_markdown_d/viewer.rb
Ruby
<|file_sep|>test/test_feature_definitions.rb.diff original: class Features < FeatureDefinitions define_feature :AWESOME do |context| context.is_awesome? updated: class TestFeatureDefinitions < MiniTest::Unit::TestCase def test_feature_definition feature_class = Class.new(FeatureDefinitions) do define_...
assert @feature_class.AWESOME.enabled? end def test_feature_disabled @feature_class.context = OpenStruct.new(is_awesome?: false) refute @feature_class.AWESOME.enabled? end def test_feature_toggle @feature_class.context = OpenStruct.new(is_awesome?: true) assert @feature_class.AWESOME.enabled...
<|file_sep|>test/test_feature_definitions.rb.diff original: class Features < FeatureDefinitions define_feature :AWESOME do |context| context.is_awesome? updated: class TestFeatureDefinitions < MiniTest::Unit::TestCase def test_feature_definition feature_class = Class.new(FeatureDefinitions) do define_...
70bbcb596c72e37a1f4c8ac0739595db73434af0
test/test_feature_definitions.rb
test/test_feature_definitions.rb
Ruby
<|file_sep|>app/views/review_lines/_edit.html.haml.diff original: updated: = f.text_field :unit <|file_sep|>original/app/views/review_lines/_edit.html.haml = hidden_field_tag :person_id, @topic.mis_id .review_scores %table %tr %td Quality %td= f.select :quality, 0..10 %td Punc...
.review_scores = f.text_field :unit %table %tr %td Quality %td= f.select :quality, 0..10 %td Punctuality %td= f.select :punctuality, 0..10 %tr %td Attitude %td= f.select :attitude, 0..10 %td Completion %td= f.select :completion, 0..10...
<|file_sep|>app/views/review_lines/_edit.html.haml.diff original: updated: = f.text_field :unit <|file_sep|>original/app/views/review_lines/_edit.html.haml = hidden_field_tag :person_id, @topic.mis_id .review_scores %table %tr %td Quality %td= f.select :quality, 0..10 %td Punc...
ab5f82135c9e09dd1651ff5177b15d007835efd7
app/views/review_lines/_edit.html.haml
app/views/review_lines/_edit.html.haml
Haml
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Fri Nov 27 23:09:32 CET 2015 updated: #Sun May 14 09:45:30 CDT 2017 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Fri Nov 27 23:09:32 CET 2015 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_H...
#Sun May 14 09:45:30 CDT 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff original: #Fri Nov 27 23:09:32 CET 2015 updated: #Sun May 14 09:45:30 CDT 2017 <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Fri Nov 27 23:09:32 CET 2015 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_H...
388be453e05dd04cb9daa1fedc0ea1ffeeffe8f7
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st <|file_sep|>current/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st <|file_sep|>updated/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20...
'From Cuis 5.0 [latest update: #4784] on 21 August 2021 at 8:10:52 pm'! !HierarchicalListMorph methodsFor: 'private' stamp: 'jmv 11/14/2011 10:40'! addSubmorphsAfter: parentMorph fromCollection: aCollection allowSorting: sortBoolean | priorMorph morphList newCollection | priorMorph _ nil. newCollection _ (sortBool...
<|file_sep|>original/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st <|file_sep|>current/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st <|file_sep|>updated/CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20...
c4e0c39f0f0e27ee7cae5fe22b38e75d9da9e2d3
CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st
CoreUpdates/4785-RollbackFileListBreakageIn4775-JuanVuletich-2021Aug21-20h10m-jmv.001.cs.st
Smalltalk
<|file_sep|>original/rails_event_store/spec/support/test_application.rb require 'action_controller/railtie' require 'rails_event_store/railtie' require 'securerandom' class TestApplication < Rails::Application config.eager_load = false config.secret_key_base = SecureRandom.hex(16) config.event_store = RailsEvent...
require 'action_controller/railtie' require 'rails_event_store/railtie' require 'securerandom' class TestApplication < Rails::Application config.hosts = nil config.eager_load = false config.secret_key_base = SecureRandom.hex(16) config.event_store = RailsEventStore::Client.new initialize! routes.default_ur...
<|file_sep|>original/rails_event_store/spec/support/test_application.rb require 'action_controller/railtie' require 'rails_event_store/railtie' require 'securerandom' class TestApplication < Rails::Application config.eager_load = false config.secret_key_base = SecureRandom.hex(16) config.event_store = RailsEvent...
76637a4b863ae62f4b913ae79ca0219653df22a1
rails_event_store/spec/support/test_application.rb
rails_event_store/spec/support/test_application.rb
Ruby
<|file_sep|>original/Fix/fix_update.sh <|file_sep|>current/Fix/fix_update.sh <|file_sep|>updated/Fix/fix_update.sh
!/bin/bash #Copyright © 2014 Damian Majchrzak (DamiaX) #http://damiax.github.io/kernelup/ #Fix system update in KernelUP 0.3.* if [ "$(id -u)" != "0" ]; then echo "Root permissions are required." 1>&2 exit 1 fi } sed -i 's@-le@-eq@g' /usr/local/sbin/kernelup*
<|file_sep|>original/Fix/fix_update.sh <|file_sep|>current/Fix/fix_update.sh <|file_sep|>updated/Fix/fix_update.sh !/bin/bash #Copyright © 2014 Damian Majchrzak (DamiaX) #http://damiax.github.io/kernelup/ #Fix system update in KernelUP 0.3.* if [ "$(id -u)" != "0" ]; then echo "Root permissions are required." 1>&2...
9596e5b1cabd52851089868510cebdc268a3e514
Fix/fix_update.sh
Fix/fix_update.sh
Shell
<|file_sep|>original/db/migrate/20190207175604_drop_featured_profile_translations.rb class DropFeaturedProfileTranslations < ActiveRecord::Migration[5.2] def change # drop_table :featured_profile_translations end end <|file_sep|>current/db/migrate/20190207175604_drop_featured_profile_translations.rb class DropF...
class DropFeaturedProfileTranslations < ActiveRecord::Migration[5.2] def change drop_table :featured_profile_translations end end
<|file_sep|>original/db/migrate/20190207175604_drop_featured_profile_translations.rb class DropFeaturedProfileTranslations < ActiveRecord::Migration[5.2] def change # drop_table :featured_profile_translations end end <|file_sep|>current/db/migrate/20190207175604_drop_featured_profile_translations.rb class DropF...
85588c8333ab9db135b483c9bd4d126e5b76de92
db/migrate/20190207175604_drop_featured_profile_translations.rb
db/migrate/20190207175604_drop_featured_profile_translations.rb
Ruby
<|file_sep|>original/app/views/tools/index.html.erb <h1>Nested Resources for All Tools</h1> <% @tools.each do |tool| %> <ul> <li><%= link_to tool.name, tool_path(tool.id) %> | <%= link_to "Show Resources (refactor with AJAX)", tool_path(tool.id), :class => 'btn-tools' %> | <%= link_to "Add Resource (AJAX)", new_...
<h1>Nested Resources for All Tools</h1> <% @tools.each do |tool| %> <ul> <li><%= link_to tool.name, tool_path(tool.id) %> | <%= link_to "Show Resources (refactor with AJAX)", tool_path(tool.id), :class => 'btn-tools' %> | <%= link_to "Add Resource (AJAX)", new_resource_path(@resource), :class => 'btn-resources' ...
<|file_sep|>original/app/views/tools/index.html.erb <h1>Nested Resources for All Tools</h1> <% @tools.each do |tool| %> <ul> <li><%= link_to tool.name, tool_path(tool.id) %> | <%= link_to "Show Resources (refactor with AJAX)", tool_path(tool.id), :class => 'btn-tools' %> | <%= link_to "Add Resource (AJAX)", new_...
b5f0d686f178343bd9b465211d4112b2fcb14695
app/views/tools/index.html.erb
app/views/tools/index.html.erb
HTML+ERB
<|file_sep|>original/app/routes/twilio.coffee module.exports = (app) -> Game = app.get 'game' hook = twilio.webhook validate: false app.get '/twilio/voice', hook, (req, res) -> twiml = new twilio.TwimlResponse if req.param('To') == reset return Game.create req.param('To'), (err, game) -> ...
module.exports = (app) -> Game = app.get 'game' hook = twilio.webhook validate: false app.get '/twilio/voice', hook, (req, res) -> twiml = new twilio.TwimlResponse if req.param('To') == reset return Game.create req.param('From'), (err, game) -> twiml.say "New game ready to play!" ...
<|file_sep|>original/app/routes/twilio.coffee module.exports = (app) -> Game = app.get 'game' hook = twilio.webhook validate: false app.get '/twilio/voice', hook, (req, res) -> twiml = new twilio.TwimlResponse if req.param('To') == reset return Game.create req.param('To'), (err, game) -> ...
b1baf5e8e01f9d279eff53ba0b36cadc17973b2c
app/routes/twilio.coffee
app/routes/twilio.coffee
CoffeeScript
<|file_sep|>original/terraform/state_machine.tf resource "aws_sfn_state_machine" "check_in" { name = "sw-check-in" role_arn = "${aws_iam_role.state_machine.arn}" definition = <<EOF { "Comment": "Checks in a Southwest reservation", "StartAt": "ScheduleCheckIn", "States": { "ScheduleCheckIn": { ...
resource "aws_sfn_state_machine" "check_in" { name = "check-in" role_arn = "${aws_iam_role.state_machine.arn}" definition = <<EOF { "Comment": "Checks in a Southwest reservation", "StartAt": "ScheduleCheckIn", "States": { "ScheduleCheckIn": { "Type": "Task", "Resource": "${aws_lambda_fu...
<|file_sep|>original/terraform/state_machine.tf resource "aws_sfn_state_machine" "check_in" { name = "sw-check-in" role_arn = "${aws_iam_role.state_machine.arn}" definition = <<EOF { "Comment": "Checks in a Southwest reservation", "StartAt": "ScheduleCheckIn", "States": { "ScheduleCheckIn": { ...
59b86e61de9e01ab13983b62d186d90cba46d329
terraform/state_machine.tf
terraform/state_machine.tf
HCL
<|file_sep|>web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java.diff original: return applicationInstance.getRejectCommand(); updated: return applicationInstance.getAllowCommand(); <|file_sep|>original/web/src/main/java/com/intuso/housemate/web/clien...
public void setApplicationInstance(GWTProxyApplicationInstance applicationInstance) { this.applicationInstance = applicationInstance; setValue(applicationInstance.getStatusValue()); } @Override protected boolean isTrue() { return applicationInstance.getStatus() == com.intuso.ho...
<|file_sep|>web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java.diff original: return applicationInstance.getRejectCommand(); updated: return applicationInstance.getAllowCommand(); <|file_sep|>original/web/src/main/java/com/intuso/housemate/web/clien...
f61aec81af69ffbb1f3d5d496b1d3b6895edcc64
web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java
web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java
Java
<|file_sep|>original/README.md # Player Join Handler A BZFlag plug-in that keeps track of player sessions and automatically moves players to the observer team if a match is active on the server and they are either unverified or they were not already previously on the server within `_rejoinTime` seconds. ## Author Vl...
# Player Join Handler ![Minimum BZFlag Version](https://img.shields.io/badge/BZFlag-v2.4.0+-blue.svg) A BZFlag plug-in that keeps track of player sessions and automatically moves players to the observer team if a match is active on the server and they are either unverified or they were not already previously on the se...
<|file_sep|>original/README.md # Player Join Handler A BZFlag plug-in that keeps track of player sessions and automatically moves players to the observer team if a match is active on the server and they are either unverified or they were not already previously on the server within `_rejoinTime` seconds. ## Author Vl...
e6df413465e44b5ec4f333a12ffabd2fdfc22cd6
README.md
README.md
Markdown
<|file_sep|>module/tests/automated.js.diff original: /* global module, asyncTest, ok, start */ updated: /* global module, asyncTest, ok, start, $, forge */ <|file_sep|>module/tests/automated.js.diff original: if (window.location.hostname == "toolkit-local.com") { ok(true, "Expected 'toolkit-local.com'"); up...
asyncTest("Test that content is being served from localhost", 1, function () { if (window.location.hostname == "localhost") { ok(true, "Expected 'localhost'"); start(); } else { ok(false, "Expected 'localhost', got: " + window.location.hostname); start(); } }); var numreque...
<|file_sep|>module/tests/automated.js.diff original: /* global module, asyncTest, ok, start */ updated: /* global module, asyncTest, ok, start, $, forge */ <|file_sep|>module/tests/automated.js.diff original: if (window.location.hostname == "toolkit-local.com") { ok(true, "Expected 'toolkit-local.com'"); up...
8d63b47a04d3841e89a359928f9ad27c214822ed
module/tests/automated.js
module/tests/automated.js
JavaScript
<|file_sep|>original/lib/tugboat/middleware/list_droplets.rb ocean = env['barge'] verify_credentials(ocean) droplet_list = get_droplet_list ocean has_one = false droplet_list.each do |droplet| has_one = true if droplet.private_ip_address privat...
ocean = env['barge'] verify_credentials(ocean) droplet_list = get_droplet_list ocean has_one = false droplet_list.each do |droplet| has_one = true private_addr = droplet.networks.v4.detect { |address| address.type == 'private' } if private_addr ...
<|file_sep|>original/lib/tugboat/middleware/list_droplets.rb ocean = env['barge'] verify_credentials(ocean) droplet_list = get_droplet_list ocean has_one = false droplet_list.each do |droplet| has_one = true if droplet.private_ip_address privat...
b4bdb3511662ea573c8c9a9e18972f96bc15ff21
lib/tugboat/middleware/list_droplets.rb
lib/tugboat/middleware/list_droplets.rb
Ruby
<|file_sep|>original/src/constants.js var pythonMirror = process.env.npm_config_python_mirror || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/' var buildTools = { installerName: 'BuildTools_Full.exe', installerUrl: 'http://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b23...
var pythonMirror = process.env.npm_config_python_mirror || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/' var buildTools = { installerName: 'BuildTools_Full.exe', installerUrl: 'https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe', lo...
<|file_sep|>original/src/constants.js var pythonMirror = process.env.npm_config_python_mirror || process.env.PYTHON_MIRROR || 'https://www.python.org/ftp/python/' var buildTools = { installerName: 'BuildTools_Full.exe', installerUrl: 'http://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b23...
9835d33e68f2cb5e4d148e954bb3ed0221d98e90
src/constants.js
src/constants.js
JavaScript
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.3.5 gunicorn==19.6.0 # Static and Media Storage # -------------------------...
# Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.3.5 gunicorn==19.8.1 # Static and Media Storage # ------------------------------------------------ boto3==1.4.7 django-stora...
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. Avoid dependencies in # production that aren't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.3.5 gunicorn==19.6.0 # Static and Media Storage # -------------------------...
1be01139930dba7c2a7254a3d7f67f498671f545
requirements/production.txt
requirements/production.txt
Text
<|file_sep|>original/includes/templates/simple.tpl <title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/mini-default.min.css" /> </head> <body> <main> <h1>{$page_title}</h1> ...
<title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/mini-default.min.css" /> </head> <body> <main> <h1>{$page_title}</h1> <article id="search"> <form method="get" action="/search/"> ...
<|file_sep|>original/includes/templates/simple.tpl <title>{$browser_title}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/mini-default.min.css" /> </head> <body> <main> <h1>{$page_title}</h1> ...
4096fb8c0d55b0e7b7fd273438d035dd54ec2332
includes/templates/simple.tpl
includes/templates/simple.tpl
Smarty
<|file_sep|>original/pygments/styles/igor.py <|file_sep|>current/pygments/styles/igor.py <|file_sep|>updated/pygments/styles/igor.py
from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Generic class IgorStyle(Style): default_style = "" styles = { Comment: 'italic #FF0000', Keyword: '#0000FF', Name.Function: ...
<|file_sep|>original/pygments/styles/igor.py <|file_sep|>current/pygments/styles/igor.py <|file_sep|>updated/pygments/styles/igor.py from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Generic class IgorStyle(Style): default_style = "" s...
a7d8442482b7862b96adf3c8f40015072221f600
pygments/styles/igor.py
pygments/styles/igor.py
Python
<|file_sep|>omniauth_tictail.gemspec.diff original: spec.name = 'omniauth_tictail' updated: spec.name = 'omniauth-tictail' <|file_sep|>original/omniauth_tictail.gemspec require 'omniauth_tictail/version' Gem::Specification.new do |spec| spec.authors = ['Andrew Chernysh'] spec.email ...
lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'omniauth_tictail/version' Gem::Specification.new do |spec| spec.authors = ['Andrew Chernysh'] spec.email = ['andriy@kitcrm.com'] spec.description = 'OmniAuth strategy for Tictail' spec.su...
<|file_sep|>omniauth_tictail.gemspec.diff original: spec.name = 'omniauth_tictail' updated: spec.name = 'omniauth-tictail' <|file_sep|>original/omniauth_tictail.gemspec require 'omniauth_tictail/version' Gem::Specification.new do |spec| spec.authors = ['Andrew Chernysh'] spec.email ...
32613701cd8129231a757ef1672d1518eced2cc3
omniauth_tictail.gemspec
omniauth_tictail.gemspec
Ruby
<|file_sep|>original/community/__init__.py """ This package implements community detection. Package name is community but refer to python-louvain on pypi """ from .community_louvain import ( partition_at_level, modularity, best_partition, generate_dendrogram, induced_graph, load_binary, ) __...
""" This package implements community detection. Package name is community but refer to python-louvain on pypi """ from .community_louvain import ( partition_at_level, modularity, best_partition, generate_dendrogram, induced_graph, load_binary, ) __version__ = "0.10" __author__ = """Thomas Ay...
<|file_sep|>original/community/__init__.py """ This package implements community detection. Package name is community but refer to python-louvain on pypi """ from .community_louvain import ( partition_at_level, modularity, best_partition, generate_dendrogram, induced_graph, load_binary, ) __...
cb161eb1cc66c520a81026798112fb13d0cd0e50
community/__init__.py
community/__init__.py
Python
<|file_sep|>original/backend/app/views/spree/admin/shared/_product_sub_menu.html.erb <ul class="admin-subnav" data-hook="admin_product_sub_tabs"> <% if can? :admin, Spree::Product %> <%= tab :products, match_path: '/products' %> <% end %> <% if can? :admin, Spree::OptionType %> <%= tab :option_types, matc...
<ul class="admin-subnav" data-hook="admin_product_sub_tabs"> <% if can? :admin, Spree::Product %> <%= tab :products, match_path: '/products' %> <% end %> <% if can? :admin, Spree::OptionType %> <%= tab :option_types, match_path: '/option_types' %> <% end %> <% if can? :admin, Spree::Property %> <%...
<|file_sep|>original/backend/app/views/spree/admin/shared/_product_sub_menu.html.erb <ul class="admin-subnav" data-hook="admin_product_sub_tabs"> <% if can? :admin, Spree::Product %> <%= tab :products, match_path: '/products' %> <% end %> <% if can? :admin, Spree::OptionType %> <%= tab :option_types, matc...
ba772517b2223851492d075a440b5b2d61ee466e
backend/app/views/spree/admin/shared/_product_sub_menu.html.erb
backend/app/views/spree/admin/shared/_product_sub_menu.html.erb
HTML+ERB
<|file_sep|>original/spec/ruby/core/regexp/match_data_spec.rb <|file_sep|>current/spec/ruby/core/regexp/match_data_spec.rb <|file_sep|>updated/spec/ruby/core/regexp/match_data_spec.rb
# -*- encoding: utf-8 -*- require File.expand_path('../../../spec_helper', __FILE__) describe "MatchData" do ruby_version_is "1.9" do it "exposes the named captures of the regexp" do match_data = /\A(?<intro>\w+) (?<outro>.*)\Z/.match("foo bar baz") match_data[:intro].should == "foo" match_dat...
<|file_sep|>original/spec/ruby/core/regexp/match_data_spec.rb <|file_sep|>current/spec/ruby/core/regexp/match_data_spec.rb <|file_sep|>updated/spec/ruby/core/regexp/match_data_spec.rb # -*- encoding: utf-8 -*- require File.expand_path('../../../spec_helper', __FILE__) describe "MatchData" do ruby_version_is "1.9" ...
44fbe3f8cb94e98c81cea6c6b992973f4f91ccad
spec/ruby/core/regexp/match_data_spec.rb
spec/ruby/core/regexp/match_data_spec.rb
Ruby
<|file_sep|>original/project/plugins.sbt libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10" // https://github.com/coursier/coursier/issues/450 classpathTypes += "maven-plugin" addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34") addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4") ad...
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10" // https://github.com/coursier/coursier/issues/450 classpathTypes += "maven-plugin" addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34") addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4") addSbtPlugin("com.eed3si9n" % "sbt-buildinf...
<|file_sep|>original/project/plugins.sbt libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10" // https://github.com/coursier/coursier/issues/450 classpathTypes += "maven-plugin" addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34") addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4") ad...
91555671bb8ed1492f5c2179f0563782c579af19
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/.docker/entrypoint.thin.sh #!/bin/sh -e echo Waiting while ! curl -s "http://$RABBITMQ_USERNAME:$RABBITMQ_PASWORD@$RABBITMQ_HOSTNAME:15672/$RABBITMQ_USERNAME" > /dev/null; do echo "Waiting for rabbitmq to come up at $RABBITMQ_HOSTNAME:15672" sleep 1 done echo "RABBITMQ IS UP...starting" fore...
#!/bin/sh -e echo Waiting while ! curl -s "http://$RABBITMQ_USERNAME:$RABBITMQ_PASWORD@$RABBITMQ_HOSTNAME:15672/$RABBITMQ_USERNAME" > /dev/null; do echo "Waiting for rabbitmq to come up at $RABBITMQ_HOSTNAME:15672" sleep 1 done auto_start=${AUTO_START:-false} delay=${AUTO_START_DELAY:-0} if [ "$auto_start" == "t...
<|file_sep|>original/.docker/entrypoint.thin.sh #!/bin/sh -e echo Waiting while ! curl -s "http://$RABBITMQ_USERNAME:$RABBITMQ_PASWORD@$RABBITMQ_HOSTNAME:15672/$RABBITMQ_USERNAME" > /dev/null; do echo "Waiting for rabbitmq to come up at $RABBITMQ_HOSTNAME:15672" sleep 1 done echo "RABBITMQ IS UP...starting" fore...
f02456d045b7c0570d393da4c162bbfb21535aca
.docker/entrypoint.thin.sh
.docker/entrypoint.thin.sh
Shell
<|file_sep|>original/package.json { "name": "hashii", "version": "1.0.0", "description": "Easily parse hashtags from entire forms or a single field without any of the headache.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git"...
{ "name": "hashii", "version": "1.1.0", "description": "Easily parse hashtags from entire forms or a single field without any of the headache.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.c...
<|file_sep|>original/package.json { "name": "hashii", "version": "1.0.0", "description": "Easily parse hashtags from entire forms or a single field without any of the headache.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git"...
babc5c1771ce5c9e7abe03d01b56b74fdb98aa3d
package.json
package.json
JSON
<|file_sep|>original/app/controllers/get_controller.rb class GetController < ApplicationController # Eg http://localhost:3000/openapi/eldis/get/documents/A64559/full def documents service = DocumentService.build @document = service.get(type: "eldis", id: "A64559", detail: params[:detail]) response.head...
class GetController < ApplicationController # Eg http://localhost:3000/openapi/eldis/get/documents/A64559/full def documents service = DocumentService.build @document = service.get(type: params[:graph], id: params[:id], detail: params[:detail]) response.headers["Content-Type"] = "application/json" ...
<|file_sep|>original/app/controllers/get_controller.rb class GetController < ApplicationController # Eg http://localhost:3000/openapi/eldis/get/documents/A64559/full def documents service = DocumentService.build @document = service.get(type: "eldis", id: "A64559", detail: params[:detail]) response.head...
7f96b2340d759cb31b5d54796ea42c30f276644d
app/controllers/get_controller.rb
app/controllers/get_controller.rb
Ruby
<|file_sep|>original/src/generic_ui/polymer/roster-group.html <polymer-element name='uproxy-roster-group' attributes='onlineContacts, offlineContacts, groupTitle, searchQuery, pending'> <template> <style> .header { font-size: 13px; margin: 24px 0px 6px 24px; color: rgba(0,0,0,0.34); ...
<polymer-element name='uproxy-roster-group' attributes='onlineContacts, offlineContacts, groupTitle, searchQuery, pending'> <template> <style> .header { font-size: 13px; margin: 24px 0px 6px 24px; color: rgba(0,0,0,0.34); font-weight: 500; } </style> <div class='head...
<|file_sep|>original/src/generic_ui/polymer/roster-group.html <polymer-element name='uproxy-roster-group' attributes='onlineContacts, offlineContacts, groupTitle, searchQuery, pending'> <template> <style> .header { font-size: 13px; margin: 24px 0px 6px 24px; color: rgba(0,0,0,0.34); ...
0a68a02f264d76337b98a70325b2835d4b1a5a1c
src/generic_ui/polymer/roster-group.html
src/generic_ui/polymer/roster-group.html
HTML
<|file_sep|>original/phpunit.xml <?xml version="1.0"?> <phpunit bootstrap="tests/bootstrap.php"> <testsuites> <testsuite> <directory>tests/</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml <?xml version="1.0"?> <phpunit bootstrap="tests/bootstrap.php"...
<?xml version="1.0"?> <phpunit bootstrap="tests/bootstrap.php" verbose="true"> <testsuites> <testsuite> <directory>tests/</directory> </testsuite> </testsuites> </phpunit>
<|file_sep|>original/phpunit.xml <?xml version="1.0"?> <phpunit bootstrap="tests/bootstrap.php"> <testsuites> <testsuite> <directory>tests/</directory> </testsuite> </testsuites> </phpunit> <|file_sep|>current/phpunit.xml <?xml version="1.0"?> <phpunit bootstrap="tests/bootstrap.php"...
f9747708d859d0c8fa4141eec5612ae93f7ac57e
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/README.md ## Installation Git clone this project into a directory that lives at the same level as your `sales_engine` project directory. And then execute: $ bundle This will load in your `SalesEngine` implementation from your local file system. This test provides the CSV files at `./data` r...
## Installation Git clone this project into a directory that lives at the same level as your `sales_engine` project directory. And then execute: $ bundle This will load in your `SalesEngine` implementation from your local file system. This test provides the CSV files at `./data` relative to the current director...
<|file_sep|>original/README.md ## Installation Git clone this project into a directory that lives at the same level as your `sales_engine` project directory. And then execute: $ bundle This will load in your `SalesEngine` implementation from your local file system. This test provides the CSV files at `./data` r...
bc896ca21d69e8690416fbefb625004533d7f849
README.md
README.md
Markdown
<|file_sep|>original/xmake.lua -- strip all symbols set_strip("all") end target("LCUIEx") set_kind("shared") set_targetdir("dist/lib") add_files("src/*.c") add_files("src/ui/*.c") add_files("src/ui/components/*.c") add_includedirs("include", "../LCUI/include", "vendor/include", "vendor...
-- strip all symbols set_strip("all") end target("LCUIEx") set_kind("shared") set_targetdir("dist/lib") add_files("src/*.c") add_files("src/ui/*.c") add_files("src/ui/components/*.c") add_includedirs("include", "../LCUI/include", "vendor/include", "vendor/lib") if is_os("windows") t...
<|file_sep|>original/xmake.lua -- strip all symbols set_strip("all") end target("LCUIEx") set_kind("shared") set_targetdir("dist/lib") add_files("src/*.c") add_files("src/ui/*.c") add_files("src/ui/components/*.c") add_includedirs("include", "../LCUI/include", "vendor/include", "vendor...
93da9f842e95d65aec88202a1adc0215b81bf888
xmake.lua
xmake.lua
Lua
<|file_sep|>original/.github/workflows/check.yml on: push: branches: [ trunk ] pull_request: branches: [ trunk ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.pytho...
on: push: branches: [ trunk ] pull_request: branches: [ trunk ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-pytho...
<|file_sep|>original/.github/workflows/check.yml on: push: branches: [ trunk ] pull_request: branches: [ trunk ] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.pytho...
96ddb646643eac586fef05943bc638a8070c0b13
.github/workflows/check.yml
.github/workflows/check.yml
YAML
<|file_sep|>original/cloudera-framework-parent/cloudera-framework-example-5/src/main/resources/python/spark-env.sh #!/usr/bin/env bash ############################################################################### # # Spark environment # ############################################################################### ...
#!/usr/bin/env bash ############################################################################### # # Spark environment # ############################################################################### SPARK_CONFIG=cloudera-framework-parent/${project.artifactId}/target/test-python/spark-defaults.conf PYSPARK_PYTHON...
<|file_sep|>original/cloudera-framework-parent/cloudera-framework-example-5/src/main/resources/python/spark-env.sh #!/usr/bin/env bash ############################################################################### # # Spark environment # ############################################################################### ...
f203a975a811c828ee482e291779650cded402f3
cloudera-framework-parent/cloudera-framework-example-5/src/main/resources/python/spark-env.sh
cloudera-framework-parent/cloudera-framework-example-5/src/main/resources/python/spark-env.sh
Shell
<|file_sep|>lib/ui/views/targetSelector.js.diff original: showDevices = view.model.get("buildSettings").device, updated: buildSettings = view.model.get("buildSettings"), showDevices = !buildSettings || typeof buildSettings.device === "undefined" || buildSettings.device, <|file_sep|>o...
}); }, render: function () { // Use the template to create the html to display var view = this, buildSettings = view.model.get("buildSettings"), showDevices = !buildSettings || typeof buildSettings.device === "undefined" || buildSettings.device, templa...
<|file_sep|>lib/ui/views/targetSelector.js.diff original: showDevices = view.model.get("buildSettings").device, updated: buildSettings = view.model.get("buildSettings"), showDevices = !buildSettings || typeof buildSettings.device === "undefined" || buildSettings.device, <|file_sep|>o...
3af0ea079e7710f16599de9565c9c9f07f666d4c
lib/ui/views/targetSelector.js
lib/ui/views/targetSelector.js
JavaScript
<|file_sep|>.github/workflows/create_pull_request.yml.diff original: const production_pull_request = await github.pulls.create({ updated: const { data: production_pull_request } = await github.pulls.create({ <|file_sep|>.github/workflows/create_pull_request.yml.diff original: github....
owner: context.repo.owner, repo: context.repo.repo, title: staging_pull_request.title.replace(/deploy to staging/i, 'Deploy to Production'), head: context.ref, base: 'master', body: staging_pull_request.body }) c...
<|file_sep|>.github/workflows/create_pull_request.yml.diff original: const production_pull_request = await github.pulls.create({ updated: const { data: production_pull_request } = await github.pulls.create({ <|file_sep|>.github/workflows/create_pull_request.yml.diff original: github....
d28450aa77d13dde57116e7ed9fe36ecdcbb2bb1
.github/workflows/create_pull_request.yml
.github/workflows/create_pull_request.yml
YAML
<|file_sep|>lib/rohbau/runtime.rb.diff original: updated: after_boot <|file_sep|>original/lib/rohbau/runtime.rb Pathname.new(Dir.pwd) end protected def on_boot # noop end def initialize_plugins self.class.plugins.each do |name, plugin_class| instance_variable_set ...
def root Pathname.new(Dir.pwd) end protected def on_boot # noop end def after_boot # noop end def initialize_plugins self.class.plugins.each do |name, plugin_class| instance_variable_set :"@#{name}", plugin_class.new end end
<|file_sep|>lib/rohbau/runtime.rb.diff original: updated: after_boot <|file_sep|>original/lib/rohbau/runtime.rb Pathname.new(Dir.pwd) end protected def on_boot # noop end def initialize_plugins self.class.plugins.each do |name, plugin_class| instance_variable_set ...
825155a34ea3fbb60578ee3722a2b5efb1514b19
lib/rohbau/runtime.rb
lib/rohbau/runtime.rb
Ruby
<|file_sep|>original/app/styles/_components/Speakers/speaker_preview.sass .speaker-preview .speaker-name font-weight: 300 font-size: $size-4 a.speaker-name:not(:hover) color: $grey-darker .subtitle font-size: $size-6 font-weight: 300 .speaker-picture background: $white-bis border-...
font-weight: 300 font-size: $size-4 a.speaker-name:not(:hover) color: $grey-darker .subtitle font-size: $size-6 font-weight: 300 .media-content overflow: unset .speaker-picture background: $white-bis border-radius: 25px width: 50px height: 50px border: 1px solid l...
<|file_sep|>original/app/styles/_components/Speakers/speaker_preview.sass .speaker-preview .speaker-name font-weight: 300 font-size: $size-4 a.speaker-name:not(:hover) color: $grey-darker .subtitle font-size: $size-6 font-weight: 300 .speaker-picture background: $white-bis border-...
102cc66ab0e11f041ca376c78a25dc09a589cc33
app/styles/_components/Speakers/speaker_preview.sass
app/styles/_components/Speakers/speaker_preview.sass
Sass
<|file_sep|>task/create_datasets.sh.diff original: echo th dataset_creator.lua -c "$dir/labels.csv" -d "$dir" "${dir}.t7" | tee $temp th dataset_creator.lua -c "$dir/labels.csv" -d "$dir" "${dir}.t7" | tee $temp updated: echo th dataset_creator.lua --csv "$dir/labels.csv" --dir "$dir" "${dir}.t7" | tee $tem...
echo -e "\n" echo th dataset_creator.lua --csv "$dir/labels.csv" --dir "$dir" "${dir}.t7" | tee $temp th dataset_creator.lua --csv "$dir/labels.csv" --dir "$dir" "${dir}.t7" | tee $temp mean=`sed -n 's/^mean: \([0-9]\+.[0-9]\+\)/\1/p' $temp` std=`sed -n 's/^std: \([0-9]\+.[0-9]\+\)/\1/p' $temp` ...
<|file_sep|>task/create_datasets.sh.diff original: echo th dataset_creator.lua -c "$dir/labels.csv" -d "$dir" "${dir}.t7" | tee $temp th dataset_creator.lua -c "$dir/labels.csv" -d "$dir" "${dir}.t7" | tee $temp updated: echo th dataset_creator.lua --csv "$dir/labels.csv" --dir "$dir" "${dir}.t7" | tee $tem...
7213f58dd9e082ab1fe930eaf8a0111623ca6336
task/create_datasets.sh
task/create_datasets.sh
Shell
<|file_sep|>original/features/install_vim_flavor.md ## Required softwares * [Git](http://git-scm.com/) 1.7.9 or later * [Ruby](http://www.ruby-lang.org/) 1.9.2 or later * Recommendation: Use [RVM](http://beginrescueend.com/) or other tools for ease of installation across different envinronments. * [Vim](http://w...
## Required softwares * [Git](http://git-scm.com/) 1.7.9 or later * [Ruby](http://www.ruby-lang.org/) 2.0.0 or later * Recommendation: Use [RVM](http://beginrescueend.com/) or other tools for ease of installation across different envinronments. * [Vim](http://www.vim.org/) 7.3 or later * Note that Vim should b...
<|file_sep|>original/features/install_vim_flavor.md ## Required softwares * [Git](http://git-scm.com/) 1.7.9 or later * [Ruby](http://www.ruby-lang.org/) 1.9.2 or later * Recommendation: Use [RVM](http://beginrescueend.com/) or other tools for ease of installation across different envinronments. * [Vim](http://w...
3d91cd87af6fef6f7d08c32c1de9c37fc58daf68
features/install_vim_flavor.md
features/install_vim_flavor.md
Markdown
<|file_sep|>original/test/utils.js var obvs = require('../'); exports.buildApp = function buildApp(options) { options = options || { logLevel: 'fatal' }; var app = obvs.app.build(options); return app; }; exports.buildServer = function buildServer(options) { var app = exports.buildApp(options); var server =...
var obvs = require('../'); exports.buildApp = function buildApp(options) { options = options || { logLevel: 'fatal' }; var app = obvs.app.build(options); return app; };
<|file_sep|>original/test/utils.js var obvs = require('../'); exports.buildApp = function buildApp(options) { options = options || { logLevel: 'fatal' }; var app = obvs.app.build(options); return app; }; exports.buildServer = function buildServer(options) { var app = exports.buildApp(options); var server =...
7317a0f3f2859cedccbb5c63b31bddfcdebbcdab
test/utils.js
test/utils.js
JavaScript
<|file_sep|>original/app/views/layouts/application.html.erb <div class="container"> <%= render("shared/flash", { :flash => flash })%> </div> <div id="spacer"></div> <%= render("shared/header.html.erb")%> <div class="container"> <%= yield %> </div> <div id="push"></div...
<body> <div id="wrap"> <div class="container"> <%= render("shared/flash", { :flash => flash })%> </div> <div id="spacer"></div> <%= render("shared/header.html.erb")%> <div class="container"> <%= yield %> </div> <div id="push"></div> </div> <%= render("shared/fo...
<|file_sep|>original/app/views/layouts/application.html.erb <div class="container"> <%= render("shared/flash", { :flash => flash })%> </div> <div id="spacer"></div> <%= render("shared/header.html.erb")%> <div class="container"> <%= yield %> </div> <div id="push"></div...
cce6683391908f7bf54fbc480fa69762ef828843
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/composer.json "email": "crynobone@gmail.com", "homepage": "https://github.com/crynobone" } ], "autoload": { "psr-4": { "Orchestra\\Support\\Providers\\" : "" } }, "require": { "php": ">=5.4.0", "illuminate/support": "5.1.*", "orchestra/contracts": "3.1.*" }, "suggest": { ...
"email": "crynobone@gmail.com", "homepage": "https://github.com/crynobone" } ], "autoload": { "psr-4": { "Orchestra\\Support\\Providers\\" : "" } }, "require": { "php": ">=5.5.0", "illuminate/support": "5.1.*", "orchestra/contracts": "3.1.*" }, "suggest": { "laravel/framework": "Allow using...
<|file_sep|>original/composer.json "email": "crynobone@gmail.com", "homepage": "https://github.com/crynobone" } ], "autoload": { "psr-4": { "Orchestra\\Support\\Providers\\" : "" } }, "require": { "php": ">=5.4.0", "illuminate/support": "5.1.*", "orchestra/contracts": "3.1.*" }, "suggest": { ...
4d5d8b8c40763d2851abe059d02c710638577903
composer.json
composer.json
JSON
<|file_sep|>original/services/auth.js async function vendorAuth() { return { id: 1, name: 'vendor 1' }; } async function clientAuth() { return { id: 1, name: 'client 1' }; } async function auth(type, id) { if (!auth.operationsByType[type.toLowerCase()]) { throw new Error('Authentication method not configure...
async function vendorAuth() { return { id: 1, name: 'vendor 1' }; } async function clientAuth() { return { id: 1, name: 'client 1' }; } async function auth(type, id) { if (!auth.operationsByType[type.toLowerCase()]) { throw new RangeError('Authentication method not configured'); } return auth.operations...
<|file_sep|>original/services/auth.js async function vendorAuth() { return { id: 1, name: 'vendor 1' }; } async function clientAuth() { return { id: 1, name: 'client 1' }; } async function auth(type, id) { if (!auth.operationsByType[type.toLowerCase()]) { throw new Error('Authentication method not configure...
df189989cf57c556254576b628dd3b7986199ff4
services/auth.js
services/auth.js
JavaScript
<|file_sep|>original/setBackground.sh #!/bin/bash /usr/bin/python3 /usr/local/bin/himawari.py -o /tmp/himawariBG.png /usr/bin/feh --bg-max /tmp/himawariBG.png /bin/chmod 666 /tmp/himawariBG.png exit 0 <|file_sep|>current/setBackground.sh #!/bin/bash /usr/bin/python3 /usr/local/bin/himawari.py -o /tmp/himawariBG.png /...
#!/bin/bash export DISPLAY=':0' export XAUTHORITY='$HOME/.Xauthority' /usr/bin/python3 /usr/local/bin/himawari.py -o /tmp/himawariBG.png /usr/bin/feh --bg-max /tmp/himawariBG.png /bin/chmod 666 /tmp/himawariBG.png exit 0
<|file_sep|>original/setBackground.sh #!/bin/bash /usr/bin/python3 /usr/local/bin/himawari.py -o /tmp/himawariBG.png /usr/bin/feh --bg-max /tmp/himawariBG.png /bin/chmod 666 /tmp/himawariBG.png exit 0 <|file_sep|>current/setBackground.sh #!/bin/bash /usr/bin/python3 /usr/local/bin/himawari.py -o /tmp/himawariBG.png /...
80e4f586f77ab72517af0438025cd755d1719cb9
setBackground.sh
setBackground.sh
Shell
<|file_sep|>original/lib/peapod/library_database.rb <|file_sep|>current/lib/peapod/library_database.rb <|file_sep|>updated/lib/peapod/library_database.rb
require 'sequel' module Peapod # An object providing a connection to the URY podcast library class LibraryDatabase [ # CONSTANT SCHEMA TABLE %i(PODCAST uryplayer podcast ), ].each { |id, *db_name| const_set(id, Sequel.qualify(*db_name)) } # Constructs a new LibraryDat...
<|file_sep|>original/lib/peapod/library_database.rb <|file_sep|>current/lib/peapod/library_database.rb <|file_sep|>updated/lib/peapod/library_database.rb require 'sequel' module Peapod # An object providing a connection to the URY podcast library class LibraryDatabase [ # CONSTANT SCHEMA TABLE ...
94392eec0ab0ac81e926a52442ad824584e0d5d7
lib/peapod/library_database.rb
lib/peapod/library_database.rb
Ruby
<|file_sep|>app/models/user.rb.diff original: updated: validates :email, presence: true, uniqueness: true <|file_sep|>original/app/models/user.rb class User < ApplicationRecord # Remember to create a migration! has_many :rounds has_many :guesses, through: :rounds end <|file_sep|>current/app/models/user.rb cla...
class User < ApplicationRecord # Remember to create a migration! has_many :rounds has_many :guesses, through: :rounds validates :email, presence: true, uniqueness: true end def password @password = BCrypt::Password.new(encrypted_password) end def password=(new_password) @password = BCrypt::Password.creat...
<|file_sep|>app/models/user.rb.diff original: updated: validates :email, presence: true, uniqueness: true <|file_sep|>original/app/models/user.rb class User < ApplicationRecord # Remember to create a migration! has_many :rounds has_many :guesses, through: :rounds end <|file_sep|>current/app/models/user.rb cla...
db73aaf78105209a58b882441a6423493a70a4e6
app/models/user.rb
app/models/user.rb
Ruby
<|file_sep|>original/tests/test.routes.js request = require('supertest'); describe('/', function() { it('should redirect if we are not signed in', function(done) { var server = require('../core/app'); request(server) .get('/') .expect(302, done); }); }); describe('/logout', function() { ...
}); describe('/logout', function() { it('should redirect to the CAS logout page', function(done) { var server = require('../core/app'); request(server) .get('/logout') .expect('Location', 'https://cas.byu.edu/cas/logout') .expect(302, done); }); it('should redirect me to my desired loc...
<|file_sep|>original/tests/test.routes.js request = require('supertest'); describe('/', function() { it('should redirect if we are not signed in', function(done) { var server = require('../core/app'); request(server) .get('/') .expect(302, done); }); }); describe('/logout', function() { ...
82324ecbf3158587ba7174d75637714c5d58bd4f
tests/test.routes.js
tests/test.routes.js
JavaScript
<|file_sep|>original/build-android-release.sh #!/bin/bash # # Script that builds Android release apk # # Make shell script executable: # chmod u+x build-android-release.sh # Create a signing key # keytool -genkey -v -keystore evothings.keystore -alias evothings_alias -keyalg RSA -keysize 2048 -validity 365000 # ech...
#!/bin/bash # # Script that builds Android release apk # # Make shell script executable: # chmod u+x build-android-release.sh # Create a signing key # keytool -genkey -v -keystore evothings.keystore -alias evothings_alias -keyalg RSA -keysize 2048 -validity 365000 # echo "Building Android release APK" cordova build...
<|file_sep|>original/build-android-release.sh #!/bin/bash # # Script that builds Android release apk # # Make shell script executable: # chmod u+x build-android-release.sh # Create a signing key # keytool -genkey -v -keystore evothings.keystore -alias evothings_alias -keyalg RSA -keysize 2048 -validity 365000 # ech...
8118dcf15e59fdd32471a7e303af66ca90e09e5c
build-android-release.sh
build-android-release.sh
Shell
<|file_sep|>lib/chef/audit/reporter/json_file.rb.diff original: autoload :JSON, "json" updated: require_relative "../../json_compat" <|file_sep|>original/lib/chef/audit/reporter/json_file.rb autoload :JSON, "json" class Chef module Audit module Reporter class JsonFile def initialize(opts) ...
require_relative "../../json_compat" class Chef module Audit module Reporter class JsonFile def initialize(opts) @path = opts.fetch(:file) end def send_report(report) File.write(@path, Chef::JSONCompat.to_json(report)) end end end end end
<|file_sep|>lib/chef/audit/reporter/json_file.rb.diff original: autoload :JSON, "json" updated: require_relative "../../json_compat" <|file_sep|>original/lib/chef/audit/reporter/json_file.rb autoload :JSON, "json" class Chef module Audit module Reporter class JsonFile def initialize(opts) ...
898f0b092d270be4e23ecf4d39837f409f9596db
lib/chef/audit/reporter/json_file.rb
lib/chef/audit/reporter/json_file.rb
Ruby
<|file_sep|>original/scripts/make-release.sh echo "You must run this script from the root of the epgp directory!" exit 1 fi EPGP_DIR=$PWD RELEASE_ZIP="$EPGP_DIR/epgp-$1.zip" pushd .. zip -r "$RELEASE_ZIP" epgp -x \*/.svn/\* -x \*/scripts/\* -x \*/wiki/\* -x \*~ popd unzip "$RELEASE_ZIP" pushd epgp sed -i "s/@VE...
echo "You must run this script from the root of the epgp directory!" exit 1 fi EPGP_DIR=$PWD RELEASE_ZIP="$EPGP_DIR/epgp-$1.zip" pushd .. zip -r "$RELEASE_ZIP" epgp -x \*/.svn/\* -x \*/scripts/\* -x \*/wiki/\* -x \*~ popd unzip "$RELEASE_ZIP" pushd epgp sed -i -e "s/@VERSION@/$1/" epgp.toc popd zip -u -r "$REL...
<|file_sep|>original/scripts/make-release.sh echo "You must run this script from the root of the epgp directory!" exit 1 fi EPGP_DIR=$PWD RELEASE_ZIP="$EPGP_DIR/epgp-$1.zip" pushd .. zip -r "$RELEASE_ZIP" epgp -x \*/.svn/\* -x \*/scripts/\* -x \*/wiki/\* -x \*~ popd unzip "$RELEASE_ZIP" pushd epgp sed -i "s/@VE...
fadcbdf6ea2307c81239b9eadd9253c4b94e728b
scripts/make-release.sh
scripts/make-release.sh
Shell
<|file_sep|>LynnaLab/UI/SpinButtonHexadecimal.cs.diff original: Text = "0x" + ValueAsInt.ToString("X" + Digits); updated: Text = "$" + ValueAsInt.ToString("X" + Digits); <|file_sep|>LynnaLab/UI/SpinButtonHexadecimal.cs.diff original: updated: string text = Text.Trim(); b...
try { value = Convert.ToInt32(text); success = true; } catch (Exception e) { } try { if (text.Length > 0 && text[0] == '$') { value = Convert.ToInt32(text.Substring(1),16); ...
<|file_sep|>LynnaLab/UI/SpinButtonHexadecimal.cs.diff original: Text = "0x" + ValueAsInt.ToString("X" + Digits); updated: Text = "$" + ValueAsInt.ToString("X" + Digits); <|file_sep|>LynnaLab/UI/SpinButtonHexadecimal.cs.diff original: updated: string text = Text.Trim(); b...
e9c44438d6256604d8c4b53012eaec67e35c19ee
LynnaLab/UI/SpinButtonHexadecimal.cs
LynnaLab/UI/SpinButtonHexadecimal.cs
C#
<|file_sep|>original/requirements-dev.txt coveralls==1.2.0 pytest==3.2.2 pytest-cov==2.5.0 flake8==3.4.1 sphinx==1.6.3 alabaster>=0.6.2 tox==2.8.2 mock==2.0.0 <|file_sep|>current/requirements-dev.txt coveralls==1.2.0 pytest==3.2.2 pytest-cov==2.5.0 flake8==3.4.1 sphinx==1.6.3 alabaster>=0.6.2 tox==2.8.2 mock==2.0.0 <|f...
coveralls==1.3.0 pytest==3.2.2 pytest-cov==2.5.0 flake8==3.4.1 sphinx==1.6.3 alabaster>=0.6.2 tox==2.8.2 mock==2.0.0
<|file_sep|>original/requirements-dev.txt coveralls==1.2.0 pytest==3.2.2 pytest-cov==2.5.0 flake8==3.4.1 sphinx==1.6.3 alabaster>=0.6.2 tox==2.8.2 mock==2.0.0 <|file_sep|>current/requirements-dev.txt coveralls==1.2.0 pytest==3.2.2 pytest-cov==2.5.0 flake8==3.4.1 sphinx==1.6.3 alabaster>=0.6.2 tox==2.8.2 mock==2.0.0 <|f...
d46364511c03ea7d40a77eb52a6f91ac30bc958c
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>setup.py.diff original: import bottle updated: <|file_sep|>setup.py.diff original: version=bottle.__version__, updated: version="0.13-dev", <|file_sep|>original/setup.py import os try: from setuptools import setup except ImportError: from distutils.core import setup import bottle se...
import os try: from setuptools import setup except ImportError: from distutils.core import setup setup(name='Bottle-Async', version="0.13-dev", description='A fork of Bottle to add support for asyncio.', long_description="", author="Marcel Hellkamp, Don Brown", author_email='mrdo...
<|file_sep|>setup.py.diff original: import bottle updated: <|file_sep|>setup.py.diff original: version=bottle.__version__, updated: version="0.13-dev", <|file_sep|>original/setup.py import os try: from setuptools import setup except ImportError: from distutils.core import setup import bottle se...
6f965f0014922560de20f725c76ca4060856cb77
setup.py
setup.py
Python
<|file_sep|>original/cookbooks/letsencrypt/templates/default/cron.erb 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew <|file_sep|>current/cookbooks/letsencrypt/templates/default/cron.erb 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew <|file_sep|>updated/cookbooks/letsencrypt/templates/def...
# DO NOT EDIT - This file is being maintained by Chef MAILTO=admins@openstreetmap.org 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew
<|file_sep|>original/cookbooks/letsencrypt/templates/default/cron.erb 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew <|file_sep|>current/cookbooks/letsencrypt/templates/default/cron.erb 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew <|file_sep|>updated/cookbooks/letsencrypt/templates/def...
e6729dc822e906ec47cebc57b2d1c06762439e25
cookbooks/letsencrypt/templates/default/cron.erb
cookbooks/letsencrypt/templates/default/cron.erb
HTML+ERB
<|file_sep|>original/src/DependencyInjection.Console/OddEvenPatternGenerator.cs namespace DependencyInjection.Console { internal class OddEvenPatternGenerator : IPatternGenerator { public Pattern Generate(int width, int height) { var generate = new Pattern(width, height); ...
namespace DependencyInjection.Console { internal class OddEvenPatternGenerator : IPatternGenerator { public Pattern Generate(int width, int height) { var generate = new Pattern(width, height); var squares = generate.Squares; for (var i = 0; i < squares.GetLe...
<|file_sep|>original/src/DependencyInjection.Console/OddEvenPatternGenerator.cs namespace DependencyInjection.Console { internal class OddEvenPatternGenerator : IPatternGenerator { public Pattern Generate(int width, int height) { var generate = new Pattern(width, height); ...
1220f2718bb545d5ff2ec06dd496b89877417f01
src/DependencyInjection.Console/OddEvenPatternGenerator.cs
src/DependencyInjection.Console/OddEvenPatternGenerator.cs
C#
<|file_sep|>original/README.md GOV.UK Pulse [![Build status](https://ci.appveyor.com/api/projects/status/57wip4extg7cs7i2?svg=true)](https://ci.appveyor.com/project/JamieMagee/govuk-pulse) ============ Measuring HTTPS support on GOV.UK domains ![](https://i.imgur.com/wHXedMk.png) Building ======== GOV.UK Pulse is wri...
GOV.UK Pulse [![Build status](https://ci.appveyor.com/api/projects/status/57wip4extg7cs7i2?svg=true)](https://ci.appveyor.com/project/JamieMagee/govuk-pulse) [![Dependency Status](https://www.versioneye.com/user/projects/57dfd9966dfcd0003e7f540b/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/57d...
<|file_sep|>original/README.md GOV.UK Pulse [![Build status](https://ci.appveyor.com/api/projects/status/57wip4extg7cs7i2?svg=true)](https://ci.appveyor.com/project/JamieMagee/govuk-pulse) ============ Measuring HTTPS support on GOV.UK domains ![](https://i.imgur.com/wHXedMk.png) Building ======== GOV.UK Pulse is wri...
de08ef6d30e88e6aff44b2cc77907979b6639403
README.md
README.md
Markdown
<|file_sep|>original/tests/Helpers/DateTimeHelperTest.php { $this->assertInstanceOf( DateTimeHelper::class, new DateTimeHelper() ); } public function testCanEncodeCustomFormat() { $format = 'c'; $timestamp = date($format); $dateTimeHelper...
$timestamp = date($format); $dateTimeHelper = new DateTimeHelper($timestamp); $dateTimeHelper->setHelperFormat($format); $this->assertSame( json_decode(json_encode($dateTimeHelper)), $timestamp ); } public function testCanJsonSerialize() { ...
<|file_sep|>original/tests/Helpers/DateTimeHelperTest.php { $this->assertInstanceOf( DateTimeHelper::class, new DateTimeHelper() ); } public function testCanEncodeCustomFormat() { $format = 'c'; $timestamp = date($format); $dateTimeHelper...
54d8abc7864371c365b49766ea1ba5331daacfd2
tests/Helpers/DateTimeHelperTest.php
tests/Helpers/DateTimeHelperTest.php
PHP
<|file_sep|>original/roadmap.md <div class="col-2-3" markdown="1"> # <i class="octicon octicon-milestone"></i> {{ page.title }} Our current timeline: - <del>[**27 April**](https://github.com/newtheatre/history-project/milestones/alpha-1): Establish the site and define how data is going to be stored.</del> - <del>[*...
<div class="col-2-3" markdown="1"> # <i class="octicon octicon-milestone"></i> {{ page.title }} Our current timeline: - <del>[**27 April**](https://github.com/newtheatre/history-project/milestones/alpha-1): Establish the site and define how data is going to be stored.</del> - <del>[**Mid May**](https://github.com/n...
<|file_sep|>original/roadmap.md <div class="col-2-3" markdown="1"> # <i class="octicon octicon-milestone"></i> {{ page.title }} Our current timeline: - <del>[**27 April**](https://github.com/newtheatre/history-project/milestones/alpha-1): Establish the site and define how data is going to be stored.</del> - <del>[*...
3cb2e322cc4d479725e9ee5a7b0f3550a23be1a1
roadmap.md
roadmap.md
Markdown
<|file_sep|>lib/rubocop/server/client_command/exec.rb.diff original: raise "rubocop server: Could not find status file at: #{Cache.status_path}" updated: raise "RuboCop server: Could not find status file at: #{Cache.status_path}" <|file_sep|>original/lib/rubocop/server/client_command/exec.rb ...
body: $stdin.tty? ? '' : $stdin.read ) status end private def status unless Cache.status_path.file? raise "RuboCop server: Could not find status file at: #{Cache.status_path}" end status = Cache.status_path.read ...
<|file_sep|>lib/rubocop/server/client_command/exec.rb.diff original: raise "rubocop server: Could not find status file at: #{Cache.status_path}" updated: raise "RuboCop server: Could not find status file at: #{Cache.status_path}" <|file_sep|>original/lib/rubocop/server/client_command/exec.rb ...
75b3169b165de95fc0c6e27a225bf231ddc86dce
lib/rubocop/server/client_command/exec.rb
lib/rubocop/server/client_command/exec.rb
Ruby
<|file_sep|>original/data/events.yml title: Brussels BRUG Meeting description: > Let's code together. It's simple: bring your current code problem, code on an open source project, or just come to help. image: brug.png link: http://www.meetup.com/fr/brug__/events/226187223/ - da...
title: Brussels BRUG Meeting description: > Let's code together. It's simple: bring your current code problem, code on an open source project, or just come to help. image: brug.png link: http://www.meetup.com/fr/brug__/events/226187223/ - date: 12–14 February 2016 title: Ruby...
<|file_sep|>original/data/events.yml title: Brussels BRUG Meeting description: > Let's code together. It's simple: bring your current code problem, code on an open source project, or just come to help. image: brug.png link: http://www.meetup.com/fr/brug__/events/226187223/ - da...
653ca76b0ddbbbf96e0e90914bf8e7d25cb9eb1c
data/events.yml
data/events.yml
YAML
<|file_sep|>original/src/assets/styles/module/slideout/_slideout.scss // Styles written by __gulp_init__author_name @ __gulp_init__author_company /* ------------------------------------------------------------------------ *\ * Slideout (https://slideout.js.org/) \* ----------------------------------------------------...
/* ------------------------------------------------------------------------ *\ * Slideout (https://slideout.js.org/) \* ------------------------------------------------------------------------ */ /* stylelint-disable selector-class-pattern */ // Vendor @import "slideout/index"; // Custom .slideout-dimmer { & ...
<|file_sep|>original/src/assets/styles/module/slideout/_slideout.scss // Styles written by __gulp_init__author_name @ __gulp_init__author_company /* ------------------------------------------------------------------------ *\ * Slideout (https://slideout.js.org/) \* ----------------------------------------------------...
9520da294b52ec3a95061edb4317bb051e6e3c8c
src/assets/styles/module/slideout/_slideout.scss
src/assets/styles/module/slideout/_slideout.scss
SCSS
<|file_sep|>original/index.js function SuperSimpleDB(path) { if (!fs.existsSync(path)) { write({}); } this.get = get; this.set = set; function get(key) { return read()[key]; } function set(key, value) { var json = read(); json[key] = value; write(json); } <|file_sep|>current/i...
function SuperSimpleDB(path) { if (!fs.existsSync(path)) { write({}); } this.get = get; this.set = set; function get(key) { var json = read(); if (!key) { return json; } return json[key]; } function set(key, value) { var json = read();
<|file_sep|>original/index.js function SuperSimpleDB(path) { if (!fs.existsSync(path)) { write({}); } this.get = get; this.set = set; function get(key) { return read()[key]; } function set(key, value) { var json = read(); json[key] = value; write(json); } <|file_sep|>current/i...
49da4756ac25c32e3f183c0c31a9f97d7e5dd610
index.js
index.js
JavaScript
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' os: - linux before_script: composer install --dev script: ./vendor/phpunit/phpunit/phpunit --configuration phpunit.xml <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' os: - linux before_script: comp...
language: php php: - '7.0' - '7.1' os: - linux before_script: composer install --dev script: ./vendor/phpunit/phpunit/phpunit --configuration phpunit.xml
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' os: - linux before_script: composer install --dev script: ./vendor/phpunit/phpunit/phpunit --configuration phpunit.xml <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' os: - linux before_script: comp...
4949914d33f7490f08d53894854d15400ec5b600
.travis.yml
.travis.yml
YAML