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/test/unit/publish_static_pages_test.rb
test 'sends static pages to rummager and publishing api' do
Whitehall::FakeRummageableIndex.any_instance.expects(:add).at_least_once.with(kind_of(Hash))
publisher = PublishStaticPages.new
expect_publishing(publisher.pages)
PublishStaticPages... | test 'sends static pages to rummager and publishing api' do
Whitehall::FakeRummageableIndex.any_instance.expects(:add).at_least_once.with(kind_of(Hash))
publisher = PublishStaticPages.new
expect_publishing(publisher.pages)
PublishStaticPages.new.publish
end
test 'static pages presented to the pu... | <|file_sep|>original/test/unit/publish_static_pages_test.rb
test 'sends static pages to rummager and publishing api' do
Whitehall::FakeRummageableIndex.any_instance.expects(:add).at_least_once.with(kind_of(Hash))
publisher = PublishStaticPages.new
expect_publishing(publisher.pages)
PublishStaticPages... | 81f02ad668b16eef0dbd9ff0add313c52109a3b8 | test/unit/publish_static_pages_test.rb | test/unit/publish_static_pages_test.rb | Ruby |
<|file_sep|>src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs.diff
original:
updated:
using System.Text;
<|file_sep|>src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs.diff
original:
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
updated:
<|file_sep|>src/Glimpse.Server.Web/Resources/Mess... | // TODO: Really shouldn't be here
_store = (InMemoryStorage)storage;
}
public async Task Invoke(HttpContext context, IDictionary<string, string> parameters)
{
var response = context.Response;
response.Headers[HeaderNames.ContentType] = "applicat... | <|file_sep|>src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs.diff
original:
updated:
using System.Text;
<|file_sep|>src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs.diff
original:
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
updated:
<|file_sep|>src/Glimpse.Server.Web/Resources/Mess... | 9a08c25609cef05db7b375403a0b1e289e9fd638 | src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs | src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs | C# |
<|file_sep|>original/routes.php
'values' => [
'controller' => 'aura.demo.hello',
'action' => 'index',
],
],
'logo' => [
'path' => '/logo',
'values' => [
'controller' => 'aura.demo.hello',
'act... | 'values' => [
'controller' => 'aura.demo.hello',
'action' => 'index',
],
],
'logo' => [
'path' => '/logo',
'values' => [
'controller' => 'aura.demo.hello',
'action' => 'logo',
],
... | <|file_sep|>original/routes.php
'values' => [
'controller' => 'aura.demo.hello',
'action' => 'index',
],
],
'logo' => [
'path' => '/logo',
'values' => [
'controller' => 'aura.demo.hello',
'act... | a42b28cb0c63b74689f955358323e595948eea5d | routes.php | routes.php | PHP |
<|file_sep|>original/.travis.yml
before_script:
- sudo apt-get -qq update
- sudo apt-get install ant-optional -y
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github... | before_script:
- sudo apt-get -qq update
- sudo apt-get install ant-optional -y
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir bu... | <|file_sep|>original/.travis.yml
before_script:
- sudo apt-get -qq update
- sudo apt-get install ant-optional -y
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github... | 0a6473efcb5714c632140625fec3e35a2e025cac | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Assets/Fungus/FungusScript/Scripts/EventHandler.cs
}
/**
* A Sequence may have an associated Event Handler which starts executing the sequence when
* a specific event occurs.
* To create a custom Event Handler, simply subclass EventHandler and call the ExecuteSequence() method
* when th... | }
/**
* A Sequence may have an associated Event Handler which starts executing the sequence when
* a specific event occurs.
* To create a custom Event Handler, simply subclass EventHandler and call the ExecuteSequence() method
* when the event occurs.
* Add an EventHandlerInfo attibute and your new Event... | <|file_sep|>original/Assets/Fungus/FungusScript/Scripts/EventHandler.cs
}
/**
* A Sequence may have an associated Event Handler which starts executing the sequence when
* a specific event occurs.
* To create a custom Event Handler, simply subclass EventHandler and call the ExecuteSequence() method
* when th... | f5ad27b1c0ae2e2a09834619790dff6d03adbd84 | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | C# |
<|file_sep|>original/README.md
# <img src="http://rawgithub.com/drublic/init/v1.0.0/logo.svg" alt="INIT" title="INIT" width="200">
The website for INIT. Please refer to the master branch in order to find all
information you need.
## License
Please be aware of the licenses of each component we use in this project.
Ev... | # <img src="http://rawgithub.com/drublic/init/master/logo.svg" alt="INIT" title="INIT" width="200">
The website for INIT. Please refer to the master branch in order to find all
information you need.
## License
Please be aware of the licenses of each component we use in this project.
Everything else that has been dev... | <|file_sep|>original/README.md
# <img src="http://rawgithub.com/drublic/init/v1.0.0/logo.svg" alt="INIT" title="INIT" width="200">
The website for INIT. Please refer to the master branch in order to find all
information you need.
## License
Please be aware of the licenses of each component we use in this project.
Ev... | e8a86321f9e4a9ce14ddb234cd9a31c1bcb9d35d | README.md | README.md | Markdown |
<|file_sep|>original/Resources/config/config.yml
body_listener: true
allowed_methods_listener: true
view:
view_response_listener: 'force'
formats:
json: true
xml: true
format_listener:
rules:
- { path: '^/api', priorities: ['json', 'xml'], fall... | body_listener: true
allowed_methods_listener: true
view:
view_response_listener: 'force'
formats:
json: true
xml: true
format_listener:
rules:
- { path: '^/api', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
... | <|file_sep|>original/Resources/config/config.yml
body_listener: true
allowed_methods_listener: true
view:
view_response_listener: 'force'
formats:
json: true
xml: true
format_listener:
rules:
- { path: '^/api', priorities: ['json', 'xml'], fall... | b6e00793b62a763069df258907f59dec35bed917 | Resources/config/config.yml | Resources/config/config.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- sudo gem uninstall ffi -a
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- sudo gem uninstall ffi -a
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- sudo gem uninstall ffi -a | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- sudo gem uninstall ffi -a
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0.0
- 1.9.3
- 1.8.7
before_install:
- sudo gem uninstall ffi -a
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.1.0
... | 6cf8cf1f90468ce8e19e2da2ccf10e4ccc101fc4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- openstack-python3-zed-jobs
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-py36:
voting: false
gate:
jobs:
- openstack-tox-py36:
voting: false
<|file_s... | - project:
templates:
- check-requirements
- openstack-python3-zed-jobs
- release-notes-jobs-python3 | <|file_sep|>original/.zuul.yaml
- project:
templates:
- check-requirements
- openstack-python3-zed-jobs
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-py36:
voting: false
gate:
jobs:
- openstack-tox-py36:
voting: false
<|file_s... | 2cb1dada5bbc14cff89faa41f172193252de703e | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/app/views/App/Index.html
{{set . "title" "Home"}}
{{template "header.html" .}}
<header class="hero-unit" style="background-color:#A9F16C">
<div class="container">
<div class="row">
<div class="hero-text">
<h1>Welcome to FreeCycle.in.net</h1>
<p></p>
</div>
</d... | {{set . "title" "Home"}}
{{template "header.html" .}}
<header class="hero-unit" style="background-color:#A9F16C">
<div class="container">
<div class="row">
<div class="hero-text">
<h1>Welcome to FreeCycle.in.net</h1>
<p>Description to the site and explain objective</p>
</div>
</di... | <|file_sep|>original/app/views/App/Index.html
{{set . "title" "Home"}}
{{template "header.html" .}}
<header class="hero-unit" style="background-color:#A9F16C">
<div class="container">
<div class="row">
<div class="hero-text">
<h1>Welcome to FreeCycle.in.net</h1>
<p></p>
</div>
</d... | 0135f7b02af9df7a1f6f0878d3d4de38e917f7a1 | app/views/App/Index.html | app/views/App/Index.html | HTML |
<|file_sep|>original/request-builder.js
function buildSlots(slots) {
const res = {};
_.each(slots, (value, key) => {
if ( _.isString(value)) {
res[key] = {
name: key,
value: value
};
} else {
res[key] = {
name: key,
...value
};
}
});
return res... | function buildSlots(slots) {
const res = {};
_.each(slots, (value, key) => {
if ( _.isString(value)) {
res[key] = {
name: key,
value: value
};
} else {
res[key] = {
...value,
name: key
};
}
});
return res;
}
function buildSession(e) {
return... | <|file_sep|>original/request-builder.js
function buildSlots(slots) {
const res = {};
_.each(slots, (value, key) => {
if ( _.isString(value)) {
res[key] = {
name: key,
value: value
};
} else {
res[key] = {
name: key,
...value
};
}
});
return res... | bdd1d8705399c1c9272499a300a3bc869717ef04 | request-builder.js | request-builder.js | JavaScript |
<|file_sep|>original/Documents/secondary_turbine_inspection.md
<|file_sep|>current/Documents/secondary_turbine_inspection.md
<|file_sep|>updated/Documents/secondary_turbine_inspection.md | # Secondary turbine inspection
This is a secondary inspection of crucial dimensions of the turbine model
parts. The machine shop inspection is more accurate and should be considered
the official inspection.
Measurments smaller than 6 inches done via calipers with 0.001 inch
resolution. Measurements longer done with t... | <|file_sep|>original/Documents/secondary_turbine_inspection.md
<|file_sep|>current/Documents/secondary_turbine_inspection.md
<|file_sep|>updated/Documents/secondary_turbine_inspection.md
# Secondary turbine inspection
This is a secondary inspection of crucial dimensions of the turbine model
parts. The machine shop i... | 20f4843dd02e27ac9112c96842dc77c61f4c0480 | Documents/secondary_turbine_inspection.md | Documents/secondary_turbine_inspection.md | Markdown |
<|file_sep|>packages/di/Diff.yaml.diff
original:
hash: 86ab9f6bcb253cabff2673437995faa4c130be7c3898df778b27a801c5361328
test-bench-deps: {}
updated:
hash: 54046d9bc6a76eba0f1162a9a53d63dd73a6f664914f8b9b455cccaf1f2711f6
test-bench-deps:
test-framework: -any
base: ! '>=3 && <=6'
test-framework-quickcheck2: -any
... | changelog: ''
basic-deps:
base: ! '>=3 && <=6'
array: -any
pretty: ! '>=1.1'
all-versions:
- '0.1'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.2.0'
- '0.3.0'
- '0.3.1'
- '0.3.2'
- '0.3.3'
author: Sterling Clover
latest: '0.3.3'
description-type: haddock
description: Implementation of the standard diff algorithm, and utili... | <|file_sep|>packages/di/Diff.yaml.diff
original:
hash: 86ab9f6bcb253cabff2673437995faa4c130be7c3898df778b27a801c5361328
test-bench-deps: {}
updated:
hash: 54046d9bc6a76eba0f1162a9a53d63dd73a6f664914f8b9b455cccaf1f2711f6
test-bench-deps:
test-framework: -any
base: ! '>=3 && <=6'
test-framework-quickcheck2: -any
... | 114b9ec443af4fee0993daa94b4d9853fbd33e51 | packages/di/Diff.yaml | packages/di/Diff.yaml | YAML |
<|file_sep|>app/services/tagged_content_validator.rb.diff
original:
guidance_document_collections.reduce([]) do |list, document_collection|
updated:
guidance_document_collections.reduce(Set.new) do |list, document_collection|
<|file_sep|>original/app/services/tagged_content_validator.rb
end
end
def all... | end
end
def all_document_collections
guidance_document_collections.map do |document_collection|
document_collection['base_path']
end
end
def valid_content_items_in_document_collections
guidance_document_collections.reduce(Set.new) do |list, document_collection|
if document_collecti... | <|file_sep|>app/services/tagged_content_validator.rb.diff
original:
guidance_document_collections.reduce([]) do |list, document_collection|
updated:
guidance_document_collections.reduce(Set.new) do |list, document_collection|
<|file_sep|>original/app/services/tagged_content_validator.rb
end
end
def all... | dca1acce267c89799ed627136eaecbf41e1073c5 | app/services/tagged_content_validator.rb | app/services/tagged_content_validator.rb | Ruby |
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
This space is for submitting problems and feature requests. For general usage questions, please email opendatakit@googlegroups.com or for development questions, please email opendatakit-developers@googlegroups.com
updated:
This space is for submitting problems and fe... | This space is for submitting problems and feature requests. For general usage or form design questions, please email opendatakit@googlegroups.com or for ODK Collect source code questions, please email opendatakit-developers@googlegroups.com
Before filling this form, visit https://github.com/opendatakit/collect/issues?... | <|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
This space is for submitting problems and feature requests. For general usage questions, please email opendatakit@googlegroups.com or for development questions, please email opendatakit-developers@googlegroups.com
updated:
This space is for submitting problems and fe... | 6a9cab759964b4348101565a32f65c8e2b88ad3c | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/settings/sqlite.py
from .base import *
import os.path
DATABASES = {
'default':
{
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(SITE_ROOT, 'dev.db'),
}
}
SESSION_COOKIE_DOMAIN = None
HAYSTACK_SOLR_URL ... | from .base import *
import os.path
DATABASES = {
'default':
{
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(SITE_ROOT, 'dev.db'),
}
}
SESSION_COOKIE_DOMAIN = None
HAYSTACK_SOLR_URL = 'http://localhost:8983/solr'
try:
... | <|file_sep|>original/settings/sqlite.py
from .base import *
import os.path
DATABASES = {
'default':
{
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(SITE_ROOT, 'dev.db'),
}
}
SESSION_COOKIE_DOMAIN = None
HAYSTACK_SOLR_URL ... | 0a884d3c38cb1449a6fa5c650ed06cde647de4a8 | settings/sqlite.py | settings/sqlite.py | Python |
<|file_sep|>circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala.diff
original:
import cats.Applicative
updated:
<|file_sep|>original/circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala
package org.http4s.circe
import cats.Applicative
import io.circe.Encoder
import org.http4s.EntityEncoder
/**
... | package org.http4s.circe
import io.circe.Encoder
import org.http4s.EntityEncoder
/**
* Derive [[EntityEncoder]] if implicit [[Encoder]] is in the scope without need to explicitly call `jsonEncoderOf`
*/
trait CirceEntityEncoder {
implicit def circeEntityEncoder[F[_], A: Encoder]: EntityEncoder[F, A] =
jsonE... | <|file_sep|>circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala.diff
original:
import cats.Applicative
updated:
<|file_sep|>original/circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala
package org.http4s.circe
import cats.Applicative
import io.circe.Encoder
import org.http4s.EntityEncoder
/**
... | 66aa8403f6eac9db64cfe2ed2e4d4113a14ee4d0 | circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala | circe/src/main/scala/org/http4s/circe/CirceEntityEncoder.scala | Scala |
<|file_sep|>client/lanes/lib/Templates.coffee.diff
original:
Lanes.Templates.render = (view, name)->
updated:
Lanes.Templates.render = (view, name, data)->
<|file_sep|>original/client/lanes/lib/Templates.coffee
Lanes.Templates.find = (name, namespace) ->
return Lanes.Templates[name] if Lanes.Templates[name]
if ... | Lanes.Templates.find = (name, namespace) ->
return Lanes.Templates[name] if Lanes.Templates[name]
if namespace?
Lanes.Templates[ ns2path(namespace) + "/" + name]
else
null
Lanes.Templates.render = (view, name, data)->
template_fn = Lanes.Templates.find(name, view.FILE.extensionName)
... | <|file_sep|>client/lanes/lib/Templates.coffee.diff
original:
Lanes.Templates.render = (view, name)->
updated:
Lanes.Templates.render = (view, name, data)->
<|file_sep|>original/client/lanes/lib/Templates.coffee
Lanes.Templates.find = (name, namespace) ->
return Lanes.Templates[name] if Lanes.Templates[name]
if ... | 5c98fe855ee75737de107726fb7a3367b866e8ec | client/lanes/lib/Templates.coffee | client/lanes/lib/Templates.coffee | CoffeeScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- sudo apt-get install fontforge eot-utils
- wget http://people.mozilla.com/~jkew/woff/woff-code-latest.zip
- unzip woff-code-latest.zip -d sfnt2woff && cd sfnt2woff && make && sudo mv sfnt2woff /usr/local/bin/ && cd ..
- npm ... | language: node_js
node_js:
- "0.10"
before_script:
- sudo apt-get install fontforge
- npm install -g grunt-cli | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- sudo apt-get install fontforge eot-utils
- wget http://people.mozilla.com/~jkew/woff/woff-code-latest.zip
- unzip woff-code-latest.zip -d sfnt2woff && cd sfnt2woff && make && sudo mv sfnt2woff /usr/local/bin/ && cd ..
- npm ... | 33df43e3c6cbd6554036a87f2b755320ffef8ff1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/formula-args.yaml.tpl
# User defined parameters, please don't modify unless you are an advanced user
OVER_COMMIT_FACTOR: 1.30 # Overcommit factor for JVM
MEM_FRACTION_FOR_HBASE: 0.125 # Suggested Max Memory fraction for HBase
MEM_FRACTION_FOR_OTHER_SERVICES: 0.125 # Suggested Memory fraction for o... | # User defined parameters, please don't modify unless you are an advanced user
OVER_COMMIT_FACTOR: 1.30 # Overcommit factor for JVM
MEM_FRACTION_FOR_HBASE: 0.125 # Suggested Max Memory fraction for HBase
MEM_FRACTION_FOR_OTHER_SERVICES: 0.125 # Suggested Memory fraction for other system resources
MAPREDUCE_JOB_COUNTER... | <|file_sep|>original/formula-args.yaml.tpl
# User defined parameters, please don't modify unless you are an advanced user
OVER_COMMIT_FACTOR: 1.30 # Overcommit factor for JVM
MEM_FRACTION_FOR_HBASE: 0.125 # Suggested Max Memory fraction for HBase
MEM_FRACTION_FOR_OTHER_SERVICES: 0.125 # Suggested Memory fraction for o... | 5a6b7283f1c4c90c93745b39d3aed90b0b243a0b | formula-args.yaml.tpl | formula-args.yaml.tpl | Smarty |
<|file_sep|>original/package.bat
@echo off
echo.
echo === TEST ===
echo.
dotnet test --configuration Release src/DeepEqual.Test/DeepEqual.Test.csproj
echo.
echo === PACKAGE ===
echo.
dotnet pack --include-symbols --include-source --configuration Release --output ..\.. src\DeepEqual\DeepEqual.csproj
echo.
pause
<|fi... | @echo off
echo.
echo === TEST ===
echo.
dotnet test --configuration Release src/DeepEqual.Test/DeepEqual.Test.csproj
echo.
echo === PACKAGE ===
echo.
dotnet pack ^
--include-symbols ^
-p:SymbolPackageFormat=snupkg ^
--include-source ^
--configuration Release ^
--output . ^
src\DeepEqual\DeepEqual.csproj
dot... | <|file_sep|>original/package.bat
@echo off
echo.
echo === TEST ===
echo.
dotnet test --configuration Release src/DeepEqual.Test/DeepEqual.Test.csproj
echo.
echo === PACKAGE ===
echo.
dotnet pack --include-symbols --include-source --configuration Release --output ..\.. src\DeepEqual\DeepEqual.csproj
echo.
pause
<|fi... | db677c56f819e953b09a1a9d759111ea6e5c0c35 | package.bat | package.bat | Batchfile |
<|file_sep|>locales/zh-TW/notes.properties.diff
original:
welcomeTitle=歡迎使用!
welcomeText=這是一個在 Firefox 內建簡單的一頁式筆記套件,讓您上網時更得心應手。
updated:
welcomeTitle2=哈囉!
welcomeText2=歡迎使用這套 Firefox 內建的一頁式記事本。上網時快速記下筆記,就是這麼簡單。
<|file_sep|>original/locales/zh-TW/notes.properties
welcomeTitle=歡迎使用!
welcomeText=這是一個在 Firefox 內建簡單的一頁式筆記套件... | welcomeTitle2=哈囉!
welcomeText2=歡迎使用這套 Firefox 內建的一頁式記事本。上網時快速記下筆記,就是這麼簡單。
emptyPlaceHolder=寫點筆記…
openingLogin=正在開啟登入畫面…
forgetEmail=忘記此地址
syncNotReady2=很抱歉,筆記同步功能還沒開發完成。我們將把您的點擊次數記錄下來,當作投票來加速我們的開發!
syncNotes=同步您的筆記
syncProgress=正在同步變更…
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronizatio... | <|file_sep|>locales/zh-TW/notes.properties.diff
original:
welcomeTitle=歡迎使用!
welcomeText=這是一個在 Firefox 內建簡單的一頁式筆記套件,讓您上網時更得心應手。
updated:
welcomeTitle2=哈囉!
welcomeText2=歡迎使用這套 Firefox 內建的一頁式記事本。上網時快速記下筆記,就是這麼簡單。
<|file_sep|>original/locales/zh-TW/notes.properties
welcomeTitle=歡迎使用!
welcomeText=這是一個在 Firefox 內建簡單的一頁式筆記套件... | 5b960d884d98d54dd1bc0e12aad7352d58b3e953 | locales/zh-TW/notes.properties | locales/zh-TW/notes.properties | INI |
<|file_sep|>src/Message/Payloads/RpcRequestPayload.php.diff
original:
updated:
use Retrinko\CottonTail\Exceptions\PayloadException;
<|file_sep|>src/Message/Payloads/RpcRequestPayload.php.diff
original:
updated:
* @throws PayloadException
<|file_sep|>original/src/Message/Payloads/RpcRequestPayload.php
* @pa... |
/**
* @param string $procedure
* @param array $params
*
* @return RpcRequestPayload
* @throws PayloadException
*/
public static function create($procedure, $params = [])
{
if (empty($procedure))
{
throw PayloadException::emptyProcedute();
}
... | <|file_sep|>src/Message/Payloads/RpcRequestPayload.php.diff
original:
updated:
use Retrinko\CottonTail\Exceptions\PayloadException;
<|file_sep|>src/Message/Payloads/RpcRequestPayload.php.diff
original:
updated:
* @throws PayloadException
<|file_sep|>original/src/Message/Payloads/RpcRequestPayload.php
* @pa... | 3fb28ea4769ae1735f50e0e8fda48818bec552ba | src/Message/Payloads/RpcRequestPayload.php | src/Message/Payloads/RpcRequestPayload.php | PHP |
<|file_sep|>original/lab/disruptors/n9k_ip_block.py
<|file_sep|>current/lab/disruptors/n9k_ip_block.py
<|file_sep|>updated/lab/disruptors/n9k_ip_block.py | def start(context, log, args):
import time
duration = args['duration']
period = 20
n9k1_ip, n9k2_ip, _, _ = context.n9k_creds()
log.info('Blocking N9K IPs ({0},{1}) on controllers ...'.format(n9k1_ip, n9k2_ip))
start_time = time.time()
for controller in context.controllers():
cont... | <|file_sep|>original/lab/disruptors/n9k_ip_block.py
<|file_sep|>current/lab/disruptors/n9k_ip_block.py
<|file_sep|>updated/lab/disruptors/n9k_ip_block.py
def start(context, log, args):
import time
duration = args['duration']
period = 20
n9k1_ip, n9k2_ip, _, _ = context.n9k_creds()
log.info('Bloc... | c19302a9171c91dfd0bba28582253124aa4a71eb | lab/disruptors/n9k_ip_block.py | lab/disruptors/n9k_ip_block.py | Python |
<|file_sep|>original/requirements-dev.txt
flake8==3.0.4
pytest==3.0.4
pytest-cov==2.4.0
pytest-catchlog==1.2.2
docker-py==1.10.6
coveralls==1.1
Sphinx==1.4.8
lz4tools==1.3.1.2
xxhash==0.6.1
sphinxcontrib-asyncio>=0.2.0
sphinx-rtd-theme==0.1.9
<|file_sep|>current/requirements-dev.txt
flake8==3.0.4
pytest==3.0.4
pytest-... | flake8==3.2.0
pytest==3.0.4
pytest-cov==2.4.0
pytest-catchlog==1.2.2
docker-py==1.10.6
coveralls==1.1
Sphinx==1.4.8
lz4tools==1.3.1.2
xxhash==0.6.1
sphinxcontrib-asyncio>=0.2.0
sphinx-rtd-theme==0.1.9 | <|file_sep|>original/requirements-dev.txt
flake8==3.0.4
pytest==3.0.4
pytest-cov==2.4.0
pytest-catchlog==1.2.2
docker-py==1.10.6
coveralls==1.1
Sphinx==1.4.8
lz4tools==1.3.1.2
xxhash==0.6.1
sphinxcontrib-asyncio>=0.2.0
sphinx-rtd-theme==0.1.9
<|file_sep|>current/requirements-dev.txt
flake8==3.0.4
pytest==3.0.4
pytest-... | 57d00cc5a0a199a8fb9e10c929cbd209b37efd6a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/tests/unit/SetTest.php
public function testAddingTheSameValueTwiceDoesNotIncreaseCount()
{
$set = new Set(1);
$this->assertCount(1, $set);
$set->add(1);
$this->assertCount(1, $set);
}
public function testNullIsUnique()
{
$set = new Set... | $this->assertCount(1, $set);
}
public function testNullIsUnique()
{
$set = new Set(null);
$this->assertCount(1, $set);
$set->add(null);
$this->assertCount(1, $set);
}
public function testConstructorUsesHashFunction()
{
$set = new Set(1, 2, 3);
... | <|file_sep|>original/tests/unit/SetTest.php
public function testAddingTheSameValueTwiceDoesNotIncreaseCount()
{
$set = new Set(1);
$this->assertCount(1, $set);
$set->add(1);
$this->assertCount(1, $set);
}
public function testNullIsUnique()
{
$set = new Set... | e907d1aff2a19470c32ab079d7430391d978075c | tests/unit/SetTest.php | tests/unit/SetTest.php | PHP |
<|file_sep|>probablyfine.gemspec.diff
original:
spec = Gem::Specification.new do |s|
updated:
spec = Gem::Specification.new do |s|
<|file_sep|>probablyfine.gemspec.diff
original:
s.author = 'Your Name Here'
s.email = 'your@email.address.com'
s.homepage = 'http://your.website.com'
updated:
s.author = 'Matt Stra... | # Ensure we require the local version and not one we might have installed already
require File.join([File.dirname(__FILE__),'lib','probablyfine','version.rb'])
spec = Gem::Specification.new do |s|
s.name = 'probablyfine'
s.version = Probablyfine::VERSION
s.author = 'Matt Stratton'
s.email = 'matt.stratton@gmail... | <|file_sep|>probablyfine.gemspec.diff
original:
spec = Gem::Specification.new do |s|
updated:
spec = Gem::Specification.new do |s|
<|file_sep|>probablyfine.gemspec.diff
original:
s.author = 'Your Name Here'
s.email = 'your@email.address.com'
s.homepage = 'http://your.website.com'
updated:
s.author = 'Matt Stra... | 5154e9d4cb3329745da5a213bc139dcc8a35d8d7 | probablyfine.gemspec | probablyfine.gemspec | Ruby |
<|file_sep|>lib/peribot/processor_registry.rb.diff
original:
# Obtain a list of processors that have been previously registered. This
# method is also named "tasks" for backwards compatibility, however that
# form is deprecated.
updated:
# Obtain a list of processors that have been previously registered... | @processors = {}
end
# Register a processor for use by the bot. The given processor will only be
# registered once, regardless of how many times this method is called with
# it.
#
# @return True if the registration was new, false if not
def register(processor)
return false if @p... | <|file_sep|>lib/peribot/processor_registry.rb.diff
original:
# Obtain a list of processors that have been previously registered. This
# method is also named "tasks" for backwards compatibility, however that
# form is deprecated.
updated:
# Obtain a list of processors that have been previously registered... | 30dc810c0243fba71d4852db2ae1ab81b8e1410d | lib/peribot/processor_registry.rb | lib/peribot/processor_registry.rb | Ruby |
<|file_sep|>original/package.json
"author": "Uma",
"license": "SEE LICENSE IN <LICENSE>",
"bugs": {
"url": "https://github.com/umasudhan/weather/issues"
},
"homepage": "https://github.com/umasudhan/weather#readme",
"dependencies": {
"express": "^4.15.3",
"jade": "^1.11.0",
"lodash": "^4.17.4... | "license": "SEE LICENSE IN <LICENSE>",
"bugs": {
"url": "https://github.com/umasudhan/weather/issues"
},
"homepage": "https://github.com/umasudhan/weather#readme",
"dependencies": {
"express": "^4.15.3",
"jade": "^1.11.0",
"lodash": "^4.17.4",
"needle": "^1.6.0",
"pretty-ms": "^3.0.0",... | <|file_sep|>original/package.json
"author": "Uma",
"license": "SEE LICENSE IN <LICENSE>",
"bugs": {
"url": "https://github.com/umasudhan/weather/issues"
},
"homepage": "https://github.com/umasudhan/weather#readme",
"dependencies": {
"express": "^4.15.3",
"jade": "^1.11.0",
"lodash": "^4.17.4... | d1cc27ebff8e32aab3d387ecb29fa1eeebc804a2 | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
```
updated:
```swift
<|file_sep|>original/README.md
}
}
class SerializationTests: XCTestCase {
func test_serialization_works() {
var john = Person(Name: "John", Surname: "Doe")
john.Animals.append(Animal(Nickname: "Fluffy", Kind: "Dog"))
john.A... | self.Nickname = Nickname
self.Kind = Kind
}
}
class SerializationTests: XCTestCase {
func test_serialization_works() {
var john = Person(Name: "John", Surname: "Doe")
john.Animals.append(Animal(Nickname: "Fluffy", Kind: "Dog"))
john.Animals.append(Animal(Nickname: "... | <|file_sep|>README.md.diff
original:
```
updated:
```swift
<|file_sep|>original/README.md
}
}
class SerializationTests: XCTestCase {
func test_serialization_works() {
var john = Person(Name: "John", Surname: "Doe")
john.Animals.append(Animal(Nickname: "Fluffy", Kind: "Dog"))
john.A... | 76ade738c1925c486655491d3e902f62442244b3 | README.md | README.md | Markdown |
<|file_sep|>CMakeLists.txt.diff
original:
updated:
OPTION(BUILD_TESTING "Enable testing" ON)
<|file_sep|>original/CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT} ${cflags} ${ADDITIONAL_CXX_FLAGS}")
CONFIGURE_FILE(
src/browse.py
${CMAKE_CURRENT_BINARY_DIR}/src/browse.py COPY)
SET(ninja_lib_sources
... | src/graph.cc
src/parsers.cc
src/subprocess.cc
src/util.cc
src/ninja_jumble.cc
)
ADD_LIBRARY(ninjaLib STATIC ${ninja_lib_sources})
ADD_EXECUTABLE(ninja src/ninja.cc)
TARGET_LINK_LIBRARIES(ninja ninjaLib)
IF(BUILD_TESTING)
ENABLE_TESTING()
INCLUDE(CTest)
MARK_AS_ADVANCED(DART_TESTING_TIMEOUT)
CONFIG... | <|file_sep|>CMakeLists.txt.diff
original:
updated:
OPTION(BUILD_TESTING "Enable testing" ON)
<|file_sep|>original/CMakeLists.txt
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT} ${cflags} ${ADDITIONAL_CXX_FLAGS}")
CONFIGURE_FILE(
src/browse.py
${CMAKE_CURRENT_BINARY_DIR}/src/browse.py COPY)
SET(ninja_lib_sources
... | 657c9cd539f474c475aeeea0d90c2342083e46a4 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/.github/workflows/ci-konfetti.yaml
<|file_sep|>current/.github/workflows/ci-konfetti.yaml
<|file_sep|>updated/.github/workflows/ci-konfetti.yaml | name: CI
on: push
jobs:
run-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run tests
run: ./gradlew test | <|file_sep|>original/.github/workflows/ci-konfetti.yaml
<|file_sep|>current/.github/workflows/ci-konfetti.yaml
<|file_sep|>updated/.github/workflows/ci-konfetti.yaml
name: CI
on: push
jobs:
run-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run ... | 88c5d762a98ec7cb4928bf50028b6f87f9892230 | .github/workflows/ci-konfetti.yaml | .github/workflows/ci-konfetti.yaml | YAML |
<|file_sep|>original/app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java
public class DownloadManagerReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (DownloadManager.ACTION_NOTIFICATIO... | public class DownloadManagerReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (DownloadManager.ACTION_NOTIFICATION_CLICKED.equals(action)) {
if (intent.getExtras() == null || !intent.hasExtra(... | <|file_sep|>original/app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java
public class DownloadManagerReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (DownloadManager.ACTION_NOTIFICATIO... | cdc00d9edec3a701c2bad453c68f6b54b71a96c8 | app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java | app/src/main/java/org/wikipedia/offline/DownloadManagerReceiver.java | Java |
<|file_sep|>src/Collection/CookieCollection.php.diff
original:
if ($value !== NULL) {
return parent::set($name, array_slice(func_get_args(), 1));
}
if (is_array($values = func_get_arg(0))) {
updated:
if ($value === NULL && is_array($values = func_get_arg(0))) {
<|file_sep|>original/src/Collection/Cooki... | }
/**
*
*/
public function set($name, $value = NULL, $expire = 0, $path = NULL, $domain = NULL, $secure = FALSE, $httponly = FALSE)
{
if ($value === NULL && is_array($values = func_get_arg(0))) {
foreach ($values as $name => $value) {
$this->set($name, $value);
}
} else {
parent:... | <|file_sep|>src/Collection/CookieCollection.php.diff
original:
if ($value !== NULL) {
return parent::set($name, array_slice(func_get_args(), 1));
}
if (is_array($values = func_get_arg(0))) {
updated:
if ($value === NULL && is_array($values = func_get_arg(0))) {
<|file_sep|>original/src/Collection/Cooki... | eda34906774cee546eccf3e3be1780d879bb4d42 | src/Collection/CookieCollection.php | src/Collection/CookieCollection.php | PHP |
<|file_sep|>original/src/sass/modules/_snackbar.scss
/* ==========================================================================
#SNACKBAR
========================================================================== */
.snackbar {
min-width: 300px;
padding: 15px;
position: absolute;
top: 35px;
left: 50... | /* ==========================================================================
#SNACKBAR
========================================================================== */
.snackbar {
min-width: 300px;
padding: 15px;
position: fixed;
top: 35px;
left: 50%;
transform: translateX(-50%);
background-color: #3... | <|file_sep|>original/src/sass/modules/_snackbar.scss
/* ==========================================================================
#SNACKBAR
========================================================================== */
.snackbar {
min-width: 300px;
padding: 15px;
position: absolute;
top: 35px;
left: 50... | 577cac6a756844fc2b40ff46744e95439abb6375 | src/sass/modules/_snackbar.scss | src/sass/modules/_snackbar.scss | SCSS |
<|file_sep|>original/secondshell.sh
#!/bin/bash
expr 1 + 5
expr 2 \* 3
a=2
b=3
r=$(expr $a + $b)
echo $r
c=$[1+2]
echo $c
d=$[3*4]
echo $d
e=$(echo 'scale=4;6*3.1'|bc)
echo $e
<|file_sep|>current/secondshell.sh
#!/bin/bash
expr 1 + 5
expr 2 \* 3
a=2
b=3
r=$(expr $a + $b)
echo $r
c=$[1+2]
echo $c
d=$[3*4]
echo $d
e=$(ec... | #!/bin/bash
expr 1 + 5
expr 2 \* 3
a=2
b=3
r=$(expr $a + $b)
echo $r
c=$[1+2]
echo $c
d=$[3*4]
echo $d
e=$(echo 'scale=4;6*3.1'|bc)
echo $e
f=$(bc<<EOF
scale=4
a1=2.34*4.66/1
b1=4.5-2.44333
a1+b1
EOF
)
echo $f | <|file_sep|>original/secondshell.sh
#!/bin/bash
expr 1 + 5
expr 2 \* 3
a=2
b=3
r=$(expr $a + $b)
echo $r
c=$[1+2]
echo $c
d=$[3*4]
echo $d
e=$(echo 'scale=4;6*3.1'|bc)
echo $e
<|file_sep|>current/secondshell.sh
#!/bin/bash
expr 1 + 5
expr 2 \* 3
a=2
b=3
r=$(expr $a + $b)
echo $r
c=$[1+2]
echo $c
d=$[3*4]
echo $d
e=$(ec... | 2bc2f6c8ae16c550e6b58e5e4a70262cc32a0e60 | secondshell.sh | secondshell.sh | Shell |
<|file_sep|>original/lib/autoprefixer-rails/railtie.rb
begin
require 'sprockets/railtie'
module AutoprefixedRails
class Railtie < ::Rails::Railtie
rake_tasks do |app|
require 'rake/autoprefixer_tasks'
Rake::AutoprefixerTasks.new(browsers(app))
end
initializer :setup_autoprefi... | begin
require 'sprockets/railtie'
module AutoprefixedRails
class Railtie < ::Rails::Railtie
rake_tasks do |app|
require 'rake/autoprefixer_tasks'
Rake::AutoprefixerTasks.new(browsers(app))
end
initializer :setup_autoprefixer, group: :all do |app|
AutoprefixerRails.ins... | <|file_sep|>original/lib/autoprefixer-rails/railtie.rb
begin
require 'sprockets/railtie'
module AutoprefixedRails
class Railtie < ::Rails::Railtie
rake_tasks do |app|
require 'rake/autoprefixer_tasks'
Rake::AutoprefixerTasks.new(browsers(app))
end
initializer :setup_autoprefi... | 0dcb57f61dafee79ed9ae4345fce522c8d76f900 | lib/autoprefixer-rails/railtie.rb | lib/autoprefixer-rails/railtie.rb | Ruby |
<|file_sep|>index.js.diff
original:
var path = require('path'),
querystring = require('querystring').parse;
updated:
const path = require('path'),
querystring = require('querystring').parse;
<|file_sep|>index.js.diff
original:
var registry = 'http://npm-registry-cors-proxy.herokuapp.com/';
updated:
const regi... | require('whatwg-fetch');
const path = require('path'),
querystring = require('querystring').parse;
const registry = 'http://npm-registry-cors-proxy.herokuapp.com/';
const query = querystring(window.location.search.slice(1)).q;
if (query) {
window.fetch(path.join(registry, name))
.then((response) => res... | <|file_sep|>index.js.diff
original:
var path = require('path'),
querystring = require('querystring').parse;
updated:
const path = require('path'),
querystring = require('querystring').parse;
<|file_sep|>index.js.diff
original:
var registry = 'http://npm-registry-cors-proxy.herokuapp.com/';
updated:
const regi... | 92255b089ca09a12904206589f97767d0bf87f7b | index.js | index.js | JavaScript |
<|file_sep|>original/include/core/SkMilestone.h
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 78
#endif
<|file_sep|>current/include/core/SkMilestone.h
/*
* Copyright 2016 Google I... | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 79
#endif | <|file_sep|>original/include/core/SkMilestone.h
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 78
#endif
<|file_sep|>current/include/core/SkMilestone.h
/*
* Copyright 2016 Google I... | 4655534302e6a3601c77eae70cc65b202609ab66 | include/core/SkMilestone.h | include/core/SkMilestone.h | C |
<|file_sep|>lib/index.js.diff
original:
updated:
pack.activate(...args);
},
initialize() {
<|file_sep|>original/lib/index.js
let pack;
const entry = {
activate(...args) {
pack = new GithubPackage(
atom.workspace, atom.project, atom.commands, atom.notifications, atom.tooltips,
atom.styles, at... | const entry = {
activate(...args) {
pack.activate(...args);
},
initialize() {
pack = new GithubPackage(
atom.workspace, atom.project, atom.commands, atom.notifications, atom.tooltips,
atom.styles, atom.config, atom.confirm.bind(atom),
);
},
};
[
'serialize', 'deserialize', 'deactivat... | <|file_sep|>lib/index.js.diff
original:
updated:
pack.activate(...args);
},
initialize() {
<|file_sep|>original/lib/index.js
let pack;
const entry = {
activate(...args) {
pack = new GithubPackage(
atom.workspace, atom.project, atom.commands, atom.notifications, atom.tooltips,
atom.styles, at... | 9ad8629a105278622866171b0ba903ae143caadf | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>config.go.diff
original:
// The minimal level of interpolation. The nodes that belong to lower levels
updated:
// The minimum level of interpolation. The nodes that belong to lower levels
<|file_sep|>original/config.go
type Config struct {
// The refinement rate of the algorithm. The parameter specifies ... | type Config struct {
// The refinement rate of the algorithm. The parameter specifies the
// fraction of the nodes queued for refinement to be taken from the queue at
// each iteration.
Rate float64 // ⊆ (0, 1]
// The minimum level of interpolation. The nodes that belong to lower levels
// are unconditionally in... | <|file_sep|>config.go.diff
original:
// The minimal level of interpolation. The nodes that belong to lower levels
updated:
// The minimum level of interpolation. The nodes that belong to lower levels
<|file_sep|>original/config.go
type Config struct {
// The refinement rate of the algorithm. The parameter specifies ... | cb72581a19a259b2eac58c2fcdd361ae3764fae5 | config.go | config.go | Go |
<|file_sep|>simpleadmindoc/management/commands/docgenapp.py.diff
original:
updated:
from optparse import make_option
<|file_sep|>simpleadmindoc/management/commands/docgenapp.py.diff
original:
updated:
option_list = AppCommand.option_list + (
make_option('--locale', '-l', default=None, dest='locale',
... |
class Command(AppCommand):
help = "Generate sphinx documentation skeleton for given apps."
option_list = AppCommand.option_list + (
make_option('--locale', '-l', default=None, dest='locale',
help='Use given locale'),
)
def handle_app(self, app, **options):
... | <|file_sep|>simpleadmindoc/management/commands/docgenapp.py.diff
original:
updated:
from optparse import make_option
<|file_sep|>simpleadmindoc/management/commands/docgenapp.py.diff
original:
updated:
option_list = AppCommand.option_list + (
make_option('--locale', '-l', default=None, dest='locale',
... | 7f711f7da0003cf6f0335f33fb358e91d4e91cf7 | simpleadmindoc/management/commands/docgenapp.py | simpleadmindoc/management/commands/docgenapp.py | Python |
<|file_sep|>app/controllers/votes_controller.rb.diff
original:
end
if type == "Response"
updated:
elsif type == "Response"
<|file_sep|>app/controllers/votes_controller.rb.diff
original:
end
if response.respondable_type == "Answer"
updated:
elsif response.respondable_type == "Answer"
<|file... | type = (params[:vote][:votable_type])
if type == "Question"
@question = Question.find(params[:vote][:votable_id])
elsif type == "Response"
response = Response.find(params[:vote][:votable_id])
if response.respondable_type == "Question"
@question = Question.find(response.respondable_... | <|file_sep|>app/controllers/votes_controller.rb.diff
original:
end
if type == "Response"
updated:
elsif type == "Response"
<|file_sep|>app/controllers/votes_controller.rb.diff
original:
end
if response.respondable_type == "Answer"
updated:
elsif response.respondable_type == "Answer"
<|file... | 20b2ce82c3640695aec16548cc08159b9b1c0790 | app/controllers/votes_controller.rb | app/controllers/votes_controller.rb | Ruby |
<|file_sep|>original/rejected/__init__.py
"""
Rejected, a Python AMQP Consumer daemon
"""
__author__ = 'Gavin M. Roy <gmr@myyearbook.com>'
__date__ = "2009-09-10"
__version__ = "1.0.0"
__all__ = ['cli', 'common', 'mcp', 'utils']
<|file_sep|>current/rejected/__init__.py
"""
Rejected, a Python AMQP Consumer daemon
... | """
Rejected, a Python AMQP Consumer daemon
"""
__author__ = 'Gavin M. Roy <gmr@myyearbook.com>'
__since__ = "2009-09-10"
__version__ = "2.0.1"
__all__ = ['cli', 'common', 'mcp', 'utils'] | <|file_sep|>original/rejected/__init__.py
"""
Rejected, a Python AMQP Consumer daemon
"""
__author__ = 'Gavin M. Roy <gmr@myyearbook.com>'
__date__ = "2009-09-10"
__version__ = "1.0.0"
__all__ = ['cli', 'common', 'mcp', 'utils']
<|file_sep|>current/rejected/__init__.py
"""
Rejected, a Python AMQP Consumer daemon
... | 37fa646f4ddafd4db36e5c29b738408f0e26346f | rejected/__init__.py | rejected/__init__.py | Python |
<|file_sep|>original/public/locales/ixl/send.ftl
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = Aq'a yol sti'
importingFile = Eq'otzan
encryptingFile = La muj isik'lele
decryptingFile = Ni jaj ve't isik'lele'
downloadCount =
{ $num ->
[one] Eq'omal ku'tzan
... | title = Firefox Send
siteFeedback = Aq'a yol sti'
importingFile = Eq'otzan
encryptingFile = La muj isik'lele
decryptingFile = Ni jaj ve't isik'lele'
downloadCount =
{ $num ->
[one] Eq'omal ku'tzan
*[other] { $num } Eq'omalaj ku'tzan
}
timespanHours =
{ $num ->
[one] 1 Ch'ich'
*... | <|file_sep|>original/public/locales/ixl/send.ftl
# Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = Aq'a yol sti'
importingFile = Eq'otzan
encryptingFile = La muj isik'lele
decryptingFile = Ni jaj ve't isik'lele'
downloadCount =
{ $num ->
[one] Eq'omal ku'tzan
... | 8cd3a720fea976bdd29f93da5704ff26f2ae18c9 | public/locales/ixl/send.ftl | public/locales/ixl/send.ftl | FreeMarker |
<|file_sep|>original/package.json
{
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js"
},
"dependencies": {
"node-g... | {
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js"
},
"dependencies": {
"node-gmail-api": "0.6.1",
"sendgrid"... | <|file_sep|>original/package.json
{
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js"
},
"dependencies": {
"node-g... | b5eabcd84dec5b431275211cdac793439b914f6c | package.json | package.json | JSON |
<|file_sep|>section_number/Readme.md.diff
original:
Section number
---------------
updated:
Section Number
--------------
<|file_sep|>section_number/Readme.md.diff
original:
This plugin adds section number to the article's context, in the form of `X.X.X`. Sections are indicated by `<h1>-<h6>` in the parsed html format.... |
The first section in the article will be marked as the top section level. Namely, if `<h3>` is the first section encountered, the plugin assumes that no `<h1>` or `<h2>` sections will be present. Otherwise an exception may result.
# Example
The following Markdown content...
# section
blabla
## subsecti... | <|file_sep|>section_number/Readme.md.diff
original:
Section number
---------------
updated:
Section Number
--------------
<|file_sep|>section_number/Readme.md.diff
original:
This plugin adds section number to the article's context, in the form of `X.X.X`. Sections are indicated by `<h1>-<h6>` in the parsed html format.... | 9c4abcab18ef3582ff8b9e161ac2f9cbd9508181 | section_number/Readme.md | section_number/Readme.md | Markdown |
<|file_sep|>original/app/views/sessions/new.html.erb
<%= render 'form' %>
<ul class="user-login-links">
<li> <%= link_to 'Signup', new_user_url %> </li>
<li> <%= link_to 'Recover lost password', recover_users_url %> </li>
</ul>
<%#
# Copyright (c) 2008 Todd Willey <todd@rubidine.com>
#
# Permission is hereby gran... | <%= render 'form' %>
<ul class="user-login-links">
<% if UserSystem.public_account_creation -%>
<li> <%= link_to 'Signup', new_user_url %> </li>
<% end -%>
<li> <%= link_to 'Recover lost password', recover_users_url %> </li>
</ul>
<%#
# Copyright (c) 2008 Todd Willey <todd@rubidine.com>
#
# Permission is he... | <|file_sep|>original/app/views/sessions/new.html.erb
<%= render 'form' %>
<ul class="user-login-links">
<li> <%= link_to 'Signup', new_user_url %> </li>
<li> <%= link_to 'Recover lost password', recover_users_url %> </li>
</ul>
<%#
# Copyright (c) 2008 Todd Willey <todd@rubidine.com>
#
# Permission is hereby gran... | 3c3ae0582adec6b0b7516c5b49e5be42f732d10f | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install: "pip install -r requirements-dev.txt"
script:
- make test
- make lint
- make docs
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install: "pip install -r requirements-dev.txt"
script:
- m... | language: python
python:
- "2.7"
- "3.4"
- "3.5"
install: "pip install -r requirements-dev.txt"
script:
- make test
- make lint
- make docs | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install: "pip install -r requirements-dev.txt"
script:
- make test
- make lint
- make docs
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.4"
install: "pip install -r requirements-dev.txt"
script:
- m... | 04263cd3e49156579ea1d77d829cbb660fd6b7ee | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_includes/about.html
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<p>OpenTomb is a cross-platform reimplementation of classic Tomb Raider 1—5 engines that were developed by now defunct Core Design. It is not a patcher or... | </div>
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<p>OpenTomb is a cross-platform reimplementation of classic Tomb Raider 1—5 engines that were developed by now defunct Core Design. It is not a patcher or DLL extension of a... | <|file_sep|>original/_includes/about.html
</div>
<div class="row">
<div class="col-lg-4 col-lg-offset-2">
<p>OpenTomb is a cross-platform reimplementation of classic Tomb Raider 1—5 engines that were developed by now defunct Core Design. It is not a patcher or... | 9f3769c9514e0d57a2b8f582daebfcc74530bf4e | _includes/about.html | _includes/about.html | HTML |
<|file_sep|>original/Pod/Classes/CMHActivityList.h
#import <CloudMine/CloudMine.h>
#import <CareKit/CareKit.h>
@interface CMHActivityList : CMObject
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithObjectId:(NSString *)theObjectId NS_UNAVAILABLE;
@property (nonatomic, nonnull, readonly) NSArray <OCKCareP... | #import <CloudMine/CloudMine.h>
#import <CareKit/CareKit.h>
@interface CMHActivityList : CMObject
- (_Null_unspecified instancetype)init NS_UNAVAILABLE;
- (_Null_unspecified instancetype)initWithObjectId:(NSString *_Null_unspecified)theObjectId NS_UNAVAILABLE;
@property (nonatomic, nonnull, readonly) NSArray <OCKCar... | <|file_sep|>original/Pod/Classes/CMHActivityList.h
#import <CloudMine/CloudMine.h>
#import <CareKit/CareKit.h>
@interface CMHActivityList : CMObject
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithObjectId:(NSString *)theObjectId NS_UNAVAILABLE;
@property (nonatomic, nonnull, readonly) NSArray <OCKCareP... | 001af213199c25b457df50bebb664570285a1ca8 | Pod/Classes/CMHActivityList.h | Pod/Classes/CMHActivityList.h | C |
<|file_sep|>original/sample_files/README.md
[](https://travis-ci.org/OCA/${REPO_NAME})
[](https://coveralls.io/r/OCA/${REPO_NAME}?branch=${BRANC... | [](https://travis-ci.org/OCA/${REPO_NAME})
[](https://coveralls.io/r/OCA/${REPO_NAME}?branch=${BRANCH_NAME})
# ${REPO_NAME_VERBOSE}
${REPO_DES... | <|file_sep|>original/sample_files/README.md
[](https://travis-ci.org/OCA/${REPO_NAME})
[](https://coveralls.io/r/OCA/${REPO_NAME}?branch=${BRANC... | 792d133a8cdb7d4191d0dfa46da343956dec45e2 | sample_files/README.md | sample_files/README.md | Markdown |
<|file_sep|>original/src/jsx/main.jsx
"use strict";
import React from "react"
import ReactDOM from "react-dom";
import MetronomeApp from "./MetronomeApp.jsx";
window.addEventListener("load", function () {
ReactDOM.render(
<MetronomeApp />,
document.getElementsByClassName("container")[0]
);
}, false);
<|fi... | "use strict";
import React from "react"
import ReactDOM from "react-dom";
import MetronomeApp from "./MetronomeApp.jsx";
window.addEventListener("DOMContentLoaded", function () {
ReactDOM.render(
<MetronomeApp />,
document.getElementsByClassName("container")[0]
);
}, false); | <|file_sep|>original/src/jsx/main.jsx
"use strict";
import React from "react"
import ReactDOM from "react-dom";
import MetronomeApp from "./MetronomeApp.jsx";
window.addEventListener("load", function () {
ReactDOM.render(
<MetronomeApp />,
document.getElementsByClassName("container")[0]
);
}, false);
<|fi... | d7af66e34de575c21813963be6abe9e6cd04ffe0 | src/jsx/main.jsx | src/jsx/main.jsx | JSX |
<|file_sep|>original/build.sh
chmod -R 777 storage bootstrap/cache || true
if [ ! -d node_modules ]; then
mkdir -p ~/node_modules
ln -snf ~/node_modules node_modules
fi
curl -sL https://getcomposer.org/installer > composer-installer
php composer-installer
# dummy user, no privilege github token to avoid github a... |
if [ ! -d node_modules ]; then
mkdir -p ~/node_modules
ln -snf ~/node_modules node_modules
fi
curl -sL https://getcomposer.org/installer > composer-installer
php composer-installer
# dummy user, no privilege github token to avoid github api limit
php composer.phar config -g github-oauth.github.com 98cbc568911ef1... | <|file_sep|>original/build.sh
chmod -R 777 storage bootstrap/cache || true
if [ ! -d node_modules ]; then
mkdir -p ~/node_modules
ln -snf ~/node_modules node_modules
fi
curl -sL https://getcomposer.org/installer > composer-installer
php composer-installer
# dummy user, no privilege github token to avoid github a... | 6d77d0b4b2a3d97fd6b4d771dd6dcb8a05216d15 | build.sh | build.sh | Shell |
<|file_sep|>original/setup.cfg
[bdist_rpm]
provides=python-argcomplete
doc_files = AUTHORS.rst
README.rst
LICENSE.rst
<|file_sep|>current/setup.cfg
[bdist_rpm]
provides=python-argcomplete
doc_files = AUTHORS.rst
README.rst
LICENSE.rst
<|file_sep|>updated/setup.cfg | [bdist_rpm]
provides=python-argcomplete
doc_files = AUTHORS.rst
README.rst
LICENSE.rst
[bdist_wheel]
universal=1 | <|file_sep|>original/setup.cfg
[bdist_rpm]
provides=python-argcomplete
doc_files = AUTHORS.rst
README.rst
LICENSE.rst
<|file_sep|>current/setup.cfg
[bdist_rpm]
provides=python-argcomplete
doc_files = AUTHORS.rst
README.rst
LICENSE.rst
<|file_sep|>updated/setup.cfg
[bdist_... | 12a0983e470f52a7e9173112096b64c0e87b0c8c | setup.cfg | setup.cfg | INI |
<|file_sep|>original/src/scripts/browser/menus/templates/main-privacy.js
import $ from 'browser/menus/expressions';
export default {
label: 'Privacy',
submenu: [{
type: 'checkbox',
label: '&Report Stats and Crashes',
click: $.setPref('analytics-track', $.key('checked')),
parse: $.setLocal('checked'... | import $ from 'browser/menus/expressions';
export default {
label: 'Privacy',
submenu: [{
type: 'checkbox',
label: '&Report App Stats and Crashes',
click: $.setPref('analytics-track', $.key('checked')),
parse: $.setLocal('checked', $.pref('analytics-track'))
}, {
id: 'block-seen-typing',
... | <|file_sep|>original/src/scripts/browser/menus/templates/main-privacy.js
import $ from 'browser/menus/expressions';
export default {
label: 'Privacy',
submenu: [{
type: 'checkbox',
label: '&Report Stats and Crashes',
click: $.setPref('analytics-track', $.key('checked')),
parse: $.setLocal('checked'... | 1f179fc6433ca0eb3dad1f0e2971aac30871d153 | src/scripts/browser/menus/templates/main-privacy.js | src/scripts/browser/menus/templates/main-privacy.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-dist --no-interaction
script: ./vendor/bin/phpunit --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
... | language: php
php:
- 5.3
- 5.4
- 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-dist --no-interaction
script: ./vendor/bin/phpunit --coverage-text | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-dist --no-interaction
script: ./vendor/bin/phpunit --coverage-text
<|file_sep|>current/.travis.yml
language: php
php:
- 5.4
... | fed518ec06a6c7d2d0e95ecd4ce962c36204ee62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>routes/web.php.diff
original:
updated:
use App\Http\Controllers\ProfileController;
use App\Http\Controllers\PromoListingController;
use App\Http\Controllers\WildCardController;
<|file_sep|>routes/web.php.diff
original:
Route::get('{any?}view/{title}-{id}', 'PromoListingController@show')
updated:
Route::get... | */
// Individual promo view route
Route::get('{any?}view/{title}-{id}', [PromoListingController::class, 'show'])
->where(['any' => '.*', 'title' => '.+', 'id' => '\d+']);
// Profile view
Route::get('{any?}profile/{accessid?}', [ProfileController::class, 'show'])
->where(['any' => '.*', 'accessid' => '[a-zA-Z]... | <|file_sep|>routes/web.php.diff
original:
updated:
use App\Http\Controllers\ProfileController;
use App\Http\Controllers\PromoListingController;
use App\Http\Controllers\WildCardController;
<|file_sep|>routes/web.php.diff
original:
Route::get('{any?}view/{title}-{id}', 'PromoListingController@show')
updated:
Route::get... | 160a0cb3b963716df925788c60d5dbd7641e37b1 | routes/web.php | routes/web.php | PHP |
<|file_sep|>volaparrot/constants.py.diff
original:
"kalyx", "merc", "loliq", "annoying", "bot", "RootBeats", "JEW2FORU", "quag", "mire", "perici")]
updated:
"kalyx", "merc", "loliq", "annoying", "RootBeats", "JEW2FORU", "quag", "mire", "perici", "Voldemort", "briseis", "brisis", "GNUsuks", "rhooes", "n1sm4n", "... | ADMINFAG = ["RealDolos"]
PARROTFAG = "Parrot"
BLACKFAGS = [i.casefold() for i in (
"kalyx", "merc", "loliq", "annoying", "RootBeats", "JEW2FORU", "quag", "mire", "perici", "Voldemort", "briseis", "brisis", "GNUsuks", "rhooes", "n1sm4n", "honeyhole", "Printer", "yume1")]
OBAMAS = [i.casefold() for i in (
"couns... | <|file_sep|>volaparrot/constants.py.diff
original:
"kalyx", "merc", "loliq", "annoying", "bot", "RootBeats", "JEW2FORU", "quag", "mire", "perici")]
updated:
"kalyx", "merc", "loliq", "annoying", "RootBeats", "JEW2FORU", "quag", "mire", "perici", "Voldemort", "briseis", "brisis", "GNUsuks", "rhooes", "n1sm4n", "... | a364196814c3b33e7fd51a42b4c3a48a3aaeaee8 | volaparrot/constants.py | volaparrot/constants.py | Python |
<|file_sep|>original/composer.json
{
"name": "jmikola/insecure-routes-bundle",
"type": "symfony-bundle",
"description": "Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).",
"keywords": ["https", "routes", "routing", "security"],
"homepage": "https://gith... | "name": "jmikola/insecure-routes-bundle",
"type": "symfony-bundle",
"description": "Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).",
"keywords": ["https", "routes", "routing", "security"],
"homepage": "https://github.com/jmikola/JmikolaInsecureRoutesB... | <|file_sep|>original/composer.json
{
"name": "jmikola/insecure-routes-bundle",
"type": "symfony-bundle",
"description": "Removes HTTPS scheme requirements from routes in your Symfony2 app (for dev/test environments).",
"keywords": ["https", "routes", "routing", "security"],
"homepage": "https://gith... | ad41c342dc0a29855c7258acea10050abebe3ad3 | composer.json | composer.json | JSON |
<|file_sep|>original/bin/direct_sat_enconding_using_elk_csv_query.sh
#!/bin/sh
MAIN_CLASS=org.liveontologies.pinpointing.RunJustificationExperiments
POM="$(dirname "$(cd "$(dirname "$0")" && pwd)")/pom.xml"
mvn -f $POM exec:java -Dexec.mainClass=$MAIN_CLASS -Dexec.args="$*"
<|file_sep|>current/bin/direct_sat_encondi... | #!/bin/sh
MAIN_CLASS=org.liveontologies.pinpointing.DirectSatEncodingUsingElkCsvQuery
POM="$(dirname "$(cd "$(dirname "$0")" && pwd)")/pom.xml"
mvn -f $POM exec:java -Dexec.mainClass=$MAIN_CLASS -Dexec.args="$*" | <|file_sep|>original/bin/direct_sat_enconding_using_elk_csv_query.sh
#!/bin/sh
MAIN_CLASS=org.liveontologies.pinpointing.RunJustificationExperiments
POM="$(dirname "$(cd "$(dirname "$0")" && pwd)")/pom.xml"
mvn -f $POM exec:java -Dexec.mainClass=$MAIN_CLASS -Dexec.args="$*"
<|file_sep|>current/bin/direct_sat_encondi... | 50a464558eba5ed42878996172de8cfd0a3e0fb9 | bin/direct_sat_enconding_using_elk_csv_query.sh | bin/direct_sat_enconding_using_elk_csv_query.sh | Shell |
<|file_sep|>original/package.sh
#!/bin/bash
set -eo pipefail
rm -rf dist
rm -f pyproject.toml
python setup.py sdist
ln -s pyproject.toml.in pyproject.toml
python setup.py sdist
rm -f pyproject.toml
<|file_sep|>current/package.sh
#!/bin/bash
set -eo pipefail
rm -rf dist
rm -f pyproject.toml
python setup.py sd... | #!/bin/bash
set -eo pipefail
rm -rf build dist
rm -f pyproject.toml
python setup.py sdist
ln -s pyproject.toml.in pyproject.toml
python setup.py sdist
rm -f pyproject.toml | <|file_sep|>original/package.sh
#!/bin/bash
set -eo pipefail
rm -rf dist
rm -f pyproject.toml
python setup.py sdist
ln -s pyproject.toml.in pyproject.toml
python setup.py sdist
rm -f pyproject.toml
<|file_sep|>current/package.sh
#!/bin/bash
set -eo pipefail
rm -rf dist
rm -f pyproject.toml
python setup.py sd... | 3ffdcecb7075bb254a245130aa55b2a1dae0a55b | package.sh | package.sh | Shell |
<|file_sep|>original/SeriesGuide/res/xml-v11/appwidget_v11_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.battlelancer.seriesguide.appwidget.ListWidgetConfigure"
android:initialKeyguardLayout="@layout/appwidge... | <?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.battlelancer.seriesguide.appwidget.ListWidgetConfigure"
android:initialKeyguardLayout="@layout/appwidget_v11"
android:initialLayout="@layout/appwidget_v11"
android... | <|file_sep|>original/SeriesGuide/res/xml-v11/appwidget_v11_info.xml
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:configure="com.battlelancer.seriesguide.appwidget.ListWidgetConfigure"
android:initialKeyguardLayout="@layout/appwidge... | 989f0058e39a9eca0dccea0ae1dde0b4f28350cd | SeriesGuide/res/xml-v11/appwidget_v11_info.xml | SeriesGuide/res/xml-v11/appwidget_v11_info.xml | XML |
<|file_sep|>original/app/scripts/routes/application_route.js
App.ApplicationRoute = Ember.Route.extend({
// admittedly, this should be in IndexRoute and not in the
// top level ApplicationRoute; we're in transition... :-)
model: function () {
return ['red', 'yellow', 'blue'];
}
});
<|file_sep|>c... | App.ApplicationRoute = Ember.Route.extend({
}); | <|file_sep|>original/app/scripts/routes/application_route.js
App.ApplicationRoute = Ember.Route.extend({
// admittedly, this should be in IndexRoute and not in the
// top level ApplicationRoute; we're in transition... :-)
model: function () {
return ['red', 'yellow', 'blue'];
}
});
<|file_sep|>c... | f9d943aa29eef1367e24e7815d0bc8970e98bd27 | app/scripts/routes/application_route.js | app/scripts/routes/application_route.js | JavaScript |
<|file_sep|>install.php.diff
original:
<?php
updated:
<?php include ('theme/header.php'); ?>
<|file_sep|>original/install.php
<?php
echo "<p>Who are you? What are you doing here?</p>";
<|file_sep|>current/install.php
<?php include ('theme/header.php'); ?>
echo "<p>Who are you? What are you doing here?</p>";
<|file_se... | <?php include ('theme/header.php'); ?>
<div class="row">
<h1>Installation</h1>
<p>Who are you? What are you doing here?</p>
</div>
<?php include('theme/footer.php'); ?> | <|file_sep|>install.php.diff
original:
<?php
updated:
<?php include ('theme/header.php'); ?>
<|file_sep|>original/install.php
<?php
echo "<p>Who are you? What are you doing here?</p>";
<|file_sep|>current/install.php
<?php include ('theme/header.php'); ?>
echo "<p>Who are you? What are you doing here?</p>";
<|file_se... | 79bf345921fd20d781356c8b6fe389d8c57764f6 | install.php | install.php | PHP |
<|file_sep|>src/math/p_sinh.c.diff
original:
updated:
#include "p_exp.h"
<|file_sep|>original/src/math/p_sinh.c
#include <pal.h>
/*
* sinh z = (exp z - exp(-z)) / 2
*/
static inline float _p_sinh(const float z)
{
float exp_z;
p_exp_f32(&z, &exp_z, 1);
return 0.5f * (exp_z - 1.f / exp_z);
}
/**
*
* C... | #include <pal.h>
#include "p_exp.h"
/*
* sinh z = (exp z - exp(-z)) / 2
*/
static inline float _p_sinh(const float z)
{
float exp_z = _p_exp(z);
return 0.5f * (exp_z - 1.f / exp_z);
}
/**
*
* Calculates the hyperbolic sine of the vector 'a'. Angles are specified
* in radians.
*
* @param a Pointer ... | <|file_sep|>src/math/p_sinh.c.diff
original:
updated:
#include "p_exp.h"
<|file_sep|>original/src/math/p_sinh.c
#include <pal.h>
/*
* sinh z = (exp z - exp(-z)) / 2
*/
static inline float _p_sinh(const float z)
{
float exp_z;
p_exp_f32(&z, &exp_z, 1);
return 0.5f * (exp_z - 1.f / exp_z);
}
/**
*
* C... | 686d82dc92be619255669c99ad2d67eb3f8850b0 | src/math/p_sinh.c | src/math/p_sinh.c | C |
<|file_sep|>original/Tests/Solver/ComposerFallbackTest.php
<|file_sep|>current/Tests/Solver/ComposerFallbackTest.php
<|file_sep|>updated/Tests/Solver/ComposerFallbackTest.php | <?php
/*
* This file is part of the Foxy package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foxy\Tests\Solver;
use Composer\Composer;
use Composer\IO\IOInte... | <|file_sep|>original/Tests/Solver/ComposerFallbackTest.php
<|file_sep|>current/Tests/Solver/ComposerFallbackTest.php
<|file_sep|>updated/Tests/Solver/ComposerFallbackTest.php
<?php
/*
* This file is part of the Foxy package.
*
* (c) François Pluchino <francois.pluchino@gmail.com>
*
* For the full copyright and ... | d6dd3e38bf0855c049555d6640c6ef331127df2a | Tests/Solver/ComposerFallbackTest.php | Tests/Solver/ComposerFallbackTest.php | PHP |
<|file_sep|>original/docker-compose.yml
command: elasticsearch -Des.network.host=0.0.0.0
ports:
- "9200:9200"
- "9300:9300"
logstash:
image: logstash:latest
command: logstash -f /etc/logstash/conf.d/logstash.conf
volumes:
- ./logstash/config:/etc/logstash/conf.d
ports:
- "5000:5000"
links:... | command: elasticsearch -Des.network.host=0.0.0.0
ports:
- "9200:9200"
- "9300:9300"
logstash:
image: logstash:latest
command: logstash -f /etc/logstash/conf.d/logstash.conf
volumes:
- ./logstash/config:/etc/logstash/conf.d
ports:
- "5000:5000"
links:
- elasticsearch
kibana:
build: ki... | <|file_sep|>original/docker-compose.yml
command: elasticsearch -Des.network.host=0.0.0.0
ports:
- "9200:9200"
- "9300:9300"
logstash:
image: logstash:latest
command: logstash -f /etc/logstash/conf.d/logstash.conf
volumes:
- ./logstash/config:/etc/logstash/conf.d
ports:
- "5000:5000"
links:... | 159cc6c1b7f189446b3f42e76ad8e84336cd0544 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>botocore/data/logs/2014-03-28/paginators-1.json.diff
original:
"limit_key": "Limit",
"result_key": "LogGroups"
updated:
"limit_key": "limit",
"result_key": "logGroups"
<|file_sep|>botocore/data/logs/2014-03-28/paginators-1.json.diff
original:
"limit_key": "Limit",
"result... | },
"DescribeMetricFilters": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "limit",
"result_key": "metricFilters"
},
"DescribeSubscriptionFilters": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "limit",
"r... | <|file_sep|>botocore/data/logs/2014-03-28/paginators-1.json.diff
original:
"limit_key": "Limit",
"result_key": "LogGroups"
updated:
"limit_key": "limit",
"result_key": "logGroups"
<|file_sep|>botocore/data/logs/2014-03-28/paginators-1.json.diff
original:
"limit_key": "Limit",
"result... | 6a314246f0584cc43495eba06c4cd99aef1e1f09 | botocore/data/logs/2014-03-28/paginators-1.json | botocore/data/logs/2014-03-28/paginators-1.json | JSON |
<|file_sep|>test/index.js.diff
original:
chromedriver.start();
browser.remote('http://localhost:9515/').timeout('60s').operationTimeout('20s');
after(function () {
chromedriver.stop();
});
updated:
var LOCAL = !process.env.CI;
if (LOCAL) {
chromedriver.start();
browser.remote('http://localhost:9515/').timeout('6... | chromedriver.stop();
});
} else {
browser.remote('ondemand.saucelabs.com', 80, 'sauce-runner', 'c71a5c75-7c28-483f-9053-56da13b40bc2').timeout('240s').operationTimeout('30s');
}
var getHeadingText = browser.async(function* (browser) {
var heading = yield browser.elementByTagName('h1').text();
return headin... | <|file_sep|>test/index.js.diff
original:
chromedriver.start();
browser.remote('http://localhost:9515/').timeout('60s').operationTimeout('20s');
after(function () {
chromedriver.stop();
});
updated:
var LOCAL = !process.env.CI;
if (LOCAL) {
chromedriver.start();
browser.remote('http://localhost:9515/').timeout('6... | 85db50188bcf660bdf83fc09c0c50eed9f0433c4 | test/index.js | test/index.js | JavaScript |
<|file_sep|>original/Inspector/js/http.js
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
import Ajax from '... | *
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
import Ajax from 'simple-ajax';
class Http {
static get(path, callback) {
let... | <|file_sep|>original/Inspector/js/http.js
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
import Ajax from '... | 213295ce96e89bc9823e5e711d2281990bbbb3fc | Inspector/js/http.js | Inspector/js/http.js | JavaScript |
<|file_sep|>lib/smartsheet/api/middleware/response_parser.rb.diff
original:
response = @app.call(env)
updated:
@app.call(env).on_complete do |response_env|
if response_env[:response_headers]['content-type'] =~ /\bjson\b/
hash_body = JSON.parse(response_env[:body])
... | module API
module Middleware
class ResponseParser < Faraday::Middleware
def initialize(app)
super(app)
end
def call(env)
@app.call(env).on_complete do |response_env|
if response_env[:response_headers]['content-type'] =~ /\bjson\b/
hash_b... | <|file_sep|>lib/smartsheet/api/middleware/response_parser.rb.diff
original:
response = @app.call(env)
updated:
@app.call(env).on_complete do |response_env|
if response_env[:response_headers]['content-type'] =~ /\bjson\b/
hash_body = JSON.parse(response_env[:body])
... | 4902c36a3e9530dd26f3945bceb93ed64abd6103 | lib/smartsheet/api/middleware/response_parser.rb | lib/smartsheet/api/middleware/response_parser.rb | Ruby |
<|file_sep|>meta/main.yml.diff
original:
updated:
- xenial
<|file_sep|>original/meta/main.yml
author: rcbops
description: Base host setup for a OpenStack Private Cloud host
company: Rackspace
license: Apache2
min_ansible_version: 2.4
platforms:
- name: Ubuntu
versions:
- bionic
... | author: rcbops
description: Base host setup for a OpenStack Private Cloud host
company: Rackspace
license: Apache2
min_ansible_version: 2.4
platforms:
- name: Ubuntu
versions:
- xenial
- bionic
- name: EL
versions:
- 7
- name: opensuse
versions:
... | <|file_sep|>meta/main.yml.diff
original:
updated:
- xenial
<|file_sep|>original/meta/main.yml
author: rcbops
description: Base host setup for a OpenStack Private Cloud host
company: Rackspace
license: Apache2
min_ansible_version: 2.4
platforms:
- name: Ubuntu
versions:
- bionic
... | ff8690a52f96416459b631e3113f574bc23cf867 | meta/main.yml | meta/main.yml | YAML |
<|file_sep|>atmessager/app.js.diff
original:
updated:
.file('senders', __dirname + '/config/senders.json')
<|file_sep|>original/atmessager/app.js
var express = require('express');
var bodyParser = require('body-parser');
var log4js = require('log4js');
var fs = require('fs');
var nconf = require('nconf');
nconf.fi... | var express = require('express');
var bodyParser = require('body-parser');
var log4js = require('log4js');
var fs = require('fs');
var nconf = require('nconf');
nconf.file('bots', __dirname + '/config/bots.json')
.file('senders', __dirname + '/config/senders.json')
.file('receviers', __dirname + '/config/receivers... | <|file_sep|>atmessager/app.js.diff
original:
updated:
.file('senders', __dirname + '/config/senders.json')
<|file_sep|>original/atmessager/app.js
var express = require('express');
var bodyParser = require('body-parser');
var log4js = require('log4js');
var fs = require('fs');
var nconf = require('nconf');
nconf.fi... | e2bff63acc54572c11f048f593626c3d6fbcb7c2 | atmessager/app.js | atmessager/app.js | JavaScript |
<|file_sep|>original/gradle.properties
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Thu Dec 26 1... | # This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Thu Dec 26 12:25:19 EST 2019
android.enableJetifier=true
android.useAndroidX=true
# Enable Gradle Daemon
org.gradle.... | <|file_sep|>original/gradle.properties
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Thu Dec 26 1... | 6f92c6b302be2a5e82af4b1494fe815359f1e57c | gradle.properties | gradle.properties | INI |
<|file_sep|>voicemail.gemspec.diff
original:
s.add_runtime_dependency %q<adhearsion>, [">= 2.0.0"]
s.add_runtime_dependency %q<adhearsion-asterisk>
s.add_runtime_dependency %q<activesupport>, [">= 3.0.10"]
updated:
s.add_runtime_dependency %q<adhearsion>, ["~> 2.4"]
<|file_sep|>original/voicemail.gemspec
s.au... | s.authors = ["Luca Pradovera"]
s.email = ["lpradovera@mojolingo.com"]
s.homepage = "http://github.com/adhearsion/voicemail"
s.summary = %q{Voicemail for Adhearsion}
s.description = %q{A simple, extensible voicemail implementation}
s.rubyforge_project = "voicemail"
s.files = `git... | <|file_sep|>voicemail.gemspec.diff
original:
s.add_runtime_dependency %q<adhearsion>, [">= 2.0.0"]
s.add_runtime_dependency %q<adhearsion-asterisk>
s.add_runtime_dependency %q<activesupport>, [">= 3.0.10"]
updated:
s.add_runtime_dependency %q<adhearsion>, ["~> 2.4"]
<|file_sep|>original/voicemail.gemspec
s.au... | 85bcba193572b63a060357fcf4e702c0bdb8e9da | voicemail.gemspec | voicemail.gemspec | Ruby |
<|file_sep|>original/lib/mojsso.rb
info do
{
first_name: raw_info.fetch('first_name'),
last_name: raw_info.fetch('last_name'),
email: raw_info.fetch('email'),
permissions: raw_info.fetch('permissions'),
links: raw_info.fetch('links')
}
end
... | }
end
extra do
{ raw_info: raw_info }
end
def raw_info
@raw_info ||= access_token.get('/api/user_details').parsed
end
# HACK: tl;dr
# Don't happen query fragment to the callback_url (i.e bypass CSRF protection)
# as the Sign On Doorkeeper gem is... | <|file_sep|>original/lib/mojsso.rb
info do
{
first_name: raw_info.fetch('first_name'),
last_name: raw_info.fetch('last_name'),
email: raw_info.fetch('email'),
permissions: raw_info.fetch('permissions'),
links: raw_info.fetch('links')
}
end
... | 1aaf9fba367b084e1127e3269efbf8e883f3c45b | lib/mojsso.rb | lib/mojsso.rb | Ruby |
<|file_sep|>services/rdio.py.diff
original:
from oauthlib.oauth1.rfc5849 import SIGNATURE_TYPE_BODY
updated:
<|file_sep|>original/services/rdio.py
# URLs to interact with the API
request_token_url = 'http://api.rdio.com/oauth/request_token'
authorize_url = None # Provided when the request token is granted... | request_token_url = 'http://api.rdio.com/oauth/request_token'
authorize_url = None # Provided when the request token is granted
access_token_url = 'http://api.rdio.com/oauth/access_token'
api_domain = 'api.rdio.com'
available_permissions = [
(None, 'access and manage your music'),
]
... | <|file_sep|>services/rdio.py.diff
original:
from oauthlib.oauth1.rfc5849 import SIGNATURE_TYPE_BODY
updated:
<|file_sep|>original/services/rdio.py
# URLs to interact with the API
request_token_url = 'http://api.rdio.com/oauth/request_token'
authorize_url = None # Provided when the request token is granted... | 91f107ef2ebdaf7ff210b9f36e2c810441f389e7 | services/rdio.py | services/rdio.py | Python |
<|file_sep|>src/history/startListener.js.diff
original:
store.dispatch(manualChange(history.location.path));
updated:
store.dispatch(manualChange(`${history.location.pathname}${history.location.search}${history.location.hash}`));
<|file_sep|>original/src/history/startListener.js
import { manualChange } from '../red... | import { manualChange } from '../redux/actions';
/**
* Dispatches a manualChange action once on app start,
* and whenever a popstate navigation event occurs.
*/
function startListener(history, store) {
store.dispatch(manualChange(`${history.location.pathname}${history.location.search}${history.location.hash}`));
... | <|file_sep|>src/history/startListener.js.diff
original:
store.dispatch(manualChange(history.location.path));
updated:
store.dispatch(manualChange(`${history.location.pathname}${history.location.search}${history.location.hash}`));
<|file_sep|>original/src/history/startListener.js
import { manualChange } from '../red... | ab3f0d14c998384b161c966b114c4793e1cb2795 | src/history/startListener.js | src/history/startListener.js | JavaScript |
<|file_sep|>original/.travis.yml
- 2.0.0
- ruby-head
- rbx-19mode
matrix:
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
# broken on travis
- rvm: ruby-head
notifications:
irc:
channel... | - 2.0.0
- ruby-head
- rbx-19mode
matrix:
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
- rvm: jruby-head # travis broken
- rvm: ruby-head # travis broken
notifications:
irc:
channe... | <|file_sep|>original/.travis.yml
- 2.0.0
- ruby-head
- rbx-19mode
matrix:
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
# broken on travis
- rvm: ruby-head
notifications:
irc:
channel... | cf2026902bc914bc18b6d611049ad3178b95d015 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/phpinsights.php
*/
'add' => [
// ExampleMetric::class => [
// ExampleInsight::class,
// ]
],
'remove' => [
// ExampleInsight::class,
ObjectCalisthenics\Sniffs\NamingConventions\ElementNameMinimalLengthSniff::class,
ObjectCali... |
'add' => [
// ExampleMetric::class => [
// ExampleInsight::class,
// ]
],
'remove' => [
// ExampleInsight::class,
ObjectCalisthenics\Sniffs\NamingConventions\ElementNameMinimalLengthSniff::class,
ObjectCalisthenics\Sniffs\Classes\ForbiddenPublicPrope... | <|file_sep|>original/phpinsights.php
*/
'add' => [
// ExampleMetric::class => [
// ExampleInsight::class,
// ]
],
'remove' => [
// ExampleInsight::class,
ObjectCalisthenics\Sniffs\NamingConventions\ElementNameMinimalLengthSniff::class,
ObjectCali... | 8c543c7b183da38dc2e1985e3496c2e3a64a4fbd | phpinsights.php | phpinsights.php | PHP |
<|file_sep|>original/requirements/base.txt
# Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.30.0
# Frontend
django-bootstrap-breadcrumbs==0.9.1
# Resources
Pillow==5.0.0
yattag==1.... | # Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.31.1
# Frontend
django-bootstrap-breadcrumbs==0.9.1
# Resources
Pillow==5.0.0
yattag==1.10.0
tinycss==0.4
# Markdown
verto==0.7.3
... | <|file_sep|>original/requirements/base.txt
# Wheel 0.25+ needed to install certain packages on CPython 3.5+
# like Pillow and psycopg2
# See http://bitly.com/wheel-building-fails-CPython-35
# Verified bug on Python 3.5.1
wheel==0.30.0
# Frontend
django-bootstrap-breadcrumbs==0.9.1
# Resources
Pillow==5.0.0
yattag==1.... | c963bcaab5f89c19363ef90c1b2ef505ca5004b4 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/test/cronParser.ts
describe("CronParser", function () {
describe("parse", function () {
it("should parse 5 part cron", function () {
assert.equal(new CronParser("* * * * *").parse().length, 7);
});
it("should parse 6 part cron with year", function () {
... | describe("CronParser", function () {
describe("parse", function () {
it("should parse 5 part cron", function () {
assert.equal(new CronParser("* * * * *").parse().length, 7);
});
it("should parse 6 part cron with year", function () {
assert.equal(new CronParser("* * ... | <|file_sep|>original/test/cronParser.ts
describe("CronParser", function () {
describe("parse", function () {
it("should parse 5 part cron", function () {
assert.equal(new CronParser("* * * * *").parse().length, 7);
});
it("should parse 6 part cron with year", function () {
... | bc4d08716879e837841a53174448fb9c6178498b | test/cronParser.ts | test/cronParser.ts | TypeScript |
<|file_sep|>original/app/views/elements/menu/_dropdown.html.slim
li.toggle-topbar.menu-icon
a href="#"
span Menu
section.top-bar-section
ul.right
/ - if @search_module.enabled?
/ li.has-form
/ = render 'searches/form'
- if I18n.available_locales.length > 1
... | li.toggle-topbar.menu-icon
a href="#"
span Menu
section.top-bar-section
ul.right
/ - if @search_module.enabled?
/ li.has-form
/ = render 'searches/form'
- if I18n.available_locales.length > 1 && params[:action] != 'reply'
li = render 'elements/language'
... | <|file_sep|>original/app/views/elements/menu/_dropdown.html.slim
li.toggle-topbar.menu-icon
a href="#"
span Menu
section.top-bar-section
ul.right
/ - if @search_module.enabled?
/ li.has-form
/ = render 'searches/form'
- if I18n.available_locales.length > 1
... | 433b82e812dbca75553525a645fac82acb6d0f22 | app/views/elements/menu/_dropdown.html.slim | app/views/elements/menu/_dropdown.html.slim | Slim |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | # Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | d2cfc514d4cef77e07a6fcba2da2e95755badd8a | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/experimental/csm/ct_csv_to_traces.py
<|file_sep|>current/experimental/csm/ct_csv_to_traces.py
<|file_sep|>updated/experimental/csm/ct_csv_to_traces.py | import csv
import sys
def csv_to_traces(infile, outfile):
traces = []
with open(infile) as inf:
results = csv.DictReader(inf)
for r in results:
for t in r['trace'].split(','):
traces.append(t)
with open(outfile, 'w') as outf:
for trace in traces:
outf.write(trace + '\n')
def mai... | <|file_sep|>original/experimental/csm/ct_csv_to_traces.py
<|file_sep|>current/experimental/csm/ct_csv_to_traces.py
<|file_sep|>updated/experimental/csm/ct_csv_to_traces.py
import csv
import sys
def csv_to_traces(infile, outfile):
traces = []
with open(infile) as inf:
results = csv.DictReader(inf)
for r i... | 8f69b07e80198c1af0d5bd368d8ad8ced968884a | experimental/csm/ct_csv_to_traces.py | experimental/csm/ct_csv_to_traces.py | Python |
<|file_sep|>package.json.diff
original:
updated:
"gulp-clean": "^0.3.1",
<|file_sep|>original/package.json
{
"name": "hexo-theme-foundation",
"version": "0.1.0",
"devDependencies": {
"browser-sync": "^2.7.7",
"gulp": "^3.8.11",
"gulp-bower": "0.0.10",
"gulp-load-plugins": "^0.10.0",
"gulp... | {
"name": "hexo-theme-foundation",
"version": "0.1.0",
"devDependencies": {
"browser-sync": "^2.7.7",
"gulp": "^3.8.11",
"gulp-bower": "0.0.10",
"gulp-clean": "^0.3.1",
"gulp-load-plugins": "^0.10.0",
"gulp-notify": "^2.2.0",
"gulp-sass": "^1.3.3",
"node-inspector": "^0.10.1",
... | <|file_sep|>package.json.diff
original:
updated:
"gulp-clean": "^0.3.1",
<|file_sep|>original/package.json
{
"name": "hexo-theme-foundation",
"version": "0.1.0",
"devDependencies": {
"browser-sync": "^2.7.7",
"gulp": "^3.8.11",
"gulp-bower": "0.0.10",
"gulp-load-plugins": "^0.10.0",
"gulp... | 631190ab977790445dbdf5da1bbc840634ae917c | package.json | package.json | JSON |
<|file_sep|>dpkg/plan.sh.diff
original:
pkg_bin_dirs=(bin)
updated:
pkg_bin_dirs=(bin sbin)
<|file_sep|>original/dpkg/plan.sh
core/zlib
core/xz
)
pkg_build_deps=(
core/autoconf
core/automake
core/bzip2
core/gcc
core/gettext
core/libtool
core/patch
core/make
core/ncurses
core/perl
core/pkg-conf... | core/make
core/ncurses
core/perl
core/pkg-config
core/xz
core/zlib
)
pkg_bin_dirs=(bin sbin)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)
pkg_description="Debian Package Manager"
do_build() {
export prefix=$pkg_prefix
do_default_build
}
do_install() {
export prefix=$pkg_prefix
do_default_install
... | <|file_sep|>dpkg/plan.sh.diff
original:
pkg_bin_dirs=(bin)
updated:
pkg_bin_dirs=(bin sbin)
<|file_sep|>original/dpkg/plan.sh
core/zlib
core/xz
)
pkg_build_deps=(
core/autoconf
core/automake
core/bzip2
core/gcc
core/gettext
core/libtool
core/patch
core/make
core/ncurses
core/perl
core/pkg-conf... | 36d3d7ed0e6e7551a9245ade81623518fc3d1d88 | dpkg/plan.sh | dpkg/plan.sh | Shell |
<|file_sep|>original/dockerfile.lint.cloudbuild.yaml
steps:
- id: 'Lint Dockerfile'
name: 'hadolint/hadolint:latest-alpine' # https://hub.docker.com/r/hadolint/hadolint
entrypoint: '/bin/sh'
args:
- -c
- | # Recursively find dockerfiles (not in testing dir)
find . -name '*Dockerfile' -not -path "./testing... | steps:
- id: 'Lint Dockerfile'
name: 'hadolint/hadolint:latest-alpine' # https://hub.docker.com/r/hadolint/hadolint
entrypoint: '/bin/sh'
args:
- -c
- | # Recursively find dockerfiles (not in testing dir)
find . -name '*Dockerfile' -not -path "./testing/*" -exec hadolint {} \;
find . -name '*Dockerfil... | <|file_sep|>original/dockerfile.lint.cloudbuild.yaml
steps:
- id: 'Lint Dockerfile'
name: 'hadolint/hadolint:latest-alpine' # https://hub.docker.com/r/hadolint/hadolint
entrypoint: '/bin/sh'
args:
- -c
- | # Recursively find dockerfiles (not in testing dir)
find . -name '*Dockerfile' -not -path "./testing... | dcef8b5ee3943e2088b53ccf7502d0cf5c457767 | dockerfile.lint.cloudbuild.yaml | dockerfile.lint.cloudbuild.yaml | YAML |
<|file_sep|>original/setup.py
#!/usr/bin/python3
from distutils.core import setup
setup(
name='tq',
version='0.2.0',
description='comand line css selector',
author='Pedro',
author_email='pedroghcode@gmail.com',
url='https://github.com/plainas/tq',
packages= ['tq'],
scripts=['bin/tq'],
... | #!/usr/bin/python3
from distutils.core import setup
setup(
name='tq',
version='0.2.0',
description='comand line css selector',
author='Pedro',
author_email='pedroghcode@gmail.com',
url='https://github.com/plainas/tq',
packages= ['tq'],
scripts=['bin/tq'],
install_requires=["beautif... | <|file_sep|>original/setup.py
#!/usr/bin/python3
from distutils.core import setup
setup(
name='tq',
version='0.2.0',
description='comand line css selector',
author='Pedro',
author_email='pedroghcode@gmail.com',
url='https://github.com/plainas/tq',
packages= ['tq'],
scripts=['bin/tq'],
... | adfc532450699ac929dd08199abc2c0f751d982f | setup.py | setup.py | Python |
<|file_sep|>original/src/main/java/de/errorcraftlp/cryingobsidian/config/ConfigGUI.java
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.IMo... | import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.IModGuiFactory;
import net.minecraftforge.fml.client.config.GuiConfig;
import de.errorcraft... | <|file_sep|>original/src/main/java/de/errorcraftlp/cryingobsidian/config/ConfigGUI.java
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.IMo... | 44c245318cc13525fedcec01326252f80930b829 | src/main/java/de/errorcraftlp/cryingobsidian/config/ConfigGUI.java | src/main/java/de/errorcraftlp/cryingobsidian/config/ConfigGUI.java | Java |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: python
python:
- '2.7'
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pylab/stable -y
- sudo apt-get update -q
- sudo apt-get install -qq libopenblas-dev liblapack-dev gfortran # install these first
- sudo apt-get install -qq python-numpy python-scipy
script: ... | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: python
python:
- '2.7'
virtualenv:
system_site_packages: true
before_install:
- sudo add-apt-repository ppa:pylab/stable -y
- sudo apt-get update -q
- sudo apt-get install -qq libopenblas-dev liblapack... | ffc6bc6f9fd86c91fbda7dcfdbd98a6f644a00ef | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
This PowerShell module is aimed at providing a widely useful set of
additional cmdlets, providers, aliases, filters, functions and scripts for PowerShell
that members of the community have expressed interest in.
updated:
This PowerShell module is aimed at providing a widely usefu... | * Test-Script
* Test-Assembly (distinguishes between native and managed binaries)
* Get-PEHeader
* Get-TypeName
* Get-Uptime
* Import-VisualStudioVars
* Set-ReadOnly (alias sro)
* Set-Writabel (alias swr)
* Show-Tree (like tree.com)
* Add-PathVariable
* Get/Push/Pop-EnvironmentBlock
* Resolve-ErrorRecord (g... | <|file_sep|>README.md.diff
original:
This PowerShell module is aimed at providing a widely useful set of
additional cmdlets, providers, aliases, filters, functions and scripts for PowerShell
that members of the community have expressed interest in.
updated:
This PowerShell module is aimed at providing a widely usefu... | b1263400e4845964f151e7e6ba1a507e7eaac22b | README.md | README.md | Markdown |
<|file_sep|>original/README.md
HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
<|file_sep|>current/README.md
HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
<|file_sep|>updated/README.md | HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
- David Berger
- Fabian Meisinger
- Peter Kainrad | <|file_sep|>original/README.md
HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
<|file_sep|>current/README.md
HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
<|file_sep|>updated/README.md
HGJ13
=====
FH Hagenberg GLAB GameJam 2013
Team cheese
- David Berger
- Fabian Meisinger
- Peter Kainrad | 6787a16132a753b725a19a12c297700f2e6d40f4 | README.md | README.md | Markdown |
<|file_sep|>original/network_plugin/security_group.py
<|file_sep|>current/network_plugin/security_group.py
<|file_sep|>updated/network_plugin/security_group.py | from cloudify import ctx
from cloudify import exceptions as cfy_exc
from cloudify.decorators import operation
from vcloud_plugin_common import with_vcd_client, wait_for_task
from network_operations import ProxyVCD
from network_plugin import check_ip, get_vm_ip
valid_protocols = ["Tcp", "Udp", "Icmp", "Any"]
CREATE_RU... | <|file_sep|>original/network_plugin/security_group.py
<|file_sep|>current/network_plugin/security_group.py
<|file_sep|>updated/network_plugin/security_group.py
from cloudify import ctx
from cloudify import exceptions as cfy_exc
from cloudify.decorators import operation
from vcloud_plugin_common import with_vcd_client... | 84fe4ef3b99990afba49a5943c9523797cdb5a7a | network_plugin/security_group.py | network_plugin/security_group.py | Python |
<|file_sep|>original/composer.json
"description": "Twitter API for Laravel",
"keywords": ["twitter", "laravel", "laravel4", "laravel5"],
"license": "MIT",
"authors": [
{
"name": "thujohn",
"email": "jonathan.thuau@gmail.com"
}
],
"require": {
"php": "... | "description": "Twitter API for Laravel",
"keywords": ["twitter", "laravel", "laravel4", "laravel5"],
"license": "MIT",
"authors": [
{
"name": "thujohn",
"email": "jonathan.thuau@gmail.com"
}
],
"require": {
"php": ">=5.5.0",
"illuminate/suppo... | <|file_sep|>original/composer.json
"description": "Twitter API for Laravel",
"keywords": ["twitter", "laravel", "laravel4", "laravel5"],
"license": "MIT",
"authors": [
{
"name": "thujohn",
"email": "jonathan.thuau@gmail.com"
}
],
"require": {
"php": "... | a00fda357537a3a53a6a00fb4a0c7a10b96669d5 | composer.json | composer.json | JSON |
<|file_sep|>original/README.markdown
<pre>$ node examples/ping.js
PING received.
PONG sent at 2010/01/13 01:00:00 +0000.
Received unknown message:
{
"body": "PONG",
"type": "TextMessage",
"id": 1,
"user_id": 1,
"room_id": 1,
"created_at": "2010-01-13 01:00:00"
}</pre>
## Known Issues
* The web interface stops ... | PING received.
PONG sent at 2010/01/13 01:00:00 +0000.
Received unknown message:
{
"body": "PONG",
"type": "TextMessage",
"id": 1,
"user_id": 1,
"room_id": 1,
"created_at": "2010-01-13 01:00:00"
}</pre>
## Known Issues
* The web interface stops updating for the user once a message is sent.
## To-Do
* Support ... | <|file_sep|>original/README.markdown
<pre>$ node examples/ping.js
PING received.
PONG sent at 2010/01/13 01:00:00 +0000.
Received unknown message:
{
"body": "PONG",
"type": "TextMessage",
"id": 1,
"user_id": 1,
"room_id": 1,
"created_at": "2010-01-13 01:00:00"
}</pre>
## Known Issues
* The web interface stops ... | 04fdf789c9d7cf80c8ba4d2f1b0bdb80926b3f9d | README.markdown | README.markdown | Markdown |
<|file_sep|>original/circle.yml
machine:
java:
version: oraclejdk8
dependencies:
pre:
- git config --global user.email "shiketaudonko41@gmail.com"
- git config --global user.name "kamatama41"
test:
override:
- ./gradlew check --stacktrace
deployment:
release:
branch: release
commands:... | machine:
java:
version: oraclejdk8
dependencies:
pre:
- git config --global user.email "shiketaudonko41@gmail.com"
- git config --global user.name "kamatama41"
override:
- ./gradlew dependencies
test:
override:
- ./gradlew check --stacktrace
deployment:
release:
branch: release
... | <|file_sep|>original/circle.yml
machine:
java:
version: oraclejdk8
dependencies:
pre:
- git config --global user.email "shiketaudonko41@gmail.com"
- git config --global user.name "kamatama41"
test:
override:
- ./gradlew check --stacktrace
deployment:
release:
branch: release
commands:... | 0158a8592cadfd36ba7a414be643a05cb5894d34 | circle.yml | circle.yml | YAML |
<|file_sep|>original/lib/sequent/core/value_object.rb
#
# This a deep clone of the address with the street attribute containing "New Street"
class ValueObject
include Sequent::Core::Helpers::StringSupport,
Sequent::Core::Helpers::EqualSupport,
Sequent::Core::Helpers::Copyab... | # new_address = address.copy(street: "New Street")
#
# This a deep clone of the address with the street attribute containing "New Street"
class ValueObject
include Sequent::Core::Helpers::StringSupport,
Sequent::Core::Helpers::EqualSupport,
Sequent::Core::Helpers::Cop... | <|file_sep|>original/lib/sequent/core/value_object.rb
#
# This a deep clone of the address with the street attribute containing "New Street"
class ValueObject
include Sequent::Core::Helpers::StringSupport,
Sequent::Core::Helpers::EqualSupport,
Sequent::Core::Helpers::Copyab... | 2e0a041a8d94412b40ac403e9df5982d08d43c79 | lib/sequent/core/value_object.rb | lib/sequent/core/value_object.rb | Ruby |
<|file_sep|>original/_includes/enterprise_label_shortform.md
<!-- This text will be included on all Docker pages that document Enterprise products, features, and technologies that are transitioning to Mirantis. -->
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, cu... | <!-- This text will be included on all Docker pages that document Enterprise products, features, and technologies that are transitioning to Mirantis. -->
This topic applies to Docker Enterprise.
>The Docker Enterprise platform business, including products, customers, and employees, has been acquired by Mirantis, inc.,... | <|file_sep|>original/_includes/enterprise_label_shortform.md
<!-- This text will be included on all Docker pages that document Enterprise products, features, and technologies that are transitioning to Mirantis. -->
This topic applies to Docker Enterprise.
The Docker Enterprise platform business, including products, cu... | 282169ffe30547980fbdc9abd24c999a6a94c1a6 | _includes/enterprise_label_shortform.md | _includes/enterprise_label_shortform.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.