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/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.2.2 deploy: provider: rubygems api_key: secure: AEwwWLx3cvIIvg8hRLmFSuw4kvg5uRteef9no5ug6hCyZML3Gg8OI6APoGpjEf6hRdXMrundp9APzy2d6Hv6i39ts4CTLU1OU+jm8LX7NfykiPJek88F5KwwvvEH7u42DhZKnh3jK+JXolhodYhJt1Cn++3pE5jIgN7EFJZot3Rx/UgbWJkAxqN8+zgyUrttiKWlkx78R/o2n03VuZXmcjINu5UZEiYM1I0bfI3+EWzk5oAk...
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.2.2 deploy: provider: rubygems api_key: secure: AEwwWLx3cvIIvg8hRLmFSuw4kvg5uRteef9no5ug6hCyZML3Gg8OI6APoGpjEf6hRdXMrundp9APzy2d6...
da467dcbe8a688a74892ce6aac9e8f253aa00fb2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Ch2/src/TwistInTheTale2_3.java <|file_sep|>current/Ch2/src/TwistInTheTale2_3.java <|file_sep|>updated/Ch2/src/TwistInTheTale2_3.java
/** * Twist in the Tale 2.3 from the OCA Java SE 7 book by Mala Gupta (Manning Publications) * Created by Josef on 12/17/13. */ public class TwistInTheTale2_3 { public static void main (String[] args) { int a = 10; a = ++a + a + --a - --a + a++; System.out.println(a); } }
<|file_sep|>original/Ch2/src/TwistInTheTale2_3.java <|file_sep|>current/Ch2/src/TwistInTheTale2_3.java <|file_sep|>updated/Ch2/src/TwistInTheTale2_3.java /** * Twist in the Tale 2.3 from the OCA Java SE 7 book by Mala Gupta (Manning Publications) * Created by Josef on 12/17/13. */ public class TwistInTheTale2_3 { ...
095b75237cd887652255dbde0a686549e279bebd
Ch2/src/TwistInTheTale2_3.java
Ch2/src/TwistInTheTale2_3.java
Java
<|file_sep|>args-memory-flags.pl.diff original: updated: # Check that syslogc -o does not report overflow. <|file_sep|>original/args-memory-flags.pl # Find the message in client, file, pipe, syslogd, server log. use strict; use warnings; our %args = ( syslogd => { memory => 1, loggrep => { qr/Accepting co...
use warnings; our %args = ( syslogd => { memory => 1, loggrep => { qr/Accepting control connection/ => 1, qr/ctlcmd 5/ => 1, get_testlog() => 1, }, }, syslogc => { options => ["-o", "memory"], loggrep => { qr/^memory/ => 0, qr/overflowed/ => 0, }, }, ); 1;
<|file_sep|>args-memory-flags.pl.diff original: updated: # Check that syslogc -o does not report overflow. <|file_sep|>original/args-memory-flags.pl # Find the message in client, file, pipe, syslogd, server log. use strict; use warnings; our %args = ( syslogd => { memory => 1, loggrep => { qr/Accepting co...
5803130738fe0700907346beb27a5ff566a92b33
args-memory-flags.pl
args-memory-flags.pl
Perl
<|file_sep|>src/SimpleStack.Orm.MySQL/project.json.diff original: "MySql.Data": "7.0.5-IR21", updated: "MySql.Data": "6.9.9", <|file_sep|>original/src/SimpleStack.Orm.MySQL/project.json "dependencies": { "MySql.Data": "7.0.5-IR21", "SimpleStack.Orm": "1.0.0-*" }, "frameworks": { "net451": { ...
{ "version": "1.0.0-rc10", "description": "MySQL Provider for SimpleStack.Orm", "authors": [ "SimpleStack Team", "NServiceKit", "ServiceStack" ], "dependencies": { "MySql.Data": "6.9.9", "SimpleStack.Orm": "1.0.0-*" }, "frameworks": { "net451": { } }, "packOptions": { "owners": [ "...
<|file_sep|>src/SimpleStack.Orm.MySQL/project.json.diff original: "MySql.Data": "7.0.5-IR21", updated: "MySql.Data": "6.9.9", <|file_sep|>original/src/SimpleStack.Orm.MySQL/project.json "dependencies": { "MySql.Data": "7.0.5-IR21", "SimpleStack.Orm": "1.0.0-*" }, "frameworks": { "net451": { ...
0f95c0f3840fff4dbcc48b7341037f02990de0be
src/SimpleStack.Orm.MySQL/project.json
src/SimpleStack.Orm.MySQL/project.json
JSON
<|file_sep|>original/requirements.txt gunicorn==20.0.4 idna==2.10 importlib-metadata==3.3.0 mccabe==0.6.1 more-itertools==8.6.0 numpy==1.19.4 packaging==20.8 pluggy==0.13.1 py==1.10.0 pycodestyle==2.6.0 pyflakes==2.2.0 pyparsing==2.4.7 pytest==6.2.1 requests==2.25.1 scipy==1.5.4 six==1.15.0 toml==0.10.2 urllib3==1.26.2...
gunicorn==20.0.4 idna==2.10 importlib-metadata==3.3.0 mccabe==0.6.1 more-itertools==8.6.0 numpy==1.19.4 packaging==20.8 pluggy==0.13.1 py==1.10.0 pycodestyle==2.6.0 pyflakes==2.2.0 pyparsing==2.4.7 pytest==6.2.1 requests==2.25.1 scipy==1.5.4 six==1.15.0 toml==0.10.2 urllib3==1.26.3 wcwidth==0.2.5 websocket-client==0.57...
<|file_sep|>original/requirements.txt gunicorn==20.0.4 idna==2.10 importlib-metadata==3.3.0 mccabe==0.6.1 more-itertools==8.6.0 numpy==1.19.4 packaging==20.8 pluggy==0.13.1 py==1.10.0 pycodestyle==2.6.0 pyflakes==2.2.0 pyparsing==2.4.7 pytest==6.2.1 requests==2.25.1 scipy==1.5.4 six==1.15.0 toml==0.10.2 urllib3==1.26.2...
f3ac7eeefd2d4983ea31c2111df37517ff0d0a3d
requirements.txt
requirements.txt
Text
<|file_sep|>original/crates/sled/Cargo.toml license = "MIT/Apache-2.0" homepage = "https://github.com/spacejam/sled" repository = "https://github.com/spacejam/sled" keywords = ["database", "embedded", "concurrent", "persistent", "lock-free"] categories = ["database-implementations", "concurrency", "data-structures", "a...
license = "MIT/Apache-2.0" homepage = "https://github.com/spacejam/sled" repository = "https://github.com/spacejam/sled" keywords = ["database", "embedded", "concurrent", "persistent", "lock-free"] categories = ["database-implementations", "concurrency", "data-structures", "algorithms", "caching"] documentation = "http...
<|file_sep|>original/crates/sled/Cargo.toml license = "MIT/Apache-2.0" homepage = "https://github.com/spacejam/sled" repository = "https://github.com/spacejam/sled" keywords = ["database", "embedded", "concurrent", "persistent", "lock-free"] categories = ["database-implementations", "concurrency", "data-structures", "a...
494d5dbb23df13b695e8b1617dd99cf3a4e602c1
crates/sled/Cargo.toml
crates/sled/Cargo.toml
TOML
<|file_sep|>osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs.diff original: Release = Program.ScVersion updated: Release = Program.ScVersion, SendDefaultPii = true, BeforeSend = BeforeSend <|file_sep|>original/osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs ...
public static string SentryDsn = "https://3187b2a91f23411ab7ec5f85ad7d80b8@sentry.pioo.space/2"; public static SentryClient SentryClient { get; } = new SentryClient(new SentryOptions { Dsn = SentryDsn, Release = Program.ScVersion, SendDefaultPii = ...
<|file_sep|>osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs.diff original: Release = Program.ScVersion updated: Release = Program.ScVersion, SendDefaultPii = true, BeforeSend = BeforeSend <|file_sep|>original/osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs ...
b28ff45d8f126fcd62f048945ba017ff68b57e8b
osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs
osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs
C#
<|file_sep|>original/requirements-dev.txt py==1.4.33 pyenchant==1.6.8 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.1.0 pytz==2017.2 requests==2.16.5 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.1 sphinxcontrib-spelling==2.3.0 tox==2.7.0 vine==1.1.3 virtualenv==15.1.0 waitress==1.0.2 WebOb==1.7.2 we...
py==1.4.33 pyenchant==1.6.8 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.1.0 pytz==2017.2 requests==2.16.5 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.2 sphinxcontrib-spelling==2.3.0 tox==2.7.0 vine==1.1.3 virtualenv==15.1.0 waitress==1.0.2 WebOb==1.7.2 webtest==2.0.27 # The following packages ar...
<|file_sep|>original/requirements-dev.txt py==1.4.33 pyenchant==1.6.8 Pygments==2.2.0 pyparsing==2.2.0 pytest-django==3.1.2 pytest==3.1.0 pytz==2017.2 requests==2.16.5 six==1.10.0 snowballstemmer==1.2.1 sphinx==1.6.1 sphinxcontrib-spelling==2.3.0 tox==2.7.0 vine==1.1.3 virtualenv==15.1.0 waitress==1.0.2 WebOb==1.7.2 we...
376041c0e88ec568a1ff471cbe201bc2aa8ae55b
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/init.sh #!/bin/sh stow --version >/dev/null 2>&1 if [ $? -gt 0 ] then echo 'GNU Stow must be installed...' exit 127 fi echo 'Updating submodules...' git submodule init git submodule update for f in */; do srv=$(echo "$f" | sed 's/.$//') echo "Initialising $srv" ./$srv.sh done; ...
#!/bin/sh stow --version >/dev/null 2>&1 if [ $? -gt 0 ]; then if [[ "$OSTYPE" == "linux-gnu" ]]; then sudo apt update sudo apt install stow elif [[ "$OSTYPE" == "darwin"* ]]; then brew update brew install stow else echo 'GNU Stow must be installed...' exit ...
<|file_sep|>original/init.sh #!/bin/sh stow --version >/dev/null 2>&1 if [ $? -gt 0 ] then echo 'GNU Stow must be installed...' exit 127 fi echo 'Updating submodules...' git submodule init git submodule update for f in */; do srv=$(echo "$f" | sed 's/.$//') echo "Initialising $srv" ./$srv.sh done; ...
287d8bb60b1376d7b638abc96e6044d7ec4d93a6
init.sh
init.sh
Shell
<|file_sep|>original/kanban_app/app/components/Notes.jsx import Editable from './Editable.jsx'; import Note from './Note.jsx'; export default class Notes extends React.Component { constructor(props) { super(props); this.renderNote = this.renderNote.bind(this); } render() { const notes = this.props.i...
import Editable from './Editable.jsx'; import Note from './Note.jsx'; export default class Notes extends React.Component { constructor(props) { super(props); this.renderNote = this.renderNote.bind(this); } render() { // XXX const notes = this.props.items || []; return <ul className='notes'>...
<|file_sep|>original/kanban_app/app/components/Notes.jsx import Editable from './Editable.jsx'; import Note from './Note.jsx'; export default class Notes extends React.Component { constructor(props) { super(props); this.renderNote = this.renderNote.bind(this); } render() { const notes = this.props.i...
bafb698e210a0f78e522dbc2599aac719f2e7ddc
kanban_app/app/components/Notes.jsx
kanban_app/app/components/Notes.jsx
JSX
<|file_sep|>original/bash/paths.bash export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH" # Go bin [ -n "$GOPATH" -a -d "$GOPATH/bin" ] && export PATH="$GOPATH/bin:$PATH" [ -n "$GOROOT" -a -d "$GOROOT" ] && export PATH="$GOROOT/bin$PATH:" # User-local NPM bin [ -d "$HOME/.npm-global" ] && export PAT...
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH" # Go bin [ -n "$GOPATH" -a -d "$GOPATH/bin" ] && export PATH="$GOPATH/bin:$PATH" [ -n "$GOROOT" -a -d "$GOROOT" ] && export PATH="$GOROOT/bin$PATH:" # User-local NPM bin [ -d "$HOME/.npm-global" ] && export PATH="$HOME/.npm-global/bin:$PATH" # Lu...
<|file_sep|>original/bash/paths.bash export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH" # Go bin [ -n "$GOPATH" -a -d "$GOPATH/bin" ] && export PATH="$GOPATH/bin:$PATH" [ -n "$GOROOT" -a -d "$GOROOT" ] && export PATH="$GOROOT/bin$PATH:" # User-local NPM bin [ -d "$HOME/.npm-global" ] && export PAT...
7aa8c0d3be2abe4e55b9c3c904c7d8e7d5e0d6da
bash/paths.bash
bash/paths.bash
Shell
<|file_sep|>original/templates/includes/_main_supporters.html {% load static %} <div class="row"> <div class="col-md-3"> <a href="https://www.python.org/psf/"> <img class="img-responsive center-block" src="{% static 'img/global/supporters/pythonsoftwarefoundation.png' %}" alt="...
{% load static %} <div class="row"> <div class="col-md-3"> <a href="https://www.python.org/psf/"> <img class="img-responsive center-block" src="{% static 'img/global/supporters/pythonsoftwarefoundation.png' %}" alt="Python Software Foundation" style="margin-top: 25px" /> ...
<|file_sep|>original/templates/includes/_main_supporters.html {% load static %} <div class="row"> <div class="col-md-3"> <a href="https://www.python.org/psf/"> <img class="img-responsive center-block" src="{% static 'img/global/supporters/pythonsoftwarefoundation.png' %}" alt="...
e7721814af2124e713d88d60ec635a9a6bd43787
templates/includes/_main_supporters.html
templates/includes/_main_supporters.html
HTML
<|file_sep|>original/.travis.yml language: node_js node_js: - '4.3.2' - '6.10.0' - '8.11.1' script: - npm run unit-tests <|file_sep|>current/.travis.yml language: node_js node_js: - '4.3.2' - '6.10.0' - '8.11.1' script: - npm run unit-tests <|file_sep|>updated/.travis.yml
language: node_js node_js: - '6.10.0' - '8.11.1' script: - npm run unit-tests
<|file_sep|>original/.travis.yml language: node_js node_js: - '4.3.2' - '6.10.0' - '8.11.1' script: - npm run unit-tests <|file_sep|>current/.travis.yml language: node_js node_js: - '4.3.2' - '6.10.0' - '8.11.1' script: - npm run unit-tests <|file_sep|>updated/.travis.yml language: node_js node_js: - '6.10.0' - '8.11.1...
2351b2a6159207c785682df92016316ccf21cf20
.travis.yml
.travis.yml
YAML
<|file_sep|>original/public-java-api/ignored_diffs.xml <differences> <!-- We've intentionally added new getter methods to ServiceRegistry --> <difference> <className>**/ServiceRegistry</className> <field>**</field> <method>* get*</method> <differenceType>7012</differenceType> ...
<differenceType>7012</differenceType> </difference> <!-- getBlocklist method was added to fix MNT-13731, product provides implementation --> <difference> <className>org/alfresco/repo/content/transform/TransformerConfig</className> <method>* getBlacklist*</method> <differenceT...
<|file_sep|>original/public-java-api/ignored_diffs.xml <differences> <!-- We've intentionally added new getter methods to ServiceRegistry --> <difference> <className>**/ServiceRegistry</className> <field>**</field> <method>* get*</method> <differenceType>7012</differenceType> ...
34706840c2806488199dffcab596e12b7bebc9dd
public-java-api/ignored_diffs.xml
public-java-api/ignored_diffs.xml
XML
<|file_sep|>original/tox.ini [tox] envlist = {py27,py33,py34}-django{16,17} # do not install the app into virtualenv (makes it faster to run) skipsdist = True [testenv] deps = -rrequirements.txt django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 commands = coverage run ./user_management/tests/run....
[tox] envlist = {py27,py33,py34}-django{16,17} # do not install the app into virtualenv (makes it faster to run) skipsdist = True [testenv] deps = -rrequirements.txt django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 commands = coverage run ./user_management/tests/run.py django16: coverage rep...
<|file_sep|>original/tox.ini [tox] envlist = {py27,py33,py34}-django{16,17} # do not install the app into virtualenv (makes it faster to run) skipsdist = True [testenv] deps = -rrequirements.txt django16: Django>=1.6,<1.7 django17: Django>=1.7,<1.8 commands = coverage run ./user_management/tests/run....
bcdd950f22f149478693b913ef4287308254f1dd
tox.ini
tox.ini
INI
<|file_sep|>.kitchen.yml.diff original: - name: debian-7.9 updated: - name: debian-7.10 <|file_sep|>.kitchen.yml.diff original: - name: debian-8.2 updated: - name: debian-8.4 <|file_sep|>.kitchen.yml.diff original: updated: run_list: apt::default - name: ubuntu-16.04 <|file_sep|>original/.kitchen.yml - n...
- recipe[erlang] - name: gui_tools run_list: - recipe[erlang] attributes: erlang: gui_tools: true excludes: - centos-5.11 - centos-6.7 - centos-7.1 - fedora-21 - name: esl run_list: - recipe[erlang::esl] excludes: - centos-5.11 - name: source
<|file_sep|>.kitchen.yml.diff original: - name: debian-7.9 updated: - name: debian-7.10 <|file_sep|>.kitchen.yml.diff original: - name: debian-8.2 updated: - name: debian-8.4 <|file_sep|>.kitchen.yml.diff original: updated: run_list: apt::default - name: ubuntu-16.04 <|file_sep|>original/.kitchen.yml - n...
7a2a4f0bd8dbd700a939a3d2c543143fc6cdbea2
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/src/infrastructure/internationalization/translation/PhabricatorVeryWowEnglishTranslation.php final class PhabricatorVeryWowEnglishTranslation extends PhutilTranslation { public function getLocaleCode() { return 'en_W*'; } protected function getTranslations() { return array( ...
extends PhutilTranslation { public function getLocaleCode() { return 'en_W*'; } protected function getTranslations() { return array( 'Search' => 'Search! Wow!', 'Review Code' => 'Wow! Code Review! Wow!', 'Tasks and Bugs' => 'Much Bug! Very Bad!', 'Cancel' => 'Nope!', 'Adv...
<|file_sep|>original/src/infrastructure/internationalization/translation/PhabricatorVeryWowEnglishTranslation.php final class PhabricatorVeryWowEnglishTranslation extends PhutilTranslation { public function getLocaleCode() { return 'en_W*'; } protected function getTranslations() { return array( ...
21aa086b69255c11282a9e592e3bf3050d0e9f2d
src/infrastructure/internationalization/translation/PhabricatorVeryWowEnglishTranslation.php
src/infrastructure/internationalization/translation/PhabricatorVeryWowEnglishTranslation.php
PHP
<|file_sep|>app/helpers/application_helper.rb.diff original: updated: # 'shy;' is the HTML entity for a soft hyphen def hypenate(string) string.gsub('-', '&shy;').html_safe end <|file_sep|>original/app/helpers/application_helper.rb text elsif url.present? link_to('link', url) else ...
if text.present? && url.present? link_to(text, url) elsif text.present? text elsif url.present? link_to('link', url) else '?' end end def url_only(url, length) url.present? ? link_to(shorter_url(url, length), url) : '?' end def tab(css_class, text, path) cla...
<|file_sep|>app/helpers/application_helper.rb.diff original: updated: # 'shy;' is the HTML entity for a soft hyphen def hypenate(string) string.gsub('-', '&shy;').html_safe end <|file_sep|>original/app/helpers/application_helper.rb text elsif url.present? link_to('link', url) else ...
b8f9a94bafad47d3eb443c5a27042423b01bf3f4
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/config/initializers/asset_sync.rb # Invalidate a file on a cdn after uploading files # config.cdn_distribution_id = "12345" # config.invalidate = ['file1.js'] # Increase upload performance by configuring your region config.fog_region = ENV.fetch('fog_region') {'fog_region'} # # Don'...
# # Automatically replace files with their equivalent gzip compressed version config.gzip_compression = true # # Use the Rails generated 'manifest.yml' file to produce the list of files to # upload instead of searching the assets directory. # config.manifest = true # # Fail silently. Useful for envir...
<|file_sep|>original/config/initializers/asset_sync.rb # Invalidate a file on a cdn after uploading files # config.cdn_distribution_id = "12345" # config.invalidate = ['file1.js'] # Increase upload performance by configuring your region config.fog_region = ENV.fetch('fog_region') {'fog_region'} # # Don'...
c56492883133d152057ab3da906a408ce0ec4478
config/initializers/asset_sync.rb
config/initializers/asset_sync.rb
Ruby
<|file_sep|>original/app/views/users/show.html.erb <br> <%= @user.email %> <br> <%= link_to "Edit Profile", edit_user_registration_path %> <%= image_tag(@user.avatar_url) if @user.avatar? %> <hr> <div class="reviews"> Reviews: <ul> <% @reviews.each do |review| %> <li><%= link_to "#{review.body}", review_show_pat...
<br> <%= @user.email %> <br> <%= link_to "Edit Profile", edit_user_registration_path %> <%= image_tag(@user.avatar_url) if @user.avatar? %> <hr> <div class="reviews"> Reviews: <ul> <% @reviews.each do |review| %> <li><%= link_to "#{review.body}", review_show_path(review) %></li> <% end %> </ul> </div> <% if...
<|file_sep|>original/app/views/users/show.html.erb <br> <%= @user.email %> <br> <%= link_to "Edit Profile", edit_user_registration_path %> <%= image_tag(@user.avatar_url) if @user.avatar? %> <hr> <div class="reviews"> Reviews: <ul> <% @reviews.each do |review| %> <li><%= link_to "#{review.body}", review_show_pat...
b3a68aba17ee659fa2a040111d533526bea619f5
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB
<|file_sep|>original/src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml @model dynamic @using Umbraco.Web.Templates @{ var embedValue = string.Empty; try { embedValue = Model.value.preview; } catch(Exception ex) { embedValue = Model.value; } } <div class="video-wrapper"> @Htm...
@model dynamic @using Umbraco.Web.Templates @{ string embedValue = Convert.ToString(Model.value); embedValue = embedValue.DetectIsJson() ? Model.value.preview : Model.value; } <div class="video-wrapper"> @Html.Raw(embedValue) </div>
<|file_sep|>original/src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml @model dynamic @using Umbraco.Web.Templates @{ var embedValue = string.Empty; try { embedValue = Model.value.preview; } catch(Exception ex) { embedValue = Model.value; } } <div class="video-wrapper"> @Htm...
ed0aa7f14ab30035ac2f7e642e59bb7061e57ed3
src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml
src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml
C#
<|file_sep|>original/CODING_STYLE.txt JUnit project uses the Google Java Style (https://github.com/google/styleguide) for all new code (under org.junit.*). Deviating from this, indentation is 4 spaces instead of 2. Legacy code (under junit.*) used the legacy guide specified in LEGACY_CODING_STYLE.txt in the project ro...
JUnit project uses the Google Java Style (https://github.com/google/styleguide) for all new code (under org.junit.*). Deviating from this, indentation is 4 spaces instead of 2. Be sure to set text file encoding to UTF-8 and line delimiters to UNIX style. Since not all code has been formatted yet, please format only c...
<|file_sep|>original/CODING_STYLE.txt JUnit project uses the Google Java Style (https://github.com/google/styleguide) for all new code (under org.junit.*). Deviating from this, indentation is 4 spaces instead of 2. Legacy code (under junit.*) used the legacy guide specified in LEGACY_CODING_STYLE.txt in the project ro...
756959c1efa929110fc3bf0da8262fcea580e049
CODING_STYLE.txt
CODING_STYLE.txt
Text
<|file_sep|>original/scripts/sonarqube-scan.cmd mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %* <|file_sep|>current/scripts/sonarqube-scan.cmd mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sona...
mvn clean jacoco:prepare-agent verify jacoco:report sonar:sonar -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %*
<|file_sep|>original/scripts/sonarqube-scan.cmd mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sonarqube.xml %* <|file_sep|>current/scripts/sonarqube-scan.cmd mvn clean jacoco:prepare-agent verify jacoco:report -Dmaven.javadoc.failOnError=false -s dev\settings-sona...
ab3b0d54f6f660719649237cedcc9c77789efad9
scripts/sonarqube-scan.cmd
scripts/sonarqube-scan.cmd
Batchfile
<|file_sep|>original/docker-compose.example.sqlite.yml version: "3.7" services: app: image: babybuddy/babybuddy # See README.md#configuration for other environment configuration options. environment: - ALLOWED_HOSTS= - DJANGO_SETTINGS_MODULE=babybuddy.settings.base - SECRET_KEY= - ...
version: "3.7" services: app: image: babybuddy/babybuddy # See README.md#configuration for other environment configuration options. environment: - ALLOWED_HOSTS= - DJANGO_SETTINGS_MODULE=babybuddy.settings.base - SECRET_KEY= - TIME_ZONE= - DEBUG=False # Turn to False in produ...
<|file_sep|>original/docker-compose.example.sqlite.yml version: "3.7" services: app: image: babybuddy/babybuddy # See README.md#configuration for other environment configuration options. environment: - ALLOWED_HOSTS= - DJANGO_SETTINGS_MODULE=babybuddy.settings.base - SECRET_KEY= - ...
4e7d54163fa34cb5e7f923f74e968067895e91bd
docker-compose.example.sqlite.yml
docker-compose.example.sqlite.yml
YAML
<|file_sep|>original/run-brackets.sh # Copyright (c) 2013 Intel Corporation. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. if [ ! -x "$1" -o ! -d "$2" ]; then echo "Run Brackets using Crosswalk" echo "Usage: $0 /path/to/xwalk/executab...
# Copyright (c) 2013 Intel Corporation. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. if [ ! -x "$1" -o ! -d "$2" ]; then echo "Run Brackets using Crosswalk" echo "Usage: $0 /path/to/xwalk/executable /path/to/brackets/directory" e...
<|file_sep|>original/run-brackets.sh # Copyright (c) 2013 Intel Corporation. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. if [ ! -x "$1" -o ! -d "$2" ]; then echo "Run Brackets using Crosswalk" echo "Usage: $0 /path/to/xwalk/executab...
40a65fe58670351b747c1f0a097b689137d2391c
run-brackets.sh
run-brackets.sh
Shell
<|file_sep|>original/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh <|file_sep|>current/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh <|file_sep|>updated/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh
#!/usr/bin/env bash # Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
<|file_sep|>original/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh <|file_sep|>current/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh <|file_sep|>updated/tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh #!/usr/bin/env bash # Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed und...
4cc3cfe15f8ed29323c669c4cfff7c754fb59136
tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh
tensorflow/tools/ci_build/osx/cpu/run_py3_cc_core.sh
Shell
<|file_sep|>original/requirements/base.txt django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.27.0 # Python-PostgreSQL Database Adapter psycopg2==2.6.2 # Unicode slugifica...
django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.30.0 # Python-PostgreSQL Database Adapter psycopg2==2.6.2 # Unicode slugification unicode-slugify==0.1.3 django-autoslug...
<|file_sep|>original/requirements/base.txt django-floppyforms==1.7.0 # Models django-model-utils==2.6 # Images Pillow==4.0.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.27.0 # Python-PostgreSQL Database Adapter psycopg2==2.6.2 # Unicode slugifica...
890c59e2fdf0901f0e1277738ae517e30096b60d
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/blueprints/cordova-init/files/config/environment.js // ENV.APP.LOG_RESOLVER = true; ENV.APP.LOG_ACTIVE_GENERATION = true; // ENV.APP.LOG_TRANSITIONS = true; // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; ENV.APP.LOG_VIEW_LOOKUPS = true; } if (environment === 'test') { // T...
// ENV.APP.LOG_RESOLVER = true; ENV.APP.LOG_ACTIVE_GENERATION = true; // ENV.APP.LOG_TRANSITIONS = true; // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; ENV.APP.LOG_VIEW_LOOKUPS = true; } if (environment === 'test') { // Testem prefers this... ENV.baseURL = '/'; ENV.locationType = 'none...
<|file_sep|>original/blueprints/cordova-init/files/config/environment.js // ENV.APP.LOG_RESOLVER = true; ENV.APP.LOG_ACTIVE_GENERATION = true; // ENV.APP.LOG_TRANSITIONS = true; // ENV.APP.LOG_TRANSITIONS_INTERNAL = true; ENV.APP.LOG_VIEW_LOOKUPS = true; } if (environment === 'test') { // T...
e75061302c8369c0b200441c5366e9e4c72d9541
blueprints/cordova-init/files/config/environment.js
blueprints/cordova-init/files/config/environment.js
JavaScript
<|file_sep|>original/bp4o.sh p4() { if type p4-$1 1>/dev/null; then p4-$1 $(command -v p4) $@ else command p4 $@ fi } <|file_sep|>current/bp4o.sh p4() { if type p4-$1 1>/dev/null; then p4-$1 $(command -v p4) $@ else command p4 $@ fi } <|file_sep|>updated/bp4o.sh
p4() { if type p4-$1 1>/dev/null; then p4-$1 $(type -p p4 | awk '{print $3}') $@ else command p4 $@ fi }
<|file_sep|>original/bp4o.sh p4() { if type p4-$1 1>/dev/null; then p4-$1 $(command -v p4) $@ else command p4 $@ fi } <|file_sep|>current/bp4o.sh p4() { if type p4-$1 1>/dev/null; then p4-$1 $(command -v p4) $@ else command p4 $@ fi } <|file_sep|>updated/bp4o.sh p...
32dc55d73b21a7a93c76d03737430fc0033cc3d5
bp4o.sh
bp4o.sh
Shell
<|file_sep|>package.json.diff original: "url": "http://github.com/tmcw/node-get", updated: "url": "http://github.com/developmentseed/node-get", <|file_sep|>original/package.json { "name": "get", "description": "A slightly higher-level HTTP client for node.", "version": "1.1.3", "main": "./lib/no...
{ "name": "get", "description": "A slightly higher-level HTTP client for node.", "version": "1.1.3", "main": "./lib/node-get/index.js", "keywords": ["http", "client", "request", "get"], "url": "http://github.com/developmentseed/node-get", "repositories": [{ "type": "git", "ur...
<|file_sep|>package.json.diff original: "url": "http://github.com/tmcw/node-get", updated: "url": "http://github.com/developmentseed/node-get", <|file_sep|>original/package.json { "name": "get", "description": "A slightly higher-level HTTP client for node.", "version": "1.1.3", "main": "./lib/no...
4ae32dff4b10458b652a6c761c8646391e787d7a
package.json
package.json
JSON
<|file_sep|>original/app/twig_templates/admin/entries/ajax_media_load_sp.twig <|file_sep|>current/app/twig_templates/admin/entries/ajax_media_load_sp.twig <|file_sep|>updated/app/twig_templates/admin/entries/ajax_media_load_sp.twig
{% if files %} <div class="form_contents"> <div class="btn"> <button type="button" class="btn_contents positive touch" onclick="addMedia.add();"><i class="positive_add_icon btn_icon"></i>{{ _('Add') }}</button> </div> </div> <ul class="sys-form-add-media file_table"> {%...
<|file_sep|>original/app/twig_templates/admin/entries/ajax_media_load_sp.twig <|file_sep|>current/app/twig_templates/admin/entries/ajax_media_load_sp.twig <|file_sep|>updated/app/twig_templates/admin/entries/ajax_media_load_sp.twig {% if files %} <div class="form_contents"> <div class="btn"> ...
ae63418e19a0d6f4bf2e097b36b93e9762b7a5f7
app/twig_templates/admin/entries/ajax_media_load_sp.twig
app/twig_templates/admin/entries/ajax_media_load_sp.twig
Twig
<|file_sep|>grails-app/controllers/io/threeohone/ShortenerStatisticsController.groovy.diff original: updated: def monthNames = totalNumberOfRedirectsPerMonth.collect { "${it.month} / ${it.year}" } def redirectCounters = totalNumberOfRedirectsPerMonth.collect { it.redirectCounter } <|file_sep|>original...
def totalNumberOfRedirectsPerMonth = statisticsService.getTotalRedirectsPerMonthBetween(new Date() - 365, new Date(), shortenerInstance) def monthNames = totalNumberOfRedirectsPerMonth.collect { "${it.month} / ${it.year}" } def redirectCounters = totalNumberOfRedirectsPerMonth.collect { it.red...
<|file_sep|>grails-app/controllers/io/threeohone/ShortenerStatisticsController.groovy.diff original: updated: def monthNames = totalNumberOfRedirectsPerMonth.collect { "${it.month} / ${it.year}" } def redirectCounters = totalNumberOfRedirectsPerMonth.collect { it.redirectCounter } <|file_sep|>original...
c6d5c544bf3a88799d8516fb4c45cce241ea5a85
grails-app/controllers/io/threeohone/ShortenerStatisticsController.groovy
grails-app/controllers/io/threeohone/ShortenerStatisticsController.groovy
Groovy
<|file_sep|>original/stylesheets/_structure.scaffolding.scss * { box-sizing: border-box; } html, body { height: auto; } body { font-family: $font-family-base; font-size: $font-size-medium; line-height: $line-height-small; margin: 0 0 ($line-height-base * 2); overflow-x: hidden; padding: 0; @include...
* { box-sizing: border-box; } html, body { height: auto; } body { background-color: color(white); font-family: $font-family-base; font-size: $font-size-medium; line-height: $line-height-small; margin: 0 0 ($line-height-base * 2); overflow-x: hidden; padding: 0; @include respond-min($screen-phone)...
<|file_sep|>original/stylesheets/_structure.scaffolding.scss * { box-sizing: border-box; } html, body { height: auto; } body { font-family: $font-family-base; font-size: $font-size-medium; line-height: $line-height-small; margin: 0 0 ($line-height-base * 2); overflow-x: hidden; padding: 0; @include...
4e3dcf0378af93127167f3b3778bbcc4be423f70
stylesheets/_structure.scaffolding.scss
stylesheets/_structure.scaffolding.scss
SCSS
<|file_sep|>original/argus/exceptions.py class ArgusTimeoutError(ArgusError): pass class ArgusCLIError(ArgusError): pass class ArgusPermissionDenied(ArgusError): pass class ArgusHeatTeardown(ArgusError): pass class ArgusEnvironmentError(ArgusError): """Base class for errors related to the ...
class ArgusCLIError(ArgusError): pass class ArgusPermissionDenied(ArgusError): pass class ArgusHeatTeardown(ArgusError): pass class ArgusEnvironmentError(ArgusError): """Base class for errors related to the argus environment.""" pass class ErrorArgusInvalidDecorator(ArgusError): """The ...
<|file_sep|>original/argus/exceptions.py class ArgusTimeoutError(ArgusError): pass class ArgusCLIError(ArgusError): pass class ArgusPermissionDenied(ArgusError): pass class ArgusHeatTeardown(ArgusError): pass class ArgusEnvironmentError(ArgusError): """Base class for errors related to the ...
68e51fd9772aaf4bd382ffe05721e27da6bddde6
argus/exceptions.py
argus/exceptions.py
Python
<|file_sep|>original/Casks/torbrowser-alpha-ar.rb <|file_sep|>current/Casks/torbrowser-alpha-ar.rb <|file_sep|>updated/Casks/torbrowser-alpha-ar.rb
cask :v1 => 'torbrowser-alpha-ar' do version '5.5a3' sha256 'cff609da6f3851c4fcfafcf3e212fd9fed489bd4a7e51fc3d63c9b402a6da277' url "https://dist.torproject.org/torbrowser/#{version}/TorBrowser-#{version}-osx64_ar.dmg" gpg "#{url}.asc", :key_id => 'ef6e286dda85ea2a4ba7de684e2c6e8793298290' name 'Tor Bro...
<|file_sep|>original/Casks/torbrowser-alpha-ar.rb <|file_sep|>current/Casks/torbrowser-alpha-ar.rb <|file_sep|>updated/Casks/torbrowser-alpha-ar.rb cask :v1 => 'torbrowser-alpha-ar' do version '5.5a3' sha256 'cff609da6f3851c4fcfafcf3e212fd9fed489bd4a7e51fc3d63c9b402a6da277' url "https://dist.torproject.org/tor...
04dd02e7fda582b18e19ffca5f3a3b2ce3682816
Casks/torbrowser-alpha-ar.rb
Casks/torbrowser-alpha-ar.rb
Ruby
<|file_sep|>docs/installation/troubleshooting-installation.rst.diff original: :: updated: :: <|file_sep|>docs/installation/troubleshooting-installation.rst.diff original: $ Error running command: Server refused connection: http://localhost:8080/v1/statement updated: $ Error running command: Server refused conne...
=============== Troubleshooting =============== 1. If Presto is not running and you try to execute any command from the Presto CLI you might get: :: $ Error running command: Server refused connection: http://localhost:8080/v1/statement To fix this, start Presto with: :: $ sudo ./presto-admin server...
<|file_sep|>docs/installation/troubleshooting-installation.rst.diff original: :: updated: :: <|file_sep|>docs/installation/troubleshooting-installation.rst.diff original: $ Error running command: Server refused connection: http://localhost:8080/v1/statement updated: $ Error running command: Server refused conne...
70b440d7b1f5fc0c7b4544fb8e47b3717ce38460
docs/installation/troubleshooting-installation.rst
docs/installation/troubleshooting-installation.rst
reStructuredText
<|file_sep|>original/.circleci/config.yml <|file_sep|>current/.circleci/config.yml <|file_sep|>updated/.circleci/config.yml
# Golang CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: build: machine: true # docker: # # specify the version # - image: circleci/golang:1.11 # Specify service dependencies here if necessary # CircleCI maintains ...
<|file_sep|>original/.circleci/config.yml <|file_sep|>current/.circleci/config.yml <|file_sep|>updated/.circleci/config.yml # Golang CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-go/ for more details version: 2 jobs: build: machine: true # docker: # # specify the ver...
88bb135fb91cb89b4cd73ebca295e5e9b39320d8
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/README.md During the installation of macOS: * don't sign into iCloud during the finalisation * create alternate `StevenAdm` account Once logged in, open System Preferences and: * create the `Steven` account * turn off fast user switching Log out, then back in as `Steven`, signing into iCloud d...
* create alternate `StevenAdm` account Once logged in, open System Preferences and: * create the `Steven` account * turn off fast user switching Log out, then back in as `Steven`, signing into iCloud during the finalisation. ## Set up GitHub SSH keys 1. Create an SSH key for the new device: ```bash ssh-ke...
<|file_sep|>original/README.md During the installation of macOS: * don't sign into iCloud during the finalisation * create alternate `StevenAdm` account Once logged in, open System Preferences and: * create the `Steven` account * turn off fast user switching Log out, then back in as `Steven`, signing into iCloud d...
6e1887ba19d0164f18602fb32905220eca80c3d0
README.md
README.md
Markdown
<|file_sep|>original/lib/swa/cli/item_behaviour.rb module Swa module CLI module ItemBehaviour def self.included(target) target.default_subcommand = "summary" target.subcommand ["summary", "s"], "One-line summary" do def execute puts item.summary end ...
module Swa module CLI module ItemBehaviour def self.included(target) target.subcommand ["summary", "s"], "One-line summary" do def execute puts item.summary end end target.subcommand ["data", "d"], "Full details" do parameter "[QUERY]", ...
<|file_sep|>original/lib/swa/cli/item_behaviour.rb module Swa module CLI module ItemBehaviour def self.included(target) target.default_subcommand = "summary" target.subcommand ["summary", "s"], "One-line summary" do def execute puts item.summary end ...
eb3028ca3ddfcce2d0c2f5474ce5adcdbc7390f5
lib/swa/cli/item_behaviour.rb
lib/swa/cli/item_behaviour.rb
Ruby
<|file_sep|>original/regex/regex_getting_started/getting_started.md # Regex * Regex means Regular Expression a syntax that is used to search for and characterize strings * delimited by two forward slashes /regex goes here/ * search for a string with matching content * you can search for the match string "string" i...
# Regex * Regex means Regular Expression a syntax that is used to search for and characterize strings * delimited by two forward slashes /regex goes here/ * search for a string with matching content * you can search for the match string "string" in the following sentence "The cat chased the string" * "The cat ch...
<|file_sep|>original/regex/regex_getting_started/getting_started.md # Regex * Regex means Regular Expression a syntax that is used to search for and characterize strings * delimited by two forward slashes /regex goes here/ * search for a string with matching content * you can search for the match string "string" i...
60f410598ef1737807466e1163e654f9eef8ec8e
regex/regex_getting_started/getting_started.md
regex/regex_getting_started/getting_started.md
Markdown
<|file_sep|>original/template.js (function (<bridge>, document) { if (document.readyState == "loaded" || document.readyState == "complete") { document.__creammonkeyed__ = true; } else { return; } with ({ location: window.location, }) { // define GM functions var G...
(function (<bridge>, document) { if (document.readyState == "loaded" || document.readyState == "complete") { document.__creammonkeyed__ = true; } else { return; } with ({ location: window.location, unsafeWindow: window }) { // define GM functions var GM_log = func...
<|file_sep|>original/template.js (function (<bridge>, document) { if (document.readyState == "loaded" || document.readyState == "complete") { document.__creammonkeyed__ = true; } else { return; } with ({ location: window.location, }) { // define GM functions var G...
765c72bb9528d08a94f5f5c1162eecb8ac29f9fd
template.js
template.js
JavaScript
<|file_sep|>scripts/stl.sh.diff original: updated: STL_Y_UP=figures/turbine-y-up.stl <|file_sep|>original/scripts/stl.sh #!/usr/bin/env bash # Download CAD if not present and transform to appropriate coordinate system # for visualization CAD_ZIP=figures/cad.zip STL=figures/turbine.stl # Download zip of CAD files if ...
STL=figures/turbine.stl STL_Y_UP=figures/turbine-y-up.stl # Download zip of CAD files if doesn't exist if [ ! -f $CAD_ZIP ] then wget https://ndownloader.figshare.com/files/2013052 -O $CAD_ZIP fi # Unzip CAD files if not existing if [ ! -f $STL ] then unzip -j $CAD_ZIP "UNH RM2 CAD package/Simplified/STL/turb...
<|file_sep|>scripts/stl.sh.diff original: updated: STL_Y_UP=figures/turbine-y-up.stl <|file_sep|>original/scripts/stl.sh #!/usr/bin/env bash # Download CAD if not present and transform to appropriate coordinate system # for visualization CAD_ZIP=figures/cad.zip STL=figures/turbine.stl # Download zip of CAD files if ...
616bb17f1f5ea027c2d0ff7077c5a18103ab02ac
scripts/stl.sh
scripts/stl.sh
Shell
<|file_sep|>original/package.json { "name": "fh-service-twilio-cloud", "version": "0.2.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "5.7.9", "body-parser": "~1.0.2", "cors": "~2.2.0", "twilio": "1.6.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contri...
{ "name": "fh-service-twilio-cloud", "version": "0.2.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "5.7.11", "body-parser": "~1.0.2", "cors": "~2.2.0", "twilio": "1.6.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contrib-jshint": "^0.11.3", "grunt-...
<|file_sep|>original/package.json { "name": "fh-service-twilio-cloud", "version": "0.2.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "5.7.9", "body-parser": "~1.0.2", "cors": "~2.2.0", "twilio": "1.6.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contri...
d99f43b15ec768f21782ee92a79cb454f4cd7788
package.json
package.json
JSON
<|file_sep|>original/rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp <div class="pageBody form"> <g:render template="/common/errorFragment"/> <g:form controller="scheduledExecution" method="post" onsubmit="if(typeof(validateJobEditForm)=='function'){return validateJobEditForm(this);}"> <g:r...
<div class="pageBody "> <g:render template="/common/errorFragment"/> <g:form controller="scheduledExecution" method="post" onsubmit="if(typeof(validateJobEditForm)=='function'){return validateJobEditForm(this);}"> <g:render template="edit" model="[scheduledExecution:scheduledExecution, crontab:crontab, ...
<|file_sep|>original/rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp <div class="pageBody form"> <g:render template="/common/errorFragment"/> <g:form controller="scheduledExecution" method="post" onsubmit="if(typeof(validateJobEditForm)=='function'){return validateJobEditForm(this);}"> <g:r...
2029c1f1186eb24df1120c11652621dc590a0e56
rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp
rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp
Groovy Server Pages
<|file_sep|>original/test/fileTransformation/alias.js "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("../../index"); ({}); var Foo = { 'foo': "foo" }; console.log(Foo.foo); ({ foo: "foo", 'bar': "bar" }.bar); var FooBarBaz = { 'foo': "foo", 'bar': "bar", 'baz': "baz" ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("../../index"); ({}); var Foo = { 'foo': "foo" }; console.log(Foo.foo); ({ 'foo': "foo", 'bar': "bar" }.bar); var FooBarBaz = { 'foo': "foo", 'bar': "bar", 'baz': "baz" }; FooBarBaz.ping = 'pong'; function enumerate() { ...
<|file_sep|>original/test/fileTransformation/alias.js "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("../../index"); ({}); var Foo = { 'foo': "foo" }; console.log(Foo.foo); ({ foo: "foo", 'bar': "bar" }.bar); var FooBarBaz = { 'foo': "foo", 'bar': "bar", 'baz': "baz" ...
4a0c39358368c4f84770b40b4d1507ec660848eb
test/fileTransformation/alias.js
test/fileTransformation/alias.js
JavaScript
<|file_sep|>original/app/views/invoices/show.html.slim div.modal-header button.close type='button' data-dismiss='modal' aria-label='Close' span aria-hidden='true' &times; h4.modal-title#modal-invocation-show= t('.modals.invocation') div.modal-body = render('invoice', invoice: @invoice, doc: @invoice_doc) div....
div.modal-header button.close type='button' data-dismiss='modal' aria-label='Close' span aria-hidden='true' &times; h4.modal-title#modal-invocation-show= t('.modals.invoice') div.modal-body = render('invoice', invoice: @invoice, doc: @invoice_doc) div.modal-footer button.btn.btn-default(type="button" data-d...
<|file_sep|>original/app/views/invoices/show.html.slim div.modal-header button.close type='button' data-dismiss='modal' aria-label='Close' span aria-hidden='true' &times; h4.modal-title#modal-invocation-show= t('.modals.invocation') div.modal-body = render('invoice', invoice: @invoice, doc: @invoice_doc) div....
4367a6ebde3c0248e0d12ecad906ba2d087b70f5
app/views/invoices/show.html.slim
app/views/invoices/show.html.slim
Slim
<|file_sep|>original/.travis.yml language: go go: - 1.1.2 - tip notifications: # See http://about.travis-ci.org/docs/user/build-configuration/ to learn more # about configuring notification recipients and more. email: recipients: - coda.hale@gmail.com <|file_sep|>current/.travis.yml language: go go:...
language: go go: - 1.2 - tip notifications: # See http://about.travis-ci.org/docs/user/build-configuration/ to learn more # about configuring notification recipients and more. email: recipients: - coda.hale@gmail.com
<|file_sep|>original/.travis.yml language: go go: - 1.1.2 - tip notifications: # See http://about.travis-ci.org/docs/user/build-configuration/ to learn more # about configuring notification recipients and more. email: recipients: - coda.hale@gmail.com <|file_sep|>current/.travis.yml language: go go:...
89c5ce3b5aa18c92208614a7de537affc7ed98ff
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/howler_integration.js this.sounds = soundNames.reduce((memo, name) => { soundOptions = soundsData[name]; // Allow strings instead of objects, for when all that is needed is a URL if ( typeof soundOptions === 'string' ) { soundOptions = { urls: [soundOptions] }; ...
this.sounds = soundNames.reduce((memo, name) => { soundOptions = soundsData[name]; // Allow strings instead of objects, for when all that is needed is a URL if ( typeof soundOptions === 'string' ) { soundOptions = { urls: [soundOptions] }; } return { ...memo, [name]: new How...
<|file_sep|>original/src/howler_integration.js this.sounds = soundNames.reduce((memo, name) => { soundOptions = soundsData[name]; // Allow strings instead of objects, for when all that is needed is a URL if ( typeof soundOptions === 'string' ) { soundOptions = { urls: [soundOptions] }; ...
32b521bfe29660043f72bc97f377f1cbb3663b61
src/howler_integration.js
src/howler_integration.js
JavaScript
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - 1.5 - tip install: - go get golang.org/x/tools/cmd/cover script: - go test -v -covermode=atomic -coverprofile=coverage.txt after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: on_success: ch...
os: - linux - osx language: go go: - 1.3 - 1.4 - 1.5 - tip install: - go get golang.org/x/tools/cmd/cover script: - go test -v -covermode=atomic -coverprofile=coverage.txt after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: on_success: change ...
<|file_sep|>original/.travis.yml language: go go: - 1.3 - 1.4 - 1.5 - tip install: - go get golang.org/x/tools/cmd/cover script: - go test -v -covermode=atomic -coverprofile=coverage.txt after_success: - bash <(curl -s https://codecov.io/bash) notifications: email: on_success: ch...
034c06e18d852d217fa31eb5a8a9183af9bd0f2e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/testing.txt # Testing requirements -r common.txt -r flake8.txt # pytest factory-boy==2.9.2 mock==2.0.0 pytest==3.4.0 pytest-django==3.1.2 pytest-mock==1.6.3 pytest-randomly==1.2.3 pytest-stepwise==0.4 pytest-xdist==1.21.0 selenium==3.8.1 # tox tox==2.9.* # coverage coverage==4.4.2 p...
# Testing requirements -r common.txt -r flake8.txt # pytest factory-boy==2.10.0 mock==2.0.0 pytest==3.4.0 pytest-django==3.1.2 pytest-mock==1.6.3 pytest-randomly==1.2.3 pytest-stepwise==0.4 pytest-xdist==1.21.0 selenium==3.8.1 # tox tox==2.9.* # coverage coverage==4.4.2 pytest-cov==2.5.1
<|file_sep|>original/requirements/testing.txt # Testing requirements -r common.txt -r flake8.txt # pytest factory-boy==2.9.2 mock==2.0.0 pytest==3.4.0 pytest-django==3.1.2 pytest-mock==1.6.3 pytest-randomly==1.2.3 pytest-stepwise==0.4 pytest-xdist==1.21.0 selenium==3.8.1 # tox tox==2.9.* # coverage coverage==4.4.2 p...
486eb6a9aea60cf0bc4139260ac9559162695474
requirements/testing.txt
requirements/testing.txt
Text
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>original/.travis.yml - 1.8.7 - 1.9.3 - 2.0.0 env: matrix: - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.3.0" global: - PUBLISHER_LOGIN=puppetlabs - secure: |- Hc9OPm/kRTmjXSP3TbLir/y6Yy1LqmZS8zrqxdTbpo3Z04EYv...
- 1.9.3 - 2.0.0 env: matrix: - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.3.0" global: - PUBLISHER_LOGIN=puppetlabs - secure: |- Hc9OPm/kRTmjXSP3TbLir/y6Yy1LqmZS8zrqxdTbpo3Z04EYv1uKhaFDpECl 0a6bJRUWpLWIuDco08fHMeCTWoFGzE97EDelhHKSYiTNllzYKWPHy7ki/al6 wjz0gLt...
<|file_sep|>.travis.yml.diff original: updated: --- <|file_sep|>original/.travis.yml - 1.8.7 - 1.9.3 - 2.0.0 env: matrix: - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.3.0" global: - PUBLISHER_LOGIN=puppetlabs - secure: |- Hc9OPm/kRTmjXSP3TbLir/y6Yy1LqmZS8zrqxdTbpo3Z04EYv...
23f64bbd8d840f060e644697cb17f5b6b95a88be
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/co/conferer.yaml <|file_sep|>current/packages/co/conferer.yaml <|file_sep|>updated/packages/co/conferer.yaml
homepage: https://github.com/ludat/conferer#readme changelog-type: '' hash: 4bdf3edccfbcd564268d0bebb68a7c3f846bbd5be3d5789cbf984d2269f94f5c test-bench-deps: conferer: -any bytestring: ! '>=0.10 && <0.11' base: ! '>=4.3 && <5' hspec: -any text: ! '>=1.1 && <1.3' containers: ! '>=0.5 && <0.7' directory: ! ...
<|file_sep|>original/packages/co/conferer.yaml <|file_sep|>current/packages/co/conferer.yaml <|file_sep|>updated/packages/co/conferer.yaml homepage: https://github.com/ludat/conferer#readme changelog-type: '' hash: 4bdf3edccfbcd564268d0bebb68a7c3f846bbd5be3d5789cbf984d2269f94f5c test-bench-deps: conferer: -any by...
bec5e05e89c320bd7ea1adaa170f46a18c304244
packages/co/conferer.yaml
packages/co/conferer.yaml
YAML
<|file_sep|>original/css/calculator.css padding: 4px 8px; vertical-align: middle; border: 1px solid silver; } #calculator td { width: 25%; text-align: center; border: 1px solid silver; } #calculator td:hover { background-color: whitesmoke; } #result { width: 100%; padding: 0; text-align: right; ...
vertical-align: middle; border: 1px solid silver; } #calculator td { width: 25%; text-align: center; border: 1px solid silver; } #calculator td:hover { background-color: whitesmoke; } #result { width: 100%; padding: 0; text-align: right; font-size: 1.5em; border: 0; }
<|file_sep|>original/css/calculator.css padding: 4px 8px; vertical-align: middle; border: 1px solid silver; } #calculator td { width: 25%; text-align: center; border: 1px solid silver; } #calculator td:hover { background-color: whitesmoke; } #result { width: 100%; padding: 0; text-align: right; ...
1a9970244096f2c1da6beb17e5dada88eb383dce
css/calculator.css
css/calculator.css
CSS
<|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #if 0 <|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #endif <|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #if 0 <|file_sep|>original/clutter-cairo/cluttercairomodule.c Pycairo_IMPORT; if ...
PyClutterCairoContext_Type.tp_base = &PycairoContext_Type; if (PyType_Ready(&PyClutterCairoContext_Type) < 0) { g_return_if_reached (); } #endif init_pygobject (); pycluttercairo_register_classes (d); #if 0 Py_INCREF (&PyClutterCairoContext_Type); PyModule_AddObject (m, "CairoCont...
<|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #if 0 <|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #endif <|file_sep|>clutter-cairo/cluttercairomodule.c.diff original: updated: #if 0 <|file_sep|>original/clutter-cairo/cluttercairomodule.c Pycairo_IMPORT; if ...
01a10a317285f66f5343aa894388f425168c869b
clutter-cairo/cluttercairomodule.c
clutter-cairo/cluttercairomodule.c
C
<|file_sep|>app/src/main/java/pl/mg6/likeornot/GridActivity.kt.diff original: updated: import android.util.Log <|file_sep|>original/app/src/main/java/pl/mg6/likeornot/GridActivity.kt package pl.mg6.likeornot import android.os.Bundle import android.support.v4.view.ViewPager import android.support.v7.app.AppCompatActiv...
import android.support.v7.app.AppCompatActivity import android.util.Log class GridActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.grid_activity) getLikables(LikableApiProvider.get()) ...
<|file_sep|>app/src/main/java/pl/mg6/likeornot/GridActivity.kt.diff original: updated: import android.util.Log <|file_sep|>original/app/src/main/java/pl/mg6/likeornot/GridActivity.kt package pl.mg6.likeornot import android.os.Bundle import android.support.v4.view.ViewPager import android.support.v7.app.AppCompatActiv...
8b270f187396ff93aaefce24102511af002e2b43
app/src/main/java/pl/mg6/likeornot/GridActivity.kt
app/src/main/java/pl/mg6/likeornot/GridActivity.kt
Kotlin
<|file_sep|>src/L.AngularControl.js.diff original: options: { position: 'bottomleft', template: '' }, onAdd: function (map) { var container = L.DomUtil.create('div', 'leaflet-angular'); var $injector = angular.injector(['ng']); var $rootScope = $injector.get('$rootScope'), $compile = $injector.get('$...
$scope: scope, $element: element }); if (this.options.controllerAs) { scope[this.options.controllerAs] = controller; } element.data('$ngControllerController', controller); element.children().data('$ngController...
<|file_sep|>src/L.AngularControl.js.diff original: options: { position: 'bottomleft', template: '' }, onAdd: function (map) { var container = L.DomUtil.create('div', 'leaflet-angular'); var $injector = angular.injector(['ng']); var $rootScope = $injector.get('$rootScope'), $compile = $injector.get('$...
e5cd787f3316f1b4821920ecbe97daad9cf979d0
src/L.AngularControl.js
src/L.AngularControl.js
JavaScript
<|file_sep|>original/pngblur/view.html <!DOCTYPE html> <html> <head><title>Blur test</title></head> <body> <div> <img src="../icon/loop-circular-8x.png"> </div> <div> <img src="test1.png"> </div> <div> <img src="test2.png"> ...
<div> <img src="../icon/loop-circular-8x.png"> </div> <div> <img src="test1.png"> </div> <div> <img src="test2.png"> </div> <div style="background-color:black;"> <img src="test1.png"> </div...
<|file_sep|>original/pngblur/view.html <!DOCTYPE html> <html> <head><title>Blur test</title></head> <body> <div> <img src="../icon/loop-circular-8x.png"> </div> <div> <img src="test1.png"> </div> <div> <img src="test2.png"> ...
9f616dd9694414f7a2c7b1d42418cac527854469
pngblur/view.html
pngblur/view.html
HTML
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception end <|file_sep|>current/app/controllers/application_contr...
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception rescue_from ActiveRecord::RecordNotFound do respond_to do |type| type.all {render :nothing => true, :status...
<|file_sep|>original/app/controllers/application_controller.rb class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception end <|file_sep|>current/app/controllers/application_contr...
df565dab5c8c23c952646a02732abcb3f26431e8
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>etc/log4j2_java.yaml.diff original: Pattern: "%d{HH:mm:ss.SSS} %-5level %logger{2} %X - %msg%n" updated: Pattern: "%d{HH:mm:ss.SSS} %-5level %logger{2} txid: %replace{%X{txid}}{^$}{-} - %msg%n" <|file_sep|>original/etc/log4j2_java.yaml name: Console PatternLayout: Pattern...
name: Console PatternLayout: Pattern: "%d{HH:mm:ss.SSS} %-5level %logger{2} txid: %replace{%X{txid}}{^$}{-} - %msg%n" ThresholdFilter: level: error File: name: File fileName: "${sys:log4j2_app.log}" PatternLayout: Pattern: "%d %-5level [%t] %logger{36}.%M...
<|file_sep|>etc/log4j2_java.yaml.diff original: Pattern: "%d{HH:mm:ss.SSS} %-5level %logger{2} %X - %msg%n" updated: Pattern: "%d{HH:mm:ss.SSS} %-5level %logger{2} txid: %replace{%X{txid}}{^$}{-} - %msg%n" <|file_sep|>original/etc/log4j2_java.yaml name: Console PatternLayout: Pattern...
16bb633da12f4f301ece6b667a024fb0ab33b5a3
etc/log4j2_java.yaml
etc/log4j2_java.yaml
YAML
<|file_sep|>project/templates/index.html.diff original: <title>Video Streaming Demonstration</title> updated: <title>Motion Detect</title> <|file_sep|>original/project/templates/index.html <html> <head> <title>Video Streaming Demonstration</title> </head> <body> <h1>Video Streaming Demonstration</...
<html> <head> <title>Motion Detect</title> </head> <body> <img id="bg" src="{{ url_for('video_feed') }}"> </body> </html>
<|file_sep|>project/templates/index.html.diff original: <title>Video Streaming Demonstration</title> updated: <title>Motion Detect</title> <|file_sep|>original/project/templates/index.html <html> <head> <title>Video Streaming Demonstration</title> </head> <body> <h1>Video Streaming Demonstration</...
28664968f63bf1094651ee123bb09715ff438ba3
project/templates/index.html
project/templates/index.html
HTML
<|file_sep|>original/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java <|file_sep|>current/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java <|file_sep|>updated/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java
/* * Copyright (C) 2004 - 2013 Brian McCallister * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
<|file_sep|>original/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java <|file_sep|>current/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java <|file_sep|>updated/src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java /* * Copyright (C) 2004 - 2013 Brian McCallister * ...
c38a36dd026619aba8a8cc22a8bc0176ceaa259b
src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java
src/test/java/org/skife/jdbi/v2/sqlobject/TestFinalizeBehavior.java
Java
<|file_sep|>src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java.diff original: import static org.hamcrest.Matchers.empty; updated: <|file_sep|>src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java.diff original: updated: private static final int FIRST_SECTION = 0; ...
DeckImporter importer = new DeckImporter(); File deckFile = obtainDeckFile("the-fun-ends-here-shl-jinteki-edition-1st-.o8d"); Deck deck = importer.importDeck(deckFile); assertThat(deck.getGame(), is("0f38e453-26df-4c04-9d67-6d43de939c77")); assertSections(deck); assertT...
<|file_sep|>src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java.diff original: import static org.hamcrest.Matchers.empty; updated: <|file_sep|>src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java.diff original: updated: private static final int FIRST_SECTION = 0; ...
b3c3e6012f1c2f2915a2734c582b945ebdd93ccb
src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java
src/test/java/de/flux/playground/deckcompare/importer/DeckImporterTest.java
Java
<|file_sep|>original/scripts/common/cloud-foundry.sh echo echo "Installing Cloud Foundry Command-line Interface" brew tap cloudfoundry/tap brew install cf-cli brew install bosh-cli --without-bosh2 brew install bbl <|file_sep|>current/scripts/common/cloud-foundry.sh echo echo "Installing Cloud Foundry Command-line Inter...
echo echo "Installing Cloud Foundry Command-line Interface" brew tap cloudfoundry/tap brew install cf-cli brew install bosh-cli brew install bbl
<|file_sep|>original/scripts/common/cloud-foundry.sh echo echo "Installing Cloud Foundry Command-line Interface" brew tap cloudfoundry/tap brew install cf-cli brew install bosh-cli --without-bosh2 brew install bbl <|file_sep|>current/scripts/common/cloud-foundry.sh echo echo "Installing Cloud Foundry Command-line Inter...
1feff62d29de24aab987cc395a9e6bc321b37dbd
scripts/common/cloud-foundry.sh
scripts/common/cloud-foundry.sh
Shell
<|file_sep|>parse.py.diff original: updated: image_loc = ' '.join(sys.argv[1:]) <|file_sep|>original/parse.py tools = pyocr.get_available_tools() if len(tools) == 0: print("Error: No OCR tool found") sys.exit(1) # should be 'Tesseract (sh)' tool = tools[0] orig_image = Image.open('test.png') # crop to only...
image_loc = ' '.join(sys.argv[1:]) tools = pyocr.get_available_tools() if len(tools) == 0: print("Error: No OCR tool found") sys.exit(1) # should be 'Tesseract (sh)' tool = tools[0] orig_image = Image.open(image_loc) # crop to only the section with the number of problems solved cropped_image = orig_image.cr...
<|file_sep|>parse.py.diff original: updated: image_loc = ' '.join(sys.argv[1:]) <|file_sep|>original/parse.py tools = pyocr.get_available_tools() if len(tools) == 0: print("Error: No OCR tool found") sys.exit(1) # should be 'Tesseract (sh)' tool = tools[0] orig_image = Image.open('test.png') # crop to only...
a5ae06630ef96d1093e4498e0e5437c0a7e65bfa
parse.py
parse.py
Python
<|file_sep|>original/README.rst Bookie will one day be a self-hosted bookmark web-service similar to Delicious. Check out the main site for documentation on features, how to get started installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what th...
Bookie will one day be a self-hosted bookmark web-service similar to Delicious. Check out the main site for documentation on features, how to get started installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what the status of your favorite pet fe...
<|file_sep|>original/README.rst Bookie will one day be a self-hosted bookmark web-service similar to Delicious. Check out the main site for documentation on features, how to get started installing, and where we're heading from here. You can check out the Trello board to see what stuff is in the works atm and what th...
87733efd85fe3c35a1a1e8012b06ce52cd91621b
README.rst
README.rst
reStructuredText
<|file_sep|>bower.json.diff original: "version": "5.2.0", updated: "version": "5.1.1", <|file_sep|>original/bower.json { "name": "viking-base", "version": "5.2.0", "dependencies": { "ember": "1.8.0", "foundation": "5.4.7", "jquery-1x": "jQuery#~1.11.1", "respond": "~1.4.2", "REM-unit-polyf...
{ "name": "viking-base", "version": "5.1.1", "dependencies": { "ember": "1.7.0", "foundation": "5.4.2", "jquery-1x": "jQuery#~1.11.1", "respond": "~1.4.2", "REM-unit-polyfill": "~1.3.2" } }
<|file_sep|>bower.json.diff original: "version": "5.2.0", updated: "version": "5.1.1", <|file_sep|>original/bower.json { "name": "viking-base", "version": "5.2.0", "dependencies": { "ember": "1.8.0", "foundation": "5.4.7", "jquery-1x": "jQuery#~1.11.1", "respond": "~1.4.2", "REM-unit-polyf...
38515f6df258edef48f762aaf8d4dcb32e6230d0
bower.json
bower.json
JSON
<|file_sep|>lessons/apache_playbook/site.yml.diff original: --- updated: <|file_sep|>lessons/apache_playbook/site.yml.diff original: updated: - libselinux-python - firewalld <|file_sep|>lessons/apache_playbook/site.yml.diff original: with_items: - libselinux-python - firewalld update...
name: "{{ item }}" state: present with_items: "{{ httpd_packages }}" - name: stop firewalld service: name: firewalld state: stopped - name: copy index.html copy: src: files/index.html dest: /var/www/html/ notify: restart apache handler...
<|file_sep|>lessons/apache_playbook/site.yml.diff original: --- updated: <|file_sep|>lessons/apache_playbook/site.yml.diff original: updated: - libselinux-python - firewalld <|file_sep|>lessons/apache_playbook/site.yml.diff original: with_items: - libselinux-python - firewalld update...
49225035f227babbf1891ceceb95d579a5f76ee1
lessons/apache_playbook/site.yml
lessons/apache_playbook/site.yml
YAML
<|file_sep|>original/thrift/deprecated.md <|file_sep|>current/thrift/deprecated.md <|file_sep|>updated/thrift/deprecated.md
This image is deprecated due to inactivity (last updated Feb 2019; [docker-library/official-images#5411](https://github.com/docker-library/official-images/pull/5411)). There is a useful discussion in [ahawkins/docker-thrift#12](https://github.com/ahawkins/docker-thrift/issues/12) about the future of this image.
<|file_sep|>original/thrift/deprecated.md <|file_sep|>current/thrift/deprecated.md <|file_sep|>updated/thrift/deprecated.md This image is deprecated due to inactivity (last updated Feb 2019; [docker-library/official-images#5411](https://github.com/docker-library/official-images/pull/5411)). There is a useful discuss...
2bd3d265aa1ecd546773030cdb442dfd54965fc8
thrift/deprecated.md
thrift/deprecated.md
Markdown
<|file_sep|>original/demo/blueprints/test.yml <|file_sep|>current/demo/blueprints/test.yml <|file_sep|>updated/demo/blueprints/test.yml
world: <<: *world count: 5 city: <<: *city count: number: 10 by: world abode: <<: *abode count: number: 100 by: city citizen: <<: *citizen count: number: 2 by: abode
<|file_sep|>original/demo/blueprints/test.yml <|file_sep|>current/demo/blueprints/test.yml <|file_sep|>updated/demo/blueprints/test.yml world: <<: *world count: 5 city: <<: *city count: number: 10 by: world abode: <<: *abode count: number: 100 by: city citizen: <<: *citizen count: ...
d342eebdbdd02a4f1457cd33e1e54872c0750140
demo/blueprints/test.yml
demo/blueprints/test.yml
YAML
<|file_sep|>original/docs/plugin-compatibility.md # Plugin Compatibility Neo supports the functionality of some other Craft plugins, listed below: - [Schematic](https://github.com/nerds-and-company/schematic) - [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft) In addition, Neo supports displaying t...
# Plugin Compatibility Neo supports the functionality of some other Craft plugins, listed below: - [Field Labels](https://github.com/spicywebau/craft-fieldlabels) - [Schematic](https://github.com/nerds-and-company/schematic) - [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft) In addition, Neo suppo...
<|file_sep|>original/docs/plugin-compatibility.md # Plugin Compatibility Neo supports the functionality of some other Craft plugins, listed below: - [Schematic](https://github.com/nerds-and-company/schematic) - [CP Field Inspect](https://github.com/mmikkel/CpFieldInspect-Craft) In addition, Neo supports displaying t...
1b3ec2999a0e4dd211c829ddf2e4b79492774057
docs/plugin-compatibility.md
docs/plugin-compatibility.md
Markdown
<|file_sep|>original/src/main/java/fgis/server/services/DataGeneratorEJB.java <|file_sep|>current/src/main/java/fgis/server/services/DataGeneratorEJB.java <|file_sep|>updated/src/main/java/fgis/server/services/DataGeneratorEJB.java
package fgis.server.services; import fgis.server.entity.fgis.Resource; import fgis.server.entity.fgis.ResourceTrack; import fgis.server.entity.fgis.dao.ResourceRepository; import fgis.server.entity.fgis.dao.ResourceTrackRepository; import java.util.Date; import java.util.Random; import javax.ejb.EJB; import javax.ejb....
<|file_sep|>original/src/main/java/fgis/server/services/DataGeneratorEJB.java <|file_sep|>current/src/main/java/fgis/server/services/DataGeneratorEJB.java <|file_sep|>updated/src/main/java/fgis/server/services/DataGeneratorEJB.java package fgis.server.services; import fgis.server.entity.fgis.Resource; import fgis.se...
ef9fc97a89c1a67663123c50f0bd1223fa19c49e
src/main/java/fgis/server/services/DataGeneratorEJB.java
src/main/java/fgis/server/services/DataGeneratorEJB.java
Java
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install lxml" - "pip install pytest" - "python setup.py develop" - python setup.py --command-packages=stdeb.command bdist_deb script: py.test deploy: provider: packagecloud repository: "wirecurly" username: "fede...
language: python python: - "2.6" - "2.7" install: - "pip install lxml" - "pip install pytest" - "pip install stdeb" - "python setup.py develop" - python setup.py --command-packages=stdeb.command bdist_deb script: py.test deploy: provider: packagecloud repository: "wirecurly" username: "fedecastro" ...
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" install: - "pip install lxml" - "pip install pytest" - "python setup.py develop" - python setup.py --command-packages=stdeb.command bdist_deb script: py.test deploy: provider: packagecloud repository: "wirecurly" username: "fede...
0dfec6c1e8fc6b15889bbb8932e229fde7e3dc29
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sh/aliases.sh # shellcheck shell=sh # Enable colour support for ls and *grep if [ -n "$LS_COLORS" ] || [ -n "$LSCOLORS" ]; then alias ls='ls --color=auto' alias grep='grep --color=auto' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' fi # vim: syntax=sh cc=80 tw=...
# shellcheck shell=sh # Enable colour support for ls and *grep if [ -n "$LS_COLORS" ] || [ -n "$LSCOLORS" ]; then alias ls='ls --color=auto' alias grep='grep --color=auto' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' fi # Common ag searches if command -v ag > /dev/null; then a...
<|file_sep|>original/sh/aliases.sh # shellcheck shell=sh # Enable colour support for ls and *grep if [ -n "$LS_COLORS" ] || [ -n "$LSCOLORS" ]; then alias ls='ls --color=auto' alias grep='grep --color=auto' alias egrep='egrep --color=auto' alias fgrep='fgrep --color=auto' fi # vim: syntax=sh cc=80 tw=...
ba486f1476de7ee444a301d2199689bfe5444f33
sh/aliases.sh
sh/aliases.sh
Shell
<|file_sep|>original/build-for-unity.cmd setlocal pushd %~dp0 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319 call %msBuildDir%\msbuild.exe ClientKit\ClientKit.csproj /p:Configuration=Release20 /p:OutputPath=..\Managed-OSVR-Unity /p:NativeOutputSuffix32=x86 /p:NativeOutputSuffix64=x86_64%* endlocal <|file_...
setlocal pushd %~dp0 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319 call %msBuildDir%\msbuild.exe ClientKit\ClientKit.csproj /p:Configuration=Release20 /p:OutputPath=..\Managed-OSVR-Unity /p:NativeOutputSuffix32=x86 /p:NativeOutputSuffix64=x86_64 %* endlocal
<|file_sep|>original/build-for-unity.cmd setlocal pushd %~dp0 set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319 call %msBuildDir%\msbuild.exe ClientKit\ClientKit.csproj /p:Configuration=Release20 /p:OutputPath=..\Managed-OSVR-Unity /p:NativeOutputSuffix32=x86 /p:NativeOutputSuffix64=x86_64%* endlocal <|file_...
6909eefc0813c189b32eb94bb2cee9a8dec804c9
build-for-unity.cmd
build-for-unity.cmd
Batchfile
<|file_sep|>original/spec/unit/morpher/printer_spec.rb <|file_sep|>current/spec/unit/morpher/printer_spec.rb <|file_sep|>updated/spec/unit/morpher/printer_spec.rb
require 'spec_helper' describe Morpher::Printer::Mixin do describe '#description' do let(:object) do Class.new do include Morpher::Printer::Mixin, Adamantium::Flat def self.name 'Foo' end printer do name end end end subject { obje...
<|file_sep|>original/spec/unit/morpher/printer_spec.rb <|file_sep|>current/spec/unit/morpher/printer_spec.rb <|file_sep|>updated/spec/unit/morpher/printer_spec.rb require 'spec_helper' describe Morpher::Printer::Mixin do describe '#description' do let(:object) do Class.new do include Morpher::Pri...
130c87ebae1836be8c64ecd22ca09485b4bb94fe
spec/unit/morpher/printer_spec.rb
spec/unit/morpher/printer_spec.rb
Ruby
<|file_sep|>original/graphMethod.sh <|file_sep|>current/graphMethod.sh <|file_sep|>updated/graphMethod.sh
#!/bin/sh # Uses dot to produce a graph of the method $2 in file $1. # Saves as $2.pdf in current directory. DOT=${DOT:-"dot"} if [ $# != 2 ]; then echo "usage: $0 FILE METHOD" exit 1 fi ./starling.sh -s graph -t "$2" "$1" | $DOT -Tpdf > "${2}.pdf"
<|file_sep|>original/graphMethod.sh <|file_sep|>current/graphMethod.sh <|file_sep|>updated/graphMethod.sh #!/bin/sh # Uses dot to produce a graph of the method $2 in file $1. # Saves as $2.pdf in current directory. DOT=${DOT:-"dot"} if [ $# != 2 ]; then echo "usage: $0 FILE METHOD" exit 1 fi ./starling.sh -s gr...
825ad66d842f619121a8dfe60283bb015a3da68e
graphMethod.sh
graphMethod.sh
Shell
<|file_sep|>original/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRender.java package info.u_team.u_team_core.gui.render; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.inventory.container.PlayerContainer; import net.minecr...
package info.u_team.u_team_core.gui.render; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.inventory.container.PlayerContainer; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fluids.FluidStack; public class FluidInven...
<|file_sep|>original/src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRender.java package info.u_team.u_team_core.gui.render; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.inventory.container.PlayerContainer; import net.minecr...
40a56a1d80b69fc455bf113be41f16febdcee755
src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRender.java
src/main/java/info/u_team/u_team_core/gui/render/FluidInventoryRender.java
Java
<|file_sep|>original/README.md Then, if you have sprockets installed through [middleman-sprockets](https://github.com/middleman/middleman-sprockets), you can create a spec.js file in spec/javascripts to include all your specs, i.e. ``` //= require_tree . ``` Add the following code to your `config.rb` file: ``` act...
Add the following code to your `config.rb` file: ``` activate: :jasmine ``` Write a spec file under spec/javascripts and hit /jasmine under your Middleman app, e.g. http://localhost:4567/jasmine. You should see the results of the spec pass/fail under Jasmine. NOTE: If you want to include your application.js into...
<|file_sep|>original/README.md Then, if you have sprockets installed through [middleman-sprockets](https://github.com/middleman/middleman-sprockets), you can create a spec.js file in spec/javascripts to include all your specs, i.e. ``` //= require_tree . ``` Add the following code to your `config.rb` file: ``` act...
8b2b0d03742fcd42718bf81b9c200a878801be6b
README.md
README.md
Markdown
<|file_sep|>luv.c.diff original: int luv_newindex(lua_State* L) { updated: static int luv_newindex(lua_State* L) { <|file_sep|>luv.c.diff original: updated: } static int luv_index(lua_State* L) { #ifdef LUV_STACK_CHECK int top = lua_gettop(L); #endif lua_getfenv(L, 1); lua_pushvalue(L, 2); lua_rawget(L, -2); ...
assert(lua_gettop(L) == top + 1); #endif return 1; } LUALIB_API int luaopen_luv (lua_State *L) { luv_main_thread = L; luaL_newmetatable(L, "luv_handle"); lua_pushcfunction(L, luv_newindex); lua_setfield(L, -2, "__newindex"); lua_pushcfunction(L, luv_index); lua_setfield(L, -2, "__index"); lua_pop(L...
<|file_sep|>luv.c.diff original: int luv_newindex(lua_State* L) { updated: static int luv_newindex(lua_State* L) { <|file_sep|>luv.c.diff original: updated: } static int luv_index(lua_State* L) { #ifdef LUV_STACK_CHECK int top = lua_gettop(L); #endif lua_getfenv(L, 1); lua_pushvalue(L, 2); lua_rawget(L, -2); ...
f3826a11eb29d54ecc30ed509699aaec7c20a969
luv.c
luv.c
C
<|file_sep|>original/requirements-dev.txt flake8==3.0.4 pytest==3.0.3 pytest-cov==2.4.0 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.4.8 lz4tools==1.3.1.2 xxhash==0.6.1 sphinxcontrib-asyncio>=0.2.0 sphinx-rtd-theme==0.1.9 <|file_sep|>current/requirements-dev.txt flake8==3.0.4 pytest==3.0.3 pytest-...
flake8==3.0.4 pytest==3.0.4 pytest-cov==2.4.0 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.4.8 lz4tools==1.3.1.2 xxhash==0.6.1 sphinxcontrib-asyncio>=0.2.0 sphinx-rtd-theme==0.1.9
<|file_sep|>original/requirements-dev.txt flake8==3.0.4 pytest==3.0.3 pytest-cov==2.4.0 pytest-catchlog==1.2.2 docker-py==1.10.6 coveralls==1.1 Sphinx==1.4.8 lz4tools==1.3.1.2 xxhash==0.6.1 sphinxcontrib-asyncio>=0.2.0 sphinx-rtd-theme==0.1.9 <|file_sep|>current/requirements-dev.txt flake8==3.0.4 pytest==3.0.3 pytest-...
ecb5f45ca5ee3f69fbaf75f7b99f498478a90422
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>common/app/Router/redux/add-lang-enhancer.js.diff original: // they do not need to be explicitally added when using a RFR route action. updated: // they do not need to be explicitly added when using a RFR route action. <|file_sep|>original/common/app/Router/redux/add-lang-enhancer.js // they do not need to ...
// they do not need to be explicitly added when using a RFR route action. export default function addLangToRouteEnhancer(routesMap) { return createStore => (...args) => { const store = createStore(...args); return { ...store, dispatch(action) { if ( routesMap[action.type] && ...
<|file_sep|>common/app/Router/redux/add-lang-enhancer.js.diff original: // they do not need to be explicitally added when using a RFR route action. updated: // they do not need to be explicitly added when using a RFR route action. <|file_sep|>original/common/app/Router/redux/add-lang-enhancer.js // they do not need to ...
63875316d9df4983c477600dac427f1bed899ae2
common/app/Router/redux/add-lang-enhancer.js
common/app/Router/redux/add-lang-enhancer.js
JavaScript
<|file_sep|>original/htdocs/js/filter/filters.js return function(number) { if (typeof number != 'number') { return ""; } return Math.round(number); }; }).filter('capital', function() { 'use strict'; return function(text) { if (text.length > 0) { ...
return function(number) { if (typeof number != 'number') { return ""; } return Math.round(number); }; }).filter('capital', function() { 'use strict'; return function(text) { if (text) { return text.charAt(0).toUpperCase() + text.slice(1); ...
<|file_sep|>original/htdocs/js/filter/filters.js return function(number) { if (typeof number != 'number') { return ""; } return Math.round(number); }; }).filter('capital', function() { 'use strict'; return function(text) { if (text.length > 0) { ...
bb6f6ac51339fe41498a40def9695854d02cfc22
htdocs/js/filter/filters.js
htdocs/js/filter/filters.js
JavaScript
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.10.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.10.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytes...
mypy==0.641 pytest==4.0.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0
<|file_sep|>original/dev-requirements.txt mypy==0.641 pytest==3.10.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytest-monkeytype==1.0.1 jedi==0.13.1 coverage==4.5.1 flake8==3.6.0 typed-ast==1.1.0 rope==0.11.0 <|file_sep|>current/dev-requirements.txt mypy==0.641 pytest==3.10.0 pytest-cov==2.6.0 pytest-asyncio==0.9.0 pytes...
6b4170b0efa4ce94a3b078cca2706a01b65ff11b
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/slideatlas/templates/sessionlist.html {% for session in sessions %} {% if session.type == 'stack' %} <tr> <td> <a href="/webgl-viewer/stack?db={{ role.db|string }}&sess={{ session.id|string }}" class="lead">{{ session.label }}</a> </td...
{% for session in sessions %} {% if session.type == 'stack' %} <tr> <td> <a href="/webgl-viewer/stack?db={{ role.db|string }}&sess={{ session.id|string }}" class="lead">{{ session.label }}</a> </td> </tr> {% else %} <tr> ...
<|file_sep|>original/slideatlas/templates/sessionlist.html {% for session in sessions %} {% if session.type == 'stack' %} <tr> <td> <a href="/webgl-viewer/stack?db={{ role.db|string }}&sess={{ session.id|string }}" class="lead">{{ session.label }}</a> </td...
673f8f04e0a839fbdd8c5d83b3ec74346980cac2
slideatlas/templates/sessionlist.html
slideatlas/templates/sessionlist.html
HTML
<|file_sep|>.travis.yml.diff original: directories: - $HOME/miniconda updated: <|file_sep|>.travis.yml.diff original: - bash miniconda.sh -b -u -p $HOME/miniconda updated: - bash miniconda.sh -b -p $HOME/miniconda <|file_sep|>original/.travis.yml install: - wget https://repo.continuum.io/miniconda/Minic...
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda - conda install conda-env # Useful fo...
<|file_sep|>.travis.yml.diff original: directories: - $HOME/miniconda updated: <|file_sep|>.travis.yml.diff original: - bash miniconda.sh -b -u -p $HOME/miniconda updated: - bash miniconda.sh -b -p $HOME/miniconda <|file_sep|>original/.travis.yml install: - wget https://repo.continuum.io/miniconda/Minic...
8c338879a2af98db41921dcf1088baba75d1324e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.config/nvim/custom/functions.vim function! ToggleTodoToday() s/\([^ ][^\*]\)$/\1 bbb/e s/ \*$//e s/bbb$/*/e endfunction " CopyMode function! CopyModeToggle() if &number set nonumber set norelativenumber else set number set relativenumber endif endfunction " Clear whit...
function! ToggleTodoToday() s/\([^ ][^\*]\)$/\1 bbb/e s/ \*$//e s/bbb$/*/e endfunction " CopyMode function! CopyModeToggle() if &number set nonumber set norelativenumber else set number set relativenumber endif endfunction " Clear whitespace at end of line function! ClearExtraWhitespace() ...
<|file_sep|>original/.config/nvim/custom/functions.vim function! ToggleTodoToday() s/\([^ ][^\*]\)$/\1 bbb/e s/ \*$//e s/bbb$/*/e endfunction " CopyMode function! CopyModeToggle() if &number set nonumber set norelativenumber else set number set relativenumber endif endfunction " Clear whit...
ec144254383c526df710b6982c4fa8ff1ecfbb58
.config/nvim/custom/functions.vim
.config/nvim/custom/functions.vim
VimL
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/karma-runner/karma-webdriver-launcher.git" }, "keywords": [ "karma-plugin", "launcher", "WebDriver" ], "author": "Alan Parkinson <alan.parkinson@hindsightsoftware.co.uk>", "contributors": [ "Jac...
"repository": { "type": "git", "url": "git://github.com/karma-runner/karma-webdriver-launcher.git" }, "keywords": [ "karma-plugin", "launcher", "WebDriver" ], "author": "Alan Parkinson <alan.parkinson@hindsightsoftware.co.uk>", "contributors": [ "Jack Bastow <jack.bastow@hindsightsof...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/karma-runner/karma-webdriver-launcher.git" }, "keywords": [ "karma-plugin", "launcher", "WebDriver" ], "author": "Alan Parkinson <alan.parkinson@hindsightsoftware.co.uk>", "contributors": [ "Jac...
ec66b38b9c040ee0b5111b2fc1166a6a7c52981d
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" env: - DJANGO_VERSION=1.3.7 - DJANGO_VERSION=1.4.10 - DJANGO_VERSION=1.5.5 - DJANGO_VERSION=1.6.2 install: - python setup.py develop script: - bash test....
language: python python: - "2.7" env: - DJANGO_VERSION=1.3.7 - DJANGO_VERSION=1.4.20 - DJANGO_VERSION=1.5.12 - DJANGO_VERSION=1.6.11 - DJANGO_VERSION=1.7.8 - DJANGO_VERSION=1.8.2 install: - python setup.py develop script: - bash test.sh
<|file_sep|>.travis.yml.diff original: - "2.6" updated: <|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" env: - DJANGO_VERSION=1.3.7 - DJANGO_VERSION=1.4.10 - DJANGO_VERSION=1.5.5 - DJANGO_VERSION=1.6.2 install: - python setup.py develop script: - bash test....
82c56bc8543ac3a969d7007cf53bb7b41fed3b9f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/conf/configuration.ini # Amount of URLs to be analyzed by the Crawler amount-iterations = 10 [URL-PARAMS] analyzer-threads = 1 downloader-threads = 10 parser-threads = 3 # URL that triggers the application. Must start with the prefix http:// initial-url = http://www.atpworldtour.com # Value must b...
# Amount of URLs to be analyzed by the Crawler amount-iterations = 10 [URL-PARAMS] analyzer-threads = 1 downloader-threads = 10 parser-threads = 3 # URL that triggers the application. Must start with the prefix http:// initial-url = http://www.atpworldtour.com # Value must be greater than zero. (Default = 1) nesting-t...
<|file_sep|>original/conf/configuration.ini # Amount of URLs to be analyzed by the Crawler amount-iterations = 10 [URL-PARAMS] analyzer-threads = 1 downloader-threads = 10 parser-threads = 3 # URL that triggers the application. Must start with the prefix http:// initial-url = http://www.atpworldtour.com # Value must b...
0f7dc80d5052b91e811c7cf8f1080fb9a911b872
conf/configuration.ini
conf/configuration.ini
INI
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - tip sudo: false <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - tip sudo: false <|file_sep|>updated/.travis.yml
language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - 1.5 sudo: false
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - tip sudo: false <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - tip sudo: false <|file_sep|>updated/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 - 1.5...
7705bc8d1c870a4dbfd0d04f150a6747ecdecb5d
.travis.yml
.travis.yml
YAML
<|file_sep|>provision.sh.diff original: sudo yum install java sudo yum install openssl sudo yum install openssl-devel updated: sudo yum -y install java sudo yum -y install openssl sudo yum -y install openssl-devel <|file_sep|>provision.sh.diff original: sudo yum install epel-release sudo yum --enablerepo=epel install r...
sudo yum -y install openssl sudo yum -y install openssl-devel # Elasticsearch wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.tar.gz tar xzvf elasticsearch-1.6.0.tar.gz rm elasticsearch-1.6.0.tar.gz # Ruby git clone https://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="...
<|file_sep|>provision.sh.diff original: sudo yum install java sudo yum install openssl sudo yum install openssl-devel updated: sudo yum -y install java sudo yum -y install openssl sudo yum -y install openssl-devel <|file_sep|>provision.sh.diff original: sudo yum install epel-release sudo yum --enablerepo=epel install r...
21b276355b20369020bfef3a925001a646fce7f7
provision.sh
provision.sh
Shell
<|file_sep|>original/README.md neo4apis-twitter is a ruby gem for making importing data from twitter to neo4j easy This adapter supports objects created from the `twitter` gem. ```ruby twitter_client = Twitter::REST::Client.new ... neo4japis_twitter = Neo4Apis::Twitter.new(Neo4j::Session.open, import_retweets: tru...
neo4apis-twitter is a ruby gem for making importing data from twitter to neo4j easy This adapter supports objects created from the `twitter` gem. ```ruby twitter_client = Twitter::REST::Client.new ... neo4japis_twitter = Neo4Apis::Twitter.new(Neo4j::Session.open, import_re...
<|file_sep|>original/README.md neo4apis-twitter is a ruby gem for making importing data from twitter to neo4j easy This adapter supports objects created from the `twitter` gem. ```ruby twitter_client = Twitter::REST::Client.new ... neo4japis_twitter = Neo4Apis::Twitter.new(Neo4j::Session.open, import_retweets: tru...
2a51b71715690330dced147c5b3b5322284478d7
README.md
README.md
Markdown
<|file_sep|>src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs.diff original: var text = document.GetTextAsync(cancellationToken).WaitAndGetResult(cancellationToken); updated: var text = document?.GetTextAsync(cancellationToken).WaitAndGetResult(cancellationToken); ...
var textSnapshot = text.FindCorrespondingEditorTextSnapshot(); var textBuffer = textSnapshot?.TextBuffer; return editorAdaptersFactoryService.TryGetUndoManager(textBuffer); } public static IOleUndoManager TryGetUndoManager( this IVsEditorAdaptersFactorySe...
<|file_sep|>src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs.diff original: var text = document.GetTextAsync(cancellationToken).WaitAndGetResult(cancellationToken); updated: var text = document?.GetTextAsync(cancellationToken).WaitAndGetResult(cancellationToken); ...
1826965ea15fe44ecd590b60f43c72686eb4b51a
src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs
src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs
C#
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <title>ES6 workshop</title> <meta charSet="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.min.js"></script> <link rel=...
<!DOCTYPE html> <html lang="en"> <head> <title>ES6 workshop</title> <meta charSet="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.js"></script> <link rel="stylesheet" href="http://yui.yahooapis....
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <title>ES6 workshop</title> <meta charSet="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react-with-addons.min.js"></script> <link rel=...
d2ba5b1c7f171f6513cccc54e2ac8bce8b260dda
src/index.html
src/index.html
HTML
<|file_sep|>st2common/st2common/transport/__init__.py.diff original: from st2common.transport import bootstrap_utils, utils, connection_retry_wrapper updated: from st2common.transport import utils, connection_retry_wrapper <|file_sep|>original/st2common/st2common/transport/__init__.py # Unless required by applicable la...
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. f...
<|file_sep|>st2common/st2common/transport/__init__.py.diff original: from st2common.transport import bootstrap_utils, utils, connection_retry_wrapper updated: from st2common.transport import utils, connection_retry_wrapper <|file_sep|>original/st2common/st2common/transport/__init__.py # Unless required by applicable la...
0942ee64b3d84d5ea818a204c16b80d4120e54f2
st2common/st2common/transport/__init__.py
st2common/st2common/transport/__init__.py
Python
<|file_sep|>week-07.md.diff original: - title: "Icon card" updated: - title: "Responsive photo gallery" url: "https://github.com/acgd-webdev-3/responsive-photo-gallery" <|file_sep|>original/week-07.md url: modular-layout - title: "Gridifier cheat sheet" url: gridifier-cheat-sheet - title: "Typografi...
- title: "Typografier cheat sheet" url: typografier-cheat-sheet - title: "Modulifier cheat sheet" url: modulifier-cheat-sheet group_activities: - title: "Finding patterns" pair: true type: pencil tasks: - title: "Module Mogul" type: activity - type: blank - title: "Responsive photo gal...
<|file_sep|>week-07.md.diff original: - title: "Icon card" updated: - title: "Responsive photo gallery" url: "https://github.com/acgd-webdev-3/responsive-photo-gallery" <|file_sep|>original/week-07.md url: modular-layout - title: "Gridifier cheat sheet" url: gridifier-cheat-sheet - title: "Typografi...
4f07d0d2663a20036db9e1333247f055f940556a
week-07.md
week-07.md
Markdown
<|file_sep|>original/ci/deploy.sh count=$((count + 1)) if [[ $count -gt $max ]]; then return 1 fi echo "$count / $max" done return 0 } # configure docker creds retry 3 docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" # docker tag and push ...
count=$((count + 1)) if [[ $count -gt $max ]]; then return 1 fi echo "$count / $max" done return 0 } # configure docker creds retry 3 docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" # docker tag and push git branch to dockerhub if [ -n "$1" ]; then if [...
<|file_sep|>original/ci/deploy.sh count=$((count + 1)) if [[ $count -gt $max ]]; then return 1 fi echo "$count / $max" done return 0 } # configure docker creds retry 3 docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" # docker tag and push ...
a9f0042108987093246788de76b0811536a23c42
ci/deploy.sh
ci/deploy.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: - ACTIVE_RECORD_VERSION="~> 5.0.0" <|file_sep|>original/.travis.yml env: - ACTIVE_RECORD_BRANCH="master" - ACTIVE_RECORD_VERSION="~> 4.2.0" - ACTIVE_RECORD_VERSION="~> 4.1.0" - ACTIVE_RECORD_VERSION="~> 4.0.0" - ACTIVE_RECORD_VERSION="~> 3.2.0" - ACTIVE_REC...
matrix: allow_failures: - env: ACTIVE_RECORD_BRANCH="master" exclude: - env: ACTIVE_RECORD_BRANCH="master" rvm: "1.9" - env: ACTIVE_RECORD_BRANCH="master" rvm: "2.0" - env: ACTIVE_RECORD_BRANCH="master" rvm: "2.1" - env: ACTIVE_RECORD_BRANCH="master" rvm: jruby-19mode ...
<|file_sep|>.travis.yml.diff original: updated: - ACTIVE_RECORD_VERSION="~> 5.0.0" <|file_sep|>original/.travis.yml env: - ACTIVE_RECORD_BRANCH="master" - ACTIVE_RECORD_VERSION="~> 4.2.0" - ACTIVE_RECORD_VERSION="~> 4.1.0" - ACTIVE_RECORD_VERSION="~> 4.0.0" - ACTIVE_RECORD_VERSION="~> 3.2.0" - ACTIVE_REC...
84c7f4faa8a47b673c3340c6aef2f016c6e0dd0d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "generator-metalpages", "version": "0.1.0", "description": "Metalsmith your GitHub Pages.", "license": "MIT", "homepage": "https://github.com/gillesfabio/generator-metalpages", "bugs": "https://github.com/gillesfabio/generator-metalpages/issues", "author": { ...
{ "name": "generator-metalpages", "version": "0.1.1", "description": "Metalsmith your GitHub Pages.", "license": "MIT", "homepage": "https://github.com/gillesfabio/generator-metalpages", "bugs": "https://github.com/gillesfabio/generator-metalpages/issues", "author": { "name": "Gilles Fabio", "emai...
<|file_sep|>original/package.json { "name": "generator-metalpages", "version": "0.1.0", "description": "Metalsmith your GitHub Pages.", "license": "MIT", "homepage": "https://github.com/gillesfabio/generator-metalpages", "bugs": "https://github.com/gillesfabio/generator-metalpages/issues", "author": { ...
c608b27ae1b17681a3d7f1b7fe49f69202f4d5da
package.json
package.json
JSON
<|file_sep|>original/app/views/users/show.html.erb <h3 class='notice'><%= flash[:notice] %><h3> <% if admin? %> <h3>Recipes <%= @user.name %> Posted:</h3> <% else %> <h1>Welcome, <%= @user.name %>!</h1> <h3>Recipes You've Posted:</h3> <% end %> <ul> <% @user.recipes.each do |recipe| %> <li><%= link_to "#...
<h3 class='notice'><%= flash[:notice] %><h3> <% if admin? %> <h3>Recipes by <%= @user.name %>:</h3> <% else %> <h1>Welcome, <%= @user.name %>!</h1> <h3>Recipes You've Posted:</h3> <% end %> <ul> <% @user.recipes.each do |recipe| %> <li><%= link_to "#{recipe.title}", recipe %></li> <% end %> </ul>
<|file_sep|>original/app/views/users/show.html.erb <h3 class='notice'><%= flash[:notice] %><h3> <% if admin? %> <h3>Recipes <%= @user.name %> Posted:</h3> <% else %> <h1>Welcome, <%= @user.name %>!</h1> <h3>Recipes You've Posted:</h3> <% end %> <ul> <% @user.recipes.each do |recipe| %> <li><%= link_to "#...
758d12b0f7fd20449ff8f4cbd48eb2c9855861a1
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB