commit stringlengths 40 40 | old_file stringlengths 4 184 | new_file stringlengths 4 184 | old_contents stringlengths 1 3.6k | new_contents stringlengths 5 3.38k | subject stringlengths 15 778 | message stringlengths 16 6.74k | lang stringclasses 201
values | license stringclasses 13
values | repos stringlengths 6 116k | config stringclasses 201
values | content stringlengths 137 7.24k | diff stringlengths 26 5.55k | diff_length int64 1 123 | relative_diff_length float64 0.01 89 | n_lines_added int64 0 108 | n_lines_deleted int64 0 106 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f8d4bd8b3fc0ed960d8892beace9343d8d33580d | sonar-project.properties | sonar-project.properties | sonar.projectKey=egblas
sonar.projectName=egblas
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=include,test,src
sonar.language=c++
# Add include directories to sonar-cxx
sonar.cxx.includeDirectories=include,Catch/include,test/include
# Reports file for sonar-cxx
sonar.cxx.cppcheck.reportPath=cppc... | sonar.projectKey=egblas
sonar.projectName=egblas
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=include,test,src
sonar.language=c++
sonar.cxx.suffixes.sources=.cpp,.cu
# Add include directories to sonar-cxx
sonar.cxx.includeDirectories=include,Catch/include,test/include
# Reports file for sonar-c... | Include CUDA sources in analysis | Include CUDA sources in analysis
| INI | mit | wichtounet/etl-gpu-blas,wichtounet/etl-gpu-blas | ini | ## Code Before:
sonar.projectKey=egblas
sonar.projectName=egblas
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=include,test,src
sonar.language=c++
# Add include directories to sonar-cxx
sonar.cxx.includeDirectories=include,Catch/include,test/include
# Reports file for sonar-cxx
sonar.cxx.cppcheck... | sonar.projectKey=egblas
sonar.projectName=egblas
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=include,test,src
sonar.language=c++
+
+ sonar.cxx.suffixes.sources=.cpp,.cu
# Add include directories to sonar-cxx
sonar.cxx.includeDirectories=include,Catch/include,test/include
... | 2 | 0.095238 | 2 | 0 |
ccf04e8eef384610b0f17f1192747b677cee4778 | uber/templates/preregistration/phone_numbers.html | uber/templates/preregistration/phone_numbers.html | <div class="form-group">
<label for="cellphone" class="col-sm-2 control-label">Your Phone Number</label>
<div class="col-sm-6">
<input type="text" name="cellphone" id="cellphone" value="{{ attendee.cellphone }}" class="form-control" placeholder="Your Phone Number">
</div>
</div>
<div class="... | <div class="form-group">
<label for="cellphone" class="col-sm-2 control-label">Your Phone Number</label>
<div class="col-sm-6">
<input type="text" name="cellphone" id="cellphone" value="{{ attendee.cellphone }}" class="form-control" placeholder="Your Phone Number">
</div>
</div>
{% if ... | Hide phone opt-out for dealers | Hide phone opt-out for dealers
Dealers aren't allowed to opt out of a phone number, so the checkbox to
do so is now hidden for them.
| HTML | agpl-3.0 | RAMSProject/rams,migetman9/ubersystem,md1024/rams,magfest/ubersystem,md1024/rams,magfest/ubersystem,md1024/rams,magfest/ubersystem,migetman9/ubersystem,migetman9/ubersystem,magfest/ubersystem,RAMSProject/rams,RAMSProject/rams | html | ## Code Before:
<div class="form-group">
<label for="cellphone" class="col-sm-2 control-label">Your Phone Number</label>
<div class="col-sm-6">
<input type="text" name="cellphone" id="cellphone" value="{{ attendee.cellphone }}" class="form-control" placeholder="Your Phone Number">
</div>
</div>
... | <div class="form-group">
<label for="cellphone" class="col-sm-2 control-label">Your Phone Number</label>
<div class="col-sm-6">
<input type="text" name="cellphone" id="cellphone" value="{{ attendee.cellphone }}" class="form-control" placeholder="Your Phone Number">
</div>
</div>
+ ... | 2 | 0.083333 | 2 | 0 |
d9e20b91d2ada761eec3d0fa49f95093fd4d51bb | tests/bootstrap.php | tests/bootstrap.php | <?php
use Desk\Test\Helper\TestCase;
use Guzzle\Service\Builder\ServiceBuilder;
error_reporting(-1);
$ds = DIRECTORY_SEPARATOR;
$autoloader = dirname(__DIR__) . "{$ds}vendor{$ds}autoload.php";
// Ensure that Composer dependencies have been installed locally
if (!file_exists($autoloader)) {
die(
"Depend... | <?php
use Desk\Test\Helper\TestCase;
use Guzzle\Service\Builder\ServiceBuilder;
ini_set('memory_limit', '256M');
error_reporting(-1);
$ds = DIRECTORY_SEPARATOR;
$autoloader = dirname(__DIR__) . "{$ds}vendor{$ds}autoload.php";
// Ensure that Composer dependencies have been installed locally
if (!file_exists($autolo... | Fix PHP OOM error while processing test coverage | Fix PHP OOM error while processing test coverage
| PHP | mit | quizlet/desk-php,bradfeehan/desk-php,bradfeehan/desk-php,quizlet/desk-php,4ernovm/desk-php,4ernovm/desk-php | php | ## Code Before:
<?php
use Desk\Test\Helper\TestCase;
use Guzzle\Service\Builder\ServiceBuilder;
error_reporting(-1);
$ds = DIRECTORY_SEPARATOR;
$autoloader = dirname(__DIR__) . "{$ds}vendor{$ds}autoload.php";
// Ensure that Composer dependencies have been installed locally
if (!file_exists($autoloader)) {
die(... | <?php
use Desk\Test\Helper\TestCase;
use Guzzle\Service\Builder\ServiceBuilder;
+ ini_set('memory_limit', '256M');
error_reporting(-1);
$ds = DIRECTORY_SEPARATOR;
$autoloader = dirname(__DIR__) . "{$ds}vendor{$ds}autoload.php";
// Ensure that Composer dependencies have been installed locall... | 1 | 0.029412 | 1 | 0 |
7b520e973ed9a72cc3b68bda0a48c89b6d60558b | examples/connect4_uci_outcomes.py | examples/connect4_uci_outcomes.py | from __future__ import division, print_function
from collections import Counter
from capstone.util.c4uci import load_instance
FILENAME = 'datasets/connect-4.data'
outcomes = []
with open(FILENAME) as f:
for i, line in enumerate(f, 1):
_, outcome = load_instance(line)
outcomes.append(outcome)
... | from __future__ import division, print_function
import pandas as pd
from sklearn.linear_model import LinearRegression
from capstone.game import Connect4 as C4
from capstone.util import print_header
FILENAME = 'datasets/connect-4.data'
def column_name(i):
if i == 42:
return 'outcome'
row = chr(ord('a')... | Use pandas dataframes for UCI C4 dataset | Use pandas dataframes for UCI C4 dataset
| Python | mit | davidrobles/mlnd-capstone-code | python | ## Code Before:
from __future__ import division, print_function
from collections import Counter
from capstone.util.c4uci import load_instance
FILENAME = 'datasets/connect-4.data'
outcomes = []
with open(FILENAME) as f:
for i, line in enumerate(f, 1):
_, outcome = load_instance(line)
outcomes.appe... | from __future__ import division, print_function
- from collections import Counter
- from capstone.util.c4uci import load_instance
+ import pandas as pd
+ from sklearn.linear_model import LinearRegression
+ from capstone.game import Connect4 as C4
+ from capstone.util import print_header
FILENAME = 'datasets/conn... | 44 | 1.692308 | 24 | 20 |
36411c497a947d64c7ca5cc2a7790818525a3d97 | README.md | README.md |
Allows your users to create an image based key that they must select after entering their usual email/password for added security.
## Prerequistes
If you wish to use the locking feature of this extension ensure you have already enable Devise's lockable module.
## Configuration
Add the gem to your Gemfile:
gem... |
Allows your users to create an image based key that they must select after entering their usual email/password for added security.
## Prerequistes
If you wish to use the locking feature of this extension ensure you have already enable Devise's lockable module.
## Configuration
Add the gem to your Gemfile:
gem... | Fix gem name. Add details on enable/disable links | Fix gem name. Add details on enable/disable links
| Markdown | mit | invisiblelines/image_authentication,invisiblelines/image_authentication,invisiblelines/image_authentication | markdown | ## Code Before:
Allows your users to create an image based key that they must select after entering their usual email/password for added security.
## Prerequistes
If you wish to use the locking feature of this extension ensure you have already enable Devise's lockable module.
## Configuration
Add the gem to your G... |
Allows your users to create an image based key that they must select after entering their usual email/password for added security.
## Prerequistes
If you wish to use the locking feature of this extension ensure you have already enable Devise's lockable module.
## Configuration
Add the gem to yo... | 7 | 0.166667 | 5 | 2 |
2aed124253ab662955929c21b85d76f0935b6fec | image/shared/src/main/scala/doodle/image/syntax/package.scala | image/shared/src/main/scala/doodle/image/syntax/package.scala | package doodle
package image
package object syntax extends ImageSyntax with TraverseImageSyntax {
object image extends ImageSyntax
object traverse extends TraverseImageSyntax
}
| package doodle
package image
package object syntax extends ImageSyntax with TraverseImageSyntax {
object image extends ImageSyntax
object traverse extends TraverseImageSyntax
/**
* The core object defines syntax for doodle.core, which is a convenient way
* to avoid pulling in Algebra syntax that may confl... | Add syntax to make it easier to use Image | Add syntax to make it easier to use Image
You can just import `doodle.image.syntax.core_` to get syntax for `Angle` and
so on without getting syntax for the algebras. Some of the algebra syntax could
cause confusing conflicts with methods on `Image`.
| Scala | apache-2.0 | underscoreio/doodle,underscoreio/doodle | scala | ## Code Before:
package doodle
package image
package object syntax extends ImageSyntax with TraverseImageSyntax {
object image extends ImageSyntax
object traverse extends TraverseImageSyntax
}
## Instruction:
Add syntax to make it easier to use Image
You can just import `doodle.image.syntax.core_` to get syntax ... | package doodle
package image
package object syntax extends ImageSyntax with TraverseImageSyntax {
object image extends ImageSyntax
object traverse extends TraverseImageSyntax
+
+ /**
+ * The core object defines syntax for doodle.core, which is a convenient way
+ * to avoid pulling in Algebra s... | 9 | 1.285714 | 9 | 0 |
81c9d50e7ab2c93375bebf3de886e59c2ebb8043 | 0.15/docker-entrypoint.sh | 0.15/docker-entrypoint.sh |
set -e
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json $CONFIG/server-settings.json
fi... |
set -e
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json $CONFIG/server-settings.json
fi... | Add possibility to use a whitelist | Add possibility to use a whitelist | Shell | mit | dtandersen/docker_factorio_server | shell | ## Code Before:
set -e
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json $CONFIG/server-... |
set -e
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json... | 5 | 0.147059 | 5 | 0 |
6cf9a022850cef96ca409dba26fb6820a35f8eeb | server-coreless/src/main/java/org/openqa/selenium/server/BrowserConfigurationOptions.java | server-coreless/src/main/java/org/openqa/selenium/server/BrowserConfigurationOptions.java | package org.openqa.selenium.server;
public class BrowserConfigurationOptions {
private String profile = "";
public BrowserConfigurationOptions(String browserConfiguration) {
//"name:value;name:value"
String[] optionsPairList = browserConfiguration.split(";");
for (int i = 0; i < o... | package org.openqa.selenium.server;
public class BrowserConfigurationOptions {
private String profile = "";
public BrowserConfigurationOptions(String browserConfiguration) {
//"name:value;name:value"
String[] optionsPairList = browserConfiguration.split(";");
for (int i = 0; i < o... | Fix index out of bounds exception by first checking to make sure the configuration option parsed correctly. | Fix index out of bounds exception by first checking to make sure the configuration option parsed correctly.
r5374
| Java | apache-2.0 | xsyntrex/selenium,stupidnetizen/selenium,dkentw/selenium,MCGallaspy/selenium,SevInf/IEDriver,vinay-qa/vinayit-android-server-apk,jsarenik/jajomojo-selenium,temyers/selenium,rovner/selenium,vveliev/selenium,anshumanchatterji/selenium,gregerrag/selenium,carsonmcdonald/selenium,sankha93/selenium,petruc/selenium,jerome-jac... | java | ## Code Before:
package org.openqa.selenium.server;
public class BrowserConfigurationOptions {
private String profile = "";
public BrowserConfigurationOptions(String browserConfiguration) {
//"name:value;name:value"
String[] optionsPairList = browserConfiguration.split(";");
for (... | package org.openqa.selenium.server;
public class BrowserConfigurationOptions {
private String profile = "";
public BrowserConfigurationOptions(String browserConfiguration) {
//"name:value;name:value"
String[] optionsPairList = browserConfiguration.split(";");
f... | 10 | 0.25641 | 6 | 4 |
591f6bb8c3a6314db04f84514ffd9a546c340dd1 | .travis.yml | .travis.yml | language: groovy
env:
- GROOVY_VERSION="1.8.9"
- GROOVY_VERSION="2.0.8"
- GROOVY_VERSION="2.1.9"
- GROOVY_VERSION="2.2.2"
- GROOVY_VERSION="2.3.9"
- GROOVY_VERSION="2.4.0"
matrix:
exclude:
- env: GROOVY_VERSION="2.1.9"
allow_failures:
- env: GROOVY_VERSION="2.0.8"
- env: GROOVY_VERSION="2.1.... | language: groovy
env:
- GROOVY_VERSION="1.8.9"
- GROOVY_VERSION="2.0.8"
- GROOVY_VERSION="2.1.9"
- GROOVY_VERSION="2.2.2"
- GROOVY_VERSION="2.3.9"
- GROOVY_VERSION="2.4.0"
matrix:
allow_failures:
- env: GROOVY_VERSION="2.0.8"
- env: GROOVY_VERSION="2.1.9"
- env: GROOVY_VERSION="2.2.2"
- en... | Test complete. The exclude expression works. | Test complete. The exclude expression works.
| YAML | apache-2.0 | samrocketman/jervis,samrocketman/jervis | yaml | ## Code Before:
language: groovy
env:
- GROOVY_VERSION="1.8.9"
- GROOVY_VERSION="2.0.8"
- GROOVY_VERSION="2.1.9"
- GROOVY_VERSION="2.2.2"
- GROOVY_VERSION="2.3.9"
- GROOVY_VERSION="2.4.0"
matrix:
exclude:
- env: GROOVY_VERSION="2.1.9"
allow_failures:
- env: GROOVY_VERSION="2.0.8"
- env: GROO... | language: groovy
env:
- GROOVY_VERSION="1.8.9"
- GROOVY_VERSION="2.0.8"
- GROOVY_VERSION="2.1.9"
- GROOVY_VERSION="2.2.2"
- GROOVY_VERSION="2.3.9"
- GROOVY_VERSION="2.4.0"
matrix:
- exclude:
- - env: GROOVY_VERSION="2.1.9"
allow_failures:
- env: GROOVY_VERSION="2.0.8"
... | 2 | 0.117647 | 0 | 2 |
87c5f39d5cb072a778bb145e6e5fc49c8d4b350d | core/urls.py | core/urls.py | from django.conf.urls import url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from .views import AppView, reports_export
# Instead of using a wildcard for our app views we insert them one at a time
# for naming purposes. This is so that users can change urls if they... | from django.conf.urls import url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from .views import AppView, reports_export
# Instead of using a wildcard for our app views we insert them one at a time
# for naming purposes. This is so that users can change urls if they... | Add ability to go to individual invoice page | Add ability to go to individual invoice page
| Python | bsd-2-clause | cdubz/timestrap,overshard/timestrap,overshard/timestrap,cdubz/timestrap,cdubz/timestrap,overshard/timestrap | python | ## Code Before:
from django.conf.urls import url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from .views import AppView, reports_export
# Instead of using a wildcard for our app views we insert them one at a time
# for naming purposes. This is so that users can cha... | from django.conf.urls import url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy
from .views import AppView, reports_export
# Instead of using a wildcard for our app views we insert them one at a time
# for naming purposes. This is so that users can c... | 1 | 0.04 | 1 | 0 |
72295b8c5368d830ee498a8ee6d866a8359ba204 | .pullreview.yml | .pullreview.yml | ---
rules:
avoid_copy_paste:
except:
- "spec/**/*.rb"
ignore:
- assignment_in_conditional
- IfUnlessModifier
- missing_class_documentation
- missing_method_documentation
- prefer_single_quoted_strings
- use_a_logger
ParameterNumberCheck:
except:
# NOTE: Use of Open3.pop... | ---
rules:
avoid_copy_paste:
except:
- "spec/**/*.rb"
ignore:
- assignment_in_conditional
- favor_if_unless_for_single_line
- missing_class_documentation
- missing_method_documentation
- prefer_single_quoted_strings
- use_a_logger
reduce_number_of_params:
except:
# NOTE... | Fix spelling mistake of rule | Fix spelling mistake of rule
| YAML | mit | paulfioravanti/resume | yaml | ## Code Before:
---
rules:
avoid_copy_paste:
except:
- "spec/**/*.rb"
ignore:
- assignment_in_conditional
- IfUnlessModifier
- missing_class_documentation
- missing_method_documentation
- prefer_single_quoted_strings
- use_a_logger
ParameterNumberCheck:
except:
# NOTE: ... | ---
rules:
avoid_copy_paste:
except:
- "spec/**/*.rb"
ignore:
- assignment_in_conditional
- - IfUnlessModifier
+ - favor_if_unless_for_single_line
- missing_class_documentation
- missing_method_documentation
- prefer_single_quoted_strings
- use_a_logger
- ... | 4 | 0.25 | 2 | 2 |
41a495eb5a2dc6023ed34fffcad7a94512abc50d | Code/Cleavir/AST-interpreter/interpreter.lisp | Code/Cleavir/AST-interpreter/interpreter.lisp | (cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
| (cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | Define method on INTERPRET-AST specialized to CONSTANT-AST. | Define method on INTERPRET-AST specialized to CONSTANT-AST.
| Common Lisp | bsd-2-clause | clasp-developers/SICL,vtomole/SICL,vtomole/SICL,vtomole/SICL,clasp-developers/SICL,clasp-developers/SICL,vtomole/SICL,clasp-developers/SICL | common-lisp | ## Code Before:
(cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
## Instruction:
Define method on INTERPRET-AST special... | (cl:in-package #:cleavir-ast-interpreter)
(defgeneric interpret-ast (ast static-env dynamic-env))
(defun interpret (ast)
(let ((static-env (list (make-hash-table :test #'eq)))
(dynamic-env '()))
(interpret-ast ast static-env dynamic-env)))
+
+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | 9 | 1.125 | 9 | 0 |
9210af1adf9abb7187548f45fa004c3d6e7826d3 | tox.ini | tox.ini | [tox]
envlist = py26, py27, py32, py33, py34, rhel6
[testenv]
commands =
nosetests cybox
sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
deps = -rrequirements.txt
# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
[testenv:py32]
co... | [tox]
envlist = py26, py27, py32, py33, py34, rhel6
[testenv]
commands =
nosetests cybox
sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
deps = -rrequirements.txt
# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
[testenv:py32]
co... | Use mixbox on RHEL Tox tests. | Use mixbox on RHEL Tox tests.
| INI | bsd-3-clause | CybOXProject/python-cybox | ini | ## Code Before:
[tox]
envlist = py26, py27, py32, py33, py34, rhel6
[testenv]
commands =
nosetests cybox
sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
deps = -rrequirements.txt
# Don't try building documentation on Python 3.2, due to conflicts with Pygments.
[... | [tox]
envlist = py26, py27, py32, py33, py34, rhel6
[testenv]
commands =
nosetests cybox
sphinx-build -b doctest docs docs/_build/doctest
sphinx-build -b html docs docs/_build/html
deps = -rrequirements.txt
# Don't try building documentation on Python 3.2, due to conflicts with Pygme... | 3 | 0.115385 | 1 | 2 |
3a288cca93bc510ba30ce402c23bbf93d996d724 | examples/example.rs | examples/example.rs | extern crate rustyline;
use rustyline::completion::FilenameCompleter;
use rustyline::error::ReadlineError;
use rustyline::Editor;
fn main() {
let c = FilenameCompleter::new();
let mut rl = Editor::new();
rl.set_completer(Some(&c));
if let Err(_) = rl.load_history("history.txt") {
println!("No ... | extern crate rustyline;
use rustyline::completion::FilenameCompleter;
use rustyline::error::ReadlineError;
use rustyline::Editor;
fn main() {
let c = FilenameCompleter::new();
let mut rl = Editor::new();
rl.set_completer(Some(&c));
if let Err(_) = rl.load_history("history.txt") {
println!("No ... | Make the prompt bold with ANSI escape code. | Make the prompt bold with ANSI escape code.
| Rust | mit | dubrowgn/rustyline,dubrowgn/rustyline,gwenn/rustyline,cavedweller/rustyline,kkawakam/rustyline | rust | ## Code Before:
extern crate rustyline;
use rustyline::completion::FilenameCompleter;
use rustyline::error::ReadlineError;
use rustyline::Editor;
fn main() {
let c = FilenameCompleter::new();
let mut rl = Editor::new();
rl.set_completer(Some(&c));
if let Err(_) = rl.load_history("history.txt") {
... | extern crate rustyline;
use rustyline::completion::FilenameCompleter;
use rustyline::error::ReadlineError;
use rustyline::Editor;
fn main() {
let c = FilenameCompleter::new();
let mut rl = Editor::new();
rl.set_completer(Some(&c));
if let Err(_) = rl.load_history("history.txt") {... | 2 | 0.055556 | 1 | 1 |
de5618a693eb77bb49732ad152eca0df4d20098b | generateDocs.ps1 | generateDocs.ps1 | param($username, $password, [switch]$Buildserver)
$PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition
$module = "Keith"
Import-Module "$PSScriptRoot\src\$module" -Force
New-PsDoc -Module $module -Path "$PSScriptRoot\docs\" -OutputLocation "$PSScriptRoot\docs-generated"
New-GitBook "$PS... | $PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition
$module = "Keith"
Import-Module "$PSScriptRoot\src\$module" -Force
New-PsDoc -Module $module -Path "$PSScriptRoot\docs\" -OutputLocation "$PSScriptRoot\docs-generated"
New-GitBook "$PSScriptRoot\docs-generated" "$PSScriptRoot\temp" | Remove auth params for doc generation Authentication and repo management should be moved to another script... | Remove auth params for doc generation
Authentication and repo management should be moved to another script...
| PowerShell | mit | unic/bob-keith | powershell | ## Code Before:
param($username, $password, [switch]$Buildserver)
$PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition
$module = "Keith"
Import-Module "$PSScriptRoot\src\$module" -Force
New-PsDoc -Module $module -Path "$PSScriptRoot\docs\" -OutputLocation "$PSScriptRoot\docs-generated"
New-GitBoo... | - param($username, $password, [switch]$Buildserver)
-
- $PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition
+ $PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition
? +
$module = "Keith"
Import-Module "$PSScriptRoot\src\$module" -Force
New-PsDoc -Module $module -Path ... | 6 | 0.545455 | 2 | 4 |
63f1f8e87e51df872c7cdee808ca2a18a2f474da | src/atdd/src/test/resources/features/TopologyDiscoveryAdvanced.feature | src/atdd/src/test/resources/features/TopologyDiscoveryAdvanced.feature | Feature: Advanced Topology Discovery
Scenario: Large Scale Network, Partial Mesh, Discovery Time
Given AdvancedTopoDiscoGiven_TBD
When AdvancedTopoDiscoWhen_TBD
Then AdvancedTopoDiscoThen_TBD
| Feature: Advanced Topology Discovery
Scenario Outline: Large Scale Network, Partial Mesh, Discovery Time
Large scale (>1000) switch network won't be linear or full mesh. It'll have
some sort of partial mesh / hub-and-spoke / star architecteure. These tests will
still validate that the network is di... | Add scenario to large scale network feature | Add scenario to large scale network feature
| Cucumber | apache-2.0 | nikitamarchenko/open-kilda,nikitamarchenko/open-kilda,nikitamarchenko/open-kilda,telstra/open-kilda,carmine/open-kilda,jonvestal/open-kilda,carmine/open-kilda,telstra/open-kilda,telstra/open-kilda,carmine/open-kilda,nikitamarchenko/open-kilda,nikitamarchenko/open-kilda,carmine/open-kilda,telstra/open-kilda,carmine/open... | cucumber | ## Code Before:
Feature: Advanced Topology Discovery
Scenario: Large Scale Network, Partial Mesh, Discovery Time
Given AdvancedTopoDiscoGiven_TBD
When AdvancedTopoDiscoWhen_TBD
Then AdvancedTopoDiscoThen_TBD
## Instruction:
Add scenario to large scale network feature
## Code After:
Feature: Advanced To... | Feature: Advanced Topology Discovery
- Scenario: Large Scale Network, Partial Mesh, Discovery Time
+ Scenario Outline: Large Scale Network, Partial Mesh, Discovery Time
? ++++++++
- Given AdvancedTopoDiscoGiven_TBD
- When AdvancedTopoDiscoWhen_TBD
- Then AdvancedTopoDiscoThen_TBD
+
+ ... | 22 | 3.666667 | 18 | 4 |
cba4eb9a1a56ae6b1bc5824382f89cc270533f8a | scaffolding-go/plan.sh | scaffolding-go/plan.sh | pkg_name=scaffolding-go
pkg_description="Scaffolding for Go Applications"
pkg_origin=core
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_version="0.1.0"
pkg_license=('Apache-2.0')
pkg_source=nosuchfile.tar.gz
pkg_upstream_url="https://github.com/habitat-sh/core-plans"
pkg_deps=(
core/go
)
pkg_build_... | pkg_name=scaffolding-go
pkg_description="Scaffolding for Go Applications"
pkg_origin=core
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_version="0.1.0"
pkg_license=('Apache-2.0')
pkg_source=nosuchfile.tar.gz
pkg_upstream_url="https://github.com/habitat-sh/core-plans"
pkg_deps=(
${pkg_deps[@]}
cor... | Revert "[scaffolding-go] separating build and run deps" | Revert "[scaffolding-go] separating build and run deps"
Signed-off-by: Nell Shamrell <8ca9739a2537c8ebcbfe176c51c6e5e22618bd2f@gmail.com>
| Shell | apache-2.0 | be-plans/be,be-plans/be,be-plans/be,be-plans/be | shell | ## Code Before:
pkg_name=scaffolding-go
pkg_description="Scaffolding for Go Applications"
pkg_origin=core
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_version="0.1.0"
pkg_license=('Apache-2.0')
pkg_source=nosuchfile.tar.gz
pkg_upstream_url="https://github.com/habitat-sh/core-plans"
pkg_deps=(
core... | pkg_name=scaffolding-go
pkg_description="Scaffolding for Go Applications"
pkg_origin=core
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_version="0.1.0"
pkg_license=('Apache-2.0')
pkg_source=nosuchfile.tar.gz
pkg_upstream_url="https://github.com/habitat-sh/core-plans"
pkg_deps=(
+ ... | 4 | 0.222222 | 1 | 3 |
b937b0beb394bf974a3b2232c4060fb11a2d0e70 | yala/setup.cfg | yala/setup.cfg | [yala]
isort args = --recursive --check
pylint args = --msg-template="{path}:{msg} ({msg_id}, {symbol}):{line}:{column}"
radon cc args = --min D
radon mi args = --min D
| [yala]
isort args = --recursive --check
pylint args = --msg-template="{path}:{msg} ({msg_id}, {symbol}):{line}:{column}" --disable=duplicate-code
radon cc args = --min D
radon mi args = --min D
| Disable pylint duplicate code detection | Disable pylint duplicate code detection
It was breaking the parser
| INI | mit | cemsbr/yala,cemsbr/yala | ini | ## Code Before:
[yala]
isort args = --recursive --check
pylint args = --msg-template="{path}:{msg} ({msg_id}, {symbol}):{line}:{column}"
radon cc args = --min D
radon mi args = --min D
## Instruction:
Disable pylint duplicate code detection
It was breaking the parser
## Code After:
[yala]
isort args = --recursive --... | [yala]
isort args = --recursive --check
- pylint args = --msg-template="{path}:{msg} ({msg_id}, {symbol}):{line}:{column}"
+ pylint args = --msg-template="{path}:{msg} ({msg_id}, {symbol}):{line}:{column}" --disable=duplicate-code
? +++... | 2 | 0.4 | 1 | 1 |
eb4329e659ad57f24e07bbef02bd6b88131d718d | app/helpers/application_helper/button/vm_snapshot_add.rb | app/helpers/application_helper/button/vm_snapshot_add.rb | class ApplicationHelper::Button::VmSnapshotAdd < ApplicationHelper::Button::Basic
def disabled?
@error_message = if records_and_role_allows? && !@active
_('Select the Active snapshot to create a new snapshot for this VM')
else
@record.unsupported_... | class ApplicationHelper::Button::VmSnapshotAdd < ApplicationHelper::Button::Basic
def disabled?
@error_message = if !role_allows?(:feature => 'vm_snapshot_add')
_('Current user lacks permissions to create a new snapshot for this VM')
elsif !@record.supports_snapshot_cre... | Allow user to create snapshot without an active snapshot | Allow user to create snapshot without an active snapshot
https://bugzilla.redhat.com/show_bug.cgi?id=1425591
| Ruby | apache-2.0 | ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic | ruby | ## Code Before:
class ApplicationHelper::Button::VmSnapshotAdd < ApplicationHelper::Button::Basic
def disabled?
@error_message = if records_and_role_allows? && !@active
_('Select the Active snapshot to create a new snapshot for this VM')
else
@rec... | class ApplicationHelper::Button::VmSnapshotAdd < ApplicationHelper::Button::Basic
def disabled?
- @error_message = if records_and_role_allows? && !@active
+ @error_message = if !role_allows?(:feature => 'vm_snapshot_add')
- _('Select the Active snapshot to create a new snapshot for ... | 12 | 0.75 | 3 | 9 |
37bf66efbdfd879dce91fc90c8baf76063197f49 | rocker/cloudbuild.yaml | rocker/cloudbuild.yaml |
steps:
# TODO: use the standard go builder.
#- name: 'gcr.io/cloud-builders/go:debian'
# Build rocker.
- name: 'gcr.io/bendory-argo/go:debian'
args: ['get', 'github.com/grammarly/rocker']
env: ['GOPATH=.', 'GO15VENDOREXPERIMENT=1']
# Package it into a docker image.
- name: 'gcr.io/cloud-builders/docker'
args: ['... |
steps:
# Build rocker.
- name: 'gcr.io/cloud-builders/go:debian'
args: ['get', 'github.com/grammarly/rocker']
env: ['GOPATH=.', 'GO15VENDOREXPERIMENT=1']
# Package it into a docker image.
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/rocker', '.']
# Test the rocker build step t... | Use the cloud-builders go builder. | Use the cloud-builders go builder. | YAML | apache-2.0 | GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,GoogleCloudPlatform/cloud-builders-community,Googl... | yaml | ## Code Before:
steps:
# TODO: use the standard go builder.
#- name: 'gcr.io/cloud-builders/go:debian'
# Build rocker.
- name: 'gcr.io/bendory-argo/go:debian'
args: ['get', 'github.com/grammarly/rocker']
env: ['GOPATH=.', 'GO15VENDOREXPERIMENT=1']
# Package it into a docker image.
- name: 'gcr.io/cloud-builders/do... |
steps:
- # TODO: use the standard go builder.
- #- name: 'gcr.io/cloud-builders/go:debian'
# Build rocker.
- - name: 'gcr.io/bendory-argo/go:debian'
? --- ^^^^^^
+ - name: 'gcr.io/cloud-builders/go:debian'
? ++++++ ++++ ^
args: ['get', 'github.com/grammarly/rocker']
e... | 4 | 0.166667 | 1 | 3 |
36ad79c2e5e3d9d61d2d10231a8e271b87ecdcc4 | lib/tasks/create_index.rake | lib/tasks/create_index.rake | namespace :spree_elasticsearch do
desc "Create Elasticsearch index."
task :create_index => :environment do
unless Elasticsearch::Model.client.indices.exists index: Spree::ElasticsearchSettings.index
Elasticsearch::Model.client.indices.create \
index: Spree::ElasticsearchSettings.index,
bod... | namespace :spree_elasticsearch do
desc "Create Elasticsearch index."
task :create_index => :environment do
unless Elasticsearch::Model.client.indices.exists index: Spree::ElasticsearchSettings.index
Elasticsearch::Model.client.indices.create \
index: Spree::ElasticsearchSettings.index,
bod... | Use default settings for shards and replicas (5 shards) | Use default settings for shards and replicas (5 shards)
| Ruby | bsd-3-clause | casualsteps/spree_elasticsearch,Boomkat/spree_elasticsearch,casualsteps/spree_elasticsearch,casualsteps/spree_elasticsearch | ruby | ## Code Before:
namespace :spree_elasticsearch do
desc "Create Elasticsearch index."
task :create_index => :environment do
unless Elasticsearch::Model.client.indices.exists index: Spree::ElasticsearchSettings.index
Elasticsearch::Model.client.indices.create \
index: Spree::ElasticsearchSettings.in... | namespace :spree_elasticsearch do
desc "Create Elasticsearch index."
task :create_index => :environment do
unless Elasticsearch::Model.client.indices.exists index: Spree::ElasticsearchSettings.index
Elasticsearch::Model.client.indices.create \
index: Spree::ElasticsearchSettings.index,... | 2 | 0.066667 | 0 | 2 |
c52c489ee3adc5fe4cca73f7f1057fe68e16b20c | app/views/incidents/_index-results.html.erb | app/views/incidents/_index-results.html.erb | <h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:incident_type] %>
</st... | <h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:incident_type] %>
</st... | Use Incident Reports over Incidents | Use Incident Reports over Incidents
| HTML+ERB | agpl-3.0 | DetentionLogs/detentionlogs,DetentionLogs/detentionlogs | html+erb | ## Code Before:
<h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:incident... | <h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:... | 2 | 0.04 | 1 | 1 |
647f2bce0ae433eaac2fffd3b06a50d5ea4d071a | lib/hirefire/backend.rb | lib/hirefire/backend.rb |
module HireFire
module Backend
##
# Load the correct module (ActiveRecord, Mongoid or Redis)
# based on which worker and backends are loaded
#
# Currently supports:
# - Delayed Job with ActiveRecord and Mongoid
# - Resque with Redis
#
# @return [nil]
def self.included(base)... |
module HireFire
module Backend
##
# Load the correct module (ActiveRecord, Mongoid or Redis)
# based on which worker and backends are loaded
#
# Currently supports:
# - Delayed Job with ActiveRecord and Mongoid
# - Resque with Redis
#
# @return [nil]
def self.included(base)... | Remove string comparison and test based on required feature. | Remove string comparison and test based on required feature. | Ruby | mit | hirefire/hirefire | ruby | ## Code Before:
module HireFire
module Backend
##
# Load the correct module (ActiveRecord, Mongoid or Redis)
# based on which worker and backends are loaded
#
# Currently supports:
# - Delayed Job with ActiveRecord and Mongoid
# - Resque with Redis
#
# @return [nil]
def sel... |
module HireFire
module Backend
##
# Load the correct module (ActiveRecord, Mongoid or Redis)
# based on which worker and backends are loaded
#
# Currently supports:
# - Delayed Job with ActiveRecord and Mongoid
# - Resque with Redis
#
# @return [nil]
... | 2 | 0.04878 | 1 | 1 |
3b31d2d99414e2f1ba5c5e228729c6d7905a0a47 | lib/siff.rb | lib/siff.rb | module Siff
SIFFS = {
:BE => 'EUR',
:BG => 'EUR',
:CA => 'CAD',
:CZ => 'EUR',
:DK => 'EUR',
:DE => 'EUR',
:EE => 'EUR',
:IE => 'EUR',
:EL => 'EUR',
:ES => 'EUR',
:FR => 'EUR',
:GB => 'GBP',
:IT => 'EUR',
:CY => 'EUR',
:LV => 'EUR',
:LT => 'EUR',
:... | module Siff
SIFFS = {
:BE => :EUR,
:BG => :EUR,
:CA => :CAD,
:CZ => :EUR,
:DK => :EUR,
:DE => :EUR,
:EE => :EUR,
:IE => :EUR,
:EL => :EUR,
:ES => :EUR,
:FR => :EUR,
:GB => :GBP,
:IT => :EUR,
:CY => :EUR,
:LV => :EUR,
:LT => :EUR,
:LU => :EUR,
... | Convert strings to symbols to save memory instantiation. | Convert strings to symbols to save memory instantiation.
| Ruby | mit | ecomba/ecriso4217 | ruby | ## Code Before:
module Siff
SIFFS = {
:BE => 'EUR',
:BG => 'EUR',
:CA => 'CAD',
:CZ => 'EUR',
:DK => 'EUR',
:DE => 'EUR',
:EE => 'EUR',
:IE => 'EUR',
:EL => 'EUR',
:ES => 'EUR',
:FR => 'EUR',
:GB => 'GBP',
:IT => 'EUR',
:CY => 'EUR',
:LV => 'EUR',
:LT... | module Siff
SIFFS = {
- :BE => 'EUR',
? ^ -
+ :BE => :EUR,
? ^
- :BG => 'EUR',
? ^ -
+ :BG => :EUR,
? ^
- :CA => 'CAD',
? ^ -
+ :CA => :CAD,
? ^
- :CZ => 'EUR',
? ^ -
+ :CZ => :EUR,
? ... | 62 | 1.631579 | 31 | 31 |
fbe6a42d1b24adadce29c2deb67cdf5ed5672972 | README.md | README.md | Download recent movies from YTS
|
Summary
---------------
yts-downloader is an open source project providing automatic downloading of torrents for recent movies from yts.ag. You can filter based on quality (720p, 1080p, 3D), genre, rotten tomato rating or even MPA rating.
Requirements
---------------
- Node 6.x
- NPM
Download
---------------
Config... | Add all good stuff to readme | Add all good stuff to readme | Markdown | mit | killroyboy/yts-downloader | markdown | ## Code Before:
Download recent movies from YTS
## Instruction:
Add all good stuff to readme
## Code After:
Summary
---------------
yts-downloader is an open source project providing automatic downloading of torrents for recent movies from yts.ag. You can filter based on quality (720p, 1080p, 3D), genre, rotten tomat... | - Download recent movies from YTS
+
+ Summary
+ ---------------
+ yts-downloader is an open source project providing automatic downloading of torrents for recent movies from yts.ag. You can filter based on quality (720p, 1080p, 3D), genre, rotten tomato rating or even MPA rating.
+
+ Requirements
+ ---------------
+ ... | 60 | 60 | 59 | 1 |
215622e070860cb24c032186d768c6b341ad27fb | nemubot.py | nemubot.py |
import sys
import os
import imp
import traceback
servers = dict()
print ("Nemubot ready, my PID is %i!" % (os.getpid()))
prompt = __import__ ("prompt")
while prompt.launch(servers):
try:
imp.reload(prompt)
except:
print ("Unable to reload the prompt due to errors. Fix them before trying to re... |
import sys
import os
import imp
import traceback
servers = dict()
prompt = __import__ ("prompt")
if len(sys.argv) >= 2:
for arg in sys.argv[1:]:
prompt.load_file(arg, servers)
print ("Nemubot ready, my PID is %i!" % (os.getpid()))
while prompt.launch(servers):
try:
imp.reload(prompt)
ex... | Load files given in arguments | Load files given in arguments
| Python | agpl-3.0 | nemunaire/nemubot,nbr23/nemubot,Bobobol/nemubot-1 | python | ## Code Before:
import sys
import os
import imp
import traceback
servers = dict()
print ("Nemubot ready, my PID is %i!" % (os.getpid()))
prompt = __import__ ("prompt")
while prompt.launch(servers):
try:
imp.reload(prompt)
except:
print ("Unable to reload the prompt due to errors. Fix them bef... |
import sys
import os
import imp
import traceback
servers = dict()
+ prompt = __import__ ("prompt")
+
+ if len(sys.argv) >= 2:
+ for arg in sys.argv[1:]:
+ prompt.load_file(arg, servers)
+
print ("Nemubot ready, my PID is %i!" % (os.getpid()))
- prompt = __import__ ("prompt")
while p... | 7 | 0.35 | 6 | 1 |
e014f585473bd99d800745eacd7945da61d986ae | composer.json | composer.json | {
"name": "kordy/ticketit",
"description": "A simple helpdesk tickets system for Laravel 5.1 which integrates smoothly with Laravel default users and auth system",
"type": "laravel-package",
"keywords": ["laravel","helpdesk", "ticket", "support"],
"require": {
"laravel/framework": "^5.1",
... | {
"name": "kordy/ticketit",
"description": "A simple helpdesk tickets system for Laravel 5.1 which integrates smoothly with Laravel default users and auth system",
"type": "laravel-package",
"keywords": ["laravel","helpdesk", "ticket", "support"],
"require": {
"laravel/framework": "^5.1",
... | Add support for Carbon Translations | Add support for Carbon Translations | JSON | mit | xaviqv/ticketit,kikoseijo/ticketit,changefox/osticketit,xaviqv/ticketit,cassianogf/ticket-system,panichelpdesk/panichd,kikoseijo/ticketit,panichelpdesk/panichd,tmcdon89/ticketit,cassianogf/ticket-system,thekordy/ticketit,changefox/osticketit,thekordy/ticketit | json | ## Code Before:
{
"name": "kordy/ticketit",
"description": "A simple helpdesk tickets system for Laravel 5.1 which integrates smoothly with Laravel default users and auth system",
"type": "laravel-package",
"keywords": ["laravel","helpdesk", "ticket", "support"],
"require": {
"laravel/framew... | {
"name": "kordy/ticketit",
"description": "A simple helpdesk tickets system for Laravel 5.1 which integrates smoothly with Laravel default users and auth system",
"type": "laravel-package",
"keywords": ["laravel","helpdesk", "ticket", "support"],
"require": {
"laravel/framewor... | 3 | 0.125 | 2 | 1 |
ff758e9bb9ca6a6750d21f17cd9653126c467cef | pkg/api/resources.go | pkg/api/resources.go | package radosAPI
// Usage represents the response of usage requests
type Usage struct {
Entries []struct {
Buckets []struct {
Bucket string `json:"bucket"`
Categories []struct {
BytesReceived int `json:"bytes_received"`
BytesSent int `json:"bytes_sent"`
Category string `json:"ca... | package radosAPI
type apiError struct {
Code string `json:"Code"`
}
// Usage represents the response of usage requests
type Usage struct {
Entries []struct {
Buckets []struct {
Bucket string `json:"bucket"`
Categories []struct {
BytesReceived int `json:"bytes_received"`
BytesSent int `... | Add apiError struct to handle errors | Add apiError struct to handle errors
| Go | mit | QuentinPerez/go-radosgw | go | ## Code Before:
package radosAPI
// Usage represents the response of usage requests
type Usage struct {
Entries []struct {
Buckets []struct {
Bucket string `json:"bucket"`
Categories []struct {
BytesReceived int `json:"bytes_received"`
BytesSent int `json:"bytes_sent"`
Category ... | package radosAPI
+
+ type apiError struct {
+ Code string `json:"Code"`
+ }
// Usage represents the response of usage requests
type Usage struct {
Entries []struct {
Buckets []struct {
Bucket string `json:"bucket"`
Categories []struct {
BytesReceived int `json:"bytes_received"`
... | 4 | 0.111111 | 4 | 0 |
1e214905779575ea1cae1a799901943200bc2469 | ces/src/js/entries/popup.js | ces/src/js/entries/popup.js | import dom from '../utils/dom';
import messenger from '../utils/messenger';
import toggle from '../pages/popup/toggle';
messenger.sendToTab('popup-toggle-ready');
toggle({
el: dom.get('#disable-css'),
initialStateMessage: 'profile-css-state',
onToggleMessage: 'disable-profile-css',
disable: true
});
toggle({... | import dom from '../utils/dom';
import messenger from '../utils/messenger';
import toggle from '../pages/popup/toggle';
messenger.sendToTab('popup-toggle-ready');
toggle({
el: dom.get('#disable-css'),
initialStateMessage: 'profile-css-state',
onToggleMessage: 'disable-profile-css',
disable: true
});
toggle({... | Stop propagation when opening options page | Stop propagation when opening options page
| JavaScript | mit | alexzaworski/CodePen-Enhancement-Suite,alexzaworski/CodePen-Enhancement-Suite | javascript | ## Code Before:
import dom from '../utils/dom';
import messenger from '../utils/messenger';
import toggle from '../pages/popup/toggle';
messenger.sendToTab('popup-toggle-ready');
toggle({
el: dom.get('#disable-css'),
initialStateMessage: 'profile-css-state',
onToggleMessage: 'disable-profile-css',
disable: tr... | import dom from '../utils/dom';
import messenger from '../utils/messenger';
import toggle from '../pages/popup/toggle';
messenger.sendToTab('popup-toggle-ready');
toggle({
el: dom.get('#disable-css'),
initialStateMessage: 'profile-css-state',
onToggleMessage: 'disable-profile-css',
disab... | 3 | 0.136364 | 2 | 1 |
6b3339d6bf3f153b9b7156f1fb117927ae014c8d | app/views/home/index.haml | app/views/home/index.haml | = render 'shared/header'
.repo-listing{'ng-controller' => 'ReposController'}
%nav
%ul
%li.pull-left
%span.active-count
#{t('active_repos')}:
{{(repos | filter:{active: true}).length}} of {{repos.length}}
%li.pull-right
%a{'href' => '', 'ng-click' => 'sync()', 'ng-c... | = render 'shared/header'
.repo-listing{'ng-controller' => 'ReposController'}
%nav
%ul
%li.pull-left
%span.active-count
#{t('active_repos')}:
{{(repos | filter:{active: true}).length}} of {{repos.length}}
%li.pull-right
%a{'href' => '', 'ng-click' => 'sync()', 'ng-c... | Use simpler data binding for text displaying | Use simpler data binding for text displaying
| Haml | mit | wiserfirst/hound,JuanitoFatas/hound,orangeiceberg/hound,jeanmatheussouto/hound,larrylv/hound,hashbangnz/hound,peritpatrio/hound,wadetandy/hound,dobtco/hound,wiserfirst/hound,hashbangnz/hound,Koronen/hound,timchunght/hound,adriagalin/hound,rmswimkktt/houndci-staging,adriagalin/hound,Koronen/hound,daniel-beard/hound,wync... | haml | ## Code Before:
= render 'shared/header'
.repo-listing{'ng-controller' => 'ReposController'}
%nav
%ul
%li.pull-left
%span.active-count
#{t('active_repos')}:
{{(repos | filter:{active: true}).length}} of {{repos.length}}
%li.pull-right
%a{'href' => '', 'ng-click' =>... | = render 'shared/header'
.repo-listing{'ng-controller' => 'ReposController'}
%nav
%ul
%li.pull-left
%span.active-count
#{t('active_repos')}:
{{(repos | filter:{active: true}).length}} of {{repos.length}}
%li.pull-right
%a{'href' => '', 'ng-cli... | 2 | 0.1 | 1 | 1 |
5da24f6281d933d8970797e5ae98a6a4a042f103 | mifosng-db/migrations/core_db/V74__alter_m_loan_counter_table_add_group.sql | mifosng-db/migrations/core_db/V74__alter_m_loan_counter_table_add_group.sql | ALTER TABLE `m_client_loan_counter`
ADD COLUMN `group_id` BIGINT(20) NOT NULL AFTER `client_id`,
ADD CONSTRAINT `FK_m_group_loan_counter` FOREIGN KEY (`group_id`) REFERENCES `m_group` (`id`);
RENAME TABLE `m_client_loan_counter` TO `m_loan_counter`;
ALTER TABLE `m_loan_counter`
CHANGE COLUMN `client_id` `client_i... | DROP TABLE `m_client_loan_counter`;
ALTER TABLE `m_loan`
ADD COLUMN `loan_counter` SMALLINT NULL DEFAULT NULL AFTER `sync_disbursement_with_meeting`,
ADD COLUMN `loan_product_counter` SMALLINT NULL DEFAULT NULL AFTER `loan_counter`;
| Update DB Script for loan counter changes | Update DB Script for loan counter changes
| SQL | apache-2.0 | RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract | sql | ## Code Before:
ALTER TABLE `m_client_loan_counter`
ADD COLUMN `group_id` BIGINT(20) NOT NULL AFTER `client_id`,
ADD CONSTRAINT `FK_m_group_loan_counter` FOREIGN KEY (`group_id`) REFERENCES `m_group` (`id`);
RENAME TABLE `m_client_loan_counter` TO `m_loan_counter`;
ALTER TABLE `m_loan_counter`
CHANGE COLUMN `clie... | - ALTER TABLE `m_client_loan_counter`
? ^^^^
+ DROP TABLE `m_client_loan_counter`;
? ^ ++ +
- ADD COLUMN `group_id` BIGINT(20) NOT NULL AFTER `client_id`,
- ADD CONSTRAINT `FK_m_group_loan_counter` FOREIGN KEY (`group_id`) REFERENCES `m_group` (`id`);
-
- RENAME TABLE `m_client_loan_c... | 13 | 0.866667 | 1 | 12 |
e2250251214b1498184dc9fe89ca622a88ccc850 | README.md | README.md |
CFShareCircle is a better way for app developers to let users share the content they are providing to them. It is a simple UIView that adds touch features to sharing to multiple services.

##How To Use
|
CFShareCircle is a better way for app developers to let users share the content to many different services. It is a simple UIView that adds touch features.

##How To Use
1. Add the images directory and CFShareCircle files to your project.
2. Edit your view co... | Add code documentation to get the uiview to work. | Add code documentation to get the uiview to work. | Markdown | mit | neonaldo/CFShareCircle,camdenfullmer/CFShareCircle | markdown | ## Code Before:
CFShareCircle is a better way for app developers to let users share the content they are providing to them. It is a simple UIView that adds touch features to sharing to multiple services.

##How To Use
## Instruction:
Add code documentation to... |
- CFShareCircle is a better way for app developers to let users share the content they are providing to them. It is a simple UIView that adds touch features to sharing to multiple services.
? ^^ ^ ^ - ^^^^^^^^^^ ^ ... | 36 | 6 | 35 | 1 |
bbda6fe3a720b0792ff1959b9c2ef2b3d515718d | client/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml | client/src/main/java/org/realityforge/replicant/ReplicantClientCommon.gwt.xml | <module>
<inherits name='replicant.Replicant'/>
<inherits name='org.realityforge.replicant.ReplicantShared'/>
<inherits name='org.realityforge.gwt.webpoller.WebPoller'/>
<source path='client'>
<include name='*.java'/>
<include name='converger/**/*'/>
<include name='runtime/**/*'/>
<include name... | <module>
<inherits name='replicant.Replicant'/>
<inherits name='org.realityforge.replicant.ReplicantShared'/>
<inherits name='org.realityforge.gwt.webpoller.WebPoller'/>
<source path='client'>
<include name='*.java'/>
<include name='converger/**/*'/>
<include name='runtime/**/*'/>
<include name... | Remove include for package that has migrated | Remove include for package that has migrated
| XML | apache-2.0 | realityforge/replicant,realityforge/replicant | xml | ## Code Before:
<module>
<inherits name='replicant.Replicant'/>
<inherits name='org.realityforge.replicant.ReplicantShared'/>
<inherits name='org.realityforge.gwt.webpoller.WebPoller'/>
<source path='client'>
<include name='*.java'/>
<include name='converger/**/*'/>
<include name='runtime/**/*'/>
... | <module>
<inherits name='replicant.Replicant'/>
<inherits name='org.realityforge.replicant.ReplicantShared'/>
<inherits name='org.realityforge.gwt.webpoller.WebPoller'/>
<source path='client'>
<include name='*.java'/>
<include name='converger/**/*'/>
<include name='runtime/**/*'/>... | 1 | 0.076923 | 0 | 1 |
18a518ed6f18487693755f614fbc943adc3a2bc4 | gulpfile.js | gulpfile.js | var browserify = require('browserify');
var gulp = require('gulp');
var glob = require('glob');
var reactify = require('reactify');
var source = require('vinyl-source-stream');
var shell = require('gulp-shell');
/*
gulp browserify:
Bundles all .js files in the /js/ directory into one file in /build/bundle.js
th... | var browserify = require('browserify');
var gulp = require('gulp');
var glob = require('glob');
var reactify = require('reactify');
var source = require('vinyl-source-stream');
var shell = require('gulp-shell');
/*
gulp browserify:
Bundles all .js files in the /js/ directory into one file in /build/bundle.js
th... | Add gulp command for running server | Add gulp command for running server
| JavaScript | mit | BinghamtonCoRE/core-site | javascript | ## Code Before:
var browserify = require('browserify');
var gulp = require('gulp');
var glob = require('glob');
var reactify = require('reactify');
var source = require('vinyl-source-stream');
var shell = require('gulp-shell');
/*
gulp browserify:
Bundles all .js files in the /js/ directory into one file in /buil... | var browserify = require('browserify');
var gulp = require('gulp');
var glob = require('glob');
var reactify = require('reactify');
var source = require('vinyl-source-stream');
var shell = require('gulp-shell');
/*
gulp browserify:
Bundles all .js files in the /js/ directory into one file in... | 6 | 0.162162 | 5 | 1 |
753e1fc117a72fc6b61935609b12de6a15624f03 | README.md | README.md | * Visit the website [http://azure.com](http://azure.com)
## Workshop 2: Using Azure PowerShell
* Follow instruction in [Lab: Managing Microsoft Azure / Exercise 3: Using Azure PowerShell](Labs/LAB_01.md)
## Workshop 3: Creating virtual machines by using the Azure portal and Azure PowerShell
* Follow instruction in [L... | * Visit the website [http://azure.com](http://azure.com)
## Workshop 2: Using Azure PowerShell
* Follow instruction in [Lab: Managing Microsoft Azure / Exercise 3: Using Azure PowerShell](Labs/LAB_01.md)
## Workshop 3: Creating virtual machines by using the Azure portal and Azure PowerShell
* Follow instruction in [L... | Add IoT Hub to Web App. | Add IoT Hub to Web App.
Signed-off-by: Digital Thailand <d1c72b84026585eb55406833a23a9a05825e74a1@outlook.com>
| Markdown | mit | digitalthailand/course-azure-workshop,digitalthailand/course-azure-workshop | markdown | ## Code Before:
* Visit the website [http://azure.com](http://azure.com)
## Workshop 2: Using Azure PowerShell
* Follow instruction in [Lab: Managing Microsoft Azure / Exercise 3: Using Azure PowerShell](Labs/LAB_01.md)
## Workshop 3: Creating virtual machines by using the Azure portal and Azure PowerShell
* Follow i... | * Visit the website [http://azure.com](http://azure.com)
## Workshop 2: Using Azure PowerShell
* Follow instruction in [Lab: Managing Microsoft Azure / Exercise 3: Using Azure PowerShell](Labs/LAB_01.md)
## Workshop 3: Creating virtual machines by using the Azure portal and Azure PowerShell
* Follow ins... | 5 | 0.238095 | 4 | 1 |
51d5d56e1b88cb2e9b7d84b48d37200330e1f1ef | app/models/user_session.rb | app/models/user_session.rb | class UserSession < Authlogic::Session::Base
pds_url (ENV['PDS_URL'] || 'https://login.library.nyu.edu')
calling_system 'marli'
anonymous true
redirect_logout_url 'http://bobcat.library.nyu.edu'
def additional_attributes
h = {}
return h unless pds_user
h[:marli_admin] = true if default_admins.inc... | class UserSession < Authlogic::Session::Base
pds_url (ENV['PDS_URL'] || 'https://login.library.nyu.edu')
calling_system 'marli'
anonymous true
redirect_logout_url 'http://bobcat.library.nyu.edu'
def additional_attributes
h = {}
return h unless pds_user
h[:marli_admin] = true if default_admins.inc... | Use the latest Exlibris::Aleph library | Use the latest Exlibris::Aleph library
| Ruby | mit | NYULibraries/marli,NYULibraries/marli,NYULibraries/marli,NYULibraries/marli | ruby | ## Code Before:
class UserSession < Authlogic::Session::Base
pds_url (ENV['PDS_URL'] || 'https://login.library.nyu.edu')
calling_system 'marli'
anonymous true
redirect_logout_url 'http://bobcat.library.nyu.edu'
def additional_attributes
h = {}
return h unless pds_user
h[:marli_admin] = true if de... | class UserSession < Authlogic::Session::Base
pds_url (ENV['PDS_URL'] || 'https://login.library.nyu.edu')
calling_system 'marli'
anonymous true
redirect_logout_url 'http://bobcat.library.nyu.edu'
def additional_attributes
h = {}
return h unless pds_user
h[:marli_admin] = true i... | 15 | 0.6 | 8 | 7 |
ea9273ba54dc502327bcca8b233e8d338aaa0d43 | pombola/south_africa/management/commands/south_africa_create_new_parties_for_election_2019.py | pombola/south_africa/management/commands/south_africa_create_new_parties_for_election_2019.py | import unicodecsv
from django.core.management.base import BaseCommand, CommandError
from pombola.core.models import Organisation, OrganisationKind
parties_csv = "pombola/south_africa/data/elections/2019/parties.csv"
class Command(BaseCommand):
help = "Creates new parties for the 2019 elections"
def handl... | import unicodecsv
from django.core.management.base import BaseCommand, CommandError
from pombola.core.models import Organisation, OrganisationKind
parties_csv = "pombola/south_africa/data/elections/2019/parties.csv"
class Command(BaseCommand):
help = "Creates new parties for the 2019 elections"
def handl... | Move party name to defaults argument | [ZA] Move party name to defaults argument
Some party names have changed, but the slug remains the same, so to
avoid errors move the name to the defaults sections so it's not checked
for existing parties.
| Python | agpl-3.0 | mysociety/pombola,mysociety/pombola,mysociety/pombola,mysociety/pombola,mysociety/pombola,mysociety/pombola | python | ## Code Before:
import unicodecsv
from django.core.management.base import BaseCommand, CommandError
from pombola.core.models import Organisation, OrganisationKind
parties_csv = "pombola/south_africa/data/elections/2019/parties.csv"
class Command(BaseCommand):
help = "Creates new parties for the 2019 elections... | import unicodecsv
from django.core.management.base import BaseCommand, CommandError
from pombola.core.models import Organisation, OrganisationKind
parties_csv = "pombola/south_africa/data/elections/2019/parties.csv"
class Command(BaseCommand):
help = "Creates new parties for the 2019 e... | 2 | 0.074074 | 1 | 1 |
ed30209cf283e871993076a14c67a43c233f5976 | docs/home.md | docs/home.md | This collection of documents describes the resources and functions that make up the r/SpaceX API.
## Authentication
No authentication is required to use this public API
## Rate Limiting
No rate limiting is implemented at this time, but please be respectful with your usage
## Development
[Dev Info](https://github.c... | This collection of documents describes the resources and functions that make up the r/SpaceX API.
## Authentication
No authentication is required to use this public API
## Rate Limiting
The API has a rate limit of 50 req/sec per IP address, if exceeded, a response of 429 will be given
until the rate drops back below... | Add rate limit info to docs | Add rate limit info to docs
| Markdown | apache-2.0 | r-spacex/SpaceX-API,r-spacex/SpaceX-API | markdown | ## Code Before:
This collection of documents describes the resources and functions that make up the r/SpaceX API.
## Authentication
No authentication is required to use this public API
## Rate Limiting
No rate limiting is implemented at this time, but please be respectful with your usage
## Development
[Dev Info](... | This collection of documents describes the resources and functions that make up the r/SpaceX API.
## Authentication
No authentication is required to use this public API
## Rate Limiting
- No rate limiting is implemented at this time, but please be respectful with your usage
+ The API has a rate limit of ... | 3 | 0.111111 | 2 | 1 |
889b7753c4147cab3ee3b6d16237542c6e39b736 | content/issues/59.markdown | content/issues/59.markdown | ---
title: Issue 59
published: 2017-06-15
---
Welcome to another issue of Haskell Weekly!
Haskell is a purely functional programming language that focuses on robustness, concision, and correctness.
This is a weekly summary of what's going on in its community.
- [Front Row is hiring a senior backend Haskell engineer... | ---
title: Issue 59
published: 2017-06-15
---
Welcome to another issue of Haskell Weekly!
Haskell is a purely functional programming language that focuses on robustness, concision, and correctness.
This is a weekly summary of what's going on in its community.
- [Front Row is hiring a senior backend Haskell engineer... | Make generic-lens the package of the week | Make generic-lens the package of the week
| Markdown | mit | haskellweekly/haskellweekly.github.io,haskellweekly/haskellweekly.github.io | markdown | ## Code Before:
---
title: Issue 59
published: 2017-06-15
---
Welcome to another issue of Haskell Weekly!
Haskell is a purely functional programming language that focuses on robustness, concision, and correctness.
This is a weekly summary of what's going on in its community.
- [Front Row is hiring a senior backend ... | ---
title: Issue 59
published: 2017-06-15
---
Welcome to another issue of Haskell Weekly!
Haskell is a purely functional programming language that focuses on robustness, concision, and correctness.
This is a weekly summary of what's going on in its community.
- [Front Row is hiring a senior back... | 3 | 0.1875 | 2 | 1 |
a03a415330d85be0578b90b173adf10d93b27291 | .circleci/config.yml | .circleci/config.yml | version: 2 # use CircleCI 2.0
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/circleci-zorbage # directory where steps will run
docker: # run the steps with Docker
- image: circleci/openjdk:8-jdk-stretch # ...with this ima... | version: 2 # use CircleCI 2.0
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/circleci-zorbage # directory where steps will run
docker: # run the steps with Docker
- image: circleci/openjdk:8u181 # ...with this image as th... | Tweak circle ci java version | Tweak circle ci java version
| YAML | bsd-3-clause | bdezonia/zorbage,bdezonia/zorbage | yaml | ## Code Before:
version: 2 # use CircleCI 2.0
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/circleci-zorbage # directory where steps will run
docker: # run the steps with Docker
- image: circleci/openjdk:8-jdk-stretch # ... | version: 2 # use CircleCI 2.0
jobs: # a collection of steps
build: # runs not using Workflows must have a `build` job as entry point
working_directory: ~/circleci-zorbage # directory where steps will run
docker: # run the steps with Docker
- - image: circleci/openjdk:8-jdk-stretch # ... | 2 | 0.068966 | 1 | 1 |
b2ea3f164678ccd72d60c502fd77c028e5ee6990 | app/config.php | app/config.php | <?hh //strict
enum HTTP: string as string {
GET = 'GET';
POST = 'POST';
PUT = 'PUT';
DELETE = 'DELETE';
PATCH = 'PATCH';
}
enum AppEnv: string as string {
API = 'API';
UNIT_TESTS = 'UNIT_TESTS';
MAIN = 'MAIN';
PRODUCTION = 'production';
DEVELOPMENT = 'development';
}
const string ASSETS_PREFIX = 're... | <?hh //strict
enum HTTP: string as string {
GET = 'GET';
POST = 'POST';
PUT = 'PUT';
DELETE = 'DELETE';
PATCH = 'PATCH';
}
enum AppEnv: string as string {
API = 'API';
UNIT_TESTS = 'UNIT_TESTS';
MAIN = 'MAIN';
PRODUCTION = 'production';
DEVELOPMENT = 'development';
}
enum ExceptionCode:int as int {
... | Create a standard enum for Exception Codes | Create a standard enum for Exception Codes
| PHP | mit | raeesbhatti/boilerplate,raeesbhatti/boilerplate | php | ## Code Before:
<?hh //strict
enum HTTP: string as string {
GET = 'GET';
POST = 'POST';
PUT = 'PUT';
DELETE = 'DELETE';
PATCH = 'PATCH';
}
enum AppEnv: string as string {
API = 'API';
UNIT_TESTS = 'UNIT_TESTS';
MAIN = 'MAIN';
PRODUCTION = 'production';
DEVELOPMENT = 'development';
}
const string ASS... | <?hh //strict
enum HTTP: string as string {
GET = 'GET';
POST = 'POST';
PUT = 'PUT';
DELETE = 'DELETE';
PATCH = 'PATCH';
}
enum AppEnv: string as string {
API = 'API';
UNIT_TESTS = 'UNIT_TESTS';
MAIN = 'MAIN';
PRODUCTION = 'production';
DEVELOPMENT = 'development';
}
+ ... | 6 | 0.352941 | 6 | 0 |
86ff7e00ddf802822eb7459065bac82b61cc4dec | app/src/main/java/com/castelijns/mmdemo/photos/PhotosPresenter.java | app/src/main/java/com/castelijns/mmdemo/photos/PhotosPresenter.java | package com.castelijns.mmdemo.photos;
import com.castelijns.mmdemo.models.Photo;
import java.util.List;
import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
public class PhotosPresenter implemen... | package com.castelijns.mmdemo.photos;
import com.castelijns.mmdemo.models.Photo;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.sc... | Sort photos by title by default | Sort photos by title by default
| Java | mit | TimCastelijns/MMDemo | java | ## Code Before:
package com.castelijns.mmdemo.photos;
import com.castelijns.mmdemo.models.Photo;
import java.util.List;
import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
public class PhotosPr... | package com.castelijns.mmdemo.photos;
import com.castelijns.mmdemo.models.Photo;
+ import java.util.Collection;
+ import java.util.Collections;
import java.util.List;
import io.reactivex.Observer;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.Disposable;
... | 3 | 0.055556 | 3 | 0 |
68391d3a12dcb9b8e27f3e68cd8cfccb91670dad | README.md | README.md | NetBricks is a Rust based framework for NFV development. Please refer to the paper (available soon) for information
about the architecture and design. Currently NetBricks requires a relatively modern Linux version.
Building
--------
NetBricks can be built either using a Rust nightly build or using Rust built from the ... | NetBricks is a Rust based framework for NFV development. Please refer to the paper (available soon) for information
about the architecture and design. Currently NetBricks requires a relatively modern Linux version.
Building
--------
NetBricks can be built either using a Rust nightly build or using Rust built from the ... | Add instructions for installing SCTP to Readme | Add instructions for installing SCTP to Readme
| Markdown | isc | apanda/NetBricks,apanda/NetBricks,NetSys/e2d2,apanda/NetBricks,NetSys/NetBricks,NetSys/e2d2,apanda/NetBricks,NetSys/e2d2,NetSys/e2d2,apanda/NetBricks,NetSys/e2d2,NetSys/NetBricks,NetSys/e2d2,NetSys/NetBricks,NetSys/e2d2,NetSys/NetBricks,NetSys/NetBricks | markdown | ## Code Before:
NetBricks is a Rust based framework for NFV development. Please refer to the paper (available soon) for information
about the architecture and design. Currently NetBricks requires a relatively modern Linux version.
Building
--------
NetBricks can be built either using a Rust nightly build or using Rust... | NetBricks is a Rust based framework for NFV development. Please refer to the paper (available soon) for information
about the architecture and design. Currently NetBricks requires a relatively modern Linux version.
Building
--------
NetBricks can be built either using a Rust nightly build or using Rust bui... | 21 | 0.538462 | 20 | 1 |
ae0d709ee679fa1a1a6f78054657c78872e972e6 | events/guildMemberUpdate.js | events/guildMemberUpdate.js | exports.func = (client, oldMember, newMember) => {
if(oldMember.nickname != newMember.nickname) {
oldFormatted = oldMember.nickname ? `\`${oldMember.nickname}\`` : "_(none)_";
newFormatted = newMember.nickname ? `\`${newMember.nickname}\`` : "_(none)_";
client.logToGuild(newMember.guild, `:name_badge: ${client.... | exports.func = (client, oldMember, newMember) => {
if(oldMember.nickname != newMember.nickname) {
oldFormatted = oldMember.nickname ? `\`${oldMember.nickname}\`` : "_(none)_";
newFormatted = newMember.nickname ? `\`${newMember.nickname}\`` : "_(none)_";
client.logToGuild(newMember.guild, `:name_badge: ${client.... | Fix bug where role change logged on nickname change. | Fix bug where role change logged on nickname change.
| JavaScript | mit | IanMurray/AnnuBot | javascript | ## Code Before:
exports.func = (client, oldMember, newMember) => {
if(oldMember.nickname != newMember.nickname) {
oldFormatted = oldMember.nickname ? `\`${oldMember.nickname}\`` : "_(none)_";
newFormatted = newMember.nickname ? `\`${newMember.nickname}\`` : "_(none)_";
client.logToGuild(newMember.guild, `:name_... | exports.func = (client, oldMember, newMember) => {
if(oldMember.nickname != newMember.nickname) {
oldFormatted = oldMember.nickname ? `\`${oldMember.nickname}\`` : "_(none)_";
newFormatted = newMember.nickname ? `\`${newMember.nickname}\`` : "_(none)_";
client.logToGuild(newMember.guild, `:name_badg... | 3 | 0.111111 | 2 | 1 |
c979a270c4fc33347be7389d2b794dacba04d416 | README.md | README.md |
[](https://www.npmjs.com/package/@alexey.kornilov/injector)
This is dependency injector for JavaScript with support for ES6/ES2015. It can
be applied in both node and browser environments.
## Installation
Execute this comma... |
[](https://www.npmjs.com/package/@alexey.kornilov/injector)
This is dependency injector for JavaScript with support for ES6/ES2015. It can
be applied in both node and browser environments.
## Installation
Execute this comma... | Add usage section into readme. | Add usage section into readme.
| Markdown | mit | kavolorn/Injector | markdown | ## Code Before:
[](https://www.npmjs.com/package/@alexey.kornilov/injector)
This is dependency injector for JavaScript with support for ES6/ES2015. It can
be applied in both node and browser environments.
## Installation
Ex... |
[](https://www.npmjs.com/package/@alexey.kornilov/injector)
This is dependency injector for JavaScript with support for ES6/ES2015. It can
be applied in both node and browser environments.
## Installation
... | 79 | 4.647059 | 79 | 0 |
50d65b515e49e2a6796b798771b649686e59b812 | core/db/migrate/20140205120320_create_spree_payment_capture_events.rb | core/db/migrate/20140205120320_create_spree_payment_capture_events.rb | class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration
def change
create_table :spree_payment_capture_events do |t|
t.integer :amount
t.integer :payment_id
t.timestamps
end
add_index :spree_payment_capture_events, :payment_id
end
end
| class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration
def change
create_table :spree_payment_capture_events do |t|
t.decimal :amount, precision: 10, scale: 2, default: 0.0
t.integer :payment_id
t.timestamps
end
add_index :spree_payment_capture_events, :payment_id
end
end
| Use decimal field for capture_events, just like payment table | Use decimal field for capture_events, just like payment table
| Ruby | bsd-3-clause | TimurTarasenko/spree,vcavallo/spree,mleglise/spree,jspizziri/spree,softr8/spree,azclick/spree,mleglise/spree,zaeznet/spree,CJMrozek/spree,sunny2601/spree,JDutil/spree,raow/spree,njerrywerry/spree,orenf/spree,mindvolt/spree,firman/spree,devilcoders/solidus,Mayvenn/spree,shaywood2/spree,kewaunited/spree,piousbox/spree,za... | ruby | ## Code Before:
class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration
def change
create_table :spree_payment_capture_events do |t|
t.integer :amount
t.integer :payment_id
t.timestamps
end
add_index :spree_payment_capture_events, :payment_id
end
end
## Instruction:
Use deci... | class CreateSpreePaymentCaptureEvents < ActiveRecord::Migration
def change
create_table :spree_payment_capture_events do |t|
- t.integer :amount
+ t.decimal :amount, precision: 10, scale: 2, default: 0.0
t.integer :payment_id
t.timestamps
end
add_index :spree_pa... | 2 | 0.166667 | 1 | 1 |
f7e72d97e0a12696dbfeab8f7fccdcaeb642c93b | modules/govuk_jenkins/templates/google_api/credentials.json.erb | modules/govuk_jenkins/templates/google_api/credentials.json.erb | {
"type": "service_account",
"project_id": "<%= @project_id -%>",
"private_key_id": "<%= @private_key_id -%>",
"private_key": "<%= @private_key -%>",
"client_email": "<%= @client_email -%>",
"client_id": "<%= @client_id -%>",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https:/... | <%= require "json"; JSON.pretty_generate({
type: "service_account",
project_id: @project_id,
private_key_id: @private_key_id,
private_key: @private_key,
client_email: @client_email,
client_id: @client_id,
auth_uri: "https://accounts.google.com/o/oauth2/auth",
token_uri: "https://accounts.google.com/o/oa... | Use JSON module to generate valid JSON | Use JSON module to generate valid JSON
Currently we use erb to expand variables into strings in the JSON
for Google API credentials. This can sometimes end up generating
malformed JSON (specifically in the case where the private key
contains newline characters because JSON doesn't support multiline
strings). Instead o... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet | html+erb | ## Code Before:
{
"type": "service_account",
"project_id": "<%= @project_id -%>",
"private_key_id": "<%= @private_key_id -%>",
"private_key": "<%= @private_key -%>",
"client_email": "<%= @client_email -%>",
"client_id": "<%= @client_id -%>",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"toke... | - {
+ <%= require "json"; JSON.pretty_generate({
- "type": "service_account",
? - -
+ type: "service_account",
- "project_id": "<%= @project_id -%>",
? - - ----- -----
+ project_id: @project_id,
- "private_key_id": "<%= @private_key_id -%>",
? - - ----- ... | 24 | 2 | 12 | 12 |
d248a9aa471c679c752201dbeb9bd2850df71e4c | scripts/git-update.sh | scripts/git-update.sh |
for user in ~/Workspace/src/github.com/*
do
if [[ ! $user =~ $GITHUB_USER_NAME ]]; then
for project in $user/*
do
if [ -d $project/.git ]; then
echo "git $project"
cd $project
if [[ $project == *base16-shell* ]]; then
git pull --all
else
#statements
git fetch --all
git reset... |
for user in ~/Workspace/src/github.com/*
do
if [[ ! $user =~ $GITHUB_USER_NAME ]]; then
for project in $user/*
do
if [ -d $project/.git ]; then
echo "git $project"
cd $project
if [[ $project == *base16-shell* ]]; then
git pull --all
else
#statements
git fetch --all
git reset... | Remove bundle folder, vim-plug is faster | Remove bundle folder, vim-plug is faster
| Shell | apache-2.0 | daveshaheen/system-setup | shell | ## Code Before:
for user in ~/Workspace/src/github.com/*
do
if [[ ! $user =~ $GITHUB_USER_NAME ]]; then
for project in $user/*
do
if [ -d $project/.git ]; then
echo "git $project"
cd $project
if [[ $project == *base16-shell* ]]; then
git pull --all
else
#statements
git fetch --al... |
for user in ~/Workspace/src/github.com/*
do
if [[ ! $user =~ $GITHUB_USER_NAME ]]; then
for project in $user/*
do
if [ -d $project/.git ]; then
echo "git $project"
cd $project
if [[ $project == *base16-shell* ]]; then
git pull --all
else
#statements
gi... | 14 | 0.368421 | 0 | 14 |
1ddce502dce1d642dd141af72b8892a2c09b749c | sphinx/source/docs/reference/core/validation.rst | sphinx/source/docs/reference/core/validation.rst | .. _bokeh.core.validation:
bokeh.core.validation
---------------------
.. automodule:: bokeh.core.validation
.. _bokeh.core.validation.errors:
Error Codes
~~~~~~~~~~~
.. automodule:: bokeh.core.validation.errors
:members:
:undoc-members:
.. _bokeh.core.validation.warnings:
Warning Codes
~~~~~~~~~~~~~
.. a... | .. _bokeh.core.validation:
bokeh.core.validation
---------------------
.. automodule:: bokeh.core.validation
.. _bokeh.core.validation.errors:
Error Codes
~~~~~~~~~~~
.. automodule:: bokeh.core.validation.errors
:members:
:undoc-members:
.. _bokeh.core.validation.warnings:
Warning Codes
~~~~~~~~~~~~~
.. a... | Add ref link for Scale | Add ref link for Scale
| reStructuredText | bsd-3-clause | ericmjl/bokeh,timsnyder/bokeh,bokeh/bokeh,bokeh/bokeh,aavanian/bokeh,percyfal/bokeh,aavanian/bokeh,ericmjl/bokeh,ericmjl/bokeh,stonebig/bokeh,dennisobrien/bokeh,stonebig/bokeh,rs2/bokeh,philippjfr/bokeh,DuCorey/bokeh,aavanian/bokeh,philippjfr/bokeh,jakirkham/bokeh,jakirkham/bokeh,timsnyder/bokeh,jakirkham/bokeh,percyfa... | restructuredtext | ## Code Before:
.. _bokeh.core.validation:
bokeh.core.validation
---------------------
.. automodule:: bokeh.core.validation
.. _bokeh.core.validation.errors:
Error Codes
~~~~~~~~~~~
.. automodule:: bokeh.core.validation.errors
:members:
:undoc-members:
.. _bokeh.core.validation.warnings:
Warning Codes
~~~... | .. _bokeh.core.validation:
bokeh.core.validation
---------------------
.. automodule:: bokeh.core.validation
.. _bokeh.core.validation.errors:
Error Codes
~~~~~~~~~~~
.. automodule:: bokeh.core.validation.errors
:members:
:undoc-members:
.. _bokeh.core.validation.warnings:
... | 1 | 0.022222 | 1 | 0 |
60443b1911f326ca04740bb934c4c6a1355ae0de | src/writer/templates/base/table/base.twig | src/writer/templates/base/table/base.twig | <div class="table-container">
<div class="filter-controls">
{% for filter in filters %}
{{ filter|write|raw }}
{% endfor %}
</div>
<table>
<!-- header row -->
<tr>
{% if rows is empty %}
<th>No data found</th>
{% else %}
{% for f... | <div class="table-container">
<div class="filter-controls">
{% for filter in filters %}
{{ filter|write|raw }}
{% endfor %}
</div>
<table>
<!-- header row -->
<tr>
{% if rows is empty %}
<th>No data found</th>
{% else %}
{% for f... | Add handle to filter feedback. | Add handle to filter feedback.
| Twig | mit | AthensFramework/core,AthensFramework/core,AthensFramework/core,AthensFramework/core | twig | ## Code Before:
<div class="table-container">
<div class="filter-controls">
{% for filter in filters %}
{{ filter|write|raw }}
{% endfor %}
</div>
<table>
<!-- header row -->
<tr>
{% if rows is empty %}
<th>No data found</th>
{% else %}
... | <div class="table-container">
<div class="filter-controls">
{% for filter in filters %}
{{ filter|write|raw }}
{% endfor %}
</div>
<table>
<!-- header row -->
<tr>
{% if rows is empty %}
<th>No data found</th>
{% ... | 9 | 0.28125 | 6 | 3 |
9da008fea97921ffaac520e39d59de149164e299 | config/human_locale_names.yaml | config/human_locale_names.yaml | ---
human_locale_names:
en: English
es: Español
fr: Français
ja: 日本語
pt_BR: pt_BR
zh_CN: 简体中文
| ---
human_locale_names:
en: English
es: Español
fr: Français
ja: 日本語
pt_BR: Português (Brasil)
zh_CN: 简体中文
| Update locale name for Brazilian Portuguese | Update locale name for Brazilian Portuguese
| YAML | apache-2.0 | gmcculloug/manageiq,aufi/manageiq,kbrock/manageiq,d-m-u/manageiq,agrare/manageiq,jvlcek/manageiq,agrare/manageiq,juliancheal/manageiq,tinaafitz/manageiq,aufi/manageiq,billfitzgerald0120/manageiq,djberg96/manageiq,chessbyte/manageiq,pkomanek/manageiq,chessbyte/manageiq,lpichler/manageiq,ManageIQ/manageiq,borod108/manage... | yaml | ## Code Before:
---
human_locale_names:
en: English
es: Español
fr: Français
ja: 日本語
pt_BR: pt_BR
zh_CN: 简体中文
## Instruction:
Update locale name for Brazilian Portuguese
## Code After:
---
human_locale_names:
en: English
es: Español
fr: Français
ja: 日本語
pt_BR: Português (Brasil)
zh_CN: 简体中文
| ---
human_locale_names:
en: English
es: Español
fr: Français
ja: 日本語
- pt_BR: pt_BR
+ pt_BR: Português (Brasil)
zh_CN: 简体中文 | 2 | 0.25 | 1 | 1 |
e0e4060c088041c8f8704651c0ed3d8282fa3f03 | Sources/Sugar/Helpers/Either.swift | Sources/Sugar/Helpers/Either.swift | import Vapor
/// A value that can one of two types
public enum Either<L, R> {
case left(L)
case right(R)
}
extension Either: ResponseEncodable where L: ResponseEncodable, R: ResponseEncodable {
/// See `ResponseEncodable.encode`
public func encode(for req: Request) throws -> Future<Response> {
... | import Vapor
/// A value that can one of two types
public enum Either<L, R> {
case left(L)
case right(R)
}
extension Either: ResponseEncodable where L: ResponseEncodable, R: ResponseEncodable {
/// See `ResponseEncodable.encode`
public func encode(for req: Request) throws -> Future<Response> {
... | Add implementation for swift < 4.2 | Add implementation for swift < 4.2
| Swift | mit | nodes-vapor/sugar | swift | ## Code Before:
import Vapor
/// A value that can one of two types
public enum Either<L, R> {
case left(L)
case right(R)
}
extension Either: ResponseEncodable where L: ResponseEncodable, R: ResponseEncodable {
/// See `ResponseEncodable.encode`
public func encode(for req: Request) throws -> Future<Res... | import Vapor
/// A value that can one of two types
public enum Either<L, R> {
case left(L)
case right(R)
}
extension Either: ResponseEncodable where L: ResponseEncodable, R: ResponseEncodable {
/// See `ResponseEncodable.encode`
public func encode(for req: Request) throws -> Futu... | 17 | 0.485714 | 16 | 1 |
669bb4816f2002df2786bbb77c6835ecea58c57d | overture.md | overture.md | ---
layout: article
title: Overture
image:
feature: overture.jpg
teaser: overture_300_200.jpg
caption: Mount Rainier from Mailbox Peak, WA
---
Programming, tools and process are stuck in the past, held in place by hoards
of OO-wielding proletariats collectively chanting "good enough".
Let's find a better way.
... | ---
layout: article
title: Overture
image:
feature: overture.jpg
teaser: overture_300_200.jpg
caption: Mount Rainier from Mailbox Peak, WA
---
Programming, tools and process are stuck in the past, held in place by hoards
of OO-wielding proletariats collectively chanting "good enough".
Let's find a better way.
... | Add FP in Scala to recommended reading | Add FP in Scala to recommended reading
| Markdown | mit | devth/devth.github.com,devth/devth.github.com,devth/devth.github.com,devth/devth.github.com | markdown | ## Code Before:
---
layout: article
title: Overture
image:
feature: overture.jpg
teaser: overture_300_200.jpg
caption: Mount Rainier from Mailbox Peak, WA
---
Programming, tools and process are stuck in the past, held in place by hoards
of OO-wielding proletariats collectively chanting "good enough".
Let's find... | ---
layout: article
title: Overture
image:
feature: overture.jpg
teaser: overture_300_200.jpg
caption: Mount Rainier from Mailbox Peak, WA
---
Programming, tools and process are stuck in the past, held in place by hoards
of OO-wielding proletariats collectively chanting "good enough".
... | 4 | 0.121212 | 4 | 0 |
46de550b61371652c6767893c9e368bedfffb701 | .travis.yml | .travis.yml | sudo: false
language: ruby
rvm:
- 2.2.2
cache: bundler
bundler_args: "--without development"
branches:
only:
- production
script: mkdir -p deploy/dataset-sync-wrapper && cp -r *.html *.js bower_components deploy/dataset-sync-wrapper/
after_success: bundle exec s3_website push --site deploy
env:
global:
- secu... | sudo: false
language: ruby
rvm:
- 2.2.2
cache: bundler
bundler_args: "--without development"
branches:
only:
- production
script: mkdir -p deploy/dataset-sync-wrapper && cp -r *.html *.js bower_components deploy/dataset-sync-wrapper/
after_success: bundle exec s3_website push --site deploy
env:
global:
- secure... | Encrypt Travis ENV variables again | Encrypt Travis ENV variables again
[#92606056]
| YAML | mit | concord-consortium/dataset-sync-wrapper,concord-consortium/dataset-sync-wrapper,concord-consortium/dataset-sync-wrapper | yaml | ## Code Before:
sudo: false
language: ruby
rvm:
- 2.2.2
cache: bundler
bundler_args: "--without development"
branches:
only:
- production
script: mkdir -p deploy/dataset-sync-wrapper && cp -r *.html *.js bower_components deploy/dataset-sync-wrapper/
after_success: bundle exec s3_website push --site deploy
env:
... | sudo: false
language: ruby
rvm:
- 2.2.2
cache: bundler
bundler_args: "--without development"
branches:
only:
- - production
? --
+ - production
script: mkdir -p deploy/dataset-sync-wrapper && cp -r *.html *.js bower_components deploy/dataset-sync-wrapper/
after_success: bundle exec s3_websi... | 6 | 0.4 | 3 | 3 |
1c23c3eae8b9e073fecb0234d3e818fc1305a54c | defdir_windows.go | defdir_windows.go | // +build windows
package config
import (
"os"
"path"
)
func defaultDirectory() string {
base := path.Base(os.Args[0])
ext := path.Ext(base)
drv := os.Getenv("SystemDrive")
pdDir := "ProgramData"
name := base[0 : len(base)-len(ext)]
return path.Join(drv, pdDir, name, name)
}
| // +build windows
package config
import (
"os"
"path/filepath"
)
func defaultDirectory() string {
base := filepath.Base(os.Args[0])
ext := filepath.Ext(base)
drv := os.Getenv("SystemDrive")
pdDir := "ProgramData"
name := base[0 : len(base)-len(ext)]
return filepath.Join(drv, pdDir, name, name)
}
| Use filepath in place of path for windows code. | Use filepath in place of path for windows code.
| Go | mit | codemodus/config | go | ## Code Before:
// +build windows
package config
import (
"os"
"path"
)
func defaultDirectory() string {
base := path.Base(os.Args[0])
ext := path.Ext(base)
drv := os.Getenv("SystemDrive")
pdDir := "ProgramData"
name := base[0 : len(base)-len(ext)]
return path.Join(drv, pdDir, name, name)
}
## Instruction... | // +build windows
package config
import (
"os"
- "path"
+ "path/filepath"
)
func defaultDirectory() string {
- base := path.Base(os.Args[0])
+ base := filepath.Base(os.Args[0])
? ++++
- ext := path.Ext(base)
+ ext := filepath.Ext(base)
? ++++
drv := os.Getenv("System... | 8 | 0.421053 | 4 | 4 |
b17d88f802302354228e28e38cb02fa3801fb4a3 | README.md | README.md | ContextElement
============
ContextElement is a jQuery plugin which allows you to add an element as context item to any HTML element of your choice. It was originally designed to extend <a href="http://getbootstrap.com">Twitter Bootstrap</a> but it also runs as standalone.
The events can be triggered by left-, right- ... | ContextElement
============
ContextElement is a jQuery plugin which allows you to add an element as context item to any HTML element of your choice. It was originally designed to extend <a href="http://getbootstrap.com">Twitter Bootstrap</a> but it also runs as standalone.
The events can be triggered by left-, right- ... | Add demo of OnDemand context element using a function as source. | Add demo of OnDemand context element using a function as source.
| Markdown | mit | Merec/context-element | markdown | ## Code Before:
ContextElement
============
ContextElement is a jQuery plugin which allows you to add an element as context item to any HTML element of your choice. It was originally designed to extend <a href="http://getbootstrap.com">Twitter Bootstrap</a> but it also runs as standalone.
The events can be triggered b... | ContextElement
============
ContextElement is a jQuery plugin which allows you to add an element as context item to any HTML element of your choice. It was originally designed to extend <a href="http://getbootstrap.com">Twitter Bootstrap</a> but it also runs as standalone.
The events can be triggered by left... | 6 | 0.285714 | 5 | 1 |
732e0992f85d7773c355cd8ce6e87386f819b368 | README.md | README.md | gm.datepickerMultiSelect
========================
gm.datepickerMultiSelect is an AngularJS module to extend UI Bootstrap's Datepicker directive to allow for multiple date selections.
Simply include the module:
angular.module('myApp', ['ui.bootstrap', 'gm.datepickerMultiSelect']);
And use thusly:
<datepicke... | gm.datepickerMultiSelect
========================
gm.datepickerMultiSelect is an AngularJS module to extend UI Bootstrap's Datepicker directive to allow for multiple date selections.
Simply include the module:
angular.module('myApp', ['ui.bootstrap', 'gm.datepickerMultiSelect']);
And use thusly:
<datepicke... | Revert "Put demo on Plunker." | Revert "Put demo on Plunker."
This reverts commit 547680049ad00158aada5d565270b42f757ed9a9.
| Markdown | mit | brenovieira/gm.datepickerMultiSelect,spongessuck/gm.datepickerMultiSelect,spongessuck/gm.datepickerMultiSelect,brenovieira/gm.datepickerMultiSelect | markdown | ## Code Before:
gm.datepickerMultiSelect
========================
gm.datepickerMultiSelect is an AngularJS module to extend UI Bootstrap's Datepicker directive to allow for multiple date selections.
Simply include the module:
angular.module('myApp', ['ui.bootstrap', 'gm.datepickerMultiSelect']);
And use thusly:... | gm.datepickerMultiSelect
========================
gm.datepickerMultiSelect is an AngularJS module to extend UI Bootstrap's Datepicker directive to allow for multiple date selections.
Simply include the module:
angular.module('myApp', ['ui.bootstrap', 'gm.datepickerMultiSelect']);
And use thu... | 4 | 0.166667 | 1 | 3 |
a68fed9b34e1e2c8553a6a161b97a86bb65a43da | README.md | README.md |
[F-Droid](https://f-droid.org/) desktop client.
This is **not** a replacement for the [Android client](https://gitlab.com/fdroid/fdroidclient).
While the Android client integrates with the system with regular update checks
and notifications, this is a command line client that talks to connected
devices via [ADB](http... |
[F-Droid](https://f-droid.org/) desktop client.
This is **not** a replacement for the [Android client](https://gitlab.com/fdroid/fdroidclient).
While the Android client integrates with the system with regular update checks
and notifications, this is a command line client that talks to connected
devices via [ADB](http... | Remove more completed TODO items | Remove more completed TODO items
| Markdown | bsd-3-clause | mvdan/fdroidcl | markdown | ## Code Before:
[F-Droid](https://f-droid.org/) desktop client.
This is **not** a replacement for the [Android client](https://gitlab.com/fdroid/fdroidclient).
While the Android client integrates with the system with regular update checks
and notifications, this is a command line client that talks to connected
device... |
[F-Droid](https://f-droid.org/) desktop client.
This is **not** a replacement for the [Android client](https://gitlab.com/fdroid/fdroidclient).
While the Android client integrates with the system with regular update checks
and notifications, this is a command line client that talks to connected
devices ... | 2 | 0.046512 | 0 | 2 |
a02ed17f79bba6e948c3b38d70ed6c2adbf1d0eb | py/tables.py | py/tables.py | import sqlalchemy
import sqlalchemy.ext.declarative
Base = sqlalchemy.ext.declarative.declarative_base()
class Post(Base):
__tablename__ = "posts"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key = True)
title = sqlalchemy.Column(sqlalchemy.String)
body = sqlalchemy.Column(sqlalchemy.Text,) #Should be text... | import sqlalchemy
import sqlalchemy.ext.declarative
Base = sqlalchemy.ext.declarative.declarative_base()
class Post(Base):
__tablename__ = "posts"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key = True)
title = sqlalchemy.Column(sqlalchemy.String)
body = sqlalchemy.Column(sqlalchemy.Text,) #Should be text... | Change type of time_posted to DATETIME and add author column | Change type of time_posted to DATETIME and add author column
| Python | mit | ollien/Timpani,ollien/Timpani,ollien/Timpani | python | ## Code Before:
import sqlalchemy
import sqlalchemy.ext.declarative
Base = sqlalchemy.ext.declarative.declarative_base()
class Post(Base):
__tablename__ = "posts"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key = True)
title = sqlalchemy.Column(sqlalchemy.String)
body = sqlalchemy.Column(sqlalchemy.Text,)... | import sqlalchemy
import sqlalchemy.ext.declarative
Base = sqlalchemy.ext.declarative.declarative_base()
class Post(Base):
__tablename__ = "posts"
id = sqlalchemy.Column(sqlalchemy.Integer, primary_key = True)
title = sqlalchemy.Column(sqlalchemy.String)
body = sqlalchemy.Column(sqlalchemy.... | 3 | 0.103448 | 2 | 1 |
2edd05638e35a95435185b9040b252e8b98893e4 | app/src/main/java/com/annimon/hotarufx/bundles/InterpolatorsBundle.java | app/src/main/java/com/annimon/hotarufx/bundles/InterpolatorsBundle.java | package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final Map<String, FunctionInf... | package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final Map<String, FunctionInf... | Add alias for discrete interpolator | Add alias for discrete interpolator
| Java | apache-2.0 | aNNiMON/HotaruFX | java | ## Code Before:
package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final Map<Str... | package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final M... | 1 | 0.032258 | 1 | 0 |
72ca5876f553f595582993e800708b707b956b16 | EventTarget.js | EventTarget.js | /**
* @author mrdoob / http://mrdoob.com
* @author Jesús Leganés Combarro "Piranna" <piranna@gmail.com>
*/
function EventTarget()
{
var listeners = {};
this.addEventListener = function(type, listener)
{
if(!listener) return
var listeners_type = listeners[type]
if(listeners_type === undefined)
... | /**
* @author mrdoob / http://mrdoob.com
* @author Jesús Leganés Combarro "Piranna" <piranna@gmail.com>
*/
function EventTarget()
{
var listeners = {};
this.addEventListener = function(type, listener)
{
if(!listener) return
var listeners_type = listeners[type]
if(listeners_type === undefined)
... | Support for Internet Explorer 8 | Support for Internet Explorer 8
| JavaScript | mit | ShareIt-project/EventTarget.js | javascript | ## Code Before:
/**
* @author mrdoob / http://mrdoob.com
* @author Jesús Leganés Combarro "Piranna" <piranna@gmail.com>
*/
function EventTarget()
{
var listeners = {};
this.addEventListener = function(type, listener)
{
if(!listener) return
var listeners_type = listeners[type]
if(listeners_type === u... | /**
* @author mrdoob / http://mrdoob.com
* @author Jesús Leganés Combarro "Piranna" <piranna@gmail.com>
*/
+
function EventTarget()
{
var listeners = {};
this.addEventListener = function(type, listener)
{
- if(!listener) return
? ^^
+ if(!listener) return
? ^^^^
- var list... | 36 | 0.679245 | 21 | 15 |
4902ad7ba670764bf08891a36fa2b927c23799e7 | src/Providers/LaravelMixpanelServiceProvider.php | src/Providers/LaravelMixpanelServiceProvider.php | <?php namespace GeneaLabs\LaravelMixpanel\Providers;
use GeneaLabs\LaravelMixpanel\LaravelMixpanel;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelEventHandler;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelUserObserver;
use Illuminate\Auth\Guard;
use Illuminate\Support\Facades\Event;
use Illuminate\H... | <?php namespace GeneaLabs\LaravelMixpanel\Providers;
use GeneaLabs\LaravelMixpanel\LaravelMixpanel;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelEventHandler;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelUserObserver;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Support\Facades\Event;
use Il... | Change Auth\Guard to use Guard Contract | Change Auth\Guard to use Guard Contract | PHP | mit | canerdogan/laravel-mixpanel,canerdogan/laravel-mixpanel,GeneaLabs/laravel-mixpanel,GeneaLabs/laravel-mixpanel,canerdogan/laravel-mixpanel | php | ## Code Before:
<?php namespace GeneaLabs\LaravelMixpanel\Providers;
use GeneaLabs\LaravelMixpanel\LaravelMixpanel;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelEventHandler;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelUserObserver;
use Illuminate\Auth\Guard;
use Illuminate\Support\Facades\Event;
... | <?php namespace GeneaLabs\LaravelMixpanel\Providers;
use GeneaLabs\LaravelMixpanel\LaravelMixpanel;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelEventHandler;
use GeneaLabs\LaravelMixpanel\Listeners\LaravelMixpanelUserObserver;
- use Illuminate\Auth\Guard;
+ use Illuminate\Contracts\Auth\Guard;
? ... | 2 | 0.054054 | 1 | 1 |
ab53865d66ca40fd705aa251598458f010c47fbd | test/node_http_client.spec.coffee | test/node_http_client.spec.coffee |
helpers = require('./helpers')
AWS = helpers.AWS
MockClient = helpers.MockClient
describe 'AWS.NodeHttpClient', ->
http = new AWS.NodeHttpClient()
describe 'handleRequest', ->
it 'emits httpError in error event', ->
done = false
req = new AWS.Request(endpoint: 'invalid', config: region: 'empty')
... |
helpers = require('./helpers')
AWS = helpers.AWS
MockClient = helpers.MockClient
describe 'AWS.NodeHttpClient', ->
http = new AWS.NodeHttpClient()
describe 'handleRequest', ->
it 'emits httpError in error event', ->
done = false
endpoint = new AWS.Endpoint('http://invalid')
req = new AWS.Re... | Build correct endpoint in NodeHttpClient test | Build correct endpoint in NodeHttpClient test
| CoffeeScript | apache-2.0 | chrisradek/aws-sdk-js,GlideMe/aws-sdk-js,ugie/aws-sdk-js,prestomation/aws-sdk-js,odeke-em/aws-sdk-js,guymguym/aws-sdk-js,aws/aws-sdk-js,LiuJoyceC/aws-sdk-js,jippeholwerda/aws-sdk-js,mapbox/aws-sdk-js,jmswhll/aws-sdk-js,GlideMe/aws-sdk-js,dconnolly/aws-sdk-js,AdityaManohar/aws-sdk-js,misfitdavidl/aws-sdk-js,j3tm0t0/aws-... | coffeescript | ## Code Before:
helpers = require('./helpers')
AWS = helpers.AWS
MockClient = helpers.MockClient
describe 'AWS.NodeHttpClient', ->
http = new AWS.NodeHttpClient()
describe 'handleRequest', ->
it 'emits httpError in error event', ->
done = false
req = new AWS.Request(endpoint: 'invalid', config: r... |
helpers = require('./helpers')
AWS = helpers.AWS
MockClient = helpers.MockClient
describe 'AWS.NodeHttpClient', ->
http = new AWS.NodeHttpClient()
describe 'handleRequest', ->
it 'emits httpError in error event', ->
done = false
+ endpoint = new AWS.Endpoint('http://invalid'... | 3 | 0.15 | 2 | 1 |
0b6d54efdbdd66fe931fecffd5b73101357c608d | src/Symfony/Upgrade/Fixer/FormTypeFixer.php | src/Symfony/Upgrade/Fixer/FormTypeFixer.php | <?php
namespace Symfony\Upgrade\Fixer;
use Symfony\CS\Tokenizer\Tokens;
abstract class FormTypeFixer extends AbstractFixer
{
protected $types = [
'Birthday',
'Button',
'Checkbox',
'Choice',
'Collection',
'Country',
'Currency',
'DateTime',
'E... | <?php
namespace Symfony\Upgrade\Fixer;
use Symfony\CS\Tokenizer\Tokens;
abstract class FormTypeFixer extends AbstractFixer
{
protected $types = [
'Birthday',
'Button',
'Checkbox',
'Choice',
'Collection',
'Country',
'Currency',
'DateTime',
'D... | Add missing Date form type | Add missing Date form type
http://symfony.com/doc/current/reference/forms/types/date.html | PHP | mit | umpirsky/Symfony-Upgrade-Fixer | php | ## Code Before:
<?php
namespace Symfony\Upgrade\Fixer;
use Symfony\CS\Tokenizer\Tokens;
abstract class FormTypeFixer extends AbstractFixer
{
protected $types = [
'Birthday',
'Button',
'Checkbox',
'Choice',
'Collection',
'Country',
'Currency',
'DateT... | <?php
namespace Symfony\Upgrade\Fixer;
use Symfony\CS\Tokenizer\Tokens;
abstract class FormTypeFixer extends AbstractFixer
{
protected $types = [
'Birthday',
'Button',
'Checkbox',
'Choice',
'Collection',
'Country',
'Currency'... | 1 | 0.018868 | 1 | 0 |
f41a82ba71dc575dbd7d58b9b3ace32cab9751ed | circle.yml | circle.yml | machine:
timezone:
America/Argentina/Buenos_Aires
ruby:
version: 2.3.1
general:
branches:
ignore:
- gh-pages
checkout:
pre:
- git config --global user.email "bot@uqbar.org"
- git config --global user.name "UqbarBot"
- npm install -g bower
database:
override:
- echo "Skipping DB se... | machine:
timezone:
America/Argentina/Buenos_Aires
ruby:
version: 2.3.1
general:
branches:
ignore:
- gh-pages
checkout:
pre:
- git config --global user.email "bot@uqbar.org"
- git config --global user.name "UqbarBot"
- npm install -g bower
database:
override:
- echo "Skipping DB se... | Move failed_urls to artifact directory | Move failed_urls to artifact directory
| YAML | lgpl-2.1 | uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki | yaml | ## Code Before:
machine:
timezone:
America/Argentina/Buenos_Aires
ruby:
version: 2.3.1
general:
branches:
ignore:
- gh-pages
checkout:
pre:
- git config --global user.email "bot@uqbar.org"
- git config --global user.name "UqbarBot"
- npm install -g bower
database:
override:
- echo... | machine:
timezone:
America/Argentina/Buenos_Aires
ruby:
version: 2.3.1
general:
branches:
ignore:
- gh-pages
checkout:
pre:
- git config --global user.email "bot@uqbar.org"
- git config --global user.name "UqbarBot"
- npm install -g bower
database:
... | 2 | 0.055556 | 1 | 1 |
90effe78be49943827057b60ee6dc0b6c4ce086a | app/js/controllers.js | app/js/controllers.js | 'use strict';
/* Controllers */
var cvAppControllers = angular.module('cvAppControllers', []);
cvAppControllers.controller('HomeController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]);
cvAppControllers.controller('AboutController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]); | 'use strict';
/* Controllers */
var cvAppControllers = angular.module('cvAppControllers', []);
cvAppControllers.controller('HomeController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]);
cvAppControllers.controller('AboutController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]);
/*
phone... | Add tutorial http controller for reference (commented) | Add tutorial http controller for reference (commented)
| JavaScript | mit | RegularSvensson/cvApp,RegularSvensson/cvApp | javascript | ## Code Before:
'use strict';
/* Controllers */
var cvAppControllers = angular.module('cvAppControllers', []);
cvAppControllers.controller('HomeController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]);
cvAppControllers.controller('AboutController', ['$scope', function($scope) {
$scope.name = 'Elias';... | 'use strict';
/* Controllers */
var cvAppControllers = angular.module('cvAppControllers', []);
cvAppControllers.controller('HomeController', ['$scope', function($scope) {
$scope.name = 'Elias';
}]);
cvAppControllers.controller('AboutController', ['$scope', function($scope) {
$scope.name = ... | 11 | 0.846154 | 11 | 0 |
b823fbf12ea5744eac2d13af0f1b1596f96ff4d5 | app/controllers/spree/checkout_controller_decorator.rb | app/controllers/spree/checkout_controller_decorator.rb | Spree::CheckoutController.class_eval do
Spree::PermittedAttributes.checkout_attributes << :gift_code
durably_decorate :update, mode: 'soft', sha: '908d25b70eff597d32ddad7876cd89d3683d6734' do
if @order.update_from_params(params, permitted_checkout_attributes)
if @order.gift_code.present?
render ... | Spree::CheckoutController.class_eval do
Spree::PermittedAttributes.checkout_attributes << :gift_code
durably_decorate :update, mode: 'soft', sha: '9774bcd294f748bd6185a0c8f7d518e624b99ff7' do
if @order.update_from_params(params, permitted_checkout_attributes)
if @order.gift_code.present?
render ... | Update checkout decorator for Spree 2.4 | Update checkout decorator for Spree 2.4
The checkout controller has changed between spree 2.2 -> 2.4, in that
the address parameters now appear to be part of the order details rather
than having to persist it separately.
The commit that changed it in spree is:
https://github.com/spree/spree/commit/7c16987c822b1ca97e2... | Ruby | bsd-3-clause | mr-ado/spree_gift_card,mr-ado/spree_gift_card,Boomkat/spree_gift_card,mr-ado/spree_gift_card,Boomkat/spree_gift_card,Boomkat/spree_gift_card | ruby | ## Code Before:
Spree::CheckoutController.class_eval do
Spree::PermittedAttributes.checkout_attributes << :gift_code
durably_decorate :update, mode: 'soft', sha: '908d25b70eff597d32ddad7876cd89d3683d6734' do
if @order.update_from_params(params, permitted_checkout_attributes)
if @order.gift_code.present?... | Spree::CheckoutController.class_eval do
Spree::PermittedAttributes.checkout_attributes << :gift_code
- durably_decorate :update, mode: 'soft', sha: '908d25b70eff597d32ddad7876cd89d3683d6734' do
+ durably_decorate :update, mode: 'soft', sha: '9774bcd294f748bd6185a0c8f7d518e624b99ff7' do
if @order.u... | 4 | 0.129032 | 2 | 2 |
c82f12cdda5ce8b0b700470af7120201948d0ef3 | Formula/libuv.rb | Formula/libuv.rb | require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
head 'https://github.com/avalanche123/libuv.git'
def install
system "svn", "co", "http://gyp.googlecode.com/svn/trunk", "build/gyp"
system './gyp_uv -f xcode -Dtarget_arch=ia64'
system 'xcodebuild', '-project', 'uv.xc... | require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
head 'https://github.com/avalanche123/libuv.git'
def install
system "svn", "co", "http://gyp.googlecode.com/svn/trunk", "build/gyp"
system './gyp_uv -f xcode -Dtarget_arch=x64'
system 'xcodebuild', '-project', 'uv.xco... | Fix homebrew Formula for Mountain Lion | Fix homebrew Formula for Mountain Lion
| Ruby | mit | avalanche123/uvrb,avalanche123/uvrb,avalanche123/uvrb | ruby | ## Code Before:
require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
head 'https://github.com/avalanche123/libuv.git'
def install
system "svn", "co", "http://gyp.googlecode.com/svn/trunk", "build/gyp"
system './gyp_uv -f xcode -Dtarget_arch=ia64'
system 'xcodebuild', '-... | require 'formula'
class Libuv < Formula
homepage 'https://github.com/joyent/libuv'
head 'https://github.com/avalanche123/libuv.git'
def install
system "svn", "co", "http://gyp.googlecode.com/svn/trunk", "build/gyp"
- system './gyp_uv -f xcode -Dtarget_arch=ia64'
? ... | 6 | 0.3 | 3 | 3 |
305bfc1d780fb315a5b421fc872ee7be301d6422 | requirements/dev.txt | requirements/dev.txt |
-r base.txt
bumpversion==0.5.3
mypy==0.521
pylint==1.7.4
safety==1.5.1
|
-r base.txt
bumpversion==0.5.3
mypy==0.521
pylint==1.7.4
safety==1.5.1
bandit==1.4.0
| Add bandit dependency for security linting. | Add bandit dependency for security linting.
| Text | apache-2.0 | ahawker/ulid | text | ## Code Before:
-r base.txt
bumpversion==0.5.3
mypy==0.521
pylint==1.7.4
safety==1.5.1
## Instruction:
Add bandit dependency for security linting.
## Code After:
-r base.txt
bumpversion==0.5.3
mypy==0.521
pylint==1.7.4
safety==1.5.1
bandit==1.4.0
|
-r base.txt
bumpversion==0.5.3
mypy==0.521
pylint==1.7.4
safety==1.5.1
+ bandit==1.4.0 | 1 | 0.142857 | 1 | 0 |
e27b1ca67fe02f6ef75d59f7708c0d7bf5038293 | .travis.yml | .travis.yml | language: node_js
node_js:
- "4.0.0"
sudo: false
before_install:
- cp config/config_travis-ci.js config/config.js
install:
- npm install
services:
- mongodb
- redis-server | language: node_js
node_js:
- "4.0.0"
sudo: false
before_install:
- cp config/config_travis-ci.js config/config.js
install:
- npm install
services:
- mongodb
- redis-server
notifications:
email: false
slack: khe:tfhhTbfsGC5sNlqxUbmU9OZF | Switch from email notifications to slack notifications from Travis | Switch from email notifications to slack notifications from Travis
| YAML | mit | hacksu/kenthackenough,hacksu/kenthackenough | yaml | ## Code Before:
language: node_js
node_js:
- "4.0.0"
sudo: false
before_install:
- cp config/config_travis-ci.js config/config.js
install:
- npm install
services:
- mongodb
- redis-server
## Instruction:
Switch from email notifications to slack notifications from Travis
## Code After:
language: node_js
n... | language: node_js
node_js:
- "4.0.0"
sudo: false
before_install:
- cp config/config_travis-ci.js config/config.js
install:
- npm install
services:
- mongodb
- redis-server
+
+ notifications:
+ email: false
+ slack: khe:tfhhTbfsGC5sNlqxUbmU9OZF | 4 | 0.266667 | 4 | 0 |
8e60f3cea89f0ba82d9500ec00ec1e63a0445192 | ga-tracking.js | ga-tracking.js | var gaTracker = (function(dLayer) {
// Push the object to the dataLayer
// Parameters:
// eventName, category, action, label, Type String
// value Type Number (int)
var pushEventToDataLayer = function(eventName, category, action, label, value) {
dLayer.push({
"event": eventName,... | var gaTracker = (function(dLayer) {
// Push the object to the dataLayer
// Parameters:
// eventName, category, action, label, Type String
// value Type Number (int)
var pushEventToDataLayer = function(eventName, category, action, label, value) {
dLayer.push({
"event": eventName,... | Add missing semi-colons and if/else that statement | Add missing semi-colons and if/else that statement
| JavaScript | mit | andymj/ga-tracking | javascript | ## Code Before:
var gaTracker = (function(dLayer) {
// Push the object to the dataLayer
// Parameters:
// eventName, category, action, label, Type String
// value Type Number (int)
var pushEventToDataLayer = function(eventName, category, action, label, value) {
dLayer.push({
"ev... | var gaTracker = (function(dLayer) {
// Push the object to the dataLayer
// Parameters:
// eventName, category, action, label, Type String
// value Type Number (int)
var pushEventToDataLayer = function(eventName, category, action, label, value) {
dLayer.push({
"... | 8 | 0.153846 | 3 | 5 |
a85d1a36c508b416c1be6552f844458792175479 | ui/src/components/Toolbar/PagingButtons.jsx | ui/src/components/Toolbar/PagingButtons.jsx | import React from 'react';
import { FormattedMessage } from 'react-intl';
import { ButtonGroup, Button, AnchorButton } from "@blueprintjs/core";
import './PagingButtons.css';
export default class extends React.Component {
render() {
const { location: loc } = this.props;
if (this.props.pageNumber && this.pro... | import React from 'react';
import { FormattedMessage } from 'react-intl';
import queryString from 'query-string';
import { ButtonGroup, Button, AnchorButton } from "@blueprintjs/core";
import './PagingButtons.css';
export default class extends React.Component {
render() {
const { pageNumber, pageTotal, location... | Fix for paging buttons to preserve the hashpath | Fix for paging buttons to preserve the hashpath
| JSX | mit | alephdata/aleph,pudo/aleph,pudo/aleph,alephdata/aleph,alephdata/aleph,pudo/aleph,alephdata/aleph,alephdata/aleph | jsx | ## Code Before:
import React from 'react';
import { FormattedMessage } from 'react-intl';
import { ButtonGroup, Button, AnchorButton } from "@blueprintjs/core";
import './PagingButtons.css';
export default class extends React.Component {
render() {
const { location: loc } = this.props;
if (this.props.pageNu... | import React from 'react';
import { FormattedMessage } from 'react-intl';
+ import queryString from 'query-string';
import { ButtonGroup, Button, AnchorButton } from "@blueprintjs/core";
import './PagingButtons.css';
export default class extends React.Component {
render() {
- const { location: l... | 27 | 0.84375 | 20 | 7 |
dfd3e1971606f6c2e78946e849108b1ff798fdae | app/javascript/mastodon/features/standalone/compose/index.js | app/javascript/mastodon/features/standalone/compose/index.js | import React from 'react';
import ComposeFormContainer from '../../compose/containers/compose_form_container';
import NotificationsContainer from '../../ui/containers/notifications_container';
import LoadingBarContainer from '../../ui/containers/loading_bar_container';
export default class Compose extends React.PureCo... | import React from 'react';
import ComposeFormContainer from '../../compose/containers/compose_form_container';
import NotificationsContainer from '../../ui/containers/notifications_container';
import LoadingBarContainer from '../../ui/containers/loading_bar_container';
import ModalContainer from '../../ui/containers/mo... | Fix visibility modal on standalone compose | Fix visibility modal on standalone compose
| JavaScript | agpl-3.0 | pixiv/mastodon,pixiv/mastodon,pixiv/mastodon,pixiv/mastodon | javascript | ## Code Before:
import React from 'react';
import ComposeFormContainer from '../../compose/containers/compose_form_container';
import NotificationsContainer from '../../ui/containers/notifications_container';
import LoadingBarContainer from '../../ui/containers/loading_bar_container';
export default class Compose exte... | import React from 'react';
import ComposeFormContainer from '../../compose/containers/compose_form_container';
import NotificationsContainer from '../../ui/containers/notifications_container';
import LoadingBarContainer from '../../ui/containers/loading_bar_container';
+ import ModalContainer from '../../ui/con... | 2 | 0.111111 | 2 | 0 |
e3d3893bf4cb8aa782efb05771339a0d59451fe9 | xbrowse_server/base/management/commands/list_projects.py | xbrowse_server/base/management/commands/list_projects.py | from django.core.management.base import BaseCommand
from xbrowse_server.base.models import Project
class Command(BaseCommand):
"""Command to generate a ped file for a given project"""
def handle(self, *args, **options):
projects = Project.objects.all()
for project in projects:
ind... | from django.core.management.base import BaseCommand
from xbrowse_server.base.models import Project
class Command(BaseCommand):
"""Command to print out basic stats on some or all projects. Optionally takes a list of project_ids. """
def handle(self, *args, **options):
if args:
projects = [... | Print additional stats for each projects | Print additional stats for each projects
| Python | agpl-3.0 | ssadedin/seqr,macarthur-lab/seqr,macarthur-lab/seqr,ssadedin/seqr,ssadedin/seqr,macarthur-lab/seqr,macarthur-lab/xbrowse,macarthur-lab/xbrowse,macarthur-lab/xbrowse,ssadedin/seqr,ssadedin/seqr,macarthur-lab/seqr,macarthur-lab/xbrowse,macarthur-lab/seqr,macarthur-lab/xbrowse,macarthur-lab/xbrowse | python | ## Code Before:
from django.core.management.base import BaseCommand
from xbrowse_server.base.models import Project
class Command(BaseCommand):
"""Command to generate a ped file for a given project"""
def handle(self, *args, **options):
projects = Project.objects.all()
for project in projects:... | from django.core.management.base import BaseCommand
from xbrowse_server.base.models import Project
class Command(BaseCommand):
- """Command to generate a ped file for a given project"""
+ """Command to print out basic stats on some or all projects. Optionally takes a list of project_ids. """
... | 16 | 1 | 12 | 4 |
c696c9590519674d1a804a52fbcf9d9730119571 | .travis.yml | .travis.yml | language: php
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
env:
- HHVMPHP7="yes"
- php: hhvm
env:
- HHVMPHP7="no"
allow_failures:
- php: 7.2
- php: hhvm
install:
- mkdir -p build/bin
- mkdir -p build/logs
- curl -sS https://getcomp... | language: php
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
env:
- HHVMPHP7="yes"
- php: hhvm
env:
- HHVMPHP7="no"
allow_failures:
- php: hhvm
install:
- mkdir -p build/bin
- mkdir -p build/logs
- curl -sS https://getcomposer.org/instal... | Remove PHP7.2 from the list of allowed failures | Remove PHP7.2 from the list of allowed failures
| YAML | mit | Adsmurai/Currency | yaml | ## Code Before:
language: php
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
env:
- HHVMPHP7="yes"
- php: hhvm
env:
- HHVMPHP7="no"
allow_failures:
- php: 7.2
- php: hhvm
install:
- mkdir -p build/bin
- mkdir -p build/logs
- curl -sS... | language: php
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
- php: hhvm
env:
- HHVMPHP7="yes"
- php: hhvm
env:
- HHVMPHP7="no"
allow_failures:
- - php: 7.2
- php: hhvm
install:
- mkdir -p build/bin
- mkdir -... | 1 | 0.030303 | 0 | 1 |
2d1df295b396e2b7a000ab5f82afde8177a3a841 | test/issue346-redundant-flags.sh | test/issue346-redundant-flags.sh |
cd ${CURR_DIR}/issue346-redundant-flags
${DUB} build --bare --force --compiler=${DC} -a x86 main | grep -e "-m32 -m32" 2>&1 && exit 1 || exit 0
|
cd ${CURR_DIR}/issue346-redundant-flags
${DUB} build --bare --force --compiler=${DC} -a x86_64 -v main 2>&1 | grep -e "-m64 -m64" -c && exit 1 || exit 0
| Fix rendundant architecture flag test. | Fix rendundant architecture flag test.
| Shell | mit | rjframe/dub,gedaiu/dub,p0nce/dub,jelmansouri/dub,D-Programming-Language/dub,jeanbaptistelab/dub,xentec/dub,Geod24/dub,Flamaros/dub,grogancolin/dub | shell | ## Code Before:
cd ${CURR_DIR}/issue346-redundant-flags
${DUB} build --bare --force --compiler=${DC} -a x86 main | grep -e "-m32 -m32" 2>&1 && exit 1 || exit 0
## Instruction:
Fix rendundant architecture flag test.
## Code After:
cd ${CURR_DIR}/issue346-redundant-flags
${DUB} build --bare --force --compiler=${DC} -... |
cd ${CURR_DIR}/issue346-redundant-flags
- ${DUB} build --bare --force --compiler=${DC} -a x86 main | grep -e "-m32 -m32" 2>&1 && exit 1 || exit 0
? ^^ ^^ ^^^^
+ ${DUB} build --bare --force --compiler=${DC} -a x86_64 -v main 2>&1 | grep -e "-... | 2 | 0.666667 | 1 | 1 |
bed13b0916edd31ad1e85bd74bea71dd8b4276fb | config/file.go | config/file.go | package config
import (
"os"
"syscall"
)
func createOrOpenLockedFile(name string) (file *os.File, err error) {
if _, err := os.Stat(name); os.IsNotExist(err) {
file, err = os.Create(name)
} else {
file, err = os.OpenFile(name, os.O_RDWR, 0644)
}
if err != nil {
return
}
if flerr := syscall.Flock(int(f... | package config
import (
"errors"
"fmt"
"os"
"syscall"
)
type closedError struct {
flockErr error
fileErr error
}
func (ce closedError) Error() string {
return fmt.Sprintf("%s, %s", ce.fileErr.Error(), ce.flockErr.Error())
}
func newClosedError(flockErr, fileErr error) error {
if fileErr == nil {
fileErr ... | Handle the flock errors while closing | Handle the flock errors while closing
Multierrors are nice.
| Go | mit | gsamokovarov/jump | go | ## Code Before:
package config
import (
"os"
"syscall"
)
func createOrOpenLockedFile(name string) (file *os.File, err error) {
if _, err := os.Stat(name); os.IsNotExist(err) {
file, err = os.Create(name)
} else {
file, err = os.OpenFile(name, os.O_RDWR, 0644)
}
if err != nil {
return
}
if flerr := sys... | package config
import (
+ "errors"
+ "fmt"
"os"
"syscall"
)
+
+ type closedError struct {
+ flockErr error
+ fileErr error
+ }
+
+ func (ce closedError) Error() string {
+ return fmt.Sprintf("%s, %s", ce.fileErr.Error(), ce.flockErr.Error())
+ }
+
+ func newClosedError(flockErr, fileErr error) e... | 37 | 1.275862 | 33 | 4 |
40037f943bef5d4484b663b0d7ad2d0916b6c02a | app/src/main/java/org/stepic/droid/storage/migration/MigrationFrom67To68.kt | app/src/main/java/org/stepic/droid/storage/migration/MigrationFrom67To68.kt | package org.stepic.droid.storage.migration
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import org.stepic.droid.storage.structure.DbStructureCourse
import org.stepik.android.cache.section.structure.DbStructureSection
object MigrationFrom67To68 : Migration(67, 68) {
over... | package org.stepic.droid.storage.migration
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import org.stepic.droid.storage.structure.DbStructureCourse
import org.stepik.android.cache.section.structure.DbStructureSection
object MigrationFrom67To68 : Migration(67, 68) {
over... | Add table creation to migration | Add table creation to migration
| Kotlin | apache-2.0 | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android | kotlin | ## Code Before:
package org.stepic.droid.storage.migration
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import org.stepic.droid.storage.structure.DbStructureCourse
import org.stepik.android.cache.section.structure.DbStructureSection
object MigrationFrom67To68 : Migration(67... | package org.stepic.droid.storage.migration
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import org.stepic.droid.storage.structure.DbStructureCourse
import org.stepik.android.cache.section.structure.DbStructureSection
object MigrationFrom67To68 : Migration(67... | 2 | 0.125 | 2 | 0 |
6eb4474349917ff0fb99641ac6784002d7e5f698 | cross/ubuntu-armhf.txt | cross/ubuntu-armhf.txt | name = 'linux'
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/arm-linux-gnueabihf/bin/ar'
strip = '/usr/i586-mingw32msvc/bin/strip'
root = '/usr/arm-linux-gnueabihf'
pkg_config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
sizeof_int = 4
sizeof_wchar_t = 4
sizeof_void* = 4
a... | name = 'linux'
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/arm-linux-gnueabihf/bin/ar'
strip = '/usr/arm-linux-gnueabihf/bin/strip'
root = '/usr/arm-linux-gnueabihf'
pkg_config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
sizeof_int = 4
sizeof_wchar_t = 4
sizeof_void* = 4... | Fix ARM strip binary path. | Fix ARM strip binary path.
| Text | apache-2.0 | trhd/meson,jroivas/meson,MathieuDuponchelle/meson,byon/meson,amaniak/meson,jpakkane/meson,WisniewskiP/meson,ernestask/meson,pexip/meson,mesonbuild/meson,DragoonX6/meson,wberrier/meson,fmuellner/meson,centricular/meson,evgenyz/meson,mesonbuild/meson,becm/meson,aaronp24/meson,aaronp24/meson,winksaville/meson,rhd/meson,fm... | text | ## Code Before:
name = 'linux'
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/arm-linux-gnueabihf/bin/ar'
strip = '/usr/i586-mingw32msvc/bin/strip'
root = '/usr/arm-linux-gnueabihf'
pkg_config = '/usr/bin/arm-linux-gnueabihf-pkg-config'
sizeof_int = 4
sizeof_wchar_t = 4
siz... | name = 'linux'
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/arm-linux-gnueabihf/bin/ar'
- strip = '/usr/i586-mingw32msvc/bin/strip'
+ strip = '/usr/arm-linux-gnueabihf/bin/strip'
root = '/usr/arm-linux-gnueabihf'
pkg_config = '/usr/bin/arm-linux-gnueabihf-pkg... | 2 | 0.105263 | 1 | 1 |
0ab6959493613d503d166e1ab7fbd29d73b7d810 | .travis.yml | .travis.yml | sudo: false # or required
language: python
python:
- 2.7
- 3.5
os: trusty
env:
- YAMBO_VERSION=4.1 PW_version=5.4
# - any combination of versions
matrix:
allow_failures:
- python: 3.5 # Builds using this version can fail without compromising the end result
fast_finish: true # Don't wait... | sudo: false # or required
language: python
python:
- 2.7
- 3.5
os: trusty
env:
- YAMBO_VERSION=4.1 PW_VERSION=5.4
# - any combination of versions
matrix:
allow_failures:
- python: 3.5 # Builds using this version can fail without compromising the end result
fast_finish: true # Don't wait... | Add call to test script | Add call to test script
| YAML | bsd-3-clause | alexandremorlet/yambopy,henriquemiranda/yambopy,alexmoratalla/yambo-py,palful/yambopy,alexmoratalla/yambo-py,alexmoratalla/yambopy,palful/yambopy,alexandremorlet/yambopy,henriquemiranda/yambo-py,henriquemiranda/yambo-py,henriquemiranda/yambopy,alexmoratalla/yambopy | yaml | ## Code Before:
sudo: false # or required
language: python
python:
- 2.7
- 3.5
os: trusty
env:
- YAMBO_VERSION=4.1 PW_version=5.4
# - any combination of versions
matrix:
allow_failures:
- python: 3.5 # Builds using this version can fail without compromising the end result
fast_finish: t... | sudo: false # or required
language: python
python:
- 2.7
- 3.5
os: trusty
env:
- - YAMBO_VERSION=4.1 PW_version=5.4
? ^^^^^^^
+ - YAMBO_VERSION=4.1 PW_VERSION=5.4
? ^^^^^^^
# - any combination of versions
matrix:
al... | 4 | 0.117647 | 2 | 2 |
6ef4b96b2a9d50737490000039597c9a98926328 | docker/tomcat-start.sh | docker/tomcat-start.sh | cid=$(docker ps --all --quiet --filter "name=maven-artifact-notifier-tomcat")
if [ -n "$cid" ]; then
echo "Starting existing docker container $cid"
docker start $cid
else
# Run an instance of Tomcat, mounting the WAR file to be deployed
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "... | cid=$(docker ps --all --quiet --filter "name=maven-artifact-notifier-tomcat")
if [ -n "$cid" ]; then
echo "Starting existing docker container $cid"
docker start $cid
else
# Run an instance of Tomcat, mounting the WAR file to be deployed
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "... | Deploy as ROOT context in docker | Deploy as ROOT context in docker
| Shell | apache-2.0 | openwide-java/artifact-listener,openwide-java/artifact-listener,openwide-java/artifact-listener | shell | ## Code Before:
cid=$(docker ps --all --quiet --filter "name=maven-artifact-notifier-tomcat")
if [ -n "$cid" ]; then
echo "Starting existing docker container $cid"
docker start $cid
else
# Run an instance of Tomcat, mounting the WAR file to be deployed
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && p... | cid=$(docker ps --all --quiet --filter "name=maven-artifact-notifier-tomcat")
if [ -n "$cid" ]; then
echo "Starting existing docker container $cid"
docker start $cid
else
# Run an instance of Tomcat, mounting the WAR file to be deployed
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && p... | 2 | 0.1 | 1 | 1 |
397f55c749636347391aa860538b656b71222eb2 | forms/widgets/Select.php | forms/widgets/Select.php | <?php
namespace asdfstudio\admin\forms\widgets;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\ActiveQuery;
use yii\helpers\Html;
use asdfstudio\admin\helpers\AdminHelper;
/**
* Class Select
* @package asdfstudio\admin\widgets
*
* Renders active select widget with related models
*/
class Select extend... | <?php
namespace asdfstudio\admin\forms\widgets;
use asdfstudio\admin\components\AdminFormatter;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\ActiveQuery;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use asdfstudio\admin\helpers\AdminHelper;
/**
* Class Select
* @package asdfstudio\admin\widgets
... | Allow empty values for select box | Allow empty values for select box
| PHP | bsd-3-clause | Tecnoready/yii2-admin-module,m00nk/yii2-admin-module,Tecnoready/yii2-admin-module,m00nk/yii2-admin-module,evgkan/yii2-admin-module,Tecnoready/yii2-admin-module,evgkan/yii2-admin-module | php | ## Code Before:
<?php
namespace asdfstudio\admin\forms\widgets;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\ActiveQuery;
use yii\helpers\Html;
use asdfstudio\admin\helpers\AdminHelper;
/**
* Class Select
* @package asdfstudio\admin\widgets
*
* Renders active select widget with related models
*/
cla... | <?php
namespace asdfstudio\admin\forms\widgets;
+ use asdfstudio\admin\components\AdminFormatter;
use Yii;
use yii\base\InvalidConfigException;
use yii\db\ActiveQuery;
+ use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use asdfstudio\admin\helpers\AdminHelper;
/**
* Class Select
* @pack... | 11 | 0.174603 | 11 | 0 |
64242ecd3b4e04c4f7c00ab1d6184db3da7994fd | lib/infinity_test/notifications/lib_notify.rb | lib/infinity_test/notifications/lib_notify.rb | module InfinityTest
module Notifications
class LibNotify
end
end
end | module InfinityTest
module Notifications
class LibNotify
def notify(options)
system "notify-send --expire-time 2000 --icon #{options[:image]} 'Ruby #{options[:title]}' '#{options[:message]}'"
end
end
end
end | Put the system command for the Lib Notify - Linux Users | Put the system command for the Lib Notify - Linux Users
| Ruby | mit | tomas-stefano/infinity_test | ruby | ## Code Before:
module InfinityTest
module Notifications
class LibNotify
end
end
end
## Instruction:
Put the system command for the Lib Notify - Linux Users
## Code After:
module InfinityTest
module Notifications
class LibNotify
def notify(options)
system "notify-... | module InfinityTest
module Notifications
class LibNotify
-
+
? +
+ def notify(options)
+ system "notify-send --expire-time 2000 --icon #{options[:image]} 'Ruby #{options[:title]}' '#{options[:message]}'"
+ end
+
end
end
end | 6 | 0.857143 | 5 | 1 |
2425350dd59a2d0e695ca2eb6cd2beea617879a4 | Form/Extension/BaseTypeExtension.php | Form/Extension/BaseTypeExtension.php | <?php
/**
* This file is part of the BootstrapBundle project.
*
* (c) 2013 Philipp Boes <mostgreedy@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace P2\Bundle\BootstrapBundle\Form\Extension;
use Symfony\Compon... | <?php
/**
* This file is part of the BootstrapBundle project.
*
* (c) 2013 Philipp Boes <mostgreedy@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace P2\Bundle\BootstrapBundle\Form\Extension;
use Symfony\Compon... | Add restriction to allowed types in base type extension | Add restriction to allowed types in base type extension
| PHP | mit | phillies2k/bootstrap-bundle | php | ## Code Before:
<?php
/**
* This file is part of the BootstrapBundle project.
*
* (c) 2013 Philipp Boes <mostgreedy@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace P2\Bundle\BootstrapBundle\Form\Extension;
us... | <?php
/**
* This file is part of the BootstrapBundle project.
*
* (c) 2013 Philipp Boes <mostgreedy@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace P2\Bundle\BootstrapBundle\Form\Extensio... | 7 | 0.12963 | 1 | 6 |
43de3b8bcda0e2d8322662f733a9721c996c4f5c | examples/blog/public/index.html | examples/blog/public/index.html | <!DOCTYPE html>
<html>
<head>
<title>Blog</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/... | <!DOCTYPE html>
<html>
<head>
<title>Blog</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/... | FIX HTML5 validator errors in blog example | FIX HTML5 validator errors in blog example
There were several errors in public/index.html file. | HTML | mit | pandoraui/backbone-react-component,wushuyi/backbone-react-component,magalhas/backbone-react-component,gengue/backbone-react-component,ronlobo/backbone-react-component,guke001/backbone-react-component,gengue/backbone-react-component,visigoth/backbone-react-component,wushuyi/backbone-react-component,fifigyuri/backbone-re... | html | ## Code Before:
<!DOCTYPE html>
<html>
<head>
<title>Blog</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/l... | <!DOCTYPE html>
<html>
<head>
<title>Blog</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/lib... | 8 | 0.275862 | 4 | 4 |
7e5bc4044748de2130564ded69d3bc3618274b8a | test/test-purge.js | test/test-purge.js | require('./harness').run();
var recvCount = 0;
var body = "hello world";
connection.addListener('ready', function () {
puts("connected to " + connection.serverProperties.product);
var e = connection.exchange('node-purge-fanout', {type: 'fanout'});
var q = connection.queue('node-purge-queue', function() {
q... | require('./harness').run();
var recvCount = 0;
var body = "hello world";
connection.addListener('ready', function () {
puts("connected to " + connection.serverProperties.product);
var e = connection.exchange('node-purge-fanout', {type: 'fanout', confirm: true});
var q = connection.queue('node-purge-queue', fun... | Fix race condition in purge test. | Fix race condition in purge test.
| JavaScript | mit | xebitstudios/node-amqp,albert-lacki/node-amqp,zkochan/node-amqp,postwait/node-amqp,zinic/node-amqp,postwait/node-amqp,xebitstudios/node-amqp,albert-lacki/node-amqp,zinic/node-amqp,zkochan/node-amqp,postwait/node-amqp,remind101/node-amqp,remind101/node-amqp,hinson0/node-amqp,seanahn/node-amqp,seanahn/node-amqp,segmentio... | javascript | ## Code Before:
require('./harness').run();
var recvCount = 0;
var body = "hello world";
connection.addListener('ready', function () {
puts("connected to " + connection.serverProperties.product);
var e = connection.exchange('node-purge-fanout', {type: 'fanout'});
var q = connection.queue('node-purge-queue', fu... | require('./harness').run();
var recvCount = 0;
var body = "hello world";
connection.addListener('ready', function () {
puts("connected to " + connection.serverProperties.product);
- var e = connection.exchange('node-purge-fanout', {type: 'fanout'});
+ var e = connection.exchange('node-purge-fan... | 59 | 1.229167 | 32 | 27 |
8e70118c0ad7b45d0cf034090dda5cdb2fbf78e0 | README.md | README.md |
Public repository for misc experiments
## Read the Docs documentation
The documentation for this repository is written in reST (reStructuredText) [1]
using Sphinx documentation system [2]
and Read the Docs [3].
To create an HTML version of the docs:
* Install Sphinx (using ``sudo pip install Sphinx`` or some other... |
Public repository for misc experiments
## Read the Docs documentation
The [online documentation](http://precimed-sandbox2.readthedocs.io/en/latest/)
for this repository is written in reST (reStructuredText) [1]
using Sphinx documentation system [2]
and Read the Docs [3].
To create an HTML version of the docs:
* In... | Put link to online documentation with read-the-docs | Put link to online documentation with read-the-docs | Markdown | mit | precimed/sandbox,precimed/sandbox | markdown | ## Code Before:
Public repository for misc experiments
## Read the Docs documentation
The documentation for this repository is written in reST (reStructuredText) [1]
using Sphinx documentation system [2]
and Read the Docs [3].
To create an HTML version of the docs:
* Install Sphinx (using ``sudo pip install Sphinx... |
Public repository for misc experiments
## Read the Docs documentation
+ The [online documentation](http://precimed-sandbox2.readthedocs.io/en/latest/)
- The documentation for this repository is written in reST (reStructuredText) [1]
? ------------------
+ for this repository is written in reST (reStructur... | 9 | 0.409091 | 5 | 4 |
7b06f6017aaf2db96f0d4f9d441fca2c95c1d277 | app/views/posts/_new.html.erb | app/views/posts/_new.html.erb | <div class="new-post large-7 columns">
<h3><strong>Write a Post</strong></h3>
<%= form_for [@group,@post], remote: true do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
<%= f.text_field :title, placeholder: "Title" %>
</div>
<div class="field">
<%= f.... | <div class="new-post large-7 columns">
<h3><strong>Write a Post</strong></h3>
<%= form_for [@group,@post], remote: true do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
<%= f.text_field :title, placeholder: "(optional) What's your post about?" %>
</div>
<di... | Add required content to posts | Add required content to posts
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village | html+erb | ## Code Before:
<div class="new-post large-7 columns">
<h3><strong>Write a Post</strong></h3>
<%= form_for [@group,@post], remote: true do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
<%= f.text_field :title, placeholder: "Title" %>
</div>
<div class="fiel... | <div class="new-post large-7 columns">
<h3><strong>Write a Post</strong></h3>
<%= form_for [@group,@post], remote: true do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
- <%= f.text_field :title, placeholder: "Title" %>
+ <%= f.text_field :title, pl... | 4 | 0.307692 | 2 | 2 |
8fa4a056797be5d162dc104a6e6bb87db896d01d | moveit_ros/planning_interface/robot_interaction/CMakeLists.txt | moveit_ros/planning_interface/robot_interaction/CMakeLists.txt | set(MOVEIT_LIB_NAME moveit_robot_interaction)
add_library(${MOVEIT_LIB_NAME}
src/interactive_marker_helpers.cpp
src/robot_interaction.cpp)
target_link_libraries(${MOVEIT_LIB_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION lib)
install(DIRECTORY include/ DESTINA... | set(MOVEIT_LIB_NAME moveit_robot_interaction)
add_library(${MOVEIT_LIB_NAME}
src/interactive_marker_helpers.cpp
src/robot_interaction.cpp)
target_link_libraries(${MOVEIT_LIB_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION lib)
install(DIRECTORY include/ DESTINA... | Make it also compatible with installed version | Make it also compatible with installed version
| Text | bsd-3-clause | v4hn/moveit,v4hn/moveit,davetcoleman/moveit,v4hn/moveit,davetcoleman/moveit,ros-planning/moveit,ros-planning/moveit,v4hn/moveit,davetcoleman/moveit,ros-planning/moveit,ros-planning/moveit,davetcoleman/moveit,ros-planning/moveit | text | ## Code Before:
set(MOVEIT_LIB_NAME moveit_robot_interaction)
add_library(${MOVEIT_LIB_NAME}
src/interactive_marker_helpers.cpp
src/robot_interaction.cpp)
target_link_libraries(${MOVEIT_LIB_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION lib)
install(DIRECTORY ... | set(MOVEIT_LIB_NAME moveit_robot_interaction)
add_library(${MOVEIT_LIB_NAME}
src/interactive_marker_helpers.cpp
src/robot_interaction.cpp)
target_link_libraries(${MOVEIT_LIB_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS ${MOVEIT_LIB_NAME} LIBRARY DESTINATION lib)
install(DIRECTOR... | 2 | 0.181818 | 1 | 1 |
fb9c2e90d5cefe4a5075de8ce6a652d610398081 | app/controllers/letsencrypt_controller.rb | app/controllers/letsencrypt_controller.rb | class LetsencryptController < ApplicationController
def verify
render text: '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE.HGKAemL2fUjIRadTuQf-sqPIqvo2JUZKqjZzg1u2D0U'
end
end
| class LetsencryptController < ApplicationController
def verify
if params[:id] == '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE'
render text: '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE.HGKAemL2fUjIRadTuQf-sqPIqvo2JUZKqjZzg1u2D0U'
end
end
end
| Use a new letsencrypt key. | Use a new letsencrypt key.
| Ruby | mit | joshpeterson/summa,joshpeterson/summa,joshpeterson/summa,joshpeterson/summa | ruby | ## Code Before:
class LetsencryptController < ApplicationController
def verify
render text: '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE.HGKAemL2fUjIRadTuQf-sqPIqvo2JUZKqjZzg1u2D0U'
end
end
## Instruction:
Use a new letsencrypt key.
## Code After:
class LetsencryptController < ApplicationController
def veri... | class LetsencryptController < ApplicationController
def verify
+ if params[:id] == '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE'
- render text: '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE.HGKAemL2fUjIRadTuQf-sqPIqvo2JUZKqjZzg1u2D0U'
+ render text: '-Pk_eaIGfnFWuM5fv8n3t9kFCbM-EfjA-IqPO_PfVfE.HGKAem... | 4 | 0.8 | 3 | 1 |
98451ff19563b042fdc1135da6895b9001fe1bb1 | src/Fyuze/Kernel/Application/Web.php | src/Fyuze/Kernel/Application/Web.php | <?php
namespace Fyuze\Kernel\Application;
use Fyuze\Http\Kernel;
use Fyuze\Http\Request;
use Fyuze\Http\Response;
use Fyuze\Kernel\Fyuze;
use Symfony\Component\HttpKernel\Controller\ControllerResolver;
use Symfony\Component\Routing\Matcher\UrlMatcher;
use Symfony\Component\Routing\RequestContext;
class Web extends Fy... | <?php
namespace Fyuze\Kernel\Application;
use Fyuze\Http\Kernel;
use Fyuze\Http\Request;
use Fyuze\Http\Response;
use Fyuze\Kernel\Fyuze;
use Symfony\Component\HttpKernel\Controller\ControllerResolver;
use Symfony\Component\HttpKernel\HttpCache\HttpCache;
use Symfony\Component\HttpKernel\HttpCache\Store;
use Symfony\C... | Add HttpCache to web application | Add HttpCache to web application
| PHP | mit | fyuze/framework,fyuze/framework | php | ## Code Before:
<?php
namespace Fyuze\Kernel\Application;
use Fyuze\Http\Kernel;
use Fyuze\Http\Request;
use Fyuze\Http\Response;
use Fyuze\Kernel\Fyuze;
use Symfony\Component\HttpKernel\Controller\ControllerResolver;
use Symfony\Component\Routing\Matcher\UrlMatcher;
use Symfony\Component\Routing\RequestContext;
clas... | <?php
namespace Fyuze\Kernel\Application;
use Fyuze\Http\Kernel;
use Fyuze\Http\Request;
use Fyuze\Http\Response;
use Fyuze\Kernel\Fyuze;
use Symfony\Component\HttpKernel\Controller\ControllerResolver;
+ use Symfony\Component\HttpKernel\HttpCache\HttpCache;
+ use Symfony\Component\HttpKernel\HttpCache\... | 3 | 0.103448 | 3 | 0 |
21651120925cc3e51aeada4eac4dbfaa5bf98fae | src/header_filter/__init__.py | src/header_filter/__init__.py | from header_filter.matchers import Header # noqa: F401
from header_filter.middleware import HeaderFilterMiddleware # noqa: F401
from header_filter.rules import Enforce, Forbid # noqa: F401
| from header_filter.matchers import Header, HeaderRegexp # noqa: F401
from header_filter.middleware import HeaderFilterMiddleware # noqa: F401
from header_filter.rules import Enforce, Forbid # noqa: F401
| Allow HeaderRegexp to be imported directly from header_filter package. | Allow HeaderRegexp to be imported directly from header_filter package.
| Python | mit | sanjioh/django-header-filter | python | ## Code Before:
from header_filter.matchers import Header # noqa: F401
from header_filter.middleware import HeaderFilterMiddleware # noqa: F401
from header_filter.rules import Enforce, Forbid # noqa: F401
## Instruction:
Allow HeaderRegexp to be imported directly from header_filter package.
## Code After:
from hea... | - from header_filter.matchers import Header # noqa: F401
+ from header_filter.matchers import Header, HeaderRegexp # noqa: F401
? ++++++++++++++
from header_filter.middleware import HeaderFilterMiddleware # noqa: F401
from header_filter.rules import Enforce, Forbid # no... | 2 | 0.666667 | 1 | 1 |
9c8cb351668d774fafe2ff4581e0be2dd30e680a | lib/tasks/taxonomy/export_taxonomy_to_json.rake | lib/tasks/taxonomy/export_taxonomy_to_json.rake | require 'json'
namespace :taxonomy do
desc <<-DESC
Exports an expanded taxonomy to a single JSON array
DESC
namespace :export do
task :json, [:root_taxon_id] => [:environment] do |_, args|
root_taxon_id = args.fetch(:root_taxon_id)
root_taxon = OpenStruct.new(Services.publishing_api.get_conte... | namespace :taxonomy do
namespace :export do
desc <<-DESC
Exports an expanded taxonomy to a single JSON array
DESC
task :json, [:root_taxon_id] => [:environment] do |_, args|
root_taxon_id = args.fetch(:root_taxon_id)
puts Taxonomy::TaxonTreeExport.new(root_taxon_id).build
end
desc... | Add to_file task to export namespace | Add to_file task to export namespace
This implements the build function on the new TaxonTreeExport
class to build the taxon tree array and convert it
to JSON. Then saves the JSON to a file in the temp directory
The json task now also implements the TaxonTreeExport build
function. | Ruby | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger | ruby | ## Code Before:
require 'json'
namespace :taxonomy do
desc <<-DESC
Exports an expanded taxonomy to a single JSON array
DESC
namespace :export do
task :json, [:root_taxon_id] => [:environment] do |_, args|
root_taxon_id = args.fetch(:root_taxon_id)
root_taxon = OpenStruct.new(Services.publishi... | - require 'json'
-
namespace :taxonomy do
+ namespace :export do
- desc <<-DESC
+ desc <<-DESC
? ++
Exports an expanded taxonomy to a single JSON array
- DESC
+ DESC
? ++
- namespace :export do
task :json, [:root_taxon_id] => [:environment] do |_, args|
root_taxon_id = args.fetc... | 60 | 1.016949 | 12 | 48 |
3f90d9ff3dd3da35f4e3f712fd455a7f4b5e3aaf | scripts/compare-link.js | scripts/compare-link.js | /**
* Created by MrIggyman1234 on 19/12/2016.
*/
$(document).ready(function(){
var $nav = $("nav");
var $body = $("body");
$body.on("click", "#compare-link", function(e){
e.preventDefault();
$nav.fadeOut(200);
$nav.html("<a class=\"nav-link\" id=\"back-link\" href=\"#\">Back</a>" ... | /**
* Created by MrIggyman1234 on 19/12/2016.
*/
$(document).ready(function(){
var $nav = $("nav");
var $body = $("body");
$body.on("click", "#compare-link", function(e){
e.preventDefault();
$nav.html("<a class=\"nav-link\" id=\"back-link\" href=\"#\">Back</a>" +
"<a class=\"n... | Remove fade in and fade out | Remove fade in and fade out
| JavaScript | apache-2.0 | Balajanovski/Nautilus.io,Balajanovski/Nautilus.io | javascript | ## Code Before:
/**
* Created by MrIggyman1234 on 19/12/2016.
*/
$(document).ready(function(){
var $nav = $("nav");
var $body = $("body");
$body.on("click", "#compare-link", function(e){
e.preventDefault();
$nav.fadeOut(200);
$nav.html("<a class=\"nav-link\" id=\"back-link\" href=... | /**
* Created by MrIggyman1234 on 19/12/2016.
*/
$(document).ready(function(){
var $nav = $("nav");
var $body = $("body");
$body.on("click", "#compare-link", function(e){
e.preventDefault();
- $nav.fadeOut(200);
$nav.html("<a class=\"nav-link\" id=\"back-link\"... | 4 | 0.153846 | 0 | 4 |
d8f6938649acd4a72a53d47c26a1b16adb0e8fe3 | jupyterlab_gitsync/jupyterlab_gitsync/__init__.py | jupyterlab_gitsync/jupyterlab_gitsync/__init__.py | from notebook.utils import url_path_join
from jupyterlab_gitsync.handlers import *
from jupyterlab_gitsync.version import VERSION
__version__ = VERSION
def _jupyter_server_extension_paths():
return [{'module': 'jupyterlab_gitsync'}]
def load_jupyter_server_extension(nb_server_app):
"""
Called when the ext... | from notebook.utils import url_path_join
from jupyterlab_gitsync.handlers import *
from jupyterlab_gitsync.version import VERSION
__version__ = VERSION
def _jupyter_server_extension_paths():
return [{'module': 'jupyterlab_gitsync'}]
def load_jupyter_server_extension(nb_server_app):
"""
Called when the exten... | Fix indentation to pass tests | Fix indentation to pass tests | Python | apache-2.0 | GoogleCloudPlatform/jupyter-extensions,GoogleCloudPlatform/jupyter-extensions,GoogleCloudPlatform/jupyter-extensions,GoogleCloudPlatform/jupyter-extensions | python | ## Code Before:
from notebook.utils import url_path_join
from jupyterlab_gitsync.handlers import *
from jupyterlab_gitsync.version import VERSION
__version__ = VERSION
def _jupyter_server_extension_paths():
return [{'module': 'jupyterlab_gitsync'}]
def load_jupyter_server_extension(nb_server_app):
"""
Cal... | from notebook.utils import url_path_join
from jupyterlab_gitsync.handlers import *
from jupyterlab_gitsync.version import VERSION
__version__ = VERSION
def _jupyter_server_extension_paths():
return [{'module': 'jupyterlab_gitsync'}]
def load_jupyter_server_extension(nb_server_app):
... | 24 | 0.923077 | 12 | 12 |
57b64d2d12eafe60717f7e0d58fd62f059ace06b | .travis.yml | .travis.yml | language: node_js
node_js:
- '0.10'
before_install:
- npm install coffee-script
before_script:
- ./node_modules/.bin/cake archive
script:
- ./node_modules/.bin/cake test
deploy:
provider: releases
api_key:
secure: RJ4IcQtr5fZcTaV6fNoHSt2phYxXVqt9OMiUbKw5i8axtt+GwvoKJDE1TShyYaQgA15rfqUSPKjRv3tEZQybla4Kq5gnHzdQOj... | language: node_js
node_js:
- '0.10'
before_install:
- npm install coffee-script
before_script:
- "./node_modules/.bin/cake archive"
script:
- "./node_modules/.bin/cake test"
deploy:
provider: releases
api_key:
secure: 0yzJucOYgtgVHKDJ0f2knmnygeo5BakxRdiIQkyckXkoJ1q0O8Uqs0Q+uM+lF2s+NIuFteeBegwGtV0uFVqHqfRea2BZvL... | Update Travis CI deployment key | Update Travis CI deployment key
| YAML | mit | luckymarmot/Paw-cURLCodeGenerator | yaml | ## Code Before:
language: node_js
node_js:
- '0.10'
before_install:
- npm install coffee-script
before_script:
- ./node_modules/.bin/cake archive
script:
- ./node_modules/.bin/cake test
deploy:
provider: releases
api_key:
secure: RJ4IcQtr5fZcTaV6fNoHSt2phYxXVqt9OMiUbKw5i8axtt+GwvoKJDE1TShyYaQgA15rfqUSPKjRv3tEZQ... | language: node_js
node_js:
- '0.10'
before_install:
- npm install coffee-script
before_script:
- - ./node_modules/.bin/cake archive
+ - "./node_modules/.bin/cake archive"
? + +
script:
- - ./node_modules/.bin/cake test
+ - "./node_modules/.bin/cake test"
? + ... | 6 | 0.315789 | 3 | 3 |
562733680af382869d661ea15981a894f006da76 | Engine/RXArchiveManager.h | Engine/RXArchiveManager.h | //
// RXArchiveManager.h
// rivenx
//
// Created by Jean-Francois Roy on 02/02/2008.
// Copyright 2005-2010 MacStorm. All rights reserved.
//
#import "Base/RXBase.h"
#import <MHKKit/MHKKit.h>
@interface RXArchiveManager : NSObject {
NSString* patches_directory;
MHKArchive* extras_archive;
}
+ (RXArchive... | //
// RXArchiveManager.h
// rivenx
//
// Created by Jean-Francois Roy on 02/02/2008.
// Copyright 2005-2010 MacStorm. All rights reserved.
//
#import "Base/RXBase.h"
#import <MHKKit/MHKKit.h>
@interface RXArchiveManager : NSObject {
NSString* patches_directory;
MHKArchive* extras_archive;
}
+ (RXArchive... | Add note about the order of archives returned by the archive manager. | Add note about the order of archives returned by the archive manager.
| C | bsd-3-clause | jfroy/rivenx,jfroy/rivenx,jfroy/rivenx,jfroy/rivenx | c | ## Code Before:
//
// RXArchiveManager.h
// rivenx
//
// Created by Jean-Francois Roy on 02/02/2008.
// Copyright 2005-2010 MacStorm. All rights reserved.
//
#import "Base/RXBase.h"
#import <MHKKit/MHKKit.h>
@interface RXArchiveManager : NSObject {
NSString* patches_directory;
MHKArchive* extras_archive;... | //
// RXArchiveManager.h
// rivenx
//
// Created by Jean-Francois Roy on 02/02/2008.
// Copyright 2005-2010 MacStorm. All rights reserved.
//
#import "Base/RXBase.h"
#import <MHKKit/MHKKit.h>
@interface RXArchiveManager : NSObject {
NSString* patches_directory;
MHKArchive* e... | 2 | 0.068966 | 2 | 0 |
f328b6f949b539d0d04a33427134cf3fcc489be8 | packages/si/simpleconfig.yaml | packages/si/simpleconfig.yaml | homepage: https://github.com/koterpillar/simpleconfig#readme
changelog-type: ''
hash: 31214c4d628d1017d4b05bde57e7944d6773e866d60bc7f3f6ff88ff81145d14
test-bench-deps:
base: -any
text: -any
generic-deriving: -any
containers: -any
simpleconfig: -any
lens: -any
maintainer: a@koterpillar.com
synopsis: Short de... | homepage: https://github.com/koterpillar/simpleconfig#readme
changelog-type: ''
hash: 806a764727eed0c6e341fc18cf31efe169ff9fd98b2a0d903d662be7836ac454
test-bench-deps:
base: -any
text: -any
generic-deriving: -any
containers: -any
simpleconfig: -any
lens: -any
maintainer: a@koterpillar.com
synopsis: Short de... | Update from Hackage at 2018-01-03T00:35:30Z | Update from Hackage at 2018-01-03T00:35:30Z
| YAML | mit | commercialhaskell/all-cabal-metadata | yaml | ## Code Before:
homepage: https://github.com/koterpillar/simpleconfig#readme
changelog-type: ''
hash: 31214c4d628d1017d4b05bde57e7944d6773e866d60bc7f3f6ff88ff81145d14
test-bench-deps:
base: -any
text: -any
generic-deriving: -any
containers: -any
simpleconfig: -any
lens: -any
maintainer: a@koterpillar.com
sy... | homepage: https://github.com/koterpillar/simpleconfig#readme
changelog-type: ''
- hash: 31214c4d628d1017d4b05bde57e7944d6773e866d60bc7f3f6ff88ff81145d14
+ hash: 806a764727eed0c6e341fc18cf31efe169ff9fd98b2a0d903d662be7836ac454
test-bench-deps:
base: -any
text: -any
generic-deriving: -any
containers... | 7 | 0.194444 | 4 | 3 |
5dbfe0d7422e7047c0d22fe0c4d21ace69de4700 | source/utils/adios_iotest/CMakeLists.txt | source/utils/adios_iotest/CMakeLists.txt |
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/iotest-config
DESTINATION ${PROJECT_BINARY_DIR}
)
add_executable(adios_iotest settings.cpp decomp.cpp processConfig.cpp ioGroup.cpp stream.cpp adiosStream.cpp adios_iotest.cpp)
target_link_libraries(adios_iotest adios2 MPI::MPI_C)
if(ADIOS2_HAVE_HDF5)
if(HDF5_C_INCLUDE_DIRS)... |
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/iotest-config
DESTINATION ${PROJECT_BINARY_DIR}
)
add_executable(adios_iotest settings.cpp decomp.cpp processConfig.cpp ioGroup.cpp stream.cpp adiosStream.cpp adios_iotest.cpp)
target_link_libraries(adios_iotest adios2 MPI::MPI_C)
if(WIN32)
target_link_libraries(adios_iotest ... | Add missing mingw getopt dependency | Add missing mingw getopt dependency
| Text | apache-2.0 | JasonRuonanWang/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2 | text | ## Code Before:
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/iotest-config
DESTINATION ${PROJECT_BINARY_DIR}
)
add_executable(adios_iotest settings.cpp decomp.cpp processConfig.cpp ioGroup.cpp stream.cpp adiosStream.cpp adios_iotest.cpp)
target_link_libraries(adios_iotest adios2 MPI::MPI_C)
if(ADIOS2_HAVE_HDF5)
if(HDF5... |
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/iotest-config
DESTINATION ${PROJECT_BINARY_DIR}
)
add_executable(adios_iotest settings.cpp decomp.cpp processConfig.cpp ioGroup.cpp stream.cpp adiosStream.cpp adios_iotest.cpp)
target_link_libraries(adios_iotest adios2 MPI::MPI_C)
+ if(WIN32)
+ target_link_libra... | 3 | 0.107143 | 3 | 0 |
d0efb339e05d649c565acf523f25ee36203e7575 | .travis.yml | .travis.yml | language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=clisp
- env: LISP=ecl
- env: LISP=cmucl
install:
- curl -L https://raw.githubusercontent.c... | language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
install:
- curl -L https://raw.githubusercontent.com/snmsts/roswell/master/scripts/install-for-ci.sh | sh
before_script:
- ros --version
- ros config
sc... | Stop testing with CMUCL because named-readtables doesn't support it. | Stop testing with CMUCL because named-readtables doesn't support it.
| YAML | bsd-3-clause | Rudolph-Miller/sxql,fukamachi/sxql | yaml | ## Code Before:
language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
- LISP=cmucl
matrix:
allow_failures:
- env: LISP=clisp
- env: LISP=ecl
- env: LISP=cmucl
install:
- curl -L https://raw.git... | language: common-lisp
sudo: required
env:
matrix:
- LISP=sbcl-bin
- LISP=ccl-bin
- LISP=clisp
- LISP=allegro
- LISP=abcl
- LISP=ecl
- - LISP=cmucl
-
- matrix:
- allow_failures:
- - env: LISP=clisp
- - env: LISP=ecl
- - env: LISP=cmucl
install:
- ... | 9 | 0.321429 | 1 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.