commit
stringlengths
40
40
old_file
stringlengths
4
237
new_file
stringlengths
4
237
old_contents
stringlengths
1
4.24k
new_contents
stringlengths
5
4.84k
subject
stringlengths
15
778
message
stringlengths
16
6.86k
lang
stringlengths
1
30
license
stringclasses
13 values
repos
stringlengths
5
116k
config
stringlengths
1
30
content
stringlengths
105
8.72k
2ffd0f3003e3426fcd9b80fe5571bd17206fa2aa
conf/default-config.yaml
conf/default-config.yaml
logger: | * GLOBAL: FORMAT = "%datetime{%Y-%d-%M %H:%m:%s,%g} [%logger] %level %msg" ENABLED = true TO_FILE = true TO_STANDARD_OUTPUT = false MILLISECONDS_WIDTH = 3 PERFORMANCE_TRACKING = true MAX_LOG_FILE_SIZE = 2097152...
version: 1 logger: | * GLOBAL: FORMAT = "%datetime{%Y-%d-%M %H:%m:%s,%g} [%logger] %level %msg" ENABLED = true TO_FILE = true TO_STANDARD_OUTPUT = false MILLISECONDS_WIDTH = 3 PERFORMANCE_TRACKING = true MAX_LOG_FILE_SIZE ...
Add versioning to the configuration file
[TASK] Add versioning to the configuration file Related: CLI-117
YAML
bsd-3-clause
VirgilSecurity/virgil-cli
yaml
## Code Before: logger: | * GLOBAL: FORMAT = "%datetime{%Y-%d-%M %H:%m:%s,%g} [%logger] %level %msg" ENABLED = true TO_FILE = true TO_STANDARD_OUTPUT = false MILLISECONDS_WIDTH = 3 PERFORMANCE_TRACKING = true MAX_LOG_FILE_SI...
195acac2339891f2e9e0f41e7e28858b90218217
README.md
README.md
This repository tracks the code that runs the endpoint of an Onionimbus cluster. Its name refers to a node in a network. *This is not a Node-JS project.* A node has two main purposes: 1. Listen to instructions provided by the hub. 2. Proxy the requests provided by users to the Hidden Service. ### Requirements * ...
This repository tracks the code that runs the endpoint of an Onionimbus cluster. Its name refers to a node in a network. *This is not a Node-JS project.* A node has two main purposes: 1. Listen to instructions provided by the hub. 2. Proxy the requests provided by users to the Hidden Service. ### Requirements * ...
Add link to the hub
Add link to the hub
Markdown
unlicense
darkitecht/onionimbus_node,darkitecht/onionimbus_node
markdown
## Code Before: This repository tracks the code that runs the endpoint of an Onionimbus cluster. Its name refers to a node in a network. *This is not a Node-JS project.* A node has two main purposes: 1. Listen to instructions provided by the hub. 2. Proxy the requests provided by users to the Hidden Service. ### ...
e60e8c81309dc8af171ab459e20d07365d7d5425
lib_test/mkiso.sh
lib_test/mkiso.sh
if type "mkisofs" > /dev/null; then mkdir test_iso echo "hello, world!" > test_iso/hello.txt mkisofs -o test.iso -R test_iso else curl http://www.recoil.org/~jon/ocaml-iso9660-test.iso -o test.iso fi
if type "mkisofs" > /dev/null; then mkdir test_iso echo "hello, world!" > test_iso/hello.txt echo "old file" > test_iso/old.txt touch -t 197001010001 test_iso/old.txt mkisofs -o test.iso -R test_iso else curl http://www.recoil.org/~jon/ocaml-iso9660-test.iso -o test.iso fi
Add a file to the test iso with an old timestamp
Add a file to the test iso with an old timestamp Signed-off-by: Jon Ludlam <e7e3380887a8f95cc9dc4f0d51dedc7e849a287a@citrix.com>
Shell
isc
jonludlam/ocaml-iso-filesystem
shell
## Code Before: if type "mkisofs" > /dev/null; then mkdir test_iso echo "hello, world!" > test_iso/hello.txt mkisofs -o test.iso -R test_iso else curl http://www.recoil.org/~jon/ocaml-iso9660-test.iso -o test.iso fi ## Instruction: Add a file to the test iso with an old timestamp Signed-off-by: Jon Ludlam ...
13069f6c41879bfd0d8d07c39f1112fa02658441
gxa/src/main/java/uk/ac/ebi/atlas/experimentpage/baseline/coexpression/CoexpressedGenesController.java
gxa/src/main/java/uk/ac/ebi/atlas/experimentpage/baseline/coexpression/CoexpressedGenesController.java
package uk.ac.ebi.atlas.experimentpage.baseline.coexpression; import com.google.gson.Gson; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import javax.inject.Inject; import java.util.Set; @Controller @RequestMapp...
package uk.ac.ebi.atlas.experimentpage.baseline.coexpression; import com.google.gson.Gson; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; im...
Replace wildcard import with single imports
Replace wildcard import with single imports
Java
apache-2.0
gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas
java
## Code Before: package uk.ac.ebi.atlas.experimentpage.baseline.coexpression; import com.google.gson.Gson; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import javax.inject.Inject; import java.util.Set; @Control...
607b6d653e06204c73999c5cb34c0a61ff051e59
src/Week.css
src/Week.css
:local(.component) { display: flex; flex-direction: column; max-height: 100%; width: 100%; border-bottom: 1px solid #ccc; } :local(.days), :local(.header) { display: flex; align-items: flex-start; } :local(.daysWrapper) { position: relative; border-top: 1px solid #ccc; overflow: auto; -webkit-ov...
:local(.component) { display: flex; flex-direction: column; max-height: 100%; width: 100%; border-bottom: 1px solid #ccc; } :local(.days), :local(.header) { display: flex; align-items: flex-start; } :local(.daysWrapper) { position: relative; border-top: 1px solid #ccc; overflow: auto; flex: 1 1 ...
Fix scrolling of days in iOS Safari
Fix scrolling of days in iOS Safari Scrolling of the main screen was broken in iOS Safari. Switching approach to make use of flex-grow, shrink and flex-basis worked better. http://stackoverflow.com/questions/39705876/css-scroll-issue-with-flexbox-and-max-height
CSS
mit
trotzig/react-available-times,trotzig/react-available-times
css
## Code Before: :local(.component) { display: flex; flex-direction: column; max-height: 100%; width: 100%; border-bottom: 1px solid #ccc; } :local(.days), :local(.header) { display: flex; align-items: flex-start; } :local(.daysWrapper) { position: relative; border-top: 1px solid #ccc; overflow: au...
656552e1d434b6a64e6497135c3b28d6c05642ed
Sources/Focus.swift
Sources/Focus.swift
struct Focus { static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))? static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))? } func expect<Item>(_ item: Item) -> Expect<Item> { return Expect(item: item) }
public struct Focus { public static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))? public static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))? } public func expect<Item>(_ item: Item) -> Expect<Item> { return Expect(item: item) }
Make Expect and To public
Make Expect and To public
Swift
mit
ObserveSocial/Focus
swift
## Code Before: struct Focus { static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))? static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))? } func expect<Item>(_ item: Item) -> Expect<Item> { return Expect(item: item) } ## Instruction: Make ...
d569c69ea1a361ada0e09f2c58bd611b686d82e9
modules/dcc_chat.h
modules/dcc_chat.h
class dccChat : public Module { public: void onDCCReceive(std::string dccid, std::string message); }; class dccSender : public Module { public: void dccSend(std::string dccid, std::string message); };
class dccChat : public Module { public: virtual void onDCCReceive(std::string dccid, std::string message); }; class dccSender : public Module { public: virtual void dccSend(std::string dccid, std::string message); virtual bool hookDCCMessage(std::string modName, std::string hookMsg); };
Fix those functions not being virtual.
Fix those functions not being virtual.
C
mit
ElementalAlchemist/RoBoBo,ElementalAlchemist/RoBoBo
c
## Code Before: class dccChat : public Module { public: void onDCCReceive(std::string dccid, std::string message); }; class dccSender : public Module { public: void dccSend(std::string dccid, std::string message); }; ## Instruction: Fix those functions not being virtual. ## Code After: class dccChat : public Mo...
475af038dafe0f5b036784e9fb718c3d3e0ffd5e
Pod/Classes/StringInChain.swift
Pod/Classes/StringInChain.swift
// // StringInChain.swift // StringInChain // // Created by Lukasz Solniczek on 22.06.2015. // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. // import Foundation public class StringInChain { var stringToMach: String? var baseText: NSString public var attrString: NSMutableAttributedStr...
// // StringInChain.swift // StringInChain // // Created by Lukasz Solniczek on 22.06.2015. // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. // import Foundation public class StringInChain { var stringToMach: String? var baseText: NSString public var attrString: NSMutableAttributedStr...
Remove redundant flow of control ;)
Remove redundant flow of control ;)
Swift
mit
carabina/string-in-chain,carabina/string-in-chain,carabina/string-in-chain,lsolniczek/string-in-chain,carabina/string-in-chain,lsolniczek/string-in-chain,lsolniczek/string-in-chain
swift
## Code Before: // // StringInChain.swift // StringInChain // // Created by Lukasz Solniczek on 22.06.2015. // Copyright (c) 2015 Lukasz Solniczek. All rights reserved. // import Foundation public class StringInChain { var stringToMach: String? var baseText: NSString public var attrString: NSMuta...
4b6bb7b7d258a9f130b7d10f390f44dec855cc19
admin/src/gui/NewScoville.py
admin/src/gui/NewScoville.py
import pygtk pygtk.require("2.0") import gtk builder = gtk.Builder() builder.add_from_file(os.path[0]+"/src/gui/NewScoville.ui") class NewScovilleWindow(object): def __init__(self): pass
import pygtk pygtk.require("2.0") import gtk builder = gtk.Builder() builder.add_from_file(os.path[0]+"/src/gui/NewScoville.ui") class NewScovilleWindow(object): pass
Revert "added constructor (testcommit for new git interface)"
Revert "added constructor (testcommit for new git interface)" This reverts commit d5c0252b75e97103d61c3203e2a8d04a061c8a2f.
Python
agpl-3.0
skarphed/skarphed,skarphed/skarphed
python
## Code Before: import pygtk pygtk.require("2.0") import gtk builder = gtk.Builder() builder.add_from_file(os.path[0]+"/src/gui/NewScoville.ui") class NewScovilleWindow(object): def __init__(self): pass ## Instruction: Revert "added constructor (testcommit for new git interface)" This reverts commit d5c025...
0165ba27355a4ea2125abf4875a212257bf2567e
lib/flux_mixin.js
lib/flux_mixin.js
module.exports = function(React) { return { propTypes: { flux: React.PropTypes.object.isRequired }, childContextTypes: { flux: React.PropTypes.object }, getChildContext: function() { return { flux: this.props.flux }; } }; };
var FluxMixin = function(React) { return { propTypes: { flux: React.PropTypes.object.isRequired }, childContextTypes: { flux: React.PropTypes.object }, getChildContext: function() { return { flux: this.props.flux }; } }; }; FluxMixin.componentWillMount = fu...
Throw if Fluxbox.FluxMixin used as a mixin instead of a function
Throw if Fluxbox.FluxMixin used as a mixin instead of a function
JavaScript
mit
hoanglamhuynh/fluxxor,STRML/fluxxor,alcedo/fluxxor,davesag/fluxxor,nagyistoce/fluxxor,BinaryMuse/fluxxor,VincentHoang/fluxxor,davesag/fluxxor,chimpinano/fluxxor,davesag/fluxxor,dantman/fluxxor,nagyistoce/fluxxor,andrewslater/fluxxor,webcoding/fluxxor,chimpinano/fluxxor,SqREL/fluxxor,dantman/fluxxor,hoanglamhuynh/fluxxo...
javascript
## Code Before: module.exports = function(React) { return { propTypes: { flux: React.PropTypes.object.isRequired }, childContextTypes: { flux: React.PropTypes.object }, getChildContext: function() { return { flux: this.props.flux }; } }; }; ## Instruction: ...
7e257420baec4f1a1e03f876a06766bf6b0d4064
.travis.yml
.travis.yml
sudo: false dist: xenial language: php services: - mysql php: - 7.3 - 7.2 - 7.1 env: - SYMFONY_VERSION=4.3.* - SYMFONY_VERSION=4.2.* - SYMFONY_VERSION=4.1.* - SYMFONY_VERSION=4.0.* - SYMFONY_VERSION=3.4.* matrix: fast_finish: true before_script: - echo 'memory_limit=-1' >> ~/.phpenv/versions/...
sudo: false dist: xenial language: php services: - mysql php: - 7.3 - 7.2 - 7.1 env: - SYMFONY_VERSION=5.0.* - SYMFONY_VERSION=4.4.* - SYMFONY_VERSION=3.4.* matrix: fast_finish: true before_script: - echo 'memory_limit=-1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - mys...
Test Symfony 5.0 and LTS versions
Test Symfony 5.0 and LTS versions
YAML
mit
aimeos/aimeos-symfony2,aimeos/aimeos-symfony,aimeos/aimeos-symfony2,aimeos/aimeos-symfony2
yaml
## Code Before: sudo: false dist: xenial language: php services: - mysql php: - 7.3 - 7.2 - 7.1 env: - SYMFONY_VERSION=4.3.* - SYMFONY_VERSION=4.2.* - SYMFONY_VERSION=4.1.* - SYMFONY_VERSION=4.0.* - SYMFONY_VERSION=3.4.* matrix: fast_finish: true before_script: - echo 'memory_limit=-1' >> ~/....
6d663d1d0172b716e0dccc1f617b5a09b2905b67
script/upload-windows-pdb.py
script/upload-windows-pdb.py
import os import glob from lib.util import execute, rm_rf, safe_mkdir, s3put, s3_config SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) SYMBOLS_DIR = 'dist\\symbols' PDB_LIST = [ 'out\\Release\\atom.exe.pdb', 'vendor\\brightray\\vendor\\download\\libchromiumcontent\\Release\\chromiumco...
import os import glob from lib.util import execute, rm_rf, safe_mkdir, s3put, s3_config SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) SYMBOLS_DIR = 'dist\\symbols' PDB_LIST = [ 'out\\Release\\atom.exe.pdb', 'vendor\\brightray\\vendor\\download\\libchromiumcontent\\Release\\chromiumco...
Use lowercase for symbol paths
Use lowercase for symbol paths
Python
mit
wolfflow/electron,shockone/electron,ianscrivener/electron,oiledCode/electron,christian-bromann/electron,fffej/electron,darwin/electron,digideskio/electron,jannishuebl/electron,darwin/electron,lrlna/electron,faizalpribadi/electron,lzpfmh/electron,rsvip/electron,mubassirhayat/electron,bwiggs/electron,jiaz/electron,gstack...
python
## Code Before: import os import glob from lib.util import execute, rm_rf, safe_mkdir, s3put, s3_config SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) SYMBOLS_DIR = 'dist\\symbols' PDB_LIST = [ 'out\\Release\\atom.exe.pdb', 'vendor\\brightray\\vendor\\download\\libchromiumcontent\\Rel...
ed5d15cca2c9e6869c665b66d7a8545aa78b82dc
errors.js
errors.js
'use strict'; var util = require('util'); /** * Generic Primus error. * * @constructor * @param {String} message The reason for the error * @param {EventEmitter} logger Optional EventEmitter to emit a `log` event on. * @api public */ function PrimusError(message, logger) { Error.call(this); Error.captureSt...
'use strict'; var util = require('util'); /** * Generic Primus error. * * @constructor * @param {String} message The reason for the error * @param {EventEmitter} logger Optional EventEmitter to emit a `log` event on. * @api public */ function PrimusError(message, logger) { Error.captureStackTrace(this, this....
Remove useless calls to `Error` constructor
[minor] Remove useless calls to `Error` constructor
JavaScript
mit
primus/primus,primus/primus,STRML/primus,STRML/primus,primus/primus,STRML/primus
javascript
## Code Before: 'use strict'; var util = require('util'); /** * Generic Primus error. * * @constructor * @param {String} message The reason for the error * @param {EventEmitter} logger Optional EventEmitter to emit a `log` event on. * @api public */ function PrimusError(message, logger) { Error.call(this); ...
e0181d13dd3e42ee3bbda2aa270848e06f50fe4e
app/js/controllers/data-controller.js
app/js/controllers/data-controller.js
'use strict'; module.exports = function(app) { app.controller('dataController', [ '$scope', 'HttpService', '$http', '$cookies', function($scope, HttpService, $http, $cookies) { $http.defaults.headers.common.jwt = $cookies.jwt; $scope.selectedDomain = false; var domainService = new HttpService('d...
'use strict'; module.exports = function(app) { app.controller('dataController', [ '$scope', 'HttpService', '$http', '$cookies', function($scope, HttpService, $http, $cookies) { $http.defaults.headers.common.jwt = $cookies.jwt; $scope.selectedDomain = false; var domainService = new HttpService('d...
Add function for adding domains
Add function for adding domains
JavaScript
mit
Sextant-WDB/sextant-ng
javascript
## Code Before: 'use strict'; module.exports = function(app) { app.controller('dataController', [ '$scope', 'HttpService', '$http', '$cookies', function($scope, HttpService, $http, $cookies) { $http.defaults.headers.common.jwt = $cookies.jwt; $scope.selectedDomain = false; var domainService = ne...
b5c50a2eb1a9cfc957a7a60f7387f8ee71999f8a
config/private_pub.yml
config/private_pub.yml
development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "https://hippopathchat.herokuapp.com/faye" ...
development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "http://54.191.23.117:9292/faye" secret_tok...
Revert "change production faye source"
Revert "change production faye source" This reverts commit 3ae61cc8a5dd6a3b989a8d30e523ae2233074d1f.
YAML
apache-2.0
jchai002/HippoPath,jchai002/HippoPath,jchai002/HippoPath
yaml
## Code Before: development: server: "http://54.191.23.117:9292/faye" secret_token: "04e13fcc7f1c88f81608101e49220698241472f1a5578a485b818cb328d237c2" signature_expiration: 3600 # one hour test: server: "http://54.191.23.117:9292/faye" secret_token: "secret" production: server: "https://hippopathchat.heroku...
327428de0267de773a850daa9d376891fe02308f
splitword.py
splitword.py
def split_word(word): if len(word) < 2: raise Exception( "You obviously need at least two letters to split a word") split_indexes = list(range(1, len(word))) for i in split_indexes: first_part = word[:i] second_part = word[i:] yield (first_part, second_part)
def split_word(word): split_indexes = list(range(0, len(word))) for i in split_indexes: first_part = word[:i] second_part = word[i:] yield (first_part, second_part)
Allow splitting to zero-length parts
Allow splitting to zero-length parts
Python
unlicense
andyn/kapunaattori
python
## Code Before: def split_word(word): if len(word) < 2: raise Exception( "You obviously need at least two letters to split a word") split_indexes = list(range(1, len(word))) for i in split_indexes: first_part = word[:i] second_part = word[i:] yield (first_part, se...
03a9e6f2b08c3038fa5ab0c60600178df8ab0b4b
.travis.yml
.travis.yml
language: python python: 3.5 env: matrix: - TOXENV=py26 - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 - TOXENV=pypy - TOXENV=pypy3 - TOXENV=flake8 script: - make test install: - travis_retry pip install tox
language: python python: 3.5 env: matrix: - TOXENV=py26 - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 - TOXENV=pypy - TOXENV=flake8 script: - make test install: - travis_retry pip install tox
Remove pypy3 to fix tests
Remove pypy3 to fix tests pip no longer works with py3 < 3.3 and pypy3 provides python 3.2.
YAML
mit
ghickman/django-cache-url
yaml
## Code Before: language: python python: 3.5 env: matrix: - TOXENV=py26 - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 - TOXENV=pypy - TOXENV=pypy3 - TOXENV=flake8 script: - make test install: - travis_retry pip install tox ## Instruction: Remove pyp...
7d1111136e63627c1f003d5b1352b29732e0345a
README.md
README.md
rosetta-p67-wegbl ================= Tiny WebGl animation of the Rosetta spacecraft and the P67 comet # Usage The shortest path, assuming you have [grunt](http://gruntjs.com) installed is typing `grunt` and pointing your browser to `http://localhost:9000/dist/index.html` This should compile the `rosetta_mission.c...
rosetta-p67-wegbl ================= Tiny WebGl animation of the Rosetta spacecraft and the P67 comet # Usage The shortest path, assuming you have [grunt](http://gruntjs.com) installed is typing `grunt` and pointing your browser to `http://localhost:9000/dist/index.html` This should compile the `rosetta_mission.c...
Add blog post reference to Readme
Add blog post reference to Readme
Markdown
mit
dramalho/rosetta-p67-wegbl
markdown
## Code Before: rosetta-p67-wegbl ================= Tiny WebGl animation of the Rosetta spacecraft and the P67 comet # Usage The shortest path, assuming you have [grunt](http://gruntjs.com) installed is typing `grunt` and pointing your browser to `http://localhost:9000/dist/index.html` This should compile the `r...
e3e3a9f409baa75c879a60034fc2b589f3337249
scripts/create-docker-compose-env.ps1
scripts/create-docker-compose-env.ps1
<# .DESCRIPTION Create a docker compose .env file #> $scriptPath = Split-Path -parent $PSCommandPath $envFilePath = Resolve-Path "$scriptPath\..\.env" $getEnvCommand = Resolve-Path "$scriptPath\..\lib\killrvideo-docker-common\get-environment.ps1" # Base environment variables to be written $dockerEnv = @("COMPOSE_P...
<# .DESCRIPTION Create a docker compose .env file #> $scriptPath = Split-Path -parent $PSCommandPath $envFilePath = "$scriptPath\..\.env" $getEnvCommand = Resolve-Path "$scriptPath\..\lib\killrvideo-docker-common\get-environment.ps1" # Base environment variables to be written $dockerEnv = @("COMPOSE_PROJECT_NAME=k...
Handle environment not being present initially in script
Handle environment not being present initially in script
PowerShell
apache-2.0
KillrVideo/killrvideo-web,KillrVideo/killrvideo-web,KillrVideo/killrvideo-web
powershell
## Code Before: <# .DESCRIPTION Create a docker compose .env file #> $scriptPath = Split-Path -parent $PSCommandPath $envFilePath = Resolve-Path "$scriptPath\..\.env" $getEnvCommand = Resolve-Path "$scriptPath\..\lib\killrvideo-docker-common\get-environment.ps1" # Base environment variables to be written $dockerEn...
490db713beee28b626237aab95fd70ead87a6ac5
src/index.js
src/index.js
import Component from './class/Component'; import render from './core/render'; import renderToString from './core/renderToString'; import unmountComponentAtNode from './core/unmountComponentAtNode'; import FragmentValueTypes from './enum/fragmentValueTypes'; import TemplateTypes from './enum/templateTypes'; import crea...
export { default as Component } from './class/Component'; export { default as render } from './core/render'; export { default as renderToString } from './core/renderToString'; export { default as unmountComponentAtNode } from './core/unmountComponentAtNode'; export { default as FragmentValueTypes } from './enum/fragmen...
Use ES6 export instead of CJS
Use ES6 export instead of CJS
JavaScript
mit
trueadm/inferno,infernojs/inferno,trueadm/inferno,infernojs/inferno
javascript
## Code Before: import Component from './class/Component'; import render from './core/render'; import renderToString from './core/renderToString'; import unmountComponentAtNode from './core/unmountComponentAtNode'; import FragmentValueTypes from './enum/fragmentValueTypes'; import TemplateTypes from './enum/templateTyp...
3fd2f9e72f477c27c4976c13e44d5fa6adb781bf
.travis.yml
.travis.yml
language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.1 - 2.2.4 - 2.3.0 before_install: - gem update bundler script: - bundle exec rake spec sudo: false cache: bundler notifications: slack: secure: X1umGErES0zd+LXX1EqZZxrPZv2YOzbCNxiLLiSGmJLlZAEtlSkMPyr+M00Lrs2DFhn4blwKPm+5YCBvU7f9F4K5GthSl0qZYNpN...
language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.1 - 2.2.4 - 2.3.6 - 2.4.3 - 2.5.0 before_install: - gem update bundler script: - bundle exec rake spec sudo: false cache: bundler notifications: slack: secure: X1umGErES0zd+LXX1EqZZxrPZv2YOzbCNxiLLiSGmJLlZAEtlSkMPyr+M00Lrs2DFhn4blwKPm+5YCBv...
Add more Ruby versions to the build matrix.
Add more Ruby versions to the build matrix.
YAML
mit
minimum2scp/serverspec,serverspec/serverspec,mizzy/serverspec
yaml
## Code Before: language: ruby rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.1 - 2.2.4 - 2.3.0 before_install: - gem update bundler script: - bundle exec rake spec sudo: false cache: bundler notifications: slack: secure: X1umGErES0zd+LXX1EqZZxrPZv2YOzbCNxiLLiSGmJLlZAEtlSkMPyr+M00Lrs2DFhn4blwKPm+5YCBvU7f9...
bb400919494f2805e6a4d6087602a47866d362d4
pages/article.js
pages/article.js
import React from 'react' import { connect } from 'react-redux'; import { compose } from 'redux'; import Link from 'next/link'; import app from '../components/App'; import { load } from '../redux/articleDetail'; export default compose( app((dispatch, {query: {id}}) => dispatch(load(id))), connect(({articleDetail}...
import React from 'react' import { connect } from 'react-redux'; import { compose } from 'redux'; import Link from 'next/link'; import app from '../components/App'; import { load } from '../redux/articleDetail'; export default compose( app((dispatch, {query: {id}}) => dispatch(load(id))), connect(({articleDetail}...
Remove “back to list” link because it is not accurately “back to list”
Remove “back to list” link because it is not accurately “back to list”
JavaScript
mit
cofacts/rumors-site,cofacts/rumors-site
javascript
## Code Before: import React from 'react' import { connect } from 'react-redux'; import { compose } from 'redux'; import Link from 'next/link'; import app from '../components/App'; import { load } from '../redux/articleDetail'; export default compose( app((dispatch, {query: {id}}) => dispatch(load(id))), connect(...
285dfb98e05ed26245332f29b20c1f3d47a559fa
ReleaseVersion.xml
ReleaseVersion.xml
<Project> <!-- - Single place to put the release version number. This is imported - in both testing/* and src/*. We may eventually want to have - divergent versions, but for the moment this keeps things simpler. --> <PropertyGroup> <Version>2.10.0</Version> </PropertyGroup> </Project>
<Project> <!-- - Single place to put the release version number. This is imported - in both testing/* and src/*. We may eventually want to have - divergent versions, but for the moment this keeps things simpler. --> <PropertyGroup> <Version>3.0.0-alpha00</Version> </PropertyGroup> </Project>
Update GAX version (other than for common protos)
Update GAX version (other than for common protos) This is the start of the "next major version" work described here: https://googleapis.github.io/google-cloud-dotnet/docs/major-version.html
XML
bsd-3-clause
googleapis/gax-dotnet,jskeet/gax-dotnet,jskeet/gax-dotnet,googleapis/gax-dotnet
xml
## Code Before: <Project> <!-- - Single place to put the release version number. This is imported - in both testing/* and src/*. We may eventually want to have - divergent versions, but for the moment this keeps things simpler. --> <PropertyGroup> <Version>2.10.0</Version> </PropertyGroup> </...
8ce567d767e0c33413e9cf46b9abbe8aa1bdfbd8
bench/pact-suite/embarrassing/build.sh
bench/pact-suite/embarrassing/build.sh
INST=$HOME/ExM/inst LB=$INST/lb CUTILS=$INST/c-utils mpicc -std=c99 -O2 -L $LB/lib -L $CUTILS/lib -I $LB/include -I $CUTILS/include -o embarrassing embarrassing.c -ladlb -lexmcutils -Wl,-rpath,$LB/lib,-rpath,$CUTILS/lib
set -e INST=$HOME/ExM/inst TURBINE=$INST/turbine LB=$INST/lb CUTILS=$INST/c-utils source $TURBINE/scripts/turbine-build-config.sh CC=mpicc CFLAGS="-std=c99 -O2 ${TURBINE_INCLUDES}" LDFLAGS="${TURBINE_LIBS} ${TURBINE_RPATH}" MKSTATIC=$TURBINE/scripts/mkstatic/mkstatic.tcl ${CC} ${CFLAGS} embarrassing.c ${LDFLAGS}...
Build script for embarrassing benchmark
Build script for embarrassing benchmark git-svn-id: 0c5512015aa96f7d3f5c3ad598bd98edc52008b1@11944 dc4e9af1-7f46-4ead-bba6-71afc04862de
Shell
apache-2.0
blue42u/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,blue42u/swift-t,blue42u/swift-t,swift-lang/swift-t,JohnPJenkins/swift-t,blue42u/swift-t,blue42u/swift-t,basheersubei/swift-t,basheersubei/swift-t,swift-lang/swift-t,basheersubei/swift-t,swift-lang/swift-t,swift-lang/swift-t,blue42u/swift-t,basheersubei/swift-t,Joh...
shell
## Code Before: INST=$HOME/ExM/inst LB=$INST/lb CUTILS=$INST/c-utils mpicc -std=c99 -O2 -L $LB/lib -L $CUTILS/lib -I $LB/include -I $CUTILS/include -o embarrassing embarrassing.c -ladlb -lexmcutils -Wl,-rpath,$LB/lib,-rpath,$CUTILS/lib ## Instruction: Build script for embarrassing benchmark git-svn-id: 0c5512015aa9...
48f3a1c5e14dfbca97462736d3567d4bc7ba8b46
src/circleci/init.clj
src/circleci/init.clj
(ns circleci.init ;; (:require circleci.swank) (:require circleci.db) (:require circleci.db.migrations) (:require circleci.web) (:require circleci.repl) (:require circleci.logging) (:require circleci.backend.nodes circleci.backend.project.rails circleci.backend.project.circleci)) ...
(ns circleci.init ;; (:require circleci.swank) (:require circleci.db) (:require circleci.db.migrations) (:require circleci.web) (:require circleci.repl) (:require circleci.logging) ;; (:require circleci.backend.nodes ;; circleci.backend.project.rails ;; circleci.backend.project.cir...
Comment out the backend code, to allow heroku to start
Comment out the backend code, to allow heroku to start
Clojure
epl-1.0
prathamesh-sonpatki/frontend,circleci/frontend,RayRutjes/frontend,circleci/frontend,prathamesh-sonpatki/frontend,RayRutjes/frontend,circleci/frontend
clojure
## Code Before: (ns circleci.init ;; (:require circleci.swank) (:require circleci.db) (:require circleci.db.migrations) (:require circleci.web) (:require circleci.repl) (:require circleci.logging) (:require circleci.backend.nodes circleci.backend.project.rails circleci.backend.proj...
b16dfa38b3fdf6443eab90fe7f328435aa9163ac
src/javascript/binary/websocket_pages/user/account/settings/iphistory/iphistory.init.js
src/javascript/binary/websocket_pages/user/account/settings/iphistory/iphistory.init.js
var IPHistory = (function() { 'use strict'; var no_messages_error = "Your account has no Login/Logout activity."; function updateTable(batch) { IPHistoryUI.updateTable(batch); if (batch.length) { return; } $('#login-history-table tbody') .append($('<...
var IPHistory = (function() { 'use strict'; var no_messages_error = "Your account has no Login/Logout activity."; function updateTable(batch) { IPHistoryUI.updateTable(batch); if (batch.length) { return; } $('#login-history-table tbody') .append($('<...
Use jQuery for misc. UI code
Use jQuery for misc. UI code
JavaScript
apache-2.0
teo-binary/binary-static,4p00rv/binary-static,negar-binary/binary-static,binary-com/binary-static,ashkanx/binary-static,fayland/binary-static,ashkanx/binary-static,fayland/binary-static,raunakkathuria/binary-static,teo-binary/binary-static,fayland/binary-static,fayland/binary-static,raunakkathuria/binary-static,kellybi...
javascript
## Code Before: var IPHistory = (function() { 'use strict'; var no_messages_error = "Your account has no Login/Logout activity."; function updateTable(batch) { IPHistoryUI.updateTable(batch); if (batch.length) { return; } $('#login-history-table tbody') ...
532c201053ae271544270035423f690b4774794a
swimlane/core/fields/usergroup.py
swimlane/core/fields/usergroup.py
from .base import MultiSelectField from swimlane.core.resources.usergroup import UserGroup class UserGroupField(MultiSelectField): """Manages getting/setting users from record User/Group fields""" field_type = 'Core.Models.Fields.UserGroupField, Core' supported_types = [UserGroup] def cast_to_pytho...
from .base import MultiSelectField from swimlane.core.resources.usergroup import UserGroup class UserGroupField(MultiSelectField): """Manages getting/setting users from record User/Group fields""" field_type = 'Core.Models.Fields.UserGroupField, Core' supported_types = [UserGroup] def set_swimlane(...
Fix multiselect user/group field when retrieving results from a report
Fix multiselect user/group field when retrieving results from a report
Python
mit
Swimlane/sw-python-client
python
## Code Before: from .base import MultiSelectField from swimlane.core.resources.usergroup import UserGroup class UserGroupField(MultiSelectField): """Manages getting/setting users from record User/Group fields""" field_type = 'Core.Models.Fields.UserGroupField, Core' supported_types = [UserGroup] d...
ec0171ade989977341cf5d0431bb7f2565e3ead9
client/stylesheets/master.styl
client/stylesheets/master.styl
html, body, #game width: 100% height: 100% overflow: hidden #game background: #111 #interface position: fixed top: 0 width: 100% height: 100% .toggle-states position: absolute top: 0 width: 100% height: 100px text-align: right padding: 10px .reticle position:...
@import 'nib' html, body, #game width: 100% height: 100% overflow: hidden #game background: #111 #interface position: fixed top: 0 width: 100% height: 100% .toggle-states position: absolute top: 0 width: 100% height: 100px text-align: right padding: 10px .reticl...
Add nib for css autoprefixing.
Add nib for css autoprefixing.
Stylus
mit
tvararu/NEBUL4
stylus
## Code Before: html, body, #game width: 100% height: 100% overflow: hidden #game background: #111 #interface position: fixed top: 0 width: 100% height: 100% .toggle-states position: absolute top: 0 width: 100% height: 100px text-align: right padding: 10px .retic...
09fbd8a3d89f278bf8b16fb7ac182b0b0e9086a3
appium_tests/search_poem_spec.rb
appium_tests/search_poem_spec.rb
require_relative 'spec_helper' describe '歌を検索するテスト' do it 'アプリのタイトルが正しく表示される' do current_screen_is TOP_TITLE end describe '検索窓に文字を入力すると、歌を絞り込むことができる' do it '歌選択画面を開く' do goto_select_poem_screen current_screen_is '歌を選ぶ' end it '検索窓に「秋」を入力すると、1番, 5番, 22番…という順に歌が選ばれていて、2番は選ばれない。' do ...
require_relative 'spec_helper' describe '歌を検索するテスト' do it 'アプリのタイトルが正しく表示される' do current_screen_is TOP_TITLE end =begin describe '検索窓に文字を入力すると、歌を絞り込むことができる' do it '歌選択画面を開く' do goto_select_poem_screen current_screen_is '歌を選ぶ' end it '検索窓に「秋」を入力すると、1番, 5番, 22番…という順に歌が選ばれていて、2番は選ばれない。...
Disable poem search on PoemPickerScreen: modify Appium test so
Disable poem search on PoemPickerScreen: modify Appium test so
Ruby
mit
satoyos/Shuffle100,satoyos/Shuffle100
ruby
## Code Before: require_relative 'spec_helper' describe '歌を検索するテスト' do it 'アプリのタイトルが正しく表示される' do current_screen_is TOP_TITLE end describe '検索窓に文字を入力すると、歌を絞り込むことができる' do it '歌選択画面を開く' do goto_select_poem_screen current_screen_is '歌を選ぶ' end it '検索窓に「秋」を入力すると、1番, 5番, 22番…という順に歌が選ばれていて、...
8ff4fb8901e4ee614a20cb5fe1744c9ab3122fce
models/country.php
models/country.php
<?php class Country extends ActiveRecordBase { public $name; public $id; public $shortname; public static function findByName( $name ) { $res = db_select_one( "countries", array( 'id' ), compact( "name" ) ); if ( $res == false ) { throw new Mo...
<?php class Country extends ActiveRecordBase { public $name; public $id; public $shortname; public static function findByName( $name ) { $res = db_select_one( "countries", array( 'id' ), compact( "name" ) ); if ( $res == false ) { throw new Mo...
Remove useless function and move static methods on top
Remove useless function and move static methods on top
PHP
mit
VitSalis/endofcodes,dionyziz/endofcodes,VitSalis/endofcodes,dionyziz/endofcodes,VitSalis/endofcodes,dionyziz/endofcodes,VitSalis/endofcodes
php
## Code Before: <?php class Country extends ActiveRecordBase { public $name; public $id; public $shortname; public static function findByName( $name ) { $res = db_select_one( "countries", array( 'id' ), compact( "name" ) ); if ( $res == false ) { ...
855d9ea2de705ce57a16053d64f0d2e7b6bcde8c
open_humans/templates/about.html
open_humans/templates/about.html
{% extends 'base.html' %} {% block main %} <p>Open Humans is a project of <a href="http://www.personalgenomes.org">PersonalGenomes.org</a> – a 501(c)(3) nonprofit – and is funded by Knight Foundation and the Robert Wood Johnson Foundation. Other groundbreaking initiatives from PersonalGenomes.org include the <a href=...
{% extends 'base.html' %} {% block main %} <h1>About Us</h1> <p>Open Humans is a project of <a href="http://www.personalgenomes.org">PersonalGenomes.org</a> – a 501(c)(3) nonprofit – and is funded by Knight Foundation and the Robert Wood Johnson Foundation. Other groundbreaking initiatives from PersonalGenomes.org i...
Add heading to About Us
Add heading to About Us
HTML
mit
OpenHumans/open-humans,PersonalGenomesOrg/open-humans,OpenHumans/open-humans,OpenHumans/open-humans,PersonalGenomesOrg/open-humans,OpenHumans/open-humans,PersonalGenomesOrg/open-humans,PersonalGenomesOrg/open-humans
html
## Code Before: {% extends 'base.html' %} {% block main %} <p>Open Humans is a project of <a href="http://www.personalgenomes.org">PersonalGenomes.org</a> – a 501(c)(3) nonprofit – and is funded by Knight Foundation and the Robert Wood Johnson Foundation. Other groundbreaking initiatives from PersonalGenomes.org incl...
bed44416fea5f39ba9345e8893a66ae4e0888771
MMCollapsibleLabel.podspec
MMCollapsibleLabel.podspec
Pod::Spec.new do |s| s.name = 'MMCollapsibleLabel' s.version = '0.1.0' s.summary = 'A collapsible UILabel.' s.description = <<-DESC A highly customizable UILabel which is collapsible like an accordion with a Show / Hide button. DESC s.homepage ...
Pod::Spec.new do |s| s.name = 'MMCollapsibleLabel' s.version = '0.1.0' s.summary = 'A collapsible UILabel.' s.description = <<-DESC A highly customizable UILabel which is collapsible like an accordion with a Show / Hide button. DESC s.homepage ...
Declare this is deprecated in podspec
Declare this is deprecated in podspec
Ruby
mit
manicmaniac/MMCollapsibleLabel
ruby
## Code Before: Pod::Spec.new do |s| s.name = 'MMCollapsibleLabel' s.version = '0.1.0' s.summary = 'A collapsible UILabel.' s.description = <<-DESC A highly customizable UILabel which is collapsible like an accordion with a Show / Hide button. DESC ...
cefd97d217ca4fb139c6ac784b93f0c2f2ef440d
README.md
README.md
A node.js utility to iteratively delete Twilio records of SMS and MMS. ```bash ./twilio-sms-delete --sid [your Twilio SID] --auth [your Twilio Auth Token] ``` ## Installation The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.o...
A node.js utility to iteratively delete Twilio records of SMS and MMS. ```bash ./twilio-sms-delete --sid [your Twilio SID] --auth [your Twilio Auth Token] ``` ## Installation The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.o...
Add warning about not deleting orphaned media
Add warning about not deleting orphaned media
Markdown
mit
jkingsman/twilio-sms-delete
markdown
## Code Before: A node.js utility to iteratively delete Twilio records of SMS and MMS. ```bash ./twilio-sms-delete --sid [your Twilio SID] --auth [your Twilio Auth Token] ``` ## Installation The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs]...
af57b00165733fa57942c88ce54d46d17cf6d8ef
app/assets/stylesheets/modules/_uls.styl
app/assets/stylesheets/modules/_uls.styl
.uls-trigger position relative top -2px margin-left 0px .uls-menu margin-top 10px input[type=text] height auto .uls-menu .uls-lcd-region-section .uls-lcd-region-title font-weight normal .uls-search-label height 27px .uls-filterinput padding-top 3px
.uls-trigger position relative top -2px margin-left 0px /*@noflip*/ padding-left: 30px .uls-menu margin-top 10px input[type=text] height auto .uls-menu .uls-lcd-region-section .uls-lcd-region-title font-weight normal .uls-search-label height 27px .uls-filterinput padding-top 3px
Fix overlap of language switcher text in RTL layout
Fix overlap of language switcher text in RTL layout Fixes https://phabricator.wikimedia.org/T152446
Stylus
mit
majakomel/WikiEduDashboard,sejalkhatri/WikiEduDashboard,feelfreelinux/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,KarmaHater/WikiEduDashboard,Wowu/WikiEduDashboard,feelfreelinux/WikiEduDashboard,majakomel/WikiEduDashboard,sejalkhatri/WikiEduDashboard,feelfreelinux/WikiEduDashboard,KarmaHater/WikiEd...
stylus
## Code Before: .uls-trigger position relative top -2px margin-left 0px .uls-menu margin-top 10px input[type=text] height auto .uls-menu .uls-lcd-region-section .uls-lcd-region-title font-weight normal .uls-search-label height 27px .uls-filterinput padding-top 3px ## Instruction: Fi...
c35887025a2127a527862e664d1ef3bb5c4f528a
Constants.py
Constants.py
IRC_numeric_to_name = {"001": "RPL_WELCOME", "372": "RPL_MOTD", "375": "RPL_MOTDSTART", "376": "RPL_ENDOFMOTD", "433": "ERR_NICKNAMEINUSE"} CTCP_DELIMITER = chr(1)
IRC_numeric_to_name = {"001": "RPL_WELCOME", "315": "RPL_ENDOFWHO", "352": "RPL_WHOREPLY", "372": "RPL_MOTD", "375": "RPL_MOTDSTART", "376": "RPL_ENDOFMOTD", "433": "ERR_NICKNAMEINUSE"} CTCP_DELIMITER = chr(1)
Add some needed IRC numerics
Add some needed IRC numerics
Python
mit
Didero/DideRobot
python
## Code Before: IRC_numeric_to_name = {"001": "RPL_WELCOME", "372": "RPL_MOTD", "375": "RPL_MOTDSTART", "376": "RPL_ENDOFMOTD", "433": "ERR_NICKNAMEINUSE"} CTCP_DELIMITER = chr(1) ## Instruction: Add some needed IRC numerics ## Code After: IRC_numeric_to_name = {"001": "RPL_WELCOME", "315": "RPL_ENDOFWHO", "352": "RPL...
077c4a0f2346d04a3ce97174dd98638ebe22bd4d
lib/cukestart/generator/structure.rb
lib/cukestart/generator/structure.rb
require 'thor' module Cukestart module Generator class Structure < Thor::Group argument :project_name, :desc => "Name of the root directory", :default => "teste_gem" def self.source_root File.dirname(__FILE__) + :project_name end end end end
require 'thor' module Cukestart module Generator class Structure < Thor::Group include Thor::Actions argument :project_name, :desc => "Name of the root directory", :default => "teste_gem" def self.source_root File.dirname(__FILE__) + :project_name end def create_folders ...
Create folders with a root default name
Create folders with a root default name
Ruby
mit
luisfpb/cukestart
ruby
## Code Before: require 'thor' module Cukestart module Generator class Structure < Thor::Group argument :project_name, :desc => "Name of the root directory", :default => "teste_gem" def self.source_root File.dirname(__FILE__) + :project_name end end end end ## Instruction: Crea...
a739025c8ce278af060a9a2de3c8dffc66eb7360
config/defaultPlugins.json
config/defaultPlugins.json
{ "kuzzle-plugin-logger": { "version": "1.0.4", "activated": true, "defaultConfig": { "service": "winston", "level": "info", "addDate": true } } }
{ "kuzzle-plugin-logger": { "version": "1.0.4", "activated": true, "defaultConfig": { "service": "winston", "level": "info", "addDate": true } }, "kuzzle-plugin-passportjs": { "version": "0.0.1", "activated": true, "defaultConfig": { } } }
Load PassportJS plugin by default for authentication
Load PassportJS plugin by default for authentication
JSON
apache-2.0
kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle
json
## Code Before: { "kuzzle-plugin-logger": { "version": "1.0.4", "activated": true, "defaultConfig": { "service": "winston", "level": "info", "addDate": true } } } ## Instruction: Load PassportJS plugin by default for authentication ## Code After: { "kuzzle-plugin-logger": { ...
4a5d778a3642de24ab5afa62f1444f42d7837ce3
tox.ini
tox.ini
[flake8] max-line-length = 100 exclude = .tox,docs/modeltranslation/conf.py [tox] distribute = False envlist = py{27,34,35,36}-1.11.X, py{34,35,36}-2.0.X, [testenv] downloadcache = {toxworkdir}/_download/ commands = django-admin.py --version {envpython} runtests.py basepython = py27: python2.7 ...
[flake8] max-line-length = 100 exclude = .tox,docs/modeltranslation/conf.py [tox] distribute = False envlist = py{27,34,35,36}-1.11.X, py{34,35,36}-2.0.X, py{35,36,37}-2.1.X, [testenv] downloadcache = {toxworkdir}/_download/ commands = django-admin.py --version {envpython} runtests.py basepython =...
Update test matrix: add django-2.1 and python 3.7
Update test matrix: add django-2.1 and python 3.7
INI
bsd-3-clause
deschler/django-modeltranslation,deschler/django-modeltranslation
ini
## Code Before: [flake8] max-line-length = 100 exclude = .tox,docs/modeltranslation/conf.py [tox] distribute = False envlist = py{27,34,35,36}-1.11.X, py{34,35,36}-2.0.X, [testenv] downloadcache = {toxworkdir}/_download/ commands = django-admin.py --version {envpython} runtests.py basepython = py2...
b3975b4e5b855eb212cc5171e17ed93e315f1c30
cheap_repr/utils.py
cheap_repr/utils.py
import traceback from qualname import qualname def safe_qualname(cls): # type: (type) -> str result = _safe_qualname_cache.get(cls) if not result: try: result = qualname(cls) except (AttributeError, IOError): result = cls.__name__ if '<locals>' not in resul...
import traceback from qualname import qualname def safe_qualname(cls): # type: (type) -> str result = _safe_qualname_cache.get(cls) if not result: try: result = qualname(cls) except (AttributeError, IOError, SyntaxError): result = cls.__name__ if '<locals>'...
Make safe_qualname more permissive (getting syntax errors on travis in 2.6)
Make safe_qualname more permissive (getting syntax errors on travis in 2.6)
Python
mit
alexmojaki/cheap_repr,alexmojaki/cheap_repr
python
## Code Before: import traceback from qualname import qualname def safe_qualname(cls): # type: (type) -> str result = _safe_qualname_cache.get(cls) if not result: try: result = qualname(cls) except (AttributeError, IOError): result = cls.__name__ if '<local...
73a41f2d8f8d2479e67dc8028cf615f2019aeaf2
src/main/java/com/metroveu/metroveu/WearConnector.java
src/main/java/com/metroveu/metroveu/WearConnector.java
package com.metroveu.metroveu; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import com.google.android.gms.wearable.DataEvent; import com.google.android.gms.wearable.DataEventBuffer; import com.google.android.gms.wearable.DataMap; import com.google.andr...
package com.metroveu.metroveu; import android.util.Log; import com.google.android.gms.wearable.DataEvent; import com.google.android.gms.wearable.DataEventBuffer; import com.google.android.gms.wearable.DataMap; import com.google.android.gms.wearable.DataMapItem; import com.google.android.gms.wearable.MessageEvent; imp...
Change WeareableListener tag and implement onMessageReceived
Change WeareableListener tag and implement onMessageReceived
Java
mit
joanvila/MetroVeu
java
## Code Before: package com.metroveu.metroveu; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import com.google.android.gms.wearable.DataEvent; import com.google.android.gms.wearable.DataEventBuffer; import com.google.android.gms.wearable.DataMap; import...
38848a976789e35271cc07cc5dae021f6521846f
src/main/java/org/icij/extract/core/Spewer.java
src/main/java/org/icij/extract/core/Spewer.java
package org.icij.extract.core; import java.io.IOException; import java.nio.file.Path; import java.nio.file.FileSystems; import java.nio.charset.Charset; import java.util.logging.Logger; import org.apache.tika.parser.ParsingReader; import org.apache.tika.exception.TikaException; /** * Extract * * @author Matthew...
package org.icij.extract.core; import java.io.IOException; import java.nio.file.Path; import java.nio.file.FileSystems; import java.nio.charset.Charset; import java.util.logging.Logger; import org.apache.tika.parser.ParsingReader; import org.apache.tika.exception.TikaException; /** * Extract * * @author Matthew...
Fix NullPointerException when output base is null
Fix NullPointerException when output base is null
Java
mit
ICIJ/extract,ICIJ/extract
java
## Code Before: package org.icij.extract.core; import java.io.IOException; import java.nio.file.Path; import java.nio.file.FileSystems; import java.nio.charset.Charset; import java.util.logging.Logger; import org.apache.tika.parser.ParsingReader; import org.apache.tika.exception.TikaException; /** * Extract * *...
da8c78c1f7da688fe95a48a5addf51c38d0873f9
content/faq/de-onde-vem-os-dados-do-de-olho-nas-metas.md
content/faq/de-onde-vem-os-dados-do-de-olho-nas-metas.md
--- title: "De onde vem os dados do De Olho nas Metas?" date: 2017-09-14T15:45:17-03:00 layout: none type: faq weight: 5 --- Periodicamente, o De Olho nas Metas consulta automaticamente as informações sobre as metas e projetos do Planeja Sampa - site da Prefeitura de São Paulo que foi especialmente criado para incenti...
--- title: "De onde vem os dados do De Olho nas Metas?" date: 2017-09-14T15:45:17-03:00 layout: none type: faq weight: 5 --- Periodicamente, o De Olho nas Metas consulta automaticamente as informações sobre as metas e projetos do [Planeja Sampa](http://planejasampa.prefeitura.sp.gov.br) - site da Prefeitura de São Pau...
Fix link in one FAQ text
Fix link in one FAQ text DONM-67
Markdown
mit
AppCivico/DOnM-2017-www,AppCivico/DOnM-2017-www
markdown
## Code Before: --- title: "De onde vem os dados do De Olho nas Metas?" date: 2017-09-14T15:45:17-03:00 layout: none type: faq weight: 5 --- Periodicamente, o De Olho nas Metas consulta automaticamente as informações sobre as metas e projetos do Planeja Sampa - site da Prefeitura de São Paulo que foi especialmente cri...
fadfef3b2606212d3c09b4bf30aa2046276c1901
content/reviews.html
content/reviews.html
<div id="page-body" style="text-align: left; margin: 25px;"> <h2 class="title">Reviews</h2> <div class="post"> <p><h4><strong>Professional Reviews</strong></h4></p> <p><a href="#" title="capitalism" onclick="load_review('capitalism')">Capitalism in Software Development</a> <span class="small"> ...
<div id="page-body" style="text-align: left; margin: 25px;"> <h2 class="title">Reviews</h2> <div class="post"> <p><h4><strong>Professional Reviews</strong></h4></p> <p><a href="#" title="capitalism" onclick="load_review('capitalism')">Capitalism in Software Development</a> <span class="small"> ...
Add in the Tiered Application Philosophy
Add in the Tiered Application Philosophy
HTML
bsd-3-clause
wparad/Startup-Tech
html
## Code Before: <div id="page-body" style="text-align: left; margin: 25px;"> <h2 class="title">Reviews</h2> <div class="post"> <p><h4><strong>Professional Reviews</strong></h4></p> <p><a href="#" title="capitalism" onclick="load_review('capitalism')">Capitalism in Software Development</a> <span...
430fd5393668249f01a2b941eef62569d758c6cf
tools/skp/page_sets/skia_intelwiki_desktop.py
tools/skp/page_sets/skia_intelwiki_desktop.py
from telemetry import story from telemetry.page import page as page_module from telemetry.page import shared_page_state class SkiaBuildbotDesktopPage(page_module.Page): def __init__(self, url, page_set): super(SkiaBuildbotDesktopPage, self).__init__( url=url, name=url, page_set=page_s...
from telemetry import story from telemetry.page import page as page_module from telemetry.page import shared_page_state class SkiaBuildbotDesktopPage(page_module.Page): def __init__(self, url, page_set): super(SkiaBuildbotDesktopPage, self).__init__( url=url, name=url, page_set=page_s...
Add scrolling to go to the more interesting parts of desk_intelwiki.skp
Add scrolling to go to the more interesting parts of desk_intelwiki.skp Bug: skia:11804 Change-Id: I96ce34311b5e5420ee343a0dbc68ef20f399be4f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/390336 Commit-Queue: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com> Reviewed-by: Robert Phillips <95...
Python
bsd-3-clause
google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,google/skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/pl...
python
## Code Before: from telemetry import story from telemetry.page import page as page_module from telemetry.page import shared_page_state class SkiaBuildbotDesktopPage(page_module.Page): def __init__(self, url, page_set): super(SkiaBuildbotDesktopPage, self).__init__( url=url, name=url, ...
893f4828797cf072e669fd9bb6f7697f738f753c
bootstrap/conf/salt/state/freebayes/init.sls
bootstrap/conf/salt/state/freebayes/init.sls
/opt/: git.clone: - repository: git://github.com/ekg/freebayes.git - opts: --recursive
git.clone: cwd: /opt/ repository: git://github.com/ekg/freebayes.git opts: --recursive
Fix git clone call for freebayes.
Fix git clone call for freebayes.
SaltStack
mit
llevar/germline-regenotyper,llevar/germline-regenotyper
saltstack
## Code Before: /opt/: git.clone: - repository: git://github.com/ekg/freebayes.git - opts: --recursive ## Instruction: Fix git clone call for freebayes. ## Code After: git.clone: cwd: /opt/ repository: git://github.com/ekg/freebayes.git opts: --recursive
17297ffb0b6caf1b03d054dbff7bda2a77a4eaeb
tools/diagtool/CMakeLists.txt
tools/diagtool/CMakeLists.txt
set(LLVM_LINK_COMPONENTS Support ) add_clang_executable(diagtool diagtool_main.cpp DiagTool.cpp DiagnosticNames.cpp FindDiagnosticID.cpp ListWarnings.cpp ShowEnabledWarnings.cpp TreeView.cpp ) target_link_libraries(diagtool PRIVATE clangBasic clangFrontend ) if(UNIX) set(CLANGXX_LINK_OR_C...
set(LLVM_LINK_COMPONENTS Support ) add_clang_executable(diagtool diagtool_main.cpp DiagTool.cpp DiagnosticNames.cpp FindDiagnosticID.cpp ListWarnings.cpp ShowEnabledWarnings.cpp TreeView.cpp ) target_link_libraries(diagtool PRIVATE clangBasic clangFrontend )
Remove unused code (made unused by r161073, and later more so by r248043).
Remove unused code (made unused by r161073, and later more so by r248043). git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@330601 91177308-0d34-0410-b5e6-96231b3b80d8
Text
apache-2.0
apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl...
text
## Code Before: set(LLVM_LINK_COMPONENTS Support ) add_clang_executable(diagtool diagtool_main.cpp DiagTool.cpp DiagnosticNames.cpp FindDiagnosticID.cpp ListWarnings.cpp ShowEnabledWarnings.cpp TreeView.cpp ) target_link_libraries(diagtool PRIVATE clangBasic clangFrontend ) if(UNIX) set(C...
01ca1469897b80418f6cfaf7bf2bfa74bb3152be
lib/toy_robot_simulator/pose.rb
lib/toy_robot_simulator/pose.rb
class Pose module Orientation EAST = :east NORTH = :north WEST = :west SOUTH = :south end def initialize(args) @x = args[:x] @y = args[:y] @orientation = args[:orientation] end def adjacent dup.send(:adjacent!) end def rotate!(degrees) step = (degrees % 90) + (degree...
class Pose module Orientation EAST = :east NORTH = :north WEST = :west SOUTH = :south end attr_accessor :x, :y, :orientation def initialize(args = {}) @x = args[:x] @y = args[:y] @orientation = args[:orientation] end def adjacent dup.send(:adjacent!) end def rotate!(d...
Fix Pose Class to get passing tests.
Fix Pose Class to get passing tests. Add public interface messages and allow initialization without arguments.
Ruby
unlicense
matiasanaya/toy-robot-simulator
ruby
## Code Before: class Pose module Orientation EAST = :east NORTH = :north WEST = :west SOUTH = :south end def initialize(args) @x = args[:x] @y = args[:y] @orientation = args[:orientation] end def adjacent dup.send(:adjacent!) end def rotate!(degrees) step = (degrees...
9ce6779752c53ff8ab351a4ac25d906f591df2c7
README.md
README.md
`urban_dictionary` is a Ruby gem to access word definitions and examples from [Urban Dictionary](http://www.urbandictionary.com/). ## Installation ## Run `gem install urban_dictionary`. ## Usage ## Get words using `UrbanDictionary.define` or `UrbanDictionary.random_word`. These methods return an instance of UrbanD...
`urban_dictionary` is a Ruby gem to access word definitions and examples from [Urban Dictionary](http://www.urbandictionary.com/). It also provides a command-line tool for getting definitions. ## Installation ## Run `gem install urban_dictionary`. ## Usage ## Get words using `UrbanDictionary.define` or `UrbanDicti...
Add docs for command line
Add docs for command line
Markdown
mit
ryangreenberg/urban_dictionary,ryangreenberg/urban_dictionary
markdown
## Code Before: `urban_dictionary` is a Ruby gem to access word definitions and examples from [Urban Dictionary](http://www.urbandictionary.com/). ## Installation ## Run `gem install urban_dictionary`. ## Usage ## Get words using `UrbanDictionary.define` or `UrbanDictionary.random_word`. These methods return an in...
2a083c5a035720f6d5834a7b42c312541cbb6653
app/views/categories/index.html.erb
app/views/categories/index.html.erb
<h1> All Categories </h1> <% @categories.each do |category| %> <li><%= link_to category.name, category_path(category.id)%></li> <%end%>
<h1> Select a Category for your Track </h1> <% @categories.each do |category| %> <li><%= link_to category.name, new_category_track_path(category.id)%></li> <%end%>
Change links to point new_category_track_path
Change links to point new_category_track_path
HTML+ERB
mit
nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon
html+erb
## Code Before: <h1> All Categories </h1> <% @categories.each do |category| %> <li><%= link_to category.name, category_path(category.id)%></li> <%end%> ## Instruction: Change links to point new_category_track_path ## Code After: <h1> Select a Category for your Track </h1> <% @categories.each do |category| %> ...
e44be1e98dc0655ceac1db552e3b196861245eb6
dotnet-tools.json
dotnet-tools.json
{ "version": 1, "isRoot": true, "tools": { "dotnet-format": { "version": "4.1.131201", "commands": [ "dotnet-format" ] }, "jetbrains.resharper.globaltools": { "version": "2020.3.2", "commands": [ "jb" ] } } }
{ "version": 1, "isRoot": true, "tools": { "dotnet-format": { "version": "4.1.131201", "commands": [ "dotnet-format" ] } } }
Uninstall huge JetBrains tool for faster CI builds.
Uninstall huge JetBrains tool for faster CI builds.
JSON
mit
Faithlife/Parsing,ejball/ArgsReading,ejball/XmlDocMarkdown,Faithlife/FaithlifeUtility
json
## Code Before: { "version": 1, "isRoot": true, "tools": { "dotnet-format": { "version": "4.1.131201", "commands": [ "dotnet-format" ] }, "jetbrains.resharper.globaltools": { "version": "2020.3.2", "commands": [ "jb" ] } } } ## Instruction: Uni...
1e6cac921e118a5f872fa9bf8b697bc321b6e3ed
public/stylesheets/maze.css
public/stylesheets/maze.css
table{ border-collapse: collapse; } td{ border: 1px solid grey; } table tr:nth-child(odd) { height: 5px; } table tr:nth-child(even) { height: 40px; } tr td:nth-child(odd) { width: 5px; } tr td:nth-child(even) { width: 40px; } .wall, .wallspot:hover{ background-color: black; } .tile{ background-color: li...
table{ border-collapse: collapse; } td{ border: 1px solid grey; } table tr:nth-child(odd) { height: 5px; } table tr:nth-child(even) { height: 40px; } tr td:nth-child(odd) { width: 5px; } tr td:nth-child(even) { width: 40px; } .wall{ background-color: black; } .wallspot:hover{ background-color: darkgrey; }...
Fix color of hovered wall
Fix color of hovered wall
CSS
mit
TechnoX/rcj-rescue-scoring,TechnoX/rcj-rescue-scoring
css
## Code Before: table{ border-collapse: collapse; } td{ border: 1px solid grey; } table tr:nth-child(odd) { height: 5px; } table tr:nth-child(even) { height: 40px; } tr td:nth-child(odd) { width: 5px; } tr td:nth-child(even) { width: 40px; } .wall, .wallspot:hover{ background-color: black; } .tile{ back...
3cf0803640e9dbb1d908771ac2e260e1549ecfe8
config/initializers/hosts_blacklist.rb
config/initializers/hosts_blacklist.rb
require 'url_normalizer' # Load blacklisted hosts from the YAML config file. # If the config file changes the server must be restarted to pick up changes. require 'addressable/uri' list = YAML.load_file 'config/host_blacklist.yml' # Store in the blacklist the host for each line, which is what we're interested in b...
require 'url_normalizer' # Load blacklisted hosts from the YAML config file. # If the config file changes the server must be restarted to pick up changes. require 'addressable/uri' list = YAML.load_file 'config/host_blacklist.yml' # Store in the blacklist the host for each line, which is what we're interested in b...
Fix crash on startup if hosts blacklist is empty
Fix crash on startup if hosts blacklist is empty
Ruby
mit
amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch
ruby
## Code Before: require 'url_normalizer' # Load blacklisted hosts from the YAML config file. # If the config file changes the server must be restarted to pick up changes. require 'addressable/uri' list = YAML.load_file 'config/host_blacklist.yml' # Store in the blacklist the host for each line, which is what we're...
652cf7755229da71bf92af9564b5e4e15df4dde8
templates/Entry/Form.html
templates/Entry/Form.html
<style> .entry { margin: 0 4em; padding: 4px 8px; } .entry-title { margin-bottom: 1em; } .entry-title input { font-size: 30px; } .status-bar { margin-bottom: 1em; } </style> <script src="<?=$home?>mod/stories/node_modules/jquery-sortable/source...
<style> .entry { margin: 0 4em; padding: 4px 8px; } .entry-title { margin-bottom: 1em; } .entry-title input { font-size: 30px; } .status-bar { margin-bottom: 1em; } </style> <script src="<?=$home?>mod/stories/node_modules/jquery-sortable/source...
Cut down declarations by just including entry object.
Cut down declarations by just including entry object.
HTML
mit
AppStateESS/stories,AppStateESS/stories,AppStateESS/stories,AppStateESS/stories
html
## Code Before: <style> .entry { margin: 0 4em; padding: 4px 8px; } .entry-title { margin-bottom: 1em; } .entry-title input { font-size: 30px; } .status-bar { margin-bottom: 1em; } </style> <script src="<?=$home?>mod/stories/node_modules/jquery...
e5b6619b7eacf0b341b84b76725da69106a1f420
public/js/js.thirdparty.bat
public/js/js.thirdparty.bat
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery.tablesor...
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery.tablesor...
Remove another jsBeizer reference as we weren't using it
Remove another jsBeizer reference as we weren't using it
Batchfile
mit
marekr/siggy,marekr/siggy,marekr/siggy,marekr/siggy
batchfile
## Code Before: "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar compiler.jar ^ --js=translate.js ^ --js=jquery/jquery-1.11.2.js ^ --js=jquery/jquery-ui.1.11.2.min.js ^ --js=jquery/jquery.qtip.js ^ --js=jquery/jquery.blockUI.js ^ --js=jquery/jquery.color.js ^ --js=jquery/jquery.autocomplete.js ^ --js=jquery/jquery....
64455430370e16470d09c87ab220989ec8804524
src/static/pycontw-2019/styles/_box.scss
src/static/pycontw-2019/styles/_box.scss
$box-content-padding-x: 32px; $box-content-padding-y: 16px; .box { $box-border: solid 1px $egyptian-blue; border: $box-border; border-radius: 5px; overflow: hidden; .box-title { line-height: 48px; margin: 0; background-color: $egyptian-blue; color: $white; font-size: 1.25rem; font-weight: 400; } ...
$box-content-padding-x: 32px; $box-content-padding-y: 16px; .box { $box-border: solid 1px $egyptian-blue; border: $box-border; border-radius: 5px; overflow: hidden; .box-title { margin: 0; padding: (2rem / 3) 1rem; background-color: $egyptian-blue; color: $white; line-height: 150%; font-size: 1.25re...
Tweak box title to better display multi lines
Tweak box title to better display multi lines
SCSS
mit
pycontw/pycontw2016,pycontw/pycontw2016,pycontw/pycontw2016,pycontw/pycontw2016
scss
## Code Before: $box-content-padding-x: 32px; $box-content-padding-y: 16px; .box { $box-border: solid 1px $egyptian-blue; border: $box-border; border-radius: 5px; overflow: hidden; .box-title { line-height: 48px; margin: 0; background-color: $egyptian-blue; color: $white; font-size: 1.25rem; font-we...
b2150ed8490837bf93845ab00aa03ac4c830c927
.travis.yml
.travis.yml
language: java jdk: - oraclejdk8 env: global: - SONATYPE_USERNAME=yourusername - secure: "your encrypted SONATYPE_PASSWORD=pass" cache: directories: - $HOME/.m2 after_success: - ./mvnw deploy --settings settings.xml -DskipTests=true -B
language: java jdk: - oraclejdk8 cache: directories: - $HOME/.m2 after_success: - ./mvnw deploy --settings settings.xml -DskipTests=true -B
Remove maven deployment overrides - rely on Travis ENV vars instead
Remove maven deployment overrides - rely on Travis ENV vars instead
YAML
apache-2.0
scheerer/feign-hystrix-oauth2-spring-boot-starter,nextgearcapital/feign-hystrix-oauth2-spring-boot-starter,nextgearcapital/feign-hystrix-oauth2-spring-boot-starter,scheerer/feign-hystrix-oauth2-spring-boot-starter
yaml
## Code Before: language: java jdk: - oraclejdk8 env: global: - SONATYPE_USERNAME=yourusername - secure: "your encrypted SONATYPE_PASSWORD=pass" cache: directories: - $HOME/.m2 after_success: - ./mvnw deploy --settings settings.xml -DskipTests=true -B ## Instruction: Remove maven deployment overr...
e9f6799c10266987e129f9775dea237f865cd421
accounts/templates/registration/login.html
accounts/templates/registration/login.html
{% extends "base.html" %} {% load render_field from widget_tweaks %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %} {{ form.non_field_errors }} {% for field in form %} <fieldset class="form-group"> {{ field.label_tag }} {{ field.errors }} {% render_field ...
{% extends "base.html" %} {% load render_field from widget_tweaks %} {% load i18n %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %} {{ form.non_field_errors }} {% for field in form %} <fieldset class="form-group"> {{ field.label_tag }} {{ field.errors }} ...
Add link to password reset
Add link to password reset
HTML
mit
trimailov/finance,trimailov/finance,trimailov/finance
html
## Code Before: {% extends "base.html" %} {% load render_field from widget_tweaks %} {% block content %} <form class="form-simple form-login" method="post"> {% csrf_token %} {{ form.non_field_errors }} {% for field in form %} <fieldset class="form-group"> {{ field.label_tag }} {{ field.errors }} ...
ceadcb80150278ae29fb60b339049f4c840c135d
astroquery/nist/tests/test_nist_remote.py
astroquery/nist/tests/test_nist_remote.py
from __future__ import print_function from astropy.tests.helper import remote_data from astropy.table import Table import astropy.units as u import requests import imp from ... import nist imp.reload(requests) @remote_data class TestNist: def test_query_async(self): response = nist.core.Nist.query_asy...
from __future__ import print_function import numpy as np from astropy.tests.helper import remote_data from astropy.table import Table import astropy.units as u from ... import nist @remote_data class TestNist: def test_query_async(self): response = nist.core.Nist.query_async(4000 * u.nm, 7000 * u.nm) ...
Add missing numpy import, and cleanup the rest
Add missing numpy import, and cleanup the rest
Python
bsd-3-clause
ceb8/astroquery,imbasimba/astroquery,ceb8/astroquery,imbasimba/astroquery
python
## Code Before: from __future__ import print_function from astropy.tests.helper import remote_data from astropy.table import Table import astropy.units as u import requests import imp from ... import nist imp.reload(requests) @remote_data class TestNist: def test_query_async(self): response = nist.cor...
e01b0c9129c05e366605639553201f0dc2af2756
django_fsm_log/apps.py
django_fsm_log/apps.py
from __future__ import unicode_literals from django.apps import AppConfig from django.conf import settings from django.utils.module_loading import import_string from django_fsm.signals import pre_transition, post_transition class DjangoFSMLogAppConfig(AppConfig): name = 'django_fsm_log' verbose_name = "Djang...
from __future__ import unicode_literals from django.apps import AppConfig from django.conf import settings from django.utils.module_loading import import_string from django_fsm.signals import pre_transition, post_transition class DjangoFSMLogAppConfig(AppConfig): name = 'django_fsm_log' verbose_name = "Djang...
Revert "Solve warning coming from django 4.0"
Revert "Solve warning coming from django 4.0"
Python
mit
gizmag/django-fsm-log,ticosax/django-fsm-log
python
## Code Before: from __future__ import unicode_literals from django.apps import AppConfig from django.conf import settings from django.utils.module_loading import import_string from django_fsm.signals import pre_transition, post_transition class DjangoFSMLogAppConfig(AppConfig): name = 'django_fsm_log' verbo...
38bc8c8599d4165485ada8ca0b55dafd547385c4
runserver.py
runserver.py
import sys from swift.common.utils import parse_options from swift.common.wsgi import run_wsgi if __name__ == '__main__': conf_file, options = parse_options() sys.exit(run_wsgi(conf_file, 'proxy-server', **options))
import sys from optparse import OptionParser from swift.common.utils import parse_options from swift.common.wsgi import run_wsgi def run_objgraph(types): import objgraph import os import random objgraph.show_most_common_types(limit=50, shortnames=False) for type_ in types: count = objgraph...
Allow to run objgraph before exiting
Allow to run objgraph before exiting Use "--objgraph" to show most common types. Add "--show-backrefs <some type>" do draw a graph of backreferences.
Python
apache-2.0
open-io/oio-swift,open-io/oio-swift
python
## Code Before: import sys from swift.common.utils import parse_options from swift.common.wsgi import run_wsgi if __name__ == '__main__': conf_file, options = parse_options() sys.exit(run_wsgi(conf_file, 'proxy-server', **options)) ## Instruction: Allow to run objgraph before exiting Use "--objgraph" to show...
fc91b5049ee605a9e311b394578b1d4f45e5836d
resources/views/components/navbar.blade.php
resources/views/components/navbar.blade.php
<nav class="navbar navbar-expand navbar-dark bg-dark"> <a class="navbar-brand" href="{{ route("home") }}">WDI Paste</a> <button class="navbar-toggler" aria-expanded="false" aria-controls="navbarCollapse" aria-label="Toggle navigation" type="button" data-toggle="collapse" data-target="#navbarCollapse"> <...
<nav class="navbar navbar-expand navbar-dark bg-dark"> <a class="navbar-brand" href="{{ route("home") }}">WDI Paste</a> <button class="navbar-toggler" aria-expanded="false" aria-controls="navbarCollapse" aria-label="Toggle navigation" type="button" data-toggle="collapse" data-target="#navbarCollapse"> <...
Add fancy button on navbar
Add fancy button on navbar
PHP
mit
WebDeveloperItaliani/paste,WebDeveloperItaliani/paste
php
## Code Before: <nav class="navbar navbar-expand navbar-dark bg-dark"> <a class="navbar-brand" href="{{ route("home") }}">WDI Paste</a> <button class="navbar-toggler" aria-expanded="false" aria-controls="navbarCollapse" aria-label="Toggle navigation" type="button" data-toggle="collapse" data-target="#navbarColl...
fb057f1f94237885bc027d0f209739cc384166b7
bin/sync-algolia.js
bin/sync-algolia.js
import algolia from 'algoliasearch'; import icons from '../dist/icons.json'; import tags from '../src/tags.json'; const ALGOLIA_APP_ID = '5EEOG744D0'; if ( process.env.TRAVIS_PULL_REQUEST === 'false' && process.env.TRAVIS_BRANCH === 'master' ) { syncAlgolia(); } else { console.log('Skipped Algolia sync.'); } ...
import algolia from 'algoliasearch'; import icons from '../dist/icons.json'; import tags from '../src/tags.json'; const ALGOLIA_APP_ID = '5EEOG744D0'; if ( process.env.TRAVIS_PULL_REQUEST === 'false' && process.env.TRAVIS_BRANCH === 'master' ) { syncAlgolia(); } else { console.log('Skipped Algolia sync.'); } ...
Initialize algolia settings in script
build: Initialize algolia settings in script
JavaScript
mit
colebemis/feather,colebemis/feather
javascript
## Code Before: import algolia from 'algoliasearch'; import icons from '../dist/icons.json'; import tags from '../src/tags.json'; const ALGOLIA_APP_ID = '5EEOG744D0'; if ( process.env.TRAVIS_PULL_REQUEST === 'false' && process.env.TRAVIS_BRANCH === 'master' ) { syncAlgolia(); } else { console.log('Skipped Alg...
5756c10a7ac709e50d9def571822a45e346f14db
AirPrint_Swift/ViewController.swift
AirPrint_Swift/ViewController.swift
import UIKit class ViewController: UIViewController { @IBAction func print(sender: AnyObject) { let urlPath = "https://cdn2.raywenderlich.com/wp-content/uploads/2014/06/RW-Swift-Cheatsheet-0_3.pdf" let _ = NSURL(string: urlPath).flatMap{ printUrl($0) } } func printUrl(url: NSURL) { if (UIPrintInt...
import UIKit class ViewController: UIViewController { @IBAction func print(sender: AnyObject) { let urlPath = "https://cdn2.raywenderlich.com/wp-content/uploads/2014/06/RW-Swift-Cheatsheet-0_3.pdf" let _ = NSURL(string: urlPath).flatMap{ printUrl($0) } } func printUrl(url: NSURL) { guard (UIPrint...
Use guard to see if we can print the url.
Use guard to see if we can print the url.
Swift
mit
RussVanBert/AirPrint_Swift
swift
## Code Before: import UIKit class ViewController: UIViewController { @IBAction func print(sender: AnyObject) { let urlPath = "https://cdn2.raywenderlich.com/wp-content/uploads/2014/06/RW-Swift-Cheatsheet-0_3.pdf" let _ = NSURL(string: urlPath).flatMap{ printUrl($0) } } func printUrl(url: NSURL) { ...
dc73f00874bcd2ba518d744e361e96e441569b98
src/pages/index.js
src/pages/index.js
/** * @jsx React.DOM */ /* Requiring dependencies for demo purposes, this should be done only when required */ var React = require('React'); var jquery = require('../vendor/jquery-2.1.0.js'); var UnderScore = require('underscore/underscore.js'); var Backbone = require('backbone/backbone.js'); var Reactbone = require...
/** * @jsx React.DOM */ /* Requiring dependencies for demo purposes, this should be done only when required */ var React = require('React'); var SiteBoilerPlate = require('../views/core/SiteBoilerPlate.js'); var Skeleton = require('../views/Skeleton/Skeleton.js'); var ProfileCards = require('../views/ProfileCards/Pr...
Add backbone and it's dependencies using componentDidMount
Add backbone and it's dependencies using componentDidMount
JavaScript
apache-2.0
shilpan/TestReactNodeApp
javascript
## Code Before: /** * @jsx React.DOM */ /* Requiring dependencies for demo purposes, this should be done only when required */ var React = require('React'); var jquery = require('../vendor/jquery-2.1.0.js'); var UnderScore = require('underscore/underscore.js'); var Backbone = require('backbone/backbone.js'); var Rea...
56e59219bb583570519e5336737a117cfb715371
.ci/jenkins/config/main.yaml
.ci/jenkins/config/main.yaml
ecosystem: main_project: optaplanner projects: - name: optaplanner regexs: - opta.* git: branches: - name: main seed: branch: main - name: 8.28.x seed: branch: seed-optaplanner-8.28.x main_branch: default: main seed: config_file: git: reposit...
ecosystem: main_project: optaplanner projects: - name: optaplanner regexs: - opta.* git: branches: - name: main seed: branch: main - name: 8.28.x seed: branch: seed-optaplanner-8.28.x - name: 8.29.x seed: branch: seed-optaplanner-8.29.x main_branch: default: mai...
Add release branch 8.29.x after cut-off
Add release branch 8.29.x after cut-off
YAML
apache-2.0
tkobayas/optaplanner,tkobayas/optaplanner,tkobayas/optaplanner,tkobayas/optaplanner
yaml
## Code Before: ecosystem: main_project: optaplanner projects: - name: optaplanner regexs: - opta.* git: branches: - name: main seed: branch: main - name: 8.28.x seed: branch: seed-optaplanner-8.28.x main_branch: default: main seed: config_file: gi...
770a53485e49f7b440c603659b69d38a4a301d54
lib/discordrb/version.rb
lib/discordrb/version.rb
module Discordrb VERSION = '1.5.4'.freeze end
module Discordrb # The current version of discordrb. VERSION = '1.5.4'.freeze end
Add a documentation comment to the VERSION
Add a documentation comment to the VERSION
Ruby
mit
meew0/discordrb,megumisonoda/discordrb,Roughsketch/discordrb,megumisonoda/discordrb,meew0/discordrb,VxJasonxV/discordrb,VxJasonxV/discordrb,sarsntony/discordrb,Roughsketch/discordrb,sarsntony/discordrb
ruby
## Code Before: module Discordrb VERSION = '1.5.4'.freeze end ## Instruction: Add a documentation comment to the VERSION ## Code After: module Discordrb # The current version of discordrb. VERSION = '1.5.4'.freeze end
9f0fc487cf7ee9d98ce73e26fd7c2afbb0a923ee
app/views/shared/_twitter_card.slim
app/views/shared/_twitter_card.slim
meta name='twitter:card' content='summary_large_image' meta name='twitter:site' content='@splitsio' meta name='twitter:domain' content=request.host_with_port - if @run.present? - if @run.game.to_s.present? meta name='twitter:title' content=@run.game - else meta name='twitter:title' content='(no title)' - ...
meta name='twitter:card' content='summary_large_image' meta name='twitter:site' content='@splitsio' meta name='twitter:domain' content=request.host_with_port - if @run.present? && !(controller_name == 'runs' && action_name == 'index') # runs#index (homepage) sets a @run when logged out for demo purposes - if @run.gam...
Fix Twitter card using demo run on homepage
Fix Twitter card using demo run on homepage
Slim
agpl-3.0
glacials/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io
slim
## Code Before: meta name='twitter:card' content='summary_large_image' meta name='twitter:site' content='@splitsio' meta name='twitter:domain' content=request.host_with_port - if @run.present? - if @run.game.to_s.present? meta name='twitter:title' content=@run.game - else meta name='twitter:title' content='...
30e62e26021c6f389422426f0416779fbc586da7
spec/mailers/previews/user_mailer_preview.rb
spec/mailers/previews/user_mailer_preview.rb
class UserMailerPreview < ActionMailer::Preview def agency_setup_reminder_preview UserMailer.agency_setup_reminder(PartnerAgency.last) end end
class UserMailerPreview < ActionMailer::Preview def agency_setup_reminder_preview UserMailer.agency_setup_reminder(PartnerAgency.last) end def user_trip_email UserMailer.user_trip_email(User.find(2), Trip.find(70)) end def ecolane_trip_email UserMailer.ecolane_trip_email('wjiang@camsys.com', B...
Add Email Preview for trip confirmation emails
Add Email Preview for trip confirmation emails
Ruby
mit
camsys/oneclick-core,camsys/oneclick-core,camsys/oneclick-core,camsys/oneclick-core
ruby
## Code Before: class UserMailerPreview < ActionMailer::Preview def agency_setup_reminder_preview UserMailer.agency_setup_reminder(PartnerAgency.last) end end ## Instruction: Add Email Preview for trip confirmation emails ## Code After: class UserMailerPreview < ActionMailer::Preview def agency_setup_r...
b6068440c1848a07da20b32372cb843f4860798c
test/metrics-rails_test.rb
test/metrics-rails_test.rb
require 'test_helper' class MetricsRailsTest < ActiveSupport::TestCase test 'is a module' do assert_kind_of Module, Metrics::Rails end test 'client is available' do assert_kind_of Librato::Metrics::Client, Metrics::Rails.client end test 'flush sends data' do delete_all_metrics Metric...
require 'test_helper' class MetricsRailsTest < ActiveSupport::TestCase test 'is a module' do assert_kind_of Module, Metrics::Rails end test 'client is available' do assert_kind_of Librato::Metrics::Client, Metrics::Rails.client end test '#increment exists' do assert Metrics::Rails.respon...
Add coverage for counters persisting between flushes
Add coverage for counters persisting between flushes
Ruby
bsd-3-clause
librato/librato-rails,librato/metrics-rails,librato/metrics-rails,librato/librato-rails,librato/librato-rails
ruby
## Code Before: require 'test_helper' class MetricsRailsTest < ActiveSupport::TestCase test 'is a module' do assert_kind_of Module, Metrics::Rails end test 'client is available' do assert_kind_of Librato::Metrics::Client, Metrics::Rails.client end test 'flush sends data' do delete_all_me...
d1aaef16366bb96b9ef66c6693b4ef9a520d276a
build.sh
build.sh
set -e unset RUBYOPT export BUNDLE_WITHOUT="test:development" version_number=${GO_PIPELINE_COUNTER-0} revision=`git rev-parse HEAD` build_date=`date +'%Y-%m-%d %H:%M %z'` cat > public/version <<EOT { "version":"$version_number", "buildDate":"$build_date", "gitRevision":"$revision" } EOT cp config/database{-c...
set -e unset RUBYOPT export BUNDLE_WITHOUT="test:development" version_number=${GO_PIPELINE_COUNTER-0} revision=`git rev-parse HEAD` build_date=`date +'%Y-%m-%d %H:%M %z'` cat > public/version <<EOT { "version":"$version_number", "buildDate":"$build_date", "gitRevision":"$revision" } EOT cp config/database{,-...
Build process restores original database.yml
Build process restores original database.yml
Shell
mit
moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms,moneyadviceservice/cms
shell
## Code Before: set -e unset RUBYOPT export BUNDLE_WITHOUT="test:development" version_number=${GO_PIPELINE_COUNTER-0} revision=`git rev-parse HEAD` build_date=`date +'%Y-%m-%d %H:%M %z'` cat > public/version <<EOT { "version":"$version_number", "buildDate":"$build_date", "gitRevision":"$revision" } EOT cp co...
6e64361bd90499e652f78b01e642e04fc2eaefe3
server/database.coffee
server/database.coffee
Bookshelf = require('bookshelf') config = require('../knex_config').database Bookshelf.PG = PG = Bookshelf.initialize(config) Team = PG.Model.extend tableName: 'teams' hasTimestamps: ['created_at', 'updated_at'] toJSON: -> { id: @id name: @get('name') generation: @get('generation') poke...
Bookshelf = require('bookshelf') {_} = require('underscore') config = require('../knex_config').database Bookshelf.PG = PG = Bookshelf.initialize(config) Team = PG.Model.extend tableName: 'teams' hasTimestamps: ['created_at', 'updated_at'] toJSON: -> contents = @get('contents') { id: @id na...
Support JSON datatype a bit better.
Sim: Support JSON datatype a bit better.
CoffeeScript
mit
sarenji/pokebattle-sim,sarenji/pokebattle-sim,sarenji/pokebattle-sim
coffeescript
## Code Before: Bookshelf = require('bookshelf') config = require('../knex_config').database Bookshelf.PG = PG = Bookshelf.initialize(config) Team = PG.Model.extend tableName: 'teams' hasTimestamps: ['created_at', 'updated_at'] toJSON: -> { id: @id name: @get('name') generation: @get('generat...
1e8e00f22af740792b1915c6723db451d21a6ed4
lib/Version.pod
lib/Version.pod
=begin pod class Version { } Version objects identify version of software components (and potentially other entities). Perl 6 uses them internally for versioning modules. A version consists of several parts, which are visually represented by joining them with a dot. A version part is usually an integer, a st...
=begin pod class Version { } Version objects identify version of software components (and potentially other entities). Perl 6 uses them internally for versioning modules. A version consists of several parts, which are visually represented by joining them with a dot. A version part is usually an integer, a st...
Add draft of method 'new'.
Add draft of method 'new'.
Pod
artistic-2.0
dha/doc,MasterDuke17/doc,dha/doc,stmuk/doc,antquinonez/doc,cygx/doc,LLFourn/doc,vadz/doc,perl6/doc,tbrowder/doc,tbrowder/doc,muraiki/doc,MadcapJake/doc,cygx/doc,MadcapJake/doc,MadcapJake/doc,dnmfarrell/doc,dnmfarrell/doc,dnmfarrell/doc,stmuk/doc,LLFourn/doc,vadz/doc,dha/doc,tbrowder/doc,dmaestro/doc,stmuk/doc,gfldex/do...
pod
## Code Before: =begin pod class Version { } Version objects identify version of software components (and potentially other entities). Perl 6 uses them internally for versioning modules. A version consists of several parts, which are visually represented by joining them with a dot. A version part is usually ...
46d9bced77903473b943d8cccc6a49a7df1f5434
python2.7/Dockerfile
python2.7/Dockerfile
FROM ubuntu MAINTAINER Sujay Mansingh RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y python2.7 python-virtualenv git RUN apt-get install -y vim
FROM ubuntu MAINTAINER Sujay Mansingh RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y build-essential RUN apt-get install -y python2.7 python-dev python-virtualenv git RUN apt-get install -y vim
Add packages required for installing various pip packages.
Add packages required for installing various pip packages.
unknown
bsd-3-clause
sujaymansingh/Dockerfiles,sujaymansingh/Dockerfiles
unknown
## Code Before: FROM ubuntu MAINTAINER Sujay Mansingh RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y python2.7 python-virtualenv git RUN apt-get install -y vim ## Instruction: Add packages required for in...
723578acbf6be863d9116d5fea86f82196d41d2b
.travis.yml
.travis.yml
language: swift matrix: include: - os: osx osx_image: xcode7.3 script: - xcrun swiftc --version - xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO - xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS-Tests -sdk iphonesimulator ONLY_ACTIVE...
language: swift matrix: include: - os: osx osx_image: xcode7.3 script: - xcrun swiftc --version - xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO - xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=...
Fix Travis CI setting to find proper test scheme.
Fix Travis CI setting to find proper test scheme.
YAML
mit
Eonil/JSON.Swift
yaml
## Code Before: language: swift matrix: include: - os: osx osx_image: xcode7.3 script: - xcrun swiftc --version - xctool -project EonilJSON.xcodeproj -scheme EonilJSON-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO - xctool test -project EonilJSON.xcodeproj -scheme EonilJSON-iOS-Tests -sdk iphonesimul...
b2657a564c4d514ebc3d7b73a9ae352989464fb6
docs/publish.sh
docs/publish.sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" mkdir -p tmp if [ ! -d "tmp/gh-pages" ]; then git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages fi cd tmp/gh-pages git pull find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \; cp -r $DIR/{b...
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" npm run build mkdir -p tmp if [ ! -d "tmp/gh-pages" ]; then git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages fi cd tmp/gh-pages git pull find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \;...
Make sure the code is compiled before pushing it to gh-pages
Make sure the code is compiled before pushing it to gh-pages
Shell
mit
bekerov/react-datepicker-roco,lmenus/react-datepicker,marketplacer/react-datepicker,flexport/react-datepicker,Hacker0x01/react-datepicker,BrunoAlcides/react-datepicker,marketplacer/react-datepicker,Hacker0x01/react-datepicker,bekerov/react-datepicker-roco,sss0791/react-datepicker,BrunoAlcides/react-datepicker,lmenus/re...
shell
## Code Before: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" mkdir -p tmp if [ ! -d "tmp/gh-pages" ]; then git clone git@github.com:Hacker0x01/react-datepicker.git --branch gh-pages --single-branch tmp/gh-pages fi cd tmp/gh-pages git pull find . -maxdepth 1 ! -name '.git' ! -name '.' -exec rm -r {} \...
3fb26e4828cbd40d87c1f976f5ec5bb019841123
examples/arcenbot.json
examples/arcenbot.json
{ "command_prefix": "please ", "description": "Arcensoth's personal assistant. beep", "managers": [ "135616361157099520" ], "staff_roles": [ "409808531865337866" ], "extensions": [ "cogbot.extensions.ping", "cogbot.extensions.say", "cogbot.extensions.react", "cogbot.extensions.vote...
{ "command_prefix": "please ", "description": "Arcensoth's personal assistant. beep", "managers": [ "135616361157099520" ], "staff_roles": [ "409808531865337866" ], "extensions": [ "cogbot.extensions.ping", "cogbot.extensions.say", "cogbot.extensions.react", "cogbot.extensions.vote...
Remove feed extension from ArcenBot
Remove feed extension from ArcenBot
JSON
mit
Arcensoth/cogbot
json
## Code Before: { "command_prefix": "please ", "description": "Arcensoth's personal assistant. beep", "managers": [ "135616361157099520" ], "staff_roles": [ "409808531865337866" ], "extensions": [ "cogbot.extensions.ping", "cogbot.extensions.say", "cogbot.extensions.react", "cogbot...
e62ec09f9134da3d0f5f8f07377b250786de1c22
test.sh
test.sh
COMMAND="node index.js" $COMMAND $COMMAND --version $COMMAND --help node -e "require('babel-core/register'); require('./test/server').default(4002);" & SERVER_PID=$! $COMMAND http://localhost:4002/no-error CODE=$? echo $CODE if [ $CODE -ne 0 ]; then exit 1; fi $COMMAND http://localhost:4002/error CODE=$? ech...
COMMAND="node index.js" $COMMAND $COMMAND --version $COMMAND --help node -e "require('babel-core/register'); require('./test/server').default(4002);" & SERVER_PID=$! echo "No JS error" $COMMAND http://localhost:4002/no-error CODE=$? echo $CODE if [ $CODE -ne 0 ]; then exit 1; fi echo "JS error" $COMMAND http...
Test wait parameter in output script
Test wait parameter in output script
Shell
isc
ThibWeb/is-js-error,ThibWeb/is-js-error,ThibWeb/is-js-error
shell
## Code Before: COMMAND="node index.js" $COMMAND $COMMAND --version $COMMAND --help node -e "require('babel-core/register'); require('./test/server').default(4002);" & SERVER_PID=$! $COMMAND http://localhost:4002/no-error CODE=$? echo $CODE if [ $CODE -ne 0 ]; then exit 1; fi $COMMAND http://localhost:4002/e...
b0f186923e838c20cc9f4fd082e4db1ca8e96a15
tests/threadsafe.rs
tests/threadsafe.rs
extern crate ratelimit_meter; use ratelimit_meter::{GCRA, Threadsafe, Limiter, Decider, Decision}; use std::thread; #[test] fn simple_operation() { let mut lim = Limiter::new() .capacity(5) .weight(1) .build::<Threadsafe<GCRA>>() .unwrap(); assert_eq!(Decision::Yes, lim.check()...
extern crate ratelimit_meter; use ratelimit_meter::{GCRA, Threadsafe, Limiter, Decider, Decision}; use std::thread; use std::time::{Instant, Duration}; #[test] fn simple_operation() { let mut lim = Limiter::new() .capacity(5) .weight(1) .build::<Threadsafe<GCRA>>() .unwrap(); a...
Test that the threaded rate-limiter is actually doing its work
Test that the threaded rate-limiter is actually doing its work (It does! \o/)
Rust
mit
antifuchs/ratelimit_meter
rust
## Code Before: extern crate ratelimit_meter; use ratelimit_meter::{GCRA, Threadsafe, Limiter, Decider, Decision}; use std::thread; #[test] fn simple_operation() { let mut lim = Limiter::new() .capacity(5) .weight(1) .build::<Threadsafe<GCRA>>() .unwrap(); assert_eq!(Decision::...
a73254afd186609d890a3868541c7f207a364f1c
docker-compose.yml
docker-compose.yml
wordpress: build: docker/wordpress links: - db:db volumes: - ./wordpress:/var/www/html - ./plugin:/data ports: - 81:80 db: image: mysql:5.5 environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: wordpress
wordpress: build: docker/wordpress links: - db:db volumes: - ./wordpress:/var/www/html - ./plugin:/data db: image: mysql:5.5 environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: wordpress
Remove ports from WordPress container
Remove ports from WordPress container It doesn't work well to expose the port if the uri inside does not match outside
YAML
mit
hirowatari/Docker-for-Wordpress-Plugin-Testing,hirowatari/Docker-for-Wordpress-Plugin-Testing
yaml
## Code Before: wordpress: build: docker/wordpress links: - db:db volumes: - ./wordpress:/var/www/html - ./plugin:/data ports: - 81:80 db: image: mysql:5.5 environment: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: wordpress ## Instruction: Remove ports from WordPress container It d...
675f5a269859f1e38419b23a82b732f22f858b74
setup.py
setup.py
from distutils.core import setup setup( name="sqlite_object", version="0.3.3", author_email="luke@hospadaruk.org", description="sqlite-backed collection objects", author="Luke Hospadaruk", url="https://github.com/hospadar/sqlite_object", packages=["sqlite_object"], )
from distutils.core import setup setup( name="sqlite_object", version="0.3.3", author_email="matt@genges.com", description="sqlite-backed collection objects", author="Matt Stancliff via originally Luke Hospadaruk", url="https://github.com/mattsta/sqlite_object", packages=["sqlite_object"], ...
Update package details to point to my repo
Update package details to point to my repo Is this right? I guess it's right since I'm taking over responsibility for this fork. Would be nice if the package ecosystem had a full "history of ownership" feature instead of just overwriting everything in your own name?
Python
mit
hospadar/sqlite_object
python
## Code Before: from distutils.core import setup setup( name="sqlite_object", version="0.3.3", author_email="luke@hospadaruk.org", description="sqlite-backed collection objects", author="Luke Hospadaruk", url="https://github.com/hospadar/sqlite_object", packages=["sqlite_object"], ) ## Ins...
ebc761f0d4c0e6262b2960a0d53aae75ceac9665
src/app/app.ts
src/app/app.ts
import {Component, View, provide} from 'angular2/core'; import {bootstrap} from 'angular2/platform/browser'; import {RouteConfig, ROUTER_PROVIDERS, ROUTER_DIRECTIVES, LocationStrategy, HashLocationStrategy} from 'angular2/router'; import {PersonsView} from './views/persons/personsViewComponent'; import {AboutView} fro...
import {Component, View, provide} from 'angular2/core'; import {bootstrap} from 'angular2/platform/browser'; import {RouteConfig, ROUTER_PROVIDERS, ROUTER_DIRECTIVES, LocationStrategy, HashLocationStrategy} from 'angular2/router'; import {PersonsView} from './views/persons/personsViewComponent'; import {AboutView} fro...
Duplicate boostrap to be able to toggle easy between HTML5 push and hash based location strategy
Duplicate boostrap to be able to toggle easy between HTML5 push and hash based location strategy
TypeScript
mit
lokanx/courses-angular2-persons,lokanx/courses-angular2-persons,lokanx/courses-angular2-persons
typescript
## Code Before: import {Component, View, provide} from 'angular2/core'; import {bootstrap} from 'angular2/platform/browser'; import {RouteConfig, ROUTER_PROVIDERS, ROUTER_DIRECTIVES, LocationStrategy, HashLocationStrategy} from 'angular2/router'; import {PersonsView} from './views/persons/personsViewComponent'; import...
313b955076ea4ef46c3c695ae7e6f0010582ba71
app/Criterion/UI/Controller/HookController.php
app/Criterion/UI/Controller/HookController.php
<?php namespace Criterion\UI\Controller; class HookController { public function github(\Silex\Application $app) { $payload = json_decode($app['request']->get('payload'), true); if ( ! isset($payload['repository']['url'])) { return $app->json(array( 'success' ...
<?php namespace Criterion\UI\Controller; class HookController { public function github(\Silex\Application $app) { $query_token = $app['request']->query->get('token'); $token = new \Criterion\Model\Token($query_token); if ( ! $token->exists) { return $app->abort(404...
Use token in github hook
Use token in github hook
PHP
mit
romhut/criterion,romhut/criterion,romhut/criterion,romhut/criterion
php
## Code Before: <?php namespace Criterion\UI\Controller; class HookController { public function github(\Silex\Application $app) { $payload = json_decode($app['request']->get('payload'), true); if ( ! isset($payload['repository']['url'])) { return $app->json(array( ...
de0ac21479dcc7d9da599c14b246171e3f402a48
README.md
README.md
photomosaic =========== [![Build Status](https://travis-ci.org/danielballan/photomosaic.svg)](https://travis-ci.org/danielballan/photomosaic) Assemble thumbnail-sized images from a large collection into a mosaic which, viewed at a distance, gives the impression of one large photo. Example ------- ```python import p...
photomosaic =========== [![Build Status](https://travis-ci.org/danielballan/photomosaic.svg)](https://travis-ci.org/danielballan/photomosaic) Assemble thumbnail-sized images from a large collection into a mosaic which, viewed at a distance, gives the impression of one large photo. Documentation: [http://danielballan...
Replace example in readme with link to docs.
DOC: Replace example in readme with link to docs.
Markdown
bsd-3-clause
danielballan/photomosaic
markdown
## Code Before: photomosaic =========== [![Build Status](https://travis-ci.org/danielballan/photomosaic.svg)](https://travis-ci.org/danielballan/photomosaic) Assemble thumbnail-sized images from a large collection into a mosaic which, viewed at a distance, gives the impression of one large photo. Example ------- ``...
651fd66f865d4a091a507ef935cf204522ff687e
src/background/contexts/speeddial/SpeeddialContext.js
src/background/contexts/speeddial/SpeeddialContext.js
var SpeeddialContext = function() { this.properties = {}; global.opr.speeddial.get(function(speeddialProperties) { this.properties.url = speeddialProperties.url; this.properties.title = speeddialProperties.title; // Set WinTabs feature to LOADED deferredComponentsLoadStatus['SPEEDDIAL_LO...
var SpeeddialContext = function() { this.properties = {}; global.opr.speeddial.get(function(speeddialProperties) { this.properties.url = speeddialProperties.url; this.properties.title = speeddialProperties.title; // Set WinTabs feature to LOADED deferredComponentsLoadStatus['SPEEDDIAL_LO...
Update Speed Dial API implementation to set attributes independent of Chromium call to update attributes.
Update Speed Dial API implementation to set attributes independent of Chromium call to update attributes.
JavaScript
mit
operasoftware/operaextensions.js,operasoftware/operaextensions.js,operasoftware/operaextensions.js
javascript
## Code Before: var SpeeddialContext = function() { this.properties = {}; global.opr.speeddial.get(function(speeddialProperties) { this.properties.url = speeddialProperties.url; this.properties.title = speeddialProperties.title; // Set WinTabs feature to LOADED deferredComponentsLoadStat...
317a34d603af75c96e2ed3fe972cb93824b840d0
cookbooks/fish/files/.config/fish/conf.d/basic.fish
cookbooks/fish/files/.config/fish/conf.d/basic.fish
export EDITOR="nvim" export XDG_CONFIG_HOME="$HOME/.config" export PAGER="less" export LESS="-g -i -M -R -S -W -z-4 -x4" export PATH="$HOME/.bin:$PATH" export PATH="$PATH:/usr/local/sbin" ## Set Locale export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LANG="en_US.UTF-8"
export EDITOR="nvim" export XDG_CONFIG_HOME="$HOME/.config" export PAGER="less" export LESS="-g -i -M -R -S -W -z-4 -x4" export PATH="$HOME/.bin:$PATH" ## Set Locale export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LANG="en_US.UTF-8"
Revert "Add /usr/local/sbin in $PATH"
Revert "Add /usr/local/sbin in $PATH" This reverts commit fd131ca67fab8608af69a652b06989c6dbfbd10d.
fish
mit
tsub/dotfiles,tsub/dotfiles,tsub/dotfiles,tsub/dotfiles,tsub/dotfiles
fish
## Code Before: export EDITOR="nvim" export XDG_CONFIG_HOME="$HOME/.config" export PAGER="less" export LESS="-g -i -M -R -S -W -z-4 -x4" export PATH="$HOME/.bin:$PATH" export PATH="$PATH:/usr/local/sbin" ## Set Locale export LC_ALL="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LANG="en_US.UTF-8" ## Instruction: ...
410ff51047f076982f54b3b580a45ca190a6befd
contracts/Adjudicator.sol
contracts/Adjudicator.sol
contract Adjudicator { bool public frozen = false; uint nonce = 0; uint lastTimestamp = 0; address owner; uint timeout; bytes32[] state; modifier onlyOwner { if (msg.sender == owner) { _ } else { throw; } } modifier notFrozen { if (frozen) { throw; } else { _ } } function Adjudica...
contract Adjudicator { bool public frozen = false; uint nonce = 0; uint lastTimestamp = 0; address owner; uint timeout; bytes32 public stateHash; modifier onlyOwner { if (msg.sender == owner) { _ } else { throw; } } modifier notFrozen { if (frozen) { throw; } else { _ } } function...
Change to support hash of state
Change to support hash of state
Solidity
mit
ledgerlabs/toy-state-channels,ledgerlabs/toy-state-channels
solidity
## Code Before: contract Adjudicator { bool public frozen = false; uint nonce = 0; uint lastTimestamp = 0; address owner; uint timeout; bytes32[] state; modifier onlyOwner { if (msg.sender == owner) { _ } else { throw; } } modifier notFrozen { if (frozen) { throw; } else { _ } } f...
dfc3c21f1c7864ee78182bec0800fd957599d355
marco/portal/base/templates/portal/components/media_item.html
marco/portal/base/templates/portal/components/media_item.html
{% load wagtailcore_tags %} <div class="media-item media"> {% if item.media_position == 'left' %} {% if item.media_image %} <div class="media-left thumbnail"> {% include "portal/components/media.html" %} </div> {% endif %} {% if item.media_embed_url %...
{% load wagtailcore_tags %} <div class="media-item media"> {% if item.media_position == 'left' %} {% if item.media_image or item.media_embed_url %} <div class="media-left thumbnail"> {% include "portal/components/media.html" %} </div> {% endif %} {% endif %} <div...
Fix up video embeds even better.
POR-401: Fix up video embeds even better.
HTML
isc
Ecotrust/marineplanner-core,MidAtlanticPortal/marco-portal2,MidAtlanticPortal/marco-portal2,MidAtlanticPortal/marco-portal2,Ecotrust/marineplanner-core,Ecotrust/marineplanner-core,Ecotrust/marineplanner-core,Ecotrust/marineplanner-core,MidAtlanticPortal/marco-portal2
html
## Code Before: {% load wagtailcore_tags %} <div class="media-item media"> {% if item.media_position == 'left' %} {% if item.media_image %} <div class="media-left thumbnail"> {% include "portal/components/media.html" %} </div> {% endif %} {% if item.m...
899a528f8a3cf9495cd1111793c2c0a4f0b07504
src/components/item_card/SkillTag.vue
src/components/item_card/SkillTag.vue
<template> </template> <script> export default { name: "skill-tag" } </script> <style scoped> </style>
<template> <span class="tag is-info"> <span class="icon"> <farming-icon v-if="skill === 'farming'"/> <mining-icon v-if="skill === 'mining'"/> <foraging-icon v-if="skill === 'foraging'"/> <fishing-icon v-if="skill === 'fishing'"/> <combat-icon v-if="skill === 'combat'"/> </span> ...
Add skill icons in tag.
Add skill icons in tag.
Vue
mit
kihashi/stardew_community_checklist,kihashi/stardew_community_checklist
vue
## Code Before: <template> </template> <script> export default { name: "skill-tag" } </script> <style scoped> </style> ## Instruction: Add skill icons in tag. ## Code After: <template> <span class="tag is-info"> <span class="icon"> <farming-icon v-if="skill === 'farming'"/> <mini...
f998f5fe7aedb8e33a81727c8371b690a698c73b
src/browser.js
src/browser.js
/* * * This is used to build the bundle with browserify. * * The bundle is used by people who doesn't use browserify. * Those who use browserify will install with npm and require the module, * the package.json file points to index.js. */ import Auth0Lock from './classic'; import Auth0LockPasswordless from './pa...
/* * * This is used to build the bundle with browserify. * * The bundle is used by people who doesn't use browserify. * Those who use browserify will install with npm and require the module, * the package.json file points to index.js. */ import Auth0Lock from './classic'; // import Auth0LockPasswordless from '....
Exclude passwordless stuff from build
Exclude passwordless stuff from build
JavaScript
mit
mike-casas/lock,mike-casas/lock,mike-casas/lock
javascript
## Code Before: /* * * This is used to build the bundle with browserify. * * The bundle is used by people who doesn't use browserify. * Those who use browserify will install with npm and require the module, * the package.json file points to index.js. */ import Auth0Lock from './classic'; import Auth0LockPasswor...
e5a3a72f3418dda2ba1bb574437f18387935aec8
README.md
README.md
U-Prove ======= My implementation of Microsoft U-Prove for the Identity and Privacy couse
U-Prove ======= My implementation of Microsoft U-Prove for the Identity and Privacy course. NB! Due to time constrains I did not finish the implementation fully, thus the code here cannot be used as a reference implementation.
Update readme with a warning of half baked implementation
Update readme with a warning of half baked implementation
Markdown
mit
tbrixen/u-prove
markdown
## Code Before: U-Prove ======= My implementation of Microsoft U-Prove for the Identity and Privacy couse ## Instruction: Update readme with a warning of half baked implementation ## Code After: U-Prove ======= My implementation of Microsoft U-Prove for the Identity and Privacy course. NB! Due to time constrains I...
938702e3eba45634c21cac145aa37144b3a94867
src/resources/views/administrator/welcome.blade.php
src/resources/views/administrator/welcome.blade.php
@extends('admin::layouts.master') @section('page-title') @stop @section('content') @include('administrator.dashboard.stats') <div class="row"> <div class="col-md-6"> @include('administrator.dashboard.latest') </div> <div class="col-md-6"> @include('administra...
@extends('admin::layouts.master') @section('page-title') @stop @section('content') @include('administrator.dashboard.stats') <div class="row"> <div class="col-md-6"> @include('administrator.dashboard.latest') @include('administrator.dashboard.config') </div> ...
Include config on latest wrapper.
Include config on latest wrapper.
PHP
mit
yajra/cms-core,yajra/cms-core
php
## Code Before: @extends('admin::layouts.master') @section('page-title') @stop @section('content') @include('administrator.dashboard.stats') <div class="row"> <div class="col-md-6"> @include('administrator.dashboard.latest') </div> <div class="col-md-6"> @inc...
4a6e1615894f998d8e286e26f8fd27371d0a103a
app/styles/components/user/skills-list.scss
app/styles/components/user/skills-list.scss
.user__skills-list { ul { align-items: flex-start; display: flex; margin-top: 10px; li { background: #E8EBED; border-radius: 2px; color: #333; font-weight: 600; margin-right: 5px; padding: 4px 7px; } } }
.user__skills-list { ul { margin-top: 10px; li { background: #E8EBED; border-radius: 2px; color: #333; display: inline-block; font-weight: 600; margin: 0 3px 5px 0; padding: 4px 7px; } } }
Fix user skills list display
Fix user skills list display
SCSS
mit
jderr-mx/code-corps-ember,code-corps/code-corps-ember,jderr-mx/code-corps-ember,code-corps/code-corps-ember
scss
## Code Before: .user__skills-list { ul { align-items: flex-start; display: flex; margin-top: 10px; li { background: #E8EBED; border-radius: 2px; color: #333; font-weight: 600; margin-right: 5px; padding: 4px 7px; } } } ## Instruction: Fix user skills list d...
c8a46f504f90eb1f049025f531d046fa2631594d
vm/null.go
vm/null.go
package vm var ( nullClass *RNull // NULL represents Goby's null objects. NULL *NullObject ) // RNull is the built in class of Goby's null objects. type RNull struct { *BaseClass } // NullObject represnts the null value in Goby. type NullObject struct { Class *RNull } // toString returns the name of NullObject...
package vm var ( nullClass *RNull // NULL represents Goby's null objects. NULL *NullObject ) // RNull is the built in class of Goby's null objects. type RNull struct { *BaseClass } // NullObject (`nil`) represents the null value in Goby. // `nil` is convert into `null` when exported to JSON format. // Cannot per...
Add API doc to NullObject
Add API doc to NullObject
Go
mit
Maxwell-Alexius/goby,hachi8833/goby,Maxwell-Alexius/goby,Maxwell-Alexius/goby,goby-lang/goby,goby-lang/goby,goby-lang/goby,st0012/Rooby,hachi8833/goby,st0012/Rooby,hachi8833/goby
go
## Code Before: package vm var ( nullClass *RNull // NULL represents Goby's null objects. NULL *NullObject ) // RNull is the built in class of Goby's null objects. type RNull struct { *BaseClass } // NullObject represnts the null value in Goby. type NullObject struct { Class *RNull } // toString returns the na...
9b453d65f92670a9016441e48e560e6c978d55f1
spec/connection_spec.rb
spec/connection_spec.rb
require 'oculus' describe Oculus::Connection do describe "non-nonexistent adapter" do it "raises an adapter not found error" do lambda { Oculus::Connection.connect adapter: 'nonexistent-adapter' }.should raise_error Oculus::Connection::AdapterNotFound, "nonexistent-adapter is not currently im...
require 'oculus' describe Oculus::Connection do describe "non-nonexistent adapter" do it "raises an adapter not found error" do lambda { Oculus::Connection.connect adapter: 'nonexistent-adapter' }.should raise_error Oculus::Connection::AdapterNotFound, "nonexistent-adapter is not currently im...
Clean up Postgres bits of connection spec
Clean up Postgres bits of connection spec
Ruby
mit
paulrosania/oculus,paulrosania/oculus
ruby
## Code Before: require 'oculus' describe Oculus::Connection do describe "non-nonexistent adapter" do it "raises an adapter not found error" do lambda { Oculus::Connection.connect adapter: 'nonexistent-adapter' }.should raise_error Oculus::Connection::AdapterNotFound, "nonexistent-adapter is ...
d647fa03f16f315d9a2b0231fd22ddbb1ec507f1
spec/features/override_sendgrid_spec.rb
spec/features/override_sendgrid_spec.rb
require 'poltergeist_helper' RSpec.feature "overriding Sendgrid" do include ActiveJobHelper include FeaturesHelper before do ActionMailer::Base.deliveries.clear end scenario 'overriding spam report' do allow(SendgridHelper).to receive(:spam_reported?).and_return(true) visit '/prisoner-details'...
require 'poltergeist_helper' RSpec.feature "overriding Sendgrid" do include ActiveJobHelper include FeaturesHelper before do ActionMailer::Base.deliveries.clear end scenario 'overriding spam report' do allow(SendgridHelper).to receive(:spam_reported?).and_return(true) visit '/prisoner-details'...
Add end-to-end bounce override spec
Add end-to-end bounce override spec
Ruby
mit
ministryofjustice/prison-visits,ministryofjustice/prison-visits,ministryofjustice/prison-visits
ruby
## Code Before: require 'poltergeist_helper' RSpec.feature "overriding Sendgrid" do include ActiveJobHelper include FeaturesHelper before do ActionMailer::Base.deliveries.clear end scenario 'overriding spam report' do allow(SendgridHelper).to receive(:spam_reported?).and_return(true) visit '/p...
fe0eee2d9d3a6b807153a26f9634df58e571cb23
README.md
README.md
Just Another Movies List App. <table> <tbody> <tr> <th>App Version</th> <td>v1.0.0</td> </tr> <tr> <th>Meteor Version</th> <td>v1.4.4.1</td> </tr> </tbody> </table> ## ### Up and running steps: 1. install meteorjs from [here](https://www.meteor.com/install) 2. execute thes...
Just Another Movies List App. <table> <tbody> <tr> <th>App Version</th> <td>v1.0.0</td> </tr> <tr> <th>Meteor Chef Base Version</th> <td>v4.15.0</td> </tr> <tr> <th>Meteor Version</th> <td>v1.4.4.1</td> </tr> </tbody> </table> ## ### Up and running step...
Add meteor chef base version info
Add meteor chef base version info
Markdown
mit
zarazi/movies-listie,zarazi/movies-listie
markdown
## Code Before: Just Another Movies List App. <table> <tbody> <tr> <th>App Version</th> <td>v1.0.0</td> </tr> <tr> <th>Meteor Version</th> <td>v1.4.4.1</td> </tr> </tbody> </table> ## ### Up and running steps: 1. install meteorjs from [here](https://www.meteor.com/install)...
d78222041f331810690b169ff50b9ae60a307b1d
plugin/pivo.vim
plugin/pivo.vim
" BEGIN if exists("g:loaded_VimPivo") || &cp finish endif let g:loaded_VimPivo = 1 let s:keepcpo = &cpo set cpo&vim " END let &cpo= s:keepcpo unlet s:keepcpo
" BEGIN if exists("g:loaded_pivo") || &cp finish endif let g:loaded_pivo = 1 let s:keepcpo = &cpo set cpo&vim let PivoBufferName = "__Pivotal__" function! s:PivoBufferOpen() " Check whether the scratch buffer is already created let scr_bufnum = bufnr(g:PivoBufferName) if scr_bufnum == -1 " o...
Add :Pivo command which opens Pivotal buffer
Add :Pivo command which opens Pivotal buffer
VimL
mit
netguru-hackathon/vim-pivo,netguru-hackathon/vim-pivo
viml
## Code Before: " BEGIN if exists("g:loaded_VimPivo") || &cp finish endif let g:loaded_VimPivo = 1 let s:keepcpo = &cpo set cpo&vim " END let &cpo= s:keepcpo unlet s:keepcpo ## Instruction: Add :Pivo command which opens Pivotal buffer ## Code After: " BEGIN if exists("g:loaded_pivo") || &cp finish endif l...
2810439a6393e049f3417295e9b29598cded277b
TLRadioButton.podspec
TLRadioButton.podspec
Pod::Spec.new do |s| s.name = 'TLRadioButton' s.version = '0.1.0' s.summary = 'Animated RadioButton for iOS.' s.description = <<-DESC ![Sample](https://github.com/ftp27/TLRadioButton/blob/master/TLRadioButton.gif) Radio button for iOS. ##Usage * _isChecked_ - button sta...
Pod::Spec.new do |s| s.name = 'TLRadioButton' s.version = '0.1.1' s.summary = 'Animated RadioButton for iOS.' s.description = <<-DESC ![Sample](https://github.com/ftp27/TLRadioButton/blob/master/TLRadioButton.gif) Radio button for iOS. ##Usage * _isChecked_ - button sta...
Add screenshots to pod configure
Add screenshots to pod configure
Ruby
mit
ftp27/TLRadioButton
ruby
## Code Before: Pod::Spec.new do |s| s.name = 'TLRadioButton' s.version = '0.1.0' s.summary = 'Animated RadioButton for iOS.' s.description = <<-DESC ![Sample](https://github.com/ftp27/TLRadioButton/blob/master/TLRadioButton.gif) Radio button for iOS. ##Usage * _isCheck...
33c07430e1871b72f0c369febb804f244cc17003
core/bourbon/library/_padding.scss
core/bourbon/library/_padding.scss
@charset "UTF-8"; /// Provides a quick method for targeting `padding` on specific sides of a /// box. Use a `null` value to “skip” a side. /// /// @argument {arglist} $values /// List of padding values, defined as CSS shorthand. /// /// @example scss /// .element { /// @include padding(12vh null 10px 5%); /// ...
@charset "UTF-8"; /// Provides a quick method for targeting `padding` on specific sides of a /// box. Use a `null` value to “skip” a side. /// /// @argument {arglist} $values /// List of padding values, defined as CSS shorthand. /// /// @example scss /// .element-one { /// @include padding(null 1rem); /// } ...
Add more detail to the padding mixin documentation example
Add more detail to the padding mixin documentation example Show use with only two values in the arglist
SCSS
mit
Jazz-Man/bourbon,thoughtbot/bourbon,thoughtbot/bourbon,Jazz-Man/bourbon
scss
## Code Before: @charset "UTF-8"; /// Provides a quick method for targeting `padding` on specific sides of a /// box. Use a `null` value to “skip” a side. /// /// @argument {arglist} $values /// List of padding values, defined as CSS shorthand. /// /// @example scss /// .element { /// @include padding(12vh nul...
acd034cfbaf7487ed75d22e22a52d65f6287e6ff
run-reliability-test.bash
run-reliability-test.bash
set -eu : ${SCRIPTS=$(readlink -f $(dirname $0))} new_juju=$(find $new_juju_dir -name juju) old_stable_juju=$(find $old_stable_juju_dir -name juju) export JUJU_HOME=$HOME/cloud-city build_id=${JOB_NAME}-${BUILD_NUMBER} s3cfg=$JUJU_HOME/juju-qa.s3cfg s3base=s3://juju-qa-data/industrial-test/${build_id} if [ "$new_agent...
set -eu : ${SCRIPTS=$(readlink -f $(dirname $0))} new_juju=$(find $new_juju_dir -name juju) old_stable_juju=$(find $old_stable_juju_dir -name juju) export JUJU_HOME=$HOME/cloud-city build_id=${JOB_NAME}-${BUILD_NUMBER} s3cfg=$JUJU_HOME/juju-qa.s3cfg s3base=s3://juju-qa-data/industrial-test/${build_id} if [ "$new_agent...
Delete all files in before running industrial-test.
Delete all files in before running industrial-test.
Shell
agpl-3.0
mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju,mjs/juju
shell
## Code Before: set -eu : ${SCRIPTS=$(readlink -f $(dirname $0))} new_juju=$(find $new_juju_dir -name juju) old_stable_juju=$(find $old_stable_juju_dir -name juju) export JUJU_HOME=$HOME/cloud-city build_id=${JOB_NAME}-${BUILD_NUMBER} s3cfg=$JUJU_HOME/juju-qa.s3cfg s3base=s3://juju-qa-data/industrial-test/${build_id} ...