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
35f13688de05f4d1bbed9881594320e902320049
test/istanbul-reporter.js
test/istanbul-reporter.js
const istanbulAPI = require('istanbul-api'); const libCoverage = require('istanbul-lib-coverage'); function Istanbul(runner) { runner.on('end', () => { const mainReporter = istanbulAPI.createReporter(); const coverageMap = libCoverage.createCoverageMap(); coverageMap.merge(global.__coverage__ || {}); ...
const istanbulAPI = require('istanbul-api'); const libCoverage = require('istanbul-lib-coverage'); const Spec = require('mocha/lib/reporters/spec'); module.exports = class Istanbul extends Spec { constructor(runner) { super(runner); runner.on('end', () => { const mainReporter = istanbulAPI.createRepor...
Update style of coverage reporter to be more ES6 like
Update style of coverage reporter to be more ES6 like Extend the coverage reporter from the mocha spec reporter
JavaScript
mit
petuhovskiy/Google-Play-Music-Desktop-Player-UNOFFICIAL-,MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-,MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-,petuhovskiy/Google-Play-Music-Desktop-Player-UNOFFICIAL-,petuhovskiy/Google-Play-Music-Desktop-Player-UNOFFICIAL-,MarshallOfSound/Google-Play...
javascript
## Code Before: const istanbulAPI = require('istanbul-api'); const libCoverage = require('istanbul-lib-coverage'); function Istanbul(runner) { runner.on('end', () => { const mainReporter = istanbulAPI.createReporter(); const coverageMap = libCoverage.createCoverageMap(); coverageMap.merge(global.__cover...
b053c53ed8fa588ae3cf82b387286e6cfa52db80
sample/trace-cmd-capture.sh
sample/trace-cmd-capture.sh
TRACE_ENABLED=0 if [ -r /sys/kernel/tracing/tracing_on ]; then read -N 1 TRACE_ENABLED < /sys/kernel/tracing/tracing_on fi if [ ${TRACE_ENABLED} -eq 0 ]; then echo -e "ERROR: Tracing is disabled\n" ./trace-cmd-status.sh exit -1 fi DATE=$(date +%m-%d-%Y_%H-%M-%S) # Take a snapshot of the trace buffe...
TRACE_ENABLED=0 if [ -r /sys/kernel/tracing/tracing_on ]; then read -N 1 TRACE_ENABLED < /sys/kernel/tracing/tracing_on fi if [ ${TRACE_ENABLED} -eq 0 ]; then echo -e "ERROR: Tracing is disabled\n" ./trace-cmd-status.sh exit -1 fi DATE=$(date +%m-%d-%Y_%H-%M-%S) # Stop tracer from recording more da...
Switch to using trace-cmd stop/extract/restart (hat tip Steve Rostedt)
Switch to using trace-cmd stop/extract/restart (hat tip Steve Rostedt)
Shell
mit
mikesart/gpuvis,mikesart/gpuvis,mikesart/gpuvis
shell
## Code Before: TRACE_ENABLED=0 if [ -r /sys/kernel/tracing/tracing_on ]; then read -N 1 TRACE_ENABLED < /sys/kernel/tracing/tracing_on fi if [ ${TRACE_ENABLED} -eq 0 ]; then echo -e "ERROR: Tracing is disabled\n" ./trace-cmd-status.sh exit -1 fi DATE=$(date +%m-%d-%Y_%H-%M-%S) # Take a snapshot of...
ff39682c2f01f74d01e541e1b1b9f4c1e2c7e64a
NOTICE.txt
NOTICE.txt
-------------------------------------------------------------------------------- NOTICES FOR BARCODE4J -------------------------------------------------------------------------------- Barcode4J Copyright 2002-2010 Jeremias Märki Copyright 2005-2006 Dietmar Bürkle Portions of this software were contributed under secti...
-------------------------------------------------------------------------------- NOTICES FOR SWAP -------------------------------------------------------------------------------- Copyright 2016 Antoine Degrendel -------------------------------------------------------------------------------- NOTICES FOR BARCODE4J --...
Add Antoine Degrendel in the Notice
Add Antoine Degrendel in the Notice
Text
apache-2.0
AntDe/SWAP
text
## Code Before: -------------------------------------------------------------------------------- NOTICES FOR BARCODE4J -------------------------------------------------------------------------------- Barcode4J Copyright 2002-2010 Jeremias Märki Copyright 2005-2006 Dietmar Bürkle Portions of this software were contrib...
5f60d03a72d83bea9dd4416241ac21def8e29c4d
requirements.txt
requirements.txt
ddt mock unicodecsv==0.9.4 -e git+https://github.com/edx/xblock-utils.git@581ed636c862b286002bb9a3724cc883570eb54c#egg=xblock-utils -e .
ddt mock unicodecsv==0.9.4 -e git+https://github.com/edx/xblock-utils.git@b2a17fa3793e98e67bdb86273317c41b6297dcbb#egg=xblock-utils -e .
Bump xblock-utils to fix jump_to_id url rewriting issue
Bump xblock-utils to fix jump_to_id url rewriting issue
Text
agpl-3.0
proversity-org/problem-builder,proversity-org/problem-builder,proversity-org/problem-builder
text
## Code Before: ddt mock unicodecsv==0.9.4 -e git+https://github.com/edx/xblock-utils.git@581ed636c862b286002bb9a3724cc883570eb54c#egg=xblock-utils -e . ## Instruction: Bump xblock-utils to fix jump_to_id url rewriting issue ## Code After: ddt mock unicodecsv==0.9.4 -e git+https://github.com/edx/xblock-utils.git@b2a1...
0f932f7606ec4d6c42d86e546f0ad4541b0b217e
README.md
README.md
This is a Chrome extension. It allows you to open tabs in incognito mode using the key-combination `Meta` + `Alt` with a `Click` on links.
This is a Chrome extension. It allows you to open tabs in incognito mode using the key-combination `Meta` + `Alt` with a `Click` on links. Available as a [Chrome extension in the Chrome web-store](https://chrome.google.com/webstore/detail/key-ncognito/lilomadmkegmkmkjmdbbgalimcmfogfk).
Add link to Chrome extension.
Add link to Chrome extension.
Markdown
mit
musically-ut/key-ncognito,musically-ut/key-ncognito
markdown
## Code Before: This is a Chrome extension. It allows you to open tabs in incognito mode using the key-combination `Meta` + `Alt` with a `Click` on links. ## Instruction: Add link to Chrome extension. ## Code After: This is a Chrome extension. It allows you to open tabs in incognito mode using the key-combination `M...
0f9903712ac56a4d31ec7b91326326d9b1122fa8
tests/testapp/CMakeLists.txt
tests/testapp/CMakeLists.txt
ADD_EXECUTABLE(memcached_testapp bucket_tests.cc testapp.cc testapp.h testapp_subdoc.cc testapp_subdoc_perf.cc ${Memcached_SOURCE_DIR}/programs/utilities.c) TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform gtest gtest_main ...
ADD_EXECUTABLE(memcached_testapp bucket_tests.cc testapp.cc testapp.h testapp_subdoc.cc testapp_subdoc_perf.cc ${Memcached_SOURCE_DIR}/programs/utilities.c) TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform gtest gtest_main ...
Use an explicit name for perf test XML file
testapp: Use an explicit name for perf test XML file Change-Id: If13eb9966fa89a63f3833f136ce960bb6ab32208 Reviewed-on: http://review.couchbase.org/53974 Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com> Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Text
bsd-3-clause
daverigby/kv_engine,couchbase/memcached,owendCB/memcached,daverigby/kv_engine,daverigby/memcached,owendCB/memcached,couchbase/memcached,daverigby/memcached,owendCB/memcached,couchbase/memcached,daverigby/kv_engine,couchbase/memcached,daverigby/memcached,daverigby/kv_engine,owendCB/memcached,daverigby/memcached
text
## Code Before: ADD_EXECUTABLE(memcached_testapp bucket_tests.cc testapp.cc testapp.h testapp_subdoc.cc testapp_subdoc_perf.cc ${Memcached_SOURCE_DIR}/programs/utilities.c) TARGET_LINK_LIBRARIES(memcached_testapp mcd_util cbsasl cJSON platform g...
803987497eab9c188f4abfcd0dc49b4d311d3dad
src/main/java/simplemods/cheesemod/blocks/BlockHotPepperCheeseOre.java
src/main/java/simplemods/cheesemod/blocks/BlockHotPepperCheeseOre.java
package simplemods.cheesemod.blocks; import java.util.Random; import simplemods.cheesemod.BaseMod; import simplemods.cheesemod.CommonProxy; import simplemods.cheesemod.inventory.CCreativeTabs; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Item; /** * No, th...
package simplemods.cheesemod.blocks; import java.util.Random; import simplemods.cheesemod.BaseMod; import simplemods.cheesemod.CommonProxy; import simplemods.cheesemod.inventory.CCreativeTabs; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Item; imp...
Fix hot pepper cheese hardness bug
Fix hot pepper cheese hardness bug
Java
lgpl-2.1
cdbbnnyCode/cheese-mod
java
## Code Before: package simplemods.cheesemod.blocks; import java.util.Random; import simplemods.cheesemod.BaseMod; import simplemods.cheesemod.CommonProxy; import simplemods.cheesemod.inventory.CCreativeTabs; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.item.Ite...
43bd1c286b53a3a8c269e0ec71d7585f606ad88d
lib/ruby/new_safe_navigation_operator.rb
lib/ruby/new_safe_navigation_operator.rb
Synvert::Rewriter.new 'ruby', 'new_safe_navigation_operator' do description <<-EOF Use ruby new safe navigation operator. u && u.profile && u.profile.thumbnails && u.profiles.thumbnails.large => u&.profile&.thumbnails&.large u.try!(:profile).try!(:thumbnails).try!(:large) => u&.profile&.thum...
Synvert::Rewriter.new 'ruby', 'new_safe_navigation_operator' do description <<-EOF Use ruby new safe navigation operator. u.try!(:profile).try!(:thumbnails).try!(:large) => u&.profile&.thumbnails&.large EOF # Gem::Version initialize will strip RUBY_VERSION directly in ruby 1.9, # which is solved f...
Remove comment about functionality that isn't implemented.
Remove comment about functionality that isn't implemented.
Ruby
mit
xinminlabs/synvert-snippets
ruby
## Code Before: Synvert::Rewriter.new 'ruby', 'new_safe_navigation_operator' do description <<-EOF Use ruby new safe navigation operator. u && u.profile && u.profile.thumbnails && u.profiles.thumbnails.large => u&.profile&.thumbnails&.large u.try!(:profile).try!(:thumbnails).try!(:large) => ...
69d362aa8daba96bd2a7fd26cfe57e01d8bb76e4
composer.json
composer.json
{ "name": "newsocialifecom/websiteengine", "description": "The ultimative website engine of New Social Life", "require": { "twig/twig": "*", "filp/whoops": "*", "leafo/lessphp": "*", "gregwar/tex2png": "*" }, "license": "MIT", "authors": [ { "name": "...
{ "name": "newsocialifecom/websiteengine", "description": "The ultimative website engine of New Social Life", "require": { "twig/twig": "*", "filp/whoops": "*", "leafo/lessphp": "*", "gregwar/tex2png": "*", "klein/klein": "*" }, "license": "MIT", "authors": [ { ...
Add klein.php again to NSL Website Engine
Add klein.php again to NSL Website Engine
JSON
mit
NslWebsiteEngine/Nsl-Website-Engine
json
## Code Before: { "name": "newsocialifecom/websiteengine", "description": "The ultimative website engine of New Social Life", "require": { "twig/twig": "*", "filp/whoops": "*", "leafo/lessphp": "*", "gregwar/tex2png": "*" }, "license": "MIT", "authors": [ { ...
ae1ec1b320110e81759ced8d6ee7759c11efdacb
README.md
README.md
Simple React component that allows you to layout child elements (or components) within a grid of evenly spaced blocks. ## Install `npm install react-simple-grid` ## Demo `coming soon` ## Props Prop | Description ---------------------------|---------------- `blockSpacing` | Spaci...
Simple React component that allows you to layout child elements (or components) within a grid of evenly spaced blocks. ## Install `npm install react-simple-grid` ## Demo <a href="http://gragland.github.io/react-simple-grid/examples/grid/">http://gragland.github.io/react-simple-grid/examples/grid</a> ## Props Prop ...
Update readme with demo link
Update readme with demo link
Markdown
mit
gragland/react-simple-grid
markdown
## Code Before: Simple React component that allows you to layout child elements (or components) within a grid of evenly spaced blocks. ## Install `npm install react-simple-grid` ## Demo `coming soon` ## Props Prop | Description ---------------------------|---------------- `blockSpacing` ...
d1f88e51b4eb0242fcb85ea5f670ddff0ce45a26
env.d/01_always_tmux.sh
env.d/01_always_tmux.sh
if [ -n "$TMUX" ] || [[ "$GIO_LAUNCHED_DESKTOP_FILE" == *"guake.desktop"* ]] || [[ "$(tty)" =~ /dev/tty[0-9] ]] || [ "$TERM" = screen-256color ] || [ "$TERM_PROGRAM" = "vscode" ] || [ "$TERMINAL_EMULATOR" = "JetBrains-JediTerm" ] || [ "$NO_TMUX" = "1" ] || [ "$INSIDE_EMA...
if [ -n "$TMUX" ] || [[ "$GIO_LAUNCHED_DESKTOP_FILE" == *"guake.desktop"* ]] || [[ "$(tty)" =~ /dev/tty[0-9] ]] || [[ "$TERM" == screen* ]] || [ "$TERM_PROGRAM" = "vscode" ] || [ "$TERMINAL_EMULATOR" = "JetBrains-JediTerm" ] || [ "$NO_TMUX" = "1" ] || [ "$INSIDE_EMACS" =...
Fix always_tmux with some nice extra touches
Fix always_tmux with some nice extra touches All credits go to: https://github.com/koenw/dotfiles/blob/master/zsh.d/40-always-tmux.zsh
Shell
bsd-3-clause
quidome/dotfiles
shell
## Code Before: if [ -n "$TMUX" ] || [[ "$GIO_LAUNCHED_DESKTOP_FILE" == *"guake.desktop"* ]] || [[ "$(tty)" =~ /dev/tty[0-9] ]] || [ "$TERM" = screen-256color ] || [ "$TERM_PROGRAM" = "vscode" ] || [ "$TERMINAL_EMULATOR" = "JetBrains-JediTerm" ] || [ "$NO_TMUX" = "1" ] || ...
bb599775acda774ccdfc820986fdd0114f55ad57
package.json
package.json
{ "name": "minecraft-sniffer", "version": "0.1.0", "description": "Minecraft Proxy which parses and dispalys packets", "author": "Jan Melcher <info@yogularm.de>", "scripts": { "start": "node ./index.js" }, "dependencies": { "minecraft-protocol": "git://github.com/superjoe30/node-minecraft-protocol...
{ "name": "minecraft-sniffer", "version": "0.1.0", "description": "Minecraft Proxy which parses and dispalys packets", "author": "Jan Melcher <info@yogularm.de>", "scripts": { "start": "node ./index.js" }, "dependencies": { "minecraft-protocol": "0.11.x", "colors": "*" }, "engines": { ...
Use official version of minecraft-protocol via npm
Use official version of minecraft-protocol via npm
JSON
mit
Yogu/minecraft-sniffer
json
## Code Before: { "name": "minecraft-sniffer", "version": "0.1.0", "description": "Minecraft Proxy which parses and dispalys packets", "author": "Jan Melcher <info@yogularm.de>", "scripts": { "start": "node ./index.js" }, "dependencies": { "minecraft-protocol": "git://github.com/superjoe30/node-mi...
6c6a2666f1567919ac46be2c96f91672f30db2f6
spec/unit/article_image_service_spec.rb
spec/unit/article_image_service_spec.rb
require_relative "../../lib/persistence/database" require_relative "../../lib/persistence/article_service" describe Persistence::ArticleService do let(:storage) { Fog.mock! fog = Fog::Storage.new( :provider => "AWS", :aws_access_key_id => "", :aws_secret_access_key => "" ) FOG.dir...
require_relative "../../lib/persistence/database" require_relative "../../lib/persistence/article_service" describe Persistence::ArticleService do let(:storage) { TestFogBucket.new } let(:service) { Persistence::ArticleImageService.new(storage) } describe "#upload" do it "uploads the file publically" do ...
Use fake fog for article image service spec
Use fake fog for article image service spec
Ruby
mit
the-tangent/tangent,the-tangent/tangent
ruby
## Code Before: require_relative "../../lib/persistence/database" require_relative "../../lib/persistence/article_service" describe Persistence::ArticleService do let(:storage) { Fog.mock! fog = Fog::Storage.new( :provider => "AWS", :aws_access_key_id => "", :aws_secret_access_key => "" ...
5beab2e405305fae09bd937a1f4292a2e5c6c410
modules/userController.js
modules/userController.js
var express = require('express'); var User = require('../schemas/userSchema.js'); var app = express(); app.get('/users', function (req, res, next) { res.json({ "users": [req.user] }); }); app.put('/users/:id', function (req, res, next) { User.findById(req.params.id).exec().then(function (user) { user.p...
var express = require('express'); var User = require('../schemas/userSchema.js'); var app = express(); app.get('/users', function (req, res, next) { if (req.isAuthenticated()) { res.json({ "users": [req.user] }); } else { res.json({ "users": [{ _id: "anonymous user" }] })...
Create the anonymous user server side instead
Create the anonymous user server side instead
JavaScript
apache-2.0
with-regard/regard-website-api
javascript
## Code Before: var express = require('express'); var User = require('../schemas/userSchema.js'); var app = express(); app.get('/users', function (req, res, next) { res.json({ "users": [req.user] }); }); app.put('/users/:id', function (req, res, next) { User.findById(req.params.id).exec().then(function (us...
8c5217fee7d47105a1280a1879dd2f651f63bfea
lib/modules/fields/enum.js
lib/modules/fields/enum.js
import _ from 'lodash'; import Type from './type.js'; import Validators from '../validators/validators.js'; const enumDefinitionPattern = { name: String, options: Object }; const Enum = { create(definition) { check(definition, enumDefinitionPattern); // Get options. const options = definition.optio...
import _ from 'lodash'; import Type from './type.js'; import Validators from '../validators/validators.js'; import { check, Match } from 'meteor/check'; const enumDefinitionPattern = { name: String, identifiers: Match.OneOf(Array, Object) }; const Enum = { create(definition) { check(definition, enumDefiniti...
Improve ENUMs - getIdentifier(s) methods
Improve ENUMs - getIdentifier(s) methods
JavaScript
mit
jagi/meteor-astronomy
javascript
## Code Before: import _ from 'lodash'; import Type from './type.js'; import Validators from '../validators/validators.js'; const enumDefinitionPattern = { name: String, options: Object }; const Enum = { create(definition) { check(definition, enumDefinitionPattern); // Get options. const options = ...
cb09490d11f728b1b2a94ced9e0f9f253a4cce90
src/main/groovy/com/netflix/gradle/plugins/utils/GradleUtils.groovy
src/main/groovy/com/netflix/gradle/plugins/utils/GradleUtils.groovy
package com.netflix.gradle.plugins.utils import org.gradle.api.file.FileCopyDetails import java.nio.file.Path final class GradleUtils { private GradleUtils() {} static String getRootPath(FileCopyDetails details) { "/${details.path}".toString() } static <T> T lookup(def specToLookAt, String ...
package com.netflix.gradle.plugins.utils import org.gradle.api.file.FileCopyDetails import java.nio.file.Path final class GradleUtils { private GradleUtils() {} static String getRootPath(FileCopyDetails details) { "/${details.path}".toString() } static <T> T lookup(def specToLookAt, String ...
Use pathString for backwards compatibility
Use pathString for backwards compatibility
Groovy
apache-2.0
sghill/gradle-ospackage-plugin,nebula-plugins/gradle-ospackage-plugin
groovy
## Code Before: package com.netflix.gradle.plugins.utils import org.gradle.api.file.FileCopyDetails import java.nio.file.Path final class GradleUtils { private GradleUtils() {} static String getRootPath(FileCopyDetails details) { "/${details.path}".toString() } static <T> T lookup(def specT...
b395c8f01233e7be40c934014b385dba1a091b28
laravel/resources/css/_review.scss
laravel/resources/css/_review.scss
.review { height: 800px; .title { font-weight: bold; padding: 10px; } .h-scroll { height: 100%; overflow-y: scroll; } .ans { margin: 10px; background-color: #eee; padding: 10px; } .btn { margin:10px; } .feedback { ...
.review { height: 800px; .title { font-weight: bold; padding: 10px; } .y-scroll { height: 100%; overflow-y: scroll; } .ans { margin: 10px; background-color: #eee; padding: 10px; } .btn { margin:10px; } .feedback { ...
Set boarder and text to red on application warnings
Set boarder and text to red on application warnings Set the answer box boarder and text to red if the user hasn't answered a question in the review screen. Signed-off-by: Marc Jones <bb1304e98184a66f7e15848bfbd0ff1c09583089@gmail.com>
SCSS
mit
marcj303/weightlifter,playatech/weightlifter,itsrachelfish/weightlifter,playatech/weightlifter,marcj303/weightlifter,itsrachelfish/weightlifter,playatech/weightlifter,marcj303/weightlifter
scss
## Code Before: .review { height: 800px; .title { font-weight: bold; padding: 10px; } .h-scroll { height: 100%; overflow-y: scroll; } .ans { margin: 10px; background-color: #eee; padding: 10px; } .btn { margin:10px; } ...
17c266b1cf9faf5291f6431b9d385c2516ea5e6e
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
%h2=@page_title = 'Users' = render :partial => 'filter' %p = pluralize collection.total_count, resource_class.to_s found = pagination do %table %thead %th ID %th Name %th Email %th Admin %th %tbody = render collection
%h2=@page_title = 'Users' = render :partial => 'filter' %p = pluralize collection.total_count, resource_class.to_s found = pagination do %table#list_users %thead %th ID %th Name %th Email %th Admin %th %tbody = render collection
Add id to list user table.
Add id to list user table.
Haml
agpl-3.0
ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub,ontohub/ontohub
haml
## Code Before: %h2=@page_title = 'Users' = render :partial => 'filter' %p = pluralize collection.total_count, resource_class.to_s found = pagination do %table %thead %th ID %th Name %th Email %th Admin %th %tbody = render collection ## Instruction: Add id to list us...
df12d1ea0836a94c40e7f27b036d58fe1d8bee36
components/DatePicker/DatePicker.js
components/DatePicker/DatePicker.js
import React, { Component, PropTypes } from 'react'; import DayPicker from 'react-day-picker'; import moment from 'moment'; import s from './DatePicker.css'; const weekdaysShort = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; const weekdaysLong = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'...
import React, { Component, PropTypes } from 'react'; import DayPicker from 'react-day-picker'; import moment from 'moment'; import s from './DatePicker.css'; const weekdaysShort = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; const weekdaysLong = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'...
Return correct value, remove unused props
Return correct value, remove unused props
JavaScript
mit
PactCoffee/loggins,chrisspang/loggins,tomgatzgates/loggins,tomgatzgates/loggins,chrisspang/loggins,PactCoffee/loggins
javascript
## Code Before: import React, { Component, PropTypes } from 'react'; import DayPicker from 'react-day-picker'; import moment from 'moment'; import s from './DatePicker.css'; const weekdaysShort = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; const weekdaysLong = [ 'Monday', 'Tuesday', 'Wednesday', 'Thurs...
1d5fcb151ec9f6eafb8f76e8cdb199558966236e
client/app/movies/movies.css
client/app/movies/movies.css
.form-control { margin-bottom: 5px; } #twitterName { color: white; } td { vertical-align : middle !important; } td > span { margin-left: auto; margin-right: auto; } .error { color: #F23A30; } .ng-table-counts > button { background-color: white !important; }
.form-control { margin-bottom: 5px; } #twitterName { color: white; } td { vertical-align : middle !important; } td > span { margin-left: auto; margin-right: auto; } .error { color: #F23A30; } .ng-table-counts > button { background-color: white !important; } .ng-table-counts > button:active { b...
Add hover and active styling to pagination buttons
Add hover and active styling to pagination buttons
CSS
mit
bman4789/YeoMEAN,bman4789/YeoMEAN
css
## Code Before: .form-control { margin-bottom: 5px; } #twitterName { color: white; } td { vertical-align : middle !important; } td > span { margin-left: auto; margin-right: auto; } .error { color: #F23A30; } .ng-table-counts > button { background-color: white !important; } ## Instruction: Add ho...
ba0d89390c9c3b7f0e917e1c94de058617187447
lib/ganger/docker_container.rb
lib/ganger/docker_container.rb
module Ganger class DockerContainer attr_accessor :service_host, :service_port def initialize(container, docker_uri) @log = Logger.new(STDOUT) @container = container @name = @container.json["Name"].gsub('/', '') info "Created container with properties: #{container.json.to_...
module Ganger class DockerContainer attr_accessor :service_host, :service_port def initialize(container, docker_uri) @log = Logger.new(STDOUT) @container = container @name = @container.json["Name"].gsub('/', '') info "Created container with properties: #{container.json.to_...
Simplify method for deciding a container is broken
Simplify method for deciding a container is broken
Ruby
mit
forward3d/ganger,forward3d/ganger
ruby
## Code Before: module Ganger class DockerContainer attr_accessor :service_host, :service_port def initialize(container, docker_uri) @log = Logger.new(STDOUT) @container = container @name = @container.json["Name"].gsub('/', '') info "Created container with properties: #{co...
24d4c596727c97f15a9f4a05f1688a95ccd64612
jenkins/ci.opensuse.org/openstack-cleanvm.yaml
jenkins/ci.opensuse.org/openstack-cleanvm.yaml
- project: name: openstack-cleanvm-Newton disabled: false release: Newton image: - SLE_12_SP2 jobs: - 'openstack-cleanvm-{release}' - project: name: openstack-cleanvm-Pike disabled: false release: Pike image: - SLE_12_SP3 - openSUSE-Leap-42.3 jobs: ...
- project: name: openstack-cleanvm-Newton disabled: false release: Newton image: - SLE_12_SP2 jobs: - 'openstack-cleanvm-{release}' - project: name: openstack-cleanvm-Pike disabled: false release: Pike image: - SLE_12_SP3 - openSUSE-Leap-42.3 jobs: ...
Add regular schedule for Master cleanvm
Add regular schedule for Master cleanvm Non-Master is meanwhile triggered via staging-logic, however Master doesn't have staging so we need to configure a timing independently of that.
YAML
apache-2.0
gosipyan/automation,SUSE-Cloud/automation,gosipyan/automation,aspiers/automation,SUSE-Cloud/automation,SUSE-Cloud/automation,SUSE-Cloud/automation,gosipyan/automation,gosipyan/automation,aspiers/automation,aspiers/automation,aspiers/automation
yaml
## Code Before: - project: name: openstack-cleanvm-Newton disabled: false release: Newton image: - SLE_12_SP2 jobs: - 'openstack-cleanvm-{release}' - project: name: openstack-cleanvm-Pike disabled: false release: Pike image: - SLE_12_SP3 - openSUSE-Leap-42.3...
437f0170ddb45549b3a4b1d4350d100ef4a0c1de
resources/content/db/liquibase-dump.sh
resources/content/db/liquibase-dump.sh
set -x -e LIQUIBASE_HOME=${LIQUIBASE_HOME:-~/.local/liquibase} DB=${DB:-dstack} DRIVER=${DRIVER:-"$HOME/.m2/repository/mysql/mysql-connector-java/5.1.26/mysql-connector-java-5.1.26.jar"} $LIQUIBASE_HOME/liquibase --classpath="$DRIVER" --driver=com.mysql.jdbc.Driver --changeLogFile=dump.xml --url="jdbc:mysql://localho...
set -x -e LIQUIBASE_HOME=${LIQUIBASE_HOME:-~/.local/liquibase} DB=${DB:-dstack} DRIVER=${DRIVER:-"$HOME/.m2/repository/mysql/mysql-connector-java/5.1.26/mysql-connector-java-5.1.26.jar"} if [ -e dump.xml ]; then mv dump.xml dump-$(date '+%s').xml fi $LIQUIBASE_HOME/liquibase --classpath="$DRIVER" --driver=com.my...
Substitute types for better DB compatibility
Substitute types for better DB compatibility
Shell
apache-2.0
alena1108/cattle,hibooboo2/cattle,sonchang/cattle,prachidamle/cattle,cloudnautique/cattle,kaos/cattle,rancherio/cattle,ubiquityhosting/rancher_cattle,rancherio/cattle,willseward/cattle,gpndata/cattle,cloudnautique/cloud-cattle,rancherio/cattle,imikushin/cattle,cloudnautique/cloud-cattle,yasker/cattle,OnePaaS/cattle,yas...
shell
## Code Before: set -x -e LIQUIBASE_HOME=${LIQUIBASE_HOME:-~/.local/liquibase} DB=${DB:-dstack} DRIVER=${DRIVER:-"$HOME/.m2/repository/mysql/mysql-connector-java/5.1.26/mysql-connector-java-5.1.26.jar"} $LIQUIBASE_HOME/liquibase --classpath="$DRIVER" --driver=com.mysql.jdbc.Driver --changeLogFile=dump.xml --url="jdbc...
75ffb7be23f06a3597a72cac972789f3af1c0003
lib/sensu-plugins-kubernetes.rb
lib/sensu-plugins-kubernetes.rb
require 'sensu-plugins-kubernetes/version' require 'sensu-plugin/check/cli' require 'kubeclient' module Sensu module Plugins module Kubernetes class CLI < Sensu::Plugin::Check::CLI option :api_server, description: 'URL to API server', ...
require 'sensu-plugins-kubernetes/version' require 'sensu-plugin/check/cli' require 'kubeclient' module Sensu module Plugins module Kubernetes class CLI < Sensu::Plugin::Check::CLI option :api_server, description: 'URL to API server', ...
Add additional parameters for Kubernetes
Add additional parameters for Kubernetes
Ruby
mit
sensu-plugins/sensu-plugins-kubernetes,nyxcharon/sensu-plugins-kubernetes
ruby
## Code Before: require 'sensu-plugins-kubernetes/version' require 'sensu-plugin/check/cli' require 'kubeclient' module Sensu module Plugins module Kubernetes class CLI < Sensu::Plugin::Check::CLI option :api_server, description: 'URL to API server', ...
dfc7cd5662737076c68888de21556250d24ee09f
packages/bu/buffon-machines.yaml
packages/bu/buffon-machines.yaml
homepage: https://github.com/maciej-bendkowski/buffon-machines#readme changelog-type: '' hash: b7d9fd2ba76a6eef7bbf618b86545e1a2ed24f9148b917aedadb0ca982472861 test-bench-deps: {} maintainer: maciej.bendkowski@tcs.uj.edu.pl synopsis: Perfect simulation of discrete random variables changelog: '' basic-deps: base: ! '>...
homepage: https://github.com/maciej-bendkowski/buffon-machines#readme changelog-type: '' hash: d60aa60f217b088e34de2103ad8988f3cc0b79c5ad4307ba6d062dbabd4c1483 test-bench-deps: {} maintainer: maciej.bendkowski@tcs.uj.edu.pl synopsis: Perfect simulation of discrete random variables changelog: '' basic-deps: base: ! '>...
Update from Hackage at 2019-01-31T10:58:55Z
Update from Hackage at 2019-01-31T10:58:55Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/maciej-bendkowski/buffon-machines#readme changelog-type: '' hash: b7d9fd2ba76a6eef7bbf618b86545e1a2ed24f9148b917aedadb0ca982472861 test-bench-deps: {} maintainer: maciej.bendkowski@tcs.uj.edu.pl synopsis: Perfect simulation of discrete random variables changelog: '' basic-de...
a4e6c45c3befb361d1c4580335df2d73f3676ec5
jcarafe-core/src/main/scala/org/mitre/jcarafe/util/StripTags.scala
jcarafe-core/src/main/scala/org/mitre/jcarafe/util/StripTags.scala
package org.mitre.jcarafe.util import org.mitre.jcarafe.lexer._ import org.mitre.jcarafe.tokenizer._ import GenTokerConstants._ import java.io._ object StripTags { def main(args: Array[String]) = { if (args.length == 2) { val sr = new java.io.FileInputStream(args(0)) val os = new java.i...
package org.mitre.jcarafe.util import org.mitre.jcarafe.lexer._ import GenTokerConstants._ import java.io._ object StripTags { def main(args: Array[String]) = { if (args.length == 2) { val sr = new java.io.FileInputStream(args(0)) val os = new java.io.OutputStreamWriter(new java.io.Buffe...
Update to fix lexical scoping conflict
Update to fix lexical scoping conflict
Scala
bsd-3-clause
wellner/jcarafe,wellner/jcarafe
scala
## Code Before: package org.mitre.jcarafe.util import org.mitre.jcarafe.lexer._ import org.mitre.jcarafe.tokenizer._ import GenTokerConstants._ import java.io._ object StripTags { def main(args: Array[String]) = { if (args.length == 2) { val sr = new java.io.FileInputStream(args(0)) val os = new ja...
734d72ab496ca483ef77848334d366cb4e380148
src/cell-selection.css
src/cell-selection.css
.zambezi-grid-cell.is-selected { background-color: yellow; } .zambezi-grid-cell.is-active { border: 2px dotted rgba(255, 0, 255, 0.4); } .zambezi-grid:focus .zambezi-grid-cell.is-active { border: 2px dotted magenta; } .zambezi-grid-cell.is-active.editable-cell:hover { border: 2px dotted green; }
.zambezi-grid-cell.is-selected { background-color: yellow; } .zambezi-grid-cell.is-active { border: 2px dotted rgba(255, 0, 255, 0.4); } .zambezi-grid-cell.is-active.editable-cell:hover { border: 2px dotted green; }
Remove unecessary focused grid active cell style.
Remove unecessary focused grid active cell style.
CSS
mit
zambezi/grid-components
css
## Code Before: .zambezi-grid-cell.is-selected { background-color: yellow; } .zambezi-grid-cell.is-active { border: 2px dotted rgba(255, 0, 255, 0.4); } .zambezi-grid:focus .zambezi-grid-cell.is-active { border: 2px dotted magenta; } .zambezi-grid-cell.is-active.editable-cell:hover { border: 2px dotted green...
459c0e07335ae53617b4aa059ca06c7c6f67cbe4
app/assets/javascripts/case_worker/claims/determination_calculator.js
app/assets/javascripts/case_worker/claims/determination_calculator.js
"use strict"; var adp = adp || {}; adp.determination = { init : function(container_id) { this.addChangeEvent(container_id); }, calculateAmount: function(fee, expenses) { var f = fee || 0, e = expenses || 0; f = f < 0 ? 0 : f; e = e < 0 ? 0 : e; var t = (f + e).toFixed(2); t = t < ...
"use strict"; var adp = adp || {}; adp.determination = { init : function(container_id) { this.addChangeEvent(container_id); }, calculateAmount: function(fee, expenses) { var f = fee || 0, e = expenses || 0; f = f < 0 ? 0 : f; e = e < 0 ? 0 : e; var t = (f + e).toFixed(2); t = t < ...
Allow commas in assessment fees and expenses values
Allow commas in assessment fees and expenses values
JavaScript
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
javascript
## Code Before: "use strict"; var adp = adp || {}; adp.determination = { init : function(container_id) { this.addChangeEvent(container_id); }, calculateAmount: function(fee, expenses) { var f = fee || 0, e = expenses || 0; f = f < 0 ? 0 : f; e = e < 0 ? 0 : e; var t = (f + e).toFixed(...
5fd7a977412d0ec60ef54185183f5ddb07501d6c
spec/conf_spec.rb
spec/conf_spec.rb
require 'spec_helper' describe Flor::Conf do describe '.prepare' do it 'reads a file and returns the object content' do h = Flor::Conf.prepare( %{ colour: blue name: stuff version: '3.2.1' count: 7 blah: [ 'a', 'b', 2 ] ...
require 'spec_helper' describe Flor::Conf do describe '.prepare' do it 'reads a file and returns the object content' do h = Flor::Conf.prepare( %{ colour: blue name: stuff version: '3.2.1' count: 7 blah: [ 'a', 'b', 2 ] ...
Prepare "cancel" vs ConfExecutor spec
Prepare "cancel" vs ConfExecutor spec
Ruby
mit
flon-io/flor,floraison/flor,dmicky0419/flor,dmicky0419/flor,floraison/flor,floraison/flor,dmicky0419/flor
ruby
## Code Before: require 'spec_helper' describe Flor::Conf do describe '.prepare' do it 'reads a file and returns the object content' do h = Flor::Conf.prepare( %{ colour: blue name: stuff version: '3.2.1' count: 7 blah: [ 'a...
8603fc13ce1a05105cdaaaaaf6dbbf6909827a42
package.json
package.json
{ "name": "array-object-merge", "version": "1.2.0", "description": "Merge objects with arrays of objects based on given object key", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/tgknight/array-object-merge.git" }, "scripts": { "test": "mocha test/**.test.js", ...
{ "name": "array-object-merge", "version": "1.2.0", "description": "Merge objects with arrays of objects based on given object key", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/tnptop/array-object-merge.git" }, "scripts": { "test": "mocha test/**.test.js", ...
Update dependencies; fix github link; bump version
Update dependencies; fix github link; bump version
JSON
mit
tgknight/array-object-merge
json
## Code Before: { "name": "array-object-merge", "version": "1.2.0", "description": "Merge objects with arrays of objects based on given object key", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/tgknight/array-object-merge.git" }, "scripts": { "test": "mocha tes...
1c4b4253f91f815ba15342ef232c4217874543e2
app/views/deliverables/_student_list_entry.html.erb
app/views/deliverables/_student_list_entry.html.erb
<div class="summary"> <span class="name"><%= deliverable.name %></span> <div class="new"> <% if submission.user == current_user %> <%= render 'submissions/form', submission: Submission.new(deliverable: deliverable) %> <% end %> </div> </div> <div class="details"> <p class="description"...
<div class="summary"> <span class="name"><%= deliverable.name %></span> <div class="new"> <% if !submission || submission.user == current_user %> <%= render 'submissions/form', submission: Submission.new(deliverable: deliverable) %> <% end %> </div> </div> <div class="details"> <p clas...
Fix for crash on homework listing page.
Fix for crash on homework listing page.
HTML+ERB
mit
spark008/igor,pwnall/igor,pwnall/seven,spark008/igor,spark008/seven,spark008/seven,pwnall/igor,pwnall/seven,spark008/igor,spark008/seven,spark008/igor,spark008/seven,pwnall/igor,pwnall/seven,pwnall/seven,pwnall/igor,pwnall/seven,pwnall/igor,spark008/igor,spark008/seven
html+erb
## Code Before: <div class="summary"> <span class="name"><%= deliverable.name %></span> <div class="new"> <% if submission.user == current_user %> <%= render 'submissions/form', submission: Submission.new(deliverable: deliverable) %> <% end %> </div> </div> <div class="details"> <p cla...
e6873d3d40d868e743a239c6a74a345c2999541e
dusty_coffin/elasticsearch_custom/edit_spreadsheet.py
dusty_coffin/elasticsearch_custom/edit_spreadsheet.py
import urllib.request from io import BytesIO import pandas as pd import ujson from elasticsearch import Elasticsearch csv = urllib.request.urlopen("https://docs.google.com/spreadsheet/pub?key=0Ahf71UaPpMOSdGl0NnQtSFgyVFpvSmV3R2JobzVmZHc&output=csv").read() bio = BytesIO(csv) csv_pd = pd.DataFrame.from_csv(bio)...
import urllib.request from io import BytesIO import pandas as pd import ujson from elasticsearch import Elasticsearch csv = urllib.request.urlopen("https://docs.google.com/spreadsheet/pub?key=1h1udf_H073YaVlZs0fkYUf9dC6KbEZAhF1veeLExyXo&gid=937170620&output=csv").read() bio = BytesIO(csv) csv_pd = pd.DataFrame...
Edit spreadsheet is now fixed.
Edit spreadsheet is now fixed.
Python
mit
bhillmann/dusty_coffin,bhillmann/dusty_coffin,bhillmann/dusty_coffin,bhillmann/dusty_coffin
python
## Code Before: import urllib.request from io import BytesIO import pandas as pd import ujson from elasticsearch import Elasticsearch csv = urllib.request.urlopen("https://docs.google.com/spreadsheet/pub?key=0Ahf71UaPpMOSdGl0NnQtSFgyVFpvSmV3R2JobzVmZHc&output=csv").read() bio = BytesIO(csv) csv_pd = pd.DataFrame.from_...
2ea3060186b97d8932eefddf20d19b5ff8cbb1b9
app/workers/new_domain_worker.rb
app/workers/new_domain_worker.rb
class NewDomainWorker include Sidekiq::Worker # Look up meta info for a domain def perform(domain_name) Domain.lookup_meta(domain_name) end end
class NewDomainWorker include Sidekiq::Worker sidekiq_options queue: :small # Look up meta info for a domain def perform(domain_name) Domain.lookup_meta(domain_name) end end
Put job onto correct queue for small jobs
Put job onto correct queue for small jobs
Ruby
agpl-3.0
openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph
ruby
## Code Before: class NewDomainWorker include Sidekiq::Worker # Look up meta info for a domain def perform(domain_name) Domain.lookup_meta(domain_name) end end ## Instruction: Put job onto correct queue for small jobs ## Code After: class NewDomainWorker include Sidekiq::Worker sidekiq_options queue:...
31a3b82c1da82abd26654a5368c0b9a07372ac3e
index.php
index.php
<?php // IMPORTANT!!! Require composer autoload require_once 'vendor/autoload.php'; require_once 'vendor/taviroquai/architectphp/aliases.php'; // IMPORTANT!!! Give configuration file and run application $config = "config/development.xml"; $arch = new \Arch\App($config); $arch->run();
<?php // IMPORTANT!!! Require composer autoload require_once 'vendor/autoload.php'; require_once 'vendor/taviroquai/architectphp/aliases.php'; // IMPORTANT!!! Give configuration file and run application $config = "config/development.xml"; $arch = new \Arch\App(); $arch->getConfig()->load($config); $arch->run();
Load configuration manually as of version 0.16.0
Load configuration manually as of version 0.16.0
PHP
mit
taviroquai/architect-demo,taviroquai/architect-demo
php
## Code Before: <?php // IMPORTANT!!! Require composer autoload require_once 'vendor/autoload.php'; require_once 'vendor/taviroquai/architectphp/aliases.php'; // IMPORTANT!!! Give configuration file and run application $config = "config/development.xml"; $arch = new \Arch\App($config); $arch->run(); ## Instruction: ...
5516b125bb00b928d85a044d3df777e1b0004d03
ovp_organizations/migrations/0008_auto_20161207_1941.py
ovp_organizations/migrations/0008_auto_20161207_1941.py
from __future__ import unicode_literals from django.db import migrations from ovp_organizations.models import Organization def add_members(apps, schema_editor): for organization in Organization.objects.all(): organization.members.add(organization.owner) def remove_members(apps, schema_editor): for organiza...
from __future__ import unicode_literals from django.db import migrations from ovp_organizations.models import Organization def add_members(apps, schema_editor): for organization in Organization.objects.only('pk', 'members').all(): organization.members.add(organization.owner) def remove_members(apps, schema_e...
Add ".only" restriction to query on migration 0008
Add ".only" restriction to query on migration 0008
Python
agpl-3.0
OpenVolunteeringPlatform/django-ovp-organizations,OpenVolunteeringPlatform/django-ovp-organizations
python
## Code Before: from __future__ import unicode_literals from django.db import migrations from ovp_organizations.models import Organization def add_members(apps, schema_editor): for organization in Organization.objects.all(): organization.members.add(organization.owner) def remove_members(apps, schema_editor)...
7c06ba783966d5997e61c27373330fc14c3b126b
.travis.yml
.travis.yml
language: go sudo: false go: - 1.5 - 1.6 - 1.7 - tip env: global: - GO15VENDOREXPERIMENT=1 - TEST_TIMEOUT_SCALE=10 cache: directories: - vendor install: - make dependencies script: - make lint - make test after_success: - make coveralls
language: go sudo: false go: - 1.5 - 1.6 - 1.7 # NOTE: Stop using tip to avoid the following error on Travis CI: # I don't have any idea what to do with 'tip'. # - tip env: global: - GO15VENDOREXPERIMENT=1 - TEST_TIMEOUT_SCALE=10 cache: directories: - vendor install: - make dependencies sc...
Stop using tip on Travis CI to avoid an error
Stop using tip on Travis CI to avoid an error
YAML
mit
hnakamur/zap-ltsv
yaml
## Code Before: language: go sudo: false go: - 1.5 - 1.6 - 1.7 - tip env: global: - GO15VENDOREXPERIMENT=1 - TEST_TIMEOUT_SCALE=10 cache: directories: - vendor install: - make dependencies script: - make lint - make test after_success: - make coveralls ## Instruction: Stop using tip on ...
f6b8c7f32e2486c08afe353e9031e9128ae56287
travis_build_and_test.sh
travis_build_and_test.sh
set -e if [ "${TEST_TYPE}" == "acceptance-test" ]; then if [ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_BRANCH}" == "master" ]; then echo -e "Create standalone.zip\n" mvn package -DskipTests fi echo -e "Run acceptance test using PhantomJs on Travis server\n" mvn -DseleniumBrowser=chrome "-Dselen...
set -e if [ "${TEST_TYPE}" == "acceptance-test" ]; then if [ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_BRANCH}" == "master" ]; then echo -e "Create standalone.zip\n" mvn package -DskipTests fi echo -e "Run acceptance test using Headless Chrome on Travis server\n" mvn -DseleniumBrowser=chrome "-...
Fix output message during build: we no longer use phantom, but headless chrome
Fix output message during build: we no longer use phantom, but headless chrome
Shell
apache-2.0
teunisnl/hsac-fitnesse-fixtures,GDasai/hsac-fitnesse-fixtures,fhoeben/hsac-fitnesse-fixtures,ilseh/hsac-fitnesse-fixtures,ilseh/hsac-fitnesse-fixtures,ilseh/hsac-fitnesse-fixtures,GDasai/hsac-fitnesse-fixtures,GDasai/hsac-fitnesse-fixtures,fhoeben/hsac-fitnesse-fixtures,GDasai/hsac-fitnesse-fixtures,ilseh/hsac-fitnesse...
shell
## Code Before: set -e if [ "${TEST_TYPE}" == "acceptance-test" ]; then if [ "${TRAVIS_PULL_REQUEST}" == "false" -a "${TRAVIS_BRANCH}" == "master" ]; then echo -e "Create standalone.zip\n" mvn package -DskipTests fi echo -e "Run acceptance test using PhantomJs on Travis server\n" mvn -DseleniumBrowser...
b405093bd129786406d607637ed5c706bdfd7fa2
package.json
package.json
{ "name": "quick", "version": "0.0.3", "description": "QuickJS is a declarative language engine.", "keywords": [ "qml", "jml", "quick", "declarative" ], "author": { "name": "Johannes Zellner", "email": "webmaster@nebulon.de" }, "repository"...
{ "name": "quick", "version": "0.0.4", "description": "QuickJS is a declarative language engine to run inside a browser.", "keywords": [ "qml", "jml", "quick", "declarative" ], "author": { "name": "Johannes Zellner", "email": "webmaster@nebulon.de"...
Add test script and devDependencies
Add test script and devDependencies
JSON
mit
nebulade/bungee,nebulade/bungee
json
## Code Before: { "name": "quick", "version": "0.0.3", "description": "QuickJS is a declarative language engine.", "keywords": [ "qml", "jml", "quick", "declarative" ], "author": { "name": "Johannes Zellner", "email": "webmaster@nebulon.de" }, ...
cc97f3cbdfdf6ce90d1860c830bb5fccb06c4e7d
packages/lesswrong/components/posts/PostsItemTooltipWrapper.tsx
packages/lesswrong/components/posts/PostsItemTooltipWrapper.tsx
import React from 'react'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { useHover } from "../common/withHover"; const PostsItemTooltipWrapper = ({children, post, className}: { children?: React.ReactNode, post: PostsList, className?: string, }) => { const { LWPopper, PostsPrevie...
import React from 'react'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { useHover } from "../common/withHover"; const PostsItemTooltipWrapper = ({children, post, className}: { children?: React.ReactNode, post: PostsList, className?: string, }) => { const { LWPopper, PostsPrevie...
Remove flip disabled modifier to fix UI bug
Remove flip disabled modifier to fix UI bug
TypeScript
mit
Discordius/Lesswrong2,Discordius/Lesswrong2,Discordius/Lesswrong2,Discordius/Lesswrong2
typescript
## Code Before: import React from 'react'; import { registerComponent, Components } from '../../lib/vulcan-lib'; import { useHover } from "../common/withHover"; const PostsItemTooltipWrapper = ({children, post, className}: { children?: React.ReactNode, post: PostsList, className?: string, }) => { const { LWPop...
594c99167c31ecb2a4eabfb3f7440b2ab8f0006d
src/hieroglyph/themes/slides/static/slides.css
src/hieroglyph/themes/slides/static/slides.css
img.fill { position: absolute; left: 0; top: 0; min-width: 100%; min-height: 100%; border-radius: 10px; -o-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; z-index: -1; } a.headerlink { visibility: hidden; } h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hove...
img.fill { position: absolute; left: 0; top: 0; min-width: 100%; min-height: 100%; border-radius: 10px; -o-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; z-index: -1; } a.headerlink { visibility: hidden; } h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hove...
Use display:none on notes, to prevent them from taking up space.
Use display:none on notes, to prevent them from taking up space.
CSS
bsd-3-clause
attakei/hieroglyph,nyergler/hieroglyph,nyergler/hieroglyph,attakei/hieroglyph,attakei/hieroglyph,attakei/hieroglyph,nyergler/hieroglyph,nyergler/hieroglyph
css
## Code Before: img.fill { position: absolute; left: 0; top: 0; min-width: 100%; min-height: 100%; border-radius: 10px; -o-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; z-index: -1; } a.headerlink { visibility: hidden; } h1:hover > a.headerlink, h2:hover > a.hea...
dc35691e0892a9dbc04ea1af10870b4b7a47e7e1
README.md
README.md
A look at Software security and specifically the OWASP top 10
[![Build Status](https://travis-ci.org/Code-Craftsmanship-Saturdays/software-security.svg?branch=master)](https://travis-ci.org/Code-Craftsmanship-Saturdays/software-security) [![Coverage Status](https://coveralls.io/repos/github/Code-Craftsmanship-Saturdays/software-security/badge.svg?branch=master)](https://coveralls...
Add Badges for travis and coveralls.
Add Badges for travis and coveralls.
Markdown
mit
Code-Craftsmanship-Saturdays/software-security,Code-Craftsmanship-Saturdays/software-security,Code-Craftsmanship-Saturdays/software-security,Code-Craftsmanship-Saturdays/software-security
markdown
## Code Before: A look at Software security and specifically the OWASP top 10 ## Instruction: Add Badges for travis and coveralls. ## Code After: [![Build Status](https://travis-ci.org/Code-Craftsmanship-Saturdays/software-security.svg?branch=master)](https://travis-ci.org/Code-Craftsmanship-Saturdays/software-securi...
5fc0dfd6ff66dfe3eee09491677972cb7de31b10
README.md
README.md
This Program uses Prim's Algorithm to find a Minimum Spanning Tree. As of 29/08/15, the program can only deal with 4 vertices. More complete versions will be released in the future. #### About Prim's Algorithm: Prim's algorithm is a greedy algorithm that finds the minimum spanning tree in a given graph. Starting fro...
This Program uses Prim's Algorithm to find a Minimum Spanning Tree. As of 29/08/15, the program can only deal with 4 vertices. More complete versions will be released in the future. ## About Prim's Algorithm Prim's algorithm is a greedy algorithm that finds the minimum spanning tree in a given graph. Starting from...
Improve (sub)headings and add suitable newlines for formatting
Improve (sub)headings and add suitable newlines for formatting
Markdown
mit
DonaldKellett/MST-Finder,DonaldKellett/MST-Finder
markdown
## Code Before: This Program uses Prim's Algorithm to find a Minimum Spanning Tree. As of 29/08/15, the program can only deal with 4 vertices. More complete versions will be released in the future. #### About Prim's Algorithm: Prim's algorithm is a greedy algorithm that finds the minimum spanning tree in a given gra...
05183ccb78ea2cd53e3ee2f6ebaa79d7c9f8d4ad
hardware/network/intel-4965agn.nix
hardware/network/intel-4965agn.nix
{pkgs, config, ...}: let inherit (config.boot) kernelPackages; inherit (kernelPackages) kernel; in { boot = { extraModulePackages = pkgs.lib.optional (!kernel.features ? iwlwifi) kernelPackages.iwlwifi; }; services = { udev = { addFirmware = [ pkgs.iwlwifi4965ucode ]; ...
{pkgs, config, ...}: let inherit (config.boot) kernelPackages; inherit (kernelPackages) kernel; in { boot = { extraModulePackages = pkgs.lib.optional (!kernel.features ? iwlwifi) kernelPackages.iwlwifi; }; services = { udev = { addFirmware = [ kernelPackages.iwlwifi4965u...
Use the right iwl4965 firmware depending on the kernel version.
Use the right iwl4965 firmware depending on the kernel version. svn path=/nixos/branches/modular-nixos/; revision=16065
Nix
mit
NixOS/nixpkgs,triton/triton,NixOS/nixpkgs,SymbiFlow/nixpkgs,triton/triton,NixOS/nixpkgs,triton/triton,rbvermaa/nixos-svn,edolstra/nixos,NixOS/nixpkgs,NixOS/nixos,andreassalomonsson/nixos,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,SymbiFlow/nixpkgs,NixOS/nixpkgs,NixOS/nixos,SymbiFlow/nixpkgs,triton/triton,NixOS/nixpkgs,SymbiFl...
nix
## Code Before: {pkgs, config, ...}: let inherit (config.boot) kernelPackages; inherit (kernelPackages) kernel; in { boot = { extraModulePackages = pkgs.lib.optional (!kernel.features ? iwlwifi) kernelPackages.iwlwifi; }; services = { udev = { addFirmware = [ pkgs.iwlwif...
cddb109de373dd2f2fc554458206a51bd8875eea
sipa/templates/usersuite/_transaction_log.html
sipa/templates/usersuite/_transaction_log.html
{% macro value_context(value) -%} {% if value < 0 -%} danger {%- else -%} success {%- endif %} {%- endmacro %} <h2 id="transaction-log">{{ _("Buchungen") }} <small>{{ _("Stand") }}: {{ last_update | date }}</small></h2> <div class="panel panel-default"> <table class="panel-body table ta...
{% macro value_context(value) -%} {% if value < 0 -%} danger {%- else -%} success {%- endif %} {%- endmacro %} <h2 id="transaction-log">{{ _("Buchungen") }}</h2> <div class="panel panel-default"> <table class="panel-body table table-hover"> <thead> <tr> ...
Move update date from heading to sum
Move update date from heading to sum
HTML
mit
lukasjuhrich/sipa,lukasjuhrich/sipa,MarauderXtreme/sipa,MarauderXtreme/sipa,lukasjuhrich/sipa,agdsn/sipa,agdsn/sipa,agdsn/sipa,MarauderXtreme/sipa,lukasjuhrich/sipa,agdsn/sipa
html
## Code Before: {% macro value_context(value) -%} {% if value < 0 -%} danger {%- else -%} success {%- endif %} {%- endmacro %} <h2 id="transaction-log">{{ _("Buchungen") }} <small>{{ _("Stand") }}: {{ last_update | date }}</small></h2> <div class="panel panel-default"> <table class="pan...
034088a889f414b12de32b8cd6cf1c096457a80b
main.js
main.js
// Written in jquery // Makes the "Refresh" button print a new aphorism // Prints an aphorism as soon as the page is started $(function(){ $("#output").text("Testing testing"); // Prints new aphorism when Refresh button is clicked $("#refresh_button").click(function(){ $("#output").text("Refresh succesfu...
// Written in jquery // Makes the "Refresh" button print a new aphorism // Prints an aphorism as soon as the page is started $(function(){ $("#output").text("Testing testing"); // Prints new aphorism when Refresh button is clicked $("#refresh_button").click(function(){ $("#output").text(print_aphorism())...
Refresh button pulls random quote
Refresh button pulls random quote from list of quotes, but purely random (eventually want pseudorandom, so that quotes aren't repeated too often, or cycling through the list in some order or something)
JavaScript
mit
marbiru/kafka,marbiru/kafka
javascript
## Code Before: // Written in jquery // Makes the "Refresh" button print a new aphorism // Prints an aphorism as soon as the page is started $(function(){ $("#output").text("Testing testing"); // Prints new aphorism when Refresh button is clicked $("#refresh_button").click(function(){ $("#output").text("...
46c33ca68c1124fb06c4ba62306cb00ba61d7e5c
tests/__init__.py
tests/__init__.py
from flexmock import flexmock from flask.ext.storage import MockStorage from flask_uploads import init class TestCase(object): added_objects = [] committed_objects = [] created_objects = [] deleted_objects = [] def setup_method(self, method, resizer=None): init(db_mock, MockStorage, resiz...
from flexmock import flexmock from flask.ext.storage import MockStorage from flask_uploads import init class TestCase(object): added_objects = [] committed_objects = [] created_objects = [] deleted_objects = [] def setup_method(self, method, resizer=None): init(db_mock, MockStorage, resiz...
Add metadata.tables to mock db.
Add metadata.tables to mock db.
Python
mit
FelixLoether/flask-uploads,FelixLoether/flask-image-upload-thing
python
## Code Before: from flexmock import flexmock from flask.ext.storage import MockStorage from flask_uploads import init class TestCase(object): added_objects = [] committed_objects = [] created_objects = [] deleted_objects = [] def setup_method(self, method, resizer=None): init(db_mock, Mo...
73d06ec24cbf3c99c9a097c8ae487a462e8ab548
pkgs/racket-pkgs/racket-test/tests/pkg/path.rkt
pkgs/racket-pkgs/racket-test/tests/pkg/path.rkt
(require pkg/path setup/dirs) (module+ test (require rackunit) (check-equal? (path->pkg (collection-file-path "path.rkt" "tests" "pkg")) "racket-test") (check-equal? (call-with-values (lambda () (path->pkg+subpath (collection-file-path "path.rkt" "tests" "pkg"))) ...
(require pkg/path setup/dirs) (module+ test (require rackunit) (check-equal? (path->pkg (collection-file-path "path.rkt" "tests" "pkg")) "racket-test") (check-equal? (call-with-values (lambda () (path->pkg+subpath (collection-file-path "path.rkt" "tests" "pkg"))) ...
Fix test that used `distro-build`.
Fix test that used `distro-build`.
Racket
bsd-2-clause
mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket
racket
## Code Before: (require pkg/path setup/dirs) (module+ test (require rackunit) (check-equal? (path->pkg (collection-file-path "path.rkt" "tests" "pkg")) "racket-test") (check-equal? (call-with-values (lambda () (path->pkg+subpath (collection-file-path "path.rkt" "tes...
2624febb634274e7fac7b6aeed7585a3a8de3a96
README.md
README.md
[![Licence Apache 2](https://img.shields.io/badge/licence-Apache%202-blue.svg)](https://github.com/laedit/pretzel.markdig/blob/master/LICENSE) [![Build status](https://ci.appveyor.com/api/projects/status/wwedu84l2jmc2mai?svg=true)](https://ci.appveyor.com/project/laedit/pretzel-markdig) # Pretzel.Markdig Provide a p...
[![Licence Apache 2](https://img.shields.io/badge/licence-Apache%202-blue.svg)](https://github.com/laedit/pretzel.markdig/blob/master/LICENSE) [![Build status](https://ci.appveyor.com/api/projects/status/wwedu84l2jmc2mai?svg=true)](https://ci.appveyor.com/project/laedit/pretzel-markdig) # Pretzel.Markdig Provide a p...
Add Pretzel.ScriptCs dependencies in readme
Add Pretzel.ScriptCs dependencies in readme
Markdown
apache-2.0
laedit/Pretzel.Markdig
markdown
## Code Before: [![Licence Apache 2](https://img.shields.io/badge/licence-Apache%202-blue.svg)](https://github.com/laedit/pretzel.markdig/blob/master/LICENSE) [![Build status](https://ci.appveyor.com/api/projects/status/wwedu84l2jmc2mai?svg=true)](https://ci.appveyor.com/project/laedit/pretzel-markdig) # Pretzel.Mark...
5bd7b361af04f58c58a072d22eb91dd04708b425
README.md
README.md
[![Build status](https://secure.travis-ci.org/sekogan/sandbox.png)](http://travis-ci.org/sekogan/sandbox) # Thread Safety # - Webdriver++ objects are not thread safe. It is not safe to use neither any single object nor different objects obtained from a single WebDriver concurrently without synchronization. On the oth...
[![Build status](https://secure.travis-ci.org/sekogan/sandbox.png)](http://travis-ci.org/sekogan/sandbox) # Thread Safety # - Webdriver++ objects are not thread safe. It is not safe to use neither any single object nor different objects obtained from a single WebDriver concurrently without synchronization. On the oth...
Add details to building and testing instructions
Add details to building and testing instructions
Markdown
mit
sekogan/webdriverxx,sekogan/webdriverxx,sekogan/webdriverxx
markdown
## Code Before: [![Build status](https://secure.travis-ci.org/sekogan/sandbox.png)](http://travis-ci.org/sekogan/sandbox) # Thread Safety # - Webdriver++ objects are not thread safe. It is not safe to use neither any single object nor different objects obtained from a single WebDriver concurrently without synchroniza...
341a904eeb7a4948aa3a96786f3607470ea2cab0
lib/test-server/mocks/get-index.json
lib/test-server/mocks/get-index.json
{ "user_email": "test@anyfetch.com", "documents_url": "/documents/", "document_types_url": "/document_types/", "providers_url": "/providers/", "users_url": "/users/", "current_user_url": "/users/52f0bb24c8318c2d65000036", "update_url": "/company/update", "reset_url": "/company/reset", "token_url": "/t...
{ "user_email": "test@anyfetch.com", "user_id": "52f0bb24c8318c2d65000036", "documents_url": "/documents/", "document_types_url": "/document_types/", "providers_url": "/providers/", "users_url": "/users/", "current_user_url": "/users/52f0bb24c8318c2d65000036", "update_url": "/company/update", "reset_u...
Add user id on the index
Add user id on the index
JSON
mit
AnyFetch/anyfetch.js,AnyFetch/anyfetch.js
json
## Code Before: { "user_email": "test@anyfetch.com", "documents_url": "/documents/", "document_types_url": "/document_types/", "providers_url": "/providers/", "users_url": "/users/", "current_user_url": "/users/52f0bb24c8318c2d65000036", "update_url": "/company/update", "reset_url": "/company/reset", ...
5bc9c184708af78236978a940044a996e7732d6d
spec/dot_spec.js
spec/dot_spec.js
var random = require('./randoms'); describe('dot_compiler', function() { var fixt = { word: random.word(), qwer: '{"a":1}', dotted: '{{= "asdf" }}', dotted_w_params: '{{= it.title }}', nested_include: '{{= it.include("asdf") }}' }; var dot = new (require('../lib/dot_compiler'))({ it: {t...
var random = require('./randoms'); describe('dot_compiler', function() { var fixt = { word: random.word(), qwer: '{"a":1}', dotted: '{{= "asdf" }}', dotted_w_params: '{{= it.title }}', nested_include: '{{= it.include("asdf") }}' }; var dot = new (require('../lib/dot_compiler'))({ it: {t...
Add tests for it extender
Add tests for it extender
JavaScript
mit
cambridge-healthcare/grunt-stencil,brainshave/grunt-zetzer,brainshave/zetzer,brainshave/grunt-zetzer
javascript
## Code Before: var random = require('./randoms'); describe('dot_compiler', function() { var fixt = { word: random.word(), qwer: '{"a":1}', dotted: '{{= "asdf" }}', dotted_w_params: '{{= it.title }}', nested_include: '{{= it.include("asdf") }}' }; var dot = new (require('../lib/dot_compiler...
9e0a931c05c8982abb9a94e914ad4d06a3b340ac
api/base.rb
api/base.rb
require "sinatra/base" require "sinatra/reloader" require "sinatra/namespace" require "multi_json" require "lib/sinatra/response_helper" require "lib/sinatra/utility_helper" module Api class Base < ::Sinatra::Base register ::Sinatra::ResponseHelper register ::Sinatra::UtilitytHelper register ::Sinatra::...
require "sinatra/base" require "sinatra/reloader" require "sinatra/namespace" require "multi_json" require "lib/sinatra/response_helper" require "lib/sinatra/utility_helper" module Api class Base < ::Sinatra::Base register ::Sinatra::ResponseHelper register ::Sinatra::UtilitytHelper register ::Sinatra::...
Add authentication via parameter "apikey"
Add authentication via parameter "apikey" When using the API via a website that is protected with HTTP BASIC auth in Apache or Nginx, we were running into issues. In those scenarios we can now pass the key as a parameter.
Ruby
mit
augustash/send-the-style
ruby
## Code Before: require "sinatra/base" require "sinatra/reloader" require "sinatra/namespace" require "multi_json" require "lib/sinatra/response_helper" require "lib/sinatra/utility_helper" module Api class Base < ::Sinatra::Base register ::Sinatra::ResponseHelper register ::Sinatra::UtilitytHelper regi...
6bf341e9b348ee0de6133f220056a49bd6a4a180
test/unit/lib/rake_task_test.rb
test/unit/lib/rake_task_test.rb
require 'test_helper' class RakeTaskTest < ActiveSupport::TestCase test 'regression test for rake reminders' do assert_equal 1, Project.projects_to_remind.size result = system 'rake reminders >/dev/null' assert result assert_equal 0, Project.projects_to_remind.size end end
require 'test_helper' require 'database_cleaner' DatabaseCleaner.strategy = :transaction class RakeTaskTest < ActiveSupport::TestCase # When using DatabaseCleaner, transactional fixtures must be off. self.use_transactional_tests = false setup do # Start DatabaseCleaner before each test. DatabaseCleaner....
Fix seed issue with rakeTaskTest regression test
Fix seed issue with rakeTaskTest regression test Signed-off-by: Jason Dossett <e6f895edd39634df23774f0615e338f58a73f02c@utdallas.edu>
Ruby
mit
wanganyv/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,coreinfrastructure/best-practices-badge,taylorcoursey/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-pract...
ruby
## Code Before: require 'test_helper' class RakeTaskTest < ActiveSupport::TestCase test 'regression test for rake reminders' do assert_equal 1, Project.projects_to_remind.size result = system 'rake reminders >/dev/null' assert result assert_equal 0, Project.projects_to_remind.size end end ## Instr...
ba41c5313a1d928e78c8e18f17822b08096398a1
src/Events/BuildClientView.php
src/Events/BuildClientView.php
<?php namespace Flarum\Events; use Flarum\Support\ClientAction; use Flarum\Support\ClientView; use Flarum\Forum\Actions\ClientAction as ForumClientAction; class BuildClientView { /** * @var ClientAction */ public $action; /** * @var ClientView */ public $view; /** * @var...
<?php namespace Flarum\Events; use Flarum\Support\ClientAction; use Flarum\Support\ClientView; use Flarum\Forum\Actions\ClientAction as ForumClientAction; use Flarum\Admin\Actions\ClientAction as AdminClientAction; class BuildClientView { /** * @var ClientAction */ public $action; /** * @v...
Allow for the addition of admin assets
Allow for the addition of admin assets I think the `BuildClientView` event should ultimately be split into two separate events for the forum/admin clients, but this is fine for now.
PHP
mit
zaksoup/core,Luceos/core,kidaa/core,liukaijv/core,Onyx47/core,dungphanxuan/core,jubianchi/core,Onyx47/core,Albert221/core,huytd/core,datitisev/core,liukaijv/core,billmn/core,Luceos/core,utkarshx/core,kirkbushell/core,Albert221/core,dungphanxuan/core,vuthaihoc/core,kidaa/core,malayladu/core,zaksoup/core,renyuneyun/core,...
php
## Code Before: <?php namespace Flarum\Events; use Flarum\Support\ClientAction; use Flarum\Support\ClientView; use Flarum\Forum\Actions\ClientAction as ForumClientAction; class BuildClientView { /** * @var ClientAction */ public $action; /** * @var ClientView */ public $view; ...
1476e9c0a9e20490666eb8eda4d0f4354a3fe11e
Lilliput/DefaultConstructibleExtensions.swift
Lilliput/DefaultConstructibleExtensions.swift
import Foundation extension String: DefaultConstructible {}
import Foundation extension Array : DefaultConstructible {} extension AutoreleasingUnsafeMutablePointer : DefaultConstructible {} extension Bool : DefaultConstructible {} extension COpaquePointer : DefaultConstructible {} extension ContiguousArray : DefaultConstructible {} extension Dictionary : DefaultConstructible {...
Add a bunch of DefaultConstructible extensions
Add a bunch of DefaultConstructible extensions Closes #8
Swift
mit
mattdeckard/Lilliput
swift
## Code Before: import Foundation extension String: DefaultConstructible {} ## Instruction: Add a bunch of DefaultConstructible extensions Closes #8 ## Code After: import Foundation extension Array : DefaultConstructible {} extension AutoreleasingUnsafeMutablePointer : DefaultConstructible {} extension Bool : Defau...
e5684f3613b2d5f1eb760bfe9c6d67530f27ce42
lib/hello_sign/client.rb
lib/hello_sign/client.rb
require 'faraday' require 'faraday_middleware-multi_json' module HelloSign class Client API_ENDPOINT = 'https://api.hellosign.com' API_VERSION = '/v3' attr_reader :email, :password attr_writer :connection def initialize(email, password) @email = email @password = password en...
require 'faraday' require 'faraday_middleware-multi_json' module HelloSign class Client API_ENDPOINT = 'https://api.hellosign.com' API_VERSION = '/v3' attr_reader :email, :password attr_writer :connection def initialize(email, password) @email = email @password = password en...
Add multipart middleware to Faraday stack
Add multipart middleware to Faraday stack
Ruby
mit
craiglittle/hello_sign,craiglittle/hello_sign
ruby
## Code Before: require 'faraday' require 'faraday_middleware-multi_json' module HelloSign class Client API_ENDPOINT = 'https://api.hellosign.com' API_VERSION = '/v3' attr_reader :email, :password attr_writer :connection def initialize(email, password) @email = email @password =...
8b64a36627e3cc80c7e41b2852ad257e1aed1a00
git/branch_tree.sh
git/branch_tree.sh
SCRIPT_DIRECTORY="$(dirname "$0")" source $SCRIPT_DIRECTORY/util.sh set -e declare -A branch_parents outputs=() print_branch_tree() { local branch=$1 local depth=($2) local upstream=$(git rev-parse --abbrev-ref --symbolic-full-name $branch@{upstream}) calculate_commits_ahead_of_upstream $branch $ups...
SCRIPT_DIRECTORY="$(dirname "$0")" source $SCRIPT_DIRECTORY/util.sh set -e declare -A branch_parents outputs=() print_branch_tree() { local branch=$1 local depth=($2) depth=$((depth)) local upstream=$(git rev-parse --abbrev-ref --symbolic-full-name $branch@{upstream}) local siblings=(${branch_p...
ADd commit counts, fix far left visual bar icon
ADd commit counts, fix far left visual bar icon
Shell
mit
peplin/dotfiles,peplin/dotfiles,peplin/dotfiles,peplin/dotfiles
shell
## Code Before: SCRIPT_DIRECTORY="$(dirname "$0")" source $SCRIPT_DIRECTORY/util.sh set -e declare -A branch_parents outputs=() print_branch_tree() { local branch=$1 local depth=($2) local upstream=$(git rev-parse --abbrev-ref --symbolic-full-name $branch@{upstream}) calculate_commits_ahead_of_upstr...
f463eed637f77725d9a8583f46e5f614f573b1a1
build.sbt
build.sbt
import org.nlogo.build.{ NetLogoExtension, ExtensionDocumentationPlugin } enablePlugins(NetLogoExtension, ExtensionDocumentationPlugin) version := "2.0.1" isSnapshot := true netLogoVersion := "6.2.2" netLogoExtName := "palette" netLogoClassManager := "PaletteExtension" javaSource in Compile := baseDire...
import org.nlogo.build.{ NetLogoExtension, ExtensionDocumentationPlugin } enablePlugins(NetLogoExtension, ExtensionDocumentationPlugin) version := "2.0.1" isSnapshot := true netLogoVersion := "6.2.2" netLogoExtName := "palette" netLogoClassManager := "PaletteExtension" javaSource in Compile := baseDire...
Add `-release 11` for J11 compatibility
Infrastructure: Add `-release 11` for J11 compatibility
Scala
mit
NetLogo/Palette-Extension
scala
## Code Before: import org.nlogo.build.{ NetLogoExtension, ExtensionDocumentationPlugin } enablePlugins(NetLogoExtension, ExtensionDocumentationPlugin) version := "2.0.1" isSnapshot := true netLogoVersion := "6.2.2" netLogoExtName := "palette" netLogoClassManager := "PaletteExtension" javaSource in Com...
459e3c6693e37e95a5d6c4b89fb839108a9cd504
.travis.yml
.travis.yml
sudo: false language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: global: - secure: notifications: email: false before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b -p $HOME/miniconda - ...
sudo: false language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: global: - secure: notifications: email: false before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b -p $HOME/miniconda - ...
Fix for cd'ing into Travis builddir.
Fix for cd'ing into Travis builddir.
YAML
agpl-3.0
csferrie/python-qinfer,QInfer/python-qinfer,ihincks/python-qinfer,whitewhim2718/python-qinfer,MichalKononenko/python-qinfer,Alan-Robertson/python-qinfer
yaml
## Code Before: sudo: false language: python python: - "2.7" - "3.3" - "3.4" - "3.5" env: global: - secure: notifications: email: false before_install: - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - chmod +x miniconda.sh - ./miniconda.sh -b -p $HOM...
7f43907960391a08df1068cee5ffdaed0c35a2a0
roles/ruby/tasks/main.yml
roles/ruby/tasks/main.yml
--- - name: Clone chruby ansible.builtin.git: repo: 'https://github.com/postmodern/chruby' dest: '{{ PWD }}/../chruby' version: 'v0.3.9' depth: 1 ...
--- - name: Clone chruby ansible.builtin.git: repo: 'https://github.com/postmodern/chruby' dest: '{{ PWD }}/../chruby' version: 'v0.3.9' depth: 1 - name: Clone ruby-install ansible.builtin.git: repo: 'https://github.com/postmodern/ruby-install' dest: '{{ PWD }}/../ruby-install' version:...
Implement task for cloning ruby-install
auto: Implement task for cloning ruby-install
YAML
unlicense
cenouro/dotfiles
yaml
## Code Before: --- - name: Clone chruby ansible.builtin.git: repo: 'https://github.com/postmodern/chruby' dest: '{{ PWD }}/../chruby' version: 'v0.3.9' depth: 1 ... ## Instruction: auto: Implement task for cloning ruby-install ## Code After: --- - name: Clone chruby ansible.builtin.git: repo:...
d9cff8ce6eff5af10a14bc498f1cfc2d4def4990
react_router/react_router_2.x-notes.md
react_router/react_router_2.x-notes.md
```js function handleOnEnter(nextRouterState, replace[, done]) { ... // If a 3rd parameter is declared, then it must be called either with // no arguments or with an error argument. // On success: done(); // On error: done(Error(...)); } ``` ```js function handleOnLeave(prevRouterState) { ... } `...
```js function handleOnEnter(nextRouterState, replace[, done]) { ... // If a 3rd parameter is declared, then it must be called either with // no arguments or with an error argument. // On success: done(); // On error: done(Error(...)); } ``` ```js function handleOnLeave(prevRouterState) { ... } `...
Add Example of Route using Transition Listeners
Add Example of Route using Transition Listeners
Markdown
mit
dhurlburtusa/shortcuts,dhurlburtusa/shortcuts
markdown
## Code Before: ```js function handleOnEnter(nextRouterState, replace[, done]) { ... // If a 3rd parameter is declared, then it must be called either with // no arguments or with an error argument. // On success: done(); // On error: done(Error(...)); } ``` ```js function handleOnLeave(prevRouterSt...
8340b91b751117ef9164df868d0240d0216d5215
README.md
README.md
Template for creating MediaWiki Services in Node.js # Getting Started 1. Clone the repository ``` git clone https://github.com/wikimedia/service-template-node.git ``` 2. Install the dependencies ``` cd service-template-node npm install ``` 3. Activate the development configuration file ``` ln -s config.dev.yaml ...
Template for creating MediaWiki Services in Node.js # Getting Started First, clone the repository ``` git clone https://github.com/wikimedia/service-template-node.git ``` Install the dependencies ``` cd service-template-node npm install ``` Finally, activate the development configuration file ``` ln -s config.de...
Add some more info about running the code to the readme file
Add some more info about running the code to the readme file
Markdown
apache-2.0
zoondka/kartozoa,physikerwelt/mathpipe,brion/kartotherian,wikimedia/maps-kartotherian,gwicke/restevent,nyurik/service-template-node,wikimedia/mediawiki-services-mobileapps,kwangkim/mathoid,zoondka/kartozoa,milimetric/service-template-node,kartotherian/kartotherian,MonashAlexandria/mathoid,wikimedia/service-template-nod...
markdown
## Code Before: Template for creating MediaWiki Services in Node.js # Getting Started 1. Clone the repository ``` git clone https://github.com/wikimedia/service-template-node.git ``` 2. Install the dependencies ``` cd service-template-node npm install ``` 3. Activate the development configuration file ``` ln -s ...
4648a45acbf17d31826ca4176b19d4d587c9eba2
README.md
README.md
[![CircleCI](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg)]() [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?)](https://github.com/prettier/prettier) The client-facing app...
[![CircleCI](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg)]() [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?)](https://github.com/prettier/prettier) The client-facing app...
Update Readme for more clear instructions
Update Readme for more clear instructions Added more instructions on setting up a local version of this repo
Markdown
mit
stuyspec/client-app
markdown
## Code Before: [![CircleCI](https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg)]() [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?)](https://github.com/prettier/prettier) The c...
72139c15d2370a2bc8a391ba6d735f9f10b0f4e9
libraries/resource_rabbitmq_cluster.rb
libraries/resource_rabbitmq_cluster.rb
class Chef::Resource::RabbitmqCluster < Chef::Resource::LWRPBase self.resource_name = :rabbitmq_cluster provides :rabbitmq_cluster actions(:create, :update, :delete) default_action(:create) attribute(:cluster_name, kind_of: String, name_attribute: true, required: true, cannot_be: :empty) a...
class Chef::Resource::RabbitmqCluster < Chef::Resource::LWRPBase self.resource_name = :rabbitmq_cluster provides :rabbitmq_cluster actions(:create, :update, :delete) default_action(:create) attribute(:cluster_name, kind_of: String, name_attribute: true, cannot_be: :empty) attribute(:node_type,...
Remove requirement as name attribute is always required.
Remove requirement as name attribute is always required.
Ruby
apache-2.0
johnbellone/rabbitmq-cluster-cookbook
ruby
## Code Before: class Chef::Resource::RabbitmqCluster < Chef::Resource::LWRPBase self.resource_name = :rabbitmq_cluster provides :rabbitmq_cluster actions(:create, :update, :delete) default_action(:create) attribute(:cluster_name, kind_of: String, name_attribute: true, required: true, cannot...
c39d3923d2a288d57d3a051cfa00aeec6bc74007
app.js
app.js
var express = require('express'); var RedisStore = require('connect-redis')(express); var routes = require('./routes'); var url = require('url'); var whiskers = require('whiskers'); var port = process.env.PORT || 8127; var redisUrl = process.env.REDISTOGO_URL && url.parse(process.env.REDISTOGO_URL); var redisOption...
var express = require('express'); var RedisStore = require('connect-redis')(express); var routes = require('./routes'); var url = require('url'); var whiskers = require('whiskers'); var port = process.env.PORT || process.argv[2] || 8127; var redisUrl = process.env.REDISTOGO_URL && url.parse(process.env.REDISTOGO_UR...
Allow port to be passed in as argv
Allow port to be passed in as argv
JavaScript
mit
sheltr/sheltr
javascript
## Code Before: var express = require('express'); var RedisStore = require('connect-redis')(express); var routes = require('./routes'); var url = require('url'); var whiskers = require('whiskers'); var port = process.env.PORT || 8127; var redisUrl = process.env.REDISTOGO_URL && url.parse(process.env.REDISTOGO_URL);...
2d1798eb26614d87fca94efff25ea0384ae811b5
Sketches/MPS/Experiments/Likefile2/likefile/TestLikeFile.py
Sketches/MPS/Experiments/Likefile2/likefile/TestLikeFile.py
import time from background import background from Kamaelia.UI.Pygame.Text import Textbox, TextDisplayer from LikeFile import LikeFile background().start() import Queue TD = LikeFile( TextDisplayer(position=(20, 90), text_height=36, screen_width=900, ...
import time from background import background from Kamaelia.UI.Pygame.Text import Textbox, TextDisplayer from LikeFile import LikeFile background().start() import Queue TD = LikeFile( TextDisplayer(position=(20, 90), text_height=36, screen_width=900, ...
Test harness changed to forward the message recieved over the like-file interface to the other one, using it's like-file interface
Test harness changed to forward the message recieved over the like-file interface to the other one, using it's like-file interface Michael
Python
apache-2.0
sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia,sparkslabs/kamaelia
python
## Code Before: import time from background import background from Kamaelia.UI.Pygame.Text import Textbox, TextDisplayer from LikeFile import LikeFile background().start() import Queue TD = LikeFile( TextDisplayer(position=(20, 90), text_height=36, screen_width=9...
f9c6f64e390cdc09ab8a3f9bb28923d6cd2b6af6
src/@data/withHomeFeed/homeFeedQuery.js
src/@data/withHomeFeed/homeFeedQuery.js
import gql from 'graphql-tag'; const contentFragment = gql` fragment ContentForFeed on Content { entryId: id title channelName status meta { siteId date channelId } parent { entryId: id content { isLight colors { value desc...
import gql from 'graphql-tag'; const contentFragment = gql` fragment ContentForFeed on Content { entryId: id title channelName status meta { siteId date channelId } parent { entryId: id content { isLight colors { value desc...
Remove $options from userFeed query
Remove $options from userFeed query
JavaScript
mit
NewSpring/Apollos,NewSpring/Apollos,NewSpring/Apollos,NewSpring/Apollos,NewSpring/Apollos,NewSpring/Apollos
javascript
## Code Before: import gql from 'graphql-tag'; const contentFragment = gql` fragment ContentForFeed on Content { entryId: id title channelName status meta { siteId date channelId } parent { entryId: id content { isLight colors { valu...
bdecf738601ad95717969f515810bbef11b8e748
README.md
README.md
[![Build Status](https://travis-ci.org/jakubknejzlik/unit-converter.svg?branch=master)](https://travis-ci.org/jakubknejzlik/unit-converter) Use convenient format for writing amounts and easily convert them to useful numbers. `npm install unit-converter` # Example var convert = require('unit-converter'); c...
[![Build Status](https://travis-ci.org/jakubknejzlik/unit-converter.svg?branch=master)](https://travis-ci.org/jakubknejzlik/unit-converter) Use convenient format for writing amounts and easily convert them to useful numbers. `npm install unit-converter` # Example import { convert } from 'unit-converter'; ...
Update readme to reflect typescript
Update readme to reflect typescript
Markdown
mit
jakubknejzlik/unit-converter,jakubknejzlik/unit-converter
markdown
## Code Before: [![Build Status](https://travis-ci.org/jakubknejzlik/unit-converter.svg?branch=master)](https://travis-ci.org/jakubknejzlik/unit-converter) Use convenient format for writing amounts and easily convert them to useful numbers. `npm install unit-converter` # Example var convert = require('unit-con...
476ecd8d987ed8c77c179bd4b9e54c50d2d3567f
git_login.sh
git_login.sh
if [ ! -f /etc/motd_vagrant ]; then echo 'You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' >> /etc/motd_vagrant fi if [ ! -f /etc/motd_git ]; then echo 'You are now logged in as the vagrant user' >> /etc/motd_git fi if [ ! -f /etc/profile.d/mes...
if [ ! -f /home/git/.profile ]; then echo 'echo You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' | su git -c 'cat >> /home/git/.profile' fi cat /home/vagrant/.bashrc | grep 'sudo su - git' || echo 'sudo su - git' >> /home/vagrant/.bashrc
Simplify git user welcome message
Simplify git user welcome message - the motd texts were reversed (motd_vagrant saying 'you are git') - there was not motd_root
Shell
mit
maoueh/cookbook-gitlab,maoueh/cookbook-gitlab,dfang/deploy_gitlab,maoueh/cookbook-gitlab
shell
## Code Before: if [ ! -f /etc/motd_vagrant ]; then echo 'You are now logged in as the git user that runs GitLab, to get sudo privileges please exit to become the vagrant user' >> /etc/motd_vagrant fi if [ ! -f /etc/motd_git ]; then echo 'You are now logged in as the vagrant user' >> /etc/motd_git fi if [ ! -f /e...
197c5c556def432ab67f8dc53711035cb8a94eaa
.travis.yml
.travis.yml
language: node_js node_js: - "lts/*" dist: trusty # needs Ubuntu Trusty # Note: if you switch to sudo: false, you'll need to launch Chrome with --no-sandbox. # See https://github.com/travis-ci/travis-ci/issues/8836 sudo: required addons: chrome: stable # have Travis install Chrome stable. script: npm test && npm ru...
language: node_js node_js: - "lts/*" dist: trusty # needs Ubuntu Trusty # Note: if you switch to sudo: false, you'll need to launch Chrome with --no-sandbox. # See https://github.com/travis-ci/travis-ci/issues/8836 sudo: required addons: chrome: stable # have Travis install Chrome stable. script: npm test && npm ru...
Update to publish help to SDK docs page
Update to publish help to SDK docs page
YAML
mit
geospatial-services-framework/gsf-js-client-sdk
yaml
## Code Before: language: node_js node_js: - "lts/*" dist: trusty # needs Ubuntu Trusty # Note: if you switch to sudo: false, you'll need to launch Chrome with --no-sandbox. # See https://github.com/travis-ci/travis-ci/issues/8836 sudo: required addons: chrome: stable # have Travis install Chrome stable. script: np...
623b8e96ced79dd81bf7635433314b48b5f8f5ce
gradle.properties
gradle.properties
group = org.junit.jupiter version = 5.0.0-M1 platformGroup = org.junit.platform platformVersion = 1.0.0-M1 vintageGroup = org.junit.vintage vintageVersion = 4.12.0-M1 sourceCompatibility = 1.8 targetCompatibility = 1.8 assertJVersion = 3.4.1 junit4Version = 4.12 log4...
group = org.junit.jupiter version = 5.0.0-SNAPSHOT platformGroup = org.junit.platform platformVersion = 1.0.0-SNAPSHOT vintageGroup = org.junit.vintage vintageVersion = 4.12.0-SNAPSHOT sourceCompatibility = 1.8 targetCompatibility = 1.8 assertJVersion = 3.4.1 junit4Ve...
Use SNAPSHOT versions for development
Use SNAPSHOT versions for development
INI
epl-1.0
sbrannen/junit-lambda,junit-team/junit-lambda
ini
## Code Before: group = org.junit.jupiter version = 5.0.0-M1 platformGroup = org.junit.platform platformVersion = 1.0.0-M1 vintageGroup = org.junit.vintage vintageVersion = 4.12.0-M1 sourceCompatibility = 1.8 targetCompatibility = 1.8 assertJVersion = 3.4.1 junit4Vers...
bc39acf8df376c28583386f88e5a7bcfa799a6d7
src/Elfiggo/Brobdingnagian/Report/ExceptionHandler.php
src/Elfiggo/Brobdingnagian/Report/ExceptionHandler.php
<?php namespace Elfiggo\Brobdingnagian\Report; use Elfiggo\Brobdingnagian\Exception\ClassSizeTooLarge; class ExceptionHandler implements Handler { public function act($message, $class) { switch($class) { case 'ClassSize': throw new ClassSizeTooLarge($message);break; default:br...
<?php namespace Elfiggo\Brobdingnagian\Report; use Elfiggo\Brobdingnagian\Exception\ClassSizeTooLarge; class ExceptionHandler implements Handler { public function act($message, $class) { switch($class) { case 'Elfiggo\Brobdingnagian\Detector\ClassSize': throw new ClassSize...
Update class name for exception handler
Update class name for exception handler
PHP
mit
eddiejaoude/brobdingnagian-detector-phpspec-extension,Elfiggo/brobdingnagian-detector-phpspec-extension
php
## Code Before: <?php namespace Elfiggo\Brobdingnagian\Report; use Elfiggo\Brobdingnagian\Exception\ClassSizeTooLarge; class ExceptionHandler implements Handler { public function act($message, $class) { switch($class) { case 'ClassSize': throw new ClassSizeTooLarge($message);break; ...
681261b88988a608b7847458ad20fc76414855bc
catalog/Testing/testing_frameworks.yml
catalog/Testing/testing_frameworks.yml
name: Test Frameworks description: projects: - assert - bacon - detest - dtf - fix - kintama - lemon - micronaut - minitest - riot - rspec - rubydoctest - shindo - test-unit - test_inline - testrocket - testy - wrong
name: Test Frameworks description: projects: - assert - bacon - detest - dtf - fix - kintama - lemon - micronaut - minitest - riot - rspec - rubydoctest - shindo - test-unit - test_inline - testrocket - testy - wrong - yard-doctest
Add yard-doctest to the list of testing frameworks
Add yard-doctest to the list of testing frameworks
YAML
mit
rubytoolbox/catalog
yaml
## Code Before: name: Test Frameworks description: projects: - assert - bacon - detest - dtf - fix - kintama - lemon - micronaut - minitest - riot - rspec - rubydoctest - shindo - test-unit - test_inline - testrocket - testy - wrong ## Instruction: Add yard-doctest to the list of te...
cfc9398159950584ebed1d7abe02fa54ed33629f
.github/workflows/continuous-integration.yml
.github/workflows/continuous-integration.yml
name: Continuous integration on: pull_request: workflow_call: jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Cache the node_modules dir uses: actions/cache@v2 with: path: node_modules key: ${{ runner.os }}-node_modules-$...
name: Continuous integration on: pull_request: workflow_call: jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Cache the node_modules dir uses: actions/cache@v2 with: path: node_modules key: ${{ runner.os }}-node_modules-$...
Archive packages after CI run
Archive packages after CI run Fetch git tags before building packages, so that they get correct version numbers, and then archive them at the end of the run, so they are available for calling workflows or just for developers to download and share for testing.
YAML
bsd-2-clause
hypothesis/browser-extension,hypothesis/browser-extension,hypothesis/browser-extension,hypothesis/browser-extension
yaml
## Code Before: name: Continuous integration on: pull_request: workflow_call: jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Cache the node_modules dir uses: actions/cache@v2 with: path: node_modules key: ${{ runner.os }...
c2f9044ceaff4cc62f7107c332eb6feae17a0a3f
misc/zsh-setup.sh
misc/zsh-setup.sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Manual workaronud - it downloads some custom plugins and # add them in ~/.oh-my-zsh/ directory git clone git://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM"/plugins/zsh-autosuggestions
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh chsh -s "$(grep /zsh$ /etc/shells | tail -1)" # Manual workaronud - it downloads some custom plugins and # add them in ~/.oh-my-zsh/ directory git clone git://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
Update zsh installation to manual installation rather than cURL
Update zsh installation to manual installation rather than cURL
Shell
mit
rytswd/Homerecipe,rytswd/Homerecipe
shell
## Code Before: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # Manual workaronud - it downloads some custom plugins and # add them in ~/.oh-my-zsh/ directory git clone git://github.com/zsh-users/zsh-autosuggestions "$ZSH_CUSTOM"/plugins/zsh-autosuggestions #...
0e1d8a8e1e0ff00183be05774e1a6ae96a197fc3
README.md
README.md
PenisBattles.TV =============== ###Virtual machine: * Service: **Windows Azure** * Public IP: **23.97.147.236** * Inernal IP: **100.91.104.138** * DNS name: **pbattletv.cloudapp.net** * Size: **Basic_A1 (1 core, 1.75 GB memory)** * Location: **West Europe** * Endpoints: * HTTP: **[pbattletv.cloudapp.net:80](http://p...
PenisBattles.TV =============== ###Virtual machine: * Service: **Windows Azure** * Public IP: **23.97.147.236** * Inernal IP: **100.91.104.138** * DNS name: **pbattletv.cloudapp.net** * Size: **Basic_A1 (1 core, 1.75 GB memory)** * Location: **West Europe** * Endpoints: * HTTP: **[pbattletv.cloudapp.net:80](http://p...
Update readme: add signalmaster endpoint
Update readme: add signalmaster endpoint
Markdown
apache-2.0
Appius/PBattles.TV,Appius/PBattles.TV,Appius/PBattles.TV
markdown
## Code Before: PenisBattles.TV =============== ###Virtual machine: * Service: **Windows Azure** * Public IP: **23.97.147.236** * Inernal IP: **100.91.104.138** * DNS name: **pbattletv.cloudapp.net** * Size: **Basic_A1 (1 core, 1.75 GB memory)** * Location: **West Europe** * Endpoints: * HTTP: **[pbattletv.cloudapp....
afaaefb39f111b0bf11b2946ba21cc748922a7a3
lib/fabrication/generator/active_record.rb
lib/fabrication/generator/active_record.rb
class Fabrication::Generator::ActiveRecord < Fabrication::Generator::Base def self.supports?(klass) defined?(ActiveRecord) && klass.ancestors.include?(ActiveRecord::Base) end def method_missing(method_name, *args, &block) method_name = method_name.to_s if block_given? options = args.first || {...
class Fabrication::Generator::ActiveRecord < Fabrication::Generator::Base def self.supports?(klass) defined?(ActiveRecord) && klass.ancestors.include?(ActiveRecord::Base) end def method_missing(method_name, *args, &block) method_name = method_name.to_s if block_given? options = args.first || {...
Move count determination into block that uses it
Move count determination into block that uses it
Ruby
mit
supremebeing7/fabrication,supremebeing7/fabrication,paulelliott/fabrication,damsonn/fabrication,damsonn/fabrication,gregburek/fabrication,gregburek/fabrication,paulelliott/fabrication
ruby
## Code Before: class Fabrication::Generator::ActiveRecord < Fabrication::Generator::Base def self.supports?(klass) defined?(ActiveRecord) && klass.ancestors.include?(ActiveRecord::Base) end def method_missing(method_name, *args, &block) method_name = method_name.to_s if block_given? options =...
ba05e9fa1f24328df1a2dd2bf31b50e3aec36f39
config/travis.exs
config/travis.exs
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ifires_sunshine_battleacademy, IfiresSunshineBattleacademy.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configur...
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ifires_sunshine_battleacademy, IfiresSunshineBattleacademy.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configur...
Use sandbox pool in test.
Use sandbox pool in test.
Elixir
apache-2.0
djdduty/sunshines_battleacademy,fire/sunshines_battleacademy,djdduty/sunshines_battleacademy,fire/sunshines_battleacademy
elixir
## Code Before: use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ifires_sunshine_battleacademy, IfiresSunshineBattleacademy.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :...
60b831c30cecf87da80bebc6de74fd692e3491a8
lib/ui/src/components/sidebar/Sidebar.stories.js
lib/ui/src/components/sidebar/Sidebar.stories.js
import React from 'react'; import Sidebar from './Sidebar'; import * as SidebarHeadingStories from './SidebarHeading.stories'; import * as NotificationsListStories from './NotificationList.stories'; export default { Component: Sidebar, title: 'UI|Sidebar/Sidebar', }; const { menu } = SidebarHeadingStories.simple...
import React from 'react'; import Sidebar from './Sidebar'; import * as SidebarHeadingStories from './SidebarHeading.stories'; import * as NotificationsListStories from './NotificationList.stories'; import * as StoriesExplorerStories from './StoriesExplorer.stories'; export default { Component: Sidebar, title: 'U...
Add a sidebar story with a filled out explorer
Add a sidebar story with a filled out explorer
JavaScript
mit
storybooks/storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/react-storybook,storybooks/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,storybooks/react-storybook,kadirahq/react-storybook,storybooks/storybook,storybooks/react-storybook
javascript
## Code Before: import React from 'react'; import Sidebar from './Sidebar'; import * as SidebarHeadingStories from './SidebarHeading.stories'; import * as NotificationsListStories from './NotificationList.stories'; export default { Component: Sidebar, title: 'UI|Sidebar/Sidebar', }; const { menu } = SidebarHeadi...
d92a194ff79bc2a3f1b9227b25792b1cec0bef33
app/models/guest_device.rb
app/models/guest_device.rb
class GuestDevice < ApplicationRecord belongs_to :hardware has_one :vm_or_template, :through => :hardware has_one :vm, :through => :hardware has_one :miq_template, :through => :hardware has_one :host, :through => :hardware belongs_to :switch # pNICs link to one switch belongs_...
class GuestDevice < ApplicationRecord belongs_to :hardware has_one :vm_or_template, :through => :hardware has_one :vm, :through => :hardware has_one :miq_template, :through => :hardware has_one :host, :through => :hardware belongs_to :switch # pNICs link to one switch belongs_...
Add display name for guest device
Add display name for guest device
Ruby
apache-2.0
ManageIQ/manageiq,NickLaMuro/manageiq,ManageIQ/manageiq,yaacov/manageiq,pkomanek/manageiq,d-m-u/manageiq,agrare/manageiq,jrafanie/manageiq,kbrock/manageiq,lpichler/manageiq,romanblanco/manageiq,skateman/manageiq,skateman/manageiq,syncrou/manageiq,tinaafitz/manageiq,romanblanco/manageiq,borod108/manageiq,billfitzgerald0...
ruby
## Code Before: class GuestDevice < ApplicationRecord belongs_to :hardware has_one :vm_or_template, :through => :hardware has_one :vm, :through => :hardware has_one :miq_template, :through => :hardware has_one :host, :through => :hardware belongs_to :switch # pNICs link to one s...
96e0ff0b9567193d9007bbbaf310fbc2c57c9662
tasks/Alpine.yml
tasks/Alpine.yml
--- # tasks file for python-requirements(On Alpine Linux) # Playbook using this role should remove cache like: # rm -rf /var/cache/apk/* /var/lib/apk/* /etc/apk/cache/* # In almost cases, It's OK to remove only /var/cache/apk/* # Ref. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Update_the_Package_l...
--- # tasks file for python-requirements(On Alpine Linux) # Playbook using this role should remove cache like: # rm -rf /var/cache/apk/* /var/lib/apk/* /etc/apk/cache/* # In almost cases, It's OK to remove only /var/cache/apk/* # Ref. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Update_the_Package_l...
Package installation needs root privilege.
Package installation needs root privilege.
YAML
mit
FGtatsuro/ansible-python-requirements
yaml
## Code Before: --- # tasks file for python-requirements(On Alpine Linux) # Playbook using this role should remove cache like: # rm -rf /var/cache/apk/* /var/lib/apk/* /etc/apk/cache/* # In almost cases, It's OK to remove only /var/cache/apk/* # Ref. http://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Upda...
cd540f08eb8d8738536410ddf9c8de82b3e8fc5d
lib/codelation/development/dependencies.rb
lib/codelation/development/dependencies.rb
require "thor" module Codelation class Cli < Thor private # Install dependencies for building and installing everything else. def install_dependencies print_command("Installing Homebrew from http://brew.sh") `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/insta...
require "thor" module Codelation class Cli < Thor private # Install dependencies for building and installing everything else. def install_dependencies print_command("Installing Homebrew from http://brew.sh") `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/insta...
Remove installing make w/ homebrew
Remove installing make w/ homebrew
Ruby
mit
dogIDs/dogids-cli
ruby
## Code Before: require "thor" module Codelation class Cli < Thor private # Install dependencies for building and installing everything else. def install_dependencies print_command("Installing Homebrew from http://brew.sh") `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst...
0ea18bd05a01604a4a8b603f3df54384a36d33cc
requirements.txt
requirements.txt
bcrypt==2.0.0 boto==2.38.0 cffi==1.3.1 CherryPy==3.8.0 Mako==1.0.3 pymongo==3.0.3 PyYAML==3.11 requests==2.7.0 psutil==3.2.2 pytz==2015.7 six==1.9.0 # celery_jobs celery==3.1.16 # geospatial geojson==1.0.7 # hdfs_assetstore snakebite==2.5.1 ; python_version < '3.0' # metadata_extractor hachoir-core==1.3.3 ; pyt...
bcrypt==2.0.0 boto==2.38.0 cffi==1.3.1 CherryPy==3.8.0 Mako==1.0.3 pymongo==3.0.3 PyYAML==3.11 requests==2.7.0 psutil==3.2.2 pytz==2015.7 six==1.9.0 # celery_jobs celery==3.1.16 # geospatial geojson==1.0.7 # hdfs_assetstore snakebite==2.5.1 ; python_version < '3.0' # metadata_extractor hachoir-core==1.3.3 ; pyt...
Move pytz (conflicted with @jbeezley's branch)
Move pytz (conflicted with @jbeezley's branch)
Text
apache-2.0
jbeezley/girder,kotfic/girder,sutartmelson/girder,adsorensen/girder,kotfic/girder,msmolens/girder,opadron/girder,salamb/girder,manthey/girder,jbeezley/girder,sutartmelson/girder,sutartmelson/girder,manthey/girder,adsorensen/girder,msmolens/girder,data-exp-lab/girder,msmolens/girder,RafaelPalomar/girder,jbeezley/girder,...
text
## Code Before: bcrypt==2.0.0 boto==2.38.0 cffi==1.3.1 CherryPy==3.8.0 Mako==1.0.3 pymongo==3.0.3 PyYAML==3.11 requests==2.7.0 psutil==3.2.2 pytz==2015.7 six==1.9.0 # celery_jobs celery==3.1.16 # geospatial geojson==1.0.7 # hdfs_assetstore snakebite==2.5.1 ; python_version < '3.0' # metadata_extractor hachoir-core=...
c10d5935a29ce47e34cb6369e228edc3834733cc
27_message_passing/src/main.rs
27_message_passing/src/main.rs
use std::thread; use std::sync::mpsc; use std::time::Duration; fn main() { let (tx, rx) = mpsc::channel(); thread::spawn(move || { let vals = vec![ String::from("Hello there"), String::from("Hello there 2"), String::from("Hello there 3"), String::from("H...
use std::thread; use std::sync::mpsc; use std::time::Duration; fn main() { let (tx, rx) = mpsc::channel(); let cloned_tx = tx.clone(); thread::spawn(move || { let vals = vec![ String::from("Hello there"), String::from("Hello there 2"), String::from("Hello there...
Add second thread sending messages
Add second thread sending messages
Rust
mit
pgrzesik/learning-rust
rust
## Code Before: use std::thread; use std::sync::mpsc; use std::time::Duration; fn main() { let (tx, rx) = mpsc::channel(); thread::spawn(move || { let vals = vec![ String::from("Hello there"), String::from("Hello there 2"), String::from("Hello there 3"), ...
793ff0fec9d438bfdcf63e04f1d6897cadbf7a8a
lib/db/adapteroci8.php
lib/db/adapteroci8.php
<?php /** * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\DB; class AdapterOCI8 extends Adapter { public function lastInsertId($table) { if($table !== null) { $suffix ...
<?php /** * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\DB; class AdapterOCI8 extends Adapter { public function lastInsertId($table) { if($table !== null) { $suffix ...
Fix lastInsertId for OCI8 adapter
Fix lastInsertId for OCI8 adapter
PHP
agpl-3.0
michaelletzgus/nextcloud-server,pollopolea/core,sharidas/core,andreas-p/nextcloud-server,Ardinis/server,whitekiba/server,michaelletzgus/nextcloud-server,andreas-p/nextcloud-server,whitekiba/server,owncloud/core,andreas-p/nextcloud-server,pixelipo/server,Ardinis/server,owncloud/core,IljaN/core,phil-davis/core,andreas-p/...
php
## Code Before: <?php /** * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\DB; class AdapterOCI8 extends Adapter { public function lastInsertId($table) { if($table !== nul...
1d31a10dc4c2fa4e76b574f73275ef183529293f
build/tasks/generate-license-task.coffee
build/tasks/generate-license-task.coffee
fs = require 'fs' path = require 'path' module.exports = (grunt) -> grunt.registerTask 'generate-license', 'Generate the license, including the licenses of all dependencies', (mode) -> legalEagle = require 'legal-eagle' done = @async() options = path: process.cwd() overrides: require './lice...
fs = require 'fs' path = require 'path' module.exports = (grunt) -> grunt.registerTask 'generate-license', 'Generate the license, including the licenses of all dependencies', (mode) -> legalEagle = require 'legal-eagle' done = @async() options = path: process.cwd() overrides: require './lice...
Include original LICENSE.md in generated file
Include original LICENSE.md in generated file
CoffeeScript
mit
batjko/atom,wiggzz/atom,jjz/atom,RobinTec/atom,jtrose2/atom,Jandersoft/atom,acontreras89/atom,RobinTec/atom,sebmck/atom,palita01/atom,kc8wxm/atom,Ingramz/atom,beni55/atom,ezeoleaf/atom,originye/atom,NunoEdgarGub1/atom,nrodriguez13/atom,Jdesk/atom,charleswhchan/atom,basarat/atom,Ju2ender/atom,paulcbetts/atom,kittens/ato...
coffeescript
## Code Before: fs = require 'fs' path = require 'path' module.exports = (grunt) -> grunt.registerTask 'generate-license', 'Generate the license, including the licenses of all dependencies', (mode) -> legalEagle = require 'legal-eagle' done = @async() options = path: process.cwd() overrides:...
87f911fb6db4b4dfa3321bb4d0b52f895abe5ad0
.travis.yml
.travis.yml
language: python python: - "2.7" - "3.5" install: pip install -r requirements.txt services: postgresql before_script: - psql -c 'create database flask_example_test;' -U postgres - ./manage.py db upgrade script: ./manage.py test
language: python python: - "2.7" - "3.5" install: pip install -r requirements.txt services: postgresql before_script: - psql -c 'create database flask_example_test;' -U postgres - psql -c 'create database flask_example;' -U postgres - ./manage.py db upgrade script: ./manage.py test
Add another database for tests.
Add another database for tests.
YAML
mit
sunscrapers/flask-boilerplate
yaml
## Code Before: language: python python: - "2.7" - "3.5" install: pip install -r requirements.txt services: postgresql before_script: - psql -c 'create database flask_example_test;' -U postgres - ./manage.py db upgrade script: ./manage.py test ## Instruction: Add another database for tests. ## Code After: lan...
96f37057d35a328b7b680e8bc1e424cd0569b5c3
README.md
README.md
Ansible module used by OSAS to manage a set of server using ansible. Architecture ------------ This role permit to install a trusted server that will deploy configurations and run playbooks safely without having to distribute ssh keys to every admin. It use for that 2 git repositories where a authorized user can push...
Ansible module used by OSAS to manage a set of server using ansible. [![Build Status](https://travis-ci.org/OSAS/ansible-role-ansible_bastion.svg?branch=master)](https://travis-ci.org/OSAS/ansible-role-ansible_bastion) Architecture ------------ This role permit to install a trusted server that will deploy configurat...
Add a image to signal build status
Add a image to signal build status
Markdown
mit
mscherer/ansible-role-ansible_bastion,OSAS/ansible-role-ansible_bastion,mscherer/ansible-role-ansible_bastion,OSAS/ansible-role-ansible_bastion
markdown
## Code Before: Ansible module used by OSAS to manage a set of server using ansible. Architecture ------------ This role permit to install a trusted server that will deploy configurations and run playbooks safely without having to distribute ssh keys to every admin. It use for that 2 git repositories where a authoriz...
996f00b44d2abdb88d5f2804937e3abe89e49e9d
test-requirements.txt
test-requirements.txt
pytest==4.6.4 # the last version compatible with Python 2.7 pytest-cov==2.7.1 pytest-pythonpath==0.7.3 pytest-runner==5.1 logging_tree==1.8 -r requirements.txt
pytest==6.2.5 pytest-cov==2.12.1 pytest-pythonpath==0.7.3 pytest-runner==5.3.1 logging_tree==1.9 -r requirements.txt
Drop support for Python 3.5 and lower
Drop support for Python 3.5 and lower
Text
mit
OCHA-DAP/hdx-python-api
text
## Code Before: pytest==4.6.4 # the last version compatible with Python 2.7 pytest-cov==2.7.1 pytest-pythonpath==0.7.3 pytest-runner==5.1 logging_tree==1.8 -r requirements.txt ## Instruction: Drop support for Python 3.5 and lower ## Code After: pytest==6.2.5 pytest-cov==2.12.1 pytest-pythonpath==0.7.3 pytest-runner=...
5e7daffadbd523e1d2a457d10977b1c8a2880d9d
docs/example-plugins/directAPIcall.py
docs/example-plugins/directAPIcall.py
from __future__ import unicode_literals from client import slack_client as sc for user in sc.api_call("users.list")["members"]: print(user["name"], user["id"])
from __future__ import unicode_literals from client import slack_client as sc def process_message(data): '''If a user passes 'print users' in a message, print the users in the slack team to the console. (Don't run this in production probably)''' if 'print users' in data['text']: for user in sc.ap...
Add a bit more info into the example plugin.
Add a bit more info into the example plugin.
Python
mit
erynofwales/ubot2,aerickson/python-rtmbot,jammons/python-rtmbot,slackhq/python-rtmbot,ChihChengLiang/python-rtmbot,erynofwales/ubot2
python
## Code Before: from __future__ import unicode_literals from client import slack_client as sc for user in sc.api_call("users.list")["members"]: print(user["name"], user["id"]) ## Instruction: Add a bit more info into the example plugin. ## Code After: from __future__ import unicode_literals from client import sl...
c35b5b5a8c2bdfc3d04dd82641657f54e5caa62e
data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml
data/hostname/storage0.euwest.azure.internal.softwareheritage.org.yaml
swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::db::host: somerset.internal.softwareheritage.org swh::deploy::storage::db::port: 5433 swh::deploy::objstorage::config: "%{alias('swh::remote_service::objstorage::config::azure_readonly_with_fallback')...
swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::db::host: dbreplica0.euwest.azure.internal.softwareheritage.org swh::deploy::storage::db::port: 5433 swh::deploy::objstorage::config: "%{alias('swh::remote_service::objstorage::config::azure_readonly_...
Revert "storage0: Switch database back to somerset"
Revert "storage0: Switch database back to somerset" This reverts commit aa443628b1104094fa4318e93e4bb684c875867f.
YAML
apache-2.0
SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site
yaml
## Code Before: swh::deploy::storage::backend::listen::host: 0.0.0.0 swh::deploy::storage::backend::workers: 96 swh::deploy::storage::db::host: somerset.internal.softwareheritage.org swh::deploy::storage::db::port: 5433 swh::deploy::objstorage::config: "%{alias('swh::remote_service::objstorage::config::azure_readonly...
f4c9122f741829a6651a801220c59280ed348be8
spec/spec_helper.rb
spec/spec_helper.rb
if ENV['COVERAGE'] require 'simplecov' SimpleCov.start 'rails' do add_group "Decorators", "app/decorators" end end ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'capybara/rails' require 'capybara/rspec' # Req...
if ENV['COVERAGE'] require 'simplecov' SimpleCov.start 'rails' do add_group "Decorators", "app/decorators" end end ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'capybara/rspec' Dir[Rails.root.join("spec/sup...
Clean db before whole suite
Clean db before whole suite
Ruby
apache-2.0
SunDi3yansyah/asciinema.org,asciinema/asciinema-server,radare/radare.tv,SunDi3yansyah/asciinema.org,asciinema/asciinema.org,asciinema/asciinema.org,asciinema/asciinema.org,asciinema/asciinema.org,SunDi3yansyah/asciinema.org,radare/radare.tv,SunDi3yansyah/asciinema.org,asciinema/asciinema-server,asciinema/asciinema-serv...
ruby
## Code Before: if ENV['COVERAGE'] require 'simplecov' SimpleCov.start 'rails' do add_group "Decorators", "app/decorators" end end ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'capybara/rails' require 'capyba...
de840669d7d3a42d95fedbb70e0138a93a922153
.github/workflows/licensed.yml
.github/workflows/licensed.yml
name: Licensed on: push: {branches: master} pull_request: {branches: master} jobs: test: runs-on: ubuntu-latest name: Check licenses steps: - uses: actions/checkout@v2 - run: npm ci - name: Install licensed run: | ...
name: Licensed on: push: {branches: main} pull_request: {branches: main} workflow_dispatch: inputs: logLevel: description: 'Log level' required: true default: 'warning' tags: description: 'Manually run Licensed workflow' jobs: test: runs-on: ubuntu-lat...
Add support to be able to manually run the Licensed GitHub action
Add support to be able to manually run the Licensed GitHub action
YAML
mit
noazark/weather
yaml
## Code Before: name: Licensed on: push: {branches: master} pull_request: {branches: master} jobs: test: runs-on: ubuntu-latest name: Check licenses steps: - uses: actions/checkout@v2 - run: npm ci - name: Install licensed run: | ...
6ba7045549a71d6592b34c7cd7ddd09013766a1e
packages/bi/bindings-yices.yaml
packages/bi/bindings-yices.yaml
homepage: '' changelog-type: '' hash: 3c7e2ea13970a6f1abba18f2f02789b6b9be6a43817bda4d621d18d2c489e835 test-bench-deps: {} maintainer: pepeiborra@gmail.com synopsis: Bindings to the Yices theorem prover changelog: '' basic-deps: base: ! '>3 && <5' all-versions: - '0.1' - '0.2' - '0.3' - '0.3.0.1' author: Jose Iborra ...
homepage: '' changelog-type: markdown hash: cf2b1531165459d81a3f44393f36cc292d95b5288427c1138a839268dee0c076 test-bench-deps: {} maintainer: pepeiborra@gmail.com synopsis: Bindings to the Yices theorem prover changelog: ! "\t## 0.3 -- 22th August 2015\n\t* Extend the API with missing for add, sub and mul binary opera...
Update from Hackage at 2015-08-22T13:18:14+0000
Update from Hackage at 2015-08-22T13:18:14+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: 3c7e2ea13970a6f1abba18f2f02789b6b9be6a43817bda4d621d18d2c489e835 test-bench-deps: {} maintainer: pepeiborra@gmail.com synopsis: Bindings to the Yices theorem prover changelog: '' basic-deps: base: ! '>3 && <5' all-versions: - '0.1' - '0.2' - '0.3' - '0.3.0.1' auth...
7164dc5b6bdb1add58dcfd7e51a4cdee3cd004b9
README.md
README.md
Does what it says on the tin. Push GitHub commits to Trello comments with some details. ## Setup 1. Add a webhook to your repo: 1. Go to Settings for the repo. 1. Click Webhooks & Services. 1. Click Add Webhook 1. Paste http://gaslight-github-trello.herokuapp.com/payload 1. Save and profit!!! ## Developme...
Does what it says on the tin. Push GitHub commits to Trello comments with some details. ## Setup 1. Add a webhook to your repo: 1. Go to Settings for the repo. 1. Click Webhooks & Services. 1. Click Add Webhook 1. Paste http://gaslight-github-trello.herokuapp.com/payload 1. Save and profit!!! 1. Make sure ...
Add step about Wendell being on the board
Add step about Wendell being on the board
Markdown
mit
gaslight/github-trello,lomain/github-trello
markdown
## Code Before: Does what it says on the tin. Push GitHub commits to Trello comments with some details. ## Setup 1. Add a webhook to your repo: 1. Go to Settings for the repo. 1. Click Webhooks & Services. 1. Click Add Webhook 1. Paste http://gaslight-github-trello.herokuapp.com/payload 1. Save and profit!...
38af40addf7c52504e3a37d60ed843c07adb07e5
spec/feels_spec.rb
spec/feels_spec.rb
ENV['RACK_ENV'] = 'test' require_relative '../app/feels' # <-- your sinatra app require 'rspec' require 'rack/test' describe 'Test the routes' do include Rack::Test::Methods def app Sinatra::Application end it "has a main page" do get '/' expect(last_response).to be_ok end it "has a code o...
ENV['RACK_ENV'] = 'test' require_relative '../app/feels' require 'rspec' require 'rack/test' describe 'Test the routes' do include Rack::Test::Methods def app Sinatra::Application end it "has a main page" do get '/' expect(last_response).to be_ok end routes = %w( conduct diversity ...
Make the specs shorter by listing routes in word array.
Make the specs shorter by listing routes in word array.
Ruby
mit
OSFeels/OSFeels.com-2015,OSFeels/OSFeels.com-2015,OSFeels/OSFeels.com,OSFeels/OSFeels.com-2015,OSFeels/OSFeels.com,OSFeels/OSFeels.com
ruby
## Code Before: ENV['RACK_ENV'] = 'test' require_relative '../app/feels' # <-- your sinatra app require 'rspec' require 'rack/test' describe 'Test the routes' do include Rack::Test::Methods def app Sinatra::Application end it "has a main page" do get '/' expect(last_response).to be_ok end ...
fe885b40928c2bbee7994c5901f37cab32b0a321
scripts/travis.sh
scripts/travis.sh
set -eu if test -n "${TRAVIS:-}" -o -n "${GITHUB_ACTIONS:-}"; then set -x fi cd $(dirname $0)/.. make "$@" make "$@" check # Upload coverage if test -n "${CODECOV_TOKEN:-}"; then curl --retry 5 -s https://codecov.io/bash > codecov.bash bash codecov.bash -X gcov -Z find -name \*.gcda -o -name \*.gcno -o -na...
set -eu if test -n "${TRAVIS:-}" -o -n "${GITHUB_ACTIONS:-}"; then set -x fi cd $(dirname $0)/.. make "$@" clean all make "$@" check # Upload coverage if test -n "${CODECOV_TOKEN:-}"; then curl --retry 5 -s https://codecov.io/bash > codecov.bash bash codecov.bash -X gcov -Z find -name \*.gcda -o -name \*.g...
Build from scratch in CI script.
Build from scratch in CI script.
Shell
mit
yugr/sortcheck,yugr/sortcheck
shell
## Code Before: set -eu if test -n "${TRAVIS:-}" -o -n "${GITHUB_ACTIONS:-}"; then set -x fi cd $(dirname $0)/.. make "$@" make "$@" check # Upload coverage if test -n "${CODECOV_TOKEN:-}"; then curl --retry 5 -s https://codecov.io/bash > codecov.bash bash codecov.bash -X gcov -Z find -name \*.gcda -o -nam...
8b086217c2fca87482759c34cb883e5936c66719
common.pri
common.pri
QMAKE_CXXFLAGS += -std=c++11 CONFIG += console CONFIG -= app_bundle CONFIG -= qt INCLUDEPATH += $$PWD/src SRC_DIR = $$PWD
QMAKE_CXXFLAGS += -std=c++11 CONFIG += console CONFIG -= app_bundle INCLUDEPATH += $$PWD/src SRC_DIR = $$PWD
Add qt to the project
Add qt to the project Qt will be used by the library, but not in the public API.
QMake
bsd-3-clause
Acce0ss/diary-engine
qmake
## Code Before: QMAKE_CXXFLAGS += -std=c++11 CONFIG += console CONFIG -= app_bundle CONFIG -= qt INCLUDEPATH += $$PWD/src SRC_DIR = $$PWD ## Instruction: Add qt to the project Qt will be used by the library, but not in the public API. ## Code After: QMAKE_CXXFLAGS += -std=c++11 CONFIG += console CONFIG -= app_bun...
d47ca49cea616cda3978fa21b81b42f272d85eb2
index.js
index.js
/* eslint-env node */ 'use strict'; var path = require('path'); var process = require('process'); let TsPreprocessor; try { TsPreprocessor = require('./lib/typescript-preprocessor'); } catch ( ex ) { // Do nothing; we just won't have the plugin available. This means that if you // somehow end up in a state...
/* eslint-env node */ const path = require('path'); let TsPreprocessor; try { TsPreprocessor = require('./lib/typescript-preprocessor'); } catch (ex) { // Do nothing; we just won't have the plugin available. This means that if you // somehow end up in a state where it doesn't load, the preprocessor *will* // f...
Use this.ui.write instead of console.log.
Use this.ui.write instead of console.log.
JavaScript
mit
emberwatch/ember-cli-typescript,QuantumInformation/ember-cli-typescript,emberwatch/ember-cli-typescript,QuantumInformation/ember-cli-typescript,QuantumInformation/ember-cli-typescript,QuantumInformation/ember-cli-typescript,emberwatch/ember-cli-typescript,emberwatch/ember-cli-typescript
javascript
## Code Before: /* eslint-env node */ 'use strict'; var path = require('path'); var process = require('process'); let TsPreprocessor; try { TsPreprocessor = require('./lib/typescript-preprocessor'); } catch ( ex ) { // Do nothing; we just won't have the plugin available. This means that if you // somehow e...
6f71d52b0d7747575a9020412ef525e7174340c3
styleguide/components/Navigation/Navigation.css
styleguide/components/Navigation/Navigation.css
.section + .section { margin-top: var(--size-lg-ii); } .title { padding-left: var(--size-lg-i); padding-right: var(--size-lg-i); } .linkList { list-style-type: none; margin-top: var(--size-sm-i); margin-left: 0; margin-left: 0; margin-bottom: 0; padding: 0; } .link { display: block; composes: f...
.section + .section { margin-top: var(--size-lg-ii); } .title { padding-left: var(--size-lg-i); padding-right: var(--size-lg-i); } .linkList { list-style-type: none; margin-top: var(--size-sm-i); margin-left: 0; margin-left: 0; margin-bottom: 0; padding: 0; } .link { display: block; composes: f...
Update styleguide navigation link colours
Update styleguide navigation link colours
CSS
mit
appearhere/bloom,NGMarmaduke/bloom,appearhere/bloom,NGMarmaduke/bloom,NGMarmaduke/bloom,rdjpalmer/bloom,appearhere/bloom,rdjpalmer/bloom,rdjpalmer/bloom
css
## Code Before: .section + .section { margin-top: var(--size-lg-ii); } .title { padding-left: var(--size-lg-i); padding-right: var(--size-lg-i); } .linkList { list-style-type: none; margin-top: var(--size-sm-i); margin-left: 0; margin-left: 0; margin-bottom: 0; padding: 0; } .link { display: bloc...