prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/GeocacheHeight/build.bat
@echo off
set BASENAME=Geocache_Height
set BASEPATH=%HOMEPATH%\Documents\Dev\GitHub\userscripts\GeocacheHeight
set DEPLOYPATH=%APPDATA%\Mozilla\Firefox\Profiles\6rhioilk.default\gm_scripts\%BASENAME%
cd "%BASEPATH%"
copy "src\%BASENAME%.meta.js" .
copy /b "src\%BASENAME%.m... | @echo off
set BASENAME=Geocache_Height
set BASEPATH=%HOMEPATH%\Documents\Dev\GitHub\userscripts\GeocacheHeight
set DEPLOYPATH=%APPDATA%\Mozilla\Firefox\Profiles\6rhioilk.default\gm_scripts\%BASENAME%
cd "%BASEPATH%"
copy "src\%BASENAME%.meta.js" .
copy /b "src\%BASENAME%.meta.js" + src\header.js + "src\formatHeight.js... | <|file_sep|>original/GeocacheHeight/build.bat
@echo off
set BASENAME=Geocache_Height
set BASEPATH=%HOMEPATH%\Documents\Dev\GitHub\userscripts\GeocacheHeight
set DEPLOYPATH=%APPDATA%\Mozilla\Firefox\Profiles\6rhioilk.default\gm_scripts\%BASENAME%
cd "%BASEPATH%"
copy "src\%BASENAME%.meta.js" .
copy /b "src\%BASENAME%.m... | 797ecdc75ff8ad64e102be4dd1b7d0db8b3b7bd5 | GeocacheHeight/build.bat | GeocacheHeight/build.bat | Batchfile |
<|file_sep|>start_script.sh.diff
original:
#execute it by typing
#. ./start_script
updated:
# execute it by typing
# source start_script
<|file_sep|>start_script.sh.diff
original:
usage(){ echo "./start_script.sh -c GPU_CORES"; }
while getopts "hc:" OPTION; do
case $OPTION in
h)
usage
... |
if [ -z "${gpu_number##*[!0-9]*}" ]
then
usage_1
return 1
fi
hostname=`hostname`
if [ $hostname = "stonesoup.inf.ed.ac.uk" ]; then
echo "detected stonesoup, applying config"
export LD_LIBRARY_PATH="/opt/cuda-5.0.35/lib:/opt/cuda-5.0.35/lib64"
export CUDA_ROOT="/opt/cuda-5.0.35"
export THEANO_FLAGS="de... | <|file_sep|>start_script.sh.diff
original:
#execute it by typing
#. ./start_script
updated:
# execute it by typing
# source start_script
<|file_sep|>start_script.sh.diff
original:
usage(){ echo "./start_script.sh -c GPU_CORES"; }
while getopts "hc:" OPTION; do
case $OPTION in
h)
usage
... | 236c61e4c087e4834787d86fab75056fbdf8d219 | start_script.sh | start_script.sh | Shell |
<|file_sep|>DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml.diff
original:
updated:
var currentCulture = Context.GetCurrentCulture();
<|file_sep|>original/DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml
@using System.Globalization
@using Microsoft.... | @using System.Globalization
@using Microsoft.AspNetCore.Builder
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Localization
@using Microsoft.Extensions.Options
@inject IViewLocalizer Localizer
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultureItems = new SelectList(LocOptions.Va... | <|file_sep|>DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml.diff
original:
updated:
var currentCulture = Context.GetCurrentCulture();
<|file_sep|>original/DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml
@using System.Globalization
@using Microsoft.... | 2827e28ba62e8582bc5c21dcf8891d2deca1959b | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml | C# |
<|file_sep|>original/html/divDemo.html
<|file_sep|>current/html/divDemo.html
<|file_sep|>updated/html/divDemo.html | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Divs and Spans</title>
</head>
<body>
<div>
<h1>asdfasdf</h1>
<p>Lorem <span>ipsum do... | <|file_sep|>original/html/divDemo.html
<|file_sep|>current/html/divDemo.html
<|file_sep|>updated/html/divDemo.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
... | f4653bd786bb7c90bd1dee0798e29b9259bb7c09 | html/divDemo.html | html/divDemo.html | HTML |
<|file_sep|>original/doc/release-notes-pr12257.md
<|file_sep|>current/doc/release-notes-pr12257.md
<|file_sep|>updated/doc/release-notes-pr12257.md | Notable changes
===============
Coin selection
--------------
- A new `-avoidpartialspends` flag has been added (default=false). If enabled, the wallet will try to spend UTXO's that point at the same destination
together. This is a privacy increase, as there will no longer be cases where a wallet will inadvertently ... | <|file_sep|>original/doc/release-notes-pr12257.md
<|file_sep|>current/doc/release-notes-pr12257.md
<|file_sep|>updated/doc/release-notes-pr12257.md
Notable changes
===============
Coin selection
--------------
- A new `-avoidpartialspends` flag has been added (default=false). If enabled, the wallet will try to spend... | e4d69eab43968c1c19cd18e00ba198f6d840bba1 | doc/release-notes-pr12257.md | doc/release-notes-pr12257.md | Markdown |
<|file_sep|>original/packages/ti/time-quote.yaml
<|file_sep|>current/packages/ti/time-quote.yaml
<|file_sep|>updated/packages/ti/time-quote.yaml | homepage: https://github.com/ttuegel/time-quote#readme
changelog-type: ''
hash: f7abe2881b56a4993233ee6c7010db8d0d9a5dcb529dcd3902d10f8bef56fbb4
test-bench-deps:
base: -any
time: ==1.9.*
doctest: -any
doctest-discover: -any
template-haskell: -any
maintainer: Thomas Tuegel <ttuegel@mailbox.org>
synopsis: Quasi... | <|file_sep|>original/packages/ti/time-quote.yaml
<|file_sep|>current/packages/ti/time-quote.yaml
<|file_sep|>updated/packages/ti/time-quote.yaml
homepage: https://github.com/ttuegel/time-quote#readme
changelog-type: ''
hash: f7abe2881b56a4993233ee6c7010db8d0d9a5dcb529dcd3902d10f8bef56fbb4
test-bench-deps:
base: -an... | ee88caf3726d136b7cb2f0ad5af81210b67635d7 | packages/ti/time-quote.yaml | packages/ti/time-quote.yaml | YAML |
<|file_sep|>AaltoASR/install.sh.diff
original:
module load gcc
updated:
module load GCC
<|file_sep|>AaltoASR/install.sh.diff
original:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ..
updated:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_CXX_FLAGS="-Wl,-rpath,$... | pushd ${BUILD_DIR}/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_CXX_FLAGS="-Wl,-rpath,${EBROOTGCC}/lib64" ..
make install
popd
BIN_PATH=${INSTALL_DIR}/bin
LIB_PATH=${INSTALL_DIR}/lib
read -d '' EXTRA_LINES << EOF
append-path PYTHONPATH ${LIB_PATH}/site-packages
append-pa... | <|file_sep|>AaltoASR/install.sh.diff
original:
module load gcc
updated:
module load GCC
<|file_sep|>AaltoASR/install.sh.diff
original:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} ..
updated:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_CXX_FLAGS="-Wl,-rpath,$... | 80005c2a81cc77ead912cfda5b8b0ce575ab43e1 | AaltoASR/install.sh | AaltoASR/install.sh | Shell |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | # Quick and Dirty on Ports
## Why ports?
## How does one use ports?
### Rules of ports
### Implementation
### Further steps
## References / Further Reading
- [Elixir Documentation](https://hexdocs.pm/elixir/Port.html)
- [Erlang Documentation](http://erlang.org/doc/search/?q=port&x=0&y=0)
- [`System.cmd` implement... | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
# Quick and Dirty on Ports
## Why ports?
## How does one use ports?
### Rules of ports
### Implementation
### Further steps
## References / Further Reading
- [Elixir Documentation](https://hexdocs.pm/elixir/Port.html)
- [... | 560dcec4a12ffe4580055ddf67f916a149d3b185 | README.md | README.md | Markdown |
<|file_sep|>telostats/stations/models.py.diff
original:
updated:
def __unicode__(self):
return self.name
<|file_sep|>original/telostats/stations/models.py
from django.db import models
from django.utils import timezone
class Station(models.Model):
id = models.IntegerField(unique=True, primary_key=Tru... | id = models.IntegerField(unique=True, primary_key=True)
name = models.CharField(u'name', max_length=100)
longitude = models.FloatField(u'longitude')
latitude = models.FloatField(u'latitude')
def __unicode__(self):
return self.name
class Status(models.Model):
station = models.ForeignKe... | <|file_sep|>telostats/stations/models.py.diff
original:
updated:
def __unicode__(self):
return self.name
<|file_sep|>original/telostats/stations/models.py
from django.db import models
from django.utils import timezone
class Station(models.Model):
id = models.IntegerField(unique=True, primary_key=Tru... | 04e243aafbd08008556d83d73fbbf22e5398aab4 | telostats/stations/models.py | telostats/stations/models.py | Python |
<|file_sep|>original/package.json
{
"name": "rollup-plugin-copy",
"version": "0.2.4",
"description": "Simple rollup plugin to copy static assets over to you public directory",
"main": "index.js",
"repository": "https://github.com/meuter/rollup-plugin-copy.git",
"scripts": {},
"keywords": [
"rollup",
... | "version": "0.2.4",
"description": "Simple rollup plugin to copy static assets over to you public directory",
"main": "index.js",
"repository": "https://github.com/meuter/rollup-plugin-copy.git",
"scripts": {},
"keywords": [
"rollup",
"copy",
"plugin",
"rollup-plugin"
],
"author": "Cédri... | <|file_sep|>original/package.json
{
"name": "rollup-plugin-copy",
"version": "0.2.4",
"description": "Simple rollup plugin to copy static assets over to you public directory",
"main": "index.js",
"repository": "https://github.com/meuter/rollup-plugin-copy.git",
"scripts": {},
"keywords": [
"rollup",
... | 41e34d904a8edf0b45675b18292c98b00948804e | package.json | package.json | JSON |
<|file_sep|>requirements-test.txt.diff
original:
isort
flake8
updated:
<|file_sep|>original/requirements-test.txt
nose
coverage
coveralls
isort
flake8
sphinx
sphinx_rtd_theme
# commit message style check
openwisp-utils>=0.2.1
<|file_sep|>current/requirements-test.txt
nose
coverage
coveralls
sphinx
sphinx_rtd_theme
# c... | nose
coverage
coveralls
sphinx
sphinx_rtd_theme
# commit message style check
openwisp-utils[qa]>=0.2.1 | <|file_sep|>requirements-test.txt.diff
original:
isort
flake8
updated:
<|file_sep|>original/requirements-test.txt
nose
coverage
coveralls
isort
flake8
sphinx
sphinx_rtd_theme
# commit message style check
openwisp-utils>=0.2.1
<|file_sep|>current/requirements-test.txt
nose
coverage
coveralls
sphinx
sphinx_rtd_theme
# c... | 1bc2396cd4319ae3e92d5d5df7da0da244168c96 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>src/css/components/_tags.scss.diff
original:
padding: 0.1em 0.5em;
padding-left: 1.3em;
updated:
padding: 0.1em 0.8em 0.1em 1.1em;
<|file_sep|>original/src/css/components/_tags.scss
& > a {
color: var(--color-text);
}
&::after {
border-color: var(--color-text);
}
}... | color: var(--color-text);
}
&::after {
border-color: var(--color-text);
}
}
&::after {
content: "";
display: block;
position: absolute;
top: 50%;
top: calc(50% - 2px);
left: 6px;
width: 4px;
height: 4px;
border: 1px solid var(--color-text-light);
bor... | <|file_sep|>src/css/components/_tags.scss.diff
original:
padding: 0.1em 0.5em;
padding-left: 1.3em;
updated:
padding: 0.1em 0.8em 0.1em 1.1em;
<|file_sep|>original/src/css/components/_tags.scss
& > a {
color: var(--color-text);
}
&::after {
border-color: var(--color-text);
}
}... | e2974fd5ce87dcf38e84937e20783cc75afb9c56 | src/css/components/_tags.scss | src/css/components/_tags.scss | SCSS |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.4"
before_script:
- cd test/rails_app/
- bundle exec rake db:migrate db:fixtures:load
script:
- bundle exec rake test
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.4"
before_script:
- cd test/rails_app/
- bundle exec rake db:migrate ... | language: ruby
rvm:
- "2.1.4"
before_script:
- cd test/rails_app/
- bundle exec rake db:migrate db:fixtures:load
- cd ../..
script:
- bundle exec rake test | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.4"
before_script:
- cd test/rails_app/
- bundle exec rake db:migrate db:fixtures:load
script:
- bundle exec rake test
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.4"
before_script:
- cd test/rails_app/
- bundle exec rake db:migrate ... | 3c2efc48484f40202c9630cefa70a7ed393c9a48 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
====================
android-gps-emulator is a GPS location emulator for changing/setting/simulating the GPS location of the Android emulator through a simple map-based interface, using the geo fix command.
Using GWT and Google Maps in combination with [JTA (Java telnet support)](http:/... | 1. Download the [latest release](https://github.com/dpdearing/android-gps-emulator/releases/latest)
2. Run the executable war: **`java -jar android-gps-emulator-0.2.war`**
3. http://localhost:8080/gpsemulator/

GWT H... | <|file_sep|>original/README.md
====================
android-gps-emulator is a GPS location emulator for changing/setting/simulating the GPS location of the Android emulator through a simple map-based interface, using the geo fix command.
Using GWT and Google Maps in combination with [JTA (Java telnet support)](http:/... | d83491e991763eb9f837555e404b7c6d4b2c40a6 | README.md | README.md | Markdown |
<|file_sep|>original/recipes/concepts/meta.yaml
<|file_sep|>current/recipes/concepts/meta.yaml
<|file_sep|>updated/recipes/concepts/meta.yaml | {% set name = "concepts" %}
{% set version = "0.9.2" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.zip"
sha256: 8bbfa9ffdf89cc6e13c79a902474086797500b31d043604aa1d63bfe5faada2c
build:
number: 0
... | <|file_sep|>original/recipes/concepts/meta.yaml
<|file_sep|>current/recipes/concepts/meta.yaml
<|file_sep|>updated/recipes/concepts/meta.yaml
{% set name = "concepts" %}
{% set version = "0.9.2" %}
package:
name: "{{ name|lower }}"
version: "{{ version }}"
source:
url: "https://pypi.io/packages/source/{{ name... | 2c885a0ae70d26d2743f1763f9679a5d3ca36a5f | recipes/concepts/meta.yaml | recipes/concepts/meta.yaml | YAML |
<|file_sep|>original/src/CLAHE_dir.py
<|file_sep|>current/src/CLAHE_dir.py
<|file_sep|>updated/src/CLAHE_dir.py | from PIL import Image
import numpy as np
import h5py
import os
import sys
import cv2
# Maybe consider implemeting more involved auto-balancing
# http://wiki.cmci.info/documents/120206pyip_cooking/python_imagej_cookbook#automatic_brightnesscontrast_button
def apply_clahe_to_H5(fn, clahe):
f = h5py.File(fn, "r+")
img... | <|file_sep|>original/src/CLAHE_dir.py
<|file_sep|>current/src/CLAHE_dir.py
<|file_sep|>updated/src/CLAHE_dir.py
from PIL import Image
import numpy as np
import h5py
import os
import sys
import cv2
# Maybe consider implemeting more involved auto-balancing
# http://wiki.cmci.info/documents/120206pyip_cooking/python_im... | 5eefc407b8f51c017a3f4193c88f6dc188a88601 | src/CLAHE_dir.py | src/CLAHE_dir.py | Python |
<|file_sep|>original/appveyor.yml
init:
- git config --global core.autocrlf false
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
install:
- npm install
before_test:
- npm run babel
test:
- npm run lint
- npm test
build: off
deploy: off
<|file_sep|>current/appveyor.yml
init:
- ... | init:
- git config --global core.autocrlf false
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
install:
- npm install
before_test:
- npm run babel
test_script:
- npm run lint
- npm test
build: off
deploy: off | <|file_sep|>original/appveyor.yml
init:
- git config --global core.autocrlf false
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
install:
- npm install
before_test:
- npm run babel
test:
- npm run lint
- npm test
build: off
deploy: off
<|file_sep|>current/appveyor.yml
init:
- ... | 2d730485fc33886420eb9113998232ba0ee560c1 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/src/console.php
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
$console = new Application('My Silex Application', 'n/a');
$console->register( 'shift' )
->setDefinition( array(/*Add all option... | $console = new Application('My Silex Application', 'n/a');
$console->register( 'shift' )
->setDefinition( array(/*Add all options*/) )
->setDescription('Shift the item in the playlist to pass to the next song')
->setHelp('Usage: <info>./console.php sync [--test]</info>')
->setCode(
function(InputInterface... | <|file_sep|>original/src/console.php
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
$console = new Application('My Silex Application', 'n/a');
$console->register( 'shift' )
->setDefinition( array(/*Add all option... | 59d2421c534ed3a9cf4fbd93604df6e5bfd7b6ac | src/console.php | src/console.php | PHP |
<|file_sep|>original/composer.json
"homepage": "https://github.com/ultraleettech/"
}
],
"require": {
"php": ">=5.6.0",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0|~6.0",
"mockery/mockery": "^0.9.9",
"illuminate/supp... | "homepage": "https://github.com/ultraleettech/"
}
],
"require": {
"php": ">=5.6.0",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0|~6.0",
"mockery/mockery": "^0.9.9",
"illuminate/support": "^5.4"
},
"autoload":... | <|file_sep|>original/composer.json
"homepage": "https://github.com/ultraleettech/"
}
],
"require": {
"php": ">=5.6.0",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"phpunit/phpunit": "~5.0|~6.0",
"mockery/mockery": "^0.9.9",
"illuminate/supp... | 6d473bb1b5959474a0837a052125e5abf228d1a8 | composer.json | composer.json | JSON |
<|file_sep|>original/chef-provider-service-daemontools.gemspec
Gem::Specification.new do |spec|
spec.name = "chef-provider-service-daemontools"
spec.version = Chef::Provider::Service::Daemontools::VERSION
spec.authors = ["HIROSE Masaaki"]
spec.email = ["hirose31@gmail.com"]
spec.... |
Gem::Specification.new do |spec|
spec.name = "chef-provider-service-daemontools"
spec.version = Chef::Provider::Service::Daemontools::VERSION
spec.authors = ["HIROSE Masaaki"]
spec.email = ["hirose31@gmail.com"]
spec.summary = %q{Chef's provider to manage service under daem... | <|file_sep|>original/chef-provider-service-daemontools.gemspec
Gem::Specification.new do |spec|
spec.name = "chef-provider-service-daemontools"
spec.version = Chef::Provider::Service::Daemontools::VERSION
spec.authors = ["HIROSE Masaaki"]
spec.email = ["hirose31@gmail.com"]
spec.... | a44cfc0b4d5dc6559914d679b101b5276251362c | chef-provider-service-daemontools.gemspec | chef-provider-service-daemontools.gemspec | Ruby |
<|file_sep|>original/lib/ci/api/api.rb
message = "\n#{exception.class} (#{exception.message}):\n"
message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code)
message << " " << trace.join("\n ")
API.logger.add Logger::FATAL, message
rack_respon... |
message = "\n#{exception.class} (#{exception.message}):\n"
message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code)
message << " " << trace.join("\n ")
API.logger.add Logger::FATAL, message
rack_response({ 'message' => '500 Internal Server ... | <|file_sep|>original/lib/ci/api/api.rb
message = "\n#{exception.class} (#{exception.message}):\n"
message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code)
message << " " << trace.join("\n ")
API.logger.add Logger::FATAL, message
rack_respon... | 5ea32ba4982aef37f2a43b0324d45033992a9a60 | lib/ci/api/api.rb | lib/ci/api/api.rb | Ruby |
<|file_sep|>original/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/VideoShortcodePlugin.kt
package org.wordpress.aztec.plugins.shortcodes
import org.wordpress.aztec.plugins.html2visual.IHtmlPreprocessor
import org.wordpress.aztec.plugins.visual2html.IHtmlPostprocessor
class VideoShortcodeP... | package org.wordpress.aztec.plugins.shortcodes
import org.wordpress.aztec.plugins.html2visual.IHtmlPreprocessor
import org.wordpress.aztec.plugins.visual2html.IHtmlPostprocessor
class VideoShortcodePlugin : IHtmlPreprocessor, IHtmlPostprocessor {
private val TAG = "video"
override fun processHtmlBeforeParsi... | <|file_sep|>original/wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/VideoShortcodePlugin.kt
package org.wordpress.aztec.plugins.shortcodes
import org.wordpress.aztec.plugins.html2visual.IHtmlPreprocessor
import org.wordpress.aztec.plugins.visual2html.IHtmlPostprocessor
class VideoShortcodeP... | 0ee3427092052d963fb836a9f8215a7a4f5d8bfa | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/VideoShortcodePlugin.kt | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/VideoShortcodePlugin.kt | Kotlin |
<|file_sep|>original/install.sh
brew bundle
# Make ZSH the default shell environment
chsh -s $(which zsh)
# Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Install global Composer packages
/usr/local/bin/composer global require laravel/installer laravel/lu... | brew bundle
# Make ZSH the default shell environment
chsh -s $(which zsh)
# Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Install global Composer packages
/usr/local/bin/composer global require laravel/installer laravel/lumen-installer laravel/valet tigh... | <|file_sep|>original/install.sh
brew bundle
# Make ZSH the default shell environment
chsh -s $(which zsh)
# Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
# Install global Composer packages
/usr/local/bin/composer global require laravel/installer laravel/lu... | eb3841c5359a598006f44e79fd7b6b51cdf42405 | install.sh | install.sh | Shell |
<|file_sep|>TGF.pm.diff
original:
my $vert_hr = {};
updated:
<|file_sep|>TGF.pm.diff
original:
$graph->add_vertex($vertex_label);
$vert_hr->{$id} = $vertex_label;
updated:
$graph->add_vertex($id);
$graph->set_vertex_attribute($id, 'label', $vertex_label);
<|file_sep|>original/TGF.pm
next;
}
# Vert... |
# Vertexes.
if ($vertexes) {
my ($id, $vertex_label) = split m/\s+/ms, $line, 2;
$graph->add_vertex($id);
$graph->set_vertex_attribute($id, 'label', $vertex_label);
# Edges.
} else {
my ($id1, $id2, $edge_label) = split m/\s+/ms, $line, 3;
$graph->add_edge($id1, $id2);
$graph->set_edge_attri... | <|file_sep|>TGF.pm.diff
original:
my $vert_hr = {};
updated:
<|file_sep|>TGF.pm.diff
original:
$graph->add_vertex($vertex_label);
$vert_hr->{$id} = $vertex_label;
updated:
$graph->add_vertex($id);
$graph->set_vertex_attribute($id, 'label', $vertex_label);
<|file_sep|>original/TGF.pm
next;
}
# Vert... | 12b4dbd651e0bc9077c8a49c868a3cacaa5f2529 | TGF.pm | TGF.pm | Perl |
<|file_sep|>original/parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java
package org.parallelj.ssh.publickey;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IO ... | package org.parallelj.ssh.publickey;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IO {
private IO() {
}
public static byte[] readAsBytes(InputStream in) throws IOException {
return read(in).toB... | <|file_sep|>original/parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java
package org.parallelj.ssh.publickey;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IO ... | 69a6224ae74d7dcb4667820f5c24cab57ab61796 | parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java | parallelj-extensions/parallelj-ssh-publickey/src/main/java/org/parallelj/ssh/publickey/IO.java | Java |
<|file_sep|>original/app/controllers/users_controller.rb
class UserController < ApplicationController
def index
@users = User.all
end
def create
user = User.new(user_params)
if user.save
session[:user_id] = user.id
redirect_to user_path(user)
else
flash[:user_create_error] = us... | class UsersController < ApplicationController
def index
@users = User.all
end
def create
user = User.new(user_params)
if user.save
session[:user_id] = user.id
redirect_to user_path(user)
else
flash[:user_create_error] = user.errors.full_messages.to_sentence
render :new
... | <|file_sep|>original/app/controllers/users_controller.rb
class UserController < ApplicationController
def index
@users = User.all
end
def create
user = User.new(user_params)
if user.save
session[:user_id] = user.id
redirect_to user_path(user)
else
flash[:user_create_error] = us... | c1328caa46e11a6311d4a924edf8472ec9fc1917 | app/controllers/users_controller.rb | app/controllers/users_controller.rb | Ruby |
<|file_sep|>app/main/createWindow/toggleWindow.js.diff
original:
updated:
import { app } from 'electron'
<|file_sep|>original/app/main/createWindow/toggleWindow.js
/**
* Show or hide main window
* @return {BrowserWindow} appWindow
*/
export default (appWindow) => {
if (appWindow.isVisible()) {
appWindow.hide... | import { app } from 'electron'
/**
* Show or hide main window
* @return {BrowserWindow} appWindow
*/
export default (appWindow) => {
if (appWindow.isVisible()) {
appWindow.hide()
app.hide()
} else {
appWindow.show()
appWindow.focus()
}
} | <|file_sep|>app/main/createWindow/toggleWindow.js.diff
original:
updated:
import { app } from 'electron'
<|file_sep|>original/app/main/createWindow/toggleWindow.js
/**
* Show or hide main window
* @return {BrowserWindow} appWindow
*/
export default (appWindow) => {
if (appWindow.isVisible()) {
appWindow.hide... | 2585ee60ba74c0a31f6893ca259d138b838abbf2 | app/main/createWindow/toggleWindow.js | app/main/createWindow/toggleWindow.js | JavaScript |
<|file_sep|>original/web/app/views/achievement/dailyBox/list.blade.php
<li>
{{ $achievement->achievement->link(32, null, $achievement->name[$language]) }}
<span class="daily-box__level">
@if(!is_null($achievement->level) && $type !== 'fractals')
... | <li>
{{ $achievement->achievement->link(32, null, $achievement->name[$language]) }}
<span class="daily-box__level">
@if(!is_null($achievement->level) && $type !== 'fractals')
@lang('achievement.daily.level', [
... | <|file_sep|>original/web/app/views/achievement/dailyBox/list.blade.php
<li>
{{ $achievement->achievement->link(32, null, $achievement->name[$language]) }}
<span class="daily-box__level">
@if(!is_null($achievement->level) && $type !== 'fractals')
... | e9b96156ac75b33a4b4830c061d6c394daffa483 | web/app/views/achievement/dailyBox/list.blade.php | web/app/views/achievement/dailyBox/list.blade.php | PHP |
<|file_sep|>original/singleuser/user-config.py
import os
mylang = 'test'
family = 'wikipedia'
# Not defining any extra variables here at all since that causes pywikibot
# to issue a warning about potential misspellings
if os.path.exists(os.path.expanduser('~/user-config.py')):
with open(os.path.expanduser('~/use... | import os
mylang = 'test'
family = 'wikipedia'
custom_path = os.path.expanduser('~/user-config.py')
if os.path.exists(custom_path):
with open(custom_path, 'r') as f:
exec(compile(f.read(), custom_path, 'exec'), globals())
# Things that should be non-easily-overridable
usernames['*']['*'] = os.environ['J... | <|file_sep|>original/singleuser/user-config.py
import os
mylang = 'test'
family = 'wikipedia'
# Not defining any extra variables here at all since that causes pywikibot
# to issue a warning about potential misspellings
if os.path.exists(os.path.expanduser('~/user-config.py')):
with open(os.path.expanduser('~/use... | 2f152c5036d32a780741edd8fb6ce75684728824 | singleuser/user-config.py | singleuser/user-config.py | Python |
<|file_sep|>original/config/repository.yml
# Cloud Foundry Java Buildpack
# Copyright 2013-2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:/... | # Cloud Foundry Java Buildpack
# Copyright 2013-2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Un... | <|file_sep|>original/config/repository.yml
# Cloud Foundry Java Buildpack
# Copyright 2013-2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:/... | 24bed25edd436530ef59f864caf13c09f26d123c | config/repository.yml | config/repository.yml | YAML |
<|file_sep|>original/requirements.txt
coreapi==2.3.1
Django==1.11.1
django-rest-swagger==2.1.2
django-taggit==0.22.1
django-taggit-serializer==0.1.5
django-webpack-loader==0.5.0
djangorestframework==3.6.3
djangorestframework-jwt==1.10.0
freezegun==0.3.9
itypes==1.1.0
openapi-codec==1.3.1
psycopg2==2.7.1
PyJWT==1.5.0
py... | coreapi==2.3.1
Django==1.11.1
django-rest-swagger==2.1.2
django-taggit==0.22.1
django-taggit-serializer==0.1.5
django-webpack-loader==0.5.0
djangorestframework==3.6.3
djangorestframework-jwt==1.10.0
freezegun==0.3.9
itypes==1.1.0
openapi-codec==1.3.1
psycopg2==2.7.1
PyJWT==1.5.0
python-dateutil==2.6.0
requests==2.17.0
... | <|file_sep|>original/requirements.txt
coreapi==2.3.1
Django==1.11.1
django-rest-swagger==2.1.2
django-taggit==0.22.1
django-taggit-serializer==0.1.5
django-webpack-loader==0.5.0
djangorestframework==3.6.3
djangorestframework-jwt==1.10.0
freezegun==0.3.9
itypes==1.1.0
openapi-codec==1.3.1
psycopg2==2.7.1
PyJWT==1.5.0
py... | 5c64230f4553ccddaa5d8d41d8c7104f213c819b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/web/index.html
<title>OmnyPayPlatform API Specification</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
ReDoc uses font options from the parent element
So override default browser styles
-->
<styl... | <title>OmnyPayPlatform API Specification</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
ReDoc uses font options from the parent element
So override default browser styles
-->
<style>
body {
margin: 0;
... | <|file_sep|>original/web/index.html
<title>OmnyPayPlatform API Specification</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
ReDoc uses font options from the parent element
So override default browser styles
-->
<styl... | 9904bd15520f91a083306e07968868458dd2254c | web/index.html | web/index.html | HTML |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
project(CheeseBase CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${C... | cmake_minimum_required(VERSION 3.1)
project(CheeseBase CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Boost COMPONENTS thread REQUIRED)
include_directories(
src
external/GSL/include
${Boost_INCLUDE_DIRS}
)
add_subdirectory(src)
option(TESTS "compile unit tests" OFF)
if(TESTS... | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
project(CheeseBase CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${C... | a9942408f87428f091988f14e6d44d03ee3dccf3 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/mix.exs
# and cannot be accessed from applications inside the apps/ folder.
defp deps do
[]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the... | defp deps do
[]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the documentation for `Mix` for more info on aliases.
#
# Aliases listed here are available only f... | <|file_sep|>original/mix.exs
# and cannot be accessed from applications inside the apps/ folder.
defp deps do
[]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the... | 4e4d349de5c89f8d29f883fbf2c539712a45713a | mix.exs | mix.exs | Elixir |
<|file_sep|>original/gobject/gobject-autocleanups.h
* License as published by the Free Software Foundation; either
* version 2 of the licence, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
... | * version 2 of the licence, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more detai... | <|file_sep|>original/gobject/gobject-autocleanups.h
* License as published by the Free Software Foundation; either
* version 2 of the licence, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
... | 5e994b1e9ba0ddbd27773825cb8bfe30ee2e69d2 | gobject/gobject-autocleanups.h | gobject/gobject-autocleanups.h | C |
<|file_sep|>original/README.md
Small JavaScript library installing tab and floating window to show external service
## Use Case
* You are providing some SaaS in the Internet
* You want to allow your user to install some snippet on their sites to have floating tab on a side and open embedded floating window with your ... | * Host modified JS on you SaaS
* Provide your users with information how to install
## Main Requirements
* Library should use pure javascript, because services derived from it can be installed on sites without JQuery support
* Window should load service through IFRAME
* Window should be resizable and dragable
* Libr... | <|file_sep|>original/README.md
Small JavaScript library installing tab and floating window to show external service
## Use Case
* You are providing some SaaS in the Internet
* You want to allow your user to install some snippet on their sites to have floating tab on a side and open embedded floating window with your ... | 46970344c947299f8fa66da47209e2c8bb79cfdb | README.md | README.md | Markdown |
<|file_sep|>original/vendor/extensions/clipped-extension/lib/clipped/engine.rb
require 'acts_as_list'
require 'uuidtools'
require 'trusty_cms_clipped_extension/cloud'
require 'paperclip'
require 'will_paginate/array'
module Clipped
class Engine < Rails::Engine
paths["app/helpers"] = []
end
end
<|file_sep|>curr... | require 'acts_as_list'
require 'uuidtools'
require 'trusty_cms_clipped_extension/cloud'
require 'active_storage/engine'
require 'will_paginate/array'
module Clipped
class Engine < Rails::Engine
paths["app/helpers"] = []
end
end | <|file_sep|>original/vendor/extensions/clipped-extension/lib/clipped/engine.rb
require 'acts_as_list'
require 'uuidtools'
require 'trusty_cms_clipped_extension/cloud'
require 'paperclip'
require 'will_paginate/array'
module Clipped
class Engine < Rails::Engine
paths["app/helpers"] = []
end
end
<|file_sep|>curr... | d935d85e9c8e72410f49e436f35770498ee4b9ff | vendor/extensions/clipped-extension/lib/clipped/engine.rb | vendor/extensions/clipped-extension/lib/clipped/engine.rb | Ruby |
<|file_sep|>assets/stylesheets/scss/objects/_objects.icons.scss.diff
original:
margin-right: .25em;
updated:
margin-right: .4em;
<|file_sep|>original/assets/stylesheets/scss/objects/_objects.icons.scss
width: 1em;
height: 1em;
margin-top: -.1em;
// fill: currentColor; // Cascading svg fill color (https://... | width: 1em;
height: 1em;
margin-top: -.1em;
// fill: currentColor; // Cascading svg fill color (https://css-tricks.com/cascading-svg-fill-color/)
// stroke: currentColor; // Cascading svg stroke color
}
&--left {
> svg {
margin-right: .4em;
}
}
&--right {
> svg {
margin-left: .4em;
}
}
... | <|file_sep|>assets/stylesheets/scss/objects/_objects.icons.scss.diff
original:
margin-right: .25em;
updated:
margin-right: .4em;
<|file_sep|>original/assets/stylesheets/scss/objects/_objects.icons.scss
width: 1em;
height: 1em;
margin-top: -.1em;
// fill: currentColor; // Cascading svg fill color (https://... | 646b01714ba20bdfd133a53f5726dce7381eeb96 | assets/stylesheets/scss/objects/_objects.icons.scss | assets/stylesheets/scss/objects/_objects.icons.scss | SCSS |
<|file_sep|>original/lib/enums.js
/** @enum {string} The CRUD Ops types */
enums.CrudOps = {
CREATE: 'create',
READ: 'read',
READ_ONE: 'readOne',
PAGINATE: 'paginate',
UPDATE: 'update',
DELETE: 'delete',
};
/** @enum {number} HTTP Codes Used by CRUDE */
enums.HttpCode = {
OK: 200,
CREATED: 201,
BAD_... | /** @enum {string} The CRUD Ops types */
enums.CrudOps = {
CREATE: 'create',
READ: 'read',
READ_ONE: 'readOne',
PAGINATE: 'paginate',
UPDATE: 'update',
DELETE: 'delete',
};
/** @enum {number} HTTP Codes Used by CRUDE */
enums.HttpCode = {
OK: 200,
CREATED: 201,
NO_CONTENT: 204,
BAD_REQUEST: 400,
... | <|file_sep|>original/lib/enums.js
/** @enum {string} The CRUD Ops types */
enums.CrudOps = {
CREATE: 'create',
READ: 'read',
READ_ONE: 'readOne',
PAGINATE: 'paginate',
UPDATE: 'update',
DELETE: 'delete',
};
/** @enum {number} HTTP Codes Used by CRUDE */
enums.HttpCode = {
OK: 200,
CREATED: 201,
BAD_... | eb34e587c8d29064e0cbc02b139aa64345be58f8 | lib/enums.js | lib/enums.js | JavaScript |
<|file_sep|>original/.travis.yml
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for t... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
lan... | <|file_sep|>original/.travis.yml
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for t... | a7b06d6250e972fc14e14504c35042a84410a2e5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/project/requirements/base.txt
# Bleeding edge Django
django==1.8.5
Jinja2==2.9.6
django-jinja==2.3.0
markupsafe==0.23
# Configuration
django-environ==0.4.1
django-secure==1.0.1
whitenoise==3.2.2
# Forms
django-braces==1.10.0
django-crispy-forms==1.6.1
django-floppyforms==1.7.0
# Models
django-mo... | # Bleeding edge Django
django==1.8.5
Jinja2==2.9.6
django-jinja==2.3.0
markupsafe==1.0
# Configuration
django-environ==0.4.1
django-secure==1.0.1
whitenoise==3.2.2
# Forms
django-braces==1.10.0
django-crispy-forms==1.6.1
django-floppyforms==1.7.0
# Models
django-model-utils==2.6
# Images
Pillow==3.4.2 | <|file_sep|>original/project/requirements/base.txt
# Bleeding edge Django
django==1.8.5
Jinja2==2.9.6
django-jinja==2.3.0
markupsafe==0.23
# Configuration
django-environ==0.4.1
django-secure==1.0.1
whitenoise==3.2.2
# Forms
django-braces==1.10.0
django-crispy-forms==1.6.1
django-floppyforms==1.7.0
# Models
django-mo... | 613abdfbcc986d9686f7482cbf13de7cfe346575 | project/requirements/base.txt | project/requirements/base.txt | Text |
<|file_sep|>test/Test/Spec/GeneratorSpec.purs.diff
original:
updated:
import Debug.Trace
<|file_sep|>test/Test/Spec/GeneratorSpec.purs.diff
original:
import Debug.Trace
updated:
import Control.Monad.State (State(), evalState)
import Data.Maybe (Maybe(..))
import Data.List (List(..), toList)
<|file_sep|>original/test/T... | import qualified Docopt.Parser.Lexer as Lexer
import qualified Docopt.Parser.Scanner as Scanner
import Docopt.Parser.Base (debug)
import Test.Assert (assert)
import Test.Spec (describe, it)
import Test.Spec.Reporter.Console (consoleReporter)
import Test.Assert.Simple
import Test.Support (vliftEff, runMaybeEff, runEith... | <|file_sep|>test/Test/Spec/GeneratorSpec.purs.diff
original:
updated:
import Debug.Trace
<|file_sep|>test/Test/Spec/GeneratorSpec.purs.diff
original:
import Debug.Trace
updated:
import Control.Monad.State (State(), evalState)
import Data.Maybe (Maybe(..))
import Data.List (List(..), toList)
<|file_sep|>original/test/T... | c6cf66222fba4b6c563f3b606ab7ff7956e3ce70 | test/Test/Spec/GeneratorSpec.purs | test/Test/Spec/GeneratorSpec.purs | PureScript |
<|file_sep|>original/linux/change_gamma.md
<|file_sep|>current/linux/change_gamma.md
<|file_sep|>updated/linux/change_gamma.md | # Linux Change Gamma / Contrast
`#http://askubuntu.com/questions/91195/how-do-i-adjust-the-screen-contrast`
open a terminal and type:
`xgamma -gamma 1.0`
`#1.0 is default`
`#higher than 1 (e.g. 1.25) increases white`
`#lower than 1 increases dark` | <|file_sep|>original/linux/change_gamma.md
<|file_sep|>current/linux/change_gamma.md
<|file_sep|>updated/linux/change_gamma.md
# Linux Change Gamma / Contrast
`#http://askubuntu.com/questions/91195/how-do-i-adjust-the-screen-contrast`
open a terminal and type:
`xgamma -gamma 1.0`
`#1.0 is default`
`#higher than 1 (... | 403186277882591ce2ff90e3d2926ceeb6898b70 | linux/change_gamma.md | linux/change_gamma.md | Markdown |
<|file_sep|>app/styles/components/user/skills-list.scss.diff
original:
align-items: flex-start;
display: flex;
updated:
<|file_sep|>app/styles/components/user/skills-list.scss.diff
original:
updated:
display: inline-block;
<|file_sep|>original/app/styles/components/user/skills-list.scss
.user__skills-li... | .user__skills-list {
ul {
margin-top: 10px;
li {
background: #E8EBED;
border-radius: 2px;
color: #333;
display: inline-block;
font-weight: 600;
margin: 0 3px 5px 0;
padding: 4px 7px;
}
}
} | <|file_sep|>app/styles/components/user/skills-list.scss.diff
original:
align-items: flex-start;
display: flex;
updated:
<|file_sep|>app/styles/components/user/skills-list.scss.diff
original:
updated:
display: inline-block;
<|file_sep|>original/app/styles/components/user/skills-list.scss
.user__skills-li... | 4a6e1615894f998d8e286e26f8fd27371d0a103a | app/styles/components/user/skills-list.scss | app/styles/components/user/skills-list.scss | SCSS |
<|file_sep|>original/app/views/udl_module_sections/_edit_form.html.erb
<%= form_for([@udl_module, @udl_module_section], url: udl_module_section_path(@udl_module, @udl_module_section)) do |f| %>
<div class="field">
<%= f.cktext_area :content %>
</div>
<% end %>
<|file_sep|>current/app/views/udl_module_sections... | <%= form_for([@udl_module, @udl_module_section], url: udl_module_section_path(@udl_module, @udl_module_section)) do |f| %>
<div class="field">
<%= f.cktext_area :content %>
</div>
<div class="actions">
<p>
<%= button_tag(
type: 'submit',
class: 'create-button'
) do
... | <|file_sep|>original/app/views/udl_module_sections/_edit_form.html.erb
<%= form_for([@udl_module, @udl_module_section], url: udl_module_section_path(@udl_module, @udl_module_section)) do |f| %>
<div class="field">
<%= f.cktext_area :content %>
</div>
<% end %>
<|file_sep|>current/app/views/udl_module_sections... | 9179112c38dee4fd3e592fe98659cb9049a6589c | app/views/udl_module_sections/_edit_form.html.erb | app/views/udl_module_sections/_edit_form.html.erb | HTML+ERB |
<|file_sep|>original/app/models/drawing.rb
validates :image, presence: true
validates :status, presence: true
with_options if: :complete? do |complete|
complete.validates :description, presence: true
complete.validates :subject_matter, presence: true
complete.validates :mood_rating, presence: true
... | with_options if: :complete? do |complete|
complete.validates :description, presence: true
complete.validates :subject_matter, presence: true
complete.validates :mood_rating, presence: true
complete.validates :country, presence: true
end
validates :age, numericality: { only_integer: true }, allow_... | <|file_sep|>original/app/models/drawing.rb
validates :image, presence: true
validates :status, presence: true
with_options if: :complete? do |complete|
complete.validates :description, presence: true
complete.validates :subject_matter, presence: true
complete.validates :mood_rating, presence: true
... | db4a202a7277dfe9f85035cc0ec3e2f3fbdada50 | app/models/drawing.rb | app/models/drawing.rb | Ruby |
<|file_sep|>original/app/services/facebook.js
let messageData = {
attachment: {
type: 'template',
payload: {
template_type: 'generic',
elements: [
{
title: 'Test',
image_url: meta.image,
subtitle: 'te... | let messageData = {
attachment: {
type: 'template',
payload: {
template_type: 'generic',
elements: [
{
title: 'Test',
image_url: meta.image,
subtitle: 'test',
buttons: [{
... | <|file_sep|>original/app/services/facebook.js
let messageData = {
attachment: {
type: 'template',
payload: {
template_type: 'generic',
elements: [
{
title: 'Test',
image_url: meta.image,
subtitle: 'te... | 049dd10b45d01f1e9b794342dad4335e84019745 | app/services/facebook.js | app/services/facebook.js | JavaScript |
<|file_sep|>app/src/main/res/layout/list_daymenu_type.xml.diff
original:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
updated:
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<|fil... | xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="40dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textViewName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android... | <|file_sep|>app/src/main/res/layout/list_daymenu_type.xml.diff
original:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
updated:
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<|fil... | a566e8043027a833907ffa6ad6a870b8219eef1c | app/src/main/res/layout/list_daymenu_type.xml | app/src/main/res/layout/list_daymenu_type.xml | XML |
<|file_sep|>composer.json.diff
original:
"repositories": [
{
"type": "git",
"url": "https://github.com/jacobalberty/php-closure-compiler.git"
}
],
updated:
<|file_sep|>original/composer.json
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [... | "minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Pearly\\": "src/Pearly"
},
"classmap": [
"src/Http.php",
"src/Html.php"
],
"files": [ "src/functions.inc.php" ]
},
"require": {
"ph... | <|file_sep|>composer.json.diff
original:
"repositories": [
{
"type": "git",
"url": "https://github.com/jacobalberty/php-closure-compiler.git"
}
],
updated:
<|file_sep|>original/composer.json
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [... | 060d3851997029b56ff9b1e9d0425ffe442b965a | composer.json | composer.json | JSON |
<|file_sep|>original/gnu/usr.bin/man/man/Makefile
PROG= man
SRCS= man.c manpath.c glob.c
BINMODE=4555
BINOWN= man
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
CFLAGS+= -I${.CURDIR}/../lib/obj
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
.if exists(${.CURDIR}/obj)
MAN1= ${.CURDIR}/obj/m... | PROG= man
SRCS= man.c manpath.c glob.c
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
CFLAGS+= -I${.CURDIR}/../lib/obj
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
.if exists(${.CURDIR}/obj)
MAN1= ${.CURDIR}/obj/man.1
.else
MAN1= ${.CURDIR}/man.1
.endif
DPADD+= ${MAN1}
CFLAGS+= -I${.... | <|file_sep|>original/gnu/usr.bin/man/man/Makefile
PROG= man
SRCS= man.c manpath.c glob.c
BINMODE=4555
BINOWN= man
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
CFLAGS+= -I${.CURDIR}/../lib/obj
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
.if exists(${.CURDIR}/obj)
MAN1= ${.CURDIR}/obj/m... | 3c5660b06a11bcb2033a9b82f96ed3f6968bfc06 | gnu/usr.bin/man/man/Makefile | gnu/usr.bin/man/man/Makefile | unknown |
<|file_sep|>lib/optical/spotter.rb.diff
original:
if @controls.size > 0 && @controls[0]
updated:
if has_control?()
<|file_sep|>lib/optical/spotter.rb.diff
original:
def data_dir()
updated:
def has_control?()
@controls.size > 0 && @controls[0]
<|file_sep|>lib/optical/spotter.rb.diff
original:
updated:
... | end
private
def has_control?()
@controls.size > 0 && @controls[0]
end
end
File.exists?(spotfile_path())
File.join(@base_dir,name)
File.exists?(spotfile_path())
File.exists?(spotfile_path())
File.exists?(spotfile_path())
end
def spotfile_path()
base = File.basename(@treatments.... | <|file_sep|>lib/optical/spotter.rb.diff
original:
if @controls.size > 0 && @controls[0]
updated:
if has_control?()
<|file_sep|>lib/optical/spotter.rb.diff
original:
def data_dir()
updated:
def has_control?()
@controls.size > 0 && @controls[0]
<|file_sep|>lib/optical/spotter.rb.diff
original:
updated:
... | f2d2367a27064517a6696f9140c78cd613b600b4 | lib/optical/spotter.rb | lib/optical/spotter.rb | Ruby |
<|file_sep|>original/tests/test_integration.py
<|file_sep|>current/tests/test_integration.py
<|file_sep|>updated/tests/test_integration.py | from pandarus import intersect
import fiona
import json
import numpy as np
import os
import tempfile
dirpath = os.path.abspath(os.path.join(os.path.dirname(__file__), "data"))
grid = os.path.join(dirpath, "grid.geojson")
square = os.path.join(dirpath, "square.geojson")
range_raster = os.path.join(dirpath, "range.tif")... | <|file_sep|>original/tests/test_integration.py
<|file_sep|>current/tests/test_integration.py
<|file_sep|>updated/tests/test_integration.py
from pandarus import intersect
import fiona
import json
import numpy as np
import os
import tempfile
dirpath = os.path.abspath(os.path.join(os.path.dirname(__file__), "data"))
gr... | 28b49417a46659a2e64ee91eea497f674d42dde5 | tests/test_integration.py | tests/test_integration.py | Python |
<|file_sep|>original/doma-slf4j/build.gradle.kts
description = "doma-slf4j"
dependencies {
api("org.slf4j:slf4j-api:1.7.35")
implementation(project(":doma-core"))
testImplementation("ch.qos.logback:logback-classic:1.2.10")
}
<|file_sep|>current/doma-slf4j/build.gradle.kts
description = "doma-slf4j"
depend... | description = "doma-slf4j"
dependencies {
api("org.slf4j:slf4j-api:1.7.36")
implementation(project(":doma-core"))
testImplementation("ch.qos.logback:logback-classic:1.2.10")
} | <|file_sep|>original/doma-slf4j/build.gradle.kts
description = "doma-slf4j"
dependencies {
api("org.slf4j:slf4j-api:1.7.35")
implementation(project(":doma-core"))
testImplementation("ch.qos.logback:logback-classic:1.2.10")
}
<|file_sep|>current/doma-slf4j/build.gradle.kts
description = "doma-slf4j"
depend... | 86f46b8ae470800e3bc5f406931140a4bd48a8db | doma-slf4j/build.gradle.kts | doma-slf4j/build.gradle.kts | Kotlin |
<|file_sep|>app/controllers/dashboard_controller.rb.diff
original:
attrs = last_ride.attributes.slice(*%w{distance description is_round_trip})
updated:
attrs = last_ride.attributes.slice(*copyable_ride_attrs)
<|file_sep|>original/app/controllers/dashboard_controller.rb
class DashboardController < Applicatio... | def index
@rides = current_user.rides.first(9)
@ride = build_ride
end
private
def build_ride
if current_user.rides.any?
last_ride = current_user.rides.first
attrs = last_ride.attributes.slice(*copyable_ride_attrs)
else
attrs = {}
end
Ride.new(attrs.merge(date: Date.to... | <|file_sep|>app/controllers/dashboard_controller.rb.diff
original:
attrs = last_ride.attributes.slice(*%w{distance description is_round_trip})
updated:
attrs = last_ride.attributes.slice(*copyable_ride_attrs)
<|file_sep|>original/app/controllers/dashboard_controller.rb
class DashboardController < Applicatio... | ac1d68ae5980b8d483a6ae23da8a781ff6577812 | app/controllers/dashboard_controller.rb | app/controllers/dashboard_controller.rb | Ruby |
<|file_sep|>original/MultiMiner.Win/Extensions/TimeIntervalExtensions.cs
{
case ApplicationConfiguration.TimerInterval.FiveMinutes:
coinStatsMinutes = 5;
break;
case ApplicationConfiguration.TimerInterval.ThirtyMinutes:
... | {
case ApplicationConfiguration.TimerInterval.FiveMinutes:
coinStatsMinutes = 5;
break;
case ApplicationConfiguration.TimerInterval.ThirtyMinutes:
coinStatsMinutes = 30;
break;
cas... | <|file_sep|>original/MultiMiner.Win/Extensions/TimeIntervalExtensions.cs
{
case ApplicationConfiguration.TimerInterval.FiveMinutes:
coinStatsMinutes = 5;
break;
case ApplicationConfiguration.TimerInterval.ThirtyMinutes:
... | fdee45a5d4396adbd9fb96fa2e488fbc39657924 | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | C# |
<|file_sep|>lib/mock/duration.js.diff
original:
"at": function(when, method) {
updated:
"at": function(when, method, ...args) {
<|file_sep|>original/lib/mock/duration.js
let allTicks = Promise.resolve();
if (typeof n === "undefined") n = 1;
for (; n > 0; n -= 1)
allTicks = allTicks.th... | let allTicks = Promise.resolve();
if (typeof n === "undefined") n = 1;
for (; n > 0; n -= 1)
allTicks = allTicks.then(tickOnce, reject);
allTicks.then(resolve, reject);
}),
"at": function(when, method, ...args) {
if (!actions.has(when))
actions.set(when, []);
... | <|file_sep|>lib/mock/duration.js.diff
original:
"at": function(when, method) {
updated:
"at": function(when, method, ...args) {
<|file_sep|>original/lib/mock/duration.js
let allTicks = Promise.resolve();
if (typeof n === "undefined") n = 1;
for (; n > 0; n -= 1)
allTicks = allTicks.th... | aaaa280dd57278a3a2d4c316397105ff79418c68 | lib/mock/duration.js | lib/mock/duration.js | JavaScript |
<|file_sep|>original/config/application.yml
level_limit: 3
api_key: <%= ENV['API_KEY'] || 'PUT_YOUR_API_KEY_HERE' %>
elasticsearch_server: <%= ENV['SEARCH_SERVER'] || 'http://localhost:9200' %>
max_deep_search_comment_count: 5000
enable_search: true
default_locale: <%= ENV['SERVICE_LANGUAGE'] || 'en-US' %>
manual_pagin... | level_limit: 3
api_key: <%= ENV['API_KEY'] || 'PUT_YOUR_API_KEY_HERE' %>
elasticsearch_server: <%= ENV['SEARCH_SERVER_ES7'] || 'http://localhost:9200' %>
max_deep_search_comment_count: 5000
enable_search: true
default_locale: <%= ENV['SERVICE_LANGUAGE'] || 'en-US' %>
manual_pagination_batch_size: <%= ENV['MANUAL_PAGINA... | <|file_sep|>original/config/application.yml
level_limit: 3
api_key: <%= ENV['API_KEY'] || 'PUT_YOUR_API_KEY_HERE' %>
elasticsearch_server: <%= ENV['SEARCH_SERVER'] || 'http://localhost:9200' %>
max_deep_search_comment_count: 5000
enable_search: true
default_locale: <%= ENV['SERVICE_LANGUAGE'] || 'en-US' %>
manual_pagin... | 881aa061953253b5f0452025896191f1f7f67406 | config/application.yml | config/application.yml | YAML |
<|file_sep|>corehq/apps/commtrack/admin.py.diff
original:
'case_id',
'product_id',
updated:
<|file_sep|>original/corehq/apps/commtrack/admin.py
from django.contrib import admin
from .models import StockState
class StockStateAdmin(admin.ModelAdmin):
model = StockState
list_display = [
... | from .models import StockState
class StockStateAdmin(admin.ModelAdmin):
model = StockState
list_display = [
'section_id',
'case_id',
'product_id',
'stock_on_hand',
'daily_consumption',
'last_modified_date'
]
list_filter = [
'section_id',
... | <|file_sep|>corehq/apps/commtrack/admin.py.diff
original:
'case_id',
'product_id',
updated:
<|file_sep|>original/corehq/apps/commtrack/admin.py
from django.contrib import admin
from .models import StockState
class StockStateAdmin(admin.ModelAdmin):
model = StockState
list_display = [
... | a978d79bf1a7c9ec9b38841c3e809bd2dc52f3c0 | corehq/apps/commtrack/admin.py | corehq/apps/commtrack/admin.py | Python |
<|file_sep|>packages/ba/battleplace-api.yaml.diff
original:
hash: 56b20b0f9a395983a5a43a7d5e75e11d285619dc7851028a6dfef16cc02abcef
updated:
hash: 282c1646631e870043698c7f0c4514a0935f2f4c99b39bae31e9ba01950a31cd
<|file_sep|>packages/ba/battleplace-api.yaml.diff
original:
updated:
- '0.1.0.3'
<|file_sep|>original/packag... | changelog-type: ''
hash: 282c1646631e870043698c7f0c4514a0935f2f4c99b39bae31e9ba01950a31cd
test-bench-deps: {}
maintainer: Alexander Bich <quyse0@gmail.com>
synopsis: Public API definitions of BattlePlace.io service
changelog: ''
basic-deps:
base: ! '>=4.5 && <5'
servant-client: ! '>=0.13'
servant: -any
battlepl... | <|file_sep|>packages/ba/battleplace-api.yaml.diff
original:
hash: 56b20b0f9a395983a5a43a7d5e75e11d285619dc7851028a6dfef16cc02abcef
updated:
hash: 282c1646631e870043698c7f0c4514a0935f2f4c99b39bae31e9ba01950a31cd
<|file_sep|>packages/ba/battleplace-api.yaml.diff
original:
updated:
- '0.1.0.3'
<|file_sep|>original/packag... | ab55f9f14d8df6b343a54321a65bb1b0a94ff832 | packages/ba/battleplace-api.yaml | packages/ba/battleplace-api.yaml | YAML |
<|file_sep|>original/_posts/2017-9-25-Welcome.md
Welcome! I hope you find the blog series useful.
The blogs appeals to impart a foundational understanding of the subject matter with a hope of attracting the reader to investigate the matter further.
<|file_sep|>current/_posts/2017-9-25-Welcome.md
Welcome! I hope yo... | Welcome! I hope you find the blog series useful.
The blogs appeals to impart a foundational understanding of HPCC Systems and other related technologies.
| <|file_sep|>original/_posts/2017-9-25-Welcome.md
Welcome! I hope you find the blog series useful.
The blogs appeals to impart a foundational understanding of the subject matter with a hope of attracting the reader to investigate the matter further.
<|file_sep|>current/_posts/2017-9-25-Welcome.md
Welcome! I hope yo... | 395bca39d2fd032fa5339f16bcd3ba8e84d69c5f | _posts/2017-9-25-Welcome.md | _posts/2017-9-25-Welcome.md | Markdown |
<|file_sep|>tools/evm2wasm/main.cpp.diff
original:
cerr << "Usage: " << argv[0] << " <EVM file>" << endl;
updated:
cerr << "Usage: " << argv[0] << " <EVM file> [--wast]" << endl;
<|file_sep|>tools/evm2wasm/main.cpp.diff
original:
updated:
}
bool wast = false;
if (argc == 3) {
wast ... | }
ifstream input(argv[1]);
if (!input.is_open()) {
cerr << "File not found: " << argv[1] << endl;
return 1;
}
string str(
(std::istreambuf_iterator<char>(input)),
std::istreambuf_iterator<char>()
);
if (wast) {
cout << evm2wasm::evm2wast(str) << end... | <|file_sep|>tools/evm2wasm/main.cpp.diff
original:
cerr << "Usage: " << argv[0] << " <EVM file>" << endl;
updated:
cerr << "Usage: " << argv[0] << " <EVM file> [--wast]" << endl;
<|file_sep|>tools/evm2wasm/main.cpp.diff
original:
updated:
}
bool wast = false;
if (argc == 3) {
wast ... | c6e72070953fd8c6c2e1d03328ea07b5d52a0b81 | tools/evm2wasm/main.cpp | tools/evm2wasm/main.cpp | C++ |
<|file_sep|>original/start-martus.sh
#!/bin/sh
/usr/lib/jvm/java-1.6.0-openjdk/bin/java \
-Xbootclasspath/p:`pwd`/client-release/LibExt/bc-jce.jar -jar client-release/martus.jar
<|file_sep|>current/start-martus.sh
#!/bin/sh
/usr/lib/jvm/java-1.6.0-openjdk/bin/java \
-Xbootclasspath/p:`pwd`/client-release/LibExt/bc-... | #!/bin/sh
# This is how you'd run Martus with a proper class path and files installed
# in it:
# /usr/lib/jvm/java-1.6.0-openjdk/bin/java \
# -Xbootclasspath/p:`pwd`/client-release/LibExt/bc-jce.jar -jar client-release/martus.jar
/usr/lib/jvm/java-1.6.0-openjdk/bin/java -Xbootclasspath/p:`pwd`/../LibExt/bc-jce.ja... | <|file_sep|>original/start-martus.sh
#!/bin/sh
/usr/lib/jvm/java-1.6.0-openjdk/bin/java \
-Xbootclasspath/p:`pwd`/client-release/LibExt/bc-jce.jar -jar client-release/martus.jar
<|file_sep|>current/start-martus.sh
#!/bin/sh
/usr/lib/jvm/java-1.6.0-openjdk/bin/java \
-Xbootclasspath/p:`pwd`/client-release/LibExt/bc-... | 50134e854cb625979bf835f2976fe7845e8916a2 | start-martus.sh | start-martus.sh | Shell |
<|file_sep|>original/Resources/views/CRUD/base_show_field.html.twig
{#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<th>{% block name %}{{ fie... | {#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<th>{% block name %}{{ admin.trans(field_description.label) }}{% endblock %}</th>
<td>{% block... | <|file_sep|>original/Resources/views/CRUD/base_show_field.html.twig
{#
This file is part of the Sonata package.
(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<th>{% block name %}{{ fie... | 5777ada5413d285c5edbd0a6c4c9a9df6ec1490b | Resources/views/CRUD/base_show_field.html.twig | Resources/views/CRUD/base_show_field.html.twig | Twig |
<|file_sep|>features/campaigns.feature.diff
original:
But that URL already has a dataset
updated:
<|file_sep|>features/campaigns.feature.diff
original:
updated:
And I request a certificate via the API
And the certificate is created
<|file_sep|>original/features/campaigns.feature
Background:
Given ... | Background:
Given I want to create a certificate via the API
And I apply a campaign "brian"
And I request a certificate via the API
And the certificate is created
And I request a certificate via the API
Scenario: list campaigns
When I visit the campaigns page
Then I should see "bri... | <|file_sep|>features/campaigns.feature.diff
original:
But that URL already has a dataset
updated:
<|file_sep|>features/campaigns.feature.diff
original:
updated:
And I request a certificate via the API
And the certificate is created
<|file_sep|>original/features/campaigns.feature
Background:
Given ... | c007ba13c2d6b6673d8950aa212477c3ea370e53 | features/campaigns.feature | features/campaigns.feature | Cucumber |
<|file_sep|>README.rst.diff
original:
updated:
This library is written by `Priit Laes`_ with support from procom.ee_,
Povi_ and ScienceMosaic_.
.. _Priit Laes: http://plaes.org
.. _procom.ee: http://procom.ee
.. _Povi: http://povi.ee
.. _ScienceMosaic: http://teadusmosaiik.ee
<|file_sep|>original/README.rst
* Es... | * Danske Bank
* Krediidipank
* LHV Bank
* SEB Bank
* SwedBank
* Solo/TUPAS
* Estonia:
* Nordea Bank
Installation
------------
To install WireXfers, simply: ::
$ pip install wirexfers
Or, if you absolutely must: ::
| <|file_sep|>README.rst.diff
original:
updated:
This library is written by `Priit Laes`_ with support from procom.ee_,
Povi_ and ScienceMosaic_.
.. _Priit Laes: http://plaes.org
.. _procom.ee: http://procom.ee
.. _Povi: http://povi.ee
.. _ScienceMosaic: http://teadusmosaiik.ee
<|file_sep|>original/README.rst
* Es... | b4064cf2cbc0e77d6f838512abaeb0a31309ac30 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/spec/models/email_processor_spec.rb
email = double('email', from: { email: user.email }, body: "I am great")
EmailProcessor.new(email).process
expect(user.newest_entry.body).to eq("I am great")
end
it "creates an entry even if the email address is uppercase" do
us... | email = double('email', from: { email: user.email }, body: "I am great")
EmailProcessor.new(email).process
expect(user.newest_entry.body).to eq("I am great")
end
it "creates an entry even if the email address is uppercase" do
user = create(:user)
email = double(
"email",... | <|file_sep|>original/spec/models/email_processor_spec.rb
email = double('email', from: { email: user.email }, body: "I am great")
EmailProcessor.new(email).process
expect(user.newest_entry.body).to eq("I am great")
end
it "creates an entry even if the email address is uppercase" do
us... | 08efcb6e072fb7d3cc7764dd316c2d49e75d5fd7 | spec/models/email_processor_spec.rb | spec/models/email_processor_spec.rb | Ruby |
<|file_sep|>original/roles/ceph-common/tasks/install_on_redhat.yml
state=present
when: ceph_stable
- name: Install the Ceph developement repository key
rpm_key: >
key={{ ceph_key }}
state=present
when: ceph_dev
- name: Add Ceph stable repository
command: "rpm -U http://ceph.com/rpm-{{ ceph_stable_... | state=present
when: ceph_stable
- name: Install the Ceph developement repository key
rpm_key: >
key={{ ceph_key }}
state=present
when: ceph_dev
- name: Add Ceph stable repository
command: "rpm -U http://ceph.com/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/noarch/ceph-release-1-0.... | <|file_sep|>original/roles/ceph-common/tasks/install_on_redhat.yml
state=present
when: ceph_stable
- name: Install the Ceph developement repository key
rpm_key: >
key={{ ceph_key }}
state=present
when: ceph_dev
- name: Add Ceph stable repository
command: "rpm -U http://ceph.com/rpm-{{ ceph_stable_... | a0b659e66b9c00f98d03336c8fc3ce3a3879775e | roles/ceph-common/tasks/install_on_redhat.yml | roles/ceph-common/tasks/install_on_redhat.yml | YAML |
<|file_sep|>noisegen.js.diff
original:
canvas = document.createElement("canvas"),
updated:
canvas = document.createElement("canvas");
<|file_sep|>noisegen.js.diff
original:
y = 0;
updated:
<|file_sep|>noisegen.js.diff
original:
number = Math.floor(Math.random() * options.depth);
ctx... | } else {
// Canvas supported :)
var ctx = canvas.getContext("2d"),
x = 0,
y = 0;
canvas.width = options.width;
canvas.height = options.height;
while (x < canvas.width) {
while (y < canvas.height) {
var r = Math.floor(Math.random() * options.depth);
... | <|file_sep|>noisegen.js.diff
original:
canvas = document.createElement("canvas"),
updated:
canvas = document.createElement("canvas");
<|file_sep|>noisegen.js.diff
original:
y = 0;
updated:
<|file_sep|>noisegen.js.diff
original:
number = Math.floor(Math.random() * options.depth);
ctx... | e13324fbc0ede85f53a4e268f07ccd389435aa38 | noisegen.js | noisegen.js | JavaScript |
<|file_sep|>original/circle.yml
- cd monty && git checkout master && git pull && python setup.py install
- python setup.py develop
test:
override:
- nosetests -v:
timeout: 720
# Some rudimentary command line tests for pmg
- pmg convert test_files/Li2O.cif POSCAR.pmg
- pmg convert POSCA... | - cd monty && git checkout master && git pull && python setup.py install
- python setup.py develop
test:
override:
- nosetests -v:
timeout: 720
# Some rudimentary command line tests for pmg
- pmg convert test_files/Li2O.cif POSCAR.pmg
- pmg convert POSCAR.pmg pmg.cif
- pmg analyze ... | <|file_sep|>original/circle.yml
- cd monty && git checkout master && git pull && python setup.py install
- python setup.py develop
test:
override:
- nosetests -v:
timeout: 720
# Some rudimentary command line tests for pmg
- pmg convert test_files/Li2O.cif POSCAR.pmg
- pmg convert POSCA... | caa4e0684ded0b73da93eaeab628e71dc299d61f | circle.yml | circle.yml | YAML |
<|file_sep|>original/README.md

Agon is a library for running dedicated game servers on [Kubernetes](https://kubernetes.io).
## Roadmap for 0.1 release
- Develop a [Custom Resource Defintion](https://kubernetes.io/docs/concepts/api-extension/custom-resources/#customresourcedefinitions) for dedic... | # Agon

Agon is a library for running dedicated game servers on [Kubernetes](https://kubernetes.io).
## Roadmap for 0.1 release
- Develop a [Custom Resource Defintion](https://kubernetes.io/docs/concepts/api-extension/custom-resources/#customresourcedefinitions) for dedicated game server
- Sidec... | <|file_sep|>original/README.md

Agon is a library for running dedicated game servers on [Kubernetes](https://kubernetes.io).
## Roadmap for 0.1 release
- Develop a [Custom Resource Defintion](https://kubernetes.io/docs/concepts/api-extension/custom-resources/#customresourcedefinitions) for dedic... | 15d0b235bddcb04211dab8ac5b46d1de684ec75a | README.md | README.md | Markdown |
<|file_sep|>lib/simple_provision/cli.rb.diff
original:
Net::SSH.start(host, username) do |ssh|
ssh.exec! "tar -xzf #{SimpleProvision::SCP::FILENAME}"
scripts = options.fetch(:scripts).each do |script|
puts "Execute #{script}"
ssh.exec!("#{environment_exports} bash -c '#{script}... |
channel.on_extended_data do |ch, type, data|
next unless type == 1
STDERR << data
end
end
end
ssh.loop
end
end
rescue Net::SSH::HostKeyMismatch => exception
exception.remember_host!... | <|file_sep|>lib/simple_provision/cli.rb.diff
original:
Net::SSH.start(host, username) do |ssh|
ssh.exec! "tar -xzf #{SimpleProvision::SCP::FILENAME}"
scripts = options.fetch(:scripts).each do |script|
puts "Execute #{script}"
ssh.exec!("#{environment_exports} bash -c '#{script}... | 228fd0462c4de05fdc59d3244e077128bbf7b79b | lib/simple_provision/cli.rb | lib/simple_provision/cli.rb | Ruby |
<|file_sep|>original/test/runIntTests.sh
# Project/Account
#SBATCH -A greg
#
# Number of cores
#SBATCH -c 6 -w, --nodelist=potoff33
#
# Runtime of this jobs is less then 12 hours.
#SBATCH --time=168:00:00
#
#SBATCH --mail-user=go2432@wayne.edu
#SBATCH -o output_%j.out
#SBATCH -e errors_%j.err
# Clear the environmen... | # Project/Account
#SBATCH -A greg
#
# Number of cores
#SBATCH -c 6 -w, --nodelist=potoff33
#
# Runtime of this jobs is less then 12 hours.
#SBATCH --time=168:00:00
#
#SBATCH --mail-user=go2432@wayne.edu
#SBATCH -o output_%j.out
#SBATCH -e errors_%j.err
# Clear the environment from any previously loaded modules
cd /... | <|file_sep|>original/test/runIntTests.sh
# Project/Account
#SBATCH -A greg
#
# Number of cores
#SBATCH -c 6 -w, --nodelist=potoff33
#
# Runtime of this jobs is less then 12 hours.
#SBATCH --time=168:00:00
#
#SBATCH --mail-user=go2432@wayne.edu
#SBATCH -o output_%j.out
#SBATCH -e errors_%j.err
# Clear the environmen... | 2f9eac2868c7a4e0577fd79858ae8b7e1878c6c6 | test/runIntTests.sh | test/runIntTests.sh | Shell |
<|file_sep|>metadata/com.enjoyingfoss.feeel.txt.diff
original:
updated:
Build:1.9,3
commit=v1.9
subdir=app
gradle=yes
rm=app/proguard-rules.pro
<|file_sep|>original/metadata/com.enjoyingfoss.feeel.txt
.
Repo Type:git
Repo:https://gitlab.com/enjoyingfoss/feeel.git
Build:1.0,1
commit=v1.0
subd... | commit=v1.0
subdir=app
gradle=yes
rm=app/proguard-rules.pro
Build:1.1,2
commit=v1.1
subdir=app
gradle=yes
rm=app/proguard-rules.pro
Build:1.9,3
commit=v1.9
subdir=app
gradle=yes
rm=app/proguard-rules.pro
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Versi... | <|file_sep|>metadata/com.enjoyingfoss.feeel.txt.diff
original:
updated:
Build:1.9,3
commit=v1.9
subdir=app
gradle=yes
rm=app/proguard-rules.pro
<|file_sep|>original/metadata/com.enjoyingfoss.feeel.txt
.
Repo Type:git
Repo:https://gitlab.com/enjoyingfoss/feeel.git
Build:1.0,1
commit=v1.0
subd... | 2cd9f335fcd4776b859cd91e6a8205b179e0ae54 | metadata/com.enjoyingfoss.feeel.txt | metadata/com.enjoyingfoss.feeel.txt | Text |
<|file_sep|>original/README.md
# BoneJ2
BoneJ2 - the next gen version of BoneJ for ImageJ2 in development
The `Legacy` module contains the "mavenized" versions of the plugins in BoneJ1. Eventually they'll be reimplemented for ImageJ2 in `Modern`, and removed from `Legacy`. Another goal of ours is to migrate generally ... | # BoneJ2
BoneJ2 - the next gen version of BoneJ for ImageJ2 in development
The `Legacy` module contains the "mavenized" versions of the plugins in BoneJ1. Eventually they'll be reimplemented for ImageJ2 in `Modern`, and removed from `Legacy`. Another goal of ours is to migrate generally useful functionality to `image-... | <|file_sep|>original/README.md
# BoneJ2
BoneJ2 - the next gen version of BoneJ for ImageJ2 in development
The `Legacy` module contains the "mavenized" versions of the plugins in BoneJ1. Eventually they'll be reimplemented for ImageJ2 in `Modern`, and removed from `Legacy`. Another goal of ours is to migrate generally ... | 562aa203f0aa6b95a48d1075058279e4e98c3fe5 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.29",
"core-... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.29",
"core-js": "3.19.0",
"mocha": "9.1.3... | <|file_sep|>original/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@types/mocha": "9.0.0",
"@types/node": "14.17.29",
"core-... | f422db13121cc794ee941178ecc68e4373c79277 | package.json | package.json | JSON |
<|file_sep|>original/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java
<|file_sep|>current/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java
<|file_sep|>updated/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java | package com.ttaylorr.ctci.answers.stacks;
import com.ttaylorr.ctci.meta.Solution;
@Solution(chapter = 3, problem = 1)
public class ArrayStacks {
public static final int STACK_SIZE = 128;
/**
* To implement several stacks using one array, we will chunk the array into `n`
* pieces and use those chunk... | <|file_sep|>original/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java
<|file_sep|>current/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java
<|file_sep|>updated/src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java
package com.ttaylorr.ctci.answers.stacks;
import com.ttaylorr.ct... | 5f58ab0831de8085f6cdffd148b929be029e9565 | src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java | src/main/java/com/ttaylorr/ctci/answers/stacks/ArrayStacks.java | Java |
<|file_sep|>lib/gregex/map.rb.diff
original:
updated:
require 'greek_string'
<|file_sep|>lib/gregex/map.rb.diff
original:
'[α-ω]' => Gregex::Constants::PLAIN_VOWELS,
updated:
'[α-ω]' => gs.select_by_types("vowel", "plain"),
<|file_sep|>original/lib/gregex/map.rb
MAP = { '\w' => Gregex::Cons... |
MAP = { '\w' => Gregex::Constants::ALL,
'[α-ω]' => gs.select_by_types("vowel", "plain"),
'[^α-ω]' => Gregex::Constants::CONSONANTS,
'[ά-ώ]' => Gregex::Constants::VOWELS_WITH_ACUTE,
'[ὰ-ὼ]' => Gregex::Constants::VOWELS_WITH_GRAVE,
'[ᾶ-ῶ]' => Gregex::Consta... | <|file_sep|>lib/gregex/map.rb.diff
original:
updated:
require 'greek_string'
<|file_sep|>lib/gregex/map.rb.diff
original:
'[α-ω]' => Gregex::Constants::PLAIN_VOWELS,
updated:
'[α-ω]' => gs.select_by_types("vowel", "plain"),
<|file_sep|>original/lib/gregex/map.rb
MAP = { '\w' => Gregex::Cons... | 751a4f919f9394af22bea4333ca19cb6b11933cd | lib/gregex/map.rb | lib/gregex/map.rb | Ruby |
<|file_sep|>test/unit/basic_test.rb.diff
original:
assert_raise RestClient::RequestTimeout do
updated:
assert_raise(RestClient::RequestTimeout, RestClient::Exceptions::OpenTimeout) do
<|file_sep|>original/test/unit/basic_test.rb
format_headers = { format: :json}
stubbed_path = 'Patient/1234'
... | format_headers = { format: :json}
stubbed_path = 'Patient/1234'
[false, true].each do |use_auth|
client.use_oauth2_auth = use_auth
%i[get delete head].each do |method|
stub = stub_request(method, /feed-test/).to_timeout
assert_raise(RestClient::RequestTimeout, RestClient::Excepti... | <|file_sep|>test/unit/basic_test.rb.diff
original:
assert_raise RestClient::RequestTimeout do
updated:
assert_raise(RestClient::RequestTimeout, RestClient::Exceptions::OpenTimeout) do
<|file_sep|>original/test/unit/basic_test.rb
format_headers = { format: :json}
stubbed_path = 'Patient/1234'
... | bfe951252ed2fef3c0dd3d2df8d3c1bded98bc82 | test/unit/basic_test.rb | test/unit/basic_test.rb | Ruby |
<|file_sep|>original/src/Umbraco.Web.UI.Client/src/views/components/umb-generate-alias.html
<div>
<span class="umb-locked-field__text" ng-show="!enableLock">{{ alias }}</span>
<div ng-show="enableLock">
<umb-locked-field
locked="locked"
ng-model="alias"
placeholder-text="placeholderText"
... | <div>
<span class="umb-locked-field__text cursor-not-allowed" ng-show="!enableLock">{{ alias }}</span>
<div ng-show="enableLock">
<umb-locked-field
locked="locked"
ng-model="alias"
placeholder-text="placeholderText"
validation-position="validationPosition"
server-validation-fie... | <|file_sep|>original/src/Umbraco.Web.UI.Client/src/views/components/umb-generate-alias.html
<div>
<span class="umb-locked-field__text" ng-show="!enableLock">{{ alias }}</span>
<div ng-show="enableLock">
<umb-locked-field
locked="locked"
ng-model="alias"
placeholder-text="placeholderText"
... | 3dd7e530ba28dd1c317fb3dcd6e0acb9142ef7fc | src/Umbraco.Web.UI.Client/src/views/components/umb-generate-alias.html | src/Umbraco.Web.UI.Client/src/views/components/umb-generate-alias.html | HTML |
<|file_sep|>original/Meta/Package.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://typo3.org/ns/2008/flow3/package" version="1.0">
<key>Welcome</key>
<title>Welcome package with default view for FLOW3</title>
<description>This pa... | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://typo3.org/ns/2008/flow3/package" version="1.0">
<key>Welcome</key>
<title>Welcome package with default view for FLOW3</title>
<description>This package provides a start screen for the ... | <|file_sep|>original/Meta/Package.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://typo3.org/ns/2008/flow3/package" version="1.0">
<key>Welcome</key>
<title>Welcome package with default view for FLOW3</title>
<description>This pa... | 563af302cd4ecac915533e788360c7ebb7552e67 | Meta/Package.xml | Meta/Package.xml | XML |
<|file_sep|>src/smallex/reductions.clj.diff
original:
(:require [clojure.walk :as walk]))
updated:
(:require [clojure.set :as set]
[clojure.walk :as walk]))
<|file_sep|>original/src/smallex/reductions.clj
(ns smallex.reductions
(:require [clojure.walk :as walk]))
(defn- find-alias-deps
"Returns a s... | (ns smallex.reductions
(:require [clojure.set :as set]
[clojure.walk :as walk]))
(defn- find-alias-deps
"Returns a set of alias deps, given an expression."
[expr]
(case (:type expr)
(:string :char-set) #{}
:symbol #{(:value expr)}
:op (apply set/union (map find-alias-deps (:args expr)))... | <|file_sep|>src/smallex/reductions.clj.diff
original:
(:require [clojure.walk :as walk]))
updated:
(:require [clojure.set :as set]
[clojure.walk :as walk]))
<|file_sep|>original/src/smallex/reductions.clj
(ns smallex.reductions
(:require [clojure.walk :as walk]))
(defn- find-alias-deps
"Returns a s... | a843de3ad71a331cdd66f2d61490d22ac6397978 | src/smallex/reductions.clj | src/smallex/reductions.clj | Clojure |
<|file_sep|>.travis.yml.diff
original:
os:
- osx
- linux
updated:
<|file_sep|>original/.travis.yml
os:
- osx
- linux
language: generic
sudo: required
dist: trusty
osx_image: xcode8.3
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850... | language: generic
matrix:
include:
- os: osx
osx_image: xcode8.3
sudo: required
- os: linux
dist: trusty
sudo: required
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
scr... | <|file_sep|>.travis.yml.diff
original:
os:
- osx
- linux
updated:
<|file_sep|>original/.travis.yml
os:
- osx
- linux
language: generic
sudo: required
dist: trusty
osx_image: xcode8.3
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850... | 289fdb60bf0260978892d780e5373c68e7dab127 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/sqlancer/common/schema/AbstractRowValue.java
<|file_sep|>current/src/sqlancer/common/schema/AbstractRowValue.java
<|file_sep|>updated/src/sqlancer/common/schema/AbstractRowValue.java | package sqlancer.common.schema;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public abstract class AbstractRowValue<T extends AbstractTables<?, C>, C extends AbstractTableColumn<?, ?>, O> {
private final T tables;
private final Map<C, O> values;
protected AbstractRowV... | <|file_sep|>original/src/sqlancer/common/schema/AbstractRowValue.java
<|file_sep|>current/src/sqlancer/common/schema/AbstractRowValue.java
<|file_sep|>updated/src/sqlancer/common/schema/AbstractRowValue.java
package sqlancer.common.schema;
import java.util.List;
import java.util.Map;
import java.util.stream.Collecto... | f2125a9d64c8289eff9b3342cfe9363d18900ad0 | src/sqlancer/common/schema/AbstractRowValue.java | src/sqlancer/common/schema/AbstractRowValue.java | Java |
<|file_sep|>original/moveLighting/script.json
{
"name": "Move Lighting",
"script": "moveLighting.js",
"version": "0.1.4",
"previousversions": [],
"description": "# Page FX\r\r_v0.1.4 Updates_\r\rUse the command !movelight with the parameters of:\r\r1) the layer to move to and\r\r2) the ID of the dynamic lighting p... | {
"name": "Move Lighting",
"script": "moveLighting.js",
"version": "0.1.4",
"previousversions": [],
"description": "# Page FX\n\n_v0.1.4 Updates_\n\nUse the command !movelight with the parameters of:\n\n1) the layer to move to and\n\n2) the ID of the dynamic lighting path object\n\nExample: !movelight gmlayer -LDS... | <|file_sep|>original/moveLighting/script.json
{
"name": "Move Lighting",
"script": "moveLighting.js",
"version": "0.1.4",
"previousversions": [],
"description": "# Page FX\r\r_v0.1.4 Updates_\r\rUse the command !movelight with the parameters of:\r\r1) the layer to move to and\r\r2) the ID of the dynamic lighting p... | e7ba3cf2a6e30f52b0ab82cc821ffdaac606a5cb | moveLighting/script.json | moveLighting/script.json | JSON |
<|file_sep|>app/assets/stylesheets/components/common/_mobile_nav.scss.diff
original:
margin: $baseline-unit*1.5 $baseline-unit*1.5 $baseline-unit*1.5 0;
updated:
margin: $baseline-unit*1.5 $baseline-unit $baseline-unit*1.5 0;
<|file_sep|>original/app/assets/stylesheets/components/common/_mobile_nav.scss
padding: ... | padding: $baseline-unit*2;
display: block;
}
.mobile-nav__link--search {
padding: 12px 9px 8px 13px;
&.is-on {
&:before {
position: absolute;
bottom: 2px;
right: 20px;
content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 7px 7px 0 7px;
b... | <|file_sep|>app/assets/stylesheets/components/common/_mobile_nav.scss.diff
original:
margin: $baseline-unit*1.5 $baseline-unit*1.5 $baseline-unit*1.5 0;
updated:
margin: $baseline-unit*1.5 $baseline-unit $baseline-unit*1.5 0;
<|file_sep|>original/app/assets/stylesheets/components/common/_mobile_nav.scss
padding: ... | 8a7644ac6d3cc2ed00f0a51118c0141b6efd8d87 | app/assets/stylesheets/components/common/_mobile_nav.scss | app/assets/stylesheets/components/common/_mobile_nav.scss | SCSS |
<|file_sep|>original/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy | PrintWriter removedLink = getReportWriter("removed-otherPhysicalFormat-in-original.txt")
PrintWriter addedLink = getReportWriter("added-reproductionOf-in-digital.txt")
String where = """
collection = 'bib'
AND data#>'{@graph,1,otherPhysicalFormat}' IS NOT NULL
AND data#>'{@graph,1,production}' IS NOT NULL
... | <|file_sep|>original/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy
<|file_sep|>current/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy
<|file_sep|>updated/whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy
PrintWriter removedLink = getReportWriter("removed-otherPhysicalForm... | 95d00966d549ab7f3b11936f89ccaa7ddde14a73 | whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy | whelktool/scripts/cleanups/2021/10/reproductionOf-links.groovy | Groovy |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
... | language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "4"
after_success:
- npm run coverage
- npm i coveralls
- cat ./coverage/lcov.info | coveralls
notifications:
email:
on_success: never
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
... | bfd810b39287edb8156aa53c6b9d801a2841e296 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/antimony.gemspec
Gem::Specification.new do |s|
s.name = 'antimony'
s.version = '0.1.0'
s.summary = 'TN5250/AS400 automation'
s.description = 'DSL for writing scripts to drive TN5250 green-screen applications'
s.authors = ['Andrew Terris', 'Adrienne Hisbrook', 'Lesley De... | Gem::Specification.new do |s|
s.name = 'antimony'
s.version = '0.1.1'
s.summary = 'TN5250/AS400 automation'
s.description = 'DSL for writing scripts to drive TN5250 green-screen applications'
s.authors = ['Andrew Terris', 'Adrienne Hisbrook', 'Lesley Dennison', 'Ryan Rosenblum']
s.email ... | <|file_sep|>original/antimony.gemspec
Gem::Specification.new do |s|
s.name = 'antimony'
s.version = '0.1.0'
s.summary = 'TN5250/AS400 automation'
s.description = 'DSL for writing scripts to drive TN5250 green-screen applications'
s.authors = ['Andrew Terris', 'Adrienne Hisbrook', 'Lesley De... | 3e61c3d90d758acf599e97947c905b8a0f83b245 | antimony.gemspec | antimony.gemspec | Ruby |
<|file_sep|>original/examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
query.count() == 0
}
@Rollback
void "test entity in different package to application"() {
expect:
Item.count() == 0
}
@Rollback
void "test that JPA entities... | query.count() == 0
}
@Rollback
void "test entity in different package to application"() {
expect:
Item.count() == 0
}
@Rollback
@NotYetImplemented // this fails because Grails is overriding the validator
void "test that JPA entities can use javax.validation"() {
... | <|file_sep|>original/examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy
query.count() == 0
}
@Rollback
void "test entity in different package to application"() {
expect:
Item.count() == 0
}
@Rollback
void "test that JPA entities... | 108451fde0a7d67e5411f667ee9d58a8e211ddac | examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy | examples/grails31-hibernate5/src/integration-test/groovy/functional/tests/ProductSpec.groovy | Groovy |
<|file_sep|>original/aws/deploy-local.sh
provider "aws" {
version = "~> 2.22.0"
s3_force_path_style = true
endpoints {
s3 = "http://localhost:4572"
}
}
EOF
terraform init
terraform workspace select $environment || terraform workspace new $environment
terraform apply -auto-approve -input=false
function on... |
provider "aws" {
version = "~> 2.22.0"
s3_force_path_style = true
endpoints {
s3 = "http://localhost:4572"
}
}
EOF
terraform init
terraform workspace select $environment || terraform workspace new $environment
terraform apply -auto-approve -input=false -target aws_s3_bucket.gnss_metadata_document_storage
... | <|file_sep|>original/aws/deploy-local.sh
provider "aws" {
version = "~> 2.22.0"
s3_force_path_style = true
endpoints {
s3 = "http://localhost:4572"
}
}
EOF
terraform init
terraform workspace select $environment || terraform workspace new $environment
terraform apply -auto-approve -input=false
function on... | 7696ac5379c0cdb6f3bd6410c8acf5a1fb303bda | aws/deploy-local.sh | aws/deploy-local.sh | Shell |
<|file_sep|>db/migrate/20131118115555_add_customer_number.rb.diff
original:
updated:
fix_customer_references(Project, :number, :id)
fix_customer_references(Activity, :number, :id)
<|file_sep|>db/migrate/20131118115555_add_customer_number.rb.diff
original:
updated:
fix_customer_references(Project, :id, :nu... | fix_customer_references(Project, :number, :id)
fix_customer_references(Activity, :number, :id)
end
def down
fix_customer_references(Project, :id, :number)
fix_customer_references(Activity, :id, :number)
remove_column :customers, :id
rename_column :customers, :number, :id
end
private
... | <|file_sep|>db/migrate/20131118115555_add_customer_number.rb.diff
original:
updated:
fix_customer_references(Project, :number, :id)
fix_customer_references(Activity, :number, :id)
<|file_sep|>db/migrate/20131118115555_add_customer_number.rb.diff
original:
updated:
fix_customer_references(Project, :id, :nu... | 7eaab8e89360bdc494d37f0700f7e73cfe2ec637 | db/migrate/20131118115555_add_customer_number.rb | db/migrate/20131118115555_add_customer_number.rb | Ruby |
<|file_sep|>doc/source/dev_team.rst.diff
original:
updated:
* `Tom Kooij`_
<|file_sep|>original/doc/source/dev_team.rst
PyTables Governance Team
========================
The PyTables team includes:
* Francesc Alted
* Ivan Vilata
* Scott Prater
* Vicent Mas
* Tom Hedley
* `Antonio Valentino`_
* Jeffrey Whitaker
* `Jo... | ========================
The PyTables team includes:
* Francesc Alted
* Ivan Vilata
* Scott Prater
* Vicent Mas
* Tom Hedley
* `Antonio Valentino`_
* Jeffrey Whitaker
* `Josh Moore`_
* `Anthony Scopatz`_
* `Andrea Bedini`_
* `Tom Kooij`_
.. _Anthony Scopatz: http://www.scopatz.com/
.. _Antonio Valentino: https://git... | <|file_sep|>doc/source/dev_team.rst.diff
original:
updated:
* `Tom Kooij`_
<|file_sep|>original/doc/source/dev_team.rst
PyTables Governance Team
========================
The PyTables team includes:
* Francesc Alted
* Ivan Vilata
* Scott Prater
* Vicent Mas
* Tom Hedley
* `Antonio Valentino`_
* Jeffrey Whitaker
* `Jo... | a5ab236b46298386937cb19b2d3c4c44f01621af | doc/source/dev_team.rst | doc/source/dev_team.rst | reStructuredText |
<|file_sep|>original/setup.py
}
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
if sys.version_info < (3, 3, 0):
extras_require['test'].append('mock')
setup(
name='nuts',
version='1.0.0',
author='Tarjei Husøy',
author_email='pypi@thusoy.com',
url='https://github.com/thu... | ],
}
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
if sys.version_info < (3, 3, 0):
extras_require['test'].append('mock')
setup(
name='nuts',
version='1.0.0',
author='Tarjei Husøy',
author_email='pypi@thusoy.com',
url='https://github.com/thusoy/nuts-auth',
des... | <|file_sep|>original/setup.py
}
if sys.version_info < (3, 4, 0):
install_requires.append('enum34')
if sys.version_info < (3, 3, 0):
extras_require['test'].append('mock')
setup(
name='nuts',
version='1.0.0',
author='Tarjei Husøy',
author_email='pypi@thusoy.com',
url='https://github.com/thu... | d78bcc4391f74c86eee927d9c30b58bb211d1cfe | setup.py | setup.py | Python |
<|file_sep|>client/js/services/navigation-service.js.diff
original:
return $location.path("/");
updated:
return $location.url("/");
<|file_sep|>original/client/js/services/navigation-service.js
NavigationService.prototype.toIndex = function() {
return $location.path("/");
};
NavigationService.prototype... |
NavigationService.prototype.toIndex = function() {
return $location.url("/");
};
NavigationService.prototype.onIndex = function() {
return $location.path() === "/";
};
NavigationService.prototype.toEntry = function(id) {
$location.url("/hikes/" + id);
};
NavigationService.prototype.onEntry = ... | <|file_sep|>client/js/services/navigation-service.js.diff
original:
return $location.path("/");
updated:
return $location.url("/");
<|file_sep|>original/client/js/services/navigation-service.js
NavigationService.prototype.toIndex = function() {
return $location.path("/");
};
NavigationService.prototype... | f9fc05ac75d23ac304955d8099511ed108a792aa | client/js/services/navigation-service.js | client/js/services/navigation-service.js | JavaScript |
<|file_sep|>original/lib/tasks/db.rake
<|file_sep|>current/lib/tasks/db.rake
<|file_sep|>updated/lib/tasks/db.rake | require "benchmark"
namespace :db do
desc "Refreshes all materialized views e.g. audits. May take a while so only run overnight."
task refresh_all_materialized_views: :environment do
ms = Benchmark.ms do
ActiveRecord::Base.connection.execute("SELECT refresh_all_matierialized_views();")
end
puts "... | <|file_sep|>original/lib/tasks/db.rake
<|file_sep|>current/lib/tasks/db.rake
<|file_sep|>updated/lib/tasks/db.rake
require "benchmark"
namespace :db do
desc "Refreshes all materialized views e.g. audits. May take a while so only run overnight."
task refresh_all_materialized_views: :environment do
ms = Benchm... | 4d1220fb4538a9ecb41f1cc9cd096877c8ae0f96 | lib/tasks/db.rake | lib/tasks/db.rake | Ruby |
<|file_sep|>original/app/views/static/index.html.haml
- set_meta_tags description: 'Get structured data out of the web. Code collaboration through GitHub. Run your scrapers in the cloud.'
- if signed_in?
= render "signed_in_index"
- else
= render "signed_out_index"
.banner.banner-metrics
.container
%h3 This... | - set_meta_tags description: 'Get structured data out of the web. Code collaboration through GitHub. Run your scrapers in the cloud.'
- if signed_in?
= render "signed_in_index"
- else
= render "signed_out_index"
.banner.banner-metrics
.container
%h3 This week at morph.io
.metric-box.col-sm-4
%stro... | <|file_sep|>original/app/views/static/index.html.haml
- set_meta_tags description: 'Get structured data out of the web. Code collaboration through GitHub. Run your scrapers in the cloud.'
- if signed_in?
= render "signed_in_index"
- else
= render "signed_out_index"
.banner.banner-metrics
.container
%h3 This... | d16e74ccf99a41d694da83618db65743a25b6f34 | app/views/static/index.html.haml | app/views/static/index.html.haml | Haml |
<|file_sep|>original/requirements.txt
docker==4.2.2
molecule==2.19.0
pytest==5.4.3
python-vagrant==0.5.15
tox==3.16.1
<|file_sep|>current/requirements.txt
docker==4.2.2
molecule==2.19.0
pytest==5.4.3
python-vagrant==0.5.15
tox==3.16.1
<|file_sep|>updated/requirements.txt | docker==4.2.2
molecule==2.19.0
pytest==5.4.3
python-vagrant==0.5.15
tox==3.18.0 | <|file_sep|>original/requirements.txt
docker==4.2.2
molecule==2.19.0
pytest==5.4.3
python-vagrant==0.5.15
tox==3.16.1
<|file_sep|>current/requirements.txt
docker==4.2.2
molecule==2.19.0
pytest==5.4.3
python-vagrant==0.5.15
tox==3.16.1
<|file_sep|>updated/requirements.txt
docker==4.2.2
molecule==2.19.0
pytest==5.4.3
pyt... | 7e72d243a388f9f7beab321f16db0b208ec5af22 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/examples/jsts.html
---
layout: example.html
title: JSTS Integration
shortdesc: Example on how to use JSTS with OpenLayers 3.
docs: >
Example showing the integration of <a href="https://github.com/bjornharrtell/jsts">JSTS</a>
with OpenLayers 3.
tags: "vector, jsts, buffer"
resources:
- https:/... | ---
layout: example.html
title: JSTS Integration
shortdesc: Example on how to use JSTS with OpenLayers 3.
docs: >
Example showing the integration of <a href="https://github.com/bjornharrtell/jsts">JSTS</a>
with OpenLayers 3.
tags: "vector, jsts, buffer"
resources:
- https://cdn.rawgit.com/bjornharrtell/jsts/gh-pa... | <|file_sep|>original/examples/jsts.html
---
layout: example.html
title: JSTS Integration
shortdesc: Example on how to use JSTS with OpenLayers 3.
docs: >
Example showing the integration of <a href="https://github.com/bjornharrtell/jsts">JSTS</a>
with OpenLayers 3.
tags: "vector, jsts, buffer"
resources:
- https:/... | 7b6820a012e4541a984529803a40264fe6cdbd6b | examples/jsts.html | examples/jsts.html | HTML |
<|file_sep|>original/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md
<|file_sep|>current/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md
<|file_sep|>updated/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md | ---
layout: post
title: "Dealing with orientation at the control level"
author: "Vincent Padois"
comments: true
---
When controlling robots at the velocity kinematics (\\( \mathbf{t} = \mathbf{J}(\mathbf{q}) \mathbf{\nu} \\) where \\(\mathbf{t}\\) is a twist, \\( \mathbf{q}\\) is the vector of generalized coordinates... | <|file_sep|>original/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md
<|file_sep|>current/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md
<|file_sep|>updated/_posts/2017-05-18-dealing-with-orientation-at-the-control-level.md
---
layout: post
title: "Dealing with orientation at th... | 49f1b67145e5b4530ad20039471789c7e06654e8 | _posts/2017-05-18-dealing-with-orientation-at-the-control-level.md | _posts/2017-05-18-dealing-with-orientation-at-the-control-level.md | Markdown |
<|file_sep|>original/lib/twitter_cldr/resources/collation_tries_dumper.rb
module TwitterCldr
module Resources
module CollationTriesDumper
class << self
def update_dumps
update_default_trie_dump
#TwitterCldr.supported_locales
[:he].each { |locale| update_tailoring_tr... |
module TwitterCldr
module Resources
module CollationTriesDumper
class << self
def update_dumps
update_default_trie_dump
TwitterCldr.supported_locales.each { |locale| update_tailoring_trie_dump(locale) }
end
private
def update_default_trie_dump
... | <|file_sep|>original/lib/twitter_cldr/resources/collation_tries_dumper.rb
module TwitterCldr
module Resources
module CollationTriesDumper
class << self
def update_dumps
update_default_trie_dump
#TwitterCldr.supported_locales
[:he].each { |locale| update_tailoring_tr... | 39746858b8eb6dd43b664ac69bcd535e82bfed23 | lib/twitter_cldr/resources/collation_tries_dumper.rb | lib/twitter_cldr/resources/collation_tries_dumper.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.