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|>jslib/controlNode.js.diff original: var version = "0.1.4" versionString = "ControlNode " + version + " on node.js"; updated: var version = "0.1.5", versionString = ["ControlNode;v", version, ";node.js ", process.version].join(""); <|file_sep|>original/jslib/controlNode.js var handleHttpRequest = fun...
var handleHttpRequest = function(req, res) { if(req.method == "POST"){ // Define whether this is JSON request. if (urllib.parse(req.url).pathname == cfg.jsonRpcPath) { new RPCHandler(req, res, schedulerWrapper, cfg.debugRpc); } else { res.writeHead(404, {'Content...
<|file_sep|>jslib/controlNode.js.diff original: var version = "0.1.4" versionString = "ControlNode " + version + " on node.js"; updated: var version = "0.1.5", versionString = ["ControlNode;v", version, ";node.js ", process.version].join(""); <|file_sep|>original/jslib/controlNode.js var handleHttpRequest = fun...
72a8fa47e9f43325b1eb78afda1abea84f79d3fb
jslib/controlNode.js
jslib/controlNode.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: - cargo fmt -- --version <|file_sep|>original/.travis.yml matrix: allow_failures: - rust: nightly before_install: # Add Rust binaries to path - export PATH="$HOME/.cargo/bin:$PATH" # Install rustfmt if it does not already exist - if [[ ! -x "$HOME/.cargo/...
allow_failures: - rust: nightly before_install: # Add Rust binaries to path - export PATH="$HOME/.cargo/bin:$PATH" # Install rustfmt if it does not already exist - if [[ ! -x "$HOME/.cargo/bin/cargo-fmt" ]]; then cargo install rustfmt; fi - cargo fmt -- --version # On nightly install clippy - if [[ ...
<|file_sep|>.travis.yml.diff original: updated: - cargo fmt -- --version <|file_sep|>original/.travis.yml matrix: allow_failures: - rust: nightly before_install: # Add Rust binaries to path - export PATH="$HOME/.cargo/bin:$PATH" # Install rustfmt if it does not already exist - if [[ ! -x "$HOME/.cargo/...
7d657af2b694f9e18b81c17239f1fd90ac3442b3
.travis.yml
.travis.yml
YAML
<|file_sep|>articles/quickstart/webapp/aspnet-core-3/index.yml.diff original: title: ASP.NET Core v3.0 updated: title: ASP.NET Core v3.1 <|file_sep|>articles/quickstart/webapp/aspnet-core-3/index.yml.diff original: - aspnetcore-3.0 updated: - aspnetcore-3.1 <|file_sep|>original/articles/quickstart/webapp/aspnet-cor...
- 01-login - 02-user-profile - 03-authorization show_steps: true github: org: auth0-samples repo: auth0-aspnetcore-mvc-samples branch: master requirements: - .NET Core SDK 3.1.101 - .NET Core 3.1.1 - ASP.NET Core 3.1.1 - Visual Studio 2019 16.4, Visual Studio for Mac 8.4, or Visual Studio Code + C# ...
<|file_sep|>articles/quickstart/webapp/aspnet-core-3/index.yml.diff original: title: ASP.NET Core v3.0 updated: title: ASP.NET Core v3.1 <|file_sep|>articles/quickstart/webapp/aspnet-core-3/index.yml.diff original: - aspnetcore-3.0 updated: - aspnetcore-3.1 <|file_sep|>original/articles/quickstart/webapp/aspnet-cor...
a1bd7302e0b9cf30444049864fce88f2d3c7172d
articles/quickstart/webapp/aspnet-core-3/index.yml
articles/quickstart/webapp/aspnet-core-3/index.yml
YAML
<|file_sep|>original/.github/workflows/snapshot.yml run: mvn --batch-mode --update-snapshots verify publish: runs-on: ubuntu-latest needs: build steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Bintray uses: actions/setup-java@v2 with: ...
run: mvn --batch-mode --update-snapshots verify publish: runs-on: ubuntu-latest needs: build steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Bintray uses: actions/setup-java@v2 with: java-version: '8' distribution: 'adopt' ...
<|file_sep|>original/.github/workflows/snapshot.yml run: mvn --batch-mode --update-snapshots verify publish: runs-on: ubuntu-latest needs: build steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Bintray uses: actions/setup-java@v2 with: ...
ac55fbfe6a5c3163577b2c47f56d63393602c0be
.github/workflows/snapshot.yml
.github/workflows/snapshot.yml
YAML
<|file_sep|>original/src/io/register_loader_saver_lcp.cpp #include <gcsa/algorithms.h> namespace vg { namespace io { using namespace std; using namespace vg::io; void register_loader_saver_lcp() { Registry::register_bare_loader_saver<gcsa::LCPArray>("LCP", [](istream& input) -> void* { // Allocate an LC...
#include <gcsa/algorithms.h> namespace vg { namespace io { using namespace std; using namespace vg::io; void register_loader_saver_lcp() { std::uint32_t magic_number = gcsa::LCPHeader::TAG; std::string magic_string(reinterpret_cast<char*>(&magic_number), sizeof(magic_number)); Registry::register_bare_l...
<|file_sep|>original/src/io/register_loader_saver_lcp.cpp #include <gcsa/algorithms.h> namespace vg { namespace io { using namespace std; using namespace vg::io; void register_loader_saver_lcp() { Registry::register_bare_loader_saver<gcsa::LCPArray>("LCP", [](istream& input) -> void* { // Allocate an LC...
fb3e375830112a348f403940f0e3900f1f203e9f
src/io/register_loader_saver_lcp.cpp
src/io/register_loader_saver_lcp.cpp
C++
<|file_sep|>lib/modules/apostrophe-modal/public/css/components/modal-tabs.less.diff original: updated: position: fixed; <|file_sep|>lib/modules/apostrophe-modal/public/css/components/modal-tabs.less.diff original: updated: // If tab number exceeds viewport allow scroll overflow: scroll; <|file_sep|>origin...
width: calc(~"100% - " @apos-tabs-width); height: 100%; overflow-y: scroll; .apos-scrollbar; } .apos-schema-group.apos-active { display: block; } .apos-schema-group-inner { width: 100%; max-width: 540px; min-height: 100%; margin-left: @apos-tabs-width; padding: @apo...
<|file_sep|>lib/modules/apostrophe-modal/public/css/components/modal-tabs.less.diff original: updated: position: fixed; <|file_sep|>lib/modules/apostrophe-modal/public/css/components/modal-tabs.less.diff original: updated: // If tab number exceeds viewport allow scroll overflow: scroll; <|file_sep|>origin...
cb25ee1ae344fc8e079d71881491c1ca0445e0bd
lib/modules/apostrophe-modal/public/css/components/modal-tabs.less
lib/modules/apostrophe-modal/public/css/components/modal-tabs.less
Less
<|file_sep|>original/.travis.yml --- branches: only: - "master" - "molecule-test-harness" dist: bionic language: python python: 3.5 env: matrix: - MOLECULE_DISTRO: centos/7 - MOLECULE_DISTRO: centos/8 - MOLECULE_DISTRO: debian/jessie64 - MOLECULE_DISTRO: debian/stretch64 - MOLECULE_D...
--- branches: only: - "master" dist: bionic language: python python: 3.5 env: matrix: - MOLECULE_DISTRO: centos/7 - MOLECULE_DISTRO: centos/8 - MOLECULE_DISTRO: debian/jessie64 - MOLECULE_DISTRO: debian/stretch64 - MOLECULE_DISTRO: debian/buster64 - MOLECULE_DISTRO: generic/ubuntu160...
<|file_sep|>original/.travis.yml --- branches: only: - "master" - "molecule-test-harness" dist: bionic language: python python: 3.5 env: matrix: - MOLECULE_DISTRO: centos/7 - MOLECULE_DISTRO: centos/8 - MOLECULE_DISTRO: debian/jessie64 - MOLECULE_DISTRO: debian/stretch64 - MOLECULE_D...
39757e092a99d73c965af08e2a21b2e487ee536e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/code/supervise_acronym_gene_mentions.py <|file_sep|>current/code/supervise_acronym_gene_mentions.py <|file_sep|>updated/code/supervise_acronym_gene_mentions.py
#! /usr/bin/env pyton3 import fileinput import json # Process the input with fileinput.input() as input_files: for line in input_files: mention = json.loads(line) mention.is_correct = False print(json.dumps(mention))
<|file_sep|>original/code/supervise_acronym_gene_mentions.py <|file_sep|>current/code/supervise_acronym_gene_mentions.py <|file_sep|>updated/code/supervise_acronym_gene_mentions.py #! /usr/bin/env pyton3 import fileinput import json # Process the input with fileinput.input() as input_files: for line in input_fi...
5c45586ed1c90c72620738420d37a444647fe186
code/supervise_acronym_gene_mentions.py
code/supervise_acronym_gene_mentions.py
Python
<|file_sep|>cms/templatetags/cms.py.diff original: date_templ = '<time datetime="{timestamp}">{month_day}<span class="say-no-more">-{year}</span></time>' updated: date_templ = '<time datetime="{timestamp}"><span class="say-no-more">{year}-</span>{month}-{day}</time>' <|file_sep|>original/cms/templatetags/cms.py...
from django import template from django.utils.dateformat import format from django.utils.safestring import mark_safe register = template.Library() @register.filter(is_safe=True) def iso_time_tag(date): """ Returns an ISO date, with the year tagged in a say-no-more span. This allows the date representation t...
<|file_sep|>cms/templatetags/cms.py.diff original: date_templ = '<time datetime="{timestamp}">{month_day}<span class="say-no-more">-{year}</span></time>' updated: date_templ = '<time datetime="{timestamp}"><span class="say-no-more">{year}-</span>{month}-{day}</time>' <|file_sep|>original/cms/templatetags/cms.py...
f7d792d684e6c74f4a3e508bc29bbe2bacc458f0
cms/templatetags/cms.py
cms/templatetags/cms.py
Python
<|file_sep|>original/lib/cucumber/rails.rb require 'capybara/rails' require 'capybara/cucumber' rescue LoadError end module Cucumber module Rails module World def visit(*) if defined?(super) super else raise Cucumber::Pending, "Capybara not loaded, please add it to y...
else raise Cucumber::Pending, "Capybara not loaded, please add it to your Gemfile:\n\ngem \"capybara\"\n\n" end end end end end World(Cucumber::Rails::World) ActionController::Base.class_eval do cattr_accessor :allow_rescue end ActionDispatch::ShowExceptions.class_eval do al...
<|file_sep|>original/lib/cucumber/rails.rb require 'capybara/rails' require 'capybara/cucumber' rescue LoadError end module Cucumber module Rails module World def visit(*) if defined?(super) super else raise Cucumber::Pending, "Capybara not loaded, please add it to y...
2e871be688e565cbc589f563ab3a219087c41e8c
lib/cucumber/rails.rb
lib/cucumber/rails.rb
Ruby
<|file_sep|>original/src/admin/config/cli.ts try { const config: Configuration = Container.get(Configuration); config.on('load', () => { const database: Database = Container.get(Database); new Cli(configArgs).processCommand() .then(() => { database.disconnect(); ...
try { const config: Configuration = Container.get(Configuration); config.on('load', () => { const database: Database = Container.get(Database); new Cli(configArgs).processCommand() .then(() => { database.disconnect(); }).catch((err: any) => { ...
<|file_sep|>original/src/admin/config/cli.ts try { const config: Configuration = Container.get(Configuration); config.on('load', () => { const database: Database = Container.get(Database); new Cli(configArgs).processCommand() .then(() => { database.disconnect(); ...
6fc69b63d5eb688e47d1b9151e987f37a9dc45bf
src/admin/config/cli.ts
src/admin/config/cli.ts
TypeScript
<|file_sep|>original/_posts/curiosities/2014-05-24-cubical-cactus.md --- title: "Cubical Cactus" modified: 2014-05-24 categories: cacti --- This cube-shaped cactus has been on my wishlist for years! I was thrilled to see it for sale at [Miles2Go.com](http://miles2go.com/). The name is a mouthful: *Astrophytum myriost...
--- title: "Cubical Cactus" modified: 2014-05-24 categories: cacti --- This cube-shaped cactus has been on my wishlist for years! I was thrilled to see it for sale at [Miles2Go.com](http://miles2go.com/). The name is a mouthful: *Astrophytum myriostigma var. quadricostatum*. The typical form of *A. myriostigma* has 5...
<|file_sep|>original/_posts/curiosities/2014-05-24-cubical-cactus.md --- title: "Cubical Cactus" modified: 2014-05-24 categories: cacti --- This cube-shaped cactus has been on my wishlist for years! I was thrilled to see it for sale at [Miles2Go.com](http://miles2go.com/). The name is a mouthful: *Astrophytum myriost...
786d6d090d72d97780c0f4a99e31a0967a14a9e6
_posts/curiosities/2014-05-24-cubical-cactus.md
_posts/curiosities/2014-05-24-cubical-cactus.md
Markdown
<|file_sep|>original/composer.json "keywords": ["silverstripe", "sentry", "logging", "logs", "log", "raven", "exception", "error"], "authors": [{ "name": "Russell Michell", "homepage": "http://theruss.com/" }], "replace": { "silverstripe/sentry": "*" }, "require": { ...
"keywords": ["silverstripe", "sentry", "logging", "logs", "log", "raven", "exception", "error"], "authors": [{ "name": "Russell Michell", "homepage": "http://theruss.com/" }], "replace": { "silverstripe/sentry": "*" }, "require": { "php": ">=7.0", "sentry/...
<|file_sep|>original/composer.json "keywords": ["silverstripe", "sentry", "logging", "logs", "log", "raven", "exception", "error"], "authors": [{ "name": "Russell Michell", "homepage": "http://theruss.com/" }], "replace": { "silverstripe/sentry": "*" }, "require": { ...
66293b2f3d852e2d473bfa10b7e4b12422628aeb
composer.json
composer.json
JSON
<|file_sep|>original/app/views/tools/index.html.erb <h1>Tools Index</h1> <p>Note: If the <strong>Resources</strong> toggle does not work, refresh the page! Or <a href="https://github.com/dunphyben/epicoding" target="_blank">fork the repo</a> and fix the bug! :)</p> <% @tools.each do |tool| %> <ul> <li><%= link_t...
<h1>Tools Index</h1> <p>Note: If the <strong>Resources</strong> toggle does not work, refresh the page! Or <a href="https://github.com/epicoding/epicoding" target="_blank">fork the repo</a> and fix the bug! :)</p> <% @tools.each do |tool| %> <ul> <li><%= link_to tool.name, tool_path(tool.id) %> | <span class="re...
<|file_sep|>original/app/views/tools/index.html.erb <h1>Tools Index</h1> <p>Note: If the <strong>Resources</strong> toggle does not work, refresh the page! Or <a href="https://github.com/dunphyben/epicoding" target="_blank">fork the repo</a> and fix the bug! :)</p> <% @tools.each do |tool| %> <ul> <li><%= link_t...
4125c7c60f64ff27fd7c304cc06b46886ea1ea6d
app/views/tools/index.html.erb
app/views/tools/index.html.erb
HTML+ERB
<|file_sep|>original/recipes/libavif/bld.bat mkdir build cd build if errorlevel 1 exit /b 1 :: Other codecs cannot be enabled because they are not on conda-forge cmake .. -GNinja ^ -DCMAKE_INSTALL_PREFIX="%PREFIX%" ^ -DCMAKE_INSTALL_LIBDIR=lib ^ -DCMAKE_BUILD_TYPE=Release ^ -DBUILD_SHARED_LIBS=ON ^ -DAVIF_BUILD_TESTS=...
mkdir build cd build if errorlevel 1 exit /b 1 :: Other codecs cannot be enabled because they are not on conda-forge cmake .. -GNinja ^ -DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^ -DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^ -DCMAKE_INSTALL_LIBDIR=lib ^ -DCMAKE_BUILD_TYPE=Release ^ -DBUILD_SHARED_LIBS=ON ^ -DAVI...
<|file_sep|>original/recipes/libavif/bld.bat mkdir build cd build if errorlevel 1 exit /b 1 :: Other codecs cannot be enabled because they are not on conda-forge cmake .. -GNinja ^ -DCMAKE_INSTALL_PREFIX="%PREFIX%" ^ -DCMAKE_INSTALL_LIBDIR=lib ^ -DCMAKE_BUILD_TYPE=Release ^ -DBUILD_SHARED_LIBS=ON ^ -DAVIF_BUILD_TESTS=...
3942f9689c9f72ebf77d5d180f1dc295f71ad998
recipes/libavif/bld.bat
recipes/libavif/bld.bat
Batchfile
<|file_sep|>templates/rspec_api_documentation/example.html.diff original: <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.1.1.min.css"> updated: <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css"> <style> td.required .name:...
} </style> </head> <body> <div class="container"> <h1>{{resource_name}} API</h1> <div class="article"> <h2>{{ description }}</h2> {{# has_parameters? }} <h3>Parameters</h3> <table> <thead> <tr> <th>Name</th> ...
<|file_sep|>templates/rspec_api_documentation/example.html.diff original: <link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.1.1.min.css"> updated: <link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.3.0/bootstrap.min.css"> <style> td.required .name:...
280174e7d11460a3d2f227f11ab6b3e66af01664
templates/rspec_api_documentation/example.html
templates/rspec_api_documentation/example.html
HTML
<|file_sep|>src/mmw/apps/bigcz/clients/cuahsi/details.py.diff original: return wof.get_site_info(wsdl, site) updated: return wof.get_site_info(wsdl, site, None) <|file_sep|>original/src/mmw/apps/bigcz/clients/cuahsi/details.py raise ValidationError({ 'error': 'Required argument: site'}) ...
raise ValidationError({ 'error': 'Required argument: site'}) if not variable: raise ValidationError({ 'error': 'Required argument: variable'}) if not to_date: # Set to default value of today to_date = date.today().strftime(DATE_FORMAT) if not from_d...
<|file_sep|>src/mmw/apps/bigcz/clients/cuahsi/details.py.diff original: return wof.get_site_info(wsdl, site) updated: return wof.get_site_info(wsdl, site, None) <|file_sep|>original/src/mmw/apps/bigcz/clients/cuahsi/details.py raise ValidationError({ 'error': 'Required argument: site'}) ...
f275c8cc020119b52ed01bc6b56946279853d854
src/mmw/apps/bigcz/clients/cuahsi/details.py
src/mmw/apps/bigcz/clients/cuahsi/details.py
Python
<|file_sep|>original/src/main/resources/hudson/plugins/git/UserRemoteConfig/config.groovy var r = findPreviousFormItem(self,'url'); r.onchange(r); self = null; r = null; }""" /* workaround for JENKINS-19124 */) } f.advanced { f.entry(title:_("Name"), field:"name"...
f.entry(title:_("Credentials"), field:"credentialsId") { c.select(onchange="""{ var self = this.targetElement ? this.targetElement : this; var r = findPreviousFormItem(self,'url'); r.onchange(r); self = null; r = null; }""" /* workaround for JENKINS-1...
<|file_sep|>original/src/main/resources/hudson/plugins/git/UserRemoteConfig/config.groovy var r = findPreviousFormItem(self,'url'); r.onchange(r); self = null; r = null; }""" /* workaround for JENKINS-19124 */) } f.advanced { f.entry(title:_("Name"), field:"name"...
c542c1c3fb870c2052114615f9669f9617f16e50
src/main/resources/hudson/plugins/git/UserRemoteConfig/config.groovy
src/main/resources/hudson/plugins/git/UserRemoteConfig/config.groovy
Groovy
<|file_sep|>lib/brightbox-cli/commands/firewall-rules-list.rb.diff original: updated: if args.empty? raise "You must specify the firewall policy id as the first argument" end <|file_sep|>original/lib/brightbox-cli/commands/firewall-rules-list.rb module Brightbox desc 'List Firewall Rules' arg_n...
module Brightbox desc 'List Firewall Rules' arg_name '[firewall-policy-id...]' command [:list] do |c| c.action do |global_options,options,args| if args.empty? raise "You must specify the firewall policy id as the first argument" end firewall_policy_id = args.shift raise "Inval...
<|file_sep|>lib/brightbox-cli/commands/firewall-rules-list.rb.diff original: updated: if args.empty? raise "You must specify the firewall policy id as the first argument" end <|file_sep|>original/lib/brightbox-cli/commands/firewall-rules-list.rb module Brightbox desc 'List Firewall Rules' arg_n...
a6c0b6e393ca08526ad399b2f65a0b974044d0ed
lib/brightbox-cli/commands/firewall-rules-list.rb
lib/brightbox-cli/commands/firewall-rules-list.rb
Ruby
<|file_sep|>original/arduino/OpenROV/Motors.h #ifndef __MOTORS_H_ #define __MOTORS_H_ #include <Servo.h> #define MIDPOINT 128 class Motors { private: Servo port, vertical, starbord; int port_pin, vertical_pin, starbord_pin; public: Motors(int p_pin, int v_pin, int s_pin); void reset(); ...
#ifndef __MOTORS_H_ #define __MOTORS_H_ #include <Servo.h> #define MIDPOINT 90 class Motors { private: Servo port, vertical, starbord; int port_pin, vertical_pin, starbord_pin; public: Motors(int p_pin, int v_pin, int s_pin); void reset(); void go(int p, int v, int s); void stop()...
<|file_sep|>original/arduino/OpenROV/Motors.h #ifndef __MOTORS_H_ #define __MOTORS_H_ #include <Servo.h> #define MIDPOINT 128 class Motors { private: Servo port, vertical, starbord; int port_pin, vertical_pin, starbord_pin; public: Motors(int p_pin, int v_pin, int s_pin); void reset(); ...
3443bd38e91cc5babc5f49b063571c818dc80990
arduino/OpenROV/Motors.h
arduino/OpenROV/Motors.h
C
<|file_sep|>annotator.sh.diff original: #shell file allows App engine's devappserver to override google devappserver and handles token issues #must be done in the shell file to use the travis path for export commands updated: #!/bin/bash <|file_sep|>annotator.sh.diff original: #!/bin/bash $TRAVIS_BUILD_DIR/travis/ins...
#!/bin/bash # Shell file allows App engine's devappserver to override google devappserver # and handles token issues. This must be done in the shell file to use the # travis path for export commands. "${TRAVIS_BUILD_DIR}"/travis/install_gcloud.sh app-engine-python app-engine-go if [[ -n "${sandbox_service_key}" ]]; ...
<|file_sep|>annotator.sh.diff original: #shell file allows App engine's devappserver to override google devappserver and handles token issues #must be done in the shell file to use the travis path for export commands updated: #!/bin/bash <|file_sep|>annotator.sh.diff original: #!/bin/bash $TRAVIS_BUILD_DIR/travis/ins...
cf69e09a989a26e3007b27cd811b5bf9274186cf
annotator.sh
annotator.sh
Shell
<|file_sep|>lib/c2y/dsl/context/unit.rb.diff original: private updated: [:command, :content, :enable].each do |attr| define_method(attr) do |arg| @result.send("#{attr}=", arg) end <|file_sep|>original/lib/c2y/dsl/context/unit.rb name: name }) instance_eval(&block) en...
module C2y class DSL::Context::Unit attr_reader :result def initialize(name, &block) @result = OpenStruct.new({ name: name }) instance_eval(&block) end [:command, :content, :enable].each do |attr| define_method(attr) do |arg| @result.send("#{attr}=", arg) ...
<|file_sep|>lib/c2y/dsl/context/unit.rb.diff original: private updated: [:command, :content, :enable].each do |attr| define_method(attr) do |arg| @result.send("#{attr}=", arg) end <|file_sep|>original/lib/c2y/dsl/context/unit.rb name: name }) instance_eval(&block) en...
e035b503ca4ac8562086bc9cc16e7dbbf669f574
lib/c2y/dsl/context/unit.rb
lib/c2y/dsl/context/unit.rb
Ruby
<|file_sep|>DesktopWidgets/Helpers/AboutHelper.cs.diff original: using System.Text; updated: using System.Collections.Generic; using System.Linq; using System.Text; <|file_sep|>DesktopWidgets/Helpers/AboutHelper.cs.diff original: updated: stringBuilder.AppendLine("Libraries:"); foreac...
stringBuilder.AppendLine(); stringBuilder.Append(AssemblyInfo.Copyright); return stringBuilder.ToString(); } } private static string IconCredits { get; } = "Freepik (http://www.freepik.com) from www.flaticon.com" + " i...
<|file_sep|>DesktopWidgets/Helpers/AboutHelper.cs.diff original: using System.Text; updated: using System.Collections.Generic; using System.Linq; using System.Text; <|file_sep|>DesktopWidgets/Helpers/AboutHelper.cs.diff original: updated: stringBuilder.AppendLine("Libraries:"); foreac...
7fa863b241212f4472cb5847ef6f2a51dfec97f0
DesktopWidgets/Helpers/AboutHelper.cs
DesktopWidgets/Helpers/AboutHelper.cs
C#
<|file_sep|>original/src/com/dmdirc/util/validators/BaseValidator.java <|file_sep|>current/src/com/dmdirc/util/validators/BaseValidator.java <|file_sep|>updated/src/com/dmdirc/util/validators/BaseValidator.java
/* * Copyright (c) 2006-2014 DMDirc Developers * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
<|file_sep|>original/src/com/dmdirc/util/validators/BaseValidator.java <|file_sep|>current/src/com/dmdirc/util/validators/BaseValidator.java <|file_sep|>updated/src/com/dmdirc/util/validators/BaseValidator.java /* * Copyright (c) 2006-2014 DMDirc Developers * * Permission is hereby granted, free of charge, to any ...
06ff6a463b19aa8e02b26800d30e51cd8fbae23b
src/com/dmdirc/util/validators/BaseValidator.java
src/com/dmdirc/util/validators/BaseValidator.java
Java
<|file_sep|>original/app/instance-initializers/in-app-livereload.js import Ember from 'ember'; const { run } = Ember; export function initialize(app) { let config = app.container.lookupFactory('config:environment'); let env = config.environment; if (config.cordova && config.cordova.reloadUrl && (env === '...
import Ember from 'ember'; const { run } = Ember; export function initialize(app) { let config = app.resolveRegistration('config:environment'); let env = config.environment; if (config.cordova && config.cordova.reloadUrl && (env === 'development' || env === 'test')) { let url = config.cordova.reloadU...
<|file_sep|>original/app/instance-initializers/in-app-livereload.js import Ember from 'ember'; const { run } = Ember; export function initialize(app) { let config = app.container.lookupFactory('config:environment'); let env = config.environment; if (config.cordova && config.cordova.reloadUrl && (env === '...
9702cf0a66e26860102b2a091bc1d1600d200e57
app/instance-initializers/in-app-livereload.js
app/instance-initializers/in-app-livereload.js
JavaScript
<|file_sep|>original/ava/text_to_speech/__init__.py from ..queues import QueueTtS from ..components import _BaseComponent from gtts import gTTS from playsound import playsound import os class TextToSpeech(_BaseComponent): def __init__(self): super().__init__() self.queue_tts = QueueTtS() de...
from ..queues import QueueTtS from ..components import _BaseComponent from gtts import gTTS from .playsound import playsound import os class TextToSpeech(_BaseComponent): def __init__(self): super().__init__() self.queue_tts = QueueTtS() def run(self): sentence = self.queue_tts.get(...
<|file_sep|>original/ava/text_to_speech/__init__.py from ..queues import QueueTtS from ..components import _BaseComponent from gtts import gTTS from playsound import playsound import os class TextToSpeech(_BaseComponent): def __init__(self): super().__init__() self.queue_tts = QueueTtS() de...
3a4e371d5d148d0171756776deffc7e5adf40197
ava/text_to_speech/__init__.py
ava/text_to_speech/__init__.py
Python
<|file_sep|>original/docs/index.rst You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to GDX2py's documentation! ================================== `GDX2py` is a Python package providing read and write support for GAMS GDX files using built-...
You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to GDX2py's documentation! ================================== `GDX2py` is a Python package providing read and write support for GAMS GDX files using built-in data types list and dictionary. ...
<|file_sep|>original/docs/index.rst You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to GDX2py's documentation! ================================== `GDX2py` is a Python package providing read and write support for GAMS GDX files using built-...
a5646f600dbe88a2dd66b8417db29b725adc1c51
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>appveyor.yml.diff original: updated: #node.js <|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input # what combinations to test environment: matrix: - nodejs_version: 0.10 - nodejs_version: 0.11 - nodejs_version: 0.12 install: - ps: Update-NodeJsInstallat...
init: - git config --global core.autocrlf input # what combinations to test environment: matrix: #node.js - nodejs_version: 0.10 - nodejs_version: 0.11 - nodejs_version: 0.12 #io.js - nodejs_version: 2.5.0 install: - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_versio...
<|file_sep|>appveyor.yml.diff original: updated: #node.js <|file_sep|>original/appveyor.yml init: - git config --global core.autocrlf input # what combinations to test environment: matrix: - nodejs_version: 0.10 - nodejs_version: 0.11 - nodejs_version: 0.12 install: - ps: Update-NodeJsInstallat...
f97c5c100e1a48e4313f4f2a9a12549ee725f92e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/reddit/admin.py model = Submission max_num = 10 class CommentsInline(admin.StackedInline): model = Comment max_num = 10 class SubmissionAdmin(admin.ModelAdmin): list_display = ('title', 'url', 'author') inlines = [CommentsInline] class RedditUserAdmin(admin.ModelAdmin): ...
class SubmissionInline(admin.TabularInline): model = Submission max_num = 10 class CommentsInline(admin.StackedInline): model = Comment max_num = 10 class SubmissionAdmin(admin.ModelAdmin): list_display = ('title', 'url', 'author') inlines = [CommentsInline] class RedditUserAdmin(admin.ModelA...
<|file_sep|>original/reddit/admin.py model = Submission max_num = 10 class CommentsInline(admin.StackedInline): model = Comment max_num = 10 class SubmissionAdmin(admin.ModelAdmin): list_display = ('title', 'url', 'author') inlines = [CommentsInline] class RedditUserAdmin(admin.ModelAdmin): ...
ba57b3c016ed3bc3c8db9ccc3c637c2c58de1e1d
reddit/admin.py
reddit/admin.py
Python
<|file_sep|>src/sputils.user.js.diff original: clientContext.load(currentWeb); updated: <|file_sep|>src/sputils.user.js.diff original: //Load currentUser to the context in order to retrieve the user data. updated: // Load currentUser to the context in order to retrieve the user data. <|file_sep|>src/...
clientContext.load(currentUser); // Execute the query. Takes two functions: success and failed that returns the SPUser object or an error message. clientContext.executeQueryAsync(function () { deferred.resolve(currentUser); }, function (sender, args) { deferred.reject(args.get_m...
<|file_sep|>src/sputils.user.js.diff original: clientContext.load(currentWeb); updated: <|file_sep|>src/sputils.user.js.diff original: //Load currentUser to the context in order to retrieve the user data. updated: // Load currentUser to the context in order to retrieve the user data. <|file_sep|>src/...
2b4b8e9c99e829679a1d505df44df1b3e74a092a
src/sputils.user.js
src/sputils.user.js
JavaScript
<|file_sep|>original/app/helpers/invoice_helper.rb def invoice_states_as_collection states = Invoice::STATES states.inject({}) do |result, state| result[t(state, :scope => 'invoice.state')] = state result end end def suggested_invoices_for_booking(booking) invoices = Invoice.open_bala...
def invoice_states_as_collection states = Invoice::STATES states.inject({}) do |result, state| result[t(state, :scope => 'invoice.state')] = state result end end def suggested_invoices_for_booking(booking) invoices = Invoice.open_balance.where(:amount => booking.amount) invoices <...
<|file_sep|>original/app/helpers/invoice_helper.rb def invoice_states_as_collection states = Invoice::STATES states.inject({}) do |result, state| result[t(state, :scope => 'invoice.state')] = state result end end def suggested_invoices_for_booking(booking) invoices = Invoice.open_bala...
ab52f8aebeb8de37588819c1378a1d8811c9537b
app/helpers/invoice_helper.rb
app/helpers/invoice_helper.rb
Ruby
<|file_sep|>original/app/security/security-service.js cryptotracky.run(function ($transitions, cognitoService, $rootScope) { var vipRestriction = true; $rootScope.vip = false; var restrictedStates = ["overview-long-binance", "realtime-multi"]; if (vipRestriction) { restrictedStates.forEach(function(restrict...
cryptotracky.run(function ($transitions, cognitoService, $rootScope) { var vipRestriction = true; $rootScope.vip = false; var restrictedStates = ["overview-long-binance", "realtime-multi", "pump-detect"]; if (vipRestriction) { restrictedStates.forEach(function(restrictedState) { $transitions.onBefore(...
<|file_sep|>original/app/security/security-service.js cryptotracky.run(function ($transitions, cognitoService, $rootScope) { var vipRestriction = true; $rootScope.vip = false; var restrictedStates = ["overview-long-binance", "realtime-multi"]; if (vipRestriction) { restrictedStates.forEach(function(restrict...
782d6a45fac3470dae8b04e6626269aed6c18a5d
app/security/security-service.js
app/security/security-service.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
7264c88e736da9be0764e8313a3071a66deb0741
.travis.yml
.travis.yml
YAML
<|file_sep|>content/issues/76.markdown.diff original: undefined updated: Welcome to another issue of Haskell Weekly! Haskell is a safe, purely functional programming language with a fast, concurrent runtime. This is a weekly summary of what's going on in its community. Want to see something featured in Haskell Weekly?...
- [Haskell Full Stack Developer](https://stackoverflow.com/jobs/156727/haskell-full-stack-developer-scrive) (ad) > We need someone with a strong Haskell background to help maintain and develop new features across our PostgreSQL-Haskell-React stack. We have a stable backend written in Haskell, that interfaces wi...
<|file_sep|>content/issues/76.markdown.diff original: undefined updated: Welcome to another issue of Haskell Weekly! Haskell is a safe, purely functional programming language with a fast, concurrent runtime. This is a weekly summary of what's going on in its community. Want to see something featured in Haskell Weekly?...
17d15a1bbc5e615a693404f2186c257f04809511
content/issues/76.markdown
content/issues/76.markdown
Markdown
<|file_sep|>original/README.md #Copyzshell An oh-my-zsh plugin to copy oh-my-zsh and your .zshrc and .gitconfig files to a remote machine using SSH. #Installation 1. clone this repository into your oh-my-zsh custom/plugins folder: ```zsh git clone https://github.com/rutchkiwi/copyzshell.git ~ZSH_CUSTOM/plugins...
#Copyzshell An oh-my-zsh plugin to copy oh-my-zsh and your .zshrc and .gitconfig files to a remote machine using SSH. #Installation 1. clone this repository into your oh-my-zsh custom/plugins folder: ```zsh git clone https://github.com/rutchkiwi/copyzshell.git ~ZSH_CUSTOM/plugins/copyzshell ``` 2. Include...
<|file_sep|>original/README.md #Copyzshell An oh-my-zsh plugin to copy oh-my-zsh and your .zshrc and .gitconfig files to a remote machine using SSH. #Installation 1. clone this repository into your oh-my-zsh custom/plugins folder: ```zsh git clone https://github.com/rutchkiwi/copyzshell.git ~ZSH_CUSTOM/plugins...
07267255aa76f97e27078dfca3cff381902b724e
README.md
README.md
Markdown
<|file_sep|>src/app/error/error.component.spec.ts.diff original: updated: import { It, Mock, Times } from 'typemoq'; <|file_sep|>src/app/error/error.component.spec.ts.diff original: import { MockTitleService } from '../shared/mocks/mock-title.service'; updated: <|file_sep|>src/app/error/error.component.spec.ts.diff...
] }) .compileComponents(); fixture = TestBed.createComponent(ErrorComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create and show 404 text', () => { expect(component).toBeTruthy(); const compiled = fixture.debugElement.nativeElement; ...
<|file_sep|>src/app/error/error.component.spec.ts.diff original: updated: import { It, Mock, Times } from 'typemoq'; <|file_sep|>src/app/error/error.component.spec.ts.diff original: import { MockTitleService } from '../shared/mocks/mock-title.service'; updated: <|file_sep|>src/app/error/error.component.spec.ts.diff...
877237181394a1c9b0d66c9fddbe2d83bae804c5
src/app/error/error.component.spec.ts
src/app/error/error.component.spec.ts
TypeScript
<|file_sep|>original/Cargo.toml memchr = "2.0" buf_redux = "0.7" scoped_threadpool ="0.1" crossbeam = "0.4" serde = "1.0" serde_derive = "1.0" [dev-dependencies] bio = "0.22" fastq = "0.6" matches = "0.1" lazy_static = "1.1" rand = "0.5" criterion = { version = "0.2", default_features = false } [profile.bench] lto = ...
memchr = "2.0" buf_redux = "0.7" scoped_threadpool ="0.1" crossbeam = "0.4" serde = "1.0" serde_derive = "1.0" [dev-dependencies] bio = "0.22" fastq = "0.6" matches = "^0.1.8" lazy_static = "1.1" rand = "0.5" criterion = { version = "0.2", default_features = false } [profile.bench] lto = true [[bench]] name = "fasta...
<|file_sep|>original/Cargo.toml memchr = "2.0" buf_redux = "0.7" scoped_threadpool ="0.1" crossbeam = "0.4" serde = "1.0" serde_derive = "1.0" [dev-dependencies] bio = "0.22" fastq = "0.6" matches = "0.1" lazy_static = "1.1" rand = "0.5" criterion = { version = "0.2", default_features = false } [profile.bench] lto = ...
0072c7d63009cd74faf8b10e5eebcd0ce0b167d0
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/src/scss/variables/_themeHUG.scss @import '~@angular/material/theming'; @import './palette'; @include mat-core(); // Define color scheme $primary: mat-palette($md-hug-primary); $accent: mat-palette($mat-teal); $warn: mat-palette($mat-red); // Create the theme object from colors $theme: mat-light-...
@import './palette'; @include mat-core(); // Define color scheme $primary: mat-palette($md-hug-primary); $accent: mat-palette($mat-teal); $warn: mat-palette($mat-red); // Create the theme object from colors $theme: mat-light-theme($primary, $accent, $warn); // Include theme styles for core and each component used in...
<|file_sep|>original/src/scss/variables/_themeHUG.scss @import '~@angular/material/theming'; @import './palette'; @include mat-core(); // Define color scheme $primary: mat-palette($md-hug-primary); $accent: mat-palette($mat-teal); $warn: mat-palette($mat-red); // Create the theme object from colors $theme: mat-light-...
ad1dbd694a09481d34dd6f24a42c915308965c6e
src/scss/variables/_themeHUG.scss
src/scss/variables/_themeHUG.scss
SCSS
<|file_sep|>src/main/java/org/searchisko/doap/model/Person.java.diff original: updated: * See <a href="http://xmlns.com/foaf/spec/">http://xmlns.com/foaf/spec/</a>. <|file_sep|>src/main/java/org/searchisko/doap/model/Person.java.diff original: "foaf = http://xmlns.com/foaf/0.1/" updated: "foaf = http://xmlns.com/f...
*/ @RDF("foaf:name") public String getName() { return this.name; } public void setName(String name) { this.name = name; } /** * See <a href="http://xmlns.com/foaf/spec/#term_mbox">foaf:mbox</a> * * @return mbox valueAdd */ @RDF("foaf:mbox") public URI getMbox() { return this.mbox; } public ...
<|file_sep|>src/main/java/org/searchisko/doap/model/Person.java.diff original: updated: * See <a href="http://xmlns.com/foaf/spec/">http://xmlns.com/foaf/spec/</a>. <|file_sep|>src/main/java/org/searchisko/doap/model/Person.java.diff original: "foaf = http://xmlns.com/foaf/0.1/" updated: "foaf = http://xmlns.com/f...
9b903b66ed92c4251e3a374fba39fab35305ebc8
src/main/java/org/searchisko/doap/model/Person.java
src/main/java/org/searchisko/doap/model/Person.java
Java
<|file_sep|>app/assets/stylesheets/main.css.scss.diff original: updated: @import "compass"; <|file_sep|>original/app/assets/stylesheets/main.css.scss @charset "UTF-8"; @import "variables"; @import "compass/css3"; @import "susy"; @import "common/*"; @import "components/_cluster"; @import "components/_details"; @import ...
@charset "UTF-8"; @import "variables"; @import "compass"; @import "compass/css3"; @import "susy"; @import "common/*"; @import "components/_cluster"; @import "components/_details"; @import "components/_entry"; @import "components/_faqs"; @import "components/_login"; @import "shame";
<|file_sep|>app/assets/stylesheets/main.css.scss.diff original: updated: @import "compass"; <|file_sep|>original/app/assets/stylesheets/main.css.scss @charset "UTF-8"; @import "variables"; @import "compass/css3"; @import "susy"; @import "common/*"; @import "components/_cluster"; @import "components/_details"; @import ...
af823fc2726a45551bf8d4e25ee8670c2a3dddf0
app/assets/stylesheets/main.css.scss
app/assets/stylesheets/main.css.scss
SCSS
<|file_sep|>original/_includes/piwik.html <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(["setDomains", ["*.datensummit.de","*.datensummit.de"]]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//traffic.okfn.de/"; _paq.push(['set...
<!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(["setDomains", ["*.datensummit.de","*.datensummit.de"]]); _paq.push(['trackPageView']); _paq.push(['disableCookies']); _paq.push(['enableLinkTracking']); (function() { var u="//traffic.okfn.de/"; _paq.push(['setTrackerUr...
<|file_sep|>original/_includes/piwik.html <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(["setDomains", ["*.datensummit.de","*.datensummit.de"]]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//traffic.okfn.de/"; _paq.push(['set...
0c8b6b65aa856e3b1d682f09c93dee451fe9d19e
_includes/piwik.html
_includes/piwik.html
HTML
<|file_sep|>original/README.md #NYCSL [![Build Status](https://travis-ci.org/HMProgrammingClub/NYCSL2.svg?branch=master)](https://travis-ci.org/HMProgrammingClub/NYCSL2) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/HMProgrammingClub/NYCSL2/master/LICENSE) NYCSL, or ...
#NYCSL [![Build Status](https://travis-ci.org/HMProgrammingClub/NYCSL2.svg?branch=master)](https://travis-ci.org/HMProgrammingClub/NYCSL2) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/HMProgrammingClub/NYCSL2/master/LICENSE) NYCSL, or the New York Computer Science L...
<|file_sep|>original/README.md #NYCSL [![Build Status](https://travis-ci.org/HMProgrammingClub/NYCSL2.svg?branch=master)](https://travis-ci.org/HMProgrammingClub/NYCSL2) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/HMProgrammingClub/NYCSL2/master/LICENSE) NYCSL, or ...
6c1c2609075b776113dc9d4e7b608b02d96ad165
README.md
README.md
Markdown
<|file_sep|>parts/shared/html-header.php.diff original: <!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]--> <!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]--> <!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]--> <!--[if IE 8 ]><html class="no-js ie8" lang...
<!DOCTYPE HTML> <!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]--> <!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]--> <!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]--> <!--[if IE 8 ]><html class="no-js ie8" lang="en"><![endif]--> <!--[if (gte IE 9)|(gt I...
<|file_sep|>parts/shared/html-header.php.diff original: <!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]--> <!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]--> <!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]--> <!--[if IE 8 ]><html class="no-js ie8" lang...
d93af5a12cb0ccf89930bd6ea54ded7d0f0eaacb
parts/shared/html-header.php
parts/shared/html-header.php
PHP
<|file_sep|>original/Casks/spotifybeta.rb cask :v1 => 'spotifybeta' do version '1.0.0.995.gcdfee982-1486' sha256 '1de2c2a4f33ef8fbee384b0d5b04e9dde7a30540f1a627dd1dba378096a1c9ff' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spot...
cask :v1 => 'spotifybeta' do version '1.0.0.1093.g2eba9b4b-1679' sha256 'ac5e99bfb448d3f4ee46b1a95bd428c5d8f27e193b44895754ac4150a0f56a60' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spotify.com' license :gratis app 'Spotif...
<|file_sep|>original/Casks/spotifybeta.rb cask :v1 => 'spotifybeta' do version '1.0.0.995.gcdfee982-1486' sha256 '1de2c2a4f33ef8fbee384b0d5b04e9dde7a30540f1a627dd1dba378096a1c9ff' url "http://download.spotify.com/beta/spotify-app-#{version}.dmg" name 'Spotify Beta' name 'Spotify' homepage 'https://www.spot...
3322fd759838263a35ce47600753c904e45b02be
Casks/spotifybeta.rb
Casks/spotifybeta.rb
Ruby
<|file_sep|>app/views/layouts/application.html.erb.diff original: updated: <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <|file_sep|>original/app/views/layouts/application.html.erb <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <t...
<body> <%= yield %> <%= javascript_include_tag "application" %> <div class="row"> <div class="small-12 columns text-center"> <iframe src="http://ghbtns.com/github-btn.html?user=jure&repo=sciencetoolbox&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95"...
<|file_sep|>app/views/layouts/application.html.erb.diff original: updated: <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <|file_sep|>original/app/views/layouts/application.html.erb <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <t...
2e40bf414554f3d87e3bbc5798b6ce1383a0c27d
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/windows/install_base.ps1 <|file_sep|>current/windows/install_base.ps1 <|file_sep|>updated/windows/install_base.ps1
# ============================================================================= # Install the basic requirements for Windows software # ============================================================================= # Url and path for each executable $url_dx = "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE...
<|file_sep|>original/windows/install_base.ps1 <|file_sep|>current/windows/install_base.ps1 <|file_sep|>updated/windows/install_base.ps1 # ============================================================================= # Install the basic requirements for Windows software # ==============================================...
557fb73a2409e53c65c29f70bdf1eb6582325413
windows/install_base.ps1
windows/install_base.ps1
PowerShell
<|file_sep|>original/commons-scala/src/main/scala/pl/edu/icm/coansys/commons/scala/automatic_resource_management.scala package pl.edu.icm.coansys.commons.scala /** * This is an implementation of Automatic Resource Management. Based on Martin Odersky's FOSDEM 2009 presentatnio slides. * * Added resource passing by n...
package pl.edu.icm.coansys.commons.scala /** * This is an implementation of Automatic Resource Management. Based on Martin Odersky's FOSDEM 2009 presentatnio slides. * * Added resource passing by name so that we can properly handle exceptions during resource creation. * * @author Mateusz Fedoryszak (m.fedoryszak@...
<|file_sep|>original/commons-scala/src/main/scala/pl/edu/icm/coansys/commons/scala/automatic_resource_management.scala package pl.edu.icm.coansys.commons.scala /** * This is an implementation of Automatic Resource Management. Based on Martin Odersky's FOSDEM 2009 presentatnio slides. * * Added resource passing by n...
209ebd6cf4fc1eb6523744bf800d6e8f4a7538c9
commons-scala/src/main/scala/pl/edu/icm/coansys/commons/scala/automatic_resource_management.scala
commons-scala/src/main/scala/pl/edu/icm/coansys/commons/scala/automatic_resource_management.scala
Scala
<|file_sep|>.travis.yml.diff original: updated: rvm: - 2.1.0 - 2.0.0 - 1.9.3 <|file_sep|>original/.travis.yml language: ruby script: 'rake ci' notifications: webhooks: http://pulse.pivotallabs.com/projects/2cc350f8-8e97-4e36-a656-517e3dd8a5e5/status <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1....
language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 script: 'rake ci' notifications: webhooks: http://pulse.pivotallabs.com/projects/2cc350f8-8e97-4e36-a656-517e3dd8a5e5/status
<|file_sep|>.travis.yml.diff original: updated: rvm: - 2.1.0 - 2.0.0 - 1.9.3 <|file_sep|>original/.travis.yml language: ruby script: 'rake ci' notifications: webhooks: http://pulse.pivotallabs.com/projects/2cc350f8-8e97-4e36-a656-517e3dd8a5e5/status <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1....
40075d71cdee9bd00503e28d2875821cf7a41eff
.travis.yml
.travis.yml
YAML
<|file_sep|>assets/package.json.diff original: updated: "bootstrap": "^4.0.0-alpha.6", <|file_sep|>original/assets/package.json { "repository": {}, "license": "MIT", "scripts": { "deploy": "brunch build --production", "watch": "brunch watch --stdin" }, "dependencies": { "phoenix": "file:../de...
{ "repository": {}, "license": "MIT", "scripts": { "deploy": "brunch build --production", "watch": "brunch watch --stdin" }, "dependencies": { "bootstrap": "^4.0.0-alpha.6", "phoenix": "file:../deps/phoenix", "phoenix_html": "file:../deps/phoenix_html" }, "devDependencies": { "babe...
<|file_sep|>assets/package.json.diff original: updated: "bootstrap": "^4.0.0-alpha.6", <|file_sep|>original/assets/package.json { "repository": {}, "license": "MIT", "scripts": { "deploy": "brunch build --production", "watch": "brunch watch --stdin" }, "dependencies": { "phoenix": "file:../de...
6e26693c76986d91bcac2151ff73208f083238ff
assets/package.json
assets/package.json
JSON
<|file_sep|>original/packages/ma/matplotlib.yaml <|file_sep|>current/packages/ma/matplotlib.yaml <|file_sep|>updated/packages/ma/matplotlib.yaml
homepage: https://github.com/abarbu/matplotlib-haskell changelog-type: '' hash: 86a8fbba8af9a2bf9421c5e06bf8dbccdde6a3742ae58c8bc99f26c05bded0a7 test-bench-deps: base: -any tasty-hunit: -any matplotlib: -any temporary: -any tasty: -any maintainer: andrei@0xab.com synopsis: Bindings to Matplotlib; a Python plo...
<|file_sep|>original/packages/ma/matplotlib.yaml <|file_sep|>current/packages/ma/matplotlib.yaml <|file_sep|>updated/packages/ma/matplotlib.yaml homepage: https://github.com/abarbu/matplotlib-haskell changelog-type: '' hash: 86a8fbba8af9a2bf9421c5e06bf8dbccdde6a3742ae58c8bc99f26c05bded0a7 test-bench-deps: base: -an...
ca825ec2dcca0536d5e8c0b962565fc0da58ee58
packages/ma/matplotlib.yaml
packages/ma/matplotlib.yaml
YAML
<|file_sep|>original/src/components/html/HTML.spec.js 'use strict'; import { HTMLComponent } from './HTML'; import { components as comps } from './fixtures/index'; import { Harness } from '../../../test/harness'; describe('HTML Component', function() { it('Should build an html component', function(done) { Harness...
'use strict'; import { HTMLComponent } from './HTML'; import { components as comps } from './fixtures/index'; import { Harness } from '../../../test/harness'; describe('HTML Component', function() { it('Should build an html component', function(done) { Harness.testCreate(HTMLComponent, comps.comp1).then((componen...
<|file_sep|>original/src/components/html/HTML.spec.js 'use strict'; import { HTMLComponent } from './HTML'; import { components as comps } from './fixtures/index'; import { Harness } from '../../../test/harness'; describe('HTML Component', function() { it('Should build an html component', function(done) { Harness...
70f98b47a8a7dd1f4c6ac95b9045548a767f6e03
src/components/html/HTML.spec.js
src/components/html/HTML.spec.js
JavaScript
<|file_sep|>recipes/future/meta.yaml.diff original: number: 1 updated: number: 0 <|file_sep|>original/recipes/future/meta.yaml run: - python test: commands: - futurize -h - pasteurize -h imports: - future about: home: http://python-future.org license: MIT license_file: LICENSE.txt su...
- futurize -h - pasteurize -h imports: - future about: home: http://python-future.org license: MIT license_file: LICENSE.txt summary: Clean single-source support for Python 3 and 2 description: | Python-future is the missing compatibility layer between Python 2 and Python 3. It allows ...
<|file_sep|>recipes/future/meta.yaml.diff original: number: 1 updated: number: 0 <|file_sep|>original/recipes/future/meta.yaml run: - python test: commands: - futurize -h - pasteurize -h imports: - future about: home: http://python-future.org license: MIT license_file: LICENSE.txt su...
88516f53e07aefd2c3ef34a79e32d9c97f8fb6fb
recipes/future/meta.yaml
recipes/future/meta.yaml
YAML
<|file_sep|>original/app/views/offers/shared/_search_form.html.slim = semantic_form_for search_cache, url: offers_path, html: { method: :get } do |f| = f.input :query, label: true, input_html: { placeholder: 'Suche Angebote...', spellcheck: false, autocomplete: 'off', autofocus: true, class: 'input-xlg typeahead' } ...
= semantic_form_for search_cache, url: offers_path, html: { method: :get } do |f| = f.input :query, label: true, input_html: { placeholder: 'Was? z.B. drogen, schwanger, erziehungshilfe...', spellcheck: false, autocomplete: 'off', autofocus: true, class: 'input-xlg typeahead' } = f.input :search_location, label: tr...
<|file_sep|>original/app/views/offers/shared/_search_form.html.slim = semantic_form_for search_cache, url: offers_path, html: { method: :get } do |f| = f.input :query, label: true, input_html: { placeholder: 'Suche Angebote...', spellcheck: false, autocomplete: 'off', autofocus: true, class: 'input-xlg typeahead' } ...
0949de054dc04281f6e39b0ed9cf5ff6245c33ce
app/views/offers/shared/_search_form.html.slim
app/views/offers/shared/_search_form.html.slim
Slim
<|file_sep|>original/setup.py from pyeda import __version__ with open("README.rst") as fin: README = fin.read() with open("LICENSE") as fin: LICENSE = fin.read() PACKAGES = ["pyeda"] setup( name="pyeda", version=__version__, description="Python Electronic Design Automation", long_description...
from pyeda import __version__ with open("README.rst") as fin: README = fin.read() with open("LICENSE") as fin: LICENSE = fin.read() PACKAGES = ["pyeda"] setup( name="pyeda", version=__version__, description="Python Electronic Design Automation", long_description=README, author="Chris Dra...
<|file_sep|>original/setup.py from pyeda import __version__ with open("README.rst") as fin: README = fin.read() with open("LICENSE") as fin: LICENSE = fin.read() PACKAGES = ["pyeda"] setup( name="pyeda", version=__version__, description="Python Electronic Design Automation", long_description...
c845570d8ce6217f5943d538700e207f0221841e
setup.py
setup.py
Python
<|file_sep|>original/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift <|file_sep|>current/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift <|file_sep|>updated/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift
// RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s protocol a{struct B<e{let a{protocol a{func a<T:s#^A^#
<|file_sep|>original/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift <|file_sep|>current/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift <|file_sep|>updated/validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift...
049aef4bda45fb8b25fe0bb2921ce4f63f89cb2b
validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift
validation-test/IDE/crashers/020-swift-typechecker-validategenericfuncsignature.swift
Swift
<|file_sep|>build.sbt.diff original: scalaVersion := "2.10.4" updated: scalaVersion := "2.11.5" <|file_sep|>original/build.sbt name := "akka-distributed-workers" version := "0.1" scalaVersion := "2.10.4" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-contrib" % "2.3.6", "com.typesafe.akka" %% "akka-te...
name := "akka-distributed-workers" version := "0.1" scalaVersion := "2.11.5" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-contrib" % "2.3.9", "com.typesafe.akka" %% "akka-testkit" % "2.3.9", "org.scalatest" %% "scalatest" % "2.2.4" % "test", "commons-io" % "commons-io" % "2.4" % "test")
<|file_sep|>build.sbt.diff original: scalaVersion := "2.10.4" updated: scalaVersion := "2.11.5" <|file_sep|>original/build.sbt name := "akka-distributed-workers" version := "0.1" scalaVersion := "2.10.4" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-contrib" % "2.3.6", "com.typesafe.akka" %% "akka-te...
3c3f2ca35b266fd1f1f79e31df6d15ac304a6689
build.sbt
build.sbt
Scala
<|file_sep|>original/webpack.config.js const glob = require('glob'); const path = require('path'); module.exports = { entry: { 'index': './src/index.js', 'test': ['babel-polyfill', ...glob.sync('./test/**/*-test.js')], }, output: { path: path.resolve(__dirname, 'build'), publicPath: '/build/', ...
const glob = require('glob'); const path = require('path'); module.exports = { entry: { 'index': './src/index.js', 'test': ['babel-polyfill', ...glob.sync('./test/*-test.js')], }, output: { path: path.resolve(__dirname, 'build'), publicPath: '/build/', filename: '[name].js', }, devtool: '...
<|file_sep|>original/webpack.config.js const glob = require('glob'); const path = require('path'); module.exports = { entry: { 'index': './src/index.js', 'test': ['babel-polyfill', ...glob.sync('./test/**/*-test.js')], }, output: { path: path.resolve(__dirname, 'build'), publicPath: '/build/', ...
806c5f6e46be89f2b13b071100f2088ca875d7a5
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/travis/install_ycmd.sh if [ ! -d "$YCMD_PATH/.git" ]; then git clone --depth=1 --recursive https://github.com/Valloric/ycmd ${YCMD_PATH} fi pushd ${YCMD_PATH} git pull git submodule update --init --recursive export EXTRA_CMAKE_ARGS="-DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_C_COMPILER=/...
#!/bin/bash export YCMD_PATH="${HOME}/ycmd" if [ ! -d "$YCMD_PATH/.git" ]; then git clone --depth=1 --recursive https://github.com/Valloric/ycmd ${YCMD_PATH} fi pushd ${YCMD_PATH} git pull git submodule update --init --recursive export EXTRA_CMAKE_ARGS="-DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_C_COMPILER...
<|file_sep|>original/travis/install_ycmd.sh if [ ! -d "$YCMD_PATH/.git" ]; then git clone --depth=1 --recursive https://github.com/Valloric/ycmd ${YCMD_PATH} fi pushd ${YCMD_PATH} git pull git submodule update --init --recursive export EXTRA_CMAKE_ARGS="-DCMAKE_CXX_COMPILER=/usr/lib/ccache/c++ -DCMAKE_C_COMPILER=/...
1a8e07f218c0f467e2b677604888d66e9ec83ab6
travis/install_ycmd.sh
travis/install_ycmd.sh
Shell
<|file_sep|>original/package.json { "name": "tns-android", "description": "NativeScript Runtime for Android", "version": "6.1.0", "repository": { "type": "git", "url": "https://github.com/NativeScript/android-runtime.git" }, "files": [ "**/*" ], "gradle": { "version": "5.1.1", "andro...
{ "name": "tns-android", "description": "NativeScript Runtime for Android", "version": "6.0.1", "repository": { "type": "git", "url": "https://github.com/NativeScript/android-runtime.git" }, "files": [ "**/*" ], "gradle": { "version": "5.1.1", "android": "3.4.2" }, "android_ndk_v...
<|file_sep|>original/package.json { "name": "tns-android", "description": "NativeScript Runtime for Android", "version": "6.1.0", "repository": { "type": "git", "url": "https://github.com/NativeScript/android-runtime.git" }, "files": [ "**/*" ], "gradle": { "version": "5.1.1", "andro...
940beb288efdba84819525857dc49c76d281f4e1
package.json
package.json
JSON
<|file_sep|>test/Driver/show-option-names.c.diff original: // RUN: %clang -c -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %s updated: // REQUIRES: x86-registered-target // RUN: %clang -target x86_64-apple-darwin -c -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %...
// REQUIRES: x86-registered-target // RUN: %clang -target x86_64-apple-darwin -c -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %s // CHECK-SHOW-OPTION-NAMES: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO' [-Wmissing-sysroot] // RUN: %clang -target x86_64-apple-darwin -c -fno-...
<|file_sep|>test/Driver/show-option-names.c.diff original: // RUN: %clang -c -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %s updated: // REQUIRES: x86-registered-target // RUN: %clang -target x86_64-apple-darwin -c -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-SHOW-OPTION-NAMES %...
23a5b06f405219d8ea93d4d8d2ca0666d4b1105a
test/Driver/show-option-names.c
test/Driver/show-option-names.c
C
<|file_sep|>original/mbc-transactional-digest/src/MB_Toolbox_FBMessenger.php $this->transactionQueue = $this->mbConfig->getProperty('transactionalOTTQueue'); } /** * generateMessage(): Generate message values based on Facebook Messenger requirements. * * @param array $settings */ public function genera...
$this->transactionQueue = $this->mbConfig->getProperty('transactionalOTTQueue'); } /** * generateMessage(): Generate message values based on Facebook Messenger requirements. * * @param array $settings */ public function generateMessage($settings) { $message = ''; return $message; } /** * d...
<|file_sep|>original/mbc-transactional-digest/src/MB_Toolbox_FBMessenger.php $this->transactionQueue = $this->mbConfig->getProperty('transactionalOTTQueue'); } /** * generateMessage(): Generate message values based on Facebook Messenger requirements. * * @param array $settings */ public function genera...
56ecbf79ad556b2de82b2a05737186d01a76d404
mbc-transactional-digest/src/MB_Toolbox_FBMessenger.php
mbc-transactional-digest/src/MB_Toolbox_FBMessenger.php
PHP
<|file_sep|>original/data/manzoni.txt <|file_sep|>current/data/manzoni.txt <|file_sep|>updated/data/manzoni.txt
# NAME Tomaz Manzoni # MAJORS BIO CSCI # COURSES CH/BI 125 MATH 126 PSYCH 125A WRIT 111Q CH/BI 126 CH/BI 127 FRENCH 112 REL 121U CSCI 125A
<|file_sep|>original/data/manzoni.txt <|file_sep|>current/data/manzoni.txt <|file_sep|>updated/data/manzoni.txt # NAME Tomaz Manzoni # MAJORS BIO CSCI # COURSES CH/BI 125 MATH 126 PSYCH 125A WRIT 111Q CH/BI 126 CH/BI 127 FRENCH 112 REL 121U CSCI 125A
95a61e37cf044a65811181d16b0248e96a03a4ec
data/manzoni.txt
data/manzoni.txt
Text
<|file_sep|>original/tuskar_ui/infrastructure/nodes/templates/nodes/index.html {% extends 'infrastructure/base.html' %} {% load i18n %} {% load url from future %} {% block title %}{% trans 'Nodes' %}{% endblock %} {% block page_header %} {% include 'horizon/common/_items_count_domain_page_header.html' with title=_('...
{% load i18n %} {% load url from future %} {% block title %}{% trans 'Nodes' %}{% endblock %} {% block page_header %} {% include 'horizon/common/_items_count_domain_page_header.html' with title=_('Nodes') items_count=nodes_count %} {% endblock page_header %} {% block main %} <div class="row"> <div class="col-xs-1...
<|file_sep|>original/tuskar_ui/infrastructure/nodes/templates/nodes/index.html {% extends 'infrastructure/base.html' %} {% load i18n %} {% load url from future %} {% block title %}{% trans 'Nodes' %}{% endblock %} {% block page_header %} {% include 'horizon/common/_items_count_domain_page_header.html' with title=_('...
e90b994d9cd7d831b94ff4dd59753845dcd6b39d
tuskar_ui/infrastructure/nodes/templates/nodes/index.html
tuskar_ui/infrastructure/nodes/templates/nodes/index.html
HTML
<|file_sep|>original/ruby/utils.rb require 'benchmark' def benchmark(&block) runs = 100 total = 0 runs.times do total += Benchmark.measure(&block) end total / runs end def with_utf8_file(filename) File.open(filename, 'r:utf-8') do |file| yield file.read end end <|file_sep|>current/ruby/util...
require 'benchmark' def benchmark(&block) runs = 100 total = 0 runs.times do |i| result = Benchmark.measure(&block).total $stderr.puts "Run #{i}: #{result}" total += result end total / runs end def with_utf8_file(filename) File.open(filename, 'r:utf-8') do |file| yield file.read end e...
<|file_sep|>original/ruby/utils.rb require 'benchmark' def benchmark(&block) runs = 100 total = 0 runs.times do total += Benchmark.measure(&block) end total / runs end def with_utf8_file(filename) File.open(filename, 'r:utf-8') do |file| yield file.read end end <|file_sep|>current/ruby/util...
ff6510a8b30c02af66f3480a933d8b1e92516706
ruby/utils.rb
ruby/utils.rb
Ruby
<|file_sep|>app/views/layouts/_header.html.haml.diff original: updated: %li= link_to "About", home_about_path <|file_sep|>original/app/views/layouts/_header.html.haml #masthead.header %div %h1#logo= link_to LONG_SITE_NAME, root_path #nav-primary / -cache('primary_nav') do %ul.nav.user ...
#masthead.header %div %h1#logo= link_to LONG_SITE_NAME, root_path #nav-primary / -cache('primary_nav') do %ul.nav.user - if user_signed_in? / %li.first= link_to "#{h current_user.name}" , profile_url(current_user) %li= link_to "About", home_about_path %li= link_to 'Se...
<|file_sep|>app/views/layouts/_header.html.haml.diff original: updated: %li= link_to "About", home_about_path <|file_sep|>original/app/views/layouts/_header.html.haml #masthead.header %div %h1#logo= link_to LONG_SITE_NAME, root_path #nav-primary / -cache('primary_nav') do %ul.nav.user ...
ed52a9396a39b36bad3e83fd90d0e13209324aa1
app/views/layouts/_header.html.haml
app/views/layouts/_header.html.haml
Haml
<|file_sep|>original/setup.py from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: version = "%d.%d_%s" % version_tuple else: version = "%d.%d" % version_tuple[:2] setup( name='django-dbset...
from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: if type(version_tuple[2]) == int: version = "%d.%d.%s" % version_tuple else: version = "%d.%d_%s" % version_tuple else: v...
<|file_sep|>original/setup.py from setuptools import setup, find_packages # Dynamically calculate the version based on dbsettings.VERSION version_tuple = (0, 4, None) if version_tuple[2] is not None: version = "%d.%d_%s" % version_tuple else: version = "%d.%d" % version_tuple[:2] setup( name='django-dbset...
9353deefa7cc31fc4e9d01f29f7dab8c37b73a78
setup.py
setup.py
Python
<|file_sep|>original/config/application.rb # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Winnipegelection class Application < Rails::Application # Settings in config/envi...
# require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Winnipegelection class Application < Rails::Application # Settings in config/environments/* take precedence over those speci...
<|file_sep|>original/config/application.rb # require "rails/test_unit/railtie" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Winnipegelection class Application < Rails::Application # Settings in config/envi...
015376b7a705c348dcf396dc0f44ef5cf8b2d1af
config/application.rb
config/application.rb
Ruby
<|file_sep|>src/stylus/fablevision/target-drake.styl.diff original: height: 204px width: 520px updated: height: 195px width: 500px <|file_sep|>original/src/stylus/fablevision/target-drake.styl .geniblocks.target-drake-container display: flex flex-direction: row height: 204px width: 520px background: u...
display: flex flex-direction: row height: 195px width: 500px background: url('../resources/fablevision/layout-c/target_drake_gizmo.png') background-repeat: no-repeat background-size: cover justify-content: center align-self: center z-index: 3 position:absolute bottom:0px .target-drake-text ...
<|file_sep|>src/stylus/fablevision/target-drake.styl.diff original: height: 204px width: 520px updated: height: 195px width: 500px <|file_sep|>original/src/stylus/fablevision/target-drake.styl .geniblocks.target-drake-container display: flex flex-direction: row height: 204px width: 520px background: u...
92e01d2afee314c1b3b9584a0ef3e798ddd69d31
src/stylus/fablevision/target-drake.styl
src/stylus/fablevision/target-drake.styl
Stylus
<|file_sep|>original/celery/__init__.py """Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta <|file_sep|>current/celery/__init__.py """Distributed Ta...
"""Distributed Task Queue""" from celery.distmeta import (__version__, __author__, __contact__, __homepage__, __docformat__, VERSION, is_stable_release, version_with_meta)
<|file_sep|>original/celery/__init__.py """Distributed Task Queue""" from celery.distmeta import __version__, __author__, __contact__ from celery.distmeta import __homepage__, __docformat__ from celery.distmeta import VERSION, is_stable_release, version_with_meta <|file_sep|>current/celery/__init__.py """Distributed Ta...
2359b65a59b5326a07768578469177d65bbddf6e
celery/__init__.py
celery/__init__.py
Python
<|file_sep|>original/gradle.properties # suppress inspection "UnusedProperty" for whole file group=com.blackbuild.groovy.dsl.config version=0.14.4-SNAPSHOT groovyVersion=2.4.4 spockVersion=1.0-groovy-2.4 <|file_sep|>current/gradle.properties # suppress inspection "UnusedProperty" for whole file group=com.blackbuild.gro...
# suppress inspection "UnusedProperty" for whole file group=com.blackbuild.groovy.dsl.config version=0.14.4-SNAPSHOT groovyVersion=2.3.9 spockVersion=1.0-groovy-2.3
<|file_sep|>original/gradle.properties # suppress inspection "UnusedProperty" for whole file group=com.blackbuild.groovy.dsl.config version=0.14.4-SNAPSHOT groovyVersion=2.4.4 spockVersion=1.0-groovy-2.4 <|file_sep|>current/gradle.properties # suppress inspection "UnusedProperty" for whole file group=com.blackbuild.gro...
25db2fd80cc19cce01fcad101e8ad240e79195b6
gradle.properties
gradle.properties
INI
<|file_sep|>original/addons/product/product_security.xml <|file_sep|>current/addons/product/product_security.xml <|file_sep|>updated/addons/product/product_security.xml
<?xml version="1.0"?> <terp> <data noupdate="1"> <record model="res.groups" id="group_product_manager"> <field name="name">Product Manager</field> </record> <!-- Purchase order security --> <record model="ir.model.access" id="access_product"> <field name="name">Product</field> <field name="model_...
<|file_sep|>original/addons/product/product_security.xml <|file_sep|>current/addons/product/product_security.xml <|file_sep|>updated/addons/product/product_security.xml <?xml version="1.0"?> <terp> <data noupdate="1"> <record model="res.groups" id="group_product_manager"> <field name="name">Product Manager</f...
20aff0b7aa44c18450287081bde404e0873b96a8
addons/product/product_security.xml
addons/product/product_security.xml
XML
<|file_sep|>original/fsdevtools-cli/src/main/resources/CliGit.properties git.hash=614b934b5cbed957b0ce1ab0052ea302f208d9d9 <|file_sep|>current/fsdevtools-cli/src/main/resources/CliGit.properties git.hash=614b934b5cbed957b0ce1ab0052ea302f208d9d9 <|file_sep|>updated/fsdevtools-cli/src/main/resources/CliGit.properties
git.hash=357643b5f4cc65c2f9987190d2b32853aff0f48c
<|file_sep|>original/fsdevtools-cli/src/main/resources/CliGit.properties git.hash=614b934b5cbed957b0ce1ab0052ea302f208d9d9 <|file_sep|>current/fsdevtools-cli/src/main/resources/CliGit.properties git.hash=614b934b5cbed957b0ce1ab0052ea302f208d9d9 <|file_sep|>updated/fsdevtools-cli/src/main/resources/CliGit.properties git...
24640cff706d00a6316a7b5ce24b4385db9fb43e
fsdevtools-cli/src/main/resources/CliGit.properties
fsdevtools-cli/src/main/resources/CliGit.properties
INI
<|file_sep|>original/roles/microsoft_office/tasks/main.yml --- # file: roles/microsoft_office/tasks/main.yml - name: Install Microsoft Office 2016 homebrew_cask: name: microsoft-office state: present <|file_sep|>current/roles/microsoft_office/tasks/main.yml --- # file: roles/microsoft_office/tasks/main.yml ...
--- # file: roles/microsoft_office/tasks/main.yml - name: Install Microsoft Office 2016 homebrew_cask: name: microsoft-office state: present become: true
<|file_sep|>original/roles/microsoft_office/tasks/main.yml --- # file: roles/microsoft_office/tasks/main.yml - name: Install Microsoft Office 2016 homebrew_cask: name: microsoft-office state: present <|file_sep|>current/roles/microsoft_office/tasks/main.yml --- # file: roles/microsoft_office/tasks/main.yml ...
a1efbcba7cca1c63967827583e5ae8344ff7ae88
roles/microsoft_office/tasks/main.yml
roles/microsoft_office/tasks/main.yml
YAML
<|file_sep|>original/appveyor.yml - cmd: powershell -NoProfile -ExecutionPolicy unrestricted -Command ".\up_integration-test-env.ps1; .\build.ps1 -Target All;" image: Visual Studio 2017 environment: HELPZ_POSTGRESQL_PASS: Password12! test: off artifacts: - path: Build\Packages\*.nupkg services: - mssql2014...
- cmd: powershell -NoProfile -ExecutionPolicy unrestricted -Command ".\up_integration-test-env.ps1; .\build.ps1 -Target All;" image: Visual Studio 2017 environment: HELPZ_POSTGRESQL_PASS: Password12! test: off artifacts: - path: Build\Packages\*nupkg services: - mssql2014 - postgresql101 on_success: - c...
<|file_sep|>original/appveyor.yml - cmd: powershell -NoProfile -ExecutionPolicy unrestricted -Command ".\up_integration-test-env.ps1; .\build.ps1 -Target All;" image: Visual Studio 2017 environment: HELPZ_POSTGRESQL_PASS: Password12! test: off artifacts: - path: Build\Packages\*.nupkg services: - mssql2014...
74b54080ff52db588413f602943dfa3abd2dbfb6
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/README.rst Wikipedia game solver ----------------------- Find the shortest path between any two wikipedia pages. Idea ==== In a single pass, import page titles and links from wikipedia's xml dump. Given two pages, find the shortest path between them using A* search. Should not require enough me...
Idea ==== In a single pass, import page titles and links from wikipedia's xml dump. Given two pages, find the shortest path between them using A* search. Should not require enough memory to load all of the data. To do this, store the mapping of page titles and links in boltdb. Usage ====== 1. Get latest English wik...
<|file_sep|>original/README.rst Wikipedia game solver ----------------------- Find the shortest path between any two wikipedia pages. Idea ==== In a single pass, import page titles and links from wikipedia's xml dump. Given two pages, find the shortest path between them using A* search. Should not require enough me...
d3e0cf2ab36d280837a8fbff8cb15415eabd2a65
README.rst
README.rst
reStructuredText
<|file_sep|>original/irukad/iruka.go "github.com/codegangsta/negroni" "github.com/gorilla/mux" ) func main() { r := mux.NewRouter() r.HandleFunc("/", func(rw http.ResponseWriter, r *http.Request) { fmt.Fprint(rw, "hello") }) // Middleware stack n := negroni.New( negroni.NewRecovery(), negroni.NewLogger(...
"github.com/codegangsta/negroni" "github.com/gorilla/mux" ) func main() { r := mux.NewRouter() r.HandleFunc("/", func(rw http.ResponseWriter, r *http.Request) { fmt.Fprint(rw, "hello") }) // Middleware stack n := negroni.New( negroni.NewRecovery(), negroni.NewLogger(), ) n.UseHandler(r) n.Run(":808...
<|file_sep|>original/irukad/iruka.go "github.com/codegangsta/negroni" "github.com/gorilla/mux" ) func main() { r := mux.NewRouter() r.HandleFunc("/", func(rw http.ResponseWriter, r *http.Request) { fmt.Fprint(rw, "hello") }) // Middleware stack n := negroni.New( negroni.NewRecovery(), negroni.NewLogger(...
b4d41c1f7bd95d6dea9abc442f791942cc54b8ae
irukad/iruka.go
irukad/iruka.go
Go
<|file_sep|>original/commands/mfmt.js // Local dependencies var command = require('../lib/command'); var fs = require('../lib/fs'); /** * Returns the last modified timestamp of the remote file as a decimal number. * @param {!string} pathname * @param {!object} commandChannel * @param {!object} session */ com...
// Local dependencies var command = require('../lib/command'); var fs = require('../lib/fs'); /** * Returns the last modified timestamp of the remote file as a decimal number. * @param {!string} pathname * @param {!object} commandChannel * @param {!object} session */ command.add('MFMT', 'MFMT <sp> time-val <...
<|file_sep|>original/commands/mfmt.js // Local dependencies var command = require('../lib/command'); var fs = require('../lib/fs'); /** * Returns the last modified timestamp of the remote file as a decimal number. * @param {!string} pathname * @param {!object} commandChannel * @param {!object} session */ com...
07a7da75edc41dd88267bfb9878412c2041a52ec
commands/mfmt.js
commands/mfmt.js
JavaScript
<|file_sep|>original/tsconfig.json "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es5", "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "typeRoots": [ "node_modules/@types" ...
"emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es5", "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "typeRoots": [ "node_modules/@types" ], "lib": [ "es2016", "dom" ] }, "exclud...
<|file_sep|>original/tsconfig.json "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "es5", "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "typeRoots": [ "node_modules/@types" ...
be2689a75833d147947ff2b5ab3abc67d3334c1a
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/.github/workflows/lint_python.yml name: lint_python on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest strategy: matrix: python: ['3.7', '3.8', '3.9', '3.10-dev'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with:...
jobs: lint_python: runs-on: ubuntu-latest strategy: matrix: python: ['3.7', '3.8', '3.9', '3.10-dev'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python }} - run: pip install bandit mypy pyupgrade saf...
<|file_sep|>original/.github/workflows/lint_python.yml name: lint_python on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest strategy: matrix: python: ['3.7', '3.8', '3.9', '3.10-dev'] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with:...
c1abc4160f457febbb7a19f4a321a8c422b54f82
.github/workflows/lint_python.yml
.github/workflows/lint_python.yml
YAML
<|file_sep|>original/shakyo/consolekit/__init__.py def turn_on_console(asciize=False, spaces_per_tab=4, background_rgb=(0, 0, 0)): Line._ASCIIZE = asciize Line._SPACES_PER_TAB = spaces_per_tab window = curses.initscr() curses.noecho() curses.cbreak() curses.start_color() curses.use_default_colors() ...
def turn_on_console(asciize=False, spaces_per_tab=4, background_rgb=(0, 0, 0)): Line._ASCIIZE = asciize Line._SPACES_PER_TAB = spaces_per_tab window = curses.initscr() curses.noecho() curses.cbreak() curses.start_color() curses.use_default_colors() return Console(window, background_rgb=background_...
<|file_sep|>original/shakyo/consolekit/__init__.py def turn_on_console(asciize=False, spaces_per_tab=4, background_rgb=(0, 0, 0)): Line._ASCIIZE = asciize Line._SPACES_PER_TAB = spaces_per_tab window = curses.initscr() curses.noecho() curses.cbreak() curses.start_color() curses.use_default_colors() ...
25b5f88d5105ed1b9a2e39b8bea7238709238fd0
shakyo/consolekit/__init__.py
shakyo/consolekit/__init__.py
Python
<|file_sep|>api/server.js.diff original: door.setup(function() { serialPort.open(function (error) { if ( error ) { console.log('failed to open: '+ error); } else { serialPort.on('data', function(data) { cards.isUIDAllowed(data, function(err, test) { if (err) throw...
// Server Listener app.listen(config.app.port, config.app.host, function(e) { console.log('Listening on http://%s:%s', config.app.host, config.app.port) if(process.env.PROD) { door.setup(function() { serialPort.open(function (error) { if ( error ) { console.log('failed to open: '+ error...
<|file_sep|>api/server.js.diff original: door.setup(function() { serialPort.open(function (error) { if ( error ) { console.log('failed to open: '+ error); } else { serialPort.on('data', function(data) { cards.isUIDAllowed(data, function(err, test) { if (err) throw...
6b64839432cf0b9d296df5a704001519f820035f
api/server.js
api/server.js
JavaScript
<|file_sep|>original/requirements/base.txt djangorestframework==3.6.3 #Markdown==2.6.8 #django-filter==1.0.4 # Static files whitenoise==3.3.0 # Media files #boto==2.47.0 #django_unique_upload==0.2.1 Pillow==4.2.0 # Image manipulation #django-versatileimagefield==1.7.0 # For asynchronous queuing #django-rq==0.9.5 #...
djangorestframework==3.6.3 #Markdown==2.6.8 #django-filter==1.0.4 # Static files whitenoise==3.3.0 # Media files #boto==2.47.0 #django_unique_upload==0.2.1 Pillow==4.2.1 # Image manipulation #django-versatileimagefield==1.7.0 # For asynchronous queuing #django-rq==0.9.5 # Time zones support pytz==2017.2
<|file_sep|>original/requirements/base.txt djangorestframework==3.6.3 #Markdown==2.6.8 #django-filter==1.0.4 # Static files whitenoise==3.3.0 # Media files #boto==2.47.0 #django_unique_upload==0.2.1 Pillow==4.2.0 # Image manipulation #django-versatileimagefield==1.7.0 # For asynchronous queuing #django-rq==0.9.5 #...
86c32d5ef2bc0432790532c6f5761231be828976
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/init/30_osx_homebrew_recipes.sh # OSX-only stuff. Abort if not OSX. is_osx || return 1 # Exit if Homebrew is not installed. [[ ! "$(type -P brew)" ]] && e_error "Brew recipes need Homebrew to install." && return 1 # Homebrew recipes recipes=( Caskroom/cask/unetbootin arduino-cli bison dia...
# OSX-only stuff. Abort if not OSX. is_osx || return 1 # Exit if Homebrew is not installed. [[ ! "$(type -P brew)" ]] && e_error "Brew recipes need Homebrew to install." && return 1 # Homebrew recipes recipes=( Caskroom/cask/karabiner-elements Caskroom/cask/unetbootin arduino-cli bison dialog emacs git ...
<|file_sep|>original/init/30_osx_homebrew_recipes.sh # OSX-only stuff. Abort if not OSX. is_osx || return 1 # Exit if Homebrew is not installed. [[ ! "$(type -P brew)" ]] && e_error "Brew recipes need Homebrew to install." && return 1 # Homebrew recipes recipes=( Caskroom/cask/unetbootin arduino-cli bison dia...
b81ca7fafdca5da2a0d500b0f3913369632dcdc9
init/30_osx_homebrew_recipes.sh
init/30_osx_homebrew_recipes.sh
Shell
<|file_sep|>original/src/tests/test_api_users.py <|file_sep|>current/src/tests/test_api_users.py <|file_sep|>updated/src/tests/test_api_users.py
#!/usr/bin/python # # Copyright Friday Film Club. All Rights Reserved. """Users API unit tests.""" __author__ = 'adamjmcgrath@gmail.com (Adam McGrath)' import unittest from google.appengine.ext import ndb import base import helpers class ApiTestCase(base.TestCase): def setUp(self): super(ApiTestCase, sel...
<|file_sep|>original/src/tests/test_api_users.py <|file_sep|>current/src/tests/test_api_users.py <|file_sep|>updated/src/tests/test_api_users.py #!/usr/bin/python # # Copyright Friday Film Club. All Rights Reserved. """Users API unit tests.""" __author__ = 'adamjmcgrath@gmail.com (Adam McGrath)' import unittest ...
c568189313f96af68fdca93ffc65b528e3964e06
src/tests/test_api_users.py
src/tests/test_api_users.py
Python
<|file_sep|>.travis.yml.diff original: - sys-img-armeabi-v7a-android-26 updated: - sys-img-armeabi-v7a-addon-google_apis-google-26 <|file_sep|>original/.travis.yml - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - addon-google_apis-google-19 # Sy...
- extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - addon-google_apis-google-19 # System image for emulator. - sys-img-armeabi-v7a-addon-google_apis-google-26 licenses: - 'android-sdk-license-.+' # Emulator Management: Create, Start and Wait be...
<|file_sep|>.travis.yml.diff original: - sys-img-armeabi-v7a-android-26 updated: - sys-img-armeabi-v7a-addon-google_apis-google-26 <|file_sep|>original/.travis.yml - extra-google-google_play_services - extra-google-m2repository - extra-android-m2repository - addon-google_apis-google-19 # Sy...
9eac63b03220a3e7ab2829b72205de691974396a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tslint.json { "defaultSeverity": "error", "extends": [ "tslint:recommended" ], "rules": { "interface-name": false, "ordered-imports": false, "member-access": false, "quotemark": { "options": "single" }, "object-lite...
{ "defaultSeverity": "error", "extends": [ "tslint:recommended" ], "rules": { "interface-name": false, "ordered-imports": false, "member-access": false, "quotemark": { "options": "single" }, "object-literal-sort-keys": false, "n...
<|file_sep|>original/tslint.json { "defaultSeverity": "error", "extends": [ "tslint:recommended" ], "rules": { "interface-name": false, "ordered-imports": false, "member-access": false, "quotemark": { "options": "single" }, "object-lite...
3e0a2a27980e00515c67bad9a96596260d2426cc
tslint.json
tslint.json
JSON
<|file_sep|>client/src/app/data-services/base.service.ts.diff original: constructor(public http: HttpClient) { } updated: constructor(protected http: HttpClient) { } <|file_sep|>original/client/src/app/data-services/base.service.ts import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { I...
import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { Injectable } from '@angular/core'; @Injectable() export class BaseService { constructor(protected http: HttpClient) { } protected catchHandler = (parameter: HttpErrorResponse): HttpErrorResponse => parameter; }
<|file_sep|>client/src/app/data-services/base.service.ts.diff original: constructor(public http: HttpClient) { } updated: constructor(protected http: HttpClient) { } <|file_sep|>original/client/src/app/data-services/base.service.ts import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { I...
c033d0abc2ef2d03b68575339edd40802fd50875
client/src/app/data-services/base.service.ts
client/src/app/data-services/base.service.ts
TypeScript
<|file_sep|>task-templates/iframe-cache.js.diff original: CensorshipMeter.iframeEndTime = $.now(); updated: var iframeEndTime = $.now(); CensorshipMeter.submitResult('load-time-iframe', iframeEndTime - CensorshipMeter.iframeStartTime); <|file_sep|>original/task-templates/iframe-cache.js Censors...
var iframeEndTime = $.now(); CensorshipMeter.submitResult('load-time-iframe', iframeEndTime - CensorshipMeter.iframeStartTime); var img = $('<img />'); img.css('display', 'none'); img.attr('src', '{{.imageUrl}}'); img.on('load', function() { try { var imgEndTime = ...
<|file_sep|>task-templates/iframe-cache.js.diff original: CensorshipMeter.iframeEndTime = $.now(); updated: var iframeEndTime = $.now(); CensorshipMeter.submitResult('load-time-iframe', iframeEndTime - CensorshipMeter.iframeStartTime); <|file_sep|>original/task-templates/iframe-cache.js Censors...
5315e7901839146a7b82de31fb6fa6fb4fc3b0cb
task-templates/iframe-cache.js
task-templates/iframe-cache.js
JavaScript
<|file_sep|>original/requirements-dev.txt Flask==0.12.1 coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 moto==0.4.31 pytest-cov==2.4.0 pytest==3.0.7 sphinx==1.5.5 aiohttp==2.0.5 botocore==1.5.37 multidict==2.1.4 <|file_sep|>current/requirements-dev.txt Flask==0.12.1 coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ...
Flask==0.12.1 coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 moto==0.4.31 pytest-cov==2.4.0 pytest==3.0.7 sphinx==1.5.5 aiohttp==2.0.5 botocore==1.5.38 multidict==2.1.4
<|file_sep|>original/requirements-dev.txt Flask==0.12.1 coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 moto==0.4.31 pytest-cov==2.4.0 pytest==3.0.7 sphinx==1.5.5 aiohttp==2.0.5 botocore==1.5.37 multidict==2.1.4 <|file_sep|>current/requirements-dev.txt Flask==0.12.1 coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ...
e508333e661536fbc31bba2de1dbd2ff933132d2
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>elmo/elmo/urls.py.diff original: updated: from django.conf import settings <|file_sep|>original/elmo/elmo/urls.py 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home ...
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) """ from django.conf.urls import url, include from django.contrib import admin from django.conf import settings from django.views.generic import TemplateView from django.contrib.auth.views import logout urlpatterns = [ url(r'^landing/$', Templa...
<|file_sep|>elmo/elmo/urls.py.diff original: updated: from django.conf import settings <|file_sep|>original/elmo/elmo/urls.py 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home ...
9b9e1872bf3281249a318c69b18e60cd6995ad2d
elmo/elmo/urls.py
elmo/elmo/urls.py
Python
<|file_sep|>lib/metric_pulse/logger.rb.diff original: ## TO-DO: we only want to send the metric to applicable endpoints only exchange.publish(Oj.dump(payload), :routing_key => rk) #if rk.accepts?(payload) updated: exchange.publish(Oj.dump(payload), :routing_key => rk) if applic...
end def channel @channel ||= conn.create_channel end def exchange(topic = "custom_metric") @exchange ||= channel.topic(topic, :auto_delete => true) end def applicable?(payload, routing_key) if ['exception', 'error'].include?(payload.deep_s...
<|file_sep|>lib/metric_pulse/logger.rb.diff original: ## TO-DO: we only want to send the metric to applicable endpoints only exchange.publish(Oj.dump(payload), :routing_key => rk) #if rk.accepts?(payload) updated: exchange.publish(Oj.dump(payload), :routing_key => rk) if applic...
4276a4e2227750373a8066572d3c0069a9eb8050
lib/metric_pulse/logger.rb
lib/metric_pulse/logger.rb
Ruby
<|file_sep|>original/zsh/aliases.zsh # hub (http://github.com/defunkt/hub) # brew install hub [ `which hub` ] && alias git='nocorrect hub' alias -g A='|ack' alias -g L='|less' alias -g G='|grep' alias -g T='|tail' alias -g H='|head' alias -g N='&>/dev/null&' alias -g W='|wc' <|file_sep|>current/zsh/aliases.zsh # hub (...
# hub (http://github.com/defunkt/hub) # brew install hub [ `which hub` ] && alias git='nocorrect hub' alias -g A='|ack' alias -g L='|less' alias -g V='|vim -' alias -g M='|mvim -' alias -g G='|grep' alias -g T='|tail' alias -g H='|head' alias -g N='&>/dev/null&' alias -g W='|wc'
<|file_sep|>original/zsh/aliases.zsh # hub (http://github.com/defunkt/hub) # brew install hub [ `which hub` ] && alias git='nocorrect hub' alias -g A='|ack' alias -g L='|less' alias -g G='|grep' alias -g T='|tail' alias -g H='|head' alias -g N='&>/dev/null&' alias -g W='|wc' <|file_sep|>current/zsh/aliases.zsh # hub (...
eac613cd64755981c2f64f3831f9a56f35c11d14
zsh/aliases.zsh
zsh/aliases.zsh
Shell
<|file_sep|>src/index.js.diff original: updated: Game: require('./structures/Presence').Game, <|file_sep|>src/index.js.diff original: updated: Presence: require('./structures/Presence').Presence, <|file_sep|>original/src/index.js GroupDMChannel: require('./structures/GroupDMChannel'), Guild: require('./struct...
Game: require('./structures/Presence').Game, GroupDMChannel: require('./structures/GroupDMChannel'), Guild: require('./structures/Guild'), GuildChannel: require('./structures/GuildChannel'), GuildMember: require('./structures/GuildMember'), Invite: require('./structures/Invite'), Message: require('./struc...
<|file_sep|>src/index.js.diff original: updated: Game: require('./structures/Presence').Game, <|file_sep|>src/index.js.diff original: updated: Presence: require('./structures/Presence').Presence, <|file_sep|>original/src/index.js GroupDMChannel: require('./structures/GroupDMChannel'), Guild: require('./struct...
9ebe5e64b7164b72f81a3c3b059a36cc21304b1d
src/index.js
src/index.js
JavaScript
<|file_sep|>original/.github/workflows/ci_lua51.yml <|file_sep|>current/.github/workflows/ci_lua51.yml <|file_sep|>updated/.github/workflows/ci_lua51.yml
name: CI Lua5.1 on: push: branches: - master workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: ReportOnLua51: name: Go Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 ...
<|file_sep|>original/.github/workflows/ci_lua51.yml <|file_sep|>current/.github/workflows/ci_lua51.yml <|file_sep|>updated/.github/workflows/ci_lua51.yml name: CI Lua5.1 on: push: branches: - master workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number ||...
ca2b1748848bee3b755059fa9e1315812f4fa794
.github/workflows/ci_lua51.yml
.github/workflows/ci_lua51.yml
YAML
<|file_sep|>original/README.md [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Build Status](https://travis-ci.org/Max-Meldrum/SpaceTurtle.svg?branch=master)](https://travis-ci.org/Max-Meldrum/SpaceTurtle) # SpaceTurtle <|file_sep|>current/REA...
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Build Status](https://travis-ci.org/Max-Meldrum/SpaceTurtle.svg?branch=master)](https://travis-ci.org/Max-Meldrum/SpaceTurtle) # SpaceTurtle
<|file_sep|>original/README.md [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Build Status](https://travis-ci.org/Max-Meldrum/SpaceTurtle.svg?branch=master)](https://travis-ci.org/Max-Meldrum/SpaceTurtle) # SpaceTurtle <|file_sep|>current/REA...
63f4ceaf79dcdd0159defb6905fa3716af0b7190
README.md
README.md
Markdown
<|file_sep|>original/TODO.txt Memory tracking & cleaning of chrom labels HMM app? (requires reverse iterators...) Read strand in BigBed files? Read score in BigBed files? => Handling overlapping iterators with value in unit and filter Read data in VCF file? <|file_sep|>current/TODO.txt Memory tracking & cleaning of chr...
Statistics as iterators to allow concurrent computation on a single pass Memory tracking & cleaning of chrom labels HMM app? (requires reverse iterators...) Read strand in BigBed files? Read score in BigBed files? => Handling overlapping iterators with value in unit and filter Read data in VCF file?
<|file_sep|>original/TODO.txt Memory tracking & cleaning of chrom labels HMM app? (requires reverse iterators...) Read strand in BigBed files? Read score in BigBed files? => Handling overlapping iterators with value in unit and filter Read data in VCF file? <|file_sep|>current/TODO.txt Memory tracking & cleaning of chr...
3652660d76385b7c2d4cdb88a329c561e3654955
TODO.txt
TODO.txt
Text
<|file_sep|>original/netbox/extras/querysets.py from django.db.models import Q, QuerySet class ConfigContextQuerySet(QuerySet): def get_for_object(self, obj): """ Return all applicable ConfigContexts for a given object. Only active ConfigContexts will be included. """ # `device_r...
from django.db.models import Q, QuerySet class ConfigContextQuerySet(QuerySet): def get_for_object(self, obj): """ Return all applicable ConfigContexts for a given object. Only active ConfigContexts will be included. """ # `device_role` for Device; `role` for VirtualMachine ...
<|file_sep|>original/netbox/extras/querysets.py from django.db.models import Q, QuerySet class ConfigContextQuerySet(QuerySet): def get_for_object(self, obj): """ Return all applicable ConfigContexts for a given object. Only active ConfigContexts will be included. """ # `device_r...
89e196e86d3b337ff6addb9e0ba289cbd63950d5
netbox/extras/querysets.py
netbox/extras/querysets.py
Python
<|file_sep|>original/libimagstorestdhook/Cargo.toml [package] name = "libimagstorestdhook" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] toml = "0.1.25" log = "0.3" fs2 = "0.2.3" [dependencies.libimagstore] path = "../libimagstore" [dependencies.libimagentrylink] path = "../li...
[package] name = "libimagstorestdhook" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] toml = "0.1.25" log = "0.3" fs2 = "0.2" [dependencies.libimagstore] path = "../libimagstore" [dependencies.libimagentrylink] path = "../libimagentrylink" [dependencies.libimagerror] path = "....
<|file_sep|>original/libimagstorestdhook/Cargo.toml [package] name = "libimagstorestdhook" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] toml = "0.1.25" log = "0.3" fs2 = "0.2.3" [dependencies.libimagstore] path = "../libimagstore" [dependencies.libimagentrylink] path = "../li...
5959b6b3cb236ca7f5f432627af029c93a315a77
libimagstorestdhook/Cargo.toml
libimagstorestdhook/Cargo.toml
TOML
<|file_sep|>original/src/merge-request-schema.js target_branch: String, source_branch: String, created_at: String, updated_at: String, title: String, description: String, status: String, work_in_progress: Boolean }, last_commit: { id: Number, message: ...
target_branch: String, source_branch: String, created_at: String, updated_at: String, title: String, description: String, status: String, work_in_progress: Boolean }, last_commit: { id: String, message: String, timestamp: String, url: Strin...
<|file_sep|>original/src/merge-request-schema.js target_branch: String, source_branch: String, created_at: String, updated_at: String, title: String, description: String, status: String, work_in_progress: Boolean }, last_commit: { id: Number, message: ...
72c6bc4765bf00872f5123ba6f32c14ec1de7061
src/merge-request-schema.js
src/merge-request-schema.js
JavaScript
<|file_sep|>original/awa/db/storage-queries.xml <|file_sep|>current/awa/db/storage-queries.xml <|file_sep|>updated/awa/db/storage-queries.xml
<query-mapping package='AWA.Storages.Models'> <description> The list of posts for the blog administrator. </description> <query name='storage-get-data'> <comment>Get the data content of the storage object. The query returns a single BLOB column.</comment> <sql> SELECT data.da...
<|file_sep|>original/awa/db/storage-queries.xml <|file_sep|>current/awa/db/storage-queries.xml <|file_sep|>updated/awa/db/storage-queries.xml <query-mapping package='AWA.Storages.Models'> <description> The list of posts for the blog administrator. </description> <query name='storage-get-data'> ...
3786f6781832d816d1c2268b6db15f95081e2ae3
awa/db/storage-queries.xml
awa/db/storage-queries.xml
XML