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/modules/tests/test_twitter.py <|file_sep|>current/modules/tests/test_twitter.py <|file_sep|>updated/modules/tests/test_twitter.py
import modules import pytest def test_twitter(): assert('twitter' == modules.process_query('twitter')[0]) assert('twitter' == modules.process_query('twitter hotnews')[0]) assert('twitter' == modules.process_query('paris twitter')[0]) assert('twitter' != modules.process_query('something random')[0]) ...
<|file_sep|>original/modules/tests/test_twitter.py <|file_sep|>current/modules/tests/test_twitter.py <|file_sep|>updated/modules/tests/test_twitter.py import modules import pytest def test_twitter(): assert('twitter' == modules.process_query('twitter')[0]) assert('twitter' == modules.process_query('twitter h...
e73f621792db820a4d96ef63e53f63aa223133e8
modules/tests/test_twitter.py
modules/tests/test_twitter.py
Python
<|file_sep|>original/tests/quick/se/70.tgen/tgen-simple-dram.cfg # # State IDLE idles # # States LINEAR and RANDOM have additional <percent reads> <start addr> # <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)> # <data limit (bytes)> # # State TRACE plays back a pre-recorded trace once # # ...
# # STATE <id> <duration (ticks)> <type> # # State IDLE idles # # States LINEAR and RANDOM have additional <percent reads> <start addr> # <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)> # <data limit (bytes)> # # State TRACE plays back a pre-recorded trace once # # Addresses are expressed ...
<|file_sep|>original/tests/quick/se/70.tgen/tgen-simple-dram.cfg # # State IDLE idles # # States LINEAR and RANDOM have additional <percent reads> <start addr> # <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)> # <data limit (bytes)> # # State TRACE plays back a pre-recorded trace once # # ...
a4ef06cb2c70b193f6f716bf01aaa4a40fe1c7bc
tests/quick/se/70.tgen/tgen-simple-dram.cfg
tests/quick/se/70.tgen/tgen-simple-dram.cfg
INI
<|file_sep|>original/k8s-deploy/staging/secrets.yaml GITCRYPTeXL ]Dךf4N|b GGϽhO^,0OlGahk p)Hs..[pm&j&_C! ?2K!_v:O=9[IU3ܛw?K`Thy<V˚r}\p3M:ho m.. S!m{?x-o5’R+4 z Q%M|[۾zxsmAThZ8r'ϜN%JuϏva :ȒW&˔z3"FӋ!>\ 嗟D1Z2Uhu5V1_CZQ-,V<fbPBU <NB+vpjMݔYڜO0!ܞK }T}%!j,0}x\ޜ]K+i]3?8Ux8...
GITCRYPTH?M\ 7DJCX@ Qdq}*#-P ڧ,DP>ֱ5bf7*XpoM/tY[ЃS|)&0wLD_i0&?R"zRHvwѮW@go@Q|S1s.:埩sepчi/RYirRؾH H#Gc}6fdfl%[0vĞϡk qzb7n)?a ckvDmdD|5>E`P:!k!y!XraY $:C_IFOr갵;V T!yr3 ")7 Z߁,ٞ]7P  qka\MOs c38ŌIԷyQ=5> ZG򷸱_,I(y6Rt{pa$i@[> ̪)U MCnG`.ѝykB rKtgn9*o۞_rvV9AED;)e...
<|file_sep|>original/k8s-deploy/staging/secrets.yaml GITCRYPTeXL ]Dךf4N|b GGϽhO^,0OlGahk p)Hs..[pm&j&_C! ?2K!_v:O=9[IU3ܛw?K`Thy<V˚r}\p3M:ho m.. S!m{?x-o5’R+4 z Q%M|[۾zxsmAThZ8r'ϜN%JuϏva :ȒW&˔z3"FӋ!>\ 嗟D1Z2Uhu5V1_CZQ-,V<fbPBU <NB+vpjMݔYڜO0!ܞK }T}%!j,0}x\ޜ]K+i]3?8Ux8...
d44b3c12fe5c3b856f2fda962e6f099fb0a5abd4
k8s-deploy/staging/secrets.yaml
k8s-deploy/staging/secrets.yaml
YAML
<|file_sep|>original/client/src/app/app.component.ts }) export class AppComponent implements OnInit { title = 'app works!'; input: String; data: Observable<HelloWorldQuery>; subscriptionData: Observable<HelloRealtimeWorldSubscription>; constructor(private apollo: Apollo) { } ngOnInit() { this.data = t...
}) export class AppComponent implements OnInit { title = 'app works!'; input: String; data: Observable<HelloWorldQuery>; subscriptionData: Observable<HelloRealtimeWorldSubscription>; constructor(private apollo: Apollo) { } ngOnInit() { this.data = this.apollo.watchQuery<HelloWorldQuery>({ query: hello...
<|file_sep|>original/client/src/app/app.component.ts }) export class AppComponent implements OnInit { title = 'app works!'; input: String; data: Observable<HelloWorldQuery>; subscriptionData: Observable<HelloRealtimeWorldSubscription>; constructor(private apollo: Apollo) { } ngOnInit() { this.data = t...
78b87d432939f452fd9fb9a31c6cfb4779d87cad
client/src/app/app.component.ts
client/src/app/app.component.ts
TypeScript
<|file_sep|>original/detekt-watcher/README.md ## detekt-watcher - continuous static analysis Provides three commands: - `project [path]` - sets the current project to analyze - `analyze [subPath]?` - plain detekt run, super fast after first use - `watch [start?|stop]` - watches path set by project command and runs det...
## detekt-watcher - continuous static analysis Provides three commands: - `project [path]` - sets the current project to analyze - `analyze [subPath]?` - plain detekt run, super fast after first use - `watch [start?|stop]` - watches path set by project command and runs detekt on each changed file To view builtin ksh ...
<|file_sep|>original/detekt-watcher/README.md ## detekt-watcher - continuous static analysis Provides three commands: - `project [path]` - sets the current project to analyze - `analyze [subPath]?` - plain detekt run, super fast after first use - `watch [start?|stop]` - watches path set by project command and runs det...
8dc9e18d2d09521d888181cf6afe4a4e35d9fbc1
detekt-watcher/README.md
detekt-watcher/README.md
Markdown
<|file_sep|>original/.travis.yml language: java sudo: false jdk: - oraclejdk7 install: "./installViaTravis.sh" script: "./buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_a63a9d7f8ae7_key -iv $encrypted_a63a9d7f...
language: java sudo: false jdk: - oraclejdk7 install: "./installViaTravis.sh" script: "./buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_a63a9d7f8ae7_key -iv $encrypted_a63a9d7f8ae7_iv -in gradle.properties.enc...
<|file_sep|>original/.travis.yml language: java sudo: false jdk: - oraclejdk7 install: "./installViaTravis.sh" script: "./buildViaTravis.sh" cache: directories: - "$HOME/.gradle/caches/" before_install: - test $TRAVIS_PULL_REQUEST = false && openssl aes-256-cbc -K $encrypted_a63a9d7f8ae7_key -iv $encrypted_a63a9d7f...
4c369da50b36ae50bfe4f332690198e0d5b8bc81
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/utils/Enums.h <|file_sep|>current/src/utils/Enums.h <|file_sep|>updated/src/utils/Enums.h
/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2021 Hugo Beauzée-Luyssen, Videolabs, VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * This program is free ...
<|file_sep|>original/src/utils/Enums.h <|file_sep|>current/src/utils/Enums.h <|file_sep|>updated/src/utils/Enums.h /***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2021 Hugo B...
27c91635d7f66040a801f46ff0a31852aefe9bf9
src/utils/Enums.h
src/utils/Enums.h
C
<|file_sep|>original/web/static/scss/_layout.scss $off-white 50vw ); } .base-layout { padding: 0 3.5rem; display: flex; flex-direction: column; align-items: center; min-height: calc(100vh - 10rem); width: 100vw; } %centered-layout { position: absolute; width: 80%; top: 50%; left: 50%; ...
$off-white 50vw ); } .base-layout { padding: 0 3.5rem; display: flex; flex-direction: column; align-items: center; min-height: calc(100vh - 10rem); } %centered-layout { position: absolute; width: 80%; top: 50%; left: 50%; transform: translate(-50%, -50%); } // Home page
<|file_sep|>original/web/static/scss/_layout.scss $off-white 50vw ); } .base-layout { padding: 0 3.5rem; display: flex; flex-direction: column; align-items: center; min-height: calc(100vh - 10rem); width: 100vw; } %centered-layout { position: absolute; width: 80%; top: 50%; left: 50%; ...
51da78369ad0ea7692c56e3884a407677612a9db
web/static/scss/_layout.scss
web/static/scss/_layout.scss
SCSS
<|file_sep|>original/composer.json "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3", "symfony/cache"...
"name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3", "symfony/cache": "~3.4|~4.0" }, "autoload"...
<|file_sep|>original/composer.json "name": "Fabien Potencier", "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], "require": { "php": "^7.1.3", "symfony/cache"...
0372eb6b8930a65c0c388f134023f31514bb79cc
composer.json
composer.json
JSON
<|file_sep|>original/lib/ctf_turbine.cfg.erb <% if disable_source_tv? %> <%= 'tv_enable 0' %> <%= 'tv_stop' %> <% else %> <%= 'tv_enable 1' %> <% end %> <% if first_map.present? %> changelevel <%= first_map %> changelevel <%= first_map %> <% else %> <% if disable_source_tv? %> <%= 'changelevel cp_badlands' %> ...
<% if first_map.present? %> changelevel <%= first_map %> changelevel <%= first_map %> <% else %> <% if disable_source_tv? %> <%= 'changelevel cp_badlands' %> <%= 'changelevel cp_badlands' %> <% end %> <% end %>
<|file_sep|>original/lib/ctf_turbine.cfg.erb <% if disable_source_tv? %> <%= 'tv_enable 0' %> <%= 'tv_stop' %> <% else %> <%= 'tv_enable 1' %> <% end %> <% if first_map.present? %> changelevel <%= first_map %> changelevel <%= first_map %> <% else %> <% if disable_source_tv? %> <%= 'changelevel cp_badlands' %> ...
fb1ea268ab8fa517d88e5b358eeb65715228d991
lib/ctf_turbine.cfg.erb
lib/ctf_turbine.cfg.erb
HTML+ERB
<|file_sep|>original/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java <|file_sep|>current/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java <|file_sep|>updated/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java
public class BadThingsToDoWithSignedBytes { public byte[] buf; boolean isHundred(int pos) { int b = buf[pos]; return b == 100 || b == 200; } boolean isHundred2(int pos) { int b = buf[pos]; switch (b) { case 100: case 200: return true; default: return false; } } }
<|file_sep|>original/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java <|file_sep|>current/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java <|file_sep|>updated/findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java public class BadThingsToDoWithSignedBytes { public byte[] buf; boolean ...
9a5aefa6a31b0c1e29627137cf37bb9ba4e8bb9d
findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java
findbugsTestCases/src/java/BadThingsToDoWithSignedBytes.java
Java
<|file_sep|>original/source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs { [InitializeOnLoad] [CustomEditor(typeof(GoogleMobileAdsSettings))] public class GoogleMobileAdsSettingsEditor : UnityEditor.Editor { [MenuItem("Assets/Google Mobile Ads/Settings...")] pub...
{ [InitializeOnLoad] [CustomEditor(typeof(GoogleMobileAdsSettings))] public class GoogleMobileAdsSettingsEditor : UnityEditor.Editor { [MenuItem("Assets/Google Mobile Ads/Settings...")] public static void OpenInspector() { Selection.activeObject = GoogleMobileAdsSett...
<|file_sep|>original/source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs { [InitializeOnLoad] [CustomEditor(typeof(GoogleMobileAdsSettings))] public class GoogleMobileAdsSettingsEditor : UnityEditor.Editor { [MenuItem("Assets/Google Mobile Ads/Settings...")] pub...
6b8e4b5111f6d73c9563800bc1cb0a4462b1d088
source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs
source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs
C#
<|file_sep|>original/.github/dependabot.yml version: 2 updates: - package-ecosystem: github-actions directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10 <|file_sep|>current/.github/depen...
version: 2 updates: - package-ecosystem: github-actions directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: npm directory: "/web" schedule: interval: weekly...
<|file_sep|>original/.github/dependabot.yml version: 2 updates: - package-ecosystem: github-actions directory: "/" schedule: interval: daily open-pull-requests-limit: 10 - package-ecosystem: gomod directory: "/" schedule: interval: daily open-pull-requests-limit: 10 <|file_sep|>current/.github/depen...
0e411110a37dde5ee501353956385ad1a330789d
.github/dependabot.yml
.github/dependabot.yml
YAML
<|file_sep|>original/.travis.yml - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - sudo docker --version - sudo docker-compose --version before_scrip...
- chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - sudo docker --version - sudo docker-compose --version before_script: - ./csu start script: - ./csu test - ./csu test_backwards - ./csu style - ./csu docs # Stop email notifications but post to organisation Slack channel notificatio...
<|file_sep|>original/.travis.yml - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - chmod +x docker-compose - sudo mv docker-compose /usr/local/bin - sudo docker --version - sudo docker-compose --version before_scrip...
25ba3df7d2d0597dc48fb5af1bd5f00a04746327
.travis.yml
.travis.yml
YAML
<|file_sep|>original/metadata/link.standen.michael.slideshow.txt Source Code:https://github.com/ScreamingHawk/android-slideshow Issue Tracker:https://github.com/ScreamingHawk/android-slideshow/issues Auto Name:Slideshow Summary:View a slideshow of your images Description: Browse your local files and view a slideshow o...
Description: Browse your local files and view a slideshow of any directory. . Repo Type:git Repo:https://github.com/ScreamingHawk/android-slideshow Build:1.0,3 commit=93246ff9d1ed7af22728b53bd2d24c565254e367 subdir=app gradle=yes Build:1.0,4 commit=1be4176ecec4101074bea5580f296733bf98a8e1 subdir=...
<|file_sep|>original/metadata/link.standen.michael.slideshow.txt Source Code:https://github.com/ScreamingHawk/android-slideshow Issue Tracker:https://github.com/ScreamingHawk/android-slideshow/issues Auto Name:Slideshow Summary:View a slideshow of your images Description: Browse your local files and view a slideshow o...
3d583a26177368e6dadb2422e62a8ecf60c584b1
metadata/link.standen.michael.slideshow.txt
metadata/link.standen.michael.slideshow.txt
Text
<|file_sep|>files/validate_postgresql_connection.sh.diff original: #!/usr/bin/env bash updated: #!/bin/sh <|file_sep|>files/validate_postgresql_connection.sh.diff original: for (( c=1; c<=$TRIES; c++ )) updated: c=1 while [ $c -le $TRIES ] <|file_sep|>original/files/validate_postgresql_connection.sh for (( c=1; c<=$TR...
do echo $c if [ $c -gt 1 ] then echo 'sleeping' sleep $SLEEP fi /bin/echo "SELECT 1" | $PSQL STATE=$? if [ $STATE -eq 0 ] then exit 0 fi $c++ done echo 'Unable to connect to postgresql' exit 1
<|file_sep|>files/validate_postgresql_connection.sh.diff original: #!/usr/bin/env bash updated: #!/bin/sh <|file_sep|>files/validate_postgresql_connection.sh.diff original: for (( c=1; c<=$TRIES; c++ )) updated: c=1 while [ $c -le $TRIES ] <|file_sep|>original/files/validate_postgresql_connection.sh for (( c=1; c<=$TR...
291dbd9a875414d0f8e263e9eb6570737b47a043
files/validate_postgresql_connection.sh
files/validate_postgresql_connection.sh
Shell
<|file_sep|>ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat.diff original: SET "QT_KIT=C:\Qt\5.12.0\msvc2017_64" updated: SET "QT_KIT=C:\Qt\5.12.6\msvc2017_64" <|file_sep|>original/ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat ECHO OFF ...
ECHO OFF SET "ARCH=x64" SET "VC_ARCH=amd64" SET "QT_KIT=C:\Qt\5.12.6\msvc2017_64" SET "DIR=%~dp0" SET "BUILD_TYPE=release" SET "BUILD_DIR=%DIR%..\build-OAuthRedirectExample-Desktop_Qt_5_12_6_MSVC2017_64bit-Release\%BUILD_TYPE%" SET "ARCGIS_SDK_DIR=C:\Program Files (x86)\ArcGIS SDKs\Qt100.7\sdk\windows\%ARCH%\bin\%BUIL...
<|file_sep|>ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat.diff original: SET "QT_KIT=C:\Qt\5.12.0\msvc2017_64" updated: SET "QT_KIT=C:\Qt\5.12.6\msvc2017_64" <|file_sep|>original/ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat ECHO OFF ...
063082d2f780e12e7ade31c9d1d59a6a6dbe1c76
ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat
ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/OAuthRedirectExample/windows_deployment.bat
Batchfile
<|file_sep|>original/tests/model/TestBoard.java package model; import junit.framework.TestCase; import java.awt.Color; /** * * @author bwoconnor * */ public class TestBoard extends TestCase{ public void testBoard(){ } } <|file_sep|>current/tests/model/TestBoard.java package model; import junit.framewor...
/** * * @author bwoconnor * */ public class TestBoard extends TestCase{ public void testBoard(){ Board b = new Board(); b.board[0][0] = new BoardTile(0,0); b.board[1][0] = new BoardTile(1,0); b.board[2][0] = new BoardTile(2,0); b.board[3][0] = new BoardTile(3,0); b.board[4][0] = new BoardTile(4,0);...
<|file_sep|>original/tests/model/TestBoard.java package model; import junit.framework.TestCase; import java.awt.Color; /** * * @author bwoconnor * */ public class TestBoard extends TestCase{ public void testBoard(){ } } <|file_sep|>current/tests/model/TestBoard.java package model; import junit.framewor...
e434266c709807509960cdcdacf63ae331a1d622
tests/model/TestBoard.java
tests/model/TestBoard.java
Java
<|file_sep|>original/ci/release_notes.md # 13.0.0 ### Breaking changes * `node_exporter` has been removed from this release. Please use the [Prometheus Node Exporter BOSH Release](https://github.com/cloudfoundry-community/node-exporter-boshrelease). * `postgres_exporter` now defaults to port `9187` ### Features: * ...
### Breaking changes * `node_exporter` has been removed from this release. Please use the [Prometheus Node Exporter BOSH Release](https://github.com/cloudfoundry-community/node-exporter-boshrelease). * `postgres_exporter` now defaults to port `9187` ### Features: * Added `mongodb_exporter` job * Added proxy env var...
<|file_sep|>original/ci/release_notes.md # 13.0.0 ### Breaking changes * `node_exporter` has been removed from this release. Please use the [Prometheus Node Exporter BOSH Release](https://github.com/cloudfoundry-community/node-exporter-boshrelease). * `postgres_exporter` now defaults to port `9187` ### Features: * ...
7bf0fa6954ddac798c5f61a0277d09cf851d621e
ci/release_notes.md
ci/release_notes.md
Markdown
<|file_sep|>original/ui/app/common/authentication/directives/pncRequiresAuth.js * @description * @example * @author Alex Creasy */ module.directive('pncRequiresAuth', [ 'authService', function (authService) { return { restrict: 'A', link: function (scope, elem, attrs) { ...
* @example * @author Alex Creasy */ module.directive('pncRequiresAuth', [ 'authService', function (authService) { return { restrict: 'A', link: function (scope, elem, attrs) { if (!authService.isAuthenticated()) { attrs.$set('disabled', 'disabled'); ...
<|file_sep|>original/ui/app/common/authentication/directives/pncRequiresAuth.js * @description * @example * @author Alex Creasy */ module.directive('pncRequiresAuth', [ 'authService', function (authService) { return { restrict: 'A', link: function (scope, elem, attrs) { ...
1e28a1f64256b02c70d1534561760657c6076179
ui/app/common/authentication/directives/pncRequiresAuth.js
ui/app/common/authentication/directives/pncRequiresAuth.js
JavaScript
<|file_sep|>original/application/config/craftshop.php <?php $config['iconomy'] = array( 'currency' => '$' ); $config['jsonapi'] = array( // JSONAPI connection settings 'host' => 'localhost', 'port' => '20059', 'username' => 'craftshop', 'password' => '', 'salt' => '' ) ; $config['itemap...
<?php $config['iconomy'] = array( 'currency' => '$%u' ); $config['jsonapi'] = array( // JSONAPI connection settings 'host' => 'localhost', 'port' => '20059', 'username' => 'craftshop', 'password' => '', 'salt' => '' ) ; $config['itemapi'] = array( 'local_img_path' => 'assets/it...
<|file_sep|>original/application/config/craftshop.php <?php $config['iconomy'] = array( 'currency' => '$' ); $config['jsonapi'] = array( // JSONAPI connection settings 'host' => 'localhost', 'port' => '20059', 'username' => 'craftshop', 'password' => '', 'salt' => '' ) ; $config['itemap...
80a483a96b67c6036a8e138df1ddf1200038ec4d
application/config/craftshop.php
application/config/craftshop.php
PHP
<|file_sep|>test/e2e/env/index.html.diff original: <body> updated: <body ng-app="myModule"> <|file_sep|>test/e2e/env/index.html.diff original: <script> updated: <script src="/bower_components/less/dist/less-1.6.1.js"></script> <script src="/bower_components/angular/angular.js"></script> <script src="/bower_comp...
<!-- PLEASE USE demo/index.html IF YOU'D LIKE TO PLAY AROUND --> <div my-directive></div> <script src="/bower_components/jquery/jquery.js"></script> <script src="/bower_components/less/dist/less-1.6.1.js"></script> <script src="/bower_components/angular/angular.js"></script> <script src="/bower_components/a...
<|file_sep|>test/e2e/env/index.html.diff original: <body> updated: <body ng-app="myModule"> <|file_sep|>test/e2e/env/index.html.diff original: <script> updated: <script src="/bower_components/less/dist/less-1.6.1.js"></script> <script src="/bower_components/angular/angular.js"></script> <script src="/bower_comp...
f86ff1d50aa691cc55a7dcd366d9174f077686ad
test/e2e/env/index.html
test/e2e/env/index.html
HTML
<|file_sep|>test/dbwrkr-mongodb-tests.js.diff original: const dbWrkrTests = require('dbwrkr').tests; updated: const tests = require('dbwrkr').tests; <|file_sep|>test/dbwrkr-mongodb-tests.js.diff original: const testOptions = { updated: tests({ <|file_sep|>original/test/dbwrkr-mongodb-tests.js /* eslint no-console: 0 *...
/* eslint no-console: 0 */ const DBWrkrMongoDb = require('../dbwrkr-mongodb'); const tests = require('dbwrkr').tests; tests({ storage: new DBWrkrMongoDb({ dbName: 'dbwrkr_tests' }) });
<|file_sep|>test/dbwrkr-mongodb-tests.js.diff original: const dbWrkrTests = require('dbwrkr').tests; updated: const tests = require('dbwrkr').tests; <|file_sep|>test/dbwrkr-mongodb-tests.js.diff original: const testOptions = { updated: tests({ <|file_sep|>original/test/dbwrkr-mongodb-tests.js /* eslint no-console: 0 *...
928d9566aac925a7579c40204cf4b7597837e1da
test/dbwrkr-mongodb-tests.js
test/dbwrkr-mongodb-tests.js
JavaScript
<|file_sep|>original/README.md # JenkinsiOS [![Build Status Dev](https://travis-ci.org/mobilabsolutions/jenkins-ios.svg?branch=dev)](https://travis-ci.org/mobilabsolutions/jenkins-ios) <sup><sub><sup>(dev branch status)</sup><sub><sub> <div style="text-align: center"> <img src="JenkinsiOS/Assets.xcassets/AppIcon.app...
# JenkinsiOS [![Build Status Dev](https://travis-ci.org/mobilabsolutions/jenkins-ios.svg?branch=dev)](https://travis-ci.org/mobilabsolutions/jenkins-ios) <sup><sub><sup>(dev branch status)</sup><sub><sub> <p align="center"> <img src="JenkinsiOS/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png" width=200> </p> ##...
<|file_sep|>original/README.md # JenkinsiOS [![Build Status Dev](https://travis-ci.org/mobilabsolutions/jenkins-ios.svg?branch=dev)](https://travis-ci.org/mobilabsolutions/jenkins-ios) <sup><sub><sup>(dev branch status)</sup><sub><sub> <div style="text-align: center"> <img src="JenkinsiOS/Assets.xcassets/AppIcon.app...
f44b6cb451e01c1a0bf815a991879b0138413cf0
README.md
README.md
Markdown
<|file_sep|>original/.kitchen.yml name: vagrant provisioner: name: chef_zero deprecations_as_errors: true verifier: name: inspec platforms: - name: centos-6.8 - name: centos-7.3 - name: debian-7.11 run_list: apt::default - name: debian-8.7 run_list: apt::default - name: fedora-25 - name: ...
name: vagrant provisioner: name: chef_zero deprecations_as_errors: true verifier: name: inspec platforms: - name: centos-6.9 - name: centos-7.3 - name: debian-7.11 run_list: apt::default - name: debian-8.7 run_list: apt::default - name: fedora-25 - name: opensuse-leap-42.2 - name: ubunt...
<|file_sep|>original/.kitchen.yml name: vagrant provisioner: name: chef_zero deprecations_as_errors: true verifier: name: inspec platforms: - name: centos-6.8 - name: centos-7.3 - name: debian-7.11 run_list: apt::default - name: debian-8.7 run_list: apt::default - name: fedora-25 - name: ...
655765e60a83a777e66fffd1ff4fbf48c6fc96b1
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/_data/main.yml - id: payments title: Payments icon: payment - id: developer title: Developer icon: code - id: backup title: Backup and Sync icon: file - id: domains title: Domains icon: globe - id: gaming title: Gaming icon: gamepad - id: bit...
- id: payments title: Payments icon: payment - id: developer title: Developer icon: code - id: backup title: Backup and Sync icon: hdd - id: domains title: Domains icon: globe - id: gaming title: Gaming icon: gamepad - id: bitcoin
<|file_sep|>original/_data/main.yml - id: payments title: Payments icon: payment - id: developer title: Developer icon: code - id: backup title: Backup and Sync icon: file - id: domains title: Domains icon: globe - id: gaming title: Gaming icon: gamepad - id: bit...
650dc05c2cc16670798968a5afcbe4764bf9c00a
_data/main.yml
_data/main.yml
YAML
<|file_sep|>CSharp/Core.SQLite/Command.cs.diff original: SQLiteCommand.Connection = SQLiteConnection; foreach(var parameter in Parameters) { SQLiteCommand.Parameters.Add(new SqliteParameter(parameter.Name, parameter.Value)); } updated: MakeReady(); <|file_sep|>original/CSharp/Core.SQLite/Command.cs pu...
} public IReader ExecuteReader() { MakeReady(); SQLiteReader = SQLiteCommand.ExecuteReader(); Reader = new Reader() { SQLiteReader = SQLiteReader }; return Reader; } public object ExecuteScalar() { MakeReady(); return SQLiteCommand.ExecuteScalar(); } private void MakeReady() { SQLite...
<|file_sep|>CSharp/Core.SQLite/Command.cs.diff original: SQLiteCommand.Connection = SQLiteConnection; foreach(var parameter in Parameters) { SQLiteCommand.Parameters.Add(new SqliteParameter(parameter.Name, parameter.Value)); } updated: MakeReady(); <|file_sep|>original/CSharp/Core.SQLite/Command.cs pu...
ae53b063d5d33bd98d296f87ec7e0e7f4e0c5eb9
CSharp/Core.SQLite/Command.cs
CSharp/Core.SQLite/Command.cs
C#
<|file_sep|>original/prolific.monitor/package.json "license": "MIT", "repository": { "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": ...
"license": "MIT", "repository": { "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": "1.0.x", "delta": ...
<|file_sep|>original/prolific.monitor/package.json "license": "MIT", "repository": { "type": "git", "url": "http://github.com/bigeasy/prolific.git" }, "dependencies": { "cadence": ...
462231fd5d4541828043ebf39b42fdbcefef32fd
prolific.monitor/package.json
prolific.monitor/package.json
JSON
<|file_sep|>original/packages/com.github.ygini.roundcube/scripts/030_setup_db.sh #!/bin/bash scriptdir=`dirname "$BASH_SOURCE"` source "$scriptdir/shared" mkdir "$RC_DB_SQLITE_FOLDER" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/SQL/sqlite.initial.sql" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/plugins/carddav/dbinit/sqlit...
#!/bin/bash scriptdir=`dirname "$BASH_SOURCE"` source "$scriptdir/shared" mkdir "$RC_DB_SQLITE_FOLDER" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/SQL/sqlite.initial.sql" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/plugins/carddav/dbmigrations/0000-dbinit/sqlite3.sql" if [ $? -ne 0 ]; then exit 1 fi exit 0
<|file_sep|>original/packages/com.github.ygini.roundcube/scripts/030_setup_db.sh #!/bin/bash scriptdir=`dirname "$BASH_SOURCE"` source "$scriptdir/shared" mkdir "$RC_DB_SQLITE_FOLDER" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/SQL/sqlite.initial.sql" sqlite3 "$RC_DB_SQLITE_PATH" < "$RC_PATH/plugins/carddav/dbinit/sqlit...
e2aa5bbe1826546f93741b08ad112698323fe807
packages/com.github.ygini.roundcube/scripts/030_setup_db.sh
packages/com.github.ygini.roundcube/scripts/030_setup_db.sh
Shell
<|file_sep|>original/package.json "gulp-autoprefixer": "3.1.0", "gulp-changed": "^1.3.0", "gulp-concat": "2.6.0", "gulp-header": "1.8.2", "gulp-clean-css": "2.0.7", "gulp-notify": "^2.2.0", "gulp-pixrem": "^1.0.0", "gulp-sass": "^2.3.1", "gulp-sourcemaps": "^1.6.0", "gulp-uglify"...
"gulp-autoprefixer": "3.1.0", "gulp-changed": "^1.3.0", "gulp-concat": "2.6.0", "gulp-header": "1.8.2", "gulp-clean-css": "2.0.7", "gulp-notify": "^2.2.0", "gulp-pixrem": "^1.0.0", "gulp-sass": "^2.3.1", "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "1.5.3", "gulp-util": "^3.0....
<|file_sep|>original/package.json "gulp-autoprefixer": "3.1.0", "gulp-changed": "^1.3.0", "gulp-concat": "2.6.0", "gulp-header": "1.8.2", "gulp-clean-css": "2.0.7", "gulp-notify": "^2.2.0", "gulp-pixrem": "^1.0.0", "gulp-sass": "^2.3.1", "gulp-sourcemaps": "^1.6.0", "gulp-uglify"...
513c426795cbafebe271a715624716a50b34df12
package.json
package.json
JSON
<|file_sep|>original/Ressources/Private/Sass/base/_base.scss /* ============================================================================= $ High level wrapper and elements ================================================================================ */ body { /** * Addresses margins handled incorrectly in ...
/* ============================================================================= $ High level wrapper and elements ================================================================================ */ body { /** * Addresses margins handled incorrectly in IE6/7. */ margin: 0; font: $baseFontWeight #{$baseFon...
<|file_sep|>original/Ressources/Private/Sass/base/_base.scss /* ============================================================================= $ High level wrapper and elements ================================================================================ */ body { /** * Addresses margins handled incorrectly in ...
352cf5eda7ee52a2cac809560324f81144b7091b
Ressources/Private/Sass/base/_base.scss
Ressources/Private/Sass/base/_base.scss
SCSS
<|file_sep|>original/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md <|file_sep|>current/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md <|file_sep|>updated/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md
--- title: Extraterm v0.59.2 released date: 2021-05-01 21:30:00 +0100 categories: release --- **Changes** * Windows: Changed the launcher program `extraterm.exe` to avoid having Microsoft Defender incorrectly flag it as being a threat, i.e. false positive. [#343](https://github.com/sedwards2009/extraterm/issues/343) ...
<|file_sep|>original/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md <|file_sep|>current/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md <|file_sep|>updated/docs/_posts/2021-05-01-extraterm-v0.59.2-released.md --- title: Extraterm v0.59.2 released date: 2021-05-01 21:30:00 +0100 categories: release --- **C...
70db5f59d82ffa441f14db6e26fffe1f2ab84f55
docs/_posts/2021-05-01-extraterm-v0.59.2-released.md
docs/_posts/2021-05-01-extraterm-v0.59.2-released.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==2.12.1 numpy==1.13.3 pandas==0.20.3 <|file_sep|>current/requiremen...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.5 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==2.12.1 numpy==1.13.3 pandas==0.20.3
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==2.12.1 numpy==1.13.3 pandas==0.20.3 <|file_sep|>current/requiremen...
15c85ff927fc5b8b38ba09a9dd770cfb50fd94a6
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/conftest.py '''py.test standard config file.''' import sys # pylint: disable=invalid-name collect_ignore = ('setup.py',) # pylint: enable=invalid-name def pytest_cmdline_preparse(args): is_pylint_compatible = (2, 7) <= sys.version_info < (3, 5) if not is_pylint_compatible: args...
'''py.test standard config file.''' import sys # pylint: disable=invalid-name collect_ignore = ('setup.py',) # pylint: enable=invalid-name def pytest_cmdline_preparse(args): is_pylint_compatible = (2, 7) <= sys.version_info < (3, 6) if not is_pylint_compatible: args.remove('--pylint')
<|file_sep|>original/conftest.py '''py.test standard config file.''' import sys # pylint: disable=invalid-name collect_ignore = ('setup.py',) # pylint: enable=invalid-name def pytest_cmdline_preparse(args): is_pylint_compatible = (2, 7) <= sys.version_info < (3, 5) if not is_pylint_compatible: args...
e6c91c06005c131805edeaf6b4980ff7f73b87b6
conftest.py
conftest.py
Python
<|file_sep|>original/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php <|file_sep|>current/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php <|file_sep|>updated/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryExcepti...
<?php /* * This file is part of the GitCommandBundle package. * * (c) Paul Schweppe <paulschweppe@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace VersionControl\GitCommandBundle\GitCommands\Exception; /** *...
<|file_sep|>original/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php <|file_sep|>current/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php <|file_sep|>updated/src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryExcepti...
0ed38e52930f366d2894d454c3c7e393c1236e12
src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php
src/VersionControl/GitCommandBundle/GitCommands/Exception/InvalidDirectoryException.php
PHP
<|file_sep|>app/controllers/projects/compare_controller.rb.diff original: compare = Gitlab::Git::Compare.new(@repository.raw_repository, params[:from], params[:to], MergeRequestDiff::COMMITS_SAFE_SIZE) updated: base_ref = params[:from] head_ref = params[:to] <|file_sep|>original/app/controllers/projects/com...
def index end def show base_ref = params[:from] head_ref = params[:to] compare_result = CompareService.new.execute( current_user, @project, base_ref, @project, head_ref ) @commits = compare_result.commits @diffs = compare_result.diffs @commit = @commit...
<|file_sep|>app/controllers/projects/compare_controller.rb.diff original: compare = Gitlab::Git::Compare.new(@repository.raw_repository, params[:from], params[:to], MergeRequestDiff::COMMITS_SAFE_SIZE) updated: base_ref = params[:from] head_ref = params[:to] <|file_sep|>original/app/controllers/projects/com...
378a3f5ca1286f4458632461067516e5c0a8f561
app/controllers/projects/compare_controller.rb
app/controllers/projects/compare_controller.rb
Ruby
<|file_sep|>simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java.diff original: * multiset. updated: * multiset that calls {@link Tokenizer#tokenizeToList(String)}. <|file_sep|>original/simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java import com.google.common.c...
import java.util.Set; import com.google.common.collect.HashMultiset; import com.google.common.collect.Multiset; /** * Convenience tokenizer. Provides default implementation to tokenize to set and * multiset that calls {@link Tokenizer#tokenizeToList(String)}. */ public abstract class AbstractTokenizer implements T...
<|file_sep|>simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java.diff original: * multiset. updated: * multiset that calls {@link Tokenizer#tokenizeToList(String)}. <|file_sep|>original/simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java import com.google.common.c...
fdd121111eae596f82f61685968e212c5df95910
simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java
simmetrics-core/src/main/java/org/simmetrics/tokenizers/AbstractTokenizer.java
Java
<|file_sep|>.travis.yml.diff original: updated: sudo: required dist: trusty <|file_sep|>.travis.yml.diff original: - 2.7 - 3.3 updated: <|file_sep|>.travis.yml.diff original: - 3.5 - nightly updated: <|file_sep|>.travis.yml.diff original: - libsuitesparse-dev - liblapack-dev - libblas-dev ...
# build-deps of sci/numpy addons: apt: packages: - python3-numpy - python3-scipy - python3-pip - cython before_install: - deactivate - pip install coveralls script: - deactivate - python setup.py install - python setup.py test - mpg -h #after_success: # - coveralls
<|file_sep|>.travis.yml.diff original: updated: sudo: required dist: trusty <|file_sep|>.travis.yml.diff original: - 2.7 - 3.3 updated: <|file_sep|>.travis.yml.diff original: - 3.5 - nightly updated: <|file_sep|>.travis.yml.diff original: - libsuitesparse-dev - liblapack-dev - libblas-dev ...
316ad1caae84b89442ce2b7d06e716d43e30293b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.pre-commit-config.yaml <|file_sep|>current/.pre-commit-config.yaml <|file_sep|>updated/.pre-commit-config.yaml
- repo: git://github.com/pre-commit/pre-commit-hooks sha: 96fb7fa10f2f4c11ed33482a9ad7474251e5e97f hooks: - id: trailing-whitespace - id: flake8 args: [--max-line-length=120] - id: check-merge-conflict - id: double-quote-string-fixer - id: end-of-file-fixer - id: na...
<|file_sep|>original/.pre-commit-config.yaml <|file_sep|>current/.pre-commit-config.yaml <|file_sep|>updated/.pre-commit-config.yaml - repo: git://github.com/pre-commit/pre-commit-hooks sha: 96fb7fa10f2f4c11ed33482a9ad7474251e5e97f hooks: - id: trailing-whitespace - id: flake8 args: [--m...
55b40745f59e6fb35b2fa15328587434dfaebf20
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>gae/impl/cloud/context.go.diff original: updated: return UseDS(useInfo(c), client) } // UseDS installs the cloud datastore implementation into the supplied Context. func UseDS(c context.Context, client *datastore.Client) context.Context { <|file_sep|>original/gae/impl/cloud/context.go import ( "google....
"golang.org/x/net/context" ) // Use installs the cloud services implementation into the supplied Context. // // This includes: // - github.com/luci/gae/service/info // - github.com/luci/gae/service/datastore // // This is built around the ability to use cloud datastore. func Use(c context.Context, client *datastore.C...
<|file_sep|>gae/impl/cloud/context.go.diff original: updated: return UseDS(useInfo(c), client) } // UseDS installs the cloud datastore implementation into the supplied Context. func UseDS(c context.Context, client *datastore.Client) context.Context { <|file_sep|>original/gae/impl/cloud/context.go import ( "google....
82bc6ebfec08d065bdf97beb59b632720504ac05
gae/impl/cloud/context.go
gae/impl/cloud/context.go
Go
<|file_sep|>original/.travis.yml php: - 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text ...
php: - 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text - ./vendor/bin/phpcs --standard=...
<|file_sep|>original/.travis.yml php: - 5.4 - 5.5 - 5.6 - hhvm matrix: fast_finish: true allow_failures: - php: hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --verbose --coverage-text ...
b863674b34dba15eafbcd179e7dc6721002b5d3d
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: chrome: stable <|file_sep|>original/.travis.yml language: javascript addons: firefox: "59.0" cache: directories: - "travis_phantomjs" before_install: - mkdir qunit - wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css - wge...
language: javascript addons: chrome: stable firefox: "59.0" firefox: latest-beta cache: directories: - "travis_phantomjs" before_install: - mkdir qunit - wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css - wget -O qunit/qunit-1.18.0.js http://code.jquery.com/qunit/...
<|file_sep|>.travis.yml.diff original: updated: chrome: stable <|file_sep|>original/.travis.yml language: javascript addons: firefox: "59.0" cache: directories: - "travis_phantomjs" before_install: - mkdir qunit - wget -O qunit/qunit-1.18.0.css http://code.jquery.com/qunit/qunit-1.18.0.css - wge...
3d42d8947486a1eccdb66f8afd3f79a440ed6c53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/ig_files/pages/downloads.html <!-- /container --> </div> <!-- /segment-breadcrumb --> {% include container-start.html %} <!-- ============CONTENT CONTENT=============== --> <h3>Downloads</h3> <ul> <li><a href="definitions.json.zip">JSON Definitions [ZIP]</a></li> <li><a href="examples....
<!-- /container --> </div> <!-- /segment-breadcrumb --> {% include container-start.html %} <!-- ============CONTENT CONTENT=============== --> <h3>Downloads</h3> <ul> <li><a href="full-ig.zip">Full Specification [ZIP]</a></li> <li><a href="definitions.json.zip">JSON Definitions [ZIP]</a></li> <li><a href="ex...
<|file_sep|>original/lib/ig_files/pages/downloads.html <!-- /container --> </div> <!-- /segment-breadcrumb --> {% include container-start.html %} <!-- ============CONTENT CONTENT=============== --> <h3>Downloads</h3> <ul> <li><a href="definitions.json.zip">JSON Definitions [ZIP]</a></li> <li><a href="examples....
c731baad596ecb6f91cecf80efcf32566b00f755
lib/ig_files/pages/downloads.html
lib/ig_files/pages/downloads.html
HTML
<|file_sep|>original/i18n.gemspec # encoding: utf-8 $: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.emai...
$: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.email = "rails-i18n@googlegroups.com" s.homepag...
<|file_sep|>original/i18n.gemspec # encoding: utf-8 $: << File.expand_path('../lib', __FILE__) require 'i18n/version' Gem::Specification.new do |s| s.name = "i18n" s.version = I18n::VERSION s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] s.emai...
7269d5d34bfca91f42c400db63d723a71ec2c011
i18n.gemspec
i18n.gemspec
Ruby
<|file_sep|>original/gulpfile.js // Registers build tasks require('./build/gulp-clean'); require('./build/gulp-build'); require('./build/gulp-test'); require('./build/gulp-perf'); var srcDir = 'lib'; gulp.task('lint', function() { return gulp.src(srcDir + '/**/*.js'). pipe(eslint({ globals: {...
// Registers build tasks require('./build/gulp-clean'); require('./build/gulp-build'); require('./build/gulp-test'); require('./build/gulp-perf'); var srcDir = 'lib'; gulp.task('lint', function() { return gulp.src(['*.js', srcDir + '/**/*.js']). pipe(eslint({ globals: { 'requi...
<|file_sep|>original/gulpfile.js // Registers build tasks require('./build/gulp-clean'); require('./build/gulp-build'); require('./build/gulp-test'); require('./build/gulp-perf'); var srcDir = 'lib'; gulp.task('lint', function() { return gulp.src(srcDir + '/**/*.js'). pipe(eslint({ globals: {...
c62db3c5d5d57a8d6d7a1386535f680b23fb023d
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>bin/build-deploy.sh.diff original: docker build --build-arg ST2_TAG=${ST2_TAG} --build-arg ST2_DOCKER_SHA1=${CIRCLE_SHA1} \ -t stackstorm/stackstorm:${ST2_TAG} images/stackstorm echo "docker push stackstorm/stackstorm:${ST2_TAG}" updated: for name in stackstorm; do docker build --build-arg ST2...
for name in stackstorm; do docker build --build-arg ST2_TAG=${ST2_TAG} --build-arg ST2_DOCKER_SHA1=${CIRCLE_SHA1} \ -t stackstorm/${name}:${ST2_TAG} images/${name} echo "docker push stackstorm/${name}:${ST2_TAG}" done fi # If TAG is zero length, then only build the 'latest' image # (this usually happ...
<|file_sep|>bin/build-deploy.sh.diff original: docker build --build-arg ST2_TAG=${ST2_TAG} --build-arg ST2_DOCKER_SHA1=${CIRCLE_SHA1} \ -t stackstorm/stackstorm:${ST2_TAG} images/stackstorm echo "docker push stackstorm/stackstorm:${ST2_TAG}" updated: for name in stackstorm; do docker build --build-arg ST2...
f912da1dcbc47ece0053b78a829c47cca2c97dd6
bin/build-deploy.sh
bin/build-deploy.sh
Shell
<|file_sep|>original/src/browser/page-title.js const lag = require('./lag'); module.exports = (user, pings) => { const original = document.title; user.events.on('read', () => { document.title = `${original} (${lag.humanize(pings.currentLag())})`; }); }; <|file_sep|>current/src/browser/page-title.js const lag...
const lag = require('./lag'); module.exports = (user, pings) => { const original = document.title; user.events.on('read', () => { document.title = `${lag.humanize(pings.currentLag())} - ${original}`; }); };
<|file_sep|>original/src/browser/page-title.js const lag = require('./lag'); module.exports = (user, pings) => { const original = document.title; user.events.on('read', () => { document.title = `${original} (${lag.humanize(pings.currentLag())})`; }); }; <|file_sep|>current/src/browser/page-title.js const lag...
94491a2ac736637c92ccee8c758551bf78a49d79
src/browser/page-title.js
src/browser/page-title.js
JavaScript
<|file_sep|>app/views/404.html.diff original: <a href="/">Follow this link to return to home page.</a> updated: <a href="/" target="_self">Follow this link to return to home page.</a> <|file_sep|>original/app/views/404.html <div> <a href="/">Follow this link to return to home page.</a> <h1>Oops...</h1> <h3>Looks...
<div> <a href="/" target="_self">Follow this link to return to home page.</a> <h1>Oops...</h1> <h3>Looks like the page you we're looking for doesn't exist. Sorry about that.</h3> </div>
<|file_sep|>app/views/404.html.diff original: <a href="/">Follow this link to return to home page.</a> updated: <a href="/" target="_self">Follow this link to return to home page.</a> <|file_sep|>original/app/views/404.html <div> <a href="/">Follow this link to return to home page.</a> <h1>Oops...</h1> <h3>Looks...
177d07355cfda279cf5a3ed17d8462b4b6c64525
app/views/404.html
app/views/404.html
HTML
<|file_sep|>original/Changelog.md - Misc improvements to the docs ## 2.0.7 - Beter validation of type="file" #305 - Augment Operations summary and description based on the comment. #293 - Bugfixes #300 - Add support for xml (and externalDocs and properties) inside a @SWG\Items. #279 - Nested properties are no l...
# Changelog The changelog is moved to the [releases page](https://github.com/zircote/swagger-php/releases)
<|file_sep|>original/Changelog.md - Misc improvements to the docs ## 2.0.7 - Beter validation of type="file" #305 - Augment Operations summary and description based on the comment. #293 - Bugfixes #300 - Add support for xml (and externalDocs and properties) inside a @SWG\Items. #279 - Nested properties are no l...
feda3c702c8c2f2460c7ea84b9ea9eb7cab70a12
Changelog.md
Changelog.md
Markdown
<|file_sep|>completions/rbenv.zsh.diff original: local word words completions updated: local words completions <|file_sep|>completions/rbenv.zsh.diff original: word="${words[2]}" updated: <|file_sep|>original/completions/rbenv.zsh if [[ ! -o interactive ]]; then return fi compctl -K _rbenv rbenv _rbenv() {...
if [[ ! -o interactive ]]; then return fi compctl -K _rbenv rbenv _rbenv() { local words completions read -cA words if [ "${#words}" -eq 2 ]; then completions="$(rbenv commands)" else completions="$(rbenv completions ${words[2,-1]})" fi reply=("${(ps:\n:)completions}") }
<|file_sep|>completions/rbenv.zsh.diff original: local word words completions updated: local words completions <|file_sep|>completions/rbenv.zsh.diff original: word="${words[2]}" updated: <|file_sep|>original/completions/rbenv.zsh if [[ ! -o interactive ]]; then return fi compctl -K _rbenv rbenv _rbenv() {...
13536a528429dc63b60b9ed9be42947ca40b2424
completions/rbenv.zsh
completions/rbenv.zsh
Shell
<|file_sep|>build/check_trailing_komma.pl.diff original: my $path = shift or die "need path"; updated: use Cwd 'abs_path'; use FindBin; my $path = (shift || "$FindBin::Bin/../lib"); die("The directory '$path' doesn't exist") unless -d $path; <|file_sep|>build/check_trailing_komma.pl.diff original: updated: my $found...
if($name !~ /\.js$/) { return } open my $in, $name or die "Cant open file $name due to $!"; my $content = ""; my $has_error = 0; while(<$in>) { s/\s+/ /gms; $content .= $_; } close $in; if (my @matches = ($content =~ /(.{0,30},\s*[}\]\)].{0,10})/gms) ) { ...
<|file_sep|>build/check_trailing_komma.pl.diff original: my $path = shift or die "need path"; updated: use Cwd 'abs_path'; use FindBin; my $path = (shift || "$FindBin::Bin/../lib"); die("The directory '$path' doesn't exist") unless -d $path; <|file_sep|>build/check_trailing_komma.pl.diff original: updated: my $found...
94cbac631a74ade498f0777311a1b791ba627678
build/check_trailing_komma.pl
build/check_trailing_komma.pl
Perl
<|file_sep|>original/init.rb #-- # Copyright (c) 2008 Matson Systems, Inc. # Released under the BSD license found in the file # LICENSE included with this ActivityStreams plug-in. #++ # Activity Streams Intitialization require 'activity_streams' ActionController::Base.append_view_path(File.join(File.dirname(__FILE__)...
#-- # Copyright (c) 2008 Matson Systems, Inc. # Released under the BSD license found in the file # LICENSE included with this ActivityStreams plug-in. #++ # Activity Streams Intitialization require 'activity_streams' ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), "views")) models_path = Fi...
<|file_sep|>original/init.rb #-- # Copyright (c) 2008 Matson Systems, Inc. # Released under the BSD license found in the file # LICENSE included with this ActivityStreams plug-in. #++ # Activity Streams Intitialization require 'activity_streams' ActionController::Base.append_view_path(File.join(File.dirname(__FILE__)...
a7f2f4d75c8c1466eb894527e62c9c322152a915
init.rb
init.rb
Ruby
<|file_sep|>original/charting/Months.pm use File::stat; use Date::Manip::Date; use Date::Manip::Delta; @months = ( ); $date = new Date::Manip::Date; $date->parse_date('2006-12-01') && die('could not parse base date'); $now = new Date::Manip::Date; $now->parse('today') && die('could not parse today'); $oneMonth = n...
use File::stat; use Date::Manip::Date; use Date::Manip::Delta; @months = ( ); $date = new Date::Manip::Date; $date->parse_date('2006-12-01') && die('could not parse base date'); $now = new Date::Manip::Date; $now->parse('now') && die('could not parse now'); $oneMonth = new Date::Manip::Delta; $oneMonth->parse("1 m...
<|file_sep|>original/charting/Months.pm use File::stat; use Date::Manip::Date; use Date::Manip::Delta; @months = ( ); $date = new Date::Manip::Date; $date->parse_date('2006-12-01') && die('could not parse base date'); $now = new Date::Manip::Date; $now->parse('today') && die('could not parse today'); $oneMonth = n...
a2cc09715f0d398e9c47e7ea4ddbdd14be0ce2ec
charting/Months.pm
charting/Months.pm
Perl
<|file_sep|>original/gradle.properties # Maven coordinates groupId=org.yatech.jedis versionId=0.5.0-SNAPSHOT artifactId=jedis-utils # JAR jarTitle=jedis-utils jarVendor=yatech.org (Yinon Avraham) # Bintray bintrayUser=${BINTRAY_USER} bintrayApiKey=${BINTRAY_API_KEY} bintrayOwner=yatech bintrayRepo=maven bintrayPackag...
# Maven coordinates groupId=org.yatech.jedis versionId=0.5.0 artifactId=jedis-utils # JAR jarTitle=jedis-utils jarVendor=yatech.org (Yinon Avraham) # Bintray bintrayUser=${BINTRAY_USER} bintrayApiKey=${BINTRAY_API_KEY} bintrayOwner=yatech bintrayRepo=maven bintrayPackage=jedis-utils bintrayPackageDescription='Utiliti...
<|file_sep|>original/gradle.properties # Maven coordinates groupId=org.yatech.jedis versionId=0.5.0-SNAPSHOT artifactId=jedis-utils # JAR jarTitle=jedis-utils jarVendor=yatech.org (Yinon Avraham) # Bintray bintrayUser=${BINTRAY_USER} bintrayApiKey=${BINTRAY_API_KEY} bintrayOwner=yatech bintrayRepo=maven bintrayPackag...
3229613befebd7caf8880d05ce87a10d4f5416e4
gradle.properties
gradle.properties
INI
<|file_sep|>lib/mongoid/fields/mappings.rb.diff original: updated: module Internal #:nodoc: end <|file_sep|>lib/mongoid/fields/mappings.rb.diff original: MODULE = "Mongoid::Fields::Internal" updated: MODULE = Mongoid::Fields::Internal <|file_sep|>original/lib/mongoid/fields/mappings.rb # ...
# Mappings.for(BSON::ObjectId) # # @param [ Class ] klass The class to get the field type for. # # @return [ Class ] The class of the custom field. # # @since 2.1.0 def for(klass, foreign_key = false) return Internal::Object unless klass if foreign_key ...
<|file_sep|>lib/mongoid/fields/mappings.rb.diff original: updated: module Internal #:nodoc: end <|file_sep|>lib/mongoid/fields/mappings.rb.diff original: MODULE = "Mongoid::Fields::Internal" updated: MODULE = Mongoid::Fields::Internal <|file_sep|>original/lib/mongoid/fields/mappings.rb # ...
d5d329f3fdc5321377d1079ea01f26dbf35ac208
lib/mongoid/fields/mappings.rb
lib/mongoid/fields/mappings.rb
Ruby
<|file_sep|>original/acts_as_likeable.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'acts_as_likeable/version' Gem::Specification.new do |spec| spec.name = "acts_as_likeable" spec.version = ActsAsLikeable::VERSION spec.authors ...
lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'acts_as_likeable/version' Gem::Specification.new do |spec| spec.name = "acts_as_likeable" spec.version = ActsAsLikeable::VERSION spec.authors = ["Sung Won Cho"] spec.email = ...
<|file_sep|>original/acts_as_likeable.gemspec lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'acts_as_likeable/version' Gem::Specification.new do |spec| spec.name = "acts_as_likeable" spec.version = ActsAsLikeable::VERSION spec.authors ...
c48b3809c16d119aeb19a5dc5fd3b76d0bb8ab5e
acts_as_likeable.gemspec
acts_as_likeable.gemspec
Ruby
<|file_sep|>docs/proposals/issue-priorities.md.diff original: - **priority/P0**: Must be actively worked on as someone's top priority right now. Stuff is burning. If it's not being actively worked on, someone is expected to drop what they're doing immediately to work on it. TL's of teams responsible for making sure tha...
These are the meanings of the labels priority/p0 ... priority/p3 that we apply to issues in order to try to prioritize them relative to each other. We try to apply these priority labels consistently across the entire project, but if you notice an issue that you believe to be misprioritized, please do let us know and w...
<|file_sep|>docs/proposals/issue-priorities.md.diff original: - **priority/P0**: Must be actively worked on as someone's top priority right now. Stuff is burning. If it's not being actively worked on, someone is expected to drop what they're doing immediately to work on it. TL's of teams responsible for making sure tha...
86a63df684ba9dc2e63275162cb8c07730229b22
docs/proposals/issue-priorities.md
docs/proposals/issue-priorities.md
Markdown
<|file_sep|>mobile/src/main/res/values/styles.xml.diff original: <!-- colorPrimary is used for Notification icon and bottom facet bar icons and overflow actions --> updated: <!-- colorPrimary is used for: - Phone: Action bar (App bar) - Auto: Notification icon and b...
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- colorPrimary is used for: - Phone: Action bar (App bar) - Auto: Notification icon and bottom facet bar icons and overflow actions --> <item name="colorPrimary">#ffff5722</item> <!--...
<|file_sep|>mobile/src/main/res/values/styles.xml.diff original: <!-- colorPrimary is used for Notification icon and bottom facet bar icons and overflow actions --> updated: <!-- colorPrimary is used for: - Phone: Action bar (App bar) - Auto: Notification icon and b...
c657c8931dea572d4bb3194dfc0176d96c1a93a8
mobile/src/main/res/values/styles.xml
mobile/src/main/res/values/styles.xml
XML
<|file_sep|>original/fw/new/libs/AdapterBoard/AdapterBoard.c #ifndef ADAPTERBOARD_H #define ADAPTERBOARD_H #include <RGBLed.h> #define LED_R 13 #define LED_G 9 #define LED_B 10 #define BACKLIGHT_PIN 0 class AdapterBoard { public: AdapterBoard(); void init(); void poll(); private: RGBLed led; ...
#ifndef ADAPTERBOARD_H #define ADAPTERBOARD_H #include <RGBLed.h> #define LED_R 13 #define LED_G 9 #define LED_B 10 #define BACKLIGHT_PIN 11 #define SW_ON 4 #define SW_UP 12 #define SW_DOWN 6 class AdapterBoard { public: AdapterBoard(); void init(); void poll(); private:
<|file_sep|>original/fw/new/libs/AdapterBoard/AdapterBoard.c #ifndef ADAPTERBOARD_H #define ADAPTERBOARD_H #include <RGBLed.h> #define LED_R 13 #define LED_G 9 #define LED_B 10 #define BACKLIGHT_PIN 0 class AdapterBoard { public: AdapterBoard(); void init(); void poll(); private: RGBLed led; ...
a863c597d08a689be2103b67bc254ff749091fb9
fw/new/libs/AdapterBoard/AdapterBoard.c
fw/new/libs/AdapterBoard/AdapterBoard.c
C
<|file_sep|>src/Cash-Flow-Projection/Views/Home/Index.cshtml.diff original: updated: } @using (Html.BeginForm("Balance", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <input type="text" id="balance" placeholder="Set Balance" /> <button type="submit">Set</button> <|file_sep|>original/src/Cash-Flow-P...
<button type="submit">Set</button> } <table class="table table-striped"> @foreach (var entry in Model.Entries.OrderBy(_ => _.Date)) { <tr> <td>@Html.DisplayFor(_ => entry.Date)</td> <td>@Html.DisplayFor(_ => entry.Description)</td> <td>@Html.DisplayFor(_ => entry...
<|file_sep|>src/Cash-Flow-Projection/Views/Home/Index.cshtml.diff original: updated: } @using (Html.BeginForm("Balance", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <input type="text" id="balance" placeholder="Set Balance" /> <button type="submit">Set</button> <|file_sep|>original/src/Cash-Flow-P...
c885a0ce9049f5f8af309c2a2e0c5963ca22ea52
src/Cash-Flow-Projection/Views/Home/Index.cshtml
src/Cash-Flow-Projection/Views/Home/Index.cshtml
C#
<|file_sep|>app/templates/app/index.html.diff original: <ul class="alert"> updated: <|file_sep|>app/templates/app/index.html.diff original: <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> {% endfor %} </ul> updated: <div class="alert {% if message.tags %} {{ message.ta...
{% block content %} {% if messages %} {% for message in messages %} <div class="alert {% if message.tags %} {{ message.tags }} {%endif%}" > <button type="button" class="close" data-dismiss="alert">×</button> <strong>{{message}}</strong> </div> {% endfor %} {% endif %} ...
<|file_sep|>app/templates/app/index.html.diff original: <ul class="alert"> updated: <|file_sep|>app/templates/app/index.html.diff original: <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> {% endfor %} </ul> updated: <div class="alert {% if message.tags %} {{ message.ta...
9778fd0c36bfa787aebfcdf8a7c5808e1b5701b0
app/templates/app/index.html
app/templates/app/index.html
HTML
<|file_sep|>original/make_script.bat copy "%source_dir%\CQB_Params.hpp" "%build_dir%\hehu_mf\" xcopy /E "%source_dir%\functions" "%build_dir%\hehu_mf\functions" "%tools_dir%\filebank\filebank.exe" -property prefix=hehu_mf "%build_dir%\hehu_mf" @echo off mkdir "%target_dir%\@hehu_mf\addons" mkdir "%target_dir%\@hehu_m...
copy "%source_dir%\CQB_Params.hpp" "%build_dir%\hehu_mf\" xcopy /E "%source_dir%\functions" "%build_dir%\hehu_mf\functions" "%tools_dir%\filebank\filebank.exe" -property prefix=hehu_mf "%build_dir%\hehu_mf" @echo off mkdir "%target_dir%\@hehu_mf\addons" mkdir "%target_dir%\@hehu_mf\images" @echo on copy "%build_dir%...
<|file_sep|>original/make_script.bat copy "%source_dir%\CQB_Params.hpp" "%build_dir%\hehu_mf\" xcopy /E "%source_dir%\functions" "%build_dir%\hehu_mf\functions" "%tools_dir%\filebank\filebank.exe" -property prefix=hehu_mf "%build_dir%\hehu_mf" @echo off mkdir "%target_dir%\@hehu_mf\addons" mkdir "%target_dir%\@hehu_m...
5306a931759a8a68df60cc1d9da2fbb28eede400
make_script.bat
make_script.bat
Batchfile
<|file_sep|>original/db/migrate/20180402153329_educator_labels_foreign_key.rb <|file_sep|>current/db/migrate/20180402153329_educator_labels_foreign_key.rb <|file_sep|>updated/db/migrate/20180402153329_educator_labels_foreign_key.rb
class EducatorLabelsForeignKey < ActiveRecord::Migration[5.1] def change add_foreign_key "educator_labels", "educators", name: "educator_labels_educator_id_fk" end end
<|file_sep|>original/db/migrate/20180402153329_educator_labels_foreign_key.rb <|file_sep|>current/db/migrate/20180402153329_educator_labels_foreign_key.rb <|file_sep|>updated/db/migrate/20180402153329_educator_labels_foreign_key.rb class EducatorLabelsForeignKey < ActiveRecord::Migration[5.1] def change add_for...
f91b953ae70a8893c604f3af0d9f548c7be04631
db/migrate/20180402153329_educator_labels_foreign_key.rb
db/migrate/20180402153329_educator_labels_foreign_key.rb
Ruby
<|file_sep|>original/templates/project/modules/routes.php 'namespace' => $namespace, 'module' => $key, 'controller' => 'index', 'action' => 'index', 'params' => 1 ))->setName($key); $router->add('/'.$key.'/:controller/:params', array( 'namespace' => $namespace, ...
'controller' => 'index', 'action' => 'index', 'params' => 1 ))->setName($key); $router->add('/'.$key.'/:controller/:params', array( 'namespace' => $namespace, 'module' => $key, 'controller' => 1, 'action' => 'index', 'params' => 2 )); $rout...
<|file_sep|>original/templates/project/modules/routes.php 'namespace' => $namespace, 'module' => $key, 'controller' => 'index', 'action' => 'index', 'params' => 1 ))->setName($key); $router->add('/'.$key.'/:controller/:params', array( 'namespace' => $namespace, ...
12174c4fa0de977966eb7b8a2e68cfdb3b0d4c14
templates/project/modules/routes.php
templates/project/modules/routes.php
PHP
<|file_sep|>original/kubernetes/test-db.yaml <|file_sep|>current/kubernetes/test-db.yaml <|file_sep|>updated/kubernetes/test-db.yaml
# This pod uses an image from postgres and can be used to test the connection to the database. # Steps to run the test: # 1 - kubectl apply -f test-db.yaml # 2 - kubectl exec -it test-db -- /bin/bash # 3 - psql -c 'SELECT full_descr from rnacen.rnc_database' postgres://k8user:k8pass@host:5432/db_name > test # 4 - kubec...
<|file_sep|>original/kubernetes/test-db.yaml <|file_sep|>current/kubernetes/test-db.yaml <|file_sep|>updated/kubernetes/test-db.yaml # This pod uses an image from postgres and can be used to test the connection to the database. # Steps to run the test: # 1 - kubectl apply -f test-db.yaml # 2 - kubectl exec -it test-d...
79573da64417c375f52716da3fe82f206b7a596c
kubernetes/test-db.yaml
kubernetes/test-db.yaml
YAML
<|file_sep|>original/.travis_rename_releases.sh #!/bin/bash # The deploy is called per arch and os combination - so we only release one file here. # We just need to work out which file we built, rename it to something unique, and # set an environment variable for its location that we can use in .travis.yml for # publi...
#!/bin/bash # The deploy is called per arch and os combination - so we only release one file here. # We just need to work out which file we built, rename it to something unique, and # set an environment variable for its location that we can use in .travis.yml for # publishing back to github. # linux, darwin: FILE_EXT...
<|file_sep|>original/.travis_rename_releases.sh #!/bin/bash # The deploy is called per arch and os combination - so we only release one file here. # We just need to work out which file we built, rename it to something unique, and # set an environment variable for its location that we can use in .travis.yml for # publi...
5e37c67aa0d8b340f47ceb7ef9d1b0004ab436e0
.travis_rename_releases.sh
.travis_rename_releases.sh
Shell
<|file_sep|>original/server.js var express = require('express'), app = express.createServer(), http = require('http'), port = 8080, io = require('socket.io').listen(app); app.configure(function() { app.set('view options', { layout : false }); app.use(express.static(__dirname + '/static')); }); ap...
var express = require('express'), app = express.createServer(), http = require('http'), port = process.env.PORT || 5000, io = require('socket.io').listen(app); app.configure(function() { app.set('view options', { layout : false }); app.use(express.static(__dirname + '/static')); }); app.get('/', ...
<|file_sep|>original/server.js var express = require('express'), app = express.createServer(), http = require('http'), port = 8080, io = require('socket.io').listen(app); app.configure(function() { app.set('view options', { layout : false }); app.use(express.static(__dirname + '/static')); }); ap...
42a9b5359c4977045130e3869787ee1d9559a498
server.js
server.js
JavaScript
<|file_sep|>original/blazar/plugins/dummy_vm_plugin.py # limitations under the License. from blazar.plugins import base class DummyVMPlugin(base.BasePlugin): """Plugin for VM resource that does nothing.""" resource_type = 'virtual:instance' title = 'Dummy VM Plugin' description = 'This plugin does no...
class DummyVMPlugin(base.BasePlugin): """Plugin for VM resource that does nothing.""" resource_type = 'virtual:instance' title = 'Dummy VM Plugin' description = 'This plugin does nothing.' def reserve_resource(self, reservation_id, values): return None def update_reservation(self, re...
<|file_sep|>original/blazar/plugins/dummy_vm_plugin.py # limitations under the License. from blazar.plugins import base class DummyVMPlugin(base.BasePlugin): """Plugin for VM resource that does nothing.""" resource_type = 'virtual:instance' title = 'Dummy VM Plugin' description = 'This plugin does no...
1dbc30202bddfd4f03bdc9a8005de3c363d2ac1d
blazar/plugins/dummy_vm_plugin.py
blazar/plugins/dummy_vm_plugin.py
Python
<|file_sep|>original/requirements_test.txt Django>=1.9.10 tox>=2.3.1 pytest==3.2.1 pytest-django==3.1.2 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 <|file_sep|>current/requirements_test.txt Django>=1.9.10 tox>=2.3.1 pytest==3.2.1 pytest-django==3.1.2 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4...
Django>=1.9.10 tox>=2.3.1 pytest==3.2.5 pytest-django==3.1.2 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0
<|file_sep|>original/requirements_test.txt Django>=1.9.10 tox>=2.3.1 pytest==3.2.1 pytest-django==3.1.2 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 <|file_sep|>current/requirements_test.txt Django>=1.9.10 tox>=2.3.1 pytest==3.2.1 pytest-django==3.1.2 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4...
e9d52bf65aae843978d125c029d70a576d17d2fe
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/.travis.yml - python: 3.6 addons: apt: sources: - trusty-media packages: - ubuntu-restricted-extras - ffmpeg - language-pack-fr - libavcodec-extra-54 # Dependencies to build PIL - libfreetype6-dev - libjpeg8-dev - zlib1g-dev ins...
- python: 3.6 addons: apt: sources: - trusty-media packages: - ubuntu-restricted-extras - ffmpeg - libavcodec-extra-54 # Dependencies to build PIL - libfreetype6-dev - libjpeg8-dev - zlib1g-dev install: - pip install -U pip setuptools wheel - pip ...
<|file_sep|>original/.travis.yml - python: 3.6 addons: apt: sources: - trusty-media packages: - ubuntu-restricted-extras - ffmpeg - language-pack-fr - libavcodec-extra-54 # Dependencies to build PIL - libfreetype6-dev - libjpeg8-dev - zlib1g-dev ins...
ebe6a618c6de52bcf13a1e94a793beafc2e7a72d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/tap.js suite('Tap', function() { test('Up and Down', function(done) { prepare(target, 'tap', done); target.dispatchEvent(new PointerEvent('pointerdown', {isPrimary: true, buttons: 1, pointerId: 1, bubbles: true})); target.dispatchEvent(new PointerEvent('pointerup', {isPrimary: t...
suite('Tap', function() { test('Up and Down', function(done) { prepare(target, 'tap', done); var fireTap = function() { target.dispatchEvent(new PointerEvent('pointerdown', {isPrimary: true, buttons: 1, pointerId: 1, bubbles: true})); target.dispatchEvent(new PointerEvent('pointerup', {isPrimary: ...
<|file_sep|>original/tests/tap.js suite('Tap', function() { test('Up and Down', function(done) { prepare(target, 'tap', done); target.dispatchEvent(new PointerEvent('pointerdown', {isPrimary: true, buttons: 1, pointerId: 1, bubbles: true})); target.dispatchEvent(new PointerEvent('pointerup', {isPrimary: t...
c91f99cfa96d1419ac4e3f69263d2c98a823bea2
tests/tap.js
tests/tap.js
JavaScript
<|file_sep|>original/docs/api/mount/find.md # find(selector) Returns a wrapper of a DOM node or Vue component. Use any valid [avoriaz selector](/api/selectors.md). ### Arguments `selector` (`String`|`Component`): a CSS selector ('#id', '.class-name', 'tag') or a Vue component. See [selectors](/api/selectors.md). ##...
# find(selector) Returns an array of wrappers of DOM nodes or Vue components. Use any valid [avoriaz selector](/api/selectors.md). ### Arguments `selector` (`String`|`Component`): a CSS selector ('#id', '.class-name', 'tag') or a Vue component. See [selectors](/api/selectors.md). ### Returns (`Array`): returns an ...
<|file_sep|>original/docs/api/mount/find.md # find(selector) Returns a wrapper of a DOM node or Vue component. Use any valid [avoriaz selector](/api/selectors.md). ### Arguments `selector` (`String`|`Component`): a CSS selector ('#id', '.class-name', 'tag') or a Vue component. See [selectors](/api/selectors.md). ##...
86cd0cd913aeeac9f1bd02ea2ed3091bb2eb2205
docs/api/mount/find.md
docs/api/mount/find.md
Markdown
<|file_sep|>genome_designer/main/startup.py.diff original: updated: from django.db import transaction <|file_sep|>original/genome_designer/main/startup.py NOTE: Figured out the raw sql query by running psql with -E flag and then calling \df to list functions. The -E flag causes the internal raw sql of the...
NOTE: Figured out the raw sql query by running psql with -E flag and then calling \df to list functions. The -E flag causes the internal raw sql of the commands to be shown. """ cursor = connection.cursor() cursor.execute( 'SELECT p.proname ' 'FROM pg_catalog.pg_proc p '...
<|file_sep|>genome_designer/main/startup.py.diff original: updated: from django.db import transaction <|file_sep|>original/genome_designer/main/startup.py NOTE: Figured out the raw sql query by running psql with -E flag and then calling \df to list functions. The -E flag causes the internal raw sql of the...
9347f3bc4a9c37c7013e8666f86cceee1a7a17f9
genome_designer/main/startup.py
genome_designer/main/startup.py
Python
<|file_sep|>ci/run-riscv-compliance.yml.diff original: export OT_TARGET=verilator updated: export OT_TARGET=sim_verilator <|file_sep|>original/ci/run-riscv-compliance.yml - template: download-artifacts-template.yml - bash: | set -x sudo util/get-toolchain.py \ --tar...
- template: download-artifacts-template.yml - bash: | set -x sudo util/get-toolchain.py \ --target-dir="${TOOLCHAIN_PATH}" \ --release-version="${TOOLCHAIN_VERSION}" \ --update displayName: Install toolchain - ${{ each test_suite in parameters.rvc_test_sui...
<|file_sep|>ci/run-riscv-compliance.yml.diff original: export OT_TARGET=verilator updated: export OT_TARGET=sim_verilator <|file_sep|>original/ci/run-riscv-compliance.yml - template: download-artifacts-template.yml - bash: | set -x sudo util/get-toolchain.py \ --tar...
c6e0c8150b75352638a1dfa5b63a86502748a301
ci/run-riscv-compliance.yml
ci/run-riscv-compliance.yml
YAML
<|file_sep|>original/.travis.yml env: - BUILD_TYPE=release - BUILD_TYPE=debug services: - docker notifications: email: false language: C++ before_install: - docker pull mathlab/deal2lkit:8.5.pre.4-debugrelease - ./scripts/dr.sh "cd WaveBEM; ./scripts/check_indentation.sh" script: - alias dr="docker run -P...
env: - BUILD_TYPE=release - BUILD_TYPE=debug services: - docker notifications: email: false language: C++ before_install: - docker pull mathlab/deal2lkit:8.5.pre.4-debugrelease - ./scripts/dr.sh "cd WaveBEM; ./scripts/check_indentation.sh" script: - alias dr="docker run -P -v `pwd`:/home/dealii/WaveBEM:rw...
<|file_sep|>original/.travis.yml env: - BUILD_TYPE=release - BUILD_TYPE=debug services: - docker notifications: email: false language: C++ before_install: - docker pull mathlab/deal2lkit:8.5.pre.4-debugrelease - ./scripts/dr.sh "cd WaveBEM; ./scripts/check_indentation.sh" script: - alias dr="docker run -P...
5fa49f47c76c8f4b8c87c8c19ca41cb58f297beb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/README.md <|file_sep|>current/docs/README.md <|file_sep|>updated/docs/README.md
# Maji Mobile ## What's in the box? * Project setup * Intuitive directory structure, ready to go for Backbone + Marionette development * Mobile page transitions integrated * I18n with autodetection of user locale, includes interpolation and pluralization. Uses YML files to define translations. * Haml Coffee t...
<|file_sep|>original/docs/README.md <|file_sep|>current/docs/README.md <|file_sep|>updated/docs/README.md # Maji Mobile ## What's in the box? * Project setup * Intuitive directory structure, ready to go for Backbone + Marionette development * Mobile page transitions integrated * I18n with autodetection of use...
3c2c1489d13ddddf5dbc896ae8ca80e7a3d97ce0
docs/README.md
docs/README.md
Markdown
<|file_sep|>original/src/index.ts import 'webrtc-adapter'; import { App as PeerData } from './app/App'; import { Room } from './app/Room'; import { Participant } from './app/Participant'; import { EventDispatcher } from './app/EventDispatcher'; import { Signaling, SignalingEvent, SignalingEventType } from './app/Sig...
// tslint:disable-next-line: no-require-imports no-var-requires require('webrtc-adapter'); import { App as PeerData } from './app/App'; import { Room } from './app/Room'; import { Participant } from './app/Participant'; import { EventDispatcher } from './app/EventDispatcher'; import { Signaling, SignalingEvent, Sign...
<|file_sep|>original/src/index.ts import 'webrtc-adapter'; import { App as PeerData } from './app/App'; import { Room } from './app/Room'; import { Participant } from './app/Participant'; import { EventDispatcher } from './app/EventDispatcher'; import { Signaling, SignalingEvent, SignalingEventType } from './app/Sig...
9b0b202e79c01231f16cb78a74e8e3272c7e1481
src/index.ts
src/index.ts
TypeScript
<|file_sep|>lib/Response.php.diff original: updated: /** * Class Response * @package PatternSeek\ComponentView */ <|file_sep|>original/lib/Response.php * @var string */ public $content; /** * @param $type * @param $content * @param null $responseCode */ function __construc...
* @var string */ public $type; /** * @var string */ public $content; /** * @var int */ public $responseCode; /** * @param string $type * @param string $content * @param int|null $responseCode */ function __construct( $type, $content, $respo...
<|file_sep|>lib/Response.php.diff original: updated: /** * Class Response * @package PatternSeek\ComponentView */ <|file_sep|>original/lib/Response.php * @var string */ public $content; /** * @param $type * @param $content * @param null $responseCode */ function __construc...
d001d67e7eaab262bda8124c31c262f92e78f2bb
lib/Response.php
lib/Response.php
PHP
<|file_sep|>original/files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb # This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. [user] name = <%= node['gitlab']['user']['git_user_name'] %...
# This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. [user] name = <%= node['gitlab']['user']['git_user_name'] %> email = <%= node['gitlab']['user']['git_user_email'] %> [core] au...
<|file_sep|>original/files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb # This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. [user] name = <%= node['gitlab']['user']['git_user_name'] %...
07eec75e75ad68797a493be9908102d9a081204f
files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb
files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb
HTML+ERB
<|file_sep|>original/_posts/2012-07-22-nginx-ssl-notes.markdown <|file_sep|>current/_posts/2012-07-22-nginx-ssl-notes.markdown <|file_sep|>updated/_posts/2012-07-22-nginx-ssl-notes.markdown
--- layout: post title: "Nginx SSL notes" slug: nginx-ssl-notes date: 2012-07-22 14:38 author: Martin Lowinski comments: true published: false categories: tags: - nginx - ssl --- Create chain of ceritificates cat example.com.pem sub.class1.server.ca.pem ca.pem > /etc/nginx/ssl/example.com_chain.pem Nginx: serve...
<|file_sep|>original/_posts/2012-07-22-nginx-ssl-notes.markdown <|file_sep|>current/_posts/2012-07-22-nginx-ssl-notes.markdown <|file_sep|>updated/_posts/2012-07-22-nginx-ssl-notes.markdown --- layout: post title: "Nginx SSL notes" slug: nginx-ssl-notes date: 2012-07-22 14:38 author: Martin Lowinski comments: true pu...
e3c744dfee87d1b04a66469795b096b6bed3937d
_posts/2012-07-22-nginx-ssl-notes.markdown
_posts/2012-07-22-nginx-ssl-notes.markdown
Markdown
<|file_sep|>original/spec/rails_helper.rb require 'sucker_punch/testing/inline' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # Checks for pending migrations before tests are run. ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.infer_spec_type_from_file_locati...
require 'sucker_punch/testing/inline' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # Checks for pending migrations before tests are run. ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.infer_spec_type_from_file_location! config.include Devise::Test::Contro...
<|file_sep|>original/spec/rails_helper.rb require 'sucker_punch/testing/inline' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # Checks for pending migrations before tests are run. ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| config.infer_spec_type_from_file_locati...
ec6880a2e761794393ed79af150b897c5f6f6a9d
spec/rails_helper.rb
spec/rails_helper.rb
Ruby
<|file_sep|>thezombies/management/commands/crawl_agency_datasets.py.diff original: updated: from thezombies.models import Agency <|file_sep|>original/thezombies/management/commands/crawl_agency_datasets.py from django.core.management.base import BaseCommand from thezombies.tasks.main import crawl_agency_datasets cla...
from thezombies.tasks.main import crawl_agency_datasets class Command(BaseCommand): """Start a task that crawl the datasets from an agency data catalog. This command will exit, but the task will run in the background""" args = '<agency_id ...>' def handle(self, *args, **options): if len(args) > 0...
<|file_sep|>thezombies/management/commands/crawl_agency_datasets.py.diff original: updated: from thezombies.models import Agency <|file_sep|>original/thezombies/management/commands/crawl_agency_datasets.py from django.core.management.base import BaseCommand from thezombies.tasks.main import crawl_agency_datasets cla...
8c1f303d4cc04c95170dea268ab836a23d626064
thezombies/management/commands/crawl_agency_datasets.py
thezombies/management/commands/crawl_agency_datasets.py
Python
<|file_sep|>lib/govuk_template/engine.rb.diff original: updated: favicon.ico <|file_sep|>original/lib/govuk_template/engine.rb module GovukTemplate class Engine < ::Rails::Engine initializer "govuk_template.assets.precompile" do |app| app.config.assets.precompile += %w( govuk-template*.css ...
module GovukTemplate class Engine < ::Rails::Engine initializer "govuk_template.assets.precompile" do |app| app.config.assets.precompile += %w( favicon.ico govuk-template*.css fonts*.css govuk-template.js ie.js vendor/goog/webfont-debug.js apple-touch-...
<|file_sep|>lib/govuk_template/engine.rb.diff original: updated: favicon.ico <|file_sep|>original/lib/govuk_template/engine.rb module GovukTemplate class Engine < ::Rails::Engine initializer "govuk_template.assets.precompile" do |app| app.config.assets.precompile += %w( govuk-template*.css ...
1b9b887c3a916f97437fef35ec7505f429bb0b42
lib/govuk_template/engine.rb
lib/govuk_template/engine.rb
Ruby
<|file_sep|>packages/bi/binary-literal-qq.yaml.diff original: hash: 3c6dadba88a4b19c5f0d40c646bbf27fa190ae6fb88a3feb207e4030a2c19f30 updated: hash: 61a53a601a913dd5fe5d52bc552f965d62d448ecea220dc1acb4884b67f54667 <|file_sep|>original/packages/bi/binary-literal-qq.yaml hash: 3c6dadba88a4b19c5f0d40c646bbf27fa190ae6fb88a3...
synopsis: Extends Haskell with binary literals. changelog: '' basic-deps: base: ==4.* template-haskell: ! '>=2.5' all-versions: - '1.0' author: Mathieu Boespflug latest: '1.0' description-type: haddock description: ! '__Deprecated: use -XBinaryLiterals instead.__ The Haskell''98 and Haskell''2010 standards defi...
<|file_sep|>packages/bi/binary-literal-qq.yaml.diff original: hash: 3c6dadba88a4b19c5f0d40c646bbf27fa190ae6fb88a3feb207e4030a2c19f30 updated: hash: 61a53a601a913dd5fe5d52bc552f965d62d448ecea220dc1acb4884b67f54667 <|file_sep|>original/packages/bi/binary-literal-qq.yaml hash: 3c6dadba88a4b19c5f0d40c646bbf27fa190ae6fb88a3...
273547fca4ef54850b1bce2da5d157db386d0cfe
packages/bi/binary-literal-qq.yaml
packages/bi/binary-literal-qq.yaml
YAML
<|file_sep|>original/jacquard/buckets/tests/test_bucket.py @pytest.mark.parametrize('divisor', ( 2, 3, 4, 5, 6, 10, 100, )) def test_divisible(divisor): assert NUM_BUCKETS % divisor == 0 def test_at_least_three_buckets_per_percent(): assert NUM_BUCKETS / 100 >= 3 def test_can_get...
3, 4, 5, 6, 10, 100, )) def test_divisible(divisor): assert NUM_BUCKETS % divisor == 0 def test_at_least_three_buckets_per_percent(): assert NUM_BUCKETS / 100 >= 3 def test_can_get_empty_bucket_from_old_format(): session = Session({'buckets/1': []}) bucket = session.get(Bucke...
<|file_sep|>original/jacquard/buckets/tests/test_bucket.py @pytest.mark.parametrize('divisor', ( 2, 3, 4, 5, 6, 10, 100, )) def test_divisible(divisor): assert NUM_BUCKETS % divisor == 0 def test_at_least_three_buckets_per_percent(): assert NUM_BUCKETS / 100 >= 3 def test_can_get...
f2fd224b5e3c8cb4a919e082c47c603d4469a564
jacquard/buckets/tests/test_bucket.py
jacquard/buckets/tests/test_bucket.py
Python
<|file_sep|>collection_pipelines/__init__.py.diff original: class out(CollectionPipelineProcessor): updated: class out(CollectionPipelineOutput): <|file_sep|>original/collection_pipelines/__init__.py def process(self, item): if item != self.text: self.receiver.send(item) class out(CollectionP...
def process(self, item): if item != self.text: self.receiver.send(item) class out(CollectionPipelineOutput): def process(self, item): print(item) class count(CollectionPipelineProcessor): def __init__(self): self.val = 0 def process(self, item): self.val...
<|file_sep|>collection_pipelines/__init__.py.diff original: class out(CollectionPipelineProcessor): updated: class out(CollectionPipelineOutput): <|file_sep|>original/collection_pipelines/__init__.py def process(self, item): if item != self.text: self.receiver.send(item) class out(CollectionP...
be670eb5830a873d21e4e8587600a75018f01939
collection_pipelines/__init__.py
collection_pipelines/__init__.py
Python
<|file_sep|>mux/wrapper.go.diff original: h.ServeHTTP(w, r) log.Printf( updated: defer log.Printf( <|file_sep|>original/mux/wrapper.go } // Logs requests func Logger(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { start := time.Now() h.ServeHTTP(w, r)...
// Logs requests func Logger(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { start := time.Now() defer log.Printf( "%s\t%s\t%s", r.Method, r.RequestURI, time.Since(start), ) h.ServeHTTP(w, r) }) } // Creates wrapper functions that adds timeou...
<|file_sep|>mux/wrapper.go.diff original: h.ServeHTTP(w, r) log.Printf( updated: defer log.Printf( <|file_sep|>original/mux/wrapper.go } // Logs requests func Logger(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { start := time.Now() h.ServeHTTP(w, r)...
b720c2a8257f5a21c73b71db9477bcb6d8ee5ec7
mux/wrapper.go
mux/wrapper.go
Go
<|file_sep|>app/controllers/concerns/authentication.rb.diff original: updated: before_action :store_location <|file_sep|>original/app/controllers/concerns/authentication.rb module Authentication extend ActiveSupport::Concern included do helper_method :user_signed_in? end private def user_signed_in...
module Authentication extend ActiveSupport::Concern included do helper_method :user_signed_in? before_action :store_location end private def user_signed_in? session.keys.member?('warden.user.user.key') end def store_location session[:user_return_to] = request.fullpath end end
<|file_sep|>app/controllers/concerns/authentication.rb.diff original: updated: before_action :store_location <|file_sep|>original/app/controllers/concerns/authentication.rb module Authentication extend ActiveSupport::Concern included do helper_method :user_signed_in? end private def user_signed_in...
6a0df9fc607f83c1a5dd0a4b0cbddef3ff8ba8e2
app/controllers/concerns/authentication.rb
app/controllers/concerns/authentication.rb
Ruby
<|file_sep|>original/app/styles/components/_global.scss /** * * Global * **/ *, *::before, *::after { box-sizing: border-box; } html, body, button { -webkit-font-smoothing: antialiased; font-smoothing: antialiased; } body { font-family: $fontDefault; font-size: $fontBase; line-height: 1.6250em; /* 26px *...
/** * * Global * **/ *, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } html, body, button { -webkit-font-smoothing: antialiased; font-smoothing: antialiased; }
<|file_sep|>original/app/styles/components/_global.scss /** * * Global * **/ *, *::before, *::after { box-sizing: border-box; } html, body, button { -webkit-font-smoothing: antialiased; font-smoothing: antialiased; } body { font-family: $fontDefault; font-size: $fontBase; line-height: 1.6250em; /* 26px *...
d9f1d21160db45dac2d66763caa37b37be3b4c1c
app/styles/components/_global.scss
app/styles/components/_global.scss
SCSS
<|file_sep|>wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java.diff original: updated: import org.junit.Test; <|file_sep|>original/wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java /* * Copyright (c) 2009 Wro4j. All rights reserved. */ package ro.isdc.wro.util; /** ...
/* * Copyright (c) 2009 Wro4j. All rights reserved. */ package ro.isdc.wro.util; import org.junit.Test; /** * Test class for {@link ResourceContentStripper} class. * @author Alex Objelean */ public class TestResourceContentStripper { @Test public void empty() { //TODO implement } }
<|file_sep|>wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java.diff original: updated: import org.junit.Test; <|file_sep|>original/wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java /* * Copyright (c) 2009 Wro4j. All rights reserved. */ package ro.isdc.wro.util; /** ...
e8e8f2a785ff9fe5cafc3daeabbaed1cb6c6b50d
wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java
wro4j-core/src/test/java/ro/isdc/wro/util/TestResourceContentStripper.java
Java
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc306090d889bf632a47 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc3060...
before_install: - sudo apt-get install libhunspell-dev hunspell-en-us - gem install ffi rubygems-tasks rspec yard language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc306090d889bf632a47
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc306090d889bf632a47 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 addons: code_climate: repo_token: fe7b3d07aa0eaf8102bccfbaac456cd2f1d8696365d0dc3060...
a665165873d81affd29306a2e50ae592f5dc134c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/modules/lang/rust/autoload.el (defun +rust-cargo-project-p () "Return t if this is a cargo project." (locate-dominating-file buffer-file-name "Cargo.toml")) ;;;###autoload (defun +rust-racer-lookup-documentation (identifier) "A `+lookup/documentation' handler for Rust + Racer." (let ((buf ...
(defun +rust-cargo-project-p () "Return t if this is a cargo project." (locate-dominating-file buffer-file-name "Cargo.toml")) ;;;###autoload (defun +rust-racer-lookup-documentation (identifier) "A `+lookup/documentation' handler for Rust + Racer." (let ((buf (racer--describe identifier))) (when buf ...
<|file_sep|>original/modules/lang/rust/autoload.el (defun +rust-cargo-project-p () "Return t if this is a cargo project." (locate-dominating-file buffer-file-name "Cargo.toml")) ;;;###autoload (defun +rust-racer-lookup-documentation (identifier) "A `+lookup/documentation' handler for Rust + Racer." (let ((buf ...
3549cb68451c6a0ba812e19c2d79b6f7b93d6b4d
modules/lang/rust/autoload.el
modules/lang/rust/autoload.el
Emacs Lisp
<|file_sep|>original/app/controllers/api/v1/api_application_controller.rb skip_before_filter :authenticate_user! skip_before_filter :authenticate_user_from_token! after_filter :set_csrf_cookie_for_ng def set_csrf_cookie_for_ng cookies['XSRF-TOKEN'] = form_authenticity_token if protect_a...
after_filter :set_csrf_cookie_for_ng def set_csrf_cookie_for_ng cookies['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery? end protected def verified_request? super || form_authenticity_token == request.headers['X-XSRF-TOKEN'] end priva...
<|file_sep|>original/app/controllers/api/v1/api_application_controller.rb skip_before_filter :authenticate_user! skip_before_filter :authenticate_user_from_token! after_filter :set_csrf_cookie_for_ng def set_csrf_cookie_for_ng cookies['XSRF-TOKEN'] = form_authenticity_token if protect_a...
4656d150c4ef750deacda2b086c8c34082ebca1e
app/controllers/api/v1/api_application_controller.rb
app/controllers/api/v1/api_application_controller.rb
Ruby
<|file_sep|>original/test/klangmeister/test/processing.cljs (deftest stopping (testing (is (= (framework/process (action/->Stop :foo) ignore! {:foo {:looping? true}}) {:foo {:looping? false}})) (is (= (framework/process (action/->Stop :foo) ignore! {:foo {:looping? false}}) ...
{:foo {:looping? false}})) (is (= (framework/process (action/->Stop :foo) ignore! {:foo {:looping? false}}) {:foo {:looping? false}})))) (deftest refreshing (testing (is (= (framework/process (action/->Refresh "(phrase [1] [69])" :foo) ignore! {}) {:foo {:value ...
<|file_sep|>original/test/klangmeister/test/processing.cljs (deftest stopping (testing (is (= (framework/process (action/->Stop :foo) ignore! {:foo {:looping? true}}) {:foo {:looping? false}})) (is (= (framework/process (action/->Stop :foo) ignore! {:foo {:looping? false}}) ...
b517154a8101e20615369880cf75d799681f289e
test/klangmeister/test/processing.cljs
test/klangmeister/test/processing.cljs
Clojure
<|file_sep|>original/core/app/views/spree/layouts/spree_application.html.erb <!--[if IE 9 ]> <html class="ie ie9" lang="en"> <![endif]--> <!--[if gt IE 9]><!--><html lang="en"><!--<![endif]--> <head data-hook="inside_head"> <%= render :partial => 'spree/shared/head' %> </head> <body class="<%= body_class %...
<!--[if IE 9 ]> <html class="ie ie9" lang="en"> <![endif]--> <!--[if gt IE 9]><!--><html lang="en"><!--<![endif]--> <head data-hook="inside_head"> <%= render :partial => 'spree/shared/head' %> </head> <body class="<%= body_class %>" id="<%= @body_id || 'default' %>" data-hook="body"> <div class="contai...
<|file_sep|>original/core/app/views/spree/layouts/spree_application.html.erb <!--[if IE 9 ]> <html class="ie ie9" lang="en"> <![endif]--> <!--[if gt IE 9]><!--><html lang="en"><!--<![endif]--> <head data-hook="inside_head"> <%= render :partial => 'spree/shared/head' %> </head> <body class="<%= body_class %...
bb702e44a567d8724d0aaffea96f50da20d67b4a
core/app/views/spree/layouts/spree_application.html.erb
core/app/views/spree/layouts/spree_application.html.erb
HTML+ERB
<|file_sep|>original/raycast/slack/run-slack.sh #!/bin/bash # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Build Slack # @raycast.mode fullOutput # # Optional parameters: # @raycast.icon slack.png # @raycast.currentDirectoryPath ~/dev/slack-objc # @raycast.packageName Slack bazel run --config=deve...
#!/bin/bash # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Build Slack # @raycast.mode fullOutput # # Optional parameters: # @raycast.icon slack.png # @raycast.currentDirectoryPath ~/dev/slack/slack-objc # @raycast.packageName Slack bazel run --config=development --noshow_progress -- //App:Slack
<|file_sep|>original/raycast/slack/run-slack.sh #!/bin/bash # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Build Slack # @raycast.mode fullOutput # # Optional parameters: # @raycast.icon slack.png # @raycast.currentDirectoryPath ~/dev/slack-objc # @raycast.packageName Slack bazel run --config=deve...
8c17f4c3a6e03c731613c5a9be20d8ac40717bcf
raycast/slack/run-slack.sh
raycast/slack/run-slack.sh
Shell
<|file_sep|>original/tests/test_fetch_http.py <|file_sep|>current/tests/test_fetch_http.py <|file_sep|>updated/tests/test_fetch_http.py
# coding=utf-8 from __future__ import unicode_literals import simplemediawiki import sys import unittest try: import simplejson as json except ImportError: import json if sys.version_info[0] == 3: import http.cookiejar as cookielib elif sys.version_info[0] == 2: import cookielib UNICODE_TEST = 'κόσμε...
<|file_sep|>original/tests/test_fetch_http.py <|file_sep|>current/tests/test_fetch_http.py <|file_sep|>updated/tests/test_fetch_http.py # coding=utf-8 from __future__ import unicode_literals import simplemediawiki import sys import unittest try: import simplejson as json except ImportError: import json if s...
ffdead34416dc9b2de52242503e4364d257ea619
tests/test_fetch_http.py
tests/test_fetch_http.py
Python
<|file_sep|>original/elm-package.json { "version": "1.0.0", "summary": "A simple, one-page time clock web app", "repository": "https://github.com/brettcannon/time-clock", "license": "Apache", "source-directories": [ "." ], "exposed-modules": [], "dependencies": { "elm-lan...
{ "version": "1.0.0", "summary": "A simple, one-page time clock web app", "repository": "https://github.com/brettcannon/time-clock.git", "license": "Apache", "source-directories": [ "." ], "exposed-modules": [], "dependencies": { "elm-lang/core": "5.0.0 <= v < 6.0.0", ...
<|file_sep|>original/elm-package.json { "version": "1.0.0", "summary": "A simple, one-page time clock web app", "repository": "https://github.com/brettcannon/time-clock", "license": "Apache", "source-directories": [ "." ], "exposed-modules": [], "dependencies": { "elm-lan...
34f4fe1b6284aaefcc3a6d4e2f306f4417b6c135
elm-package.json
elm-package.json
JSON
<|file_sep|>lib/streams/adminLookupStream.js.diff original: function createAdminLookupStream(enable, peliasConfig) { updated: function createAdminLookupStream(enable) { <|file_sep|>original/lib/streams/adminLookupStream.js var through = require( 'through2' ); var logger = require( 'pelias-logger' ).get( 'openaddresses'...
var through = require( 'through2' ); var logger = require( 'pelias-logger' ).get( 'openaddresses' ); var peliasAdminLookup = require( 'pelias-wof-admin-lookup' ); function createAdminLookupStream(enable) { if (enable) { logger.info( 'Setting up admin value lookup stream.' ); var pipResolver = peliasAdminLook...
<|file_sep|>lib/streams/adminLookupStream.js.diff original: function createAdminLookupStream(enable, peliasConfig) { updated: function createAdminLookupStream(enable) { <|file_sep|>original/lib/streams/adminLookupStream.js var through = require( 'through2' ); var logger = require( 'pelias-logger' ).get( 'openaddresses'...
096451e2495785faaa4e9d7adfe853703f3078ae
lib/streams/adminLookupStream.js
lib/streams/adminLookupStream.js
JavaScript
<|file_sep|>original/src/Etu/Core/UserBundle/Entity/Repository/CourseRepository.php /** @var Course[] $todayCourses */ $todayCourses = $this->createQueryBuilder('c') ->where('c.user = :user') ->andWhere('c.day = :day') ->orderBy('c.start', 'ASC') ->setPara...
/** @var Course[] $todayCourses */ $todayCourses = $this->createQueryBuilder('c') ->where('c.user = :user') ->andWhere('c.day = :day') ->orderBy('c.start', 'ASC') ->setParameter('user', $user->getId()) ->setParameter('day', Course::getTodayCons...
<|file_sep|>original/src/Etu/Core/UserBundle/Entity/Repository/CourseRepository.php /** @var Course[] $todayCourses */ $todayCourses = $this->createQueryBuilder('c') ->where('c.user = :user') ->andWhere('c.day = :day') ->orderBy('c.start', 'ASC') ->setPara...
71e56f62d081994b4f0994dea0bf34af20b47013
src/Etu/Core/UserBundle/Entity/Repository/CourseRepository.php
src/Etu/Core/UserBundle/Entity/Repository/CourseRepository.php
PHP