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/socket-events.md <|file_sep|>current/socket-events.md <|file_sep|>updated/socket-events.md
Socket events ====== * Client Emit * `authenticate_team` * `"token"` * `authenticate_storyteller` * `"token"` * Authenticates and sets handlers for user socket * `join_game` ``` { "id": 5 } ``` * Team should only be able to join room once game is started (e.g. has representation in redis) * sp...
<|file_sep|>original/socket-events.md <|file_sep|>current/socket-events.md <|file_sep|>updated/socket-events.md Socket events ====== * Client Emit * `authenticate_team` * `"token"` * `authenticate_storyteller` * `"token"` * Authenticates and sets handlers for user socket * `join_game` ``` { "id": 5 ...
29aa9bd4a30dafc8850006bf36195b9f26b1657c
socket-events.md
socket-events.md
Markdown
<|file_sep|>original/metadata/de.srlabs.gsmmap.txt Requires Root:Yes Repo Type:git Repo:https://opensource.srlabs.de:/git/gsmmap-android.git Build:1.01,2 commit=5f681b56 subdir=gsmmap prebuild=rm -rf src/test Build:1.05,10 commit=790a7b9a2 subdir=gsmmap prebuild=rm -rf src/test Auto Update ...
Build:1.01,2 commit=5f681b56 subdir=gsmmap prebuild=rm -rf src/test Build:1.05,10 commit=790a7b9a2 subdir=gsmmap prebuild=rm -rf src/test Build:1.06,13 commit=6c97deef6d89 subdir=gsmmap prebuild=rm -rf src/test Auto Update Mode:None Update Check Mode:RepoManifest Current Version:...
<|file_sep|>original/metadata/de.srlabs.gsmmap.txt Requires Root:Yes Repo Type:git Repo:https://opensource.srlabs.de:/git/gsmmap-android.git Build:1.01,2 commit=5f681b56 subdir=gsmmap prebuild=rm -rf src/test Build:1.05,10 commit=790a7b9a2 subdir=gsmmap prebuild=rm -rf src/test Auto Update ...
7a7d3cb6c4d32ef283625552bc73779ae9356f06
metadata/de.srlabs.gsmmap.txt
metadata/de.srlabs.gsmmap.txt
Text
<|file_sep|>original/lib/bot/plugins/commands/ban_info.rb def execute(msg, username) begin bans = Fishbans.get_total_bans(username) rescue RuntimeError => e msg.reply("Error: #{e.message}") end # A ternary would be illogical here for length. message = ...
def execute(msg, username) begin bans = Fishbans.get_total_bans(username) rescue RuntimeError => e msg.reply("Error: #{e.message}") end # A ternary would be illogical here for length. message = if bans > 0 "#{username} has been ban...
<|file_sep|>original/lib/bot/plugins/commands/ban_info.rb def execute(msg, username) begin bans = Fishbans.get_total_bans(username) rescue RuntimeError => e msg.reply("Error: #{e.message}") end # A ternary would be illogical here for length. message = ...
aae92492531291f391e998a21a4eec7628b7b896
lib/bot/plugins/commands/ban_info.rb
lib/bot/plugins/commands/ban_info.rb
Ruby
<|file_sep|>src/main/java/com/amebame/triton/server/TritonServerContext.java.diff original: import java.util.concurrent.Executors; updated: import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; <|file_sep|>src/main/java/com/amebame/triton/ser...
private TritonServerMethodMap methodMap; private ExecutorService executor; @Inject public TritonServerContext(TritonServerConfiguration config) { methodMap = new TritonServerMethodMap(); executor = new ThreadPoolExecutor( 1, config.getNetty().getWorker(), 60L, TimeUnit.SECONDS, new Synch...
<|file_sep|>src/main/java/com/amebame/triton/server/TritonServerContext.java.diff original: import java.util.concurrent.Executors; updated: import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; <|file_sep|>src/main/java/com/amebame/triton/ser...
378b20c5159d8526c7d09b7cae76cb17b1b966fd
src/main/java/com/amebame/triton/server/TritonServerContext.java
src/main/java/com/amebame/triton/server/TritonServerContext.java
Java
<|file_sep|>original/pkgs/all-pkgs/minisign/default.nix url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz"; sha256 = "f2267a07bece923d4d174ccacccc56eff9c05b28c4d971e601de896355442f09"; }; nativeBuildInputs = [ cmake ninja ]; buildInputs = [ libsodium ]; meta = with...
nativeBuildInputs = [ cmake ninja ]; buildInputs = [ libsodium ]; passthru = { srcUpdate = fetchurl { url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz"; minisignUrl = "https://github.com/jedisct1/minisign/releases/download/${version}/minisign-${version}.tar....
<|file_sep|>original/pkgs/all-pkgs/minisign/default.nix url = "https://github.com/jedisct1/minisign/archive/${version}.tar.gz"; sha256 = "f2267a07bece923d4d174ccacccc56eff9c05b28c4d971e601de896355442f09"; }; nativeBuildInputs = [ cmake ninja ]; buildInputs = [ libsodium ]; meta = with...
4dd09c480769631d18d9475bd177ce34e2c95aed
pkgs/all-pkgs/minisign/default.nix
pkgs/all-pkgs/minisign/default.nix
Nix
<|file_sep|>original/conf/evolutions/default/34.sql <|file_sep|>current/conf/evolutions/default/34.sql <|file_sep|>updated/conf/evolutions/default/34.sql
# --- !Ups create table issue_event ( id bigint not null, created timestamp, sender_login_id varchar(255), issue_id bigint, event_type varchar(26), old_value varchar(255), new_value varchar(255), ...
<|file_sep|>original/conf/evolutions/default/34.sql <|file_sep|>current/conf/evolutions/default/34.sql <|file_sep|>updated/conf/evolutions/default/34.sql # --- !Ups create table issue_event ( id bigint not null, created timestamp, sender_login_id varchar(255), ...
25ca08380ede7b46ae6826bfcf21c948f41f8e32
conf/evolutions/default/34.sql
conf/evolutions/default/34.sql
SQL
<|file_sep|>package.json.diff original: "url": "git+https://bitbucket.org/aantonovdevelop/redis-orm.git" updated: "url": "https://github.com/aantonovdevelop/redis-omapper.git" <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://bitbucket.org/aantonovdevelop/redis-orm.g...
"repository": { "type": "git", "url": "https://github.com/aantonovdevelop/redis-omapper.git" }, "keywords": [ "redis", "orm" ], "author": "Artem Antonov", "license": "ISC", "homepage": "https://github.com/aantonovdevelop/redis-omapper#readme", "devDependencies": { "istanbul": "^0.4.2...
<|file_sep|>package.json.diff original: "url": "git+https://bitbucket.org/aantonovdevelop/redis-orm.git" updated: "url": "https://github.com/aantonovdevelop/redis-omapper.git" <|file_sep|>original/package.json "repository": { "type": "git", "url": "git+https://bitbucket.org/aantonovdevelop/redis-orm.g...
ca6a5a639b160c0b3d0a1db62944845447c6d23a
package.json
package.json
JSON
<|file_sep|>original/Cargo.toml [package] name = "yaqb" version = "0.1.0" authors = ["Sean Griffin <sean@thoughtbot.com>"] [dependencies] libc = "*" pq-sys = "0.1.*" byteorder = "0.3.*" [dev-dependencies] compiletest_rs = "*" quickcheck = "*" [[test]] name = "compile_tests" path = "tests/compile_tests.rs" harness = ...
[package] name = "yaqb" version = "0.1.0" authors = ["Sean Griffin <sean@thoughtbot.com>"] [dependencies] libc = "0.2.*" pq-sys = "0.2.*" byteorder = "0.3.*" [dev-dependencies] compiletest_rs = "*" quickcheck = "*" [[test]] name = "compile_tests" path = "tests/compile_tests.rs" harness = true [[test]] name = "integ...
<|file_sep|>original/Cargo.toml [package] name = "yaqb" version = "0.1.0" authors = ["Sean Griffin <sean@thoughtbot.com>"] [dependencies] libc = "*" pq-sys = "0.1.*" byteorder = "0.3.*" [dev-dependencies] compiletest_rs = "*" quickcheck = "*" [[test]] name = "compile_tests" path = "tests/compile_tests.rs" harness = ...
1f4227fbf1a7ac3a5722f6aa3bca06e40aa992d2
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/src/CMakeLists-local.txt # pthread requires special checks and flags to be added if(THREADS_HAVE_PTHREAD_ARG) target_compile_options(PUBLIC czmq "-pthread") endif() if(CMAKE_THREAD_LIBS_INIT) target_link_libraries(czmq "${CMAKE_THREAD_LIBS_INIT}") endif() <|file_sep|>current/src/CMakeLists-loc...
# pthread requires special checks and flags to be added if(THREADS_HAVE_PTHREAD_ARG) target_compile_options(PUBLIC czmq "-pthread") endif() if(CMAKE_THREAD_LIBS_INIT) target_link_libraries(czmq "${CMAKE_THREAD_LIBS_INIT}") endif() # at least C99 is required for zdir which uses ‘for’ loop initial declarations set(C...
<|file_sep|>original/src/CMakeLists-local.txt # pthread requires special checks and flags to be added if(THREADS_HAVE_PTHREAD_ARG) target_compile_options(PUBLIC czmq "-pthread") endif() if(CMAKE_THREAD_LIBS_INIT) target_link_libraries(czmq "${CMAKE_THREAD_LIBS_INIT}") endif() <|file_sep|>current/src/CMakeLists-loc...
8202dd931cb971843eed74106778b3adb8d6c399
src/CMakeLists-local.txt
src/CMakeLists-local.txt
Text
<|file_sep|>original/wercker.yml box: node:6-slim dev: steps: - npm-install - internal/watch: code: gulp build reload: true build: steps: - npm-install - hgen/gulp: tasks: default <|file_sep|>current/wercker.yml box: node:6-slim dev: steps: - npm-install - intern...
box: node:6-slim dev: steps: - npm-install - internal/watch: code: gulp build reload: true build: steps: - npm-install - bower-install - hgen/gulp: tasks: default
<|file_sep|>original/wercker.yml box: node:6-slim dev: steps: - npm-install - internal/watch: code: gulp build reload: true build: steps: - npm-install - hgen/gulp: tasks: default <|file_sep|>current/wercker.yml box: node:6-slim dev: steps: - npm-install - intern...
b831bc2ee2c55ac443575770b5a01050fb7d387d
wercker.yml
wercker.yml
YAML
<|file_sep|>original/packages/lo/localize.yaml <|file_sep|>current/packages/lo/localize.yaml <|file_sep|>updated/packages/lo/localize.yaml
homepage: '' changelog-type: '' hash: 395e115ab493d32dac27957dee6157ac66c568d90613c16fe321c69fdb57f9ce test-bench-deps: {} maintainer: portnov84@rambler.ru synopsis: GNU Gettext-based messages localization library changelog: '' basic-deps: bytestring: ==0.10.* setlocale: ! '>=1.0' base: ! '>4 && <5' time: ! '>=...
<|file_sep|>original/packages/lo/localize.yaml <|file_sep|>current/packages/lo/localize.yaml <|file_sep|>updated/packages/lo/localize.yaml homepage: '' changelog-type: '' hash: 395e115ab493d32dac27957dee6157ac66c568d90613c16fe321c69fdb57f9ce test-bench-deps: {} maintainer: portnov84@rambler.ru synopsis: GNU Gettext-b...
c98ccf4e6a53b33b618ee3b96ee17e4396968f0a
packages/lo/localize.yaml
packages/lo/localize.yaml
YAML
<|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input environment: GH_TOKEN: secure: IhA6RlRE79jPEwoTknXltoyllUvnXE+IQw+Rmkqx31Iu0KKErVVUvlafo236Cewb install: - ps: Install-Product node 4.4 x64 - npm install build_script: - node --version - npm --version - npm run dist ...
environment: GH_TOKEN: secure: IhA6RlRE79jPEwoTknXltoyllUvnXE+IQw+Rmkqx31Iu0KKErVVUvlafo236Cewb install: - ps: Install-Product node 4.4 x64 - npm install build_script: - node --version - npm --version - npm run dist artifacts: - path: dist\ballast-linux-armv7l - path: dist\ballast-linux-ia32 - ...
<|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input environment: GH_TOKEN: secure: IhA6RlRE79jPEwoTknXltoyllUvnXE+IQw+Rmkqx31Iu0KKErVVUvlafo236Cewb install: - ps: Install-Product node 4.4 x64 - npm install build_script: - node --version - npm --version - npm run dist ...
32875fc87eb4d4ed61cd23a78e41d75de85fb26a
appveyor.yml
appveyor.yml
YAML
<|file_sep|>src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java.diff original: private final String _xhtml; updated: private final String _html; <|file_sep|>src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java.diff original: public LiteralResultNode(final String xhtml) { _xhtml ...
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package net.hillsdon.reviki.wiki.renderer.result; public class LiteralResultNode extends LeafResultNode { private final String _h...
<|file_sep|>src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java.diff original: private final String _xhtml; updated: private final String _html; <|file_sep|>src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java.diff original: public LiteralResultNode(final String xhtml) { _xhtml ...
be7895f277186b26a00875a63abf775d6043e419
src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java
src/net/hillsdon/reviki/wiki/renderer/result/LiteralResultNode.java
Java
<|file_sep|>original/requirements/requirements.txt beautifulsoup4>=4.4.1,<5 DataProperty>=0.50.1,<2 jsonschema>=2.5.1,<4 mbstrdecoder>=1.0.0,<2 pathvalidate>=2.3.0,<3 path.py<13 tabledata>=1.1.1,<2 typepy>=1.1.4,<2 <|file_sep|>current/requirements/requirements.txt beautifulsoup4>=4.4.1,<5 DataProperty>=0.50.1,<2 jsonsc...
beautifulsoup4>=4.4.1,<5 DataProperty>=0.50.1,<2 jsonschema>=2.5.1,<4 mbstrdecoder>=1.0.0,<2 pathvalidate>=2.3.0,<3 path>=13,<17 tabledata>=1.1.1,<2 typepy>=1.1.4,<2
<|file_sep|>original/requirements/requirements.txt beautifulsoup4>=4.4.1,<5 DataProperty>=0.50.1,<2 jsonschema>=2.5.1,<4 mbstrdecoder>=1.0.0,<2 pathvalidate>=2.3.0,<3 path.py<13 tabledata>=1.1.1,<2 typepy>=1.1.4,<2 <|file_sep|>current/requirements/requirements.txt beautifulsoup4>=4.4.1,<5 DataProperty>=0.50.1,<2 jsonsc...
269da7f7b390f700f898c9c51a000a93adba8140
requirements/requirements.txt
requirements/requirements.txt
Text
<|file_sep|>api/src/jobs/sendAuditEmail.js.diff original: app.jobs.schedule('send audit email', '0 16 * * FRI', async () => { updated: app.jobs.schedule('send audit email', '0 16 * * 6', async () => { <|file_sep|>original/api/src/jobs/sendAuditEmail.js export default (app) => { app.jobs.schedule('send audit email...
export default (app) => { app.jobs.schedule('send audit email', '0 16 * * 6', async () => { app.info('CRON: sending audit email - starting') const mailerConfig = app.get('mailer') const recipients = mailerConfig.auditRecipients && mailerConfig.auditRecipients.split(',') app.info(`recipients: $...
<|file_sep|>api/src/jobs/sendAuditEmail.js.diff original: app.jobs.schedule('send audit email', '0 16 * * FRI', async () => { updated: app.jobs.schedule('send audit email', '0 16 * * 6', async () => { <|file_sep|>original/api/src/jobs/sendAuditEmail.js export default (app) => { app.jobs.schedule('send audit email...
9869a3507b1cff155f8a0083093c917d8a3e0a51
api/src/jobs/sendAuditEmail.js
api/src/jobs/sendAuditEmail.js
JavaScript
<|file_sep|>original/packages/mm/mmtf.yaml <|file_sep|>current/packages/mm/mmtf.yaml <|file_sep|>updated/packages/mm/mmtf.yaml
homepage: https://github.com/zmactep/mmtf#readme changelog-type: '' hash: 579477cbbe19392f65c3c27134fe20072a0d7397c9ebe92783b37a9afc691256 test-bench-deps: bytestring: -any mmtf: -any base: -any hspec: ! '>=2.4.1 && <2.5' QuickCheck: ! '>=2.9.2 && <2.10' maintainer: pavel@yakovlev.me synopsis: Macromolecular ...
<|file_sep|>original/packages/mm/mmtf.yaml <|file_sep|>current/packages/mm/mmtf.yaml <|file_sep|>updated/packages/mm/mmtf.yaml homepage: https://github.com/zmactep/mmtf#readme changelog-type: '' hash: 579477cbbe19392f65c3c27134fe20072a0d7397c9ebe92783b37a9afc691256 test-bench-deps: bytestring: -any mmtf: -any b...
5dcf81eba8252050750f07cc53f36ff31772d9f8
packages/mm/mmtf.yaml
packages/mm/mmtf.yaml
YAML
<|file_sep|>original/locales/es/copy-right.properties <|file_sep|>current/locales/es/copy-right.properties <|file_sep|>updated/locales/es/copy-right.properties
thank_you_for_signing=Gracias por firmar la petición Petition_Did_you_know_making_a_meme=¿Sabías que crear un meme está técnicamente prohibido en muchas partes de la UE? Petition_Did_you_know_its_illegal=¿Sabías que es ilegal compartir una imagen de la torre Eiffel iluminada por la noche? Petition_Did_you_know_in_some_...
<|file_sep|>original/locales/es/copy-right.properties <|file_sep|>current/locales/es/copy-right.properties <|file_sep|>updated/locales/es/copy-right.properties thank_you_for_signing=Gracias por firmar la petición Petition_Did_you_know_making_a_meme=¿Sabías que crear un meme está técnicamente prohibido en muchas parte...
3a0bfe56fc649758b919f417e910b6f134913a3e
locales/es/copy-right.properties
locales/es/copy-right.properties
INI
<|file_sep|>original/.github/ISSUE_TEMPLATE/feature_request.md <|file_sep|>current/.github/ISSUE_TEMPLATE/feature_request.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/feature_request.md
--- name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and con...
<|file_sep|>original/.github/ISSUE_TEMPLATE/feature_request.md <|file_sep|>current/.github/ISSUE_TEMPLATE/feature_request.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/feature_request.md --- name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' --- **Is your feature reques...
60d1ad21810ebba948e3222a1b533b1bdf053d57
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/feature_request.md
Markdown
<|file_sep|>packages/la/layout-rules.yaml.diff original: hash: 60c7a9bc9b70cdb34b1a0a41f6909b163eee6c6480780cc324a3f8fe6f6406d2 updated: hash: b0f91b67a97c2d839e65fc5c36f5955fd0ddbdefba132099afae3cbebb10f003 <|file_sep|>original/packages/la/layout-rules.yaml ## 0.1.0.0 -- 2017-03-21 * First version. Off-sides i...
## 0.1.0.0 -- 2017-03-21 * First version. Off-sides implementation extracted from the `located` package. ' basic-deps: base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' alex-tools: ! '>=0.1.1.0 && <0.4' all-versions: - '0.1.0.0' - '0.1.0.1' author: Trevor Elliott latest: '0.1.0.1' description-type: haddock d...
<|file_sep|>packages/la/layout-rules.yaml.diff original: hash: 60c7a9bc9b70cdb34b1a0a41f6909b163eee6c6480780cc324a3f8fe6f6406d2 updated: hash: b0f91b67a97c2d839e65fc5c36f5955fd0ddbdefba132099afae3cbebb10f003 <|file_sep|>original/packages/la/layout-rules.yaml ## 0.1.0.0 -- 2017-03-21 * First version. Off-sides i...
4e13f0ce3a3aadad03709613ae1e69f2d38ae9a6
packages/la/layout-rules.yaml
packages/la/layout-rules.yaml
YAML
<|file_sep|>original/config/application.rb # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module WreccleshamFc class Application < Rails::Application # Settings in config/environ...
require 'action_cable/engine' require 'sprockets/railtie' # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module WreccleshamFc class Application < Rails::Application # Settings in...
<|file_sep|>original/config/application.rb # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module WreccleshamFc class Application < Rails::Application # Settings in config/environ...
7089477e6c9384855671115491d392161618b0ca
config/application.rb
config/application.rb
Ruby
<|file_sep|>metadata/com.tomer.draw.txt.diff original: Auto Name:AnyDraw updated: Auto Name:Quick Draw Everywhere <|file_sep|>metadata/com.tomer.draw.txt.diff original: updated: Build:1.9,100 commit=1.9 subdir=app gradle=yes <|file_sep|>original/metadata/com.tomer.draw.txt Donate:https://www.paypal.me/ros...
Quickly draw anywhere on your screen using a floating bubble and a simple, yet powerful drawing canvas . Repo Type:git Repo:https://github.com/rosenpin/QuickDrawEverywhere.git Build:1.8,51 commit=1.8 subdir=app gradle=yes Build:1.9,100 commit=1.9 subdir=app gradle=yes Auto Update Mode:Versio...
<|file_sep|>metadata/com.tomer.draw.txt.diff original: Auto Name:AnyDraw updated: Auto Name:Quick Draw Everywhere <|file_sep|>metadata/com.tomer.draw.txt.diff original: updated: Build:1.9,100 commit=1.9 subdir=app gradle=yes <|file_sep|>original/metadata/com.tomer.draw.txt Donate:https://www.paypal.me/ros...
1fe1bd86e6a465468832c2eaa693401e5fb4fcad
metadata/com.tomer.draw.txt
metadata/com.tomer.draw.txt
Text
<|file_sep|>original/sdk/objc/base/RTCMacros.h * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef SDK_OBJC_BASE_RTCMACROS_H_ #define SDK_OBJC_BASE_RTCMACROS_H...
* tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef SDK_OBJC_BASE_RTCMACROS_H_ #define SDK_OBJC_BASE_RTCMACROS_H_ #define RTC_OBJC_EXPORT __attribute__((visib...
<|file_sep|>original/sdk/objc/base/RTCMacros.h * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef SDK_OBJC_BASE_RTCMACROS_H_ #define SDK_OBJC_BASE_RTCMACROS_H...
cc628b8c1b2227cad240ed1c12d10636e91145cc
sdk/objc/base/RTCMacros.h
sdk/objc/base/RTCMacros.h
C
<|file_sep|>original/src/fifth_robot_pkgs/fifth_robot_2dnav/config/costmap/costmap_common_params.yaml # inflation_radius: 0.5 cost_scaling_factor: 5.0 rigin_z: 0.0 z_resolution: 0.02 z_voxels: 0.02 publish_voxel_map: false observation_sources: velodyne_sensor velodyne_sensor: { sensor_frame: velodyne_link, data_t...
# inflation_radius: 0.5 cost_scaling_factor: 5.0 rigin_z: 0.0 z_resolution: 0.02 z_voxels: 0.02 publish_voxel_map: false observation_sources: velodyne_sensor velodyne_sensor: { sensor_frame: velodyne_link, data_type: PointCloud2, topic: velodyne_points, # expected_update_rate: 1.0, observation_persistence: ...
<|file_sep|>original/src/fifth_robot_pkgs/fifth_robot_2dnav/config/costmap/costmap_common_params.yaml # inflation_radius: 0.5 cost_scaling_factor: 5.0 rigin_z: 0.0 z_resolution: 0.02 z_voxels: 0.02 publish_voxel_map: false observation_sources: velodyne_sensor velodyne_sensor: { sensor_frame: velodyne_link, data_t...
94748fc87665e793af840df61a4d7c7df785add7
src/fifth_robot_pkgs/fifth_robot_2dnav/config/costmap/costmap_common_params.yaml
src/fifth_robot_pkgs/fifth_robot_2dnav/config/costmap/costmap_common_params.yaml
YAML
<|file_sep|>original/docs/index.rst .. title:: Main Page Welcome To retdec-python's Documentation! ========================================= `retdec-python <https://github.com/s3rvac/retdec-python>`_ is a Python library and tools providing easy access to the `retdec.com <https://retdec.com>`_ decompilation service th...
.. title:: Main Page Welcome To retdec-python's Documentation! ========================================= `retdec-python <https://github.com/s3rvac/retdec-python>`_ is a Python library and tools providing easy access to the `retdec.com <https://retdec.com>`_ decompilation service through their public `REST API <https:...
<|file_sep|>original/docs/index.rst .. title:: Main Page Welcome To retdec-python's Documentation! ========================================= `retdec-python <https://github.com/s3rvac/retdec-python>`_ is a Python library and tools providing easy access to the `retdec.com <https://retdec.com>`_ decompilation service th...
d1a8b98b497bbae9e7add69eed061a37132f0964
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>original/data/transition-sites/icinspector.yml --- site: icinspector whitehall_slug: independent-chief-inspector-of-borders-and-immigration homepage: https://www.gov.uk/government/organisations/independent-chief-inspector-of-borders-and-immigration tna_timestamp: 20140404084345 host: icinspector.independent...
--- site: icinspector whitehall_slug: independent-chief-inspector-of-borders-and-immigration homepage: https://www.gov.uk/government/organisations/independent-chief-inspector-of-borders-and-immigration tna_timestamp: 20170803100457 host: icinspector.independent.gov.uk
<|file_sep|>original/data/transition-sites/icinspector.yml --- site: icinspector whitehall_slug: independent-chief-inspector-of-borders-and-immigration homepage: https://www.gov.uk/government/organisations/independent-chief-inspector-of-borders-and-immigration tna_timestamp: 20140404084345 host: icinspector.independent...
68d4076c1d79c7fa972a90216ee1f9d5d7cc2c0d
data/transition-sites/icinspector.yml
data/transition-sites/icinspector.yml
YAML
<|file_sep|>original/.travis.yml sudo: false matrix: include: - os: linux compiler: gcc install: bash .ci/build-c2man.sh env: PATH=$PATH:$TRAVIS_BUILD_DIR/c2man-install - os: linux compiler: clang - os: osx compiler: clang before_script: - ./autogen.sh script: - make ...
matrix: include: - os: linux compiler: gcc install: bash .ci/build-c2man.sh env: PATH=$PATH:$TRAVIS_BUILD_DIR/c2man-install - os: linux compiler: clang - os: osx compiler: clang - os: linux language: python python: 3.5 env: PATH=$PATH:$TRAVIS_BUILD_DIR/c...
<|file_sep|>original/.travis.yml sudo: false matrix: include: - os: linux compiler: gcc install: bash .ci/build-c2man.sh env: PATH=$PATH:$TRAVIS_BUILD_DIR/c2man-install - os: linux compiler: clang - os: osx compiler: clang before_script: - ./autogen.sh script: - make ...
e66ddbd18df9db088c33ff080424a76bc65ac63b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Graph/IUndirectedEdge.cs namespace Graph { /// <summary> /// Represents an undirected edge (link) in a labeled <see cref="IGraph"/>. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (node) labels. /// </typeparam> /// <typeparam name="W"> //...
using System; using System.Collections.Generic; namespace Graph { /// <summary> /// Represents an undirected edge (link) in a labeled <see cref="IGraph"/>. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (node) labels. /// </typeparam> /// <typeparam name="W"> ...
<|file_sep|>original/Graph/IUndirectedEdge.cs namespace Graph { /// <summary> /// Represents an undirected edge (link) in a labeled <see cref="IGraph"/>. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (node) labels. /// </typeparam> /// <typeparam name="W"> //...
f68541e4aac5906a7911d350705dccc2f9c6fcca
Graph/IUndirectedEdge.cs
Graph/IUndirectedEdge.cs
C#
<|file_sep|>rakudo-star/content.md.diff original: Rakudo Star is a Raku distribution designed for use by early adopters of the language. It includes a virtual machine (the JVM or MoarVM), the Rakudo compiler, and a suite of modules that users may find useful. This image includes the MoarVM backend for the compiler. upd...
# How to use this image Simply running a container with the image will launch a Raku REPL: ```console $ docker run -it %%IMAGE%% > say 'Hello, Raku!' Hello, Raku! ``` You can also provide raku command line switches to `docker run`: ```console $ docker run -it %%IMAGE%% raku -e 'say "Hello!"' ``` # Contributing/Get...
<|file_sep|>rakudo-star/content.md.diff original: Rakudo Star is a Raku distribution designed for use by early adopters of the language. It includes a virtual machine (the JVM or MoarVM), the Rakudo compiler, and a suite of modules that users may find useful. This image includes the MoarVM backend for the compiler. upd...
9816e8b4fdc510d46e67ab9519c240df1a22f62a
rakudo-star/content.md
rakudo-star/content.md
Markdown
<|file_sep|>original/annotations/src/main/java/org/realityforge/arez/annotations/Observable.java package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods ma...
import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are observable values within Arez. * * <p>The method should only invoked within the scope of a transaction.</p> ...
<|file_sep|>original/annotations/src/main/java/org/realityforge/arez/annotations/Observable.java package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods ma...
257653e5e318e528ed2cc3be40cc1295d50db95d
annotations/src/main/java/org/realityforge/arez/annotations/Observable.java
annotations/src/main/java/org/realityforge/arez/annotations/Observable.java
Java
<|file_sep|>README.md.diff original: # SockIt updated: # posix-udp-swift (SockIt) <|file_sep|>README.md.diff original: Simple project that shows how to make a simple UDP server and client in Swift using POSIX calls. updated: > Simple project that shows how to make a simple UDP server and client in Swift using POSIX c...
# posix-udp-swift (SockIt) > Simple project that shows how to make a simple UDP server and client in Swift using POSIX calls. This project was an exploration of using the posix libraries from Swift by writing a UDP server/client. Most of the complexity is in the bridging of Swift's type strictness to the C based Core...
<|file_sep|>README.md.diff original: # SockIt updated: # posix-udp-swift (SockIt) <|file_sep|>README.md.diff original: Simple project that shows how to make a simple UDP server and client in Swift using POSIX calls. updated: > Simple project that shows how to make a simple UDP server and client in Swift using POSIX c...
5d2734026d2794c39310912900b66084478d2310
README.md
README.md
Markdown
<|file_sep|>original/boltiot/requesting.py import requests def request_from(url, *kwargs): try: response = str(requests.get(url.format(*kwargs)).text) return response except requests.exceptions.ConnectionError as err: return str({"success":"0", "message":"A Connection error occurred"}) ...
import requests def request_from(url, *kwargs): try: response = str(requests.get(url.format(*kwargs)).text) return response except requests.exceptions.ConnectionError as err: return str({"success":"0", "message":"A Connection error occurred"}) except requests.exceptions.Timeout as e...
<|file_sep|>original/boltiot/requesting.py import requests def request_from(url, *kwargs): try: response = str(requests.get(url.format(*kwargs)).text) return response except requests.exceptions.ConnectionError as err: return str({"success":"0", "message":"A Connection error occurred"}) ...
3699cc594d9a4f02d24308cb41b8757124616f78
boltiot/requesting.py
boltiot/requesting.py
Python
<|file_sep|>original/_config_master.yml image_server_url: https://cf.jare.io/?u=https://next.cmlteam.com resources_server_url: https://next.cmlteam.com <|file_sep|>current/_config_master.yml image_server_url: https://cf.jare.io/?u=https://next.cmlteam.com resources_server_url: https://next.cmlteam.com <|file_sep|>updat...
image_server_url: https://next.cmlteam.com resources_server_url: https://cf.jare.io/?u=https://next.cmlteam.com
<|file_sep|>original/_config_master.yml image_server_url: https://cf.jare.io/?u=https://next.cmlteam.com resources_server_url: https://next.cmlteam.com <|file_sep|>current/_config_master.yml image_server_url: https://cf.jare.io/?u=https://next.cmlteam.com resources_server_url: https://next.cmlteam.com <|file_sep|>updat...
237fa3b0b632fff68f55a6e24c38bcbf00de04d8
_config_master.yml
_config_master.yml
YAML
<|file_sep|>app/scripts/services/shareddata.coffee.diff original: updated: author = {} <|file_sep|>original/app/scripts/services/shareddata.coffee 'use strict' ###* # @ngdoc service # @name arashike-blog.githubshareddata # @description # # githubshareddata # Service in the arashike-blog. ### angular.module '...
'use strict' ###* # @ngdoc service # @name arashike-blog.githubshareddata # @description # # githubshareddata # Service in the arashike-blog. ### angular.module 'arashike-blog' .service 'sharedDataService', -> author = {} gists = [] return { author: author gists: gists }
<|file_sep|>app/scripts/services/shareddata.coffee.diff original: updated: author = {} <|file_sep|>original/app/scripts/services/shareddata.coffee 'use strict' ###* # @ngdoc service # @name arashike-blog.githubshareddata # @description # # githubshareddata # Service in the arashike-blog. ### angular.module '...
747e1ae47f2de882adf560695cbd545e52b6bc82
app/scripts/services/shareddata.coffee
app/scripts/services/shareddata.coffee
CoffeeScript
<|file_sep|>original/Prelude/Application.swift // Copyright (c) 2014 Rob Rix. All rights reserved. // MARK: Operators infix operator |> { /// Associates to the left for consistency with F# and λ calculi. associativity left /// Minimal precedence means that everything else binds tighter. precedence 0 } // MARK...
// Copyright (c) 2014 Rob Rix. All rights reserved. // MARK: Operators infix operator |> { /// Associates to the left for consistency with F# and λ calculi. associativity left /// Minimal precedence means that everything else binds tighter. precedence 0 } // MARK: Function application /// Forward function ap...
<|file_sep|>original/Prelude/Application.swift // Copyright (c) 2014 Rob Rix. All rights reserved. // MARK: Operators infix operator |> { /// Associates to the left for consistency with F# and λ calculi. associativity left /// Minimal precedence means that everything else binds tighter. precedence 0 } // MARK...
03c70d41049b79cf9c7c313619ae928a2303d082
Prelude/Application.swift
Prelude/Application.swift
Swift
<|file_sep|>original/pdf_ravager.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/pdf_ravager/version', __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.platform = 'java' s.authors = ['Abe Voelker'] s.email = 'abe@abevo...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/pdf_ravager/version', __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.authors = ['Abe Voelker'] s.email = 'abe@abevoelker.com' s.homepage = 'https://github.com/abevoelker/pdf_ra...
<|file_sep|>original/pdf_ravager.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/pdf_ravager/version', __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.platform = 'java' s.authors = ['Abe Voelker'] s.email = 'abe@abevo...
e71f624329df8558fa1cac83dfdc0bf005eb5f3b
pdf_ravager.gemspec
pdf_ravager.gemspec
Ruby
<|file_sep|>original/deployment/roles/hub-ubuntu/tasks/main.yml --- - name: set hostname hostname: name: "{{ploy_hostname}}" - name: install runtime dependencies apt: name: "{{item}}" state: installed with_items: - python3.5 - wpasupplicant - wireless-tools - supervisor - python3-...
--- - name: set hostname hostname: name: "{{ploy_hostname}}" - name: install runtime dependencies apt: name: "{{item}}" state: installed with_items: - avahi-daemon - python3.5 - wpasupplicant - wireless-tools - supervisor - python3-venv - libffi-dev - libssl-dev - nam...
<|file_sep|>original/deployment/roles/hub-ubuntu/tasks/main.yml --- - name: set hostname hostname: name: "{{ploy_hostname}}" - name: install runtime dependencies apt: name: "{{item}}" state: installed with_items: - python3.5 - wpasupplicant - wireless-tools - supervisor - python3-...
d0dff1a0836b2589ad61239f40893b39af319610
deployment/roles/hub-ubuntu/tasks/main.yml
deployment/roles/hub-ubuntu/tasks/main.yml
YAML
<|file_sep|>src/transferring/index.js.diff original: const transferrers = {}; updated: <|file_sep|>src/transferring/index.js.diff original: if (protocol in transferrers === false) throw new Error("No transferrer registered for protocol: " + protocol); updated: if (protocol in transfer.registrations === false) thro...
var protocol = urlModule.parse(url).protocol; if (!protocol) throw new Error("'request.url' param must have a protocol scheme."); protocol = protocol.replace(":", ""); if (protocol in transfer.registrations === false) throw new Error("No transferrer registered for protocol: " + protocol); var transfe...
<|file_sep|>src/transferring/index.js.diff original: const transferrers = {}; updated: <|file_sep|>src/transferring/index.js.diff original: if (protocol in transferrers === false) throw new Error("No transferrer registered for protocol: " + protocol); updated: if (protocol in transfer.registrations === false) thro...
cb755108580ee143b9e74883a2948598473e341d
src/transferring/index.js
src/transferring/index.js
JavaScript
<|file_sep|>original/segurofacil.gemspec spec.version = Segurofacil::VERSION spec.authors = ["Guilherme"] spec.email = ["guilhermekfe@outlook.com"] spec.summary = %q{Gem to wrap segurofacil.com.br API} spec.description = %q{Gem to wrap segurofacil.com.br API} spec.homepage ...
spec.authors = ["Guilherme"] spec.email = ["guilhermekfe@outlook.com"] spec.summary = %q{Gem to wrap segurofacil.com.br API} spec.description = %q{Gem to wrap segurofacil.com.br API} spec.homepage = "https://github.com/guilhermekfe/segurofacil-ruby" spec.license = "MIT" ...
<|file_sep|>original/segurofacil.gemspec spec.version = Segurofacil::VERSION spec.authors = ["Guilherme"] spec.email = ["guilhermekfe@outlook.com"] spec.summary = %q{Gem to wrap segurofacil.com.br API} spec.description = %q{Gem to wrap segurofacil.com.br API} spec.homepage ...
63f8c1f384ae3735f30541371dba97267e1668e3
segurofacil.gemspec
segurofacil.gemspec
Ruby
<|file_sep|>original/README.md # Solar token This project was created during the hackathon at the [Blockchain summer school in Copenhagen](http://blockchainschool.eu/) on 16-17 August 2017. The idea was to create a P2P marketplace for energy trading. This repository only implements a simple demo, where residents of a...
# Solar token This project was created during the hackathon at the [Blockchain summer school in Copenhagen](http://blockchainschool.eu/) on 16-17 August and presented on 18 August 2017 ([video](https://www.youtube.com/watch?v=ZDm7V16NNpo)). The idea was to create a P2P marketplace for energy trading. This repository ...
<|file_sep|>original/README.md # Solar token This project was created during the hackathon at the [Blockchain summer school in Copenhagen](http://blockchainschool.eu/) on 16-17 August 2017. The idea was to create a P2P marketplace for energy trading. This repository only implements a simple demo, where residents of a...
581d24931364972904af39db4f2f48e03a6398b2
README.md
README.md
Markdown
<|file_sep|>api/oidc.go.diff original: type OidcTokenRequest struct { Audience string `json:"audience"` } updated: <|file_sep|>api/oidc.go.diff original: var m *OidcTokenRequest updated: type oidcTokenRequest struct { Audience string `json:"audience"` } var m *oidcTokenRequest <|file_sep|>original/api/oidc.go...
func (c *Client) OidcToken(jobId string, audience ...string) (*OidcToken, *Response, error) { type oidcTokenRequest struct { Audience string `json:"audience"` } var m *oidcTokenRequest switch len(audience) { case 0: m = nil case 1: m = &oidcTokenRequest{Audience: audience[0]} default: return nil, nil, E...
<|file_sep|>api/oidc.go.diff original: type OidcTokenRequest struct { Audience string `json:"audience"` } updated: <|file_sep|>api/oidc.go.diff original: var m *OidcTokenRequest updated: type oidcTokenRequest struct { Audience string `json:"audience"` } var m *oidcTokenRequest <|file_sep|>original/api/oidc.go...
b11ea30dd5352e96e5de46f8960895d62478fa95
api/oidc.go
api/oidc.go
Go
<|file_sep|>original/Library/Formula/sshfs.rb url 'https://github.com/fuse4x/sshfs.git', :tag => 'sshfs_2_3_0' version '2.3.0' depends_on 'pkg-config' => :build depends_on 'fuse4x' depends_on 'glib' def install ENV['ACLOCAL'] = "/usr/bin/aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal...
url 'https://github.com/fuse4x/sshfs.git', :tag => 'sshfs_2_3_0' version '2.3.0' depends_on 'pkg-config' => :build depends_on 'fuse4x' depends_on 'glib' def install ENV['ACLOCAL'] = "/usr/bin/aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal" ENV['AUTOCONF'] = "/usr/bin/autoconf" ...
<|file_sep|>original/Library/Formula/sshfs.rb url 'https://github.com/fuse4x/sshfs.git', :tag => 'sshfs_2_3_0' version '2.3.0' depends_on 'pkg-config' => :build depends_on 'fuse4x' depends_on 'glib' def install ENV['ACLOCAL'] = "/usr/bin/aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal...
341c321f684942f7ee61282872eff713f1ea380d
Library/Formula/sshfs.rb
Library/Formula/sshfs.rb
Ruby
<|file_sep|>original/.travis.yml language: go go: - 1.3 - release # - tip script: - go test -v ./... <|file_sep|>current/.travis.yml language: go go: - 1.3 - release # - tip script: - go test -v ./... <|file_sep|>updated/.travis.yml
language: go go: - 1.3 # - release # - tip script: - go test -v ./...
<|file_sep|>original/.travis.yml language: go go: - 1.3 - release # - tip script: - go test -v ./... <|file_sep|>current/.travis.yml language: go go: - 1.3 - release # - tip script: - go test -v ./... <|file_sep|>updated/.travis.yml language: go go: - 1.3 # - release # - tip script: - go test -v ./...
4ef749ed6c87785367429e3e6242d142e5d5c336
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md Send emails in Laravel with Postmark ==================================== [Postmarkapp](http://postmarkapp.com) is an excellent ESP (Email Service Provider). This package makes it possible to send your emails with Postmark without modifing your code. Using Laravel 4? Visit the [`laravel...
Send emails in Laravel with Postmark ==================================== [Postmarkapp](http://postmarkapp.com) is an excellent ESP (Email Service Provider). This package makes it possible to send your emails with Postmark without modifing your code. Using Laravel 4? Visit the [`laravel-4` branch](https://github.com/...
<|file_sep|>original/README.md Send emails in Laravel with Postmark ==================================== [Postmarkapp](http://postmarkapp.com) is an excellent ESP (Email Service Provider). This package makes it possible to send your emails with Postmark without modifing your code. Using Laravel 4? Visit the [`laravel...
c054d86d7290cc83177543a8ec4b6aa3547d57f0
README.md
README.md
Markdown
<|file_sep|>original/.rubocop.yml # Blocks can be any length in spec files Metrics/BlockLength: Exclude: - 'spec/**/*_spec.rb' # Be lenient with line length Metrics/LineLength: Max: 110 Naming/PredicateName: NameWhitelist: - 'has_one' - 'has_many' - 'has_xml_content' RSpec/FilePath: CustomTra...
# Blocks can be any length in spec files Metrics/BlockLength: Exclude: - 'spec/**/*_spec.rb' # Be lenient with line length Metrics/LineLength: Max: 110 Naming/PredicateName: AllowedMethods: - 'has_one' - 'has_many' - 'has_xml_content' RSpec/FilePath: CustomTransform: HappyMapper: 'happyma...
<|file_sep|>original/.rubocop.yml # Blocks can be any length in spec files Metrics/BlockLength: Exclude: - 'spec/**/*_spec.rb' # Be lenient with line length Metrics/LineLength: Max: 110 Naming/PredicateName: NameWhitelist: - 'has_one' - 'has_many' - 'has_xml_content' RSpec/FilePath: CustomTra...
00b073d540a1005f0d07f28e222369d38e075239
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/README.md rmd-dashboard ============= ResMed Dashboard # Dev setup ## Grunt If you don't already have it, you will need to install the grunt-cli npm install -g grunt-cli ## Install dependencies To set up the development environment, execute the following commands npm install grunt ...
## Install dependencies To set up the development environment, execute the following commands npm install grunt bower:install ## Run server in development mode grunt run # Troubleshooting ## When I run `grunt bower:install` I get a Git error Does it look like this? Fatal error: Failed to execute "...
<|file_sep|>original/README.md rmd-dashboard ============= ResMed Dashboard # Dev setup ## Grunt If you don't already have it, you will need to install the grunt-cli npm install -g grunt-cli ## Install dependencies To set up the development environment, execute the following commands npm install grunt ...
ef0c97624a4809bad454e4f7924062cad95e7a7a
README.md
README.md
Markdown
<|file_sep|>original/tests/Integration/Environment/WindowsEnvironmentTest.php namespace ptlis\ShellCommand\Test\Integration\Environment; use ptlis\ShellCommand\WindowsEnvironment; class WindowsEnvironmentTest extends \PHPUnit_Framework_TestCase { public function testFullyQualified() { $command = __D...
namespace ptlis\ShellCommand\Test\Integration\Environment; use ptlis\ShellCommand\WindowsEnvironment; class WindowsEnvironmentTest extends \PHPUnit_Framework_TestCase { public function testFullyQualified() { $command = __DIR__ . '\..\..\commands\windows\test.bat'; $env = new WindowsEnvironm...
<|file_sep|>original/tests/Integration/Environment/WindowsEnvironmentTest.php namespace ptlis\ShellCommand\Test\Integration\Environment; use ptlis\ShellCommand\WindowsEnvironment; class WindowsEnvironmentTest extends \PHPUnit_Framework_TestCase { public function testFullyQualified() { $command = __D...
7c1e7914fc0c2b9ea3e0881b6ca1527a14f2a063
tests/Integration/Environment/WindowsEnvironmentTest.php
tests/Integration/Environment/WindowsEnvironmentTest.php
PHP
<|file_sep|>original/Cargo.toml [package] name = "solidoak" version = "0.0.1" authors = ["oakes <zsoakes@gmail.com>"] [dependencies.rgtk] git = "https://github.com/jeremyletang/rgtk.git" <|file_sep|>current/Cargo.toml [package] name = "solidoak" version = "0.0.1" authors = ["oakes <zsoakes@gmail.com>"] [dependenci...
[package] name = "solidoak" version = "0.0.1" authors = ["oakes <zsoakes@gmail.com>"] [dependencies.rgtk] git = "https://github.com/jeremyletang/rgtk.git" # run the following to set the correct GTK version: # export GTK_VERSION=${GTK_VERSION:=GTK_3_10}
<|file_sep|>original/Cargo.toml [package] name = "solidoak" version = "0.0.1" authors = ["oakes <zsoakes@gmail.com>"] [dependencies.rgtk] git = "https://github.com/jeremyletang/rgtk.git" <|file_sep|>current/Cargo.toml [package] name = "solidoak" version = "0.0.1" authors = ["oakes <zsoakes@gmail.com>"] [dependenci...
2baeeef44c54ce0f006e6984a2894840f1a22f7f
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.github/workflows/preview.yml jobs: preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: afc163/surge-preview@v1 id: preview_step with: surge_token: ${{ secrets.SURGE_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} ...
jobs: preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: afc163/surge-preview@v1 id: preview_step with: surge_token: ${{ secrets.SURGE_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} dist: _dist teardown: 'true' ...
<|file_sep|>original/.github/workflows/preview.yml jobs: preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: afc163/surge-preview@v1 id: preview_step with: surge_token: ${{ secrets.SURGE_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }} ...
f16df42f562874fc239f73348166b166a1e30c0f
.github/workflows/preview.yml
.github/workflows/preview.yml
YAML
<|file_sep|>original/app/models/edition.rb new_edition = self.guide.build_edition(self.title,self.introduction) new_edition.parts = self.parts.map {|p| p.dup } new_edition end def order_parts parts.each_with_index do |obj, i| obj.order = i + 1 end end def new_action(user,type,com...
new_edition = self.guide.build_edition(self.title,self.introduction) new_edition.parts = self.parts.map {|p| p.dup } new_edition end def order_parts parts.each_with_index do |obj, i| obj.order = i + 1 end end def new_action(user,type,comment) self.actions << Action.new(:reque...
<|file_sep|>original/app/models/edition.rb new_edition = self.guide.build_edition(self.title,self.introduction) new_edition.parts = self.parts.map {|p| p.dup } new_edition end def order_parts parts.each_with_index do |obj, i| obj.order = i + 1 end end def new_action(user,type,com...
257eeb91859edd2a7374394cac0afddf57d224df
app/models/edition.rb
app/models/edition.rb
Ruby
<|file_sep|>original/.github/free-up-disk-space.sh echo echo "Disk space before clean up:" df -h echo echo "Disabling swap..." sudo swapoff -a echo "Removing swapfile..." sudo rm -f /swapfile echo "Cleaning APT cache..." sudo apt clean echo "Removing docker images..." docker rmi $(docker image ls -aq) echo echo "...
echo echo "Disabling swap..." sudo swapoff -a echo "Removing swapfile..." sudo rm -f /swapfile echo "Cleaning APT cache..." sudo apt clean echo "Removing some directories..." sudo rm -rf /usr/local/lib/android/ sudo rm -rf /usr/local/lib/node_modules/ sudo rm -rf /usr/local/share/chromium/ sudo rm -rf "${AGENT_TOOLS...
<|file_sep|>original/.github/free-up-disk-space.sh echo echo "Disk space before clean up:" df -h echo echo "Disabling swap..." sudo swapoff -a echo "Removing swapfile..." sudo rm -f /swapfile echo "Cleaning APT cache..." sudo apt clean echo "Removing docker images..." docker rmi $(docker image ls -aq) echo echo "...
21ae1e6023ecfaac53a059e7767f814ff0bf5578
.github/free-up-disk-space.sh
.github/free-up-disk-space.sh
Shell
<|file_sep|>original/lib/squall/template.rb class Template < Base # Public: Lists available templates. # # Returns an Array. def list response = request(:get, '/templates.json') response.collect { |temp| temp['image_template'] } end # Public: Make a Template public so that it can ...
end # Public: Make a Template public so that it can be downloaded via a HTTP # URL. # # id - ID of template # # Returns a Hash. def make_public(id) response = request(:post, "/templates/#{id}/make_public.json") response.first[1] end # Public: Lists grouped templates...
<|file_sep|>original/lib/squall/template.rb class Template < Base # Public: Lists available templates. # # Returns an Array. def list response = request(:get, '/templates.json') response.collect { |temp| temp['image_template'] } end # Public: Make a Template public so that it can ...
8c52d3d852674faaea2d511352537b119a33ee5a
lib/squall/template.rb
lib/squall/template.rb
Ruby
<|file_sep|>original/lib/oauth1.dart library oauth1; export 'src/utils.dart'; export 'src/client_credentials.dart'; export 'src/credentials.dart'; export 'src/signature_method.dart'; export 'src/client.dart'; export 'src/authorization.dart'; export 'src/platform.dart'; <|file_sep|>current/lib/oauth1.dart library oauth...
library oauth1; export 'src/client_credentials.dart'; export 'src/credentials.dart'; export 'src/signature_method.dart'; export 'src/client.dart'; export 'src/authorization.dart'; export 'src/platform.dart';
<|file_sep|>original/lib/oauth1.dart library oauth1; export 'src/utils.dart'; export 'src/client_credentials.dart'; export 'src/credentials.dart'; export 'src/signature_method.dart'; export 'src/client.dart'; export 'src/authorization.dart'; export 'src/platform.dart'; <|file_sep|>current/lib/oauth1.dart library oauth...
6e498094d31f81b142176a80f2b5b6ae22e898fa
lib/oauth1.dart
lib/oauth1.dart
Dart
<|file_sep|>original/install/source/include-chmod-database-yml.rst For security reasons, ensure that your database configuration is readable for the Zammad user only. .. code-block:: sh $ chmod 600 /opt/zammad/config/database.yml <|file_sep|>current/install/source/include-chmod-database-yml.rst For security reason...
For security reasons, ensure that your database configuration is readable for the Zammad user only. .. code-block:: sh $ chmod 600 /opt/zammad/config/database.yml $ chown zammad:zammad /opt/zammad/config/database.yml
<|file_sep|>original/install/source/include-chmod-database-yml.rst For security reasons, ensure that your database configuration is readable for the Zammad user only. .. code-block:: sh $ chmod 600 /opt/zammad/config/database.yml <|file_sep|>current/install/source/include-chmod-database-yml.rst For security reason...
d0816bc4d5436f6056cc2cd48a210d9250547320
install/source/include-chmod-database-yml.rst
install/source/include-chmod-database-yml.rst
reStructuredText
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.3 django-crispy-forms==1.7.2 django-registration-redux==2.2 django-recaptcha==1.4.0 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.7.7 gunicorn==19.7.1 psycopg2==2.7....
dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.4 django-crispy-forms==1.7.2 django-registration-redux==2.2 django-recaptcha==1.4.0 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.7.7 gunicorn==19.7.1 psycopg2==2.7.4 python-decouple==3.1 social-auth-app...
<|file_sep|>original/requirements.txt dj-config-url==0.1.1 dj-database-url==0.5.0 dj-static==0.0.6 Django==2.0.3 django-crispy-forms==1.7.2 django-registration-redux==2.2 django-recaptcha==1.4.0 -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous djangorestframework==3.7.7 gunicorn==19.7.1 psycopg2==2.7....
64a19179a582f3ca4a266fde3ca38d6ca2447c74
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml install: - conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION - source activate testenv - conda install --yes $DEPS - python setup.py install before_install: # setup virtual x - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" # then install python versi...
install: - conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION - source activate testenv - conda install --yes $DEPS - python setup.py install before_install: # setup virtual x - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" # then install python version to test - wget https://repo....
<|file_sep|>original/.travis.yml install: - conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION - source activate testenv - conda install --yes $DEPS - python setup.py install before_install: # setup virtual x - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" # then install python versi...
347837776b020b29948804dbfce9e7034e843f3d
.travis.yml
.travis.yml
YAML
<|file_sep|>app/assets/javascripts/pageflow/widgets.js.diff original: pageflow.widgets = { isPresent: function(name) { return !!$('div.widget_' + name + '_present').length; }, updated: pageflow.widgets = (function() { return { isPresent: function(name) { return !!$('div.' + className(name)).length; ...
replace(replacementClassNames, originalClassName); }); } else { callback(function() {}); } } }; function replace(original, replacement) { $('div.widgets_present') .removeClass(original) .addClass(replacement); pageflow.events.trigger('widgets:upd...
<|file_sep|>app/assets/javascripts/pageflow/widgets.js.diff original: pageflow.widgets = { isPresent: function(name) { return !!$('div.widget_' + name + '_present').length; }, updated: pageflow.widgets = (function() { return { isPresent: function(name) { return !!$('div.' + className(name)).length; ...
2e56b51c9aa8286f121f0a0cec20de501d0d0576
app/assets/javascripts/pageflow/widgets.js
app/assets/javascripts/pageflow/widgets.js
JavaScript
<|file_sep|>original/.github/workflows/ci.yml branches: [main] pull_request: branches: [main] jobs: test: name: Test runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 13.x, 14.x, 15.x] steps: - name: Checkout uses: actions/checkout@v1 - name: In...
branches: [main] pull_request: branches: [main] jobs: test: name: Test runs-on: ubuntu-latest strategy: matrix: node-version: [12.x, 14.x, 16.x, 18.x] steps: - name: Checkout uses: actions/checkout@v1 - name: Install Node.js ${{ matrix.node-version }} uses:...
<|file_sep|>original/.github/workflows/ci.yml branches: [main] pull_request: branches: [main] jobs: test: name: Test runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 13.x, 14.x, 15.x] steps: - name: Checkout uses: actions/checkout@v1 - name: In...
677706e1db8027e98c19770c4fc6856e5b1776be
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install script: phpunit --coverage-clover coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer install script: phpunit --coverage-clover coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - composer install script: phpunit --coverage-clover coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage...
f0761a14c96daaf7468233dd8a765e86844886f0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Parsley/Grammar.Keyword.cs { public static Parser<string> Keyword(string word) { if (word.Any(ch => !char.IsLetter(ch))) throw new ArgumentException("Keywords may only contain letters.", nameof(word)); return input => { var peek = input.P...
{ public static Parser<string> Keyword(string word) { if (word.Any(ch => !char.IsLetter(ch))) throw new ArgumentException("Keywords may only contain letters.", nameof(word)); return input => { var peek = input.Peek(word.Length + 1); if (peek.StartsWi...
<|file_sep|>original/src/Parsley/Grammar.Keyword.cs { public static Parser<string> Keyword(string word) { if (word.Any(ch => !char.IsLetter(ch))) throw new ArgumentException("Keywords may only contain letters.", nameof(word)); return input => { var peek = input.P...
e026e57ee8268ba866e0008037bd8c20e96f8e78
src/Parsley/Grammar.Keyword.cs
src/Parsley/Grammar.Keyword.cs
C#
<|file_sep|>original/package.json { "name": "humpback-module", "version": "0.0.5", "description": "sails generate humback modules", "main": "Generator.js", "scripts": { "test": "mocha" }, "author": "scottBwyatt", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/sco...
{ "name": "humpback-module", "version": "0.0.6", "description": "sails generate humback modules", "main": "Generator.js", "scripts": { "test": "mocha" }, "author": "scottBwyatt", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/scott-wyatt/humback-module.git" }, ...
<|file_sep|>original/package.json { "name": "humpback-module", "version": "0.0.5", "description": "sails generate humback modules", "main": "Generator.js", "scripts": { "test": "mocha" }, "author": "scottBwyatt", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/sco...
ccbbb8cac37687bcae213ca8e7117afe86b79599
package.json
package.json
JSON
<|file_sep|>lib/stripe/order.rb.diff original: initialize_from(resp.data, opts) updated: Util.convert_to_stripe_object(resp.data, opts) <|file_sep|>original/lib/stripe/order.rb class Order < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List include Stripe::API...
custom_method :pay, http_verb: :post custom_method :return_order, http_verb: :post, http_path: "returns" def pay(params = {}, opts = {}) resp, opts = request(:post, resource_url + "/pay", params, opts) Util.convert_to_stripe_object(resp.data, opts) end def return_order(params = {}, opt...
<|file_sep|>lib/stripe/order.rb.diff original: initialize_from(resp.data, opts) updated: Util.convert_to_stripe_object(resp.data, opts) <|file_sep|>original/lib/stripe/order.rb class Order < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List include Stripe::API...
01c5776b06d93f752ab43fbce9827d89bba88fc8
lib/stripe/order.rb
lib/stripe/order.rb
Ruby
<|file_sep|>src/lightbox/LightboxFooter.js.diff original: import NavButton from '../nav/NavButton'; updated: import Icon from '../common/Icons'; <|file_sep|>src/lightbox/LightboxFooter.js.diff original: updated: alignSelf: 'center', <|file_sep|>original/src/lightbox/LightboxFooter.js onOptionsPress: () => void, ...
}); type Props = { style?: Style, displayMessage: string, onOptionsPress: () => void, }; export default class LightboxFooter extends PureComponent<Props> { props: Props; render() { const { displayMessage, onOptionsPress, style } = this.props; return ( <View style={[styles.wrapper, style]}> ...
<|file_sep|>src/lightbox/LightboxFooter.js.diff original: import NavButton from '../nav/NavButton'; updated: import Icon from '../common/Icons'; <|file_sep|>src/lightbox/LightboxFooter.js.diff original: updated: alignSelf: 'center', <|file_sep|>original/src/lightbox/LightboxFooter.js onOptionsPress: () => void, ...
a8d2e74163cf71bb811150143089f83aca2c55a0
src/lightbox/LightboxFooter.js
src/lightbox/LightboxFooter.js
JavaScript
<|file_sep|>original/requirements-dev.txt Sphinx==2.3.1 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-asyncio==0.2.0 <|file_sep|>current/requirements-dev.txt Sphinx==2.3.1 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-asyncio==0.2.0 <|file_sep|>updated/requirements-dev.txt
Sphinx==2.4.0 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-asyncio==0.2.0
<|file_sep|>original/requirements-dev.txt Sphinx==2.3.1 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-asyncio==0.2.0 <|file_sep|>current/requirements-dev.txt Sphinx==2.3.1 sphinx-autobuild==0.7.1 sphinx-rtd-theme==0.4.3 sphinxcontrib-asyncio==0.2.0 <|file_sep|>updated/requirements-dev.txt Sphinx==2.4.0 ...
b57e743af7d77b150e9a200a87cda6d16c43681e
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/Casks/x-lite.rb cask :v1 => 'x-lite' do version 'X-Lite_4.8.4_76590' sha256 'a9ee144dd33616404a0ce1499c9e9004b70689fef285568c94f99767db87196e' # amazonaws.com is the official download host per the vendor homepage url 'http://counterpath.s3.amazonaws.com/downloads/X-Lite_4.8.4_t-xlite484-20...
cask :v1 => 'x-lite' do version 'X-Lite_4.8.4_76590' sha256 'a9ee144dd33616404a0ce1499c9e9004b70689fef285568c94f99767db87196e' # amazonaws.com is the official download host per the vendor homepage url 'http://counterpath.s3.amazonaws.com/downloads/X-Lite_4.8.4_t-xlite484-20150526-4800f_76590.dmg' name 'X-Lit...
<|file_sep|>original/Casks/x-lite.rb cask :v1 => 'x-lite' do version 'X-Lite_4.8.4_76590' sha256 'a9ee144dd33616404a0ce1499c9e9004b70689fef285568c94f99767db87196e' # amazonaws.com is the official download host per the vendor homepage url 'http://counterpath.s3.amazonaws.com/downloads/X-Lite_4.8.4_t-xlite484-20...
04d3cbc67cdd641839447a67198f6ef5654233eb
Casks/x-lite.rb
Casks/x-lite.rb
Ruby
<|file_sep|>original/README.md ***This gem is deprecated. Please use `bundle env` instead.*** # BundlerIssueReport The Bundler team asks that users report [certain information][ISSUES.md] when they file an issue. There's a lot of it. It's kind of a pain to gather. This does it all in one command. [ISSUES.md]: http...
***This gem is deprecated. Please use [`bundle env`][bundle-env] instead.*** [bundle-env]: https://github.com/carlhuda/bundler/commit/ebd9315339dc6ff0b101c70137f2cd622f880b08 # BundlerIssueReport The Bundler team asks that users report [certain information][ISSUES.md] when they file an issue. There's a lot of it. ...
<|file_sep|>original/README.md ***This gem is deprecated. Please use `bundle env` instead.*** # BundlerIssueReport The Bundler team asks that users report [certain information][ISSUES.md] when they file an issue. There's a lot of it. It's kind of a pain to gather. This does it all in one command. [ISSUES.md]: http...
fc2f7010ff803be5be0603a2ee9979728334cfbf
README.md
README.md
Markdown
<|file_sep|>original/CONTRIBUTING.md The policy on issues is: * Non-committers should discuss issues on the Lift mailing list before opening a issue. * All non-committer issues should have a link back to the mailing list discussion that led to opening the issue so the whole world can see why the issue came into b...
Ticket and Pull Request Guidelines ================================== The policy on issues is: * Non-committers should discuss issues on the Lift mailing list before opening a issue. * All non-committer issues should have a link back to the mailing list discussion that led to opening the issue so the whole world c...
<|file_sep|>original/CONTRIBUTING.md The policy on issues is: * Non-committers should discuss issues on the Lift mailing list before opening a issue. * All non-committer issues should have a link back to the mailing list discussion that led to opening the issue so the whole world can see why the issue came into b...
a6d6de020ec85aba95a7bff52658741113e1ae4a
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/app/controllers/sms_controller.rb post '/send_sms' do @user = User.find(session[:user_id]) reach = @user.reaches.find_by(main_reach: true) to = reach.contact_phone message = reach.text p client = Twilio::REST::Client.new( ENV["TWILIO_ACCOUNT_SID"], ENV["TWILIO_AUTH_TOKEN"] ) c...
post '/send_sms' do @user = User.find(session[:user_id]) reach = @user.reaches.find_by(main_reach: true) to = reach.contact_phone message = reach.text + " -- sent by: " + @user.username + " via Reach" p client = Twilio::REST::Client.new( ENV["TWILIO_ACCOUNT_SID"], ENV["TWILIO_AUTH_TOKEN"] ) client...
<|file_sep|>original/app/controllers/sms_controller.rb post '/send_sms' do @user = User.find(session[:user_id]) reach = @user.reaches.find_by(main_reach: true) to = reach.contact_phone message = reach.text p client = Twilio::REST::Client.new( ENV["TWILIO_ACCOUNT_SID"], ENV["TWILIO_AUTH_TOKEN"] ) c...
ad426b7d6914d2fa96e95f87fdf2267262c34731
app/controllers/sms_controller.rb
app/controllers/sms_controller.rb
Ruby
<|file_sep|>original/src/storage_node/metadata/field_type_internal.go // TODO: move out to database? &FieldType{ Name: "age", DatamanType: Int, Constraints: []*ConstraintInstance{ &ConstraintInstance{ Type: LessThan, Args: map[string]interface{}{"value": 200}, }, }, ...
Name: "_datetime", DatamanType: DateTime, }, &FieldType{ Name: "_document", DatamanType: Document, }, &FieldType{ Name: "_int", DatamanType: Int, }, &FieldType{ Name: "_string", DatamanType: String, }, &FieldType{ Name: "_text", DatamanTyp...
<|file_sep|>original/src/storage_node/metadata/field_type_internal.go // TODO: move out to database? &FieldType{ Name: "age", DatamanType: Int, Constraints: []*ConstraintInstance{ &ConstraintInstance{ Type: LessThan, Args: map[string]interface{}{"value": 200}, }, }, ...
24242869ad8e33abca601771cc9cdc2afa0ab308
src/storage_node/metadata/field_type_internal.go
src/storage_node/metadata/field_type_internal.go
Go
<|file_sep|>original/package.json "contributes": { "languages": [ { "id": "hledger", "aliases": [ "HLedger", "hledger" ], "extensions": [ ".hledger", ".journal" ], "configuration": "./language-configuration.json" }...
"contributes": { "languages": [ { "id": "hledger", "aliases": [ "HLedger", "hledger" ], "extensions": [ ".hledger", ".journal", ".journal.txt" ], "configuration": "./language-configuration.json" } ], ...
<|file_sep|>original/package.json "contributes": { "languages": [ { "id": "hledger", "aliases": [ "HLedger", "hledger" ], "extensions": [ ".hledger", ".journal" ], "configuration": "./language-configuration.json" }...
a66d0c872abf44ada5fc0810d27adac19174536f
package.json
package.json
JSON
<|file_sep|>original/translate.php <?php require_once __DIR__ . '/vendor/autoload.php'; use Stichoza\GoogleTranslate\TranslateClient; class translate extends Script { public function run() { $tr = new TranslateClient($this->matches[1], $this->matches[2]); $translatedText = $tr->translate($this->matches[3]); ...
<?php require_once __DIR__ . '/vendor/autoload.php'; use Stichoza\GoogleTranslate\TranslateClient; class translate extends Script { protected $helpMessage = "'translate from LANGUAGECODE to LANGUAGECODE STRING'\n" ."'translate from LANGUAGECODE to LANGUAGECODE STRING'\n" ."'tr LANGUAGECODE - LANGUAGECO...
<|file_sep|>original/translate.php <?php require_once __DIR__ . '/vendor/autoload.php'; use Stichoza\GoogleTranslate\TranslateClient; class translate extends Script { public function run() { $tr = new TranslateClient($this->matches[1], $this->matches[2]); $translatedText = $tr->translate($this->matches[3]); ...
50c93982fd7db6ecbacd643b65e88f5da7faa5f7
translate.php
translate.php
PHP
<|file_sep|>original/src/Farkle.Tools.Shared/PrecompiledAssemblyFileLoader.fs // Copyright (c) 2020 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Tools open Farkle.Builder open System open System.Reflection /// Loads the precompiled ...
// Copyright (c) 2020 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Tools open Farkle.Builder open System open System.Reflection /// Loads the precompiled grammars from an assembly file. type PrecompiledAssemblyFileLoader(path) = ...
<|file_sep|>original/src/Farkle.Tools.Shared/PrecompiledAssemblyFileLoader.fs // Copyright (c) 2020 Theodore Tsirpanis // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace Farkle.Tools open Farkle.Builder open System open System.Reflection /// Loads the precompiled ...
f1b176218f07df2273b844a8566cb113d0e55ea3
src/Farkle.Tools.Shared/PrecompiledAssemblyFileLoader.fs
src/Farkle.Tools.Shared/PrecompiledAssemblyFileLoader.fs
F#
<|file_sep|>app/controllers/application_controller.rb.diff original: updated: def user_for_paper_trail current_user.try(:id) end <|file_sep|>original/app/controllers/application_controller.rb current_publisher end def current_ability @current_ability ||= Ability.new(current_user, request.remote_i...
current_publisher end def user_for_paper_trail current_user.try(:id) end def current_ability @current_ability ||= Ability.new(current_user, request.remote_ip) end def set_locale I18n.locale = params[:locale] || I18n.default_locale end def handle_unverified_request respond_to do |...
<|file_sep|>app/controllers/application_controller.rb.diff original: updated: def user_for_paper_trail current_user.try(:id) end <|file_sep|>original/app/controllers/application_controller.rb current_publisher end def current_ability @current_ability ||= Ability.new(current_user, request.remote_i...
30e6663e08854adb7f0a56090403f9f509090d7d
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>config/webpack.prod.js.diff original: updated: // importWorkboxFrom: "local", <|file_sep|>original/config/webpack.prod.js // TODO: Is this needed with the devtool setting above? sourceMap: true, parallel: true, uglifyOptions: { compress: { // Workaround: http...
compress: { // Workaround: https://github.com/mishoo/UglifyJS2/issues/2842 inline: false } } }), new workboxPlugin.GenerateSW({ swDest: "service-worker.js", // importWorkboxFrom: "local", clientsClaim: true, skipWaiting: true, // Safari (mo...
<|file_sep|>config/webpack.prod.js.diff original: updated: // importWorkboxFrom: "local", <|file_sep|>original/config/webpack.prod.js // TODO: Is this needed with the devtool setting above? sourceMap: true, parallel: true, uglifyOptions: { compress: { // Workaround: http...
db1994ce9f6c9dedfde2fe15239b1356668fa7cc
config/webpack.prod.js
config/webpack.prod.js
JavaScript
<|file_sep|>original/sql/patch_91_92_b.sql <|file_sep|>current/sql/patch_91_92_b.sql <|file_sep|>updated/sql/patch_91_92_b.sql
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute -- Copyright [2016-2017] EMBL-European Bioinformatics Institute -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may o...
<|file_sep|>original/sql/patch_91_92_b.sql <|file_sep|>current/sql/patch_91_92_b.sql <|file_sep|>updated/sql/patch_91_92_b.sql -- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute -- Copyright [2016-2017] EMBL-European Bioinformatics Institute -- -- Licensed under ...
990b05466bf043426f6a5171c469372233760486
sql/patch_91_92_b.sql
sql/patch_91_92_b.sql
SQL
<|file_sep|>original/rtgraph/core/constants.py from enum import Enum class Constants: app_title = "RTGraph" app_version = '0.2.0' app_export_path = "../data" app_sources = ["Serial", "Simulator"] app_encoding = "utf-8" plot_update_ms = 16 plot_xlabel_title = "Time" plot_xlabel_unit = ...
from enum import Enum class Constants: app_title = "RTGraph" app_version = '0.2.0' app_export_path = "data" app_sources = ["Serial", "Simulator"] app_encoding = "utf-8" plot_update_ms = 16 plot_xlabel_title = "Time" plot_xlabel_unit = "s" plot_colors = ['#0072bd', '#d95319', '#edb...
<|file_sep|>original/rtgraph/core/constants.py from enum import Enum class Constants: app_title = "RTGraph" app_version = '0.2.0' app_export_path = "../data" app_sources = ["Serial", "Simulator"] app_encoding = "utf-8" plot_update_ms = 16 plot_xlabel_title = "Time" plot_xlabel_unit = ...
9a2d3c2a576597730b7316ddbf7169ed3164a690
rtgraph/core/constants.py
rtgraph/core/constants.py
Python
<|file_sep|>original/recipes/default.rb # # Cookbook Name:: mod_evasive # Recipe:: default # # Copyright (C) 2015 AzTek Native Ltd. # # All rights reserved - Do Not Redistribute # # Install relevant package pkg = value_for_platform( [ "centos", "fedora", "redhat" ] => { "default" => "mod_evasive" }, [ "debia...
# # Cookbook Name:: mod_evasive # Recipe:: default # # Copyright (C) 2015 AzTek Native Ltd. # # All rights reserved - Do Not Redistribute # if node['platform_family'] == "rhel" include_recipe "yum-epel" end # Install relevant package pkg = value_for_platform( [ "centos", "fedora", "redhat" ] => { "default" =>...
<|file_sep|>original/recipes/default.rb # # Cookbook Name:: mod_evasive # Recipe:: default # # Copyright (C) 2015 AzTek Native Ltd. # # All rights reserved - Do Not Redistribute # # Install relevant package pkg = value_for_platform( [ "centos", "fedora", "redhat" ] => { "default" => "mod_evasive" }, [ "debia...
9a66591e41cb43a1cd91b6d6774cc517f211b518
recipes/default.rb
recipes/default.rb
Ruby
<|file_sep|>original/routes/host_meta.js var fs = require('fs') var path = require('path') var config = require('../lib/config') var features = require('../lib/features') module.exports = function(req, res) { fs.readFile(path.join(__dirname+'/../package.json'), function(error, packagejson) { fs.readFile(config...
var fs = require('fs') var path = require('path') var config = require('../lib/config') var features = require('../lib/features') module.exports = function(req, res) { fs.readFile(path.join(__dirname+'/../package.json'), function(error, packagejson) { fs.readFile(config.get('ssl:cert'), function(error, certifi...
<|file_sep|>original/routes/host_meta.js var fs = require('fs') var path = require('path') var config = require('../lib/config') var features = require('../lib/features') module.exports = function(req, res) { fs.readFile(path.join(__dirname+'/../package.json'), function(error, packagejson) { fs.readFile(config...
7795df0b0347afe59de6af3b81cf92d97a74728d
routes/host_meta.js
routes/host_meta.js
JavaScript
<|file_sep|>original/lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb <% content_for :title do %> Find coronavirus financial support for your business <% end %> <% content_for :meta_description do %> Coronavirus (COVID-19) support is available to employers...
<% content_for :title do %> Find coronavirus financial support for your business <% end %> <% content_for :meta_description do %> Coronavirus (COVID-19) support is available to employers and the self-employed. You may be eligible for loans, tax relief and cash grants, whether your business is open or closed. <...
<|file_sep|>original/lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb <% content_for :title do %> Find coronavirus financial support for your business <% end %> <% content_for :meta_description do %> Coronavirus (COVID-19) support is available to employers...
2c6f8639fd645234b08654538e20bf5bf0f257ec
lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb
lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb
HTML+ERB
<|file_sep|>original/rackheader.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/rack/header/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Adam Jahn"] gem.email = ["ajjahn@gmail.com"] gem.description = %q{Rack Middleware for overriding and adding additional...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/rack/header/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Adam Jahn"] gem.email = ["ajjahn@gmail.com"] gem.description = %q{Rack Middleware for overriding and adding additional HTTP response headers} gem.summary ...
<|file_sep|>original/rackheader.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/rack/header/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Adam Jahn"] gem.email = ["ajjahn@gmail.com"] gem.description = %q{Rack Middleware for overriding and adding additional...
42e4d92778a9c98de6884807790db0b08cf35c12
rackheader.gemspec
rackheader.gemspec
Ruby
<|file_sep|>original/requirements/base.txt bleach==3.3.0 defusedxml==0.7.1 django==3.0.14 django-annoying==0.10.6 django-autocomplete-light==3.8.2 django-contrib-comments==2.0.0 django-countries==7.1 django-crispy-forms==1.11.2 django-cron==0.5.1 django-durationfield==0.5.5 django_extensions==3.1.1 django-filter==2.4.0...
bleach==3.3.0 defusedxml==0.7.1 django==3.0.14 django-annoying==0.10.6 django-autocomplete-light==3.8.2 django-contrib-comments==2.0.0 django-countries==7.1 django-crispy-forms==1.11.2 django-cron==0.5.1 django-durationfield==0.5.5 django_extensions==3.1.3 django-filter==2.4.0 django-modeltranslation==0.16.2 django-pre...
<|file_sep|>original/requirements/base.txt bleach==3.3.0 defusedxml==0.7.1 django==3.0.14 django-annoying==0.10.6 django-autocomplete-light==3.8.2 django-contrib-comments==2.0.0 django-countries==7.1 django-crispy-forms==1.11.2 django-cron==0.5.1 django-durationfield==0.5.5 django_extensions==3.1.1 django-filter==2.4.0...
6e1aede7f41b8e8000affb3568e05e776b80da21
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/spec/matching/repeat_spec.rb require 'spec_helper' describe Zxcvbn::Matching::Repeat do let(:matcher) { subject } let(:matches) { matcher.matches('bbbbbtestingaaa') } it 'sets the pattern name' do matches.all? { |m| m.pattern == 'repeat' }.should be_true end it 'finds the repeated ...
matches.all? { |m| m.pattern == 'repeat' }.should be_true end it 'finds the repeated patterns' do matches.count.should eq 2 matches[0].token.should eq 'bbbbb' matches[0].repeated_char.should eq 'b' matches[1].token.should eq 'aaa' matches[1].repeated_char.should eq 'a' end context 'int...
<|file_sep|>original/spec/matching/repeat_spec.rb require 'spec_helper' describe Zxcvbn::Matching::Repeat do let(:matcher) { subject } let(:matches) { matcher.matches('bbbbbtestingaaa') } it 'sets the pattern name' do matches.all? { |m| m.pattern == 'repeat' }.should be_true end it 'finds the repeated ...
ab357815e50aa670910ac67d336cfa5ba125e2fc
spec/matching/repeat_spec.rb
spec/matching/repeat_spec.rb
Ruby
<|file_sep|>original/papertalk/templates/_navbar.html <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/">Papertalk</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="b...
<!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class=...
<|file_sep|>original/papertalk/templates/_navbar.html <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/">Papertalk</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="b...
8b797bf4887dfc90639bb878c9e70f6aaf34abec
papertalk/templates/_navbar.html
papertalk/templates/_navbar.html
HTML
<|file_sep|>lib/Duplo.pm.diff original: updated: my @HTML_KEYWORDS_SINGLE; <|file_sep|>lib/Duplo.pm.diff original: updated: @HTML_KEYWORDS_SINGLE = qw( img ); <|file_sep|>lib/Duplo.pm.diff original: use Exporter::Tidy default => [@HTML_KEYWORDS]; updated: use Exporter::Tidy default => [@HTML_KEYWORDS, ...
); } use Exporter::Tidy default => [@HTML_KEYWORDS, @HTML_KEYWORDS_SINGLE]; sub _with_name { my $treatment = shift; my $name = shift; my @p; if (@_ && ref $_[0] eq 'HASH') { my $h = shift; @p = map { sprintf " %s=\"%s\"", $_, $h->{$_} } keys %$h; } "<$name@p>" . jo...
<|file_sep|>lib/Duplo.pm.diff original: updated: my @HTML_KEYWORDS_SINGLE; <|file_sep|>lib/Duplo.pm.diff original: updated: @HTML_KEYWORDS_SINGLE = qw( img ); <|file_sep|>lib/Duplo.pm.diff original: use Exporter::Tidy default => [@HTML_KEYWORDS]; updated: use Exporter::Tidy default => [@HTML_KEYWORDS, ...
f0a9a8f2a437538ae154e3297b4e0d679048fe76
lib/Duplo.pm
lib/Duplo.pm
Perl
<|file_sep|>original/themes/janeswalk/js/json/ConnectionTypes.json { "name": "facebook", "href": "http://facebook.com/", "style": "fa fa-facebook" }, { "name": "email", "href": "mailto:", "style": "fa fa-envelope-o" }, { "name": "website", "href": "", "style": "fa fa-globe"...
{ "name": "twitter", "href": "http://twitter.com/", "style": "fa fa-twitter" }, { "name": "facebook", "href": "http://facebook.com/", "style": "fa fa-facebook" }, { "name": "email", "href": "mailto:", "style": "fa fa-envelope-o" }, { "name": "website", "href": "...
<|file_sep|>original/themes/janeswalk/js/json/ConnectionTypes.json { "name": "facebook", "href": "http://facebook.com/", "style": "fa fa-facebook" }, { "name": "email", "href": "mailto:", "style": "fa fa-envelope-o" }, { "name": "website", "href": "", "style": "fa fa-globe"...
884316b8fdc0f0f67d0f88f9e35c0cc9fd3824df
themes/janeswalk/js/json/ConnectionTypes.json
themes/janeswalk/js/json/ConnectionTypes.json
JSON
<|file_sep|>original/.cargo/config.toml [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'] rustflags = [ "-C", "target-feature=+aes,+sse,+sse4.1,+sse4.2,+avx,+avx2,+prefetchwt1,+pclmul,+fma4,+fma,+bmi2,+bmi,+adx,+prefer-256-bit,+prefer-128-bit" ] [target.'cfg(target_arch = "aarch64")'] rustflags = [ ...
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'] rustflags = [ "-C", "target-feature=+aes,+ssse3", ] [target.'cfg(target_arch = "aarch64")'] rustflags = [ "-C", "target-feature=+aes,+crypto,+neon", ]
<|file_sep|>original/.cargo/config.toml [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'] rustflags = [ "-C", "target-feature=+aes,+sse,+sse4.1,+sse4.2,+avx,+avx2,+prefetchwt1,+pclmul,+fma4,+fma,+bmi2,+bmi,+adx,+prefer-256-bit,+prefer-128-bit" ] [target.'cfg(target_arch = "aarch64")'] rustflags = [ ...
6b0c6baccfff1a754233975aaf2d74a964c99e17
.cargo/config.toml
.cargo/config.toml
TOML
<|file_sep|>original/build.sbt ), credentials += Credentials( "Artifactory Realm", "flow.jfrog.io", System.getenv("ARTIFACTORY_USERNAME"), System.getenv("ARTIFACTORY_PASSWORD") ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifac...
), credentials += Credentials( "Artifactory Realm", "flow.jfrog.io", System.getenv("ARTIFACTORY_USERNAME"), System.getenv("ARTIFACTORY_PASSWORD") ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-sna...
<|file_sep|>original/build.sbt ), credentials += Credentials( "Artifactory Realm", "flow.jfrog.io", System.getenv("ARTIFACTORY_USERNAME"), System.getenv("ARTIFACTORY_PASSWORD") ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifac...
a08fbecb073f40da610064c7f6c7cb7730ddacf0
build.sbt
build.sbt
Scala
<|file_sep|>original/metadata/com.android.shellms.txt For the others it's useful tool to speed up messaging when you're working on your computer. . Repo Type:git Repo:https://github.com/try2codesecure/ShellMS.git Build:1.0,1 commit=627f2a Build:1.1,2 commit=v1.1 Build:1.2,3 commit=v1.2 Auto Update Mode...
For the others it's useful tool to speed up messaging when you're working on your computer. . Repo Type:git Repo:https://github.com/try2codesecure/ShellMS.git Build:1.0,1 commit=627f2a Build:1.1,2 commit=v1.1 Build:1.2,3 commit=v1.2 Auto Update Mode:None Update Check Mode:Tags Current Version:1.3 Curre...
<|file_sep|>original/metadata/com.android.shellms.txt For the others it's useful tool to speed up messaging when you're working on your computer. . Repo Type:git Repo:https://github.com/try2codesecure/ShellMS.git Build:1.0,1 commit=627f2a Build:1.1,2 commit=v1.1 Build:1.2,3 commit=v1.2 Auto Update Mode...
8b56bd894d579ed7d00d664255abf2ec20d32fd4
metadata/com.android.shellms.txt
metadata/com.android.shellms.txt
Text
<|file_sep|>original/project/settings_live_base.py TEMPLATE_DEBUG = DEBUG DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'skeleton', 'USER': 'skeleton', 'PASSWORD': 'skeleton', 'HOST': 'localhost', 'PORT': '5432', } } MEDI...
TEMPLATE_DEBUG = DEBUG DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'skeleton', 'USER': 'skeleton', 'PASSWORD': 'skeleton', 'HOST': 'localhost', 'PORT': '5432', 'CONN_MAX_AGE': 60 } } MEDIA_ROOT = abspath("..", ...
<|file_sep|>original/project/settings_live_base.py TEMPLATE_DEBUG = DEBUG DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'skeleton', 'USER': 'skeleton', 'PASSWORD': 'skeleton', 'HOST': 'localhost', 'PORT': '5432', } } MEDI...
13a6808c49474cf8d67240fbfda9c6273e1bfa2b
project/settings_live_base.py
project/settings_live_base.py
Python
<|file_sep|>original/src/Main.hs import HN.Types import Snap.App import Snap.App.Migrate import Snap.App.Cache import System.Environment -- | Main entry point. main :: IO () main = do cpath:action <- getArgs config <- getConfig cpath pool <- newPool (configPostgres config) let db = runDB () config pool case...
import Snap.App import Snap.App.Migrate import Snap.App.Cache import System.Environment -- | Main entry point. main :: IO () main = do cpath:action <- getArgs config <- getConfig cpath pool <- newPool (configPostgres config) let db = runDB () config pool case foldr const "" (map (dropWhile (=='-')) action) ...
<|file_sep|>original/src/Main.hs import HN.Types import Snap.App import Snap.App.Migrate import Snap.App.Cache import System.Environment -- | Main entry point. main :: IO () main = do cpath:action <- getArgs config <- getConfig cpath pool <- newPool (configPostgres config) let db = runDB () config pool case...
c0edca7d5ae15297d003581565d23f85876ea969
src/Main.hs
src/Main.hs
Haskell
<|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original: updated: import java.util.Arrays; <|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original: updated: static int[] path; <|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original:...
tn.left.left=new TreeNode(3); tn.left.right=new TreeNode(5); tn.right.left=new TreeNode(1); tn.right.right=new TreeNode(30); getAncestorsOfANode(tn,path,0,30); } public static void getAncestorsOfANode(TreeNode tn,int[] path,int pathLen,int val) { if(tn!=null) { path[pathLen]=tn.val; pathLen++; ...
<|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original: updated: import java.util.Arrays; <|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original: updated: static int[] path; <|file_sep|>src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java.diff original:...
ad613eec448f9aae867ce1c4448a373b1c9be0e1
src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java
src/GeeksforGeeksPractice/_0016PrintAncestorsOfANode.java
Java
<|file_sep|>original/requirements_dev.txt pip==9.0.1 punch.py==1.3.2 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 isort==4.2.8 <|file_sep|>current/requirements_dev.txt pip==9.0.1 punch.py==1.3.2 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 ...
pip==9.0.1 punch.py==1.3.2 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 isort==4.2.14
<|file_sep|>original/requirements_dev.txt pip==9.0.1 punch.py==1.3.2 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 isort==4.2.8 <|file_sep|>current/requirements_dev.txt pip==9.0.1 punch.py==1.3.2 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 ...
1634a7ecc5baad4c38b741824e6aa16c77c105a9
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/requirements-dev.txt -e . flake8==3.2.1 pytest==3.0.5 pytest-cov==2.4.0 coverage==4.2 sphinx==1.5 pep257==0.7.0 aiohttp-session==0.8.0 aiopg[sa]==0.13.0 aioredis==0.2.9 hiredis==0.2.0 passlib==1.7.0 aiohttp==1.1.6 pytest-aiohttp==0.1.2 <|file_sep|>current/requirements-dev.txt -e . flake8==3.2.1 pyt...
-e . flake8==3.2.1 pytest==3.0.5 pytest-cov==2.4.0 coverage==4.2 sphinx==1.5.1 pep257==0.7.0 aiohttp-session==0.8.0 aiopg[sa]==0.13.0 aioredis==0.2.9 hiredis==0.2.0 passlib==1.7.0 aiohttp==1.1.6 pytest-aiohttp==0.1.2
<|file_sep|>original/requirements-dev.txt -e . flake8==3.2.1 pytest==3.0.5 pytest-cov==2.4.0 coverage==4.2 sphinx==1.5 pep257==0.7.0 aiohttp-session==0.8.0 aiopg[sa]==0.13.0 aioredis==0.2.9 hiredis==0.2.0 passlib==1.7.0 aiohttp==1.1.6 pytest-aiohttp==0.1.2 <|file_sep|>current/requirements-dev.txt -e . flake8==3.2.1 pyt...
1ace967956e50ed2012fa778cb2ea4c629b60933
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java package org.metaborg.util.arrays; import java.util.Collection; public final class Arrays2 { public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) { boolean modified = false; for(T e : elem...
package org.metaborg.util.arrays; import java.util.Collection; public final class Arrays2 { public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) { boolean modified = false; for(T e : elementsToAdd) { modified = addTo.add(e) || modified; } return modi...
<|file_sep|>original/org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java package org.metaborg.util.arrays; import java.util.Collection; public final class Arrays2 { public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) { boolean modified = false; for(T e : elem...
2547c0b818c063447d47e0620ec8453f6b84e193
org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java
org.metaborg.util/src/main/java/org/metaborg/util/arrays/Arrays2.java
Java
<|file_sep|>templates/testcase/edit.hbs.diff original: <form action="/{{testcase.slug}}/update" method="POST"> updated: <form action="/{{testcase.slug}}/update" method="POST" class="form-horizontal"> <|file_sep|>original/templates/testcase/edit.hbs <h2>Edit {{testcase.name}}</h2> <form action="/{{testcase.slug}}/update...
<h2>Edit {{testcase.name}}</h2> <form action="/{{testcase.slug}}/update" method="POST" class="form-horizontal"> {{> _testcase testcase }} {{#each documents }} {{> _document }} {{/each}} <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button class="btn btn-default" type="submit"...
<|file_sep|>templates/testcase/edit.hbs.diff original: <form action="/{{testcase.slug}}/update" method="POST"> updated: <form action="/{{testcase.slug}}/update" method="POST" class="form-horizontal"> <|file_sep|>original/templates/testcase/edit.hbs <h2>Edit {{testcase.name}}</h2> <form action="/{{testcase.slug}}/update...
a64bdbde4b9834f0c4e53a3e73e06c7cf6ca294a
templates/testcase/edit.hbs
templates/testcase/edit.hbs
Handlebars
<|file_sep|>brightness.sh.diff original: if which gksudo > /dev/null 2>&1; then SUDO=gksudo elif which kdesu > /dev/null 2>&1; then SUDO=kdesu updated: if which gksudo > /dev/null 2>&1; then SUDO='exec gksudo' elif which kdesu > /dev/null 2>&1; then SUDO='exec kdesu' <|file_sep|>original...
no_sudo() { zenity --warning --text="No sudo utility found -- install gksu or kdesu" exit } SUDO=no_sudo if which gksudo > /dev/null 2>&1; then SUDO='exec gksudo' elif which kdesu > /dev/null 2>&1; then SUDO='exec kdesu' fi $SUDO "$0" "no...
<|file_sep|>brightness.sh.diff original: if which gksudo > /dev/null 2>&1; then SUDO=gksudo elif which kdesu > /dev/null 2>&1; then SUDO=kdesu updated: if which gksudo > /dev/null 2>&1; then SUDO='exec gksudo' elif which kdesu > /dev/null 2>&1; then SUDO='exec kdesu' <|file_sep|>original...
abda5cac376ee2b00fecbbfcb8aee907a8c22eb6
brightness.sh
brightness.sh
Shell
<|file_sep|>src/main/kotlin/com/lapismc/minecraft/versioning/OSRule.kt.diff original: updated: companion object { /** * Name of the current operating system. */ private val localOSName = System.getProperty("os.name").toLowerCase() /** * Checks whether the local s...
* @return True if the local OS is Mac OSX, false otherwise. */ fun isOSX() = localOSName.indexOf("mac") >= 0 /** * Checks whether the local system appears to be Linux. * @return True if the local OS is Linux, false otherwise. */ fun isLinux() = local...
<|file_sep|>src/main/kotlin/com/lapismc/minecraft/versioning/OSRule.kt.diff original: updated: companion object { /** * Name of the current operating system. */ private val localOSName = System.getProperty("os.name").toLowerCase() /** * Checks whether the local s...
20c69b4c3ba24c3b0a49783fe6cbde780eb52722
src/main/kotlin/com/lapismc/minecraft/versioning/OSRule.kt
src/main/kotlin/com/lapismc/minecraft/versioning/OSRule.kt
Kotlin
<|file_sep|>README.md.diff original: * SQS queues updated: ### S3 buckets Supported fields: | AWS field | Field in resource definition | |--------------|-----------| | ACL | acl | | CreateBucketConfiguration.LocationConstraint | createBucketConfiguration.locationConstraint | | GrantFullControl | grantFullControl | | ...
``` ### SQS queues #### Example ```yaml kind: Queue metadata: name: my-queue spec: anyAwsSqsQueueAttribute: value ``` ### General All attributes are converted into strings, embedded `redrivePolicy` and `policy` attributes using `JSON.stringify()`. * S3 buckets: Currently only create and delete ...
<|file_sep|>README.md.diff original: * SQS queues updated: ### S3 buckets Supported fields: | AWS field | Field in resource definition | |--------------|-----------| | ACL | acl | | CreateBucketConfiguration.LocationConstraint | createBucketConfiguration.locationConstraint | | GrantFullControl | grantFullControl | | ...
24c454be8c4db7de300df1a24352c567766afdb1
README.md
README.md
Markdown
<|file_sep|>emitter/sender/sender.js.diff original: client.subscribe('/trigger', function () { console.log('Trigger message received'); }); updated: client.subscribe('/trigger', handleTrigger); <|file_sep|>emitter/sender/sender.js.diff original: updated: // Send a heartbeat every few secs (defined in config) <|file_...
var configPath = path.join(__dirname, '..', '..', 'shared', 'config.json'), config = require(configPath), client = new faye.Client( fayeUrl(config.collector) ); client.subscribe('/trigger', handleTrigger); // Send a heartbeat every few secs (defined in config) setInterval(heartbeat, config.heartbeatIntervalSe...
<|file_sep|>emitter/sender/sender.js.diff original: client.subscribe('/trigger', function () { console.log('Trigger message received'); }); updated: client.subscribe('/trigger', handleTrigger); <|file_sep|>emitter/sender/sender.js.diff original: updated: // Send a heartbeat every few secs (defined in config) <|file_...
2d797bcbb4efd41ca6925423f7110ac4fdde16a1
emitter/sender/sender.js
emitter/sender/sender.js
JavaScript
<|file_sep|>app/assets/stylesheets/frontend/views/_topic.scss.diff original: .govspeak { updated: .what { <|file_sep|>original/app/assets/stylesheets/frontend/views/_topic.scss .count { display: block; font-size: 80px; } } } .govspeak { p { @include core-27; mar...
.count { display: block; font-size: 80px; } } } .what { p { @include ig-core-24; margin: 0; &:first-child { padding-top: 0; } } } .detailed-guidance { h1 { @include ig-core-27;
<|file_sep|>app/assets/stylesheets/frontend/views/_topic.scss.diff original: .govspeak { updated: .what { <|file_sep|>original/app/assets/stylesheets/frontend/views/_topic.scss .count { display: block; font-size: 80px; } } } .govspeak { p { @include core-27; mar...
fca10e5f8c1c4eb856c855207e1ab888b3588ec2
app/assets/stylesheets/frontend/views/_topic.scss
app/assets/stylesheets/frontend/views/_topic.scss
SCSS
<|file_sep|>original/deploy_resources/exclude_dirs.txt venv .git docs notes competencies/fixtures **/__pycache__ **/tests .gitignore .env <|file_sep|>current/deploy_resources/exclude_dirs.txt venv .git docs notes competencies/fixtures **/__pycache__ **/tests .gitignore .env <|file_sep|>updated/deploy_resources/excl...
venv .git docs notes opencompetencies/logging competencies/fixtures **/__pycache__ **/tests .gitignore .env
<|file_sep|>original/deploy_resources/exclude_dirs.txt venv .git docs notes competencies/fixtures **/__pycache__ **/tests .gitignore .env <|file_sep|>current/deploy_resources/exclude_dirs.txt venv .git docs notes competencies/fixtures **/__pycache__ **/tests .gitignore .env <|file_sep|>updated/deploy_resources/excl...
326610c77303086bbbde87b257f7aa864e4e9b89
deploy_resources/exclude_dirs.txt
deploy_resources/exclude_dirs.txt
Text