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/README.md # The Lovász-Softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks Maxim Berman, Amal Rannen Triki, Matthew B. Blaschko ESAT-PSI, KU Leuven, belgium. To appear in CVPR 2018. See [project page](http://localhost:8000/LovaszSoft...
# The Lovász-Softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks Maxim Berman, Amal Rannen Triki, Matthew B. Blaschko ESAT-PSI, KU Leuven, belgium. To appear in CVPR 2018. See [project page](http://bmax.im/LovaszSoftmax) and [arxiv paper](https://arxiv.o...
<|file_sep|>original/README.md # The Lovász-Softmax loss: A tractable surrogate for the optimization of the intersection-over-union measure in neural networks Maxim Berman, Amal Rannen Triki, Matthew B. Blaschko ESAT-PSI, KU Leuven, belgium. To appear in CVPR 2018. See [project page](http://localhost:8000/LovaszSoft...
e3879bdd4e99bf6763eaaf7e48863f3d567b3ff5
README.md
README.md
Markdown
<|file_sep|>app/views/devise/sessions/new.html.erb.diff original: <%= f.email_field :email, class: 'form-control input-lg', autofocus: 'autofocus' %> updated: <%= f.email_field :email, class: 'form-control input-lg', tabindex: 1, autofocus: 'autofocus' %> <|file_sep|>app/views/devise/sessions/new.html.e...
<%= f.email_field :email, class: 'form-control input-lg', tabindex: 1, autofocus: 'autofocus' %> </div> <div class="form-group"> <%= f.label :password, "Passphrase" %> <%= f.password_field :password, tabindex: 2, class: 'form-control input-lg' %> </div> <%= render "link...
<|file_sep|>app/views/devise/sessions/new.html.erb.diff original: <%= f.email_field :email, class: 'form-control input-lg', autofocus: 'autofocus' %> updated: <%= f.email_field :email, class: 'form-control input-lg', tabindex: 1, autofocus: 'autofocus' %> <|file_sep|>app/views/devise/sessions/new.html.e...
fb9b24ba0f8058dcdf29f70cbfcfc0afd7439abe
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
HTML+ERB
<|file_sep|>tools/tools/portsinfo/portsinfo.sh.diff original: # $Id$ updated: # $Id: portsinfo,v 1.3 1997/05/28 19:51:20 wosch Exp wosch $ PATH=/bin:/usr/bin:/usr/local/bin:$PATH; export PATH <|file_sep|>tools/tools/portsinfo/portsinfo.sh.diff original: lynx -nolist -dump "$url$time" | grep -v "Description _:_" | perl...
#!/bin/sh # Copyright (c) April 1997 Wolfram Schneider <wosch@FreeBSD.org>, Berlin. # # portsinfo - Generate list of new ports for last two weeks. # # $Id: portsinfo,v 1.3 1997/05/28 19:51:20 wosch Exp wosch $ PATH=/bin:/usr/bin:/usr/local/bin:$PATH; export PATH url=http://www.de.freebsd.org/de/cgi/ports.cgi time='?t...
<|file_sep|>tools/tools/portsinfo/portsinfo.sh.diff original: # $Id$ updated: # $Id: portsinfo,v 1.3 1997/05/28 19:51:20 wosch Exp wosch $ PATH=/bin:/usr/bin:/usr/local/bin:$PATH; export PATH <|file_sep|>tools/tools/portsinfo/portsinfo.sh.diff original: lynx -nolist -dump "$url$time" | grep -v "Description _:_" | perl...
27f026307fced96c7279c6343bb3a5f92b677951
tools/tools/portsinfo/portsinfo.sh
tools/tools/portsinfo/portsinfo.sh
Shell
<|file_sep|>original/src/Attr.php * Element::getAttributeNode()) or means of iterating give Attr types. * * @property-read Element $ownerElement * @property-read Element $parentNode * @property-read Node|Element|null $firstChild * @property-read Node|Element|null $lastChild * @property-read Node|Element|null $pr...
* * @property-read Element $ownerElement * @property-read Element $parentNode * @property-read Node|Element|null $firstChild * @property-read Node|Element|null $lastChild * @property-read Node|Element|null $previousSibling * @property-read Node|Element|null $nextSibling * @property-read Document $ownerDocument ...
<|file_sep|>original/src/Attr.php * Element::getAttributeNode()) or means of iterating give Attr types. * * @property-read Element $ownerElement * @property-read Element $parentNode * @property-read Node|Element|null $firstChild * @property-read Node|Element|null $lastChild * @property-read Node|Element|null $pr...
4ac7162d70ad74eb5c24cdf822fac8504d58ec0c
src/Attr.php
src/Attr.php
PHP
<|file_sep|>original/.appveyor.yml image: - Visual Studio 2017 environment: matrix: - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python37-x64" install: - "%PYTHON%\\python.exe -m pip install --upgrade setuptools pip" - "%PYTHON%\\python.ex...
image: - Visual Studio 2017 environment: matrix: - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" install: - "%PYTHON%\\python.exe -m pip install --upgrade setuptools pip" - "%PYTHON%\\python.exe -m pip --version" - "git --version" - "%PYTHON%\\python.exe -m...
<|file_sep|>original/.appveyor.yml image: - Visual Studio 2017 environment: matrix: - PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python37-x64" install: - "%PYTHON%\\python.exe -m pip install --upgrade setuptools pip" - "%PYTHON%\\python.ex...
28bce64c16825dacbc8ce1854f5f5a3ff65ae36c
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>pkgs/development/tools/analysis/radare/default.nix.diff original: name = "radare-1.5"; updated: name = "radare-1.5.2"; <|file_sep|>pkgs/development/tools/analysis/radare/default.nix.diff original: sha256 = "1r0c9cc7z9likma8zicp2pbv2y85vjjmnk0k45wdhbvhgqh6il1h"; updated: sha256 = "1qdrmcnzfvfvqb2...
in stdenv.mkDerivation rec { name = "radare-1.5.2"; src = fetchurl { url = "http://radare.org/get/${name}.tar.gz"; sha256 = "1qdrmcnzfvfvqb27c7pknwm8jl2hqa6c4l66wzyddwlb8yjm46hd"; }; buildInputs = [pkgconfig readline libusb perl] ++ optional useX11 [gtkdialog vte gtk] ++ optional rubyBindings...
<|file_sep|>pkgs/development/tools/analysis/radare/default.nix.diff original: name = "radare-1.5"; updated: name = "radare-1.5.2"; <|file_sep|>pkgs/development/tools/analysis/radare/default.nix.diff original: sha256 = "1r0c9cc7z9likma8zicp2pbv2y85vjjmnk0k45wdhbvhgqh6il1h"; updated: sha256 = "1qdrmcnzfvfvqb2...
71086542eee808093db5bc7be5c45a6c46a4409f
pkgs/development/tools/analysis/radare/default.nix
pkgs/development/tools/analysis/radare/default.nix
Nix
<|file_sep|>original/tests/conftest.py import pytest @pytest.fixture def event_loop(): print("in event_loop") try: import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) except ImportError: pass loop = asyncio.new_event_loop() yield l...
import pytest @pytest.fixture def event_loop(): try: import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) except ImportError: pass loop = asyncio.new_event_loop() yield loop loop.close()
<|file_sep|>original/tests/conftest.py import pytest @pytest.fixture def event_loop(): print("in event_loop") try: import asyncio import uvloop asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) except ImportError: pass loop = asyncio.new_event_loop() yield l...
00f1ff26fcd7d0398d057eee2c7c6f6b2002e959
tests/conftest.py
tests/conftest.py
Python
<|file_sep|>src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs.diff original: using System; updated: using Newtonsoft.Json; using System; <|file_sep|>original/src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs N = param.Modulus, E = param.Exponent }; if (param.D ...
jwk.Q = param.Q; if (param.DP != null) jwk.DP = param.DP; if (param.DQ != null) jwk.DQ = param.DQ; if (param.InverseQ != null) jwk.QI = param.InverseQ; return jwk; } public static JsonRsaWeb...
<|file_sep|>src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs.diff original: using System; updated: using Newtonsoft.Json; using System; <|file_sep|>original/src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs N = param.Modulus, E = param.Exponent }; if (param.D ...
524fddef4804b8d92b7d4d6ae9b19beef5e2a1be
src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs
src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs
C#
<|file_sep|>original/network_tap/healthcheck/requirements.txt flask==1.1.1 healthcheck==1.3.3 six==1.13.0 <|file_sep|>current/network_tap/healthcheck/requirements.txt flask==1.1.1 healthcheck==1.3.3 six==1.13.0 <|file_sep|>updated/network_tap/healthcheck/requirements.txt
flask==1.1.1 healthcheck==1.3.3 six==1.14.0
<|file_sep|>original/network_tap/healthcheck/requirements.txt flask==1.1.1 healthcheck==1.3.3 six==1.13.0 <|file_sep|>current/network_tap/healthcheck/requirements.txt flask==1.1.1 healthcheck==1.3.3 six==1.13.0 <|file_sep|>updated/network_tap/healthcheck/requirements.txt flask==1.1.1 healthcheck==1.3.3 six==1.14.0
beee730d24ec9526feb2e8cd4a679abe99e18bd4
network_tap/healthcheck/requirements.txt
network_tap/healthcheck/requirements.txt
Text
<|file_sep|>original/.travis.yml language: java sudo: required before_script: - ulimit -s unlimited script: mvn test <|file_sep|>current/.travis.yml language: java sudo: required before_script: - ulimit -s unlimited script: mvn test <|file_sep|>updated/.travis.yml
language: java sudo: required branches: only: - master - develop before_script: - ulimit -s unlimited script: mvn test
<|file_sep|>original/.travis.yml language: java sudo: required before_script: - ulimit -s unlimited script: mvn test <|file_sep|>current/.travis.yml language: java sudo: required before_script: - ulimit -s unlimited script: mvn test <|file_sep|>updated/.travis.yml language: java sudo: required branches: only: - m...
32e660578ead04681665d9183f8c6c497d02a95e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/load_events.rb <|file_sep|>current/load_events.rb <|file_sep|>updated/load_events.rb
#!/usr/bin/env ruby # # Copyright 2012 Georgios Gousios <gousiosg@gmail.com> # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above # copyright notice, this ...
<|file_sep|>original/load_events.rb <|file_sep|>current/load_events.rb <|file_sep|>updated/load_events.rb #!/usr/bin/env ruby # # Copyright 2012 Georgios Gousios <gousiosg@gmail.com> # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # cond...
e6b2dcc35e33399a53259b82e4d5ac956e134c44
load_events.rb
load_events.rb
Ruby
<|file_sep|>original/spec/support/fake_cronitor.rb require 'sinatra/base' class FakeCronitor < Sinatra::Base get '/v1/monitors/:id' do if ['abcd', 'Test Cronitor'].include? params['id'] json_response 200, 'existing_monitor' end json_response 404 end post '/v1/monitors' do payload = JSON.p...
require 'sinatra/base' class FakeCronitor < Sinatra::Base get '/v1/monitors/:id' do if ['abcd', 'Test Cronitor'].include? params['id'] return json_response 200, 'existing_monitor' end json_response 404 end post '/v1/monitors' do payload = JSON.parse request.body.read # Check that we h...
<|file_sep|>original/spec/support/fake_cronitor.rb require 'sinatra/base' class FakeCronitor < Sinatra::Base get '/v1/monitors/:id' do if ['abcd', 'Test Cronitor'].include? params['id'] json_response 200, 'existing_monitor' end json_response 404 end post '/v1/monitors' do payload = JSON.p...
8c637f59223626bdd6d0971a38d3659c5da7648e
spec/support/fake_cronitor.rb
spec/support/fake_cronitor.rb
Ruby
<|file_sep|>.travis.yml.diff original: - provider: releases api_key: $GITHUB_OAUTH_TOKEN body: $CHANGELOG skip_cleanup: true on: tags: true python: '3.6' updated: <|file_sep|>original/.travis.yml language: python python: - '2.7' - '3.4' - '3.5' - '3.6' git: depth: false install: pip install codecov g...
install: pip install codecov gitchangelog tox-travis script: tox after_success: - codecov - export CHANGELOG=$(gitchangelog $(git describe --abbrev=0 --tags HEAD^)..HEAD) deploy: - provider: pypi distributions: sdist bdist_wheel user: $TWINE_USERNAME password: $TWINE_PASSWORD on: tags: true python: '3.6...
<|file_sep|>.travis.yml.diff original: - provider: releases api_key: $GITHUB_OAUTH_TOKEN body: $CHANGELOG skip_cleanup: true on: tags: true python: '3.6' updated: <|file_sep|>original/.travis.yml language: python python: - '2.7' - '3.4' - '3.5' - '3.6' git: depth: false install: pip install codecov g...
4bc4dd6fe5008c48607657dcf63c712ac4c78eb5
.travis.yml
.travis.yml
YAML
<|file_sep|>src/django_email_user_model/backends.py.diff original: def authenticate(self, username=None, password=None): updated: def authenticate(self, email=None, password=None, username=None): <|file_sep|>original/src/django_email_user_model/backends.py :type username: type description :param...
:type username: type description :param password: arg description :type password: type description :return: :rtype: """ user_model = get_user_model() try: user = user_model.objects.get(email=(email or username)) if user.check_pas...
<|file_sep|>src/django_email_user_model/backends.py.diff original: def authenticate(self, username=None, password=None): updated: def authenticate(self, email=None, password=None, username=None): <|file_sep|>original/src/django_email_user_model/backends.py :type username: type description :param...
4acb0d36db6777704df7e3bff6c95f38f47ce49a
src/django_email_user_model/backends.py
src/django_email_user_model/backends.py
Python
<|file_sep|>original/Tests/LinuxMain.swift #if os(Linux) import XCTest @testable import AppLogicTests XCTMain([ // AppLogicTests testCase(RouteTests.allTests), testCase(V1PublicCollectionTests.allTests), testCase(V1AdminCollectionTests.allTests) ]) #endif <|file_sep|>current/Tests/LinuxMain.swift #if...
#if os(Linux) import XCTest @testable import AppLogicTests XCTMain([ // AppLogicTests testCase(RouteTests.allTests), testCase(V1PublicCollectionTests.allTests), testCase(V1ManageCollectionTests.allTests), testCase(V1AdminCollectionTests.allTests) ]) #endif
<|file_sep|>original/Tests/LinuxMain.swift #if os(Linux) import XCTest @testable import AppLogicTests XCTMain([ // AppLogicTests testCase(RouteTests.allTests), testCase(V1PublicCollectionTests.allTests), testCase(V1AdminCollectionTests.allTests) ]) #endif <|file_sep|>current/Tests/LinuxMain.swift #if...
ea1a61831c159473f7ab33f0cd5196e9cb9e4297
Tests/LinuxMain.swift
Tests/LinuxMain.swift
Swift
<|file_sep|>original/library/DeltaCli/Extension/DefaultScripts.php { $project->addScript(new InstallFsevents($project)); $project->addScript(new SshFixKeyPermissionsScript($project)); $project->addScript(new SshInstallKeyScript($project)); $project->createScript('deploy', 'Deploy th...
{ $project->addScript(new InstallFsevents($project)); $project->addScript(new SshFixKeyPermissionsScript($project)); $project->addScript(new SshInstallKeyScript($project)); $project->createScript('deploy', 'Deploy this project.') ->requireEnvironment() ->addD...
<|file_sep|>original/library/DeltaCli/Extension/DefaultScripts.php { $project->addScript(new InstallFsevents($project)); $project->addScript(new SshFixKeyPermissionsScript($project)); $project->addScript(new SshInstallKeyScript($project)); $project->createScript('deploy', 'Deploy th...
60e7d6e7a3df205c3b2684a2e58f7bfbbf0773ef
library/DeltaCli/Extension/DefaultScripts.php
library/DeltaCli/Extension/DefaultScripts.php
PHP
<|file_sep|>package.json.diff original: "homepage": "https://github.com/bifuer/procedure", updated: "homepage": "https://github.com/pillarsjs/procedure", <|file_sep|>package.json.diff original: "url": "git://github.com/bifuer/procedure" updated: "url": "git://github.com/pillarsjs/procedure" <|file_sep|>orig...
"name": "Chelo Quilón Gomez", "email": "cheloq@gmail.com" } ], "homepage": "https://github.com/pillarsjs/procedure", "repository": { "type": "git", "url": "git://github.com/pillarsjs/procedure" }, "bugs": { "url": "https://github.com/pillarsjs/procedure/issues", "email" : "chel...
<|file_sep|>package.json.diff original: "homepage": "https://github.com/bifuer/procedure", updated: "homepage": "https://github.com/pillarsjs/procedure", <|file_sep|>package.json.diff original: "url": "git://github.com/bifuer/procedure" updated: "url": "git://github.com/pillarsjs/procedure" <|file_sep|>orig...
d41b7f61b67304517e42cf21cfe4992cb737aade
package.json
package.json
JSON
<|file_sep|>socket.h.diff original: updated: #include <arpa/nameser.h> <|file_sep|>original/socket.h #include "main.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <errno.h> #include <cstdio> <|file_sep|>current/socket.h #include "main.h" #...
#include "main.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> #include <netdb.h> #include <resolv.h> #include <errno.h> #include <cstdio>
<|file_sep|>socket.h.diff original: updated: #include <arpa/nameser.h> <|file_sep|>original/socket.h #include "main.h" #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <errno.h> #include <cstdio> <|file_sep|>current/socket.h #include "main.h" #...
93c6f1cc5f73223cdd9f68d765a241188ae8d009
socket.h
socket.h
C
<|file_sep|>original/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less .mw-echo-ui-notificationOptionWidget { a, #p-personal & a.new { // In modern, the hover color is white, which is unhelpful. color: #666666; text-decoration: none; } } // Override personal tools padding for links #p-person...
.mw-echo-ui-notificationOptionWidget { #p-personal & a, #p-personal & a.new { // In modern, the hover color is white, which is unhelpful. color: #666666; text-decoration: none; } } // Override personal tools padding for links #p-personal li .mw-echo-state a { padding: 0 0 0 0; }
<|file_sep|>original/modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less .mw-echo-ui-notificationOptionWidget { a, #p-personal & a.new { // In modern, the hover color is white, which is unhelpful. color: #666666; text-decoration: none; } } // Override personal tools padding for links #p-person...
7ad8cc24d0672111cff5beddcfc9d778a1a3478e
modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
modules/ooui/styles/mw.echo.ui.NotificationOptionWidget.modern.less
Less
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/rjrodger/seneca-mvp.git" }, "author": "", "license": "MIT", "readmeFilename": "README.md", "gitHead": "67fe3330b629831b7a670fee2aa29c48a2e0fd85", "dependencies": { "seneca-project": "~0.1.2", "seneca-account": "~0.1.4"...
"type": "git", "url": "git://github.com/rjrodger/seneca-mvp.git" }, "author": "", "license": "MIT", "readmeFilename": "README.md", "gitHead": "67fe3330b629831b7a670fee2aa29c48a2e0fd85", "dependencies": { "seneca-project": "~0.1.2", "seneca-account": "~0.1.4", "seneca-user": "~0.2.6", ...
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/rjrodger/seneca-mvp.git" }, "author": "", "license": "MIT", "readmeFilename": "README.md", "gitHead": "67fe3330b629831b7a670fee2aa29c48a2e0fd85", "dependencies": { "seneca-project": "~0.1.2", "seneca-account": "~0.1.4"...
2f60582ffccd9b76607d1a971dca8efa9ae865b7
package.json
package.json
JSON
<|file_sep|>write_posts.coffee.diff original: util = require('util') updated: <|file_sep|>original/write_posts.coffee util = require('util') module.exports = (program) -> posts = [] config.postsDb.createReadStream() .on('data', (data) -> write = true if program.year? unless moment(data.val...
module.exports = (program) -> posts = [] config.postsDb.createReadStream() .on('data', (data) -> write = true if program.year? unless moment(data.value.created_time).year() is program.year write = false if program.month? unless moment(data.value.created_time).month()...
<|file_sep|>write_posts.coffee.diff original: util = require('util') updated: <|file_sep|>original/write_posts.coffee util = require('util') module.exports = (program) -> posts = [] config.postsDb.createReadStream() .on('data', (data) -> write = true if program.year? unless moment(data.val...
14aff3b728d0c1944bcde9c5fea7af0853c2adb8
write_posts.coffee
write_posts.coffee
CoffeeScript
<|file_sep|>original/Code/Sequences/sicl-sequence-support.asd (cl:in-package #:asdf-user) (defsystem :sicl-sequence-support :serial t :components ((:file "packages") (:file "utilities") (:file "find") (:file "position"))) <|file_sep|>current/Code/Sequences/sicl-sequence-support.asd (cl:in-package #:asdf...
(cl:in-package #:asdf-user) (defsystem :sicl-sequence-support :serial t :components ((:file "packages") (:file "utilities") (:file "conditions") (:file "find") (:file "position")))
<|file_sep|>original/Code/Sequences/sicl-sequence-support.asd (cl:in-package #:asdf-user) (defsystem :sicl-sequence-support :serial t :components ((:file "packages") (:file "utilities") (:file "find") (:file "position"))) <|file_sep|>current/Code/Sequences/sicl-sequence-support.asd (cl:in-package #:asdf...
2957eac7485333074bc3bf213376933a036deef8
Code/Sequences/sicl-sequence-support.asd
Code/Sequences/sicl-sequence-support.asd
Common Lisp
<|file_sep|>original/.github/workflows/docs_nightly.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # Build the current docs - uses: ammaraskar/sphinx-action@master with: docs-folder: "user_guide_src/" # Commit changes to the gh-pages branch - name: Commit docu...
runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # Build the current docs - uses: ammaraskar/sphinx-action@master with: docs-folder: "user_guide_src/" # Create an artifact of the html output - uses: actions/upload-artifact@v2 with: name: HTML Documenta...
<|file_sep|>original/.github/workflows/docs_nightly.yml runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # Build the current docs - uses: ammaraskar/sphinx-action@master with: docs-folder: "user_guide_src/" # Commit changes to the gh-pages branch - name: Commit docu...
caa7cd2e1c62120b07f06036f77faf015eaa7ae6
.github/workflows/docs_nightly.yml
.github/workflows/docs_nightly.yml
YAML
<|file_sep|>gotools.go.diff original: os.Setenv("goos", goos) os.Setenv("goarch", goarch) updated: os.Setenv("GOOS", goos) os.Setenv("GOARCH", goarch) <|file_sep|>original/gotools.go // distPath constructs a file path for a given target func distPath(name string, version string, os string, arch string) string { r...
// distPath constructs a file path for a given target func distPath(name string, version string, os string, arch string) string { return filepath.Join("dist", buildName(name, version, os, arch), name+exeSuffix()) } // exeSuffix returns ".exe" if the GOOS // environment variable is set to // "windows". func exeSuffix...
<|file_sep|>gotools.go.diff original: os.Setenv("goos", goos) os.Setenv("goarch", goarch) updated: os.Setenv("GOOS", goos) os.Setenv("GOARCH", goarch) <|file_sep|>original/gotools.go // distPath constructs a file path for a given target func distPath(name string, version string, os string, arch string) string { r...
424bc782bc1d5b5125a0e17aa319bd75132b6309
gotools.go
gotools.go
Go
<|file_sep|>original/README.md cat graph.json | jgfdot > graph.dot ``` ### `jgfdot` Reads a json graph from `STDIN` and outputs the Dot file to `STDOUT` ## Javascript API You can also use the programmatic API to convert json graph objects to dot file strings ```js var toDot = require("jgf-dot"); var graph = requir...
### `jgfdot` Reads a json graph from `STDIN` and outputs the Dot file to `STDOUT` ## Javascript API You can also use the programmatic API to convert json graph objects to dot file strings ```js var toDot = require("jgf-dot"); var graph = require("./graph.json"); var fs = require("fs"); var dot = toDot(graph); f...
<|file_sep|>original/README.md cat graph.json | jgfdot > graph.dot ``` ### `jgfdot` Reads a json graph from `STDIN` and outputs the Dot file to `STDOUT` ## Javascript API You can also use the programmatic API to convert json graph objects to dot file strings ```js var toDot = require("jgf-dot"); var graph = requir...
cbffc6472deeccb05bbfb54700c42a0848382f55
README.md
README.md
Markdown
<|file_sep|>original/module/Application/src/Application/Controller/Api/SpecController.php 'id' => (int)$row['id'], 'name' => $row['name'], 'short_name' => $row['short_name'], 'childs' => $this->getSpecOptions($row['id']) ]; ...
$rows = $this->table->selectWith($select); $result = []; foreach ($rows as $row) { $result[] = [ 'id' => (int)$row['id'], 'name' => $row['name'], 'short_name' => $row['short_name'], 'childs' => $this->g...
<|file_sep|>original/module/Application/src/Application/Controller/Api/SpecController.php 'id' => (int)$row['id'], 'name' => $row['name'], 'short_name' => $row['short_name'], 'childs' => $this->getSpecOptions($row['id']) ]; ...
839a43dc14792853fd620ae8edacebb7e677c795
module/Application/src/Application/Controller/Api/SpecController.php
module/Application/src/Application/Controller/Api/SpecController.php
PHP
<|file_sep|>Alc/alconfig.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/Alc/alconfig.h #ifndef ALCONFIG_H #define ALCONFIG_H void ReadALConfig(void); void FreeALConfig(void); int ConfigValueExists(const char *devName, const char *blockName, const char *keyName); const char *Ge...
extern "C" { #endif void ReadALConfig(void); void FreeALConfig(void); int ConfigValueExists(const char *devName, const char *blockName, const char *keyName); const char *GetConfigValue(const char *devName, const char *blockName, const char *keyName, const char *def); int GetConfigValueBool(const char *devName, const ...
<|file_sep|>Alc/alconfig.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/Alc/alconfig.h #ifndef ALCONFIG_H #define ALCONFIG_H void ReadALConfig(void); void FreeALConfig(void); int ConfigValueExists(const char *devName, const char *blockName, const char *keyName); const char *Ge...
1d7b0f54bee766d685ab74f0c206547431f4f636
Alc/alconfig.h
Alc/alconfig.h
C
<|file_sep|>src/tools/courseraTool.js.diff original: var courseraHttpHandler = function(url, processor, callback) { updated: var courseraHttpHandler = function(url, lineProcessor, callback) { <|file_sep|>src/tools/courseraTool.js.diff original: var processedStr = str.trim().split('\r\n').map( processor ); u...
* * 111 * 222 * 333 * 444 * * converts to * * [111,222,333,444] * */ exports.getNumberArray = function (url, callback) { courseraHttpHandler(url, strToInt, callback); }; exports.getAdjacencylist = function (url, callback) { courseraHttpHandler(url, function (str) { return str.trim().split(/...
<|file_sep|>src/tools/courseraTool.js.diff original: var courseraHttpHandler = function(url, processor, callback) { updated: var courseraHttpHandler = function(url, lineProcessor, callback) { <|file_sep|>src/tools/courseraTool.js.diff original: var processedStr = str.trim().split('\r\n').map( processor ); u...
5597e67f82774a36cc20c61149551b0ffb37d03d
src/tools/courseraTool.js
src/tools/courseraTool.js
JavaScript
<|file_sep|>original/osx/build_pkg.sh <|file_sep|>current/osx/build_pkg.sh <|file_sep|>updated/osx/build_pkg.sh
mkdir ./dstroot install -m 755 ../bin/qpm ./dstroot/ pkgbuild --identifier io.qpm --root ./dstroot/ --install-location /opt/local/bin qpm.pkg
<|file_sep|>original/osx/build_pkg.sh <|file_sep|>current/osx/build_pkg.sh <|file_sep|>updated/osx/build_pkg.sh mkdir ./dstroot install -m 755 ../bin/qpm ./dstroot/ pkgbuild --identifier io.qpm --root ./dstroot/ --install-location /opt/local/bin qpm.pkg
ed9162e963011048f0d60c5780b5d79ab75cd5fc
osx/build_pkg.sh
osx/build_pkg.sh
Shell
<|file_sep|>original/app/mailers/new_instructor_enrollment_mailer.rb # frozen_string_literal: true class NewInstructorEnrollmentMailer < ApplicationMailer def self.send_staff_alert(course:, adder:, new_instructor:) return unless Features.email? staffer = SpecialUsers.classroom_program_manager email(cours...
# frozen_string_literal: true class NewInstructorEnrollmentMailer < ApplicationMailer def self.send_staff_alert(course:, adder:, new_instructor:) return unless Features.email? staffer = SpecialUsers.classroom_program_manager return unless staffer email(course, staffer, adder, new_instructor).deliver_...
<|file_sep|>original/app/mailers/new_instructor_enrollment_mailer.rb # frozen_string_literal: true class NewInstructorEnrollmentMailer < ApplicationMailer def self.send_staff_alert(course:, adder:, new_instructor:) return unless Features.email? staffer = SpecialUsers.classroom_program_manager email(cours...
810565a2d871722786ffa8379332bbf3de95773c
app/mailers/new_instructor_enrollment_mailer.rb
app/mailers/new_instructor_enrollment_mailer.rb
Ruby
<|file_sep|>original/composer.json "name": "Jake Zatecky" } ], "support": { "issues": "https://github.com/jakezatecky/work-etc-client-php/issues", "source": "https://github.com/jakezatecky/work-etc-client-php" }, "require": { "php": "^7.0", "ext-json": "*", "nategood/httpful": "^0.2.20" }, "require...
"name": "Jake Zatecky" } ], "support": { "issues": "https://github.com/jakezatecky/work-etc-client-php/issues", "source": "https://github.com/jakezatecky/work-etc-client-php" }, "require": { "php": "^7.0", "ext-json": "*", "nategood/httpful": "^0.3.0" }, "require-dev": { "phpunit/phpunit": "^8.0....
<|file_sep|>original/composer.json "name": "Jake Zatecky" } ], "support": { "issues": "https://github.com/jakezatecky/work-etc-client-php/issues", "source": "https://github.com/jakezatecky/work-etc-client-php" }, "require": { "php": "^7.0", "ext-json": "*", "nategood/httpful": "^0.2.20" }, "require...
24a751e16ca37675aeda6121e468ca66d954c880
composer.json
composer.json
JSON
<|file_sep|>original/doc/ref/services/doc-media_upload.rst <|file_sep|>current/doc/ref/services/doc-media_upload.rst <|file_sep|>updated/doc/ref/services/doc-media_upload.rst
Service URL:: /api/base/media_upload Request method(s): POST Upload media items into Zotonic. Pass in the `file` argument for the actual file. Because it's a file upload, the post payload should be `multipart/form-data` encoded (which is the standard for file uploads). Proper authorization is needed to use this...
<|file_sep|>original/doc/ref/services/doc-media_upload.rst <|file_sep|>current/doc/ref/services/doc-media_upload.rst <|file_sep|>updated/doc/ref/services/doc-media_upload.rst Service URL:: /api/base/media_upload Request method(s): POST Upload media items into Zotonic. Pass in the `file` argument for the actua...
56be35e65aea0759a7543f0ee0c0cdc762216b5d
doc/ref/services/doc-media_upload.rst
doc/ref/services/doc-media_upload.rst
reStructuredText
<|file_sep|>original/setup/install_npm_packages.sh source ~/dotfiles/terminal/bash/exports.sh # Load nvm so that the node and npm commands are available source ~/dotfiles/terminal/bash/load_nvm.sh echo "Installing npm packages..." preload_npm_pkg_list install_npm_pkg gulp-cli install_npm_pkg eslint install_npm_pkg @t...
source ~/dotfiles/setup/header.sh # Load in environment variables for brew, nvm, node, etc. source ~/dotfiles/terminal/bash/exports.sh # Load nvm so that the node and npm commands are available source ~/dotfiles/terminal/bash/load_nvm.sh echo "Installing npm packages..." preload_npm_pkg_list install_npm_pkg gulp-cli ...
<|file_sep|>original/setup/install_npm_packages.sh source ~/dotfiles/terminal/bash/exports.sh # Load nvm so that the node and npm commands are available source ~/dotfiles/terminal/bash/load_nvm.sh echo "Installing npm packages..." preload_npm_pkg_list install_npm_pkg gulp-cli install_npm_pkg eslint install_npm_pkg @t...
af6f832b0145ad60939c78fc36cf0e9ba967dc63
setup/install_npm_packages.sh
setup/install_npm_packages.sh
Shell
<|file_sep|>lib/default-config.js.diff original: "fallback":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.", "pretext":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.", "color":"...
}, didFail: function(context, slack) { var message = "Ember-cli-deploy tried to deploy a revision but failed."; return slack.notify({ attachments: [{ "fallback": "Deployment failed!", "pretext": "Deployment failed!", "color": "danger", "fields":[ { ...
<|file_sep|>lib/default-config.js.diff original: "fallback":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.", "pretext":"Deployment finished! Revision <http://localhost:4567?index_key=123451|123451> was successfully uploaded.", "color":"...
3c06744621908c9e5555d33eec49959e6c7015be
lib/default-config.js
lib/default-config.js
JavaScript
<|file_sep|>original/_posts/projects/2016-08-23-tree-tag.md --- layout: project title: "Tree Tag Project" blurb: date: 2016-08-23 19:10:39 -1000 categories: - projects tech: - javascript - meteor - react - mongodb - foundation --- Tree Tag is a web application coupled with a mobile app designed to support biologist...
--- layout: project title: "Tree Tag Project" blurb: "A meteor application for field research." date: 2016-08-23 19:10:39 -1000 categories: - projects tech: - javascript - meteor - react - mongodb - foundation --- Tree Tag is a web application coupled with a mobile app designed to support biologists in collecting ...
<|file_sep|>original/_posts/projects/2016-08-23-tree-tag.md --- layout: project title: "Tree Tag Project" blurb: date: 2016-08-23 19:10:39 -1000 categories: - projects tech: - javascript - meteor - react - mongodb - foundation --- Tree Tag is a web application coupled with a mobile app designed to support biologist...
1e946ed1ac74c2bf81b734c6552cc21cf23c1eb0
_posts/projects/2016-08-23-tree-tag.md
_posts/projects/2016-08-23-tree-tag.md
Markdown
<|file_sep|>remotedev.js.diff original: let url = `${remote}${endpoint}` updated: let url = `${remote}${req.originalUrl}` <|file_sep|>original/remotedev.js let proxyGet = (endpoint) => { app.get(endpoint, (req, res) => { let url = `${remote}${endpoint}` request.get(url, {json: true}, proxyResponse(res...
app.get(endpoint, (req, res) => { let url = `${remote}${req.originalUrl}` request.get(url, {json: true}, proxyResponse(res)) }) } let proxyPost = (endpoint) => { app.post(endpoint, (req, res) => { let url = `${remote}${endpoint}` request.post(url, {json: true, body: req.body}, proxyResponse(res))...
<|file_sep|>remotedev.js.diff original: let url = `${remote}${endpoint}` updated: let url = `${remote}${req.originalUrl}` <|file_sep|>original/remotedev.js let proxyGet = (endpoint) => { app.get(endpoint, (req, res) => { let url = `${remote}${endpoint}` request.get(url, {json: true}, proxyResponse(res...
0838c94567c9442f625de0d0fdd07574cb4055e6
remotedev.js
remotedev.js
JavaScript
<|file_sep|>original/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown title: "Jekyll 1.2 Released" date: "2013-09-06 22:02:41 -0400" author: parkr version: 1.2.0 categories: [release] --- After nearly a month and a half of hard work, the Jekyll team is happy to announce the release of v1.2.0. It's chock full of b...
title: "Jekyll 1.2 Released" date: "2013-09-06 22:02:41 -0400" author: parkr version: 1.2.0 categories: [release] --- After nearly a month and a half of hard work, the Jekyll team is happy to announce the release of v1.2.0. It's chock full of bug fixes and some enhancements that we think you'll love. Here are a few t...
<|file_sep|>original/site/_posts/2013-09-06-jekyll-1-2-0-released.markdown title: "Jekyll 1.2 Released" date: "2013-09-06 22:02:41 -0400" author: parkr version: 1.2.0 categories: [release] --- After nearly a month and a half of hard work, the Jekyll team is happy to announce the release of v1.2.0. It's chock full of b...
24f0debeaeb72204a95427cd1ec40d08871c6dc0
site/_posts/2013-09-06-jekyll-1-2-0-released.markdown
site/_posts/2013-09-06-jekyll-1-2-0-released.markdown
Markdown
<|file_sep|>packages/co/conf-json.yaml.diff original: hash: 8e300dbe34fc4677039940c6d91fb746a086097b276356b43019fecf24fadbb7 updated: hash: 8b94b307f46bf1cef13eca226a319ff6c4ddea6e17132f5c6f3858af8a9bc738 <|file_sep|>packages/co/conf-json.yaml.diff original: changelog: ! "##### 1.1\n include test-conf.json\n\n####...
aeson: -any directory: -any maintainer: Imants Cekusins synopsis: read, parse json config changelog: ! "##### 1.2\n refactor code. compatible with 1.1\n \n##### 1.1\n \ include test-conf.json\n\n##### 1.0\n initial version\n \n test pass \n" basic-deps: bytestring: -any base: ! '>=4...
<|file_sep|>packages/co/conf-json.yaml.diff original: hash: 8e300dbe34fc4677039940c6d91fb746a086097b276356b43019fecf24fadbb7 updated: hash: 8b94b307f46bf1cef13eca226a319ff6c4ddea6e17132f5c6f3858af8a9bc738 <|file_sep|>packages/co/conf-json.yaml.diff original: changelog: ! "##### 1.1\n include test-conf.json\n\n####...
a5e4c71bc111e1470a9eba29440dace6519d2010
packages/co/conf-json.yaml
packages/co/conf-json.yaml
YAML
<|file_sep|>original/recipes/_apt.rb # # Cookbook Name:: practicingruby # Recipe:: apt # # Updates Debian package index # include_recipe "apt::default" <|file_sep|>current/recipes/_apt.rb # # Cookbook Name:: practicingruby # Recipe:: apt # # Updates Debian package index # include_recipe "apt::default" <|file_sep|>upd...
# # Cookbook Name:: practicingruby # Recipe:: apt # # Updates Debian package index # include_recipe "apt::default" # XXX: work around bug in postgresql cookbook # https://github.com/elm-city-craftworks/practicing-ruby-cookbook/issues/24 stamp_file = "/var/lib/apt/periodic/update-success-stamp" execute "apt-get update...
<|file_sep|>original/recipes/_apt.rb # # Cookbook Name:: practicingruby # Recipe:: apt # # Updates Debian package index # include_recipe "apt::default" <|file_sep|>current/recipes/_apt.rb # # Cookbook Name:: practicingruby # Recipe:: apt # # Updates Debian package index # include_recipe "apt::default" <|file_sep|>upd...
602ba7a71d647b97cb8c0f7e9fe0d6913ac7a255
recipes/_apt.rb
recipes/_apt.rb
Ruby
<|file_sep|>original/ghost/members-csv/package.json "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "...
"dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.2.0", "shoul...
<|file_sep|>original/ghost/members-csv/package.json "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "...
1b29e595ea9c2c4564fbaf52c2a1baff997fda04
ghost/members-csv/package.json
ghost/members-csv/package.json
JSON
<|file_sep|>lib/judopay/connection.rb.diff original: faraday.adapter Faraday.default_adapter updated: faraday.adapter :httpclient <|file_sep|>original/lib/judopay/connection.rb 'User-Agent' => Judopay.configuration.user_agent, 'API-Version' => Judopay.configuration.api_version, ...
'User-Agent' => Judopay.configuration.user_agent, 'API-Version' => Judopay.configuration.api_version, 'Content-Type' => 'application/json' }, :url => Judopay.configuration.endpoint_url } connection = Faraday::Connection.new(options) do |faraday|...
<|file_sep|>lib/judopay/connection.rb.diff original: faraday.adapter Faraday.default_adapter updated: faraday.adapter :httpclient <|file_sep|>original/lib/judopay/connection.rb 'User-Agent' => Judopay.configuration.user_agent, 'API-Version' => Judopay.configuration.api_version, ...
f905e9f24f7dba4f8a5d5be21d25c9749fc1c631
lib/judopay/connection.rb
lib/judopay/connection.rb
Ruby
<|file_sep|>original/README.md # UXBox Backend # ## Development Environment ## Read the documentation on [uxbox-docker][1] repository. ## License ## ``` This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one a...
# UXBox Backend # [![Travis Badge](https://img.shields.io/travis/uxbox/uxbox-backend/master.svg)](https://travis-ci.org/uxbox/uxbox-backend "Travis Badge") ## Development Environment ## Read the documentation on [uxbox-docker][1] repository. ## License ## ``` This Source Code Form is subject to the terms of the ...
<|file_sep|>original/README.md # UXBox Backend # ## Development Environment ## Read the documentation on [uxbox-docker][1] repository. ## License ## ``` This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one a...
c77bf9f21fb4daa06f23c3c533facc3bf485076d
README.md
README.md
Markdown
<|file_sep|>original/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown <|file_sep|>current/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown <|file_sep|>updated/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown
--- layout: post title: "\"Modern Media Is a DoS Attack on Your Free Will\" - Nautilus" date: "2018-01-13 20:58:43 -0500" external-url: http://m.nautil.us/issue/52/the-hive/modern-media-is-a-dos-attack-on-your-free-will --- Describing the hijacking of attention: > **It’s easy to see how persuasive tech disrupts our “...
<|file_sep|>original/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown <|file_sep|>current/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown <|file_sep|>updated/_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown --- layo...
eff86278ca84c4c4ec58dc366397c23cda0eb0af
_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown
_posts/2018-01-13-modern-media-is-a-dos-attack-on-your-free-will-nautilus.markdown
Markdown
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "ES2015", "module": "es2015", "emitDecoratorMetadata": true, "experimentalDecorators": true, "strictNullChecks": true, "moduleResolution": "node", "sourceMap": true, "allowJs": true, "lib": [ "es2017", "dom" ...
{ "compilerOptions": { "target": "ES2015", "module": "es2015", "emitDecoratorMetadata": true, "experimentalDecorators": true, "strictNullChecks": true, "noImplicitThis": true, "moduleResolution": "node", "sourceMap": true, "allowJs": true, "lib": [ "es2017", "dom" ] ...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "target": "ES2015", "module": "es2015", "emitDecoratorMetadata": true, "experimentalDecorators": true, "strictNullChecks": true, "moduleResolution": "node", "sourceMap": true, "allowJs": true, "lib": [ "es2017", "dom" ...
96c882ef3d723fa82b935aec934b64825ac836d2
tsconfig.json
tsconfig.json
JSON
<|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java.diff original: updated: import java.util.LinkedList; import java.util.List; <|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java.diff original: updated: private String mHistory; private List<String> mIngredients = new Link...
mName = name; } public String getImageURL() { return mImageURL; } public void setImageURL(String imageURL) { mImageURL = imageURL; } public String getHistory() { return mHistory; } public void setHistory(String history) { mHistory = history; ...
<|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java.diff original: updated: import java.util.LinkedList; import java.util.List; <|file_sep|>Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java.diff original: updated: private String mHistory; private List<String> mIngredients = new Link...
785639006cc1fb5168d40c2ae7906b086b2f93b6
Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java
Drinks/src/main/java/fr/masciulli/drinks/model/Drink.java
Java
<|file_sep|>original/client-vendor/after-body/jquery.clickDecorators/decorators/30-spinner.js /* * Author: CM */ (function($) { $.clickDecorators.spinner = { after: function(event, returnValue) { if (returnValue && _.isFunction(returnValue.promise)) { var $inputTarget = $(event.currentTarget).closest('butt...
/* * Author: CM */ (function($) { $.clickDecorators.spinner = { after: function(event, returnValue) { if (returnValue && _.isFunction(returnValue.promise)) { var $inputTarget = $(event.currentTarget).closest('button'); $inputTarget.find('.spinner').remove(); var $spinner = $('<div class="spinner" /...
<|file_sep|>original/client-vendor/after-body/jquery.clickDecorators/decorators/30-spinner.js /* * Author: CM */ (function($) { $.clickDecorators.spinner = { after: function(event, returnValue) { if (returnValue && _.isFunction(returnValue.promise)) { var $inputTarget = $(event.currentTarget).closest('butt...
c7ac96524e07fdd6d34d18d8f2ea19e2abb1537d
client-vendor/after-body/jquery.clickDecorators/decorators/30-spinner.js
client-vendor/after-body/jquery.clickDecorators/decorators/30-spinner.js
JavaScript
<|file_sep|>original/CHANGELOG.md # Changelog This project follows [Semantic Versioning 2.0.0](http://semver.org/). ## <a name="unreleased"></a>Unreleased ## <a name="v0.1.0"></a>v0.1.0 (DATE) <|file_sep|>current/CHANGELOG.md # Changelog This project follows [Semantic Versioning 2.0.0](http://semver.org/). ## <a ...
# Changelog This project follows [Semantic Versioning 2.0.0](http://semver.org/). ## <a name="unreleased"></a>Unreleased ## <a name="v0.1.0"></a>[v0.2.0](https://github.com/tomzx/%project-name%/tree/v0.2.0) (DATE YYYY-MM-DD) [Full Changelog](https://github.com/tomzx/%project-name%/compare/v0.1.0...v0.2.0) ## <a na...
<|file_sep|>original/CHANGELOG.md # Changelog This project follows [Semantic Versioning 2.0.0](http://semver.org/). ## <a name="unreleased"></a>Unreleased ## <a name="v0.1.0"></a>v0.1.0 (DATE) <|file_sep|>current/CHANGELOG.md # Changelog This project follows [Semantic Versioning 2.0.0](http://semver.org/). ## <a ...
f529fa921c4ac5dc89ad90d95b18b6dab73b9664
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/app/jobs/create_tap_activity.rb class CreateTapActivity < ApplicationJob class UnableToCreateSummaryDocumentActivity < StandardError; end rescue_from(CreateTapActivity::UnableToCreateSummaryDocumentActivity) do |exception| Bugsnag.notify(exception) end queue_as :default def perform...
rescue_from(CreateTapActivity::UnableToCreateSummaryDocumentActivity) do |exception| Bugsnag.notify(exception) end queue_as :default def perform(appointment_summary, owner) telephone_appointment = TelephoneAppointments::SummaryDocumentActivity.new( appointment_id: appointment_summary.reference_n...
<|file_sep|>original/app/jobs/create_tap_activity.rb class CreateTapActivity < ApplicationJob class UnableToCreateSummaryDocumentActivity < StandardError; end rescue_from(CreateTapActivity::UnableToCreateSummaryDocumentActivity) do |exception| Bugsnag.notify(exception) end queue_as :default def perform...
6a05b87a7a8999cda7dfcdc24d82ed2f5b4671b1
app/jobs/create_tap_activity.rb
app/jobs/create_tap_activity.rb
Ruby
<|file_sep|>original/core/lib/spree/testing_support/factories/credit_card_factory.rb # allows credit card info to be saved to the database which is needed for factories to work properly class TestCard < Spree::CreditCard def remove_readonly_attributes(attributes) attributes; end end FactoryGirl.define do factory :...
# allows credit card info to be saved to the database which is needed for factories to work properly class TestCard < Spree::CreditCard def remove_readonly_attributes(attributes) attributes; end end FactoryGirl.define do factory :credit_card, class: TestCard do verification_value 123 month 12 year { Da...
<|file_sep|>original/core/lib/spree/testing_support/factories/credit_card_factory.rb # allows credit card info to be saved to the database which is needed for factories to work properly class TestCard < Spree::CreditCard def remove_readonly_attributes(attributes) attributes; end end FactoryGirl.define do factory :...
967ab7408f6b7607f7698da8193845299f57e65d
core/lib/spree/testing_support/factories/credit_card_factory.rb
core/lib/spree/testing_support/factories/credit_card_factory.rb
Ruby
<|file_sep|>original/src/GeeksforGeeksPractice/_0018BinaryTreeSubTreeCheck.java TreeNode(int x) { val = x; } } public static void main(String args[]){ TreeNode tn1=new TreeNode(10); tn1.left=new TreeNode(8); tn1.right=new TreeNode(2); tn1.left.left=new TreeNode(3); tn1.left.right=new TreeNode(5); tn1.ri...
tn1.left.right=new TreeNode(5); tn1.right.left=new TreeNode(1); tn1.right.right=new TreeNode(30); TreeNode tn2=new TreeNode(2); tn2.left=new TreeNode(1); tn2.right=new TreeNode(30); System.out.println(checkBinarySubTree(tn1, tn2)); } public static boolean checkBinarySubTree(TreeNode tn1,TreeNode tn2){ ...
<|file_sep|>original/src/GeeksforGeeksPractice/_0018BinaryTreeSubTreeCheck.java TreeNode(int x) { val = x; } } public static void main(String args[]){ TreeNode tn1=new TreeNode(10); tn1.left=new TreeNode(8); tn1.right=new TreeNode(2); tn1.left.left=new TreeNode(3); tn1.left.right=new TreeNode(5); tn1.ri...
6ef674e689a108fd257c7518a846c5a9448009cb
src/GeeksforGeeksPractice/_0018BinaryTreeSubTreeCheck.java
src/GeeksforGeeksPractice/_0018BinaryTreeSubTreeCheck.java
Java
<|file_sep|>original/tests/mock-plugin/CMakeLists.txt ADD_LIBRARY( mock-sync SHARED mock_sync.c ) ADD_LIBRARY( mock-format SHARED mock_format.c ) TARGET_LINK_LIBRARIES( mock-sync opensync ${CHECK_LIBRARIES} ) TARGET_LINK_LIBRARIES( mock-format opensync ${CHECK_LIBRARIES} ) ###### INSTALL ################### #INSTA...
INCLUDE_DIRECTORIES( ${GLIB2_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIR} ) ADD_LIBRARY( mock-sync SHARED mock_sync.c ) ADD_LIBRARY( mock-format SHARED mock_format.c ) TARGET_LINK_LIBRARIES( mock-sync opensync ${CHECK_LIBRARIES} ) TARGET_LINK_LIBRARIES( mock-format opensync ${CHECK_LIBRARIES} ) ###### INSTALL #############...
<|file_sep|>original/tests/mock-plugin/CMakeLists.txt ADD_LIBRARY( mock-sync SHARED mock_sync.c ) ADD_LIBRARY( mock-format SHARED mock_format.c ) TARGET_LINK_LIBRARIES( mock-sync opensync ${CHECK_LIBRARIES} ) TARGET_LINK_LIBRARIES( mock-format opensync ${CHECK_LIBRARIES} ) ###### INSTALL ################### #INSTA...
cc06949a19490eabbf8d46dbbe745e36a3271c54
tests/mock-plugin/CMakeLists.txt
tests/mock-plugin/CMakeLists.txt
Text
<|file_sep|>original/t/712_AliTV-Alignment-sequence_set.t use strict; use warnings; use Test::More; use Test::Exception; BEGIN { use_ok('AliTV::Alignment') }; can_ok('AliTV::Alignment', qw(sequence_set)); my $obj = new_ok('AliTV::Alignment'); done_testing; <|file_sep|>current/t/712_AliTV-Alignment-sequence_set.t u...
use strict; use warnings; use Test::More; use Test::Exception; BEGIN { use_ok('AliTV::Alignment') }; can_ok('AliTV::Alignment', qw(sequence_set)); my $obj = new_ok('AliTV::Alignment'); # test sequence set my $expected_default = []; is_deeply($obj->sequence_set(), $expected_default, 'Default value is an empty arra...
<|file_sep|>original/t/712_AliTV-Alignment-sequence_set.t use strict; use warnings; use Test::More; use Test::Exception; BEGIN { use_ok('AliTV::Alignment') }; can_ok('AliTV::Alignment', qw(sequence_set)); my $obj = new_ok('AliTV::Alignment'); done_testing; <|file_sep|>current/t/712_AliTV-Alignment-sequence_set.t u...
96993db398f5899963940fd19f4ee41f05293f61
t/712_AliTV-Alignment-sequence_set.t
t/712_AliTV-Alignment-sequence_set.t
Perl
<|file_sep|>package.json.diff original: "version": "0.1.2", updated: "version": "0.1.3", <|file_sep|>original/package.json "files": [ "blocks/promised-models/", "lib/" ], "scripts": { "postinstall": "node lib/browserify.js", "test": "./test.sh", "start": "node test.app/app/app.server.js --...
"files": [ "blocks/promised-models/", "lib/" ], "scripts": { "postinstall": "node lib/browserify.js", "test": "./test.sh", "start": "node test.app/app/app.server.js --socket 3000" }, "dependencies": { "promised-models2": "0.1.1", "browserify": "10.2.1", "literalify": "0.4.0" ...
<|file_sep|>package.json.diff original: "version": "0.1.2", updated: "version": "0.1.3", <|file_sep|>original/package.json "files": [ "blocks/promised-models/", "lib/" ], "scripts": { "postinstall": "node lib/browserify.js", "test": "./test.sh", "start": "node test.app/app/app.server.js --...
1bc118719ebb9e341137e4e416bf4a96f6fe17b2
package.json
package.json
JSON
<|file_sep|>spec/crash_log/initializer_spec.rb.diff original: require 'crash_log/rails' updated: # require 'crash_log/rails' <|file_sep|>spec/crash_log/initializer_spec.rb.diff original: describe "Initializer" do updated: # describe "Initializer" do <|file_sep|>spec/crash_log/initializer_spec.rb.diff original: let(:l...
# it 'detects presence of Rails logger' do # CrashLog::Rails.__send__(:initialize) # CrashLog.logger.should eq(logger) # end # it "allows overriding of the logger if already assigned" do # CrashLog.logger.should_not == logger # CrashLog::Rails.initialize # CrashLog.logger.sh...
<|file_sep|>spec/crash_log/initializer_spec.rb.diff original: require 'crash_log/rails' updated: # require 'crash_log/rails' <|file_sep|>spec/crash_log/initializer_spec.rb.diff original: describe "Initializer" do updated: # describe "Initializer" do <|file_sep|>spec/crash_log/initializer_spec.rb.diff original: let(:l...
54a8b4934ee1b5ec4ec99554c4ee8c15e793b2f4
spec/crash_log/initializer_spec.rb
spec/crash_log/initializer_spec.rb
Ruby
<|file_sep|>CHANGES.adoc.diff original: updated: == Version 0.4.0 Date: unreleased - Replace record usage in kdf ns with reify. - Rename kdf protocol from KDFType to IKDF - Rename kdf protocol method names to more consistent ones. - Add support for nio ByteBuffer for kdf. <|file_sep|>original/CHANGES.adoc = Changel...
= Changelog == Version 0.4.0 Date: unreleased - Replace record usage in kdf ns with reify. - Rename kdf protocol from KDFType to IKDF - Rename kdf protocol method names to more consistent ones. - Add support for nio ByteBuffer for kdf. == Version 0.3.0 Date: 2015-01-18 - First version splitted from monolitic budd...
<|file_sep|>CHANGES.adoc.diff original: updated: == Version 0.4.0 Date: unreleased - Replace record usage in kdf ns with reify. - Rename kdf protocol from KDFType to IKDF - Rename kdf protocol method names to more consistent ones. - Add support for nio ByteBuffer for kdf. <|file_sep|>original/CHANGES.adoc = Changel...
a419d6562d40801ec7b833f0d6a3d9e3b5c25486
CHANGES.adoc
CHANGES.adoc
AsciiDoc
<|file_sep|>original/Casks/sharetool.rb cask :v1 => 'sharetool' do version '2.4.2' sha256 '2990ecc1dd5f359fa25bd6c787f0efdd6b509919d00ef78c0d76fa83eef5c18e' url "http://files.bainsware.com/sharetool_#{version.gsub('.','')}.dmg" name 'ShareTool' homepage 'http://bainsware.com/' license :unknown # todo: c...
cask :v1 => 'sharetool' do version '2.4.2' sha256 '2990ecc1dd5f359fa25bd6c787f0efdd6b509919d00ef78c0d76fa83eef5c18e' url "http://files.bainsware.com/sharetool_#{version.gsub('.','')}.dmg" name 'ShareTool' homepage 'https://www.bainsware.com' license :unknown # todo: change license and remove this commen...
<|file_sep|>original/Casks/sharetool.rb cask :v1 => 'sharetool' do version '2.4.2' sha256 '2990ecc1dd5f359fa25bd6c787f0efdd6b509919d00ef78c0d76fa83eef5c18e' url "http://files.bainsware.com/sharetool_#{version.gsub('.','')}.dmg" name 'ShareTool' homepage 'http://bainsware.com/' license :unknown # todo: c...
3bf943650845a6f37fa71ec7b15e10bccc4a5d33
Casks/sharetool.rb
Casks/sharetool.rb
Ruby
<|file_sep|>test/Docker/Test/test.sh.diff original: updated: cd /usr/src/ITKUltrasound branch=$(git rev-parse --abbrev-ref HEAD) date=$(date +%F_%H_%M_%S) sha=$(git rev-parse --short HEAD) <|file_sep|>original/test/Docker/Test/test.sh #!/bin/bash # This is a script to build the modules and run the test suite in the ...
# Docker container. set -x set -o cd /usr/src/ITKUltrasound branch=$(git rev-parse --abbrev-ref HEAD) date=$(date +%F_%H_%M_%S) sha=$(git rev-parse --short HEAD) cd /usr/src/ITKUltrasound-build cmake \ -G Ninja \ -DITK_DIR:PATH=/usr/src/ITK-build \ -DITKUltrasound_USE_VTK:BOOL=ON \ -DPYTHON_EXECUTABLE:FILEP...
<|file_sep|>test/Docker/Test/test.sh.diff original: updated: cd /usr/src/ITKUltrasound branch=$(git rev-parse --abbrev-ref HEAD) date=$(date +%F_%H_%M_%S) sha=$(git rev-parse --short HEAD) <|file_sep|>original/test/Docker/Test/test.sh #!/bin/bash # This is a script to build the modules and run the test suite in the ...
36190e319f02ee9369627270a21817b6534a5dff
test/Docker/Test/test.sh
test/Docker/Test/test.sh
Shell
<|file_sep|>original/training_content/wiki_ed/slides/16-finding_articles/1612-finding-articles-summary.yml * Good articles to improve in class are: 1. Rated low-quality but high-importance by a WikiProject. 2. Not controversial. * You can find article assessments through WikiProjects in your topic area....
subject. * In order to establish notability for a new article, you'll want to have two or more independent, fact-checked and/or peer-reviewed sources with non-trivial information about the topic. * The Wikipedia Expert is on hand to help you with this process! Note that you can always come back to this ori...
<|file_sep|>original/training_content/wiki_ed/slides/16-finding_articles/1612-finding-articles-summary.yml * Good articles to improve in class are: 1. Rated low-quality but high-importance by a WikiProject. 2. Not controversial. * You can find article assessments through WikiProjects in your topic area....
65eb4566b7fdf1cfa2433b708d322b2fb761d0d8
training_content/wiki_ed/slides/16-finding_articles/1612-finding-articles-summary.yml
training_content/wiki_ed/slides/16-finding_articles/1612-finding-articles-summary.yml
YAML
<|file_sep|>dayglo.gemspec.diff original: require 'exlibris/aleph/version' updated: require 'dayglo/version' <|file_sep|>original/dayglo.gemspec require 'exlibris/aleph/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'dayglo' s.version = Dayglo::VERSION ...
require 'dayglo/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'dayglo' s.version = Dayglo::VERSION s.authors = ['Scot Dalton'] s.email = ['scotdalton@gmail.com'] s.homepage = 'https://github.com/scotdalton/dayglow' s.summary = ...
<|file_sep|>dayglo.gemspec.diff original: require 'exlibris/aleph/version' updated: require 'dayglo/version' <|file_sep|>original/dayglo.gemspec require 'exlibris/aleph/version' # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = 'dayglo' s.version = Dayglo::VERSION ...
3e7e8982d693bb4988561c265d52eaaa10761222
dayglo.gemspec
dayglo.gemspec
Ruby
<|file_sep|>docker-compose.yml.diff original: updated: <|file_sep|>docker-compose.yml.diff original: build: spendb/Dockerfile command: spendb runserver updated: build: . command: gunicorn -w 5 spendb.wsgi:app <|file_sep|>docker-compose.yml.diff original: - "5000:5000" updated: - "8000:...
- db - worker db: image: postgres:9.4 environment: - POSTGRES_USER= spendb - POSTGRES_PASSWORD= spendb expose: - "5432" volumes: - /srv/spendb/db:/var/lib/postgresql - /srv/spendb/logs/postgresql:/var/log rabbitmq: image: rabbitmq worker: bui...
<|file_sep|>docker-compose.yml.diff original: updated: <|file_sep|>docker-compose.yml.diff original: build: spendb/Dockerfile command: spendb runserver updated: build: . command: gunicorn -w 5 spendb.wsgi:app <|file_sep|>docker-compose.yml.diff original: - "5000:5000" updated: - "8000:...
62ef6b0ebd2a5157c096ddbf7411554c4486a546
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/web/app/themes/omoshetech/assets/less/layouts/_sidebar.less .author-image { padding-right: 15px; } .author-name { margin-top: 0; font-size: @font-size-large; } .author-profile { overflow: hidden; } } .widget_categories { ul { padding...
.author-image { padding-right: 15px; } .author-name { margin-top: 0; font-size: @font-size-large; } @media (max-width: @screen-xs-max), (min-width: @screen-md-min) { .author-profile { overflow: hidden; } } } .widget_categories { ul { paddin...
<|file_sep|>original/web/app/themes/omoshetech/assets/less/layouts/_sidebar.less .author-image { padding-right: 15px; } .author-name { margin-top: 0; font-size: @font-size-large; } .author-profile { overflow: hidden; } } .widget_categories { ul { padding...
670a3921d16b787da16d88ca0d5d0d23036fac2b
web/app/themes/omoshetech/assets/less/layouts/_sidebar.less
web/app/themes/omoshetech/assets/less/layouts/_sidebar.less
Less
<|file_sep|>original/metadata/org.gateshipone.odyssey.txt For more comfort you are able to use the launcher widget to have quick control over your music playback. . Repo Type:git Repo:https://github.com/gateship-one/odyssey Build:1.0,6 commit=release-6 subdir=app gradle=yes Build:1.0,7 commit=release...
Repo:https://github.com/gateship-one/odyssey Build:1.0,6 commit=release-6 subdir=app gradle=yes Build:1.0,7 commit=release-7 subdir=app gradle=yes Build:1.0.8,8 commit=release-8 subdir=app gradle=yes Auto Update Mode:Version release-%c Update Check Mode:Tags Current Version:1.0.8...
<|file_sep|>original/metadata/org.gateshipone.odyssey.txt For more comfort you are able to use the launcher widget to have quick control over your music playback. . Repo Type:git Repo:https://github.com/gateship-one/odyssey Build:1.0,6 commit=release-6 subdir=app gradle=yes Build:1.0,7 commit=release...
1c507cf7d478ad1d6de9af408766c2ff22241de6
metadata/org.gateshipone.odyssey.txt
metadata/org.gateshipone.odyssey.txt
Text
<|file_sep|>original/tools/dep_ensure.sh <|file_sep|>current/tools/dep_ensure.sh <|file_sep|>updated/tools/dep_ensure.sh
#!/bin/bash set -o xtrace set -o errexit set -o nounset set -o pipefail if [ ! -d "vendor" ]; then echo must run from repo root exit 1 fi # update deps dep ensure # restore BUILD files in vendor/ bazel run //:gazelle # remove symlinks in vendor/ find vendor/ -type l | xargs rm
<|file_sep|>original/tools/dep_ensure.sh <|file_sep|>current/tools/dep_ensure.sh <|file_sep|>updated/tools/dep_ensure.sh #!/bin/bash set -o xtrace set -o errexit set -o nounset set -o pipefail if [ ! -d "vendor" ]; then echo must run from repo root exit 1 fi # update deps dep ensure # restore BUILD files in...
9103a6fee4096bf615c5b022b1596befa46e0a26
tools/dep_ensure.sh
tools/dep_ensure.sh
Shell
<|file_sep|>original/roles/sensu/files/mig_check.json { "checks": { "mig_check": { "handle": false, "command": "check-http.rb -u http://127.0.0.1/pid -P 51664", "subscribers": [ "common" ], "interval": 60 } } } <|file_se...
{ "checks": { "mig_check": { "handle": false, "command": "check-http.rb -u http://127.0.0.1:51664/pid", "subscribers": [ "common" ], "interval": 60 } } }
<|file_sep|>original/roles/sensu/files/mig_check.json { "checks": { "mig_check": { "handle": false, "command": "check-http.rb -u http://127.0.0.1/pid -P 51664", "subscribers": [ "common" ], "interval": 60 } } } <|file_se...
29a33d6698d0dffdbd03e47f0ad5cb61f42fa48e
roles/sensu/files/mig_check.json
roles/sensu/files/mig_check.json
JSON
<|file_sep|>src/hunter/const.py.diff original: SYS_PREFIX_PATHS = set(( updated: SYS_PREFIX_PATHS = { <|file_sep|>src/hunter/const.py.diff original: )) updated: } <|file_sep|>original/src/hunter/const.py import sys from distutils.sysconfig import get_python_lib SITE_PACKAGES_PATHS = set() if hasattr(site, 'getsitepack...
from distutils.sysconfig import get_python_lib SITE_PACKAGES_PATHS = set() if hasattr(site, 'getsitepackages'): SITE_PACKAGES_PATHS.update(site.getsitepackages()) if hasattr(site, 'getusersitepackages'): SITE_PACKAGES_PATHS.add(site.getusersitepackages()) SITE_PACKAGES_PATHS.add(get_python_lib()) SITE_PACKAGES...
<|file_sep|>src/hunter/const.py.diff original: SYS_PREFIX_PATHS = set(( updated: SYS_PREFIX_PATHS = { <|file_sep|>src/hunter/const.py.diff original: )) updated: } <|file_sep|>original/src/hunter/const.py import sys from distutils.sysconfig import get_python_lib SITE_PACKAGES_PATHS = set() if hasattr(site, 'getsitepack...
34031f2b16303bcff69a7b52ec3e85ce35103c96
src/hunter/const.py
src/hunter/const.py
Python
<|file_sep|>intercom.py.diff original: import RPIO as GPIO updated: import RPi.GPIO as GPIO <|file_sep|>intercom.py.diff original: updated: <|file_sep|>original/intercom.py def __init__(self): config = configparser.ConfigParser() config.read('intercom.ini') self.mumble_client = MumbleClie...
self.send_input = False if config['general']['gpiotype'] == 'BCM': GPIO.setmode(GPIO.BCM) self.button = int(config['general']['button']) GPIO.setup(self.button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) def run(self): while not self.exit: if GPIO.input(...
<|file_sep|>intercom.py.diff original: import RPIO as GPIO updated: import RPi.GPIO as GPIO <|file_sep|>intercom.py.diff original: updated: <|file_sep|>original/intercom.py def __init__(self): config = configparser.ConfigParser() config.read('intercom.ini') self.mumble_client = MumbleClie...
1608134ea633c0fe8cd4636b11dc5a931d02e024
intercom.py
intercom.py
Python
<|file_sep|>original/lib/views/general/_topnav.rhtml <div id="topnav"> <ul id="navigation"> <li class="selected"><%= link_to _("Quiénes somos"), help_about_path %></li> <li class="selected"><%= link_to _("Guía para solicitantes"), help_requesting_path %></li> <li class="selected"><%= link_to...
<div id="topnav"> <ul id="navigation"> <li class="<%= 'selected' if params[:controller] == 'help' and params[:action] != 'requesting'%>"><%= link_to _("Quiénes somos"), help_about_path %></li> <li class="<%= 'selected' if params[:controller] == 'help' and params[:action] == 'requesting'%>"><%= link_...
<|file_sep|>original/lib/views/general/_topnav.rhtml <div id="topnav"> <ul id="navigation"> <li class="selected"><%= link_to _("Quiénes somos"), help_about_path %></li> <li class="selected"><%= link_to _("Guía para solicitantes"), help_requesting_path %></li> <li class="selected"><%= link_to...
636b698a182f900d4444f822bcdcf9cb6320d9a5
lib/views/general/_topnav.rhtml
lib/views/general/_topnav.rhtml
RHTML
<|file_sep|>original/.travis.yml os: osx language: node_js cache: yarn node_js: - '7' - '6' <|file_sep|>current/.travis.yml os: osx language: node_js cache: yarn node_js: - '7' - '6' <|file_sep|>updated/.travis.yml
os: osx language: node_js cache: yarn node_js: - '8' - '6'
<|file_sep|>original/.travis.yml os: osx language: node_js cache: yarn node_js: - '7' - '6' <|file_sep|>current/.travis.yml os: osx language: node_js cache: yarn node_js: - '7' - '6' <|file_sep|>updated/.travis.yml os: osx language: node_js cache: yarn node_js: - '8' - '6'
b14ac4983d891bca188ed8830db858540b562dd7
.travis.yml
.travis.yml
YAML
<|file_sep|>src/modal.js.diff original: template: '<aside class="UI-info-block--alert"><svg class="UI-info-block--decorator"><rect class="UI-decorator--base" height="100%"></rect><use xmlns:xlink="http://www.w3.org/1999/xlink" class="UI-decorator--icon" ui-icon-xlink-href="alert" xlink:href="#icon--alert"><...
closeByDocument: false, closeByNavigation: true, className: 'UI-modal UI-modal--dialog', template: template, controller: controller }, more)); }, view: function (template, controller, more) { return ngDialog.open(angular.ext...
<|file_sep|>src/modal.js.diff original: template: '<aside class="UI-info-block--alert"><svg class="UI-info-block--decorator"><rect class="UI-decorator--base" height="100%"></rect><use xmlns:xlink="http://www.w3.org/1999/xlink" class="UI-decorator--icon" ui-icon-xlink-href="alert" xlink:href="#icon--alert"><...
5bafd62d875b1a884168a5ad2009c167db3b6b27
src/modal.js
src/modal.js
JavaScript
<|file_sep|>.styleci.yml.diff original: updated: - "app" - "etc" <|file_sep|>original/.styleci.yml preset: symfony finder: exclude: - "spec" - "tests" path: - "src" enabled: - short_array_syntax disabled: - phpdoc_annotation_without_dot # This is still buggy: ...
preset: symfony finder: exclude: - "spec" - "tests" path: - "app" - "etc" - "src" - "web" enabled: - short_array_syntax disabled: - phpdoc_annotation_without_dot # This is still buggy: https://github.com/symfony/symfony/pull/19198
<|file_sep|>.styleci.yml.diff original: updated: - "app" - "etc" <|file_sep|>original/.styleci.yml preset: symfony finder: exclude: - "spec" - "tests" path: - "src" enabled: - short_array_syntax disabled: - phpdoc_annotation_without_dot # This is still buggy: ...
202529dbc4bb14dc84f9a13cb9c5094106d02c98
.styleci.yml
.styleci.yml
YAML
<|file_sep|>attributes/client.rb.diff original: updated: abi_version = case version when "5.5" then "18" when "5.6" then "18.1" else "" end <|file_sep|>original/attributes/client.rb version = value_for_platform_family( "debian" => node["percona"]["ve...
version = value_for_platform_family( "debian" => node["percona"]["version"], "rhel" => node["percona"]["version"].tr(".", "") ) case node["platform_family"] when "debian" abi_version = case version when "5.5" then "18" when "5.6" then "18.1" else "" ...
<|file_sep|>attributes/client.rb.diff original: updated: abi_version = case version when "5.5" then "18" when "5.6" then "18.1" else "" end <|file_sep|>original/attributes/client.rb version = value_for_platform_family( "debian" => node["percona"]["ve...
a6297b22cfc8e6f2fdf05696bae06dc6cc80696c
attributes/client.rb
attributes/client.rb
Ruby
<|file_sep|>original/lib/cocoatree/pods.rb Pod.new(spec_set.specification) end end end def pods source.pods[0..4]\ .map { |p| begin self.pod(p) rescue Pod::DSLError => e nil end }\ .compact\ .kee...
Pod.new(spec_set.specification) end end end def pods source.pods[0..4]\ .map { |p| begin self.pod(p) rescue ::Pod::DSLError => e nil end }\ .compact\ .keep_if(&:github?) end def pods_by_...
<|file_sep|>original/lib/cocoatree/pods.rb Pod.new(spec_set.specification) end end end def pods source.pods[0..4]\ .map { |p| begin self.pod(p) rescue Pod::DSLError => e nil end }\ .compact\ .kee...
3d45834e62935c187f32fb075bd85e7af064384a
lib/cocoatree/pods.rb
lib/cocoatree/pods.rb
Ruby
<|file_sep|>original/recipes-openamp/images/openamp-image-minimal.bb INITRD_IMAGE = "core-image-minimal-initramfs" LICENSE = "MIT" inherit core-image IMAGE_INSTALL += " \ packagegroup-core-boot \ ${CORE_IMAGE_EXTRA_INSTALL} \ kernel-module-uio-pdrv-genirq \ kernel-module-remoteproc \ kernel-module...
DESCRIPTION = "A minimal OpenAMP image" INITRD_IMAGE = "core-image-minimal-initramfs" LICENSE = "MIT" inherit core-image IMAGE_INSTALL += " \ packagegroup-core-boot \ ${CORE_IMAGE_EXTRA_INSTALL} \ kernel-module-uio-pdrv-genirq \ kernel-module-virtio-rpmsg-bus \ libmetal \ open-amp \ " #I...
<|file_sep|>original/recipes-openamp/images/openamp-image-minimal.bb INITRD_IMAGE = "core-image-minimal-initramfs" LICENSE = "MIT" inherit core-image IMAGE_INSTALL += " \ packagegroup-core-boot \ ${CORE_IMAGE_EXTRA_INSTALL} \ kernel-module-uio-pdrv-genirq \ kernel-module-remoteproc \ kernel-module...
172abfeaad110017e47f23894c6f4272dccb4a0a
recipes-openamp/images/openamp-image-minimal.bb
recipes-openamp/images/openamp-image-minimal.bb
BitBake
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree - jruby - ruby-head - 1.8.6 script: "bundle exec rake test:units" notifications: disable: true <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree - jruby - ruby-head - 1.8.6 script: "...
rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree - jruby script: "bundle exec rake test:units" notifications: disable: true
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree - jruby - ruby-head - 1.8.6 script: "bundle exec rake test:units" notifications: disable: true <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - rbx - rbx-2.0 - ree - jruby - ruby-head - 1.8.6 script: "...
c7ab4991f778f6d2e24c1957c25a2067949fa432
.travis.yml
.travis.yml
YAML
<|file_sep|>app/state.rb.diff original: def [](r, c) @board[r, c] updated: def [](row, col) @board[row, col] <|file_sep|>app/state.rb.diff original: def []=(r, c, value) i = [r, c] updated: def []=(row, col, value) i = [row, col] <|file_sep|>original/app/state.rb end def [](r, c) @board[r, c] end de...
end def [](row, col) @board[row, col] end def []=(row, col, value) i = [row, col] @move_order.push(i) # Override private method because Matrices are default immutable @board.send(:'[]=', row, col, value) Log.debug("Filling cell (#{row+1}, #{col+1}) with (#{value}):") Log.tab(@board, "debug_only") e...
<|file_sep|>app/state.rb.diff original: def [](r, c) @board[r, c] updated: def [](row, col) @board[row, col] <|file_sep|>app/state.rb.diff original: def []=(r, c, value) i = [r, c] updated: def []=(row, col, value) i = [row, col] <|file_sep|>original/app/state.rb end def [](r, c) @board[r, c] end de...
68da18cad8094c7de52da689242f00bbb54ce6eb
app/state.rb
app/state.rb
Ruby
<|file_sep|>packages/hf/hformat.yaml.diff original: hash: 9a45592f7b89739b84322a5a5883db49fbfed8256f4bac134f8af86f6cb36558 updated: hash: d44e81abdf151b213ff8e3e2abfe45a758563ed4958c8b87a5b2761efa5aaf6e <|file_sep|>packages/hf/hformat.yaml.diff original: updated: ansi-terminal: ! '>=0.6' <|file_sep|>packages/hf/hfor...
hspec: -any text: ! '>=1.2.1' hformat: -any maintainer: voidex@live.com synopsis: Simple Haskell formatting changelog: '' basic-deps: base-unicode-symbols: ! '>=0.2' base: ! '>=4.8 && <5' text: ! '>=1.2.1' ansi-terminal: ! '>=0.6' all-versions: - '0.1.0.0' - '0.1.0.1' - '0.2.0.0' - '0.3.0.0' author: Alexa...
<|file_sep|>packages/hf/hformat.yaml.diff original: hash: 9a45592f7b89739b84322a5a5883db49fbfed8256f4bac134f8af86f6cb36558 updated: hash: d44e81abdf151b213ff8e3e2abfe45a758563ed4958c8b87a5b2761efa5aaf6e <|file_sep|>packages/hf/hformat.yaml.diff original: updated: ansi-terminal: ! '>=0.6' <|file_sep|>packages/hf/hfor...
9ae98d683e2ad9e5d416a2354941eab0dbc62aa0
packages/hf/hformat.yaml
packages/hf/hformat.yaml
YAML
<|file_sep|>src/lib/hashingFunctions.ts.diff original: const _addition = (a, b) => { return a + b; }; updated: const isEven: (num: number) => boolean = num => num % 2 === 0; <|file_sep|>src/lib/hashingFunctions.ts.diff original: const _subtraction = (a, b) => { return a - b; }; updated: export const sum: (array: nu...
const isEven: (num: number) => boolean = num => num % 2 === 0; export const sum: (array: number[]) => number = arr => arr.reduce((a, b) => a + b, 0); export const sumAndDiff: (array: number[]) => number = array => array.reduce( (prev, curr, index) => (isEven(index) ? prev + curr : prev - curr), 0, );
<|file_sep|>src/lib/hashingFunctions.ts.diff original: const _addition = (a, b) => { return a + b; }; updated: const isEven: (num: number) => boolean = num => num % 2 === 0; <|file_sep|>src/lib/hashingFunctions.ts.diff original: const _subtraction = (a, b) => { return a - b; }; updated: export const sum: (array: nu...
acb50bc698508d46198440c85380493d7ddd6064
src/lib/hashingFunctions.ts
src/lib/hashingFunctions.ts
TypeScript
<|file_sep|>original/twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs using GalaSoft.MvvmLight; namespace twitch_tv_viewer.ViewModels.Components { internal class MessageDisplayViewModel : ViewModelBase { private string _message; public string Message { get...
using GalaSoft.MvvmLight; namespace twitch_tv_viewer.ViewModels.Components { internal class MessageDisplayViewModel : ViewModelBase { private string _message; public string Message { get { return _message; } set { _message = value; ...
<|file_sep|>original/twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs using GalaSoft.MvvmLight; namespace twitch_tv_viewer.ViewModels.Components { internal class MessageDisplayViewModel : ViewModelBase { private string _message; public string Message { get...
0504fbd23e7fd9794f239dbeac5cc6f96dbd565d
twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs
twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs
C#
<|file_sep|>original/test/helpers.coffee rewire = require 'rewire' helpers = rewire '../src/helpers' describe 'helpers', -> describe 'replaceConfigSlashes()', -> it 'should replace slashes with backslashes in config', -> helpers.__set__ 'isWindows', true unix = require './fixtures/unix_config' ...
rewire = require 'rewire' helpers = rewire '../src/helpers' describe 'helpers', -> describe 'replaceConfigSlashes()', -> it 'should replace slashes with backslashes in config', -> helpers.__set__ 'isWindows', true unix = require './fixtures/unix_config' win = require './fixtures/win_config' ...
<|file_sep|>original/test/helpers.coffee rewire = require 'rewire' helpers = rewire '../src/helpers' describe 'helpers', -> describe 'replaceConfigSlashes()', -> it 'should replace slashes with backslashes in config', -> helpers.__set__ 'isWindows', true unix = require './fixtures/unix_config' ...
b4220ee7fcf5b3d38bdac9052d892522627395c1
test/helpers.coffee
test/helpers.coffee
CoffeeScript
<|file_sep|>original/pyvideo/settings.py # Django settings for pyvideo project. from richard.settings import * ALLOWED_HOSTS = ['pyvideo.ru'] TIME_ZONE = 'Europe/Moscow' LANGUAGE_CODE = 'ru' SECRET_KEY = 'this_is_not_production_so_who_cares' ROOT_URLCONF = 'pyvideo.urls' WSGI_APPLICATION = 'pyvideo.wsgi.application'...
# Django settings for pyvideo project. from richard.settings import * ALLOWED_HOSTS = ['pyvideo.ru', 'pyvideoru.herokuapp.com'] TIME_ZONE = 'Europe/Moscow' LANGUAGE_CODE = 'ru' SECRET_KEY = 'this_is_not_production_so_who_cares' ROOT_URLCONF = 'pyvideo.urls' WSGI_APPLICATION = 'pyvideo.wsgi.application' TEMPLATE_DIR...
<|file_sep|>original/pyvideo/settings.py # Django settings for pyvideo project. from richard.settings import * ALLOWED_HOSTS = ['pyvideo.ru'] TIME_ZONE = 'Europe/Moscow' LANGUAGE_CODE = 'ru' SECRET_KEY = 'this_is_not_production_so_who_cares' ROOT_URLCONF = 'pyvideo.urls' WSGI_APPLICATION = 'pyvideo.wsgi.application'...
f3eb94bbe10160a4337c5eb9241166f60b9724a8
pyvideo/settings.py
pyvideo/settings.py
Python
<|file_sep|>original/app/services/passwordCheckService.js var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://admissions.vschool.io/api/part"; this.checkPassword = function (password, partNumber) { var submitData = {an...
var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://admissions-qa.vschool.io/api/part"; this.checkPassword = function (password, partNumber) { var submitData = {answer: password}; return $http.post(submitBaseUr...
<|file_sep|>original/app/services/passwordCheckService.js var app = angular.module("AdmissionsApp"); app.service("PasswordCheckService", ["$http", function ($http) { var submitBaseUrl = "http://admissions.vschool.io/api/part"; this.checkPassword = function (password, partNumber) { var submitData = {an...
f7445497f6b89efcc6d88c053e3fc5c0b03361d6
app/services/passwordCheckService.js
app/services/passwordCheckService.js
JavaScript
<|file_sep|>original/_includes/blog-archive.html <dl class='blog-archive'> {% assign blosts = site.categories.blog | sort: 'priority' %} {% for blost in blosts %} {% assign hr = false %} {% if forloop.rindex > 1 %} {% assign hr = true %} {% endif %} {% include blost-link.html title = blost.tit...
<dl class='blog-archive'> {% assign blosts = site.categories.blog | sort: 'priority' %} {% for blost in blosts %} {% unless blost.url == page.url %} {% assign hr = false %} {% if forloop.rindex > 1 %} {% assign hr = true %} {% endif %} {% include blost-link.html title = blost.tit...
<|file_sep|>original/_includes/blog-archive.html <dl class='blog-archive'> {% assign blosts = site.categories.blog | sort: 'priority' %} {% for blost in blosts %} {% assign hr = false %} {% if forloop.rindex > 1 %} {% assign hr = true %} {% endif %} {% include blost-link.html title = blost.tit...
9c6c244b49a414229c5f5832472815ee939c698c
_includes/blog-archive.html
_includes/blog-archive.html
HTML
<|file_sep|>original/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java <|file_sep|>current/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java <|file_sep|>updated/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java
package de.cinovo.cloudconductor.api.interfaces; import java.util.Map; import javax.annotation.security.RolesAllowed; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import de.cinovo.cloudconductor.api.MediaType; /** * * Copyright 2018 Cinovo AG<br> * <...
<|file_sep|>original/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java <|file_sep|>current/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java <|file_sep|>updated/src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java package de.cinovo.cloudconductor.api.i...
65a33e0065398112e1fea3e466fbea20a5da5c91
src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java
src/main/java/de/cinovo/cloudconductor/api/interfaces/IServiceUsage.java
Java
<|file_sep|>original/test/com/facebook/buck/apple/testdata/simple_application_bundle_swift_no_debug/AppDelegate.swift * License for the specific language governing permissions and limitations * under the License. */ import UIKit @UIApplicationMain final class AppDelegate: UIResponder, UIApplicationDelegate { v...
* License for the specific language governing permissions and limitations * under the License. */ import UIKit @UIApplicationMain final class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: ...
<|file_sep|>original/test/com/facebook/buck/apple/testdata/simple_application_bundle_swift_no_debug/AppDelegate.swift * License for the specific language governing permissions and limitations * under the License. */ import UIKit @UIApplicationMain final class AppDelegate: UIResponder, UIApplicationDelegate { v...
18d0a9773303a6a37a2c93ce96e990790d733c07
test/com/facebook/buck/apple/testdata/simple_application_bundle_swift_no_debug/AppDelegate.swift
test/com/facebook/buck/apple/testdata/simple_application_bundle_swift_no_debug/AppDelegate.swift
Swift
<|file_sep|>original/site/tainted_type.markdown <|file_sep|>current/site/tainted_type.markdown <|file_sep|>updated/site/tainted_type.markdown
Tainted ======= The Tainted type acts as a wrapper over a value that is considered unsafe for direct use. The Tainted type holds a private reference to whatever is passed into it, thus forbidding direct use of something that is unsafe. To access the value inside, callers must call `Tainted::sanitize` to receive a safe...
<|file_sep|>original/site/tainted_type.markdown <|file_sep|>current/site/tainted_type.markdown <|file_sep|>updated/site/tainted_type.markdown Tainted ======= The Tainted type acts as a wrapper over a value that is considered unsafe for direct use. The Tainted type holds a private reference to whatever is passed into...
ef2452c2fcf76d2013d69c7e2a0e784be46a0a8a
site/tainted_type.markdown
site/tainted_type.markdown
Markdown
<|file_sep|>proto/wtools/abase/l0/l3/Global.s.diff original: updated: for( let namespace in _globals_ ) { if( _globals_[ namespace ] === src ) return true; } return false; <|file_sep|>proto/wtools/abase/l0/l3/Global.s.diff original: if( _.primitiveIs( src ) ) updated: // if( _.primitiveIs( src ) ...
return true; return false; } // function isDerivative( src ) { _.assert( arguments.length === 1, 'Expects single argument' ); // if( _.primitiveIs( src ) ) // return false; if( _.global.is( src ) && !_.global.isReal( src ) ) return true; return false; } // -- // extension // --
<|file_sep|>proto/wtools/abase/l0/l3/Global.s.diff original: updated: for( let namespace in _globals_ ) { if( _globals_[ namespace ] === src ) return true; } return false; <|file_sep|>proto/wtools/abase/l0/l3/Global.s.diff original: if( _.primitiveIs( src ) ) updated: // if( _.primitiveIs( src ) ...
cb0088654c3dcaa33c6011fccafca62aad8d2bfd
proto/wtools/abase/l0/l3/Global.s
proto/wtools/abase/l0/l3/Global.s
GAS
<|file_sep|>original/lib/genome/online_updaters/go/api_client.rb JSON.parse(body) end def make_get_request(uri) res = Net::HTTP.get_response(uri) raise StandardError.new("Request Failed!") unless res.code == '200' res.body end def gene_lookup_base_url(id) "http://api.gene...
JSON.parse(body) end def make_get_request(uri) res = Net::HTTP.get_response(uri) raise StandardError.new("Request Failed!") unless res.code == '200' res.body end def gene_lookup_base_url(id) "http://api.geneontology.org/api/bioentity/function/%22GO:#{id}%22" end ...
<|file_sep|>original/lib/genome/online_updaters/go/api_client.rb JSON.parse(body) end def make_get_request(uri) res = Net::HTTP.get_response(uri) raise StandardError.new("Request Failed!") unless res.code == '200' res.body end def gene_lookup_base_url(id) "http://api.gene...
55c995814481e51e193de84cb4006d30b6f5c7bc
lib/genome/online_updaters/go/api_client.rb
lib/genome/online_updaters/go/api_client.rb
Ruby
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Merge me! uses: ride...
<|file_sep|>original/.github/workflows/automerge.yml jobs: merge-me: name: Merge me! runs-on: ubuntu-latest steps: - # It is often a desired behavior to merge only when a workflow execution # succeeds. This can be changed as needed. if: ${{ github.event.workflow_run.conclusion == 's...
3788e9733e1ad4d9e3f5e8b6dc7c5ffe2f4d611a
.github/workflows/automerge.yml
.github/workflows/automerge.yml
YAML
<|file_sep|>original/source/_posts/achievement-get-groupchat-audio.md title: "Achievement Get: Groupchat Audio" id: 561 categories: - qTox - Tox Core - μTox date: 2014-11-15 12:18:14 tags: --- We've been promising it since our inception, and by God that time has finally come. With recent Toxcore commits, alongsi...
title: "Achievement Get: Groupchat Audio" id: 561 categories: - qTox - Tox Core - μTox date: 2014-11-15 12:18:14 tags: --- We've been promising it since our inception, and by God that time has finally come. With recent Toxcore commits, alongside implementation in our two leading clients, qTox and uTox, Tox users...
<|file_sep|>original/source/_posts/achievement-get-groupchat-audio.md title: "Achievement Get: Groupchat Audio" id: 561 categories: - qTox - Tox Core - μTox date: 2014-11-15 12:18:14 tags: --- We've been promising it since our inception, and by God that time has finally come. With recent Toxcore commits, alongsi...
0d8169bfee0fd6f2971ace55f8a3e4c55133c714
source/_posts/achievement-get-groupchat-audio.md
source/_posts/achievement-get-groupchat-audio.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: # set EXTRA_TAG to latest,stable when no more experimental versions for 0.17 come out <|file_sep|>original/.travis.yml apt: packages: - jq jobs: include: - stage: test script: - git ls-files --exclude='*Dockerfile' --ignored | xargs -...
packages: - jq jobs: include: - stage: test script: - git ls-files --exclude='*Dockerfile' --ignored | xargs --max-lines=1 -I{} sh -c 'docker run --rm -i -v ${PWD}/.hadolint.yaml:/.hadolint.yaml hadolint/hadolint < "$1"' -- {} - bash -c 'shopt -s globstar; shellcheck **/*.sh' - ...
<|file_sep|>.travis.yml.diff original: updated: # set EXTRA_TAG to latest,stable when no more experimental versions for 0.17 come out <|file_sep|>original/.travis.yml apt: packages: - jq jobs: include: - stage: test script: - git ls-files --exclude='*Dockerfile' --ignored | xargs -...
7c9011dcee207b77b7da21d12889e1b324de35da
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/test_memory_leaks.rs <|file_sep|>current/examples/test_memory_leaks.rs <|file_sep|>updated/examples/test_memory_leaks.rs
extern crate libmodbus_sys as raw; extern crate libmodbus_rs; use libmodbus_rs::modbus::{Modbus}; fn main() { // 1. Parameter Serial Interface `/dev/ttyUSB0` let device: String = std::env::args().nth(1).unwrap(); // 2. Parameter SlaveID let slave_id: i32 = std::env::args().nth(2).unwrap().parse().unw...
<|file_sep|>original/examples/test_memory_leaks.rs <|file_sep|>current/examples/test_memory_leaks.rs <|file_sep|>updated/examples/test_memory_leaks.rs extern crate libmodbus_sys as raw; extern crate libmodbus_rs; use libmodbus_rs::modbus::{Modbus}; fn main() { // 1. Parameter Serial Interface `/dev/ttyUSB0` ...
a9587fca74e0337e678b76e2d2f6d55462ebc9f8
examples/test_memory_leaks.rs
examples/test_memory_leaks.rs
Rust
<|file_sep|>original/.github/workflows/ruby.yml on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ] name: Test with Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v1 ...
on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ] name: Test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }} steps: - uses: actions/checkout@v1 - name: Set up Ruby ${{ ma...
<|file_sep|>original/.github/workflows/ruby.yml on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest] ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ] name: Test with Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v1 ...
ef6408743530f3cfb113780af701b08ebb725ccf
.github/workflows/ruby.yml
.github/workflows/ruby.yml
YAML
<|file_sep|>original/helper.bash # bash equals_var() { declare -p $1 >/dev/null 2>&1 || return 1 declare -p $2 >/dev/null 2>&1 || return 1 declare -n equals_var__left=$1 declare -n equals_var__right=$2 # 非配列 if [[ $(declare -p $1 $2 | grep -E '^declare -[^ ]*[aA]' | wc -l) == 0 ]]; then [[ $equals_var_...
# bash equals_var() { declare -p $1 >/dev/null 2>&1 || return 1 declare -p $2 >/dev/null 2>&1 || return 1 if true || [[ ${BASH_VERSINFO[0]} -lt 4 ]] || [[ ${BASH_VERSINFO[0]} == 4 && ${BASH_VERSINFO[1]} -lt 3 ]]; then eval "$(declare -p "$1" | perl -pe's/\S+?=/equals_var__left=/')" eval "$(declare -p "$2...
<|file_sep|>original/helper.bash # bash equals_var() { declare -p $1 >/dev/null 2>&1 || return 1 declare -p $2 >/dev/null 2>&1 || return 1 declare -n equals_var__left=$1 declare -n equals_var__right=$2 # 非配列 if [[ $(declare -p $1 $2 | grep -E '^declare -[^ ]*[aA]' | wc -l) == 0 ]]; then [[ $equals_var_...
1f2a09c83fb4b2ea265d9ce2ef6dfbf92418f442
helper.bash
helper.bash
Shell
<|file_sep|>app/reports/state_of_good_repair_report.rb.diff original: Asset.active.where(organization_id: organization_id_list) updated: Asset.operational.where(organization_id: organization_id_list) <|file_sep|>original/app/reports/state_of_good_repair_report.rb private def initialize(attributes={}) #...
private def initialize(attributes={}) # No Service for this report, unlike other AssetReports. ALL assets under review # @service = #### super(attributes) end # Override standard method (via service), get all undisposed assets def get_assets(organization_id_list, fiscal_year, asset_type_id=nil,...
<|file_sep|>app/reports/state_of_good_repair_report.rb.diff original: Asset.active.where(organization_id: organization_id_list) updated: Asset.operational.where(organization_id: organization_id_list) <|file_sep|>original/app/reports/state_of_good_repair_report.rb private def initialize(attributes={}) #...
18bedd67c24c434049f1eec3cc86bfc93161f8de
app/reports/state_of_good_repair_report.rb
app/reports/state_of_good_repair_report.rb
Ruby
<|file_sep|>original/README.md rachinations ==================== [![Build Status](https://travis-ci.org/queirozfcom/rachinations.svg?branch=new_main_loop)](https://travis-ci.org/queirozfcom/rachinations) [![Code Climate](https://codeclimate.com/github/queirozfcom/rachinations.png)](https://codeclimate.com/github/queir...
rachinations ==================== [![Build Status](https://travis-ci.org/queirozfcom/rachinations.svg?branch=new_main_loop)](https://travis-ci.org/queirozfcom/rachinations) [![Code Climate](https://codeclimate.com/github/queirozfcom/rachinations.png)](https://codeclimate.com/github/queirozfcom/rachinations) [![Coverag...
<|file_sep|>original/README.md rachinations ==================== [![Build Status](https://travis-ci.org/queirozfcom/rachinations.svg?branch=new_main_loop)](https://travis-ci.org/queirozfcom/rachinations) [![Code Climate](https://codeclimate.com/github/queirozfcom/rachinations.png)](https://codeclimate.com/github/queir...
59c7b7baa92412a05f6377326995b2655dfdddeb
README.md
README.md
Markdown
<|file_sep|>original/packaging/neo4j-manual.txt The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: 1.2-1.2 :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation =========...
The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: snapshot :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation ======================= //// [partintro] //// :leveloffs...
<|file_sep|>original/packaging/neo4j-manual.txt The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: 1.2-1.2 :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation =========...
116c53f4287374717eb2554aff5f775a45f5d7db
packaging/neo4j-manual.txt
packaging/neo4j-manual.txt
Text
<|file_sep|>original/config.ru require "./init" require "raven" require "rack/revision" use Middleware::ExceptionHandler use Middleware::RequestLogger, Logger.new("./log/requests.log") use Raven::Rack use Rack::Revision run Service::Application <|file_sep|>current/config.ru require "./init" require "raven" require "r...
require "./init" require "raven" require "rack/revision" use Middleware::ExceptionHandler use Middleware::RequestLogger, Logger.new("./log/requests.log") use Raven::Rack use Rack::Revision use Rack::Runtime run Service::Application
<|file_sep|>original/config.ru require "./init" require "raven" require "rack/revision" use Middleware::ExceptionHandler use Middleware::RequestLogger, Logger.new("./log/requests.log") use Raven::Rack use Rack::Revision run Service::Application <|file_sep|>current/config.ru require "./init" require "raven" require "r...
e50496cb627c95c8f344defdd8f09ae16d3d19a9
config.ru
config.ru
Ruby
<|file_sep|>original/tests/test_addresses.py <|file_sep|>current/tests/test_addresses.py <|file_sep|>updated/tests/test_addresses.py
import json import random import pytest from zephyrus.addresses import Participants from zephyrus.exceptions import ImproperlyConfigured @pytest.fixture(scope='session') def config_json(): return { "simulation": "tcp://127.0.0.1:7000", "strategy": "tcp://127.0.0.1:5000", "tester": "tcp://127.0...
<|file_sep|>original/tests/test_addresses.py <|file_sep|>current/tests/test_addresses.py <|file_sep|>updated/tests/test_addresses.py import json import random import pytest from zephyrus.addresses import Participants from zephyrus.exceptions import ImproperlyConfigured @pytest.fixture(scope='session') def config_...
b2479b41672b0fafaabd42dc3dde56328f77ab0b
tests/test_addresses.py
tests/test_addresses.py
Python
<|file_sep|>original/.github/mergeable.yml mergeable: pull_requests: label: and: - must_exclude: regex: '^disposition/DO NOT MERGE' message: 'Pull request marked not mergeable' - or: - and: - must_include: regex: 'release notes: y...
mergeable: pull_requests: label: and: - must_exclude: regex: '^disposition/DO NOT MERGE' message: 'Pull request marked not mergeable' - or: - and: - must_include: regex: 'release notes: yes' message: 'Please includ...
<|file_sep|>original/.github/mergeable.yml mergeable: pull_requests: label: and: - must_exclude: regex: '^disposition/DO NOT MERGE' message: 'Pull request marked not mergeable' - or: - and: - must_include: regex: 'release notes: y...
0894247c2197f0924af1a0a61c195b8423022f41
.github/mergeable.yml
.github/mergeable.yml
YAML
<|file_sep|>README.md.diff original: I'm running and watching it via [forever](https://github.com/foreverjs/forever) like this: updated: Running and watching it via [forever](https://github.com/foreverjs/forever): <|file_sep|>original/README.md A simple, stupid Node-based deploy script working with GitHub Webhooks. #...
A simple, stupid Node-based deploy script working with GitHub Webhooks. ## Usage example Running and watching it via [forever](https://github.com/foreverjs/forever): ```bash forever start --watch --watchDirectory dist dist/index.js /path/to/config.json ``` Running and watching it via [pm2](http://pm2.keymetrics.io/...
<|file_sep|>README.md.diff original: I'm running and watching it via [forever](https://github.com/foreverjs/forever) like this: updated: Running and watching it via [forever](https://github.com/foreverjs/forever): <|file_sep|>original/README.md A simple, stupid Node-based deploy script working with GitHub Webhooks. #...
4ec31b9fc38ba11f9be33378a2f3eaea2f1d0bd8
README.md
README.md
Markdown