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/BHCDatabase/test/models/funder_test.rb test "email shouldn't be too long" do @funder.email = 'a' * 256 assert_not @funder.valid? end test "telephone shouldn't be too long" do @funder.telephone = '0' * 256 assert_not @funder.valid? end test "address shouldn't be too long"...
test "address shouldn't be too long" do @funder.address = 'a' * 256 assert_not @funder.valid? end test "description shouldn't be too long" do @funder.description = 'a' * 65_537 assert_not @funder.valid? end test 'index on name and email' do @duplicate_funder = @funder.dup assert_not ...
<|file_sep|>original/BHCDatabase/test/models/funder_test.rb test "email shouldn't be too long" do @funder.email = 'a' * 256 assert_not @funder.valid? end test "telephone shouldn't be too long" do @funder.telephone = '0' * 256 assert_not @funder.valid? end test "address shouldn't be too long"...
34cfe9ea524291bf83dfaf216059cb29698a970b
BHCDatabase/test/models/funder_test.rb
BHCDatabase/test/models/funder_test.rb
Ruby
<|file_sep|>original/url-handler/README.md # URL Handler Sample App This is a basic Wikipedia viewer implemented as a packaged app. Chrome 31 introduces a new mechanism to allow apps to intercept navigations to URLs that match a given pattern or patterns. Using that mechanism, this sample app intercepts Wikipedia de...
# URL Handler Sample App This is a basic Wikipedia viewer implemented as a packaged app. Chrome 31 introduces a new mechanism to allow apps to intercept navigations to URLs that match a given pattern or patterns. Using that mechanism, this sample app intercepts Wikipedia desktop and mobile URLs, normalizes them to t...
<|file_sep|>original/url-handler/README.md # URL Handler Sample App This is a basic Wikipedia viewer implemented as a packaged app. Chrome 31 introduces a new mechanism to allow apps to intercept navigations to URLs that match a given pattern or patterns. Using that mechanism, this sample app intercepts Wikipedia de...
a8926cb964eeb4b9aee2eb48a2579f3143598587
url-handler/README.md
url-handler/README.md
Markdown
<|file_sep|>original/src/pyddl/__init__.py <|file_sep|>current/src/pyddl/__init__.py <|file_sep|>updated/src/pyddl/__init__.py
from abc import abstractmethod __author__ = "Jonathan Hale" class DdlStructure: """ An OpenDDL structure. """ def __init__(self, name): self.structures = [] self.properties = dict() self.name = name class DdlDocument: """ An OpenDDL document. """
<|file_sep|>original/src/pyddl/__init__.py <|file_sep|>current/src/pyddl/__init__.py <|file_sep|>updated/src/pyddl/__init__.py from abc import abstractmethod __author__ = "Jonathan Hale" class DdlStructure: """ An OpenDDL structure. """ def __init__(self, name): self.structures = [] ...
e74ebce60cc1de84465b16175320aa32f4795c0a
src/pyddl/__init__.py
src/pyddl/__init__.py
Python
<|file_sep|>original/ce/common.py class DynamicMethods(object): def list_methods(self, predicate): """Find all transform methods within the class that satisfies the predicate. Returns: A list of tuples containing method names and corresponding methods that can be ca...
class DynamicMethods(object): def list_methods(self, predicate): """Find all transform methods within the class that satisfies the predicate. Returns: A list of tuples containing method names and corresponding methods that can be called with a tree as the argument f...
<|file_sep|>original/ce/common.py class DynamicMethods(object): def list_methods(self, predicate): """Find all transform methods within the class that satisfies the predicate. Returns: A list of tuples containing method names and corresponding methods that can be ca...
5e4c12067ee2b1d9affceaea789405422f7233a1
ce/common.py
ce/common.py
Python
<|file_sep|>.travis.yml.diff original: # - os: osx # osx_image: xcode8.2 # sudo: required updated: - os: osx osx_image: xcode8.3 sudo: required <|file_sep|>original/.travis.yml language: generic matrix: include: - os: linux dist: xenial sudo: required # - os: osx # ...
language: generic matrix: include: - os: linux dist: xenial sudo: required - os: osx osx_image: xcode8.3 sudo: required install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "$(curl -sL https://github.com/odaceo/script-ubuntu-swiftenv/raw/master/install.sh)" ; fi script: -...
<|file_sep|>.travis.yml.diff original: # - os: osx # osx_image: xcode8.2 # sudo: required updated: - os: osx osx_image: xcode8.3 sudo: required <|file_sep|>original/.travis.yml language: generic matrix: include: - os: linux dist: xenial sudo: required # - os: osx # ...
cd6e44cfbb7ea5a7fc9db0c8458233b671a25954
.travis.yml
.travis.yml
YAML
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: If your issue is for the web control panel, please report it here instead: https://github.com/tgstation/tgstation-server-control-panel updated: Note that this repository does not contain any client code (With the exception of the web control panel which can be found ...
Note that this repository does not contain any client code (With the exception of the web control panel which can be found in [its own repository](https://github.com/tgstation/tgstation-server-control-panel)). Any client issues should be reported to their respective codebases. Please include: - A description of the i...
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff original: If your issue is for the web control panel, please report it here instead: https://github.com/tgstation/tgstation-server-control-panel updated: Note that this repository does not contain any client code (With the exception of the web control panel which can be found ...
88a634ab62cd267adb9e9e382b4869017557f57a
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>Nocilla/LSNocilla.h.diff original: #import "LSHTTPRequest.h" updated: <|file_sep|>original/Nocilla/LSNocilla.h #import <Foundation/Foundation.h> #import "Nocilla.h" #import "LSHTTPRequest.h" @class LSStubRequest; @class LSStubResponse; extern NSString * const LSUnexpectedRequest; @interface LSNocilla : ...
#import <Foundation/Foundation.h> #import "Nocilla.h" @class LSStubRequest; @class LSStubResponse; @protocol LSHTTPRequest; extern NSString * const LSUnexpectedRequest; @interface LSNocilla : NSObject + (LSNocilla *)sharedInstance; @property (nonatomic, strong, readonly) NSArray *stubbedRequests; - (void)start; - (...
<|file_sep|>Nocilla/LSNocilla.h.diff original: #import "LSHTTPRequest.h" updated: <|file_sep|>original/Nocilla/LSNocilla.h #import <Foundation/Foundation.h> #import "Nocilla.h" #import "LSHTTPRequest.h" @class LSStubRequest; @class LSStubResponse; extern NSString * const LSUnexpectedRequest; @interface LSNocilla : ...
f6a808e5190055af32abe8060bbe7d4ab2d5d6d4
Nocilla/LSNocilla.h
Nocilla/LSNocilla.h
C
<|file_sep|>original/lib/ggem/template_file/test_helper.rb.erb # this file is automatically required when you run `assert` # put any test helpers here # add the root dir to the load path $LOAD_PATH.unshift(File.expand_path("../..", __FILE__)) # require pry for debugging (`binding.pry`) require 'pry' require 'test/su...
# this file is automatically required when you run `assert` # put any test helpers here # add the root dir to the load path $LOAD_PATH.unshift(File.expand_path("../..", __FILE__)) # require pry for debugging (`binding.pry`) require 'pry' require 'test/support/factory' # TODO: put test helpers here...
<|file_sep|>original/lib/ggem/template_file/test_helper.rb.erb # this file is automatically required when you run `assert` # put any test helpers here # add the root dir to the load path $LOAD_PATH.unshift(File.expand_path("../..", __FILE__)) # require pry for debugging (`binding.pry`) require 'pry' require 'test/su...
a367dafbc60eb4a07085156dda00a525a69d9819
lib/ggem/template_file/test_helper.rb.erb
lib/ggem/template_file/test_helper.rb.erb
HTML+ERB
<|file_sep|>original/.github/workflows/codesee-arch-diagram.yml <|file_sep|>current/.github/workflows/codesee-arch-diagram.yml <|file_sep|>updated/.github/workflows/codesee-arch-diagram.yml
on: push: branches: - master pull_request_target: types: [opened, synchronize, reopened] name: CodeSee Map jobs: test_map_action: runs-on: ubuntu-latest continue-on-error: true name: Run CodeSee Map Analysis steps: - name: checkout id: checkout uses: actions/c...
<|file_sep|>original/.github/workflows/codesee-arch-diagram.yml <|file_sep|>current/.github/workflows/codesee-arch-diagram.yml <|file_sep|>updated/.github/workflows/codesee-arch-diagram.yml on: push: branches: - master pull_request_target: types: [opened, synchronize, reopened] name: CodeSee Map j...
d5b869297e10a80806305e1b8509ece8e547623d
.github/workflows/codesee-arch-diagram.yml
.github/workflows/codesee-arch-diagram.yml
YAML
<|file_sep|>original/organizer/models.py slug = models.SlugField( max_length=31, unique=True, help_text='A label for URL config.') class Startup(models.Model): name = models.CharField(max_length=31) slug = models.SlugField() description = models.TextField() founded_date = m...
slug = models.SlugField( max_length=31, unique=True, help_text='A label for URL config.') class Startup(models.Model): name = models.CharField(max_length=31) slug = models.SlugField() description = models.TextField() founded_date = models.DateField() contact = models.Em...
<|file_sep|>original/organizer/models.py slug = models.SlugField( max_length=31, unique=True, help_text='A label for URL config.') class Startup(models.Model): name = models.CharField(max_length=31) slug = models.SlugField() description = models.TextField() founded_date = m...
159d09e18dc3b10b7ba3c104a2761f300d50ff28
organizer/models.py
organizer/models.py
Python
<|file_sep|>original/sympy/sets/conditionset.py Examples ======== >>> from sympy import Symbol, S, CondSet, Lambda, pi, Eq, sin >>> x = Symbol('x') >>> sin_sols = CondSet(Lambda(x, Eq(sin(x), 0)), S.Reals) >>> 2*pi in sin_sols True """ def __new__(cls, lamda, base_set): ret...
{x | condition(x) is True for x in S} Examples ======== >>> from sympy import Symbol, S, CondSet, Lambda, pi, Eq, sin >>> x = Symbol('x') >>> sin_sols = CondSet(Lambda(x, Eq(sin(x), 0)), S.Reals) >>> 2*pi in sin_sols True """ def __new__(cls, lamda, base_set): return ...
<|file_sep|>original/sympy/sets/conditionset.py Examples ======== >>> from sympy import Symbol, S, CondSet, Lambda, pi, Eq, sin >>> x = Symbol('x') >>> sin_sols = CondSet(Lambda(x, Eq(sin(x), 0)), S.Reals) >>> 2*pi in sin_sols True """ def __new__(cls, lamda, base_set): ret...
85a873c79e3c3c7289a23da6fe3673259fac9cbd
sympy/sets/conditionset.py
sympy/sets/conditionset.py
Python
<|file_sep|>features/install.feature.diff original: @wip updated: <|file_sep|>original/features/install.feature """ flavor '$foo_uri' """ When I run vim-flavor with 'install' Then I get lockfile """ $foo_uri (1.0.2) """ And I get a bootstrap script in '$home' And I...
flavor '$foo_uri' """ When I run vim-flavor with 'install' Then I get lockfile """ $foo_uri (1.0.2) """ And I get a bootstrap script in '$home' And I get flavor 'foo' with '1.0.2' in '$home' @wip Scenario: Install with lockfile Given flavorfile """ flav...
<|file_sep|>features/install.feature.diff original: @wip updated: <|file_sep|>original/features/install.feature """ flavor '$foo_uri' """ When I run vim-flavor with 'install' Then I get lockfile """ $foo_uri (1.0.2) """ And I get a bootstrap script in '$home' And I...
36341eb01370fb131a68bfbd14cbc61189d3260f
features/install.feature
features/install.feature
Cucumber
<|file_sep|>Casks/xact.rb.diff original: url 'http://xact.scottcbrown.org/xACT2.27.zip' updated: url 'http://xact.scottcbrown.org/xACT2.28.zip' <|file_sep|>original/Casks/xact.rb class Xact < Cask url 'http://xact.scottcbrown.org/xACT2.27.zip' homepage 'http://xact.scottcbrown.org' version '2.27' sha256 'a9...
class Xact < Cask url 'http://xact.scottcbrown.org/xACT2.28.zip' homepage 'http://xact.scottcbrown.org' version '2.28' sha256 '0296e366f6b7f0a35ef6d1707695b67b8299efa678071f82a877000f4587d3d3' link 'xACT 2.28/xACT.app' end
<|file_sep|>Casks/xact.rb.diff original: url 'http://xact.scottcbrown.org/xACT2.27.zip' updated: url 'http://xact.scottcbrown.org/xACT2.28.zip' <|file_sep|>original/Casks/xact.rb class Xact < Cask url 'http://xact.scottcbrown.org/xACT2.27.zip' homepage 'http://xact.scottcbrown.org' version '2.27' sha256 'a9...
b1758f178d3a70853d662b2eb2f9be1a91cdd375
Casks/xact.rb
Casks/xact.rb
Ruby
<|file_sep|>original/boot-classloader/project.clj (defproject tailrecursion/boot-classloader "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure...
(defproject tailrecursion/boot-classloader "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [or...
<|file_sep|>original/boot-classloader/project.clj (defproject tailrecursion/boot-classloader "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure...
ba721602fbc61dd061a178bf973c4601a0ca2462
boot-classloader/project.clj
boot-classloader/project.clj
Clojure
<|file_sep|>original/spec/acceptance/borrador_spec.rb <|file_sep|>current/spec/acceptance/borrador_spec.rb <|file_sep|>updated/spec/acceptance/borrador_spec.rb
# encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper') feature "Borrador", %q{ Para no publicar cambios sin revisar Como administrador Quiero poder editar borradores de las páginas } do background do login end scenario do visit new_pagina_path click_on "G...
<|file_sep|>original/spec/acceptance/borrador_spec.rb <|file_sep|>current/spec/acceptance/borrador_spec.rb <|file_sep|>updated/spec/acceptance/borrador_spec.rb # encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper') feature "Borrador", %q{ Para no publicar cambios sin revisar C...
219aad0fd4074885f554f90deba94de6884a2624
spec/acceptance/borrador_spec.rb
spec/acceptance/borrador_spec.rb
Ruby
<|file_sep|>original/package.json { "name": "project-fuzzball-test", "version": "1.0.2", "description": "Run elm-test suites.", "main": "elm-test.js", "engines": { "node": ">=4.0.0" }, "scripts": { "test": "node tests/ci.js" }, "repository": { "type": "git", "url": "git+https://github....
{ "name": "project-fuzzball-test", "version": "1.0.3", "description": "Run elm-test suites.", "main": "elm-test.js", "engines": { "node": ">=4.0.0" }, "scripts": { "test": "node tests/ci.js" }, "repository": { "type": "git", "url": "git+https://github.com/rtfeldman/node-elm-test.git" ...
<|file_sep|>original/package.json { "name": "project-fuzzball-test", "version": "1.0.2", "description": "Run elm-test suites.", "main": "elm-test.js", "engines": { "node": ">=4.0.0" }, "scripts": { "test": "node tests/ci.js" }, "repository": { "type": "git", "url": "git+https://github....
1d0883395d0a8d3cc452223030a95aada51edc27
package.json
package.json
JSON
<|file_sep|>original/project/Dependencies.scala val specs2Dep = Def.setting { "org.specs2" %% "specs2-core" % "4.13.1" cross CrossVersion.for3Use2_13 } def okHttp = "com.squareup.okhttp3" % "okhttp" % "4.9.3" :: Nil def integrationTestDeps = Def.setting((specs2Dep.value :: okHttp) map { _ % "test" }) ...
val specs2Dep = Def.setting { "org.specs2" %% "specs2-core" % "4.13.1" cross CrossVersion.for3Use2_13 } def okHttp = "com.squareup.okhttp3" % "okhttp" % "4.9.3" :: Nil def integrationTestDeps = Def.setting((specs2Dep.value :: okHttp) map { _ % "test" }) val commonsCodecVersion = "1.15" val scalaXmlV...
<|file_sep|>original/project/Dependencies.scala val specs2Dep = Def.setting { "org.specs2" %% "specs2-core" % "4.13.1" cross CrossVersion.for3Use2_13 } def okHttp = "com.squareup.okhttp3" % "okhttp" % "4.9.3" :: Nil def integrationTestDeps = Def.setting((specs2Dep.value :: okHttp) map { _ % "test" }) ...
a3276ee517fb8f0e57691b0a617b90fa43d4a552
project/Dependencies.scala
project/Dependencies.scala
Scala
<|file_sep|>app/views/questions/show.html.erb.diff original: <p><%= @question.body %></p> updated: <p class='question_body'><%= @question.body %></p> <|file_sep|>original/app/views/questions/show.html.erb <div class='container'> <h2><%= @question.title %></h2> <p><%= @question.body %></p> <%= render templ...
<div class='container'> <h2><%= @question.title %></h2> <p class='question_body'><%= @question.body %></p> <%= render template: "answers/new.html.erb", locals: { question: @question, answer: @answer} %> <% @question.answers.each do |answer| %> <%= answer.body %> <br> <% end %> </div>
<|file_sep|>app/views/questions/show.html.erb.diff original: <p><%= @question.body %></p> updated: <p class='question_body'><%= @question.body %></p> <|file_sep|>original/app/views/questions/show.html.erb <div class='container'> <h2><%= @question.title %></h2> <p><%= @question.body %></p> <%= render templ...
cbceb2c49d7da49bee69430eb687da3f87e3be0a
app/views/questions/show.html.erb
app/views/questions/show.html.erb
HTML+ERB
<|file_sep|>original/requirements.txt # These requirements are only necessary when developing on Oscar. # development Werkzeug>=1.0,<2.1 django-debug-toolbar>=2.2,<3.3 django-extensions>=2.2,<3.2 psycopg2-binary>=2.8,<2.10 # Sandbox Whoosh>=2.7,<2.8 django-environ>=0.4,<0.5 django-redis>=4.12,<5.1 pysolr>=3.9,<3.10 r...
# These requirements are only necessary when developing on Oscar. # development Werkzeug>=1.0,<2.1 django-debug-toolbar>=2.2,<3.3 django-extensions>=2.2,<3.2 psycopg2-binary>=2.8,<2.10 # Sandbox Whoosh>=2.7,<2.8 django-environ>=0.4,<0.6 django-redis>=4.12,<5.1 pysolr>=3.9,<3.10 redis>=3.5,<3.6 requests>=2.25,<3 uWSGI...
<|file_sep|>original/requirements.txt # These requirements are only necessary when developing on Oscar. # development Werkzeug>=1.0,<2.1 django-debug-toolbar>=2.2,<3.3 django-extensions>=2.2,<3.2 psycopg2-binary>=2.8,<2.10 # Sandbox Whoosh>=2.7,<2.8 django-environ>=0.4,<0.5 django-redis>=4.12,<5.1 pysolr>=3.9,<3.10 r...
1d8bad971ec8af0e2069b0823f9104f82683ea85
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.2 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.12.7 attrs==17.2.0 <|file_sep|>current/...
pydplace==0.4 Django==1.11.3 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.12.7 attrs==17.2.0
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.2 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.12.7 attrs==17.2.0 <|file_sep|>current/...
bb47e3e5fe3e9af5db40fd4bd7f7b0579c34012d
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json { "repository": "https://github.com/github/linguist", "dependencies": { "season": "~>3.0" } } <|file_sep|>current/package.json { "repository": "https://github.com/github/linguist", "dependencies": { "season": "~>3.0" } } <|file_sep|>updated/package.json
{ "repository": "https://github.com/github/linguist", "dependencies": { "season": "~>5.0" } }
<|file_sep|>original/package.json { "repository": "https://github.com/github/linguist", "dependencies": { "season": "~>3.0" } } <|file_sep|>current/package.json { "repository": "https://github.com/github/linguist", "dependencies": { "season": "~>3.0" } } <|file_sep|>updated/package.json { "reposit...
10ffd870e2ea21d4d73048bb0e07410bd56e5bec
package.json
package.json
JSON
<|file_sep|>original/app/views/teams/_teams.html.erb <% @teams.each do |team| %> <div class="box box-solid box-default"> <div class="box-header"> <h3 class="box-title"><%= team.name %></h3> <h3 class="box-title pull-right">Prof(a). <%= team.owner.name %></h3> </div><!-- /.box-header --> <div ...
<% @teams.each do |team| %> <div class="box box-solid box-default"> <div class="box-header"> <h3 class="box-title"><%= team.name %></h3> <h3 class="box-title pull-right">Prof(a). <%= team.owner.name %></h3> </div><!-- /.box-header --> <div class="box-footer"> <% if team.enrolled?(curren...
<|file_sep|>original/app/views/teams/_teams.html.erb <% @teams.each do |team| %> <div class="box box-solid box-default"> <div class="box-header"> <h3 class="box-title"><%= team.name %></h3> <h3 class="box-title pull-right">Prof(a). <%= team.owner.name %></h3> </div><!-- /.box-header --> <div ...
5f90cb7028caf6263bb7237ae9e775d8c0841bf9
app/views/teams/_teams.html.erb
app/views/teams/_teams.html.erb
HTML+ERB
<|file_sep|>original/src/main/java/com/querins/StockMarket/services/StockService.java private SimpMessageSendingOperations template; private StockRepository repository; private static final Random r = new Random(); @Autowired public StockService(StockRepository repository, SimpMessageSendingOperati...
private SimpMessageSendingOperations template; private StockRepository repository; private static final Random r = new Random(); @Autowired public StockService(StockRepository repository, SimpMessageSendingOperations template) { this.repository = repository; this.template = templat...
<|file_sep|>original/src/main/java/com/querins/StockMarket/services/StockService.java private SimpMessageSendingOperations template; private StockRepository repository; private static final Random r = new Random(); @Autowired public StockService(StockRepository repository, SimpMessageSendingOperati...
8cbcc4d4dcca0f784ac23830ae60bad4f5813b5a
src/main/java/com/querins/StockMarket/services/StockService.java
src/main/java/com/querins/StockMarket/services/StockService.java
Java
<|file_sep|>original/app/models/User.php ); protected $defaults = array('cookie' => '', 'session' => '', 'ip' => '', 'group_id' => 0, ); public function getRoute() { return array('controller' => 'Users', 'action' => 'view', 'parameters' => array($this->username) ); } public function has...
'password' => 'Password', 'confirm_password' => 'Confirm password', ); protected $defaults = array('cookie' => '', 'session' => '', 'ip' => '', 'group_id' => 0, ); public function getRoute() { return array('controller' => 'Users', 'action' => 'view', 'parameters' => array($this->username) ...
<|file_sep|>original/app/models/User.php ); protected $defaults = array('cookie' => '', 'session' => '', 'ip' => '', 'group_id' => 0, ); public function getRoute() { return array('controller' => 'Users', 'action' => 'view', 'parameters' => array($this->username) ); } public function has...
1610c4dab4cc4b72c8a0e9d569d3679493b1336a
app/models/User.php
app/models/User.php
PHP
<|file_sep|>original/README.md $ bundle Or install it yourself as: $ gem install yard-ghpages ## Usage This gem exposes two new rake tasks: `yard:build` and `yard:publish`. To use this gem, build the yard docs first. ``` rake yard:build ``` Commit the changes. ``` git commit -am 'Update yard docs' ``` Pu...
$ bundle Or install it yourself as: $ gem install yard-ghpages ## Usage This gem exposes two new rake tasks: `yard:build` and `yard:publish`. To use this gem, install in the `Rakefile`. ``` require 'yard-ghpages' Yard::GHPages::Tasks.install_tasks ``` Build the yard docs. ``` rake yard:build ```
<|file_sep|>original/README.md $ bundle Or install it yourself as: $ gem install yard-ghpages ## Usage This gem exposes two new rake tasks: `yard:build` and `yard:publish`. To use this gem, build the yard docs first. ``` rake yard:build ``` Commit the changes. ``` git commit -am 'Update yard docs' ``` Pu...
4f8d08c825f75c8dda6473c2a18f54eaa1021a8d
README.md
README.md
Markdown
<|file_sep|>original/.forestry/front_matter/templates/gallery.yml <|file_sep|>current/.forestry/front_matter/templates/gallery.yml <|file_sep|>updated/.forestry/front_matter/templates/gallery.yml
--- label: Gallery hide_body: true fields: - type: field_group_list name: Sp94 guide montage label: Sp94 guide montage fields: - type: file name: file label: file - type: text name: description label: description
<|file_sep|>original/.forestry/front_matter/templates/gallery.yml <|file_sep|>current/.forestry/front_matter/templates/gallery.yml <|file_sep|>updated/.forestry/front_matter/templates/gallery.yml --- label: Gallery hide_body: true fields: - type: field_group_list name: Sp94 guide montage label: Sp94 guide montage...
5993bbb8b887ba54fc289152814fa706bff83d84
.forestry/front_matter/templates/gallery.yml
.forestry/front_matter/templates/gallery.yml
YAML
<|file_sep|>original/app/system/trigger/impl/push.coffee # Trigger implementation for being told when to poll Bacon = require 'baconjs' router = require '../../../router' module.exports = (config) -> bus = new Bacon.Bus url = if config.url? then "/repo/poll/#{url}" else '/repo/poll' router.api.post url, (req, res...
# Trigger implementation for being told when to poll Bacon = require 'baconjs' router = require '../../../router' module.exports = (config) -> bus = new Bacon.Bus url = if config.url? then "/repo/poll/#{url}" else '/repo/poll' router.api.post url, (req, res) -> bus.push reason: "request from #{req.ip}" res.se...
<|file_sep|>original/app/system/trigger/impl/push.coffee # Trigger implementation for being told when to poll Bacon = require 'baconjs' router = require '../../../router' module.exports = (config) -> bus = new Bacon.Bus url = if config.url? then "/repo/poll/#{url}" else '/repo/poll' router.api.post url, (req, res...
08ec212b6903bd8ba28206dd44525aef37756976
app/system/trigger/impl/push.coffee
app/system/trigger/impl/push.coffee
CoffeeScript
<|file_sep|>original/src/vs/workbench/parts/extensions/electron-browser/extensionsFileTemplate.ts import { IJSONSchema } from 'vs/base/common/jsonSchema'; export const SchemaId = 'vscode://schemas/extensions'; export const Schema: IJSONSchema = { id: SchemaId, type: 'object', title: localize('app.extensions.json.ti...
import { IJSONSchema } from 'vs/base/common/jsonSchema'; export const SchemaId = 'vscode://schemas/extensions'; export const Schema: IJSONSchema = { id: SchemaId, type: 'object', title: localize('app.extensions.json.title', "Extensions"), properties: { recommendations: { type: 'array', description: localiz...
<|file_sep|>original/src/vs/workbench/parts/extensions/electron-browser/extensionsFileTemplate.ts import { IJSONSchema } from 'vs/base/common/jsonSchema'; export const SchemaId = 'vscode://schemas/extensions'; export const Schema: IJSONSchema = { id: SchemaId, type: 'object', title: localize('app.extensions.json.ti...
05798c2f4610a7c82fc0e1a7b7b75da93f60233e
src/vs/workbench/parts/extensions/electron-browser/extensionsFileTemplate.ts
src/vs/workbench/parts/extensions/electron-browser/extensionsFileTemplate.ts
TypeScript
<|file_sep|>original/src/main/java/com/saintdan/framework/annotation/CurrentUser.java import java.lang.annotation.Target; /** * Get current user.{@link AuthenticationPrincipal} * * <pre> * @Controller * public class MyController { * @RequestMapping("/user/current/show") * public String show(@CurrentUser...
import java.lang.annotation.Target; /** * Get current user.{@link AuthenticationPrincipal} * * <pre> * @Controller * public class MyController { * @RequestMapping("/user/current/show") * public String show(@CurrentUser CustomUser customUser) { * // do something with CustomUser * return "view";...
<|file_sep|>original/src/main/java/com/saintdan/framework/annotation/CurrentUser.java import java.lang.annotation.Target; /** * Get current user.{@link AuthenticationPrincipal} * * <pre> * @Controller * public class MyController { * @RequestMapping("/user/current/show") * public String show(@CurrentUser...
ada7fe1971f639d4620966c464be914f94a6bdab
src/main/java/com/saintdan/framework/annotation/CurrentUser.java
src/main/java/com/saintdan/framework/annotation/CurrentUser.java
Java
<|file_sep|>original/src/iso.js var escapeTextForBrowser = require('react/lib/escapeTextForBrowser') function server(html, data = {}, meta = {}) { var xState = escapeTextForBrowser(JSON.stringify(data)) var xMeta = escapeTextForBrowser(JSON.stringify(meta)) return ( `<div class="node-iso-v3" data-state="$...
var escapeTextForBrowser = require('react/lib/escapeTextForBrowser') function server(html, data = {}, meta = {}) { var xState = escapeTextForBrowser(JSON.stringify(data)) var xMeta = escapeTextForBrowser(JSON.stringify(meta)) return ( `<div class="node-iso-v3" data-state="${xState}" data-meta="${xMe...
<|file_sep|>original/src/iso.js var escapeTextForBrowser = require('react/lib/escapeTextForBrowser') function server(html, data = {}, meta = {}) { var xState = escapeTextForBrowser(JSON.stringify(data)) var xMeta = escapeTextForBrowser(JSON.stringify(meta)) return ( `<div class="node-iso-v3" data-state="$...
69682704e80e094c01d16d5460c15730f517b8ab
src/iso.js
src/iso.js
JavaScript
<|file_sep|>original/plugins/utils.sh add_tar_apt() { curl -fsSL http://ftp.debian.org/debian/pool/main/t/tar/tar_1.29-1_amd64.deb -o /tmp/tar.deb && \ dpkg -i /tmp/tar.deb && rm -f /tmp/tar.deb } add_tar_apk() { main add-pkg tar } <|file_sep|>current/plugins/utils.sh add_tar_apt() { curl -fsSL http://ftp.debi...
add_tar_apt() { curl -fsSL http://ftp.debian.org/debian/pool/main/t/tar/tar_1.29b-1.1_amd64.deb -o /tmp/tar.deb && \ dpkg -i /tmp/tar.deb && rm -f /tmp/tar.deb } add_tar_apk() { main add-pkg tar }
<|file_sep|>original/plugins/utils.sh add_tar_apt() { curl -fsSL http://ftp.debian.org/debian/pool/main/t/tar/tar_1.29-1_amd64.deb -o /tmp/tar.deb && \ dpkg -i /tmp/tar.deb && rm -f /tmp/tar.deb } add_tar_apk() { main add-pkg tar } <|file_sep|>current/plugins/utils.sh add_tar_apt() { curl -fsSL http://ftp.debi...
9a54265bab6647090dc706de041e327f7f9b341e
plugins/utils.sh
plugins/utils.sh
Shell
<|file_sep|>original/templates/vue/utils/fetch.js export default function (id, options = {}) { if (typeof options.headers === 'undefined') Object.assign(options, { headers: new Headers() }) if (options.headers.get('Accept') === null) options.headers.set('Accept', MIME_TYPE) if (options.body !== undefined && !(...
export default function (id, options = {}) { if (typeof options.headers === 'undefined') Object.assign(options, { headers: new Headers() }) if (options.headers.get('Accept') === null) options.headers.set('Accept', MIME_TYPE) if (options.body !== undefined && !(options.body instanceof FormData) && options.heade...
<|file_sep|>original/templates/vue/utils/fetch.js export default function (id, options = {}) { if (typeof options.headers === 'undefined') Object.assign(options, { headers: new Headers() }) if (options.headers.get('Accept') === null) options.headers.set('Accept', MIME_TYPE) if (options.body !== undefined && !(...
271700f87923e08a6d8ce2712c29ab319ab699c3
templates/vue/utils/fetch.js
templates/vue/utils/fetch.js
JavaScript
<|file_sep|>buildout.cfg.diff original: updated: show-picked-versions = true versions = versions <|file_sep|>buildout.cfg.diff original: ansible<2.9 updated: <|file_sep|>buildout.cfg.diff original: cryptography<3.4 paramiko<2.0 updated: <|file_sep|>buildout.cfg.diff original: ploy_virtualbox>=1.0.0 ...
keyrings.alt dependent-scripts = true [sources] ploy = git https://github.com/ployground/ploy ploy_fabric = git https://github.com/ployground/ploy_fabric ploy_ansible = git https://github.com/ployground/ploy_ansible ploy_ezjail = git https://github.com/ployground/ploy_ezjail ploy_ec2 = git https://github.com/ployg...
<|file_sep|>buildout.cfg.diff original: updated: show-picked-versions = true versions = versions <|file_sep|>buildout.cfg.diff original: ansible<2.9 updated: <|file_sep|>buildout.cfg.diff original: cryptography<3.4 paramiko<2.0 updated: <|file_sep|>buildout.cfg.diff original: ploy_virtualbox>=1.0.0 ...
fef9088864e40706b3c1ec6f4ec57b1004e83bd3
buildout.cfg
buildout.cfg
INI
<|file_sep|>original/README.md # Rydberg An experiment to see if Swift can help with writing physics lab reports. Still at a conceptual level. ![image](http://i.imgur.com/1PqicpT.jpg) ## Motivation Managing complicated calculations in Python as well as updating the results in your paper can be very challanging. ### ...
# Rydberg An experiment to see if Swift can help with writing physics lab reports. Still at a conceptual level. ![image](http://imgur.com/download/ilo046h) ## Motivation Managing complicated calculations in Python as well as updating the results in your paper can be very challanging. ### Implemented features - Creat...
<|file_sep|>original/README.md # Rydberg An experiment to see if Swift can help with writing physics lab reports. Still at a conceptual level. ![image](http://i.imgur.com/1PqicpT.jpg) ## Motivation Managing complicated calculations in Python as well as updating the results in your paper can be very challanging. ### ...
b16e4a837eb6013775449884d52fbc37a729e41e
README.md
README.md
Markdown
<|file_sep|>original/README.md # Tagger ![Travis badge](https://travis-ci.org/jgke/tagger.svg?branch=master) [![Codebeat badge](https://codebeat.co/badges/37b5241f-87f1-4d42-9b39-05fb3abfc61f)](https://codebeat.co/projects/github-com-jgke-tagger) An image tagging service backend. The app is running at [Heroku](http:/...
# Tagger [![Travis badge](https://travis-ci.org/jgke/tagger.svg?branch=master)](https://travis-ci.org/jgke/tagger) [![Codebeat badge](https://codebeat.co/badges/37b5241f-87f1-4d42-9b39-05fb3abfc61f)](https://codebeat.co/projects/github-com-jgke-tagger) An image tagging service backend. The app is running at [Heroku](...
<|file_sep|>original/README.md # Tagger ![Travis badge](https://travis-ci.org/jgke/tagger.svg?branch=master) [![Codebeat badge](https://codebeat.co/badges/37b5241f-87f1-4d42-9b39-05fb3abfc61f)](https://codebeat.co/projects/github-com-jgke-tagger) An image tagging service backend. The app is running at [Heroku](http:/...
b2743c80a37e387b8ce1b3eb5d0d973921c4ce95
README.md
README.md
Markdown
<|file_sep|>original/Printer.qml import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 import Cura 1.0 as Cura Cura.DefaultWindow { title: "Cura" } <|file_sep|>current/Printer.qml import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 import Cura 1.0 as Cura Cura.DefaultWi...
import QtQuick 2.1 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 import Cura 1.0 as Cura Cura.DefaultWindow { title: "Cura" }
<|file_sep|>original/Printer.qml import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 import Cura 1.0 as Cura Cura.DefaultWindow { title: "Cura" } <|file_sep|>current/Printer.qml import QtQuick 2.2 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1 import Cura 1.0 as Cura Cura.DefaultWi...
2601f511f613f36219613ccc2cf7683786cf97a3
Printer.qml
Printer.qml
QML
<|file_sep|>original/index.js var postcss = require('postcss'), color = require('color'); module.exports = postcss.plugin('postcss-lowvision', function () { return function (css) { css.walkDecls('color', function (decl) { var val = decl.value; var rgb = color(val); ...
var postcss = require('postcss'), color = require('color'); module.exports = postcss.plugin('postcss-lowvision', function () { return function (css) { css.walkDecls('color', function (decl) { var val = decl.value; var rgb = color(val); rgb = rgb.rgbArray(); ...
<|file_sep|>original/index.js var postcss = require('postcss'), color = require('color'); module.exports = postcss.plugin('postcss-lowvision', function () { return function (css) { css.walkDecls('color', function (decl) { var val = decl.value; var rgb = color(val); ...
b6ced965ce852c91998b9b9fd08c8120ad5f973c
index.js
index.js
JavaScript
<|file_sep|>packages/pi/pinchot.yaml.diff original: hash: c0e6d5f9b49bc352f52da24674c9296f4f9c000461ad3023f29897b6a6f5eab3 updated: hash: 4d871cacf1e0652e5dce3ff6317108abc65e9771b01d4b2d26ad74c3bcffbb4f <|file_sep|>packages/pi/pinchot.yaml.diff original: updated: - '0.14.0.0' <|file_sep|>original/packages/pi/pinchot.y...
template-haskell: ! '>=2.10' all-versions: - '0.2.0.0' - '0.4.0.0' - '0.6.0.0' - '0.8.0.0' - '0.10.0.0' - '0.12.0.0' - '0.14.0.0' author: Omari Norman latest: '0.14.0.0' description-type: text description: ! 'Pinchot helps you build Haskell data types and parsers corresponding to a context-free grammar. Docume...
<|file_sep|>packages/pi/pinchot.yaml.diff original: hash: c0e6d5f9b49bc352f52da24674c9296f4f9c000461ad3023f29897b6a6f5eab3 updated: hash: 4d871cacf1e0652e5dce3ff6317108abc65e9771b01d4b2d26ad74c3bcffbb4f <|file_sep|>packages/pi/pinchot.yaml.diff original: updated: - '0.14.0.0' <|file_sep|>original/packages/pi/pinchot.y...
717cc8512bf598d8193b95b28c20d4d76ac9c4b3
packages/pi/pinchot.yaml
packages/pi/pinchot.yaml
YAML
<|file_sep|>original/README.md # bookmarks Bookmarks of development and more... * [Development](dev/README.md) * [PC Hardwre(电脑硬件)](hardware/README.md) * [Software(软件)](software/README.md) * [Sports(运动)](sports/README.md) * [Life(生活小知识)](life/README.md) * [Carrer(职业)](career/README.md) * [Camera(相机)](camera/README.md)...
# bookmarks Bookmarks of development and more... * [Development](dev/README.md) * [PC Hardwre(电脑硬件)](hardware/README.md) * [Software(软件)](software/README.md) * [Sports(运动)](sports/README.md) * [Life(生活小知识)](life/README.md) * [Carrer(职业)](career/README.md) * [Camera(相机)](camera/README.md) * [Printer(打印机)](printer/READM...
<|file_sep|>original/README.md # bookmarks Bookmarks of development and more... * [Development](dev/README.md) * [PC Hardwre(电脑硬件)](hardware/README.md) * [Software(软件)](software/README.md) * [Sports(运动)](sports/README.md) * [Life(生活小知识)](life/README.md) * [Carrer(职业)](career/README.md) * [Camera(相机)](camera/README.md)...
22788c1e61488c51e46805f01a295c2a9d4c036c
README.md
README.md
Markdown
<|file_sep|>original/app/views/layout.erb <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" sizes="16x16 32x32" href="favicon.png"> <link rel="shortcut icon...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" sizes="16x16 32x32" href="assets/favicon.png"> <link rel="shortcut icon" type="image/x-icon" href="assets/...
<|file_sep|>original/app/views/layout.erb <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" sizes="16x16 32x32" href="favicon.png"> <link rel="shortcut icon...
79f50a0e4594891cb4bff7c8224e1e3a2e8d68c5
app/views/layout.erb
app/views/layout.erb
HTML+ERB
<|file_sep|>codenames.css.diff original: updated: height: 48px; <|file_sep|>original/codenames.css { margin: 5px; } #tableDiv { margin: 0; top: 0; bottom: 0; margin-top: 95px; position: fixed; } table { table-layout: fixed; width: 100%; height: 100%; padding: 0; margin...
{ margin: 5px; height: 48px; } #tableDiv { margin: 0; top: 0; bottom: 0; margin-top: 110px; position: fixed; } table { table-layout: fixed; width: 100%; height: 100%; padding: 0; margin: 0;
<|file_sep|>codenames.css.diff original: updated: height: 48px; <|file_sep|>original/codenames.css { margin: 5px; } #tableDiv { margin: 0; top: 0; bottom: 0; margin-top: 95px; position: fixed; } table { table-layout: fixed; width: 100%; height: 100%; padding: 0; margin...
04be5468f804ba7360c77906d6449eb1686181d1
codenames.css
codenames.css
CSS
<|file_sep|>views/index.jade.diff original: button.btn.btn-mini.dropdown-toggle(data-toggle='dropdown') updated: button.btn.btn-mini.dropdown-toggle(data-toggle='dropdown', data-bind='enable: actions().length') <|file_sep|>original/views/index.jade li.nav-header Actions li.divider ...
li.nav-header Actions li.divider // ko foreach: actions li: a(tabindex='-1', href='#', data-bind='click: action.bind($data, $parent), text: name') // /ko .clear-right .drop-target(data-bind='sortable: nodes') .btn-group button.btn.btn-smal...
<|file_sep|>views/index.jade.diff original: button.btn.btn-mini.dropdown-toggle(data-toggle='dropdown') updated: button.btn.btn-mini.dropdown-toggle(data-toggle='dropdown', data-bind='enable: actions().length') <|file_sep|>original/views/index.jade li.nav-header Actions li.divider ...
545e01b343a0ad1e769cfb4a915cd10e80d548ea
views/index.jade
views/index.jade
Jade
<|file_sep|>original/.travis.yml language: c install: - sudo apt-get update - sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg libgstreamer0.10-dev python-gst0.10 python-docutils libopencv-dev libgstreamer-plugins-base0.10-dev ...
language: c install: - sudo apt-get update - sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg libgstreamer0.10-dev python-gst0.10 python-docutils libopencv-dev libgstreamer-plugins-base0.10-dev libcv-dev libhighgui-dev python-...
<|file_sep|>original/.travis.yml language: c install: - sudo apt-get update - sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg libgstreamer0.10-dev python-gst0.10 python-docutils libopencv-dev libgstreamer-plugins-base0.10-dev ...
ae4c55073fc7bcb353c71bafb13a55f8aff56afd
.travis.yml
.travis.yml
YAML
<|file_sep|>package.json.diff original: "power-assert": "~0.3.2", updated: "power-assert": "~0.4.0", "espower-loader": "~0.4.0", <|file_sep|>original/package.json "scripts": { "test": "grunt espower_loader" }, "directories": { "test": "test/" }, "devDependencies": { "power-assert": "~0...
"scripts": { "test": "grunt espower_loader" }, "directories": { "test": "test/" }, "devDependencies": { "power-assert": "~0.4.0", "espower-loader": "~0.4.0", "intelli-espower-loader": "~0.0.5", "grunt-espower": "~0.4.0", "espower": "~0.4.0", "esprima": "1.0.4", "coffee-scri...
<|file_sep|>package.json.diff original: "power-assert": "~0.3.2", updated: "power-assert": "~0.4.0", "espower-loader": "~0.4.0", <|file_sep|>original/package.json "scripts": { "test": "grunt espower_loader" }, "directories": { "test": "test/" }, "devDependencies": { "power-assert": "~0...
8490f134850f92f148bf1e929272acedf0f84a9b
package.json
package.json
JSON
<|file_sep|>lib/peek/views/host.rb.diff original: updated: <|file_sep|>original/lib/peek/views/host.rb module Peek module Views class Host < View # Returns Peek::Views::Host def initialize @hostname = hostname end def hostname `hostname` end end end end...
module Peek module Views class Host < View # Returns Peek::Views::Host def initialize(options = {}) @hostname = hostname end def hostname `hostname` end end end end
<|file_sep|>lib/peek/views/host.rb.diff original: updated: <|file_sep|>original/lib/peek/views/host.rb module Peek module Views class Host < View # Returns Peek::Views::Host def initialize @hostname = hostname end def hostname `hostname` end end end end...
6ffc55adae8d4430c04e9d334a24fd9a6a6380bf
lib/peek/views/host.rb
lib/peek/views/host.rb
Ruby
<|file_sep|>original/client/src/components/Navigation/Navbar.js <Segment inverted> <Menu inverted pointing secondary> <Menu.Item as={Link} to="dashboard" className="logo" > <img alt="raptor" src="/client/src/assets/half-raptor.png" /> </Menu.Item> <Menu.Item...
<Segment inverted> <Menu inverted pointing secondary> <Menu.Item as={Link} to="dashboard" className="logo" > <img alt="raptor" src="/client/src/assets/half-raptor.png" /> </Menu.Item> <Menu.Item as={Link} to="/landing" name="About" active={location === '/lan...
<|file_sep|>original/client/src/components/Navigation/Navbar.js <Segment inverted> <Menu inverted pointing secondary> <Menu.Item as={Link} to="dashboard" className="logo" > <img alt="raptor" src="/client/src/assets/half-raptor.png" /> </Menu.Item> <Menu.Item...
ed904c6cbe2812f8f79d863920a09a5d2aec5038
client/src/components/Navigation/Navbar.js
client/src/components/Navigation/Navbar.js
JavaScript
<|file_sep|>src/utils/storage.js.diff original: updated: import fs from 'fs' <|file_sep|>original/src/utils/storage.js export default class Storage { } <|file_sep|>current/src/utils/storage.js import fs from 'fs' export default class Storage { } <|file_sep|>updated/src/utils/storage.js
import fs from 'fs' export default class Storage { static async addHistoryItem (title, url) { return new Promise((resolve, reject) => { if (title != null && url != null) { // Get today's date. let today = new Date() let dd = today.getDate() let mm = today.getMonth() + 1 ...
<|file_sep|>src/utils/storage.js.diff original: updated: import fs from 'fs' <|file_sep|>original/src/utils/storage.js export default class Storage { } <|file_sep|>current/src/utils/storage.js import fs from 'fs' export default class Storage { } <|file_sep|>updated/src/utils/storage.js import fs from 'fs' ...
ae9d478e9abecb289c875ac9069dbff0dba96bcb
src/utils/storage.js
src/utils/storage.js
JavaScript
<|file_sep|>original/etc/kayobe/kolla/globals.yml --- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" <|file_sep|>current/etc/kayobe/kolla/globals.yml --- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" <|file_sep|>updated/etc/kayobe/kolla/globals....
--- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" keystone_token_provider: "fernet"
<|file_sep|>original/etc/kayobe/kolla/globals.yml --- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" <|file_sep|>current/etc/kayobe/kolla/globals.yml --- # Add extra Kolla global configuration here. rabbitmq_monitoring_user: "monitoring" <|file_sep|>updated/etc/kayobe/kolla/globals....
2fa21688bfc54532e6868afb74c255dee4f1bb3e
etc/kayobe/kolla/globals.yml
etc/kayobe/kolla/globals.yml
YAML
<|file_sep|>djangoautoconf/tastypie_utils.py.diff original: updated: import re <|file_sep|>djangoautoconf/tastypie_utils.py.diff original: def create_tastypie_resource_class(class_inst): updated: def class_name_to_low_case(class_name): s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', class_name) return re.sub('([a-z0...
def class_name_to_low_case(class_name): s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', class_name) return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).lower() def create_tastypie_resource_class(class_inst, resource_name=None): if resource_name is None: resource_name = class_name_to_low_case(class_inst.__n...
<|file_sep|>djangoautoconf/tastypie_utils.py.diff original: updated: import re <|file_sep|>djangoautoconf/tastypie_utils.py.diff original: def create_tastypie_resource_class(class_inst): updated: def class_name_to_low_case(class_name): s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', class_name) return re.sub('([a-z0...
c7af37a407a2cab7319f910830c6149addcde7d1
djangoautoconf/tastypie_utils.py
djangoautoconf/tastypie_utils.py
Python
<|file_sep|>.travis.yml.diff original: - 1.1 updated: <|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - 1.3 - tip <|file_sep|>current/.travis.yml language: go go: - 1.2 - 1.3 - tip <|file_sep|>updated/.travis.yml
language: go go: - 1.2 install: go get -d -v ./... && go build -v ./...
<|file_sep|>.travis.yml.diff original: - 1.1 updated: <|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - 1.3 - tip <|file_sep|>current/.travis.yml language: go go: - 1.2 - 1.3 - tip <|file_sep|>updated/.travis.yml language: go go: ...
5dc0d85cad7e4df578e59d6d916f2510701a9231
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt boto3==1.4.6 botocore==1.6.5 botocore==1.6.5 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.4 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.4 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elastics...
boto3==1.4.6 botocore==1.6.6 botocore==1.6.6 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.4 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.4 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elasticsearch==5.4.0 futures==3.1.1 gunicorn==...
<|file_sep|>original/requirements.txt boto3==1.4.6 botocore==1.6.5 botocore==1.6.5 certifi==2017.7.27.1 chardet==3.0.4 dj-database-url==0.4.2 dj-static==0.0.6 Django==1.11.4 django-grappelli==2.10.1 django-haystack==2.6.1 django-linkcheck==1.4 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 elastics...
921937da00fb10b7f9bdbab7ff7f63cf4bbaff53
requirements.txt
requirements.txt
Text
<|file_sep|>original/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java static { // Check Spring Compatibility String springVersion = SpringVersion.getVersion(); String version = getVersion(); if (springVersion != null) { // TODO: Genera...
static { // Check Spring Compatibility String springVersion = SpringVersion.getVersion(); String version = getVersion(); if (springVersion != null) { // TODO: Generate version class and information dynamically from a template in the build file logger.info("Y...
<|file_sep|>original/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java static { // Check Spring Compatibility String springVersion = SpringVersion.getVersion(); String version = getVersion(); if (springVersion != null) { // TODO: Genera...
2671e52d5aa9fed5963d7b361e111eda64c7f55d
core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java
core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java
Java
<|file_sep|>original/kernel/core/main.c #include <truth/cpu.h> #include <truth/types.h> #include <truth/log.h> #include <truth/physical_allocator.h> void kernel_main(void *multiboot_tables) { init_interrupts(); enum status unused(status) = init_log("log"); init_physical_allocator(multiboot_tables); log...
#include <truth/cpu.h> #include <truth/types.h> #include <truth/log.h> #include <truth/physical_allocator.h> void kernel_main(void *multiboot_tables) { init_interrupts(); enum status unused(status) = init_log("log"); init_physical_allocator(multiboot_tables); logf("The Kernel of Truth\n\tVersion %d.%d....
<|file_sep|>original/kernel/core/main.c #include <truth/cpu.h> #include <truth/types.h> #include <truth/log.h> #include <truth/physical_allocator.h> void kernel_main(void *multiboot_tables) { init_interrupts(); enum status unused(status) = init_log("log"); init_physical_allocator(multiboot_tables); log...
55662d5c57bbd169747d58cd26319062054a6303
kernel/core/main.c
kernel/core/main.c
C
<|file_sep|>.circleci/config.yml.diff original: updated: docker_build: working_directory: /app docker: - image: docker:18 steps: - checkout - setup_remote_docker: docker_layer_caching: true - run: name: Build image command: docker build -t artilleryio...
- run: name: Publish image command: | docker login -u $DOCKER_USER -p $DOCKER_PASS docker push artilleryio/artillery:$CIRCLE_TAG workflows: version: 2 test: jobs: - run_tests docker: jobs: - docker_build: requires: - run_...
<|file_sep|>.circleci/config.yml.diff original: updated: docker_build: working_directory: /app docker: - image: docker:18 steps: - checkout - setup_remote_docker: docker_layer_caching: true - run: name: Build image command: docker build -t artilleryio...
f196a936366070e0814c9664dcc1a7ccfeebc912
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/README.md # CakePHP Search [![Build Status](https://img.shields.io/travis/FriendsOfCake/search/master.svg?style=flat-square)](https://travis-ci.org/FriendsOfCake/search) [![Coverage Status](https://img.shields.io/codecov/c/github/FriendsOfCake/search.svg?style=flat-square)](https://codecov.io/gith...
# CakePHP Search [![Build Status](https://img.shields.io/travis/com/FriendsOfCake/search?style=flat-square)](https://travis-ci.com/github/FriendsOfCake/search) [![Coverage Status](https://img.shields.io/codecov/c/github/FriendsOfCake/search.svg?style=flat-square)](https://codecov.io/github/FriendsOfCake/search) [![Lat...
<|file_sep|>original/README.md # CakePHP Search [![Build Status](https://img.shields.io/travis/FriendsOfCake/search/master.svg?style=flat-square)](https://travis-ci.org/FriendsOfCake/search) [![Coverage Status](https://img.shields.io/codecov/c/github/FriendsOfCake/search.svg?style=flat-square)](https://codecov.io/gith...
ad26ff0ce889628b47f81d584b33c4ffe7222d4c
README.md
README.md
Markdown
<|file_sep|>original/2013-09-09-landons-turtle-drawing-newdrawing.md author: lgrindheim categories: turtle --- The more I messed with my drawings, the uglier they became. I took a step back and tried to make one look a little nicer. Here's the code for Jim. import turtle jim=turtle.Turtle() for color in...
author: lgrindheim categories: turtle --- The more I messed with my drawings, the uglier they became. I took a step back and tried to make one look a little nicer. Here's the code for Jim. import turtle jim=turtle.Turtle() for color in ``` 'purple', 'blue', 'green', 'yellow', 'orange', 'red', 'purlple',...
<|file_sep|>original/2013-09-09-landons-turtle-drawing-newdrawing.md author: lgrindheim categories: turtle --- The more I messed with my drawings, the uglier they became. I took a step back and tried to make one look a little nicer. Here's the code for Jim. import turtle jim=turtle.Turtle() for color in...
963dd02ccc61b75082fcf3e4b49806cf53403968
2013-09-09-landons-turtle-drawing-newdrawing.md
2013-09-09-landons-turtle-drawing-newdrawing.md
Markdown
<|file_sep|>original/src/tasks/UploadTask.ts constructor(config : Config, srcPath : string, destPath : string, progress : boolean = false) { super(config); this.srcPath = srcPath; this.destPath = destPath; this.progress = progress; } public describe() : string { return 'Uploading ' + this.s...
protected destPath : string; protected progress : boolean; constructor(config : Config, srcPath : string, destPath : string, progress : boolean = false) { super(config); this.srcPath = srcPath; this.destPath = destPath; this.progress = progress; } public describe() : string { return 'Up...
<|file_sep|>original/src/tasks/UploadTask.ts constructor(config : Config, srcPath : string, destPath : string, progress : boolean = false) { super(config); this.srcPath = srcPath; this.destPath = destPath; this.progress = progress; } public describe() : string { return 'Uploading ' + this.s...
73404b1a68c01cb57cbb20806d081f6e94c82086
src/tasks/UploadTask.ts
src/tasks/UploadTask.ts
TypeScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - jruby gemfile: - gemfiles/Gemfile-rails.3.2.x - gemfiles/Gemfile-rails.4.0.x - gemfiles/Gemfile-rails.4.1.x - gemfiles/Gemfile-rails.4.2.x - gemfiles/Gemfile-rails.5.0.x - gemfiles/Gemfile-rails.edge before_install: ...
language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - jruby gemfile: - gemfiles/Gemfile-rails.3.2.x - gemfiles/Gemfile-rails.4.0.x - gemfiles/Gemfile-rails.4.1.x - gemfiles/Gemfile-rails.4.2.x - gemfiles/Gemfile-rails.5.0.x - gemfiles/Gemfile-rails.edge before_install: ...
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - jruby gemfile: - gemfiles/Gemfile-rails.3.2.x - gemfiles/Gemfile-rails.4.0.x - gemfiles/Gemfile-rails.4.1.x - gemfiles/Gemfile-rails.4.2.x - gemfiles/Gemfile-rails.5.0.x - gemfiles/Gemfile-rails.edge before_install: ...
170cd9713182ce4cc4c848ebd17aee428ba3916e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.tmuxinator/runner.sh.yml # ~/.tmuxinator/runner.sh.yml name: runner root: ~/Code/Sites/runner.sh windows: - editor: vim . - server: bundle exec jekyll serve -w --future - git: git status - pi: ssht pi@192.168.0.252 <|file_sep|>current/.tmuxinator/runner.sh.yml # ~/.tmuxinator/runner.sh.ym...
# ~/.tmuxinator/runner.sh.yml name: runner root: ~/Code/Sites/runner.sh windows: - editor: vim . - server: bundle exec jekyll serve -w --future --force_polling - git: git status - pi: ssht pi@192.168.0.252
<|file_sep|>original/.tmuxinator/runner.sh.yml # ~/.tmuxinator/runner.sh.yml name: runner root: ~/Code/Sites/runner.sh windows: - editor: vim . - server: bundle exec jekyll serve -w --future - git: git status - pi: ssht pi@192.168.0.252 <|file_sep|>current/.tmuxinator/runner.sh.yml # ~/.tmuxinator/runner.sh.ym...
62a08d1771c74e232dd5bb889195417463901cf6
.tmuxinator/runner.sh.yml
.tmuxinator/runner.sh.yml
YAML
<|file_sep|>original/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java public Connection getConnection(String username, String password) throws SQLException { return DriverManager.getConnection(url, username, password); } public int getLoginTimeout() throws SQL...
return DriverManager.getLogWriter(); } public void setLoginTimeout(int seconds) throws SQLException { DriverManager.setLoginTimeout(seconds); } public void setLogWriter(PrintWriter out) throws SQLException { DriverManager.setLogWriter(out); } public boolean isWrapperFor(Cl...
<|file_sep|>original/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java public Connection getConnection(String username, String password) throws SQLException { return DriverManager.getConnection(url, username, password); } public int getLoginTimeout() throws SQL...
12e2812b892215cd9afdc5b2c6fc4a5227125465
components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java
components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java
Java
<|file_sep|>docker-compose.yml.diff original: command: npm start updated: <|file_sep|>original/docker-compose.yml environment: DATABASE_URL: 'postgresql://itig:d872$$dh@db:5432/doubtfire_dev' RAILS_ENV: 'development' db: container_name: doubtfire-db image: postgres ports: - "54...
ports: - "5432:5432" environment: POSTGRES_PASSWORD: d872$$dh POSTGRES_USER: itig web: container_name: doubtfire-web build: ../doubtfire-web environment: DF_DOCKER_MACHINE_IP: $DF_DOCKER_MACHINE_IP ports: - "4200:4200" # Angular 6 - "8000:8000" # Angular 1 ...
<|file_sep|>docker-compose.yml.diff original: command: npm start updated: <|file_sep|>original/docker-compose.yml environment: DATABASE_URL: 'postgresql://itig:d872$$dh@db:5432/doubtfire_dev' RAILS_ENV: 'development' db: container_name: doubtfire-db image: postgres ports: - "54...
7dc8d415e148ab05f37eb486bdef8edc78cd8be1
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>src/Generator/Utils/TestsUtils.cs.diff original: public virtual void Setup(DriverOptions options) updated: public virtual void Setup(Driver driver) <|file_sep|>src/Generator/Utils/TestsUtils.cs.diff original: updated: var options = driver.Options; <|file_sep|>original/src/Genera...
options.GenerateLibraryNamespace = false; var path = "../../../tests/" + name; options.IncludeDirs.Add(path); var files = Directory.EnumerateFiles(path, "*.h"); foreach(var file in files) options.Headers.Add(Path.GetFileName(file)); }...
<|file_sep|>src/Generator/Utils/TestsUtils.cs.diff original: public virtual void Setup(DriverOptions options) updated: public virtual void Setup(Driver driver) <|file_sep|>src/Generator/Utils/TestsUtils.cs.diff original: updated: var options = driver.Options; <|file_sep|>original/src/Genera...
d7ff6ae4ab287e61b9625dbb623c6679f1c60237
src/Generator/Utils/TestsUtils.cs
src/Generator/Utils/TestsUtils.cs
C#
<|file_sep|>.github/workflows/build.yml.diff original: branches: [ main ] updated: branches: [main] <|file_sep|>.github/workflows/build.yml.diff original: branches: [ main ] updated: branches: [main] <|file_sep|>.github/workflows/build.yml.diff original: matrix: os: [ubuntu-latest, osx-la...
fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 with: submodules: true - name: Build run: cargo build --verbose - name: Generate dbscheme if: ${{ matr...
<|file_sep|>.github/workflows/build.yml.diff original: branches: [ main ] updated: branches: [main] <|file_sep|>.github/workflows/build.yml.diff original: branches: [ main ] updated: branches: [main] <|file_sep|>.github/workflows/build.yml.diff original: matrix: os: [ubuntu-latest, osx-la...
048f19edc1fa61dc41861e04e7e4a1aec70eca91
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/gemfiles/travis.rb source "https://rubygems.org".freeze gem "codeclimate-test-reporter".freeze gem "rspec".freeze gem "simplecov".freeze <|file_sep|>current/gemfiles/travis.rb source "https://rubygems.org".freeze gem "codeclimate-test-reporter".freeze gem "rspec".freeze gem "simplecov".freeze <|f...
source "https://rubygems.org".freeze gem "codeclimate-test-reporter".freeze gem "rake".freeze gem "rspec".freeze gem "simplecov".freeze
<|file_sep|>original/gemfiles/travis.rb source "https://rubygems.org".freeze gem "codeclimate-test-reporter".freeze gem "rspec".freeze gem "simplecov".freeze <|file_sep|>current/gemfiles/travis.rb source "https://rubygems.org".freeze gem "codeclimate-test-reporter".freeze gem "rspec".freeze gem "simplecov".freeze <|f...
0dc12aa3a51eaa7cfa44455c43e199d6809dc6bd
gemfiles/travis.rb
gemfiles/travis.rb
Ruby
<|file_sep|>qexec.go.diff original: updated: // // It handles a common error when the path to the executable contains one or more // environment variable, which usually produces an error `no such file // or directory`. This is because `os/exec` checks the existence of the // executable and it doesn't interpret the env...
return res, nil } func quote(cmds []string) (string, []string, error) { toRun := strings.Join(cmds, " ") input, err := shellquote.Split(toRun) if err != nil { return "", nil, err } return input[0], input[1:], nil } func run(name string, args []string) (string, error) { cmd := exec.Command(name, args...) var...
<|file_sep|>qexec.go.diff original: updated: // // It handles a common error when the path to the executable contains one or more // environment variable, which usually produces an error `no such file // or directory`. This is because `os/exec` checks the existence of the // executable and it doesn't interpret the env...
9a10b651b45fc520cd73106575371e7024702d0a
qexec.go
qexec.go
Go
<|file_sep|>src/main/java/com/sibilantsolutions/iptools/util/Convert.java.diff original: updated: import java.nio.ByteBuffer; <|file_sep|>original/src/main/java/com/sibilantsolutions/iptools/util/Convert.java package com.sibilantsolutions.iptools.util; import java.nio.ByteOrder; public abstract class Convert { ...
package com.sibilantsolutions.iptools.util; import java.nio.ByteBuffer; import java.nio.ByteOrder; public abstract class Convert { private Convert() {} //Prevent instantiation. static public int byteToNum( byte b ) { return b & 0xFF; } static public int getByte( ByteBuffer bb ) {...
<|file_sep|>src/main/java/com/sibilantsolutions/iptools/util/Convert.java.diff original: updated: import java.nio.ByteBuffer; <|file_sep|>original/src/main/java/com/sibilantsolutions/iptools/util/Convert.java package com.sibilantsolutions.iptools.util; import java.nio.ByteOrder; public abstract class Convert { ...
83756f2f6cbbee09f9dfef908a82b9dc22c787d1
src/main/java/com/sibilantsolutions/iptools/util/Convert.java
src/main/java/com/sibilantsolutions/iptools/util/Convert.java
Java
<|file_sep|>original/README.md Add the following to your Gemfile: gem 'angularjs-rails' Add the following directive to your JavaScript manifest file (application.js): //= require angular If you desire to require (optional) Angular files, you may include them as well in your JavaScript manifest file (applica...
Add the following to your Gemfile: gem 'angularjs-rails' Add the following directive to your JavaScript manifest file (application.js): //= require angular If you desire to require (optional) Angular files, you may include them as well in your JavaScript manifest file (application.js). For example: //= re...
<|file_sep|>original/README.md Add the following to your Gemfile: gem 'angularjs-rails' Add the following directive to your JavaScript manifest file (application.js): //= require angular If you desire to require (optional) Angular files, you may include them as well in your JavaScript manifest file (applica...
893937364f0c0ebfe3cb822aadca3e3a1c7ac46a
README.md
README.md
Markdown
<|file_sep|>spacy/tests/regression/test_issue834.py.diff original: updated: from __future__ import unicode_literals <|file_sep|>spacy/tests/regression/test_issue834.py.diff original: from __future__ import unicode_literals from io import StringIO import pytest updated: <|file_sep|>spacy/tests/regression/test_issue83...
# coding: utf-8 from __future__ import unicode_literals word2vec_str = """, -0.046107 -0.035951 -0.560418 de -0.648927 -0.400976 -0.527124 . 0.113685 0.439990 -0.634510 \u00A0 -1.499184 -0.184280 -0.598371""" def test_issue834(en_vocab, text_file): """Test that no-break space (U+00A0) is detected as space by th...
<|file_sep|>spacy/tests/regression/test_issue834.py.diff original: updated: from __future__ import unicode_literals <|file_sep|>spacy/tests/regression/test_issue834.py.diff original: from __future__ import unicode_literals from io import StringIO import pytest updated: <|file_sep|>spacy/tests/regression/test_issue83...
44de3c76421a2ed4917ac7f2c6798dec631650a8
spacy/tests/regression/test_issue834.py
spacy/tests/regression/test_issue834.py
Python
<|file_sep|>index.jade.diff original: input(id='cancelButton', type='button', class='item-button' updated: input(id='cancelButton', type='button', class='item-button', <|file_sep|>original/index.jade label.item API Key input(id='forecastAPIKey', type='...
label.item API Key input(id='forecastAPIKey', type='text', placeholder='forecast.io API Key') .item-container-footer | Go to #[a(href='https://developer.forecast.io') forecast.io] | to register and get your API key f...
<|file_sep|>index.jade.diff original: input(id='cancelButton', type='button', class='item-button' updated: input(id='cancelButton', type='button', class='item-button', <|file_sep|>original/index.jade label.item API Key input(id='forecastAPIKey', type='...
50d330e4b39f53ff8eca4f716b24dc0045d6c056
index.jade
index.jade
Jade
<|file_sep|>indra/tools/live_curation/dump_index.py.diff original: res = s3.list_objects(Bucket='world-modelers', Prefix='indra_models') s3 = boto3.session.Session(profile_name='wm').client('s3') updated: <|file_sep|>indra/tools/live_curation/dump_index.py.diff original: corpora = [] for entry in res['Content']: i...
"""This is a script to dump all the corpora on S3 into an index file.""" import boto3 if __name__ == '__main__': s3 = boto3.session.Session(profile_name='wm').client('s3') res = s3.list_objects(Bucket='world-modelers', Prefix='indra_models') corpora = [] for entry in res['Content']: if entry...
<|file_sep|>indra/tools/live_curation/dump_index.py.diff original: res = s3.list_objects(Bucket='world-modelers', Prefix='indra_models') s3 = boto3.session.Session(profile_name='wm').client('s3') updated: <|file_sep|>indra/tools/live_curation/dump_index.py.diff original: corpora = [] for entry in res['Content']: i...
0912f6910ac436f8f09848b4485e39e5c308f70e
indra/tools/live_curation/dump_index.py
indra/tools/live_curation/dump_index.py
Python
<|file_sep|>original/ui/tsconfig.json "module": "system", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true }, "exclude": [ "node_mod...
"emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true }, "exclude": [ "node_modules", "typings/main", "typings/main.d.ts" ], "formatCodeOptions": { "indentSize": 2, "tabSize": ...
<|file_sep|>original/ui/tsconfig.json "module": "system", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true }, "exclude": [ "node_mod...
af295baed702cd9f9a58a1fafaa28a86f3fee017
ui/tsconfig.json
ui/tsconfig.json
JSON
<|file_sep|>original/t/10-array-params.t my $prev-arg; my @prev-names; sub reset { $prev-arg = Str; @prev-names = (); } my class App does App::Subcommander { method listy(Str $arg, Str :@names) is subcommand { $prev-arg = $arg; @prev-names = @names; } } plan 2; App.new.run(['list...
my $prev-arg; my @prev-names; sub reset { $prev-arg = Str; @prev-names = (); } my class App does App::Subcommander { method listy(Str $arg, Str :@names) is subcommand { $prev-arg = $arg; @prev-names = @names; } } plan 2; App.new.run(['listy', 'test', '--names=Bob', '--names=Fred'...
<|file_sep|>original/t/10-array-params.t my $prev-arg; my @prev-names; sub reset { $prev-arg = Str; @prev-names = (); } my class App does App::Subcommander { method listy(Str $arg, Str :@names) is subcommand { $prev-arg = $arg; @prev-names = @names; } } plan 2; App.new.run(['list...
e353a4dede8b31883b0867561b120f781164ad96
t/10-array-params.t
t/10-array-params.t
Perl
<|file_sep|>original/composer.json "name": "duncan3dc/proxy", "description": "A simple script that provides a basic proxy to any website", "homepage": "https://github.com/duncan3dc/proxy", "license": "Apache-2.0", "authors": [{ "name": "Craig Duncan", "email": "git@duncanc.co.uk", ...
"description": "A simple script that provides a basic proxy to any website", "homepage": "https://github.com/duncan3dc/proxy", "license": "Apache-2.0", "authors": [{ "name": "Craig Duncan", "email": "git@duncanc.co.uk", "homepage": "https://github.com/duncan3dc", "role": ...
<|file_sep|>original/composer.json "name": "duncan3dc/proxy", "description": "A simple script that provides a basic proxy to any website", "homepage": "https://github.com/duncan3dc/proxy", "license": "Apache-2.0", "authors": [{ "name": "Craig Duncan", "email": "git@duncanc.co.uk", ...
e5fee21a30f3350ec07290253aa49302810bf0ee
composer.json
composer.json
JSON
<|file_sep|>templates/example_mcmc.ini.diff original: Number of points: 300 updated: Number of points: 300 <|file_sep|>original/templates/example_mcmc.ini [program1] Program name: TestFuction Execute command: ./TestFuction.py Command path: utils/ Input file: 1, utils/TestFuction_input.dat # ...
Program name: TestFuction Execute command: ./TestFuction.py Command path: utils/ Input file: 1, utils/TestFuction_input.dat # varID fileID method Input variable: x, 1, Position, 1, 1 y, 1, Position, 1, 2 Output file: 1, utils/TestFuction_output.dat...
<|file_sep|>templates/example_mcmc.ini.diff original: Number of points: 300 updated: Number of points: 300 <|file_sep|>original/templates/example_mcmc.ini [program1] Program name: TestFuction Execute command: ./TestFuction.py Command path: utils/ Input file: 1, utils/TestFuction_input.dat # ...
50618f478606816df27c2b9787b82997898f8b60
templates/example_mcmc.ini
templates/example_mcmc.ini
INI
<|file_sep|>original/spec/active_decorator/graphql_spec.rb end TestSchema = GraphQL::Schema.define do query(Types::QueryType) end specify do query = <<~QUERY { test_model { decoration_method } } QUERY result = TestSchema.execute( q...
resolve ->(_, _, _) { TestModel.new } end end TestSchema = GraphQL::Schema.define do query(Types::QueryType) end specify do query = "{ test_model { decoration_method } }" result = TestSchema.execute( query, variables: {}, context: {}, ) ...
<|file_sep|>original/spec/active_decorator/graphql_spec.rb end TestSchema = GraphQL::Schema.define do query(Types::QueryType) end specify do query = <<~QUERY { test_model { decoration_method } } QUERY result = TestSchema.execute( q...
b21c132faa0dcb50ba3937faf170fe201a90def2
spec/active_decorator/graphql_spec.rb
spec/active_decorator/graphql_spec.rb
Ruby
<|file_sep|>original/flame/index.html <html> <head> <title>flame | gallery@TacoWolf</title> <meta name="title" content="flame | gallery@TacoWolf"> <meta name="description" content="a digital art gallery, brought to you by tacowolf"> <meta name=viewport content="width=device-width, initial-scale=1"> ...
<html> <head> <title>flame | gallery@TacoWolf</title> <meta name="title" content="flame | gallery@TacoWolf"> <meta name="description" content="a digital art gallery, brought to you by tacowolf"> <meta name=viewport content="width=device-width, initial-scale=1"> <meta property="og:url" content="htt...
<|file_sep|>original/flame/index.html <html> <head> <title>flame | gallery@TacoWolf</title> <meta name="title" content="flame | gallery@TacoWolf"> <meta name="description" content="a digital art gallery, brought to you by tacowolf"> <meta name=viewport content="width=device-width, initial-scale=1"> ...
6a8377a761bf54c02869a07c3317ed155c13fb96
flame/index.html
flame/index.html
HTML
<|file_sep|>original/server/src/main/clojure/vimclojure/core.clj ; The above copyright notice and this permission notice shall be included in ; all copies or substantial portions of the Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ; IMPLIED, INCLUDING BUT NOT LIMITED TO THE W...
; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ; LIABILITY, WH...
<|file_sep|>original/server/src/main/clojure/vimclojure/core.clj ; The above copyright notice and this permission notice shall be included in ; all copies or substantial portions of the Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ; IMPLIED, INCLUDING BUT NOT LIMITED TO THE W...
9e31cb1df794ab6edc6f12df0819b549668cea2f
server/src/main/clojure/vimclojure/core.clj
server/src/main/clojure/vimclojure/core.clj
Clojure
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.3.1 sudo: false cache: bundler <|file_sep|>current/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.3.1 sudo: fa...
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.6 - 2.3.3 - 2.4.0 sudo: false cache: bundler
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.3.1 sudo: false cache: bundler <|file_sep|>current/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.3.1 sudo: fa...
539842a119771092b8825557544c4e9b05a0bf99
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/analysis/analyze_star_file_dates.rb <|file_sep|>current/lib/analysis/analyze_star_file_dates.rb <|file_sep|>updated/lib/analysis/analyze_star_file_dates.rb
require 'csv' require 'date' path_to_file = ARGV[0] csv = CSV.read(path_to_file, headers: true) def star_date_to_ruby_date(star_date) date_part = star_date.split(' ')[0] month = date_part.split('/')[0].to_i day = date_part.split('/')[1].to_i year = date_part.split('/')[2].to_i return Date.new(year, month, ...
<|file_sep|>original/lib/analysis/analyze_star_file_dates.rb <|file_sep|>current/lib/analysis/analyze_star_file_dates.rb <|file_sep|>updated/lib/analysis/analyze_star_file_dates.rb require 'csv' require 'date' path_to_file = ARGV[0] csv = CSV.read(path_to_file, headers: true) def star_date_to_ruby_date(star_date) ...
e6c9d414e7b45c40ef6e4ea8224bb19c92b6c14e
lib/analysis/analyze_star_file_dates.rb
lib/analysis/analyze_star_file_dates.rb
Ruby
<|file_sep|>original/ednote.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations ...
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <polymer-...
<|file_sep|>original/ednote.html Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations ...
75207ee12066a89449f5eee8f6e3d2597c2c8fb6
ednote.html
ednote.html
HTML
<|file_sep|>original/.travis.yml language: java sudo: false cache: directories: - $HOME/.m2 before_install: - unset GEM_PATH after_success: - mvn clean test cobertura:cobertura coveralls:cobertura <|file_sep|>current/.travis.yml language: java sudo: false cache: directories: - $HOME/.m2 b...
language: java sudo: false before_install: - unset GEM_PATH after_success: - mvn clean test cobertura:cobertura coveralls:cobertura
<|file_sep|>original/.travis.yml language: java sudo: false cache: directories: - $HOME/.m2 before_install: - unset GEM_PATH after_success: - mvn clean test cobertura:cobertura coveralls:cobertura <|file_sep|>current/.travis.yml language: java sudo: false cache: directories: - $HOME/.m2 b...
f263192ad511a3dde12dbbcec14934327d085e28
.travis.yml
.travis.yml
YAML
<|file_sep|>original/dist/example/index.html <div class="row show-grid"> <div class="span3">span 3</div> <div class="span9">span 9</div> </div> <div class="row show-grid"> <div class="span4">span 4</div> <div class="span8">span 8</div> </div> <div class="row show-grid...
<header> <div class="welcome"> <h1>Your employee page</h1> <h2>This page has all sorts of useful info about your employment status and stuff.</h2> </div> <div class="employee-info">Sarah Parker</div> <div class="recent-activity"> <ul> ...
<|file_sep|>original/dist/example/index.html <div class="row show-grid"> <div class="span3">span 3</div> <div class="span9">span 9</div> </div> <div class="row show-grid"> <div class="span4">span 4</div> <div class="span8">span 8</div> </div> <div class="row show-grid...
03af252b124489c3cc5009a3623c091d7f409b12
dist/example/index.html
dist/example/index.html
HTML
<|file_sep|>original/_config.yml # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Stefan Hoth email: no-reply@e...
# which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Stefan Hoth email: no-reply@example.org description: > # this ...
<|file_sep|>original/_config.yml # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Stefan Hoth email: no-reply@e...
21b5f4f4dd42ecbe25a5de079e3cf14c401a3bf1
_config.yml
_config.yml
YAML
<|file_sep|>original/install/install-sofware-deps.sh #!/bin/bash # install and start riak curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash apt-get install rebar -y apt-get install git -y apt-get install riak -y ulimit -n 65536 riak start <|file_sep|>current/install/install-sofware...
#!/bin/bash # install and start riak curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash apt-get install rebar -y apt-get install git -y apt-get install riak -y sed -i 's/storage_backend = bitcask/storage_backend = leveldb/g' /etc/riak/riak.conf ulimit -n 65536 riak start
<|file_sep|>original/install/install-sofware-deps.sh #!/bin/bash # install and start riak curl -s https://packagecloud.io/install/repositories/basho/riak/script.deb.sh | bash apt-get install rebar -y apt-get install git -y apt-get install riak -y ulimit -n 65536 riak start <|file_sep|>current/install/install-sofware...
634c0ff2c01f45b705f4310dd9e46493a85ac79d
install/install-sofware-deps.sh
install/install-sofware-deps.sh
Shell
<|file_sep|>original/packages/ju/JuicyPixels-extra.yaml <|file_sep|>current/packages/ju/JuicyPixels-extra.yaml <|file_sep|>updated/packages/ju/JuicyPixels-extra.yaml
homepage: https://github.com/mrkkrp/JuicyPixels-extra changelog-type: markdown hash: b3c5c0060333ee94323ccf405758b52e266909a24a38dba7ec939f4ebfdcfba9 test-bench-deps: JuicyPixels: ! '>=3.2.6.4' base: ! '>=4.7 && <5' hspec: ! '>=2.0' JuicyPixels-extra: ! '>=0.1.0' maintainer: Mark Karpov <markkarpov@openmailbox....
<|file_sep|>original/packages/ju/JuicyPixels-extra.yaml <|file_sep|>current/packages/ju/JuicyPixels-extra.yaml <|file_sep|>updated/packages/ju/JuicyPixels-extra.yaml homepage: https://github.com/mrkkrp/JuicyPixels-extra changelog-type: markdown hash: b3c5c0060333ee94323ccf405758b52e266909a24a38dba7ec939f4ebfdcfba9 te...
8e9cafa571763bba3838fe3576f974c01ef72936
packages/ju/JuicyPixels-extra.yaml
packages/ju/JuicyPixels-extra.yaml
YAML
<|file_sep|>original/test/Transforms/PlaceSafepoints/leaf-function.ll ; RUN: opt %s -S -place-safepoints | FileCheck %s declare void @foo() "gc-leaf-function" ; Calls of functions with the "gc-leaf-function" attribute shouldn't get ; safepoints. An entry safepoint should get inserted, though. define void @test_leaf_...
; RUN: opt %s -S -place-safepoints | FileCheck %s declare void @foo() "gc-leaf-function" ; Calls of functions with the "gc-leaf-function" attribute shouldn't be turned ; into a safepoint. An entry safepoint should get inserted, though. define void @test_leaf_function() gc "statepoint-example" { ; CHECK-LABEL: test_l...
<|file_sep|>original/test/Transforms/PlaceSafepoints/leaf-function.ll ; RUN: opt %s -S -place-safepoints | FileCheck %s declare void @foo() "gc-leaf-function" ; Calls of functions with the "gc-leaf-function" attribute shouldn't get ; safepoints. An entry safepoint should get inserted, though. define void @test_leaf_...
407f296e22ebcc20c7568f2e66af4eea811b36d5
test/Transforms/PlaceSafepoints/leaf-function.ll
test/Transforms/PlaceSafepoints/leaf-function.ll
LLVM
<|file_sep|>original/README.md # AMCSS [AMCSS](http://amcss.github.io/) in Ruby. ## Why AMCSS? Nowadays it seems like "to do everything using classes" is the mantra for most CSS development. Why can't we use different approaches? AMCSS uses custom, namespaced attributes and mostly unknown CSS selector to apply style...
# AMCSS [AMCSS](http://amcss.github.io/) in Ruby. [![Build Status](https://travis-ci.org/sistrall/amcss.svg)](https://travis-ci.org/sistrall/amcss) ## Why AMCSS? Nowadays it seems like "to do everything using classes" is the mantra for most CSS development. Why can't we use different approaches? AMCSS uses custom, ...
<|file_sep|>original/README.md # AMCSS [AMCSS](http://amcss.github.io/) in Ruby. ## Why AMCSS? Nowadays it seems like "to do everything using classes" is the mantra for most CSS development. Why can't we use different approaches? AMCSS uses custom, namespaced attributes and mostly unknown CSS selector to apply style...
feb6108df3144ff7004831dc6b670d961f4650c7
README.md
README.md
Markdown
<|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: updated: * @format <|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: import {resolve} from 'path'; updated: import {dirname, join, resolve} from 'path'; <|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: const TOOL_...
const FLOW_ROOT = resolve(__dirname, '../../../'); export const defaultTestsDirName = 'newtests'; // This is where we look for tests to run and where we put newly converted // tests export function getTestsDir(relative_to?: string): string { if (relative_to !== undefined) { return resolve(relative_to, defaultTe...
<|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: updated: * @format <|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: import {resolve} from 'path'; updated: import {dirname, join, resolve} from 'path'; <|file_sep|>packages/flow-dev-tools/src/constants.js.diff original: const TOOL_...
d46710a85c03fc7264e7b6186b6d1d5cf31de4b6
packages/flow-dev-tools/src/constants.js
packages/flow-dev-tools/src/constants.js
JavaScript
<|file_sep|>original/appveyor.yml version: "{build}" platform: x64 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta install: - ps: Install-Product node 6 <|file_sep|>current/appveyor.yml version: "{bui...
version: "{build}" platform: x64 image: Visual Studio 2015 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta
<|file_sep|>original/appveyor.yml version: "{build}" platform: x64 branches: only: - master clone_depth: 10 skip_tags: true environment: APM_TEST_PACKAGES: matrix: - ATOM_CHANNEL: stable - ATOM_CHANNEL: beta install: - ps: Install-Product node 6 <|file_sep|>current/appveyor.yml version: "{bui...
6bdb7824de3fa4fc602f64e047d36a42d03306b5
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/README.rdoc = naglfar This gem does nothing but declare the Naglfar class. But you do want a Naglfar in case of the Ragnarök, don't you? == Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a ...
{<img src="https://travis-ci.org/labria/naglfar.png?branch=master" alt="Build Status" />}[https://travis-ci.org/labria/naglfar] {<img src="https://codeclimate.com/github/labria/naglfar.png" />}[https://codeclimate.com/github/labria/naglfar] = naglfar This gem does nothing but declare the Naglfar class. But you do wan...
<|file_sep|>original/README.rdoc = naglfar This gem does nothing but declare the Naglfar class. But you do want a Naglfar in case of the Ragnarök, don't you? == Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a ...
ceec0420a9d7c77b1a6b9d2311287c54058cd962
README.rdoc
README.rdoc
RDoc
<|file_sep|>original/src/gwt/src/org/rstudio/core/client/SafeUriStringImpl.java { return value_; } @Override public int hashCode() { return value_.hashCode(); } @SuppressWarnings({"EqualsWhichDoesntCheckParameterClass"}) @Override public boolean equals(Object o) { if (o...
{ return value_; } @Override public int hashCode() { return value_.hashCode(); } @Override public boolean equals(Object o) { if (o == null ^ value_ == null) return false; if (value_ == null) return false; return value_.equals(o.toString()); ...
<|file_sep|>original/src/gwt/src/org/rstudio/core/client/SafeUriStringImpl.java { return value_; } @Override public int hashCode() { return value_.hashCode(); } @SuppressWarnings({"EqualsWhichDoesntCheckParameterClass"}) @Override public boolean equals(Object o) { if (o...
3d71e8d0e0c562b6e610b5ff6546b03d0135ba94
src/gwt/src/org/rstudio/core/client/SafeUriStringImpl.java
src/gwt/src/org/rstudio/core/client/SafeUriStringImpl.java
Java
<|file_sep|>lib/rom/lint/linter.rb.diff original: updated: # A failure raised by +complain+ <|file_sep|>lib/rom/lint/linter.rb.diff original: def self.lints public_instance_methods(true).grep(/^lint_/).map(&:to_s) end updated: # Iterate over all lint methods # # @yield [Str...
# @raise [ROM::Lint::Linter::Failure] if linting fails # # @api public def lint(name) public_send name true # for assertions end private # Return a list a lint methods # # @return [String] # # @api private def self.lints p...
<|file_sep|>lib/rom/lint/linter.rb.diff original: updated: # A failure raised by +complain+ <|file_sep|>lib/rom/lint/linter.rb.diff original: def self.lints public_instance_methods(true).grep(/^lint_/).map(&:to_s) end updated: # Iterate over all lint methods # # @yield [Str...
4b4a45faaa6b28b8e193d03a6cb38881a59c13e4
lib/rom/lint/linter.rb
lib/rom/lint/linter.rb
Ruby
<|file_sep|>build/configs/replace.js.diff original: updated: var curver = require('../../package.json').version; <|file_sep|>build/configs/replace.js.diff original: //console.log(arguments[0][0]); updated: return version ? version : semver.inc(curver); <|file_sep|>build/configs/replace.js.diff original: fu...
return { dest: path, src: path }; } return { release: { options: { patterns: [ { match: new RegExp(curver), replacement: bump } ] }, files: [ file('src/version.js'), file('bower.json'), fil...
<|file_sep|>build/configs/replace.js.diff original: updated: var curver = require('../../package.json').version; <|file_sep|>build/configs/replace.js.diff original: //console.log(arguments[0][0]); updated: return version ? version : semver.inc(curver); <|file_sep|>build/configs/replace.js.diff original: fu...
9c90a3a6e2f4e5e6e8028e63936daa28ef51f294
build/configs/replace.js
build/configs/replace.js
JavaScript
<|file_sep|>include/CMakeLists.txt.diff original: updated: waffle/waffle_glx.h <|file_sep|>include/CMakeLists.txt.diff original: updated: waffle/waffle_wayland.h <|file_sep|>original/include/CMakeLists.txt install(FILES waffle/waffle.h waffle/waffle_attrib_list.h ...
install(FILES waffle/waffle.h waffle/waffle_attrib_list.h waffle/waffle_config.h waffle/waffle_context.h waffle/waffle_display.h waffle/waffle_dl.h waffle/waffle_enum.h waffle/waffle_error.h waffle/waffle_gl_...
<|file_sep|>include/CMakeLists.txt.diff original: updated: waffle/waffle_glx.h <|file_sep|>include/CMakeLists.txt.diff original: updated: waffle/waffle_wayland.h <|file_sep|>original/include/CMakeLists.txt install(FILES waffle/waffle.h waffle/waffle_attrib_list.h ...
60eb52cefb382fab3c956b5e134701072c17ad0e
include/CMakeLists.txt
include/CMakeLists.txt
Text
<|file_sep|>original/grunt/contrib-watch.js module.exports = function(grunt) { grunt.config('watch', { options: { spawn: false }, // svg: { // files: 'src/icons/*.svg', // tasks: ['svgstore'], // }, assemble: { files: ['src/*.hb...
module.exports = function(grunt) { grunt.config('watch', { options: { spawn: false }, // svg: { // files: 'src/icons/*.svg', // tasks: ['svgstore'], // }, assemble: { files: 'src/**/*.hbs', tasks: ['assemble:dev'], ...
<|file_sep|>original/grunt/contrib-watch.js module.exports = function(grunt) { grunt.config('watch', { options: { spawn: false }, // svg: { // files: 'src/icons/*.svg', // tasks: ['svgstore'], // }, assemble: { files: ['src/*.hb...
f46de5a4f66291b95ca5e08de3ee1f7c02d21f72
grunt/contrib-watch.js
grunt/contrib-watch.js
JavaScript
<|file_sep|>ext/recieve.php.diff original: $splitter = '|'; updated: $splitter = substr($body, 0, 1); <|file_sep|>ext/recieve.php.diff original: $inc = 1; while(strcmp(substr($body, $inc, 1), $splitter) > 0) { $stime = $stime . substr($body, $inc, 1); $inc++; ...
function parseData($body) { $splitter = substr($body, 0, 1); global $stime, $etime, $moves; $mark1 = strpos($body, $splitter, 1); $mark2 = strpos($body, $splitter, $mark1+1); $mark3 = strpos($body, $splitter, $mark2+1); $stime = substr($body, 1, $mark1-1); ...
<|file_sep|>ext/recieve.php.diff original: $splitter = '|'; updated: $splitter = substr($body, 0, 1); <|file_sep|>ext/recieve.php.diff original: $inc = 1; while(strcmp(substr($body, $inc, 1), $splitter) > 0) { $stime = $stime . substr($body, $inc, 1); $inc++; ...
7630fd07f3d5e9c5e081398360fc6083f50c5607
ext/recieve.php
ext/recieve.php
PHP
<|file_sep|>src/index.js.diff original: updated: this.$ = this.$.bind(this); <|file_sep|>src/index.js.diff original: this.server = ((httpServer, jQueryInstance) => { const ser = httpServer; const jq = jQueryInstance; const oldEmit = ser.emit; updated: this.server = http.createServer(); ...
const router = r.router; this.server = http.createServer(); const oldEmit = this.server.emit; const emit = (type, ...data) => { this.$(this.server).trigger(type, data); oldEmit.apply(this.server, [type, ...data]); }; this.server.emit = emit.bind(this); this.$.listen = (s, ......
<|file_sep|>src/index.js.diff original: updated: this.$ = this.$.bind(this); <|file_sep|>src/index.js.diff original: this.server = ((httpServer, jQueryInstance) => { const ser = httpServer; const jq = jQueryInstance; const oldEmit = ser.emit; updated: this.server = http.createServer(); ...
3184cc30ddca764973e772aaffed7429865fbef9
src/index.js
src/index.js
JavaScript
<|file_sep|>original/trytond_nereid/view/party_form.xml <?xml version="1.0"?> <!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. --> <data> <xpath expr="/form/notebook" position="inside"> <page string="Nereid" id="...
<?xml version="1.0"?> <!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. --> <data> <xpath expr="/form/notebook" position="inside"> <page string="Web Users" id="webusers"> <field name="nereid_users" col...
<|file_sep|>original/trytond_nereid/view/party_form.xml <?xml version="1.0"?> <!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. --> <data> <xpath expr="/form/notebook" position="inside"> <page string="Nereid" id="...
1ce8dce59f08ee89f528d404774c22b0274df78d
trytond_nereid/view/party_form.xml
trytond_nereid/view/party_form.xml
XML
<|file_sep|>src/main/clojure/telegenic/core.clj.diff original: (:import [org.jcodec.api FrameGrab])) updated: (:import [org.jcodec.api FrameGrab]) (:import [java.io File]) (:import [java.awt.image BufferedImage]) (:import [org.jcodec.common.model Picture]) ) <|file_sep|>original/src/main/clojure/telegenic/c...
(ns telegenic.core (:import [org.jcodec.api FrameGrab]) (:import [java.io File]) (:import [java.awt.image BufferedImage]) (:import [org.jcodec.common.model Picture]) ) (set! *warn-on-reflection* true) (set! *unchecked-math* true) (defprotocol PGetFrame (get-frame [video frame-number])) (extend-protocol P...
<|file_sep|>src/main/clojure/telegenic/core.clj.diff original: (:import [org.jcodec.api FrameGrab])) updated: (:import [org.jcodec.api FrameGrab]) (:import [java.io File]) (:import [java.awt.image BufferedImage]) (:import [org.jcodec.common.model Picture]) ) <|file_sep|>original/src/main/clojure/telegenic/c...
e7adf639a0b4f9c7bc6ba041226ed2af08ef4ef2
src/main/clojure/telegenic/core.clj
src/main/clojure/telegenic/core.clj
Clojure
<|file_sep|>original/scripts/disable-update.ps1 $mgr = New-Object -ComObject Microsoft.Update.ServiceManager -Strict $mgr.ClientApplicationID = "packer" $mgr.RemoveService('7971f918-a847-4430-9279-4a52d1efe18d') <|file_sep|>current/scripts/disable-update.ps1 $mgr = New-Object -ComObject Microsoft.Update.ServiceManager ...
$WindowsUpdateKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" $Update_Never = 1 $Update_Check = 2 $Update_Download = 3 $Update_Auto = 4 Set-ItemProperty -Path $WindowsUpdateKey -Name AUOptions -Value $Update_Never -Force -Confirm:$false Set-ItemProperty -Path $Windows...
<|file_sep|>original/scripts/disable-update.ps1 $mgr = New-Object -ComObject Microsoft.Update.ServiceManager -Strict $mgr.ClientApplicationID = "packer" $mgr.RemoveService('7971f918-a847-4430-9279-4a52d1efe18d') <|file_sep|>current/scripts/disable-update.ps1 $mgr = New-Object -ComObject Microsoft.Update.ServiceManager ...
e94e881f4ff9aaa26ff68c10c83fb2f672678dad
scripts/disable-update.ps1
scripts/disable-update.ps1
PowerShell