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
e3f4682708fbe0ef26148a7f1fd4fb19bb7fd826
library/tempfile/_close_spec.rb
library/tempfile/_close_spec.rb
require File.dirname(__FILE__) + '/../../spec_helper' require 'tempfile' describe "Tempfile#_close" do before(:each) do @tempfile = Tempfile.new("specs") end it "is protected" do @tempfile.protected_methods.should include("_close") end it "closes self" do @tempfile.send(:_close) @tempfi...
require File.dirname(__FILE__) + '/../../spec_helper' require 'tempfile' describe "Tempfile#_close" do before(:each) do @tempfile = Tempfile.new("specs") end it "is protected" do Tempfile.should have_protected_instance_method(:_close) end it "closes self" do @tempfile.send(:_close) @tem...
Use have_protected_instance_method for 1.9 compat
Use have_protected_instance_method for 1.9 compat
Ruby
mit
alindeman/rubyspec,eregon/rubyspec,alex/rubyspec,rkh/rubyspec,JuanitoFatas/rubyspec,alexch/rubyspec,kachick/rubyspec,bjeanes/rubyspec,josedonizetti/rubyspec,terceiro/rubyspec,mbj/rubyspec,rdp/rubyspec,yous/rubyspec,enricosada/rubyspec,bjeanes/rubyspec,iainbeeston/rubyspec,tinco/rubyspec,Zoxc/rubyspec,flavio/rubyspec,ru...
ruby
## Code Before: require File.dirname(__FILE__) + '/../../spec_helper' require 'tempfile' describe "Tempfile#_close" do before(:each) do @tempfile = Tempfile.new("specs") end it "is protected" do @tempfile.protected_methods.should include("_close") end it "closes self" do @tempfile.send(:_cl...
45362894f0b6e23505546ecc482cf2a326ae61ac
localprops/src/main/kotlin/pink/madis/gradle/localprops/plugin.kt
localprops/src/main/kotlin/pink/madis/gradle/localprops/plugin.kt
package pink.madis.gradle.localprops import org.gradle.api.Plugin import org.gradle.api.Project import java.nio.charset.StandardCharsets import java.util.Properties class LocalPropertiesPlugin : Plugin<Project> { override fun apply(project: Project) { val propsFile = project.file("local.properties") val ma...
package pink.madis.gradle.localprops import org.gradle.api.Plugin import org.gradle.api.Project import java.io.File import java.nio.charset.StandardCharsets import java.util.Properties class LocalPropertiesPlugin : Plugin<Project> { override fun apply(project: Project) { val propsFile = project.file("local.prop...
Fix file() helper usage to return null if key was not defined
Fix file() helper usage to return null if key was not defined
Kotlin
mit
madisp/localprops,madisp/localprops
kotlin
## Code Before: package pink.madis.gradle.localprops import org.gradle.api.Plugin import org.gradle.api.Project import java.nio.charset.StandardCharsets import java.util.Properties class LocalPropertiesPlugin : Plugin<Project> { override fun apply(project: Project) { val propsFile = project.file("local.properti...
e27fd32ecb89f5f2de1a784e902fe64d1b73d33c
{{cookiecutter.app_name}}/urls.py
{{cookiecutter.app_name}}/urls.py
from django.conf.urls import patterns, url from .views import {{ cookiecutter.model_name }}List, {{ cookiecutter.model_name }}Create, {{ cookiecutter.model_name }}Detail, {{ cookiecutter.model_name }}Update, {{ cookiecutter.model_name }}Delete urlpatterns = patterns( '', url(r'^$', {{ cookiecutter.model_name ...
from django.conf.urls import patterns, url from . import views urlpatterns = patterns( '', url(r'^$', views.{{ cookiecutter.model_name }}List.as_view(), name='{{ cookiecutter.model_name|lower }}_list'), url(r'^new/$', views.{{ cookiecutter.model_name }}Create.as_view(), name='{{ cookiecutter.model_name|lo...
Use briefer url views import.
Use briefer url views import.
Python
bsd-3-clause
wildfish/cookiecutter-django-crud,janusnic/cookiecutter-django-crud,wildfish/cookiecutter-django-crud,janusnic/cookiecutter-django-crud
python
## Code Before: from django.conf.urls import patterns, url from .views import {{ cookiecutter.model_name }}List, {{ cookiecutter.model_name }}Create, {{ cookiecutter.model_name }}Detail, {{ cookiecutter.model_name }}Update, {{ cookiecutter.model_name }}Delete urlpatterns = patterns( '', url(r'^$', {{ cookiecu...
3d542d8f0fe320145fd607ebae6df6f1a81ac5ed
index.js
index.js
const createPolobxMixin = function(stores) { let appState = {}; Object.keys(stores).forEach( key => { const store = mobx.observable(stores[key].store); const actions = stores[key].actions; appState[key] = { store, actions }; }); function dispatch({store, action, payload}) { if...
const createPolobxBehavior = function(stores) { let appState = {}; Object.keys(stores).forEach( key => { const store = mobx.observable(stores[key].store); const actions = stores[key].actions; appState[key] = { store, actions }; }); function dispatch({store, action, payload}) { ...
Use behavior instead mixin to Polymer 1.x compatibility
Use behavior instead mixin to Polymer 1.x compatibility
JavaScript
mit
ivanrod/polobx,ivanrod/polobx
javascript
## Code Before: const createPolobxMixin = function(stores) { let appState = {}; Object.keys(stores).forEach( key => { const store = mobx.observable(stores[key].store); const actions = stores[key].actions; appState[key] = { store, actions }; }); function dispatch({store, action, pa...
cf24de5a185c2376e173200e5f7677633d6506df
release-instructions.txt
release-instructions.txt
Sonatype : https://oss.sonatype.org/ Bump Maven version: mvn versions:set -DnewVersion=xxx mvn release:clean mvn release:prepare mvn release:perform -Darguments=-Dgpg.passphrase=PASSPHRASE
Sonatype : https://oss.sonatype.org/ Bump Maven version: mvn versions:set -DnewVersion=xxx mvn release:clean -PDSE && mvn release:prepare -PDSE mvn release:perform -PDSE -Darguments=-Dgpg.passphrase=PASSPHRASE
Add DSE profile in release instructions
Add DSE profile in release instructions
Text
apache-2.0
doanduyhai/Achilles,doanduyhai/Achilles
text
## Code Before: Sonatype : https://oss.sonatype.org/ Bump Maven version: mvn versions:set -DnewVersion=xxx mvn release:clean mvn release:prepare mvn release:perform -Darguments=-Dgpg.passphrase=PASSPHRASE ## Instruction: Add DSE profile in release instructions ## Code After: Sonatype : https://oss.sonatype.org/ Bump...
d769d4b6df913d6b4e32e1e4b44d4f69d9f926ca
bin/cli.js
bin/cli.js
var program = require('commander'); program .description('Generate random documents, numbers, names, address, etc.') .version('0.0.1') .option('-f, --cpf', 'Select CPF') .option('-j, --cnpj', 'Select CNPJ') .option('-n, --name [gender]', 'Select Name') .option('-c, --creditCard <type>', 'Select...
var program = require('commander'); program .description('Generate random documents, numbers, names, address, etc.') .version('0.0.1') .option('-f, --cpf', 'Select CPF') .option('-j, --cnpj', 'Select CNPJ') .option('-c, --creditCard <type>', 'Select Credit Card. Types: maestro, dinersclub, laser, j...
Remove --name feature as it's not working at the moment
Remove --name feature as it's not working at the moment
JavaScript
mit
lvendrame/dev-util-cli,lagden/dev-util-cli
javascript
## Code Before: var program = require('commander'); program .description('Generate random documents, numbers, names, address, etc.') .version('0.0.1') .option('-f, --cpf', 'Select CPF') .option('-j, --cnpj', 'Select CNPJ') .option('-n, --name [gender]', 'Select Name') .option('-c, --creditCard ...
6e09b75032a7cc9da6598ad3f1ebf950838fc4c5
.travis.yml
.travis.yml
language: bash sudo: required os: - linux - osx before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi script: - sudo make install - time neofetch --ascii --config off --ascii_...
language: bash sudo: required os: - linux - osx before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PREFIX=/usr/local ; fi ...
Fix TravisCI for macOS build
Fix TravisCI for macOS build Travis updated the macOS build server to El Capitan, which means it has SIP now. Prefix changed to /usr/local to mitigate this
YAML
mit
dylanaraps/fetch,mstraube/neofetch,konimex/neofetch,dylanaraps/neofetch
yaml
## Code Before: language: bash sudo: required os: - linux - osx before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi script: - sudo make install - time neofetch --ascii --con...
696bba8e342ae5ccbac433142502c8e7debbb0f5
zsh.d/10-rust.zsh
zsh.d/10-rust.zsh
if test -d "$HOME/.cargo/bin"; then export PATH="${PATH}:$HOME/.cargo/bin" fi
if test -d "$HOME/.cargo/bin"; then export PATH="$HOME/.cargo/bin:${PATH}" fi
Put cargo path in front of $PATH
[rust] Put cargo path in front of $PATH This makes it easier to override regular commands.
Shell
mit
koenwtje/dotfiles
shell
## Code Before: if test -d "$HOME/.cargo/bin"; then export PATH="${PATH}:$HOME/.cargo/bin" fi ## Instruction: [rust] Put cargo path in front of $PATH This makes it easier to override regular commands. ## Code After: if test -d "$HOME/.cargo/bin"; then export PATH="$HOME/.cargo/bin:${PATH}" fi
b6dd77de522ad90f7e1fac154b4ef0f3487c4382
game.css
game.css
color: grey; } #invalid-square { color: orange; } #title { text-align: center; font-family: helvetica, arial, sans-serif; background: linear-gradient(90deg, white 50%, black 50%); } canvas { display : block; margin : auto; } #box1 { padding: 30px; margin-left: 27px; color: g...
color: darkseagreen; } #title { text-align: center; font-family: helvetica, arial, sans-serif; background: linear-gradient(90deg, white 50%, black 50%); } canvas { display : block; margin : auto; } #box1 { padding: 30px; margin-left: 27px; color: green; font-weight: bold; } ...
Make both messages sea green
Make both messages sea green Both turn prompt and invalid square selection prompt.
CSS
mit
androidgrl/othello,androidgrl/othello
css
## Code Before: color: grey; } #invalid-square { color: orange; } #title { text-align: center; font-family: helvetica, arial, sans-serif; background: linear-gradient(90deg, white 50%, black 50%); } canvas { display : block; margin : auto; } #box1 { padding: 30px; margin-left: 27...
97db526a655f9723342df3c0c27e7325002c50aa
ovp_users/serializers.py
ovp_users/serializers.py
from django.core.exceptions import ValidationError from django.contrib.auth.password_validation import validate_password from ovp_users import models from rest_framework import serializers class UserCreateSerializer(serializers.ModelSerializer): class Meta: model = models.User fields = ['id', 'name', 'email'...
from django.core.exceptions import ValidationError from django.contrib.auth.password_validation import validate_password from ovp_users import models from rest_framework import serializers class UserCreateSerializer(serializers.ModelSerializer): class Meta: model = models.User fields = ['id', 'name', 'email'...
Add password as a write_only field on CreateUserSerializer
Add password as a write_only field on CreateUserSerializer
Python
agpl-3.0
OpenVolunteeringPlatform/django-ovp-users,OpenVolunteeringPlatform/django-ovp-users
python
## Code Before: from django.core.exceptions import ValidationError from django.contrib.auth.password_validation import validate_password from ovp_users import models from rest_framework import serializers class UserCreateSerializer(serializers.ModelSerializer): class Meta: model = models.User fields = ['id',...
34c95d960f80dcb62859e01c67d5cd265535f96a
requirements/base.txt
requirements/base.txt
-c constraints.txt Django==1.11.13 # rq.filter: >=1.11,<2 wagtail==1.13.1 psycopg2==2.7.5 django-compressor==2.2 wagtail-django-recaptcha==1.0 wagtailgmaps==0.4 # rq.filter: >=0.4,<1 slackweb==1.0.5 raven
-c constraints.txt Django==1.11.13 # rq.filter: >=1.11,<2 wagtail==1.13.1 # rq.filter: >=1.13,<2 psycopg2==2.7.5 django-compressor==2.2 wagtail-django-recaptcha==1.0 wagtailgmaps==0.4 # rq.filter: >=0.4,<1 slackweb==1.0.5 raven
Add filter to restrict Wagtail to <2.0
Add filter to restrict Wagtail to <2.0 Wagtail 2.0 is only compatible with Python 3 and the infra isn't ready for that.
Text
mit
springload/madewithwagtail,springload/madewithwagtail,springload/madewithwagtail,springload/madewithwagtail
text
## Code Before: -c constraints.txt Django==1.11.13 # rq.filter: >=1.11,<2 wagtail==1.13.1 psycopg2==2.7.5 django-compressor==2.2 wagtail-django-recaptcha==1.0 wagtailgmaps==0.4 # rq.filter: >=0.4,<1 slackweb==1.0.5 raven ## Instruction: Add filter to restrict Wagtail to <2.0 Wagtail 2.0 is only compatible with P...
49cd76529f5ff662ac78d97857deffbb12ceb38f
.travis.yml
.travis.yml
sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make check after_success: - coveralls --verbose -i test/mbasic.gcno -i test/sbasic.gcno -i test/sl...
sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make check after_success: - coveralls --verbose -n -i test
Make coveralls not run gcov
Make coveralls not run gcov
YAML
mit
Jacajack/modlib
yaml
## Code Before: sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make check after_success: - coveralls --verbose -i test/mbasic.gcno -i test/sbasic...
6a9355da9e02d40713b15f4e8f5046c47ff38a14
assets/samples/sample_activity.rb
assets/samples/sample_activity.rb
require 'ruboto' ruboto_import_widgets :Button, :LinearLayout, :TextView $activity.handle_create do |bundle| setTitle 'This is the Title' setup_content do linear_layout :orientation => LinearLayout::VERTICAL do @text_view = text_view :text => 'What hath Matz wrought?', :id => 42 button :text => '...
require 'ruboto/activity' require 'ruboto/widget' require 'ruboto/util/toast' ruboto_import_widgets :Button, :LinearLayout, :TextView $activity.start_ruboto_activity "$sample_activity" do setTitle 'This is the Title' def on_create(bundle) self.content_view = linear_layout(:orientation => :vertical) d...
Update sample to match new ruboto split
Update sample to match new ruboto split
Ruby
mit
lucasallan/ruboto,baberthal/ruboto,ruboto/ruboto,lucasallan/ruboto,ruboto/ruboto,Jodell88/ruboto,baberthal/ruboto,lucasallan/ruboto,ruboto/ruboto,Jodell88/ruboto,Jodell88/ruboto,baberthal/ruboto
ruby
## Code Before: require 'ruboto' ruboto_import_widgets :Button, :LinearLayout, :TextView $activity.handle_create do |bundle| setTitle 'This is the Title' setup_content do linear_layout :orientation => LinearLayout::VERTICAL do @text_view = text_view :text => 'What hath Matz wrought?', :id => 42 b...
9ef134cb756009260e05e219bcecbe45d2729e9f
exp/wsj/configs/wsj_reward1.yaml
exp/wsj/configs/wsj_reward1.yaml
parent: $LVSR/exp/wsj/configs/wsj_paper1.yaml net: criterion: name: mse_gain min_reward: -5 training: scale: 0.01 initialization: /recognizer: weights_init: !!python/object/apply:blocks.initialization.Uniform [0.0, 0.1] /recognizer/generator/readout/post_merge/mlp: ...
parent: $LVSR/exp/wsj/configs/wsj_paper1.yaml net: criterion: name: mse_gain min_reward: -5 training: scale: 0.01 initialization: /recognizer: weights_init: !!python/object/apply:blocks.initialization.Uniform [0.0, 0.1] /recognizer/generator/readout/post_merge/mlp: ...
Fix stop_on for wsj_reward model
Fix stop_on for wsj_reward model
YAML
mit
rizar/attention-lvcsr,rizar/attention-lvcsr,rizar/attention-lvcsr,rizar/attention-lvcsr,rizar/attention-lvcsr
yaml
## Code Before: parent: $LVSR/exp/wsj/configs/wsj_paper1.yaml net: criterion: name: mse_gain min_reward: -5 training: scale: 0.01 initialization: /recognizer: weights_init: !!python/object/apply:blocks.initialization.Uniform [0.0, 0.1] /recognizer/generator/readout/po...
99223550bf14c176d9b4574bba84e2feb46efca5
features/support/capybara.rb
features/support/capybara.rb
Capybara.default_wait_time = 5
Capybara.default_wait_time = 5 module ScreenshotHelper def screenshot(name = 'capybara') page.driver.render(File.join(Rails.root, 'tmp', "#{name}.png"), full: true) end end World(ScreenshotHelper)
Add screenshot helper for cucumber @javascript scenarios
Add screenshot helper for cucumber @javascript scenarios Call `screenshot` within a Cucumber step and Poltergeist (the capybara driver) will create a tmp/capybara.png file containing a screenshot of the current page. Pass an argument to give the screenshot a different name. Useful when debugging failing steps.
Ruby
mit
robinwhittleton/whitehall,alphagov/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,alphagov/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,r...
ruby
## Code Before: Capybara.default_wait_time = 5 ## Instruction: Add screenshot helper for cucumber @javascript scenarios Call `screenshot` within a Cucumber step and Poltergeist (the capybara driver) will create a tmp/capybara.png file containing a screenshot of the current page. Pass an argument to give the screensho...
9a79746eebc3e4553c561f34794a7368bad9eaf7
lib/mongoskin/gridfs.js
lib/mongoskin/gridfs.js
var GridStore = require('mongodb').GridStore; /** * @param filename: filename or ObjectId */ var SkinGridStore = exports.SkinGridStore = function(skinDb) { this.skinDb = skinDb; } /** * @param filename: filename or ObjectId * callback(err, gridStoreObject) */ SkinGridStore.prototype.open = function(filename,...
var GridStore = require('mongodb').GridStore; /** * @param filename: filename or ObjectId */ var SkinGridStore = exports.SkinGridStore = function(skinDb) { this.skinDb = skinDb; } /** * @param filename: filename or ObjectId * callback(err, gridStoreObject) */ SkinGridStore.prototype.open = function(filename,...
Add rootCollection option to SkinGridStore.exist
Add rootCollection option to SkinGridStore.exist
JavaScript
mit
mleanos/node-mongoskin,kissjs/node-mongoskin,microlv/node-mongoskin,dropfen/node-mongoskin
javascript
## Code Before: var GridStore = require('mongodb').GridStore; /** * @param filename: filename or ObjectId */ var SkinGridStore = exports.SkinGridStore = function(skinDb) { this.skinDb = skinDb; } /** * @param filename: filename or ObjectId * callback(err, gridStoreObject) */ SkinGridStore.prototype.open = fu...
44ba423897a69d8fab5f398cc15010e1338f1ea5
README.md
README.md
Backoff, Simple backoff / retry functionality -------------------------------------------------- [![Build Status](https://travis-ci.org/yriveiro/php-backoff](https://travis-ci.org/yriveiro/php-backoff.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/yriveiro/php-backoff/badge.svg?branch=master&service...
Backoff, Simple backoff / retry functionality -------------------------------------------------- [![License](https://poser.pugx.org/yriveiro/php-backoff/license)](https://packagist.org/packages/yriveiro/php-backoff) [![Build Status](https://travis-ci.org/yriveiro/php-backoff.svg?branch=master)](https://travis-ci.org/y...
Add Licence and downloads badges
Add Licence and downloads badges
Markdown
mit
yriveiro/php-backoff
markdown
## Code Before: Backoff, Simple backoff / retry functionality -------------------------------------------------- [![Build Status](https://travis-ci.org/yriveiro/php-backoff](https://travis-ci.org/yriveiro/php-backoff.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/yriveiro/php-backoff/badge.svg?branc...
d10d930bbcd1fa0093747a2a6e8a07cbcd5b2fcf
README.md
README.md
This is omniauth strategy for authenticating to your Backlog service used OAuth 2.0 style. Backlog is project management tools served by Nulab Inc. ## Installation Add this line to your application's Gemfile: ```ruby gem 'omniauth-backlog' ``` And then execute: $ bundle Or install it yourself as: $ gem...
This is omniauth strategy for authenticating to your Backlog service used OAuth 2.0 style. Backlog is project management tools served by [Nulab Inc](https://nulab-inc.com). ## Installation Add this line to your application's Gemfile: ```ruby gem 'omniauth-backlog' ``` And then execute: $ bundle Or install ...
Add link to Nulab Inc page.
Add link to Nulab Inc page.
Markdown
mit
attakei/omniauth-backlog,k-tada/omniauth-backlog
markdown
## Code Before: This is omniauth strategy for authenticating to your Backlog service used OAuth 2.0 style. Backlog is project management tools served by Nulab Inc. ## Installation Add this line to your application's Gemfile: ```ruby gem 'omniauth-backlog' ``` And then execute: $ bundle Or install it yoursel...
580226fae69c354a1527abc03fb174215d4619d4
lib/tzinfo/data.rb
lib/tzinfo/data.rb
require 'tzinfo/data/version'
module TZInfo # Top level module for TZInfo::Data. module Data end end require 'tzinfo/data/version'
Add documentation comments for TZInfo and TZInfo::Data modules.
Add documentation comments for TZInfo and TZInfo::Data modules. Avoids blank pages being generated by RDoc and the licence being used as documentation by YARD.
Ruby
mit
tzinfo/tzinfo-data
ruby
## Code Before: require 'tzinfo/data/version' ## Instruction: Add documentation comments for TZInfo and TZInfo::Data modules. Avoids blank pages being generated by RDoc and the licence being used as documentation by YARD. ## Code After: module TZInfo # Top level module for TZInfo::Data. module Data end end r...
afdd3669fbe4793490cae3975d6ca3f0ece2312b
test/DebugInfo/bool.swift
test/DebugInfo/bool.swift
// RUN: %target-swift-frontend %s -emit-ir -gdwarf-types -o - | %FileCheck %s func markUsed<T>(_ t: T) {} // Int1 uses 1 bit, but is aligned at 8 bits. // CHECK: !DIBasicType(name: "_T0Bi1_D", size: 1, encoding: DW_ATE_unsigned) func main() { var t = true var f = false markUsed("hello") } main()
// RUN: %target-swift-frontend %s -emit-ir -gdwarf-types -o - | %FileCheck %s // RUN: %target-swift-frontend %s -emit-ir -g -o - \ // RUN: | %FileCheck %s --check-prefix=CHECK_G func markUsed<T>(_ t: T) {} // Int1 uses 1 bit, but is aligned at 8 bits. // CHECK: !DIBasicType(name: "_T0Bi1_D", size: 1, encoding: DW_A...
Add a testcase for the debug infor generated for 'Bool'.
Add a testcase for the debug infor generated for 'Bool'. rdar://problem/29605924
Swift
apache-2.0
karwa/swift,hooman/swift,arvedviehweger/swift,rudkx/swift,tkremenek/swift,brentdax/swift,arvedviehweger/swift,OscarSwanros/swift,aschwaighofer/swift,lorentey/swift,hooman/swift,JGiola/swift,hooman/swift,parkera/swift,natecook1000/swift,danielmartin/swift,apple/swift,devincoughlin/swift,CodaFi/swift,hughbe/swift,lorente...
swift
## Code Before: // RUN: %target-swift-frontend %s -emit-ir -gdwarf-types -o - | %FileCheck %s func markUsed<T>(_ t: T) {} // Int1 uses 1 bit, but is aligned at 8 bits. // CHECK: !DIBasicType(name: "_T0Bi1_D", size: 1, encoding: DW_ATE_unsigned) func main() { var t = true var f = false markUsed("hello") } main(...
af967f79810cbdb02cf05b5a91356eb83fa26175
src/cpp/desktop-mac/WebViewWithKeyEquiv.mm
src/cpp/desktop-mac/WebViewWithKeyEquiv.mm
/* * WebViewWithKeyEquiv.mm * * Copyright (C) 2009-13 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Li...
/* * WebViewWithKeyEquiv.mm * * Copyright (C) 2009-13 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Li...
Revert "fix window cycling between plots and main window via shortcut key"
Revert "fix window cycling between plots and main window via shortcut key" This reverts commit a7b564b094bdfa0f09bce3061d2dee6aaa892b3e. This change broke some keyboard shortcuts (e.g. Undo)
Objective-C++
agpl-3.0
pssguy/rstudio,more1/rstudio,piersharding/rstudio,brsimioni/rstudio,piersharding/rstudio,more1/rstudio,jar1karp/rstudio,tbarrongh/rstudio,jrnold/rstudio,suribes/rstudio,nvoron23/rstudio,jzhu8803/rstudio,jzhu8803/rstudio,sfloresm/rstudio,JanMarvin/rstudio,more1/rstudio,tbarrongh/rstudio,more1/rstudio,githubfun/rstudio,g...
objective-c++
## Code Before: /* * WebViewWithKeyEquiv.mm * * Copyright (C) 2009-13 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero G...
cfc3e6d5cb1ee69d09635d894f57e9717b53f978
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
* [ ] I have searched through existing [Issues](https://github.com/manastungare/google-calendar-crx/issues) and confirmed that this particular issue has not already been reported. * [ ] I have read and performed all the steps listed under the [Troubleshooting section](https://github.com/manastungare/google-calendar-crx...
* [ ] I have searched through existing [Issues](https://github.com/manastungare/google-calendar-crx/issues) and confirmed that this particular issue has not already been reported. * [ ] I have read and performed all the steps listed in the [Wiki](https://github.com/manastungare/google-calendar-crx/wiki). What steps w...
Change link from Troubleshooting to Wiki Main Page
Change link from Troubleshooting to Wiki Main Page
Markdown
apache-2.0
thanhpd/google-calendar-crx,manastungare/google-calendar-crx,manastungare/google-calendar-crx,thanhpd/google-calendar-crx
markdown
## Code Before: * [ ] I have searched through existing [Issues](https://github.com/manastungare/google-calendar-crx/issues) and confirmed that this particular issue has not already been reported. * [ ] I have read and performed all the steps listed under the [Troubleshooting section](https://github.com/manastungare/goo...
fb36f67b067869278dc5aadfd93350ad026aec2c
.travis.yml
.travis.yml
language: ruby rvm: - 2.3.1 - 2.4.0 services: - mysql cache: bundler before_script: - mv config/database.yml config/database.yml.old - cp config/database.yml.ci config/database.yml - RAILS_ENV=test bin/rails db:create db:schema:load script: - bin/rails test - bundle exec codeclimate-test-reporter instal...
language: ruby services: - mysql cache: bundler before_script: - mv config/database.yml config/database.yml.old - cp config/database.yml.ci config/database.yml - RAILS_ENV=test bin/rails db:create db:schema:load script: - bin/rails test - bundle exec codeclimate-test-reporter install: bundle install
Remove rvm for ruby 2.4.0 test
Remove rvm for ruby 2.4.0 test
YAML
mit
riseshia/Bonghwa,riseshia/Bonghwa,riseshia/Bonghwa,riseshia/Bonghwa
yaml
## Code Before: language: ruby rvm: - 2.3.1 - 2.4.0 services: - mysql cache: bundler before_script: - mv config/database.yml config/database.yml.old - cp config/database.yml.ci config/database.yml - RAILS_ENV=test bin/rails db:create db:schema:load script: - bin/rails test - bundle exec codeclimate-test...
57d9cb67524e7aa1934450bd4c73d54d613bb70b
code/ranlux32.cpp
code/ranlux32.cpp
/* * rngs * ECE 541 Project 2 * Kashev Dalmia - dalmia3 * David Huang - huang157 */ #include "ranlux32.h" namespace rng { RANLUX32::RANLUX32() : RandomNumberGenerator(), prev(0), count(0), state(), index(0) {} void RANLUX32::seed(fuint seed_num) { st...
/* * rngs * ECE 541 Project 2 * Kashev Dalmia - dalmia3 * David Huang - huang157 */ #include "ranlux32.h" namespace rng { RANLUX32::RANLUX32() : RandomNumberGenerator(), prev(0), count(0), state(), index(0) {} void RANLUX32::seed(fuint seed_num) { st...
Change seed generation using MINSTD
Change seed generation using MINSTD
C++
mit
kashev/rngs,kashev/rngs,kashev/rngs
c++
## Code Before: /* * rngs * ECE 541 Project 2 * Kashev Dalmia - dalmia3 * David Huang - huang157 */ #include "ranlux32.h" namespace rng { RANLUX32::RANLUX32() : RandomNumberGenerator(), prev(0), count(0), state(), index(0) {} void RANLUX32::seed(fuint seed_n...
6ebf55543e74771a80f4e871af5b3cfc8f845101
indico/MaKaC/plugins/Collaboration/RecordingManager/__init__.py
indico/MaKaC/plugins/Collaboration/RecordingManager/__init__.py
from MaKaC.plugins import getModules, initModule from MaKaC.i18n import _ pluginType = "Collaboration" pluginName = "RecordingManager" pluginDescription = _("Recording Manager") modules = {} topModule = None
from MaKaC.i18n import _ pluginType = "Collaboration" pluginName = "RecordingManager" pluginDescription = _("Recording Manager")
Make RecordingManager work with new plugin system
[FIX] Make RecordingManager work with new plugin system
Python
mit
OmeGak/indico,mvidalgarcia/indico,DirkHoffmann/indico,mic4ael/indico,mic4ael/indico,pferreir/indico,pferreir/indico,DirkHoffmann/indico,indico/indico,mic4ael/indico,DirkHoffmann/indico,pferreir/indico,OmeGak/indico,pferreir/indico,mic4ael/indico,indico/indico,mvidalgarcia/indico,ThiefMaster/indico,DirkHoffmann/indico,i...
python
## Code Before: from MaKaC.plugins import getModules, initModule from MaKaC.i18n import _ pluginType = "Collaboration" pluginName = "RecordingManager" pluginDescription = _("Recording Manager") modules = {} topModule = None ## Instruction: [FIX] Make RecordingManager work with new plugin system ## Code After: fro...
4d09b36b71853100eda128b4ef50376c3376cd49
src/index.js
src/index.js
require('dotenv').config() import {version} from '../package.json' import path from 'path' import Koa from 'koa' import Route from 'koa-route' import Serve from 'koa-static' import Octokat from 'octokat' import Badge from './Badge' const app = new Koa() app.context.github = new Octokat({ token: process.env.GITHU...
require('dotenv').config() import {version} from '../package.json' import path from 'path' import Koa from 'koa' import Route from 'koa-route' import Serve from 'koa-static' import Octokat from 'octokat' import Badge from './Badge' const app = new Koa() app.context.github = new Octokat({ token: process.env.GITHU...
Add a profile link which allow users to control the redirection
Add a profile link which allow users to control the redirection
JavaScript
mit
hiendv/hireable
javascript
## Code Before: require('dotenv').config() import {version} from '../package.json' import path from 'path' import Koa from 'koa' import Route from 'koa-route' import Serve from 'koa-static' import Octokat from 'octokat' import Badge from './Badge' const app = new Koa() app.context.github = new Octokat({ token: p...
fab38b0858f41a3671ab05e368d439e43507f005
treeherder/embed/templates/embed/resultset_status.html
treeherder/embed/templates/embed/resultset_status.html
{% load staticfiles %} <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="{% static "embed/css/embed.css" %}" media="screen"/> </head> <body> <div id="resultset_status"> <ul > {% for status, tot in resultset_status_dict.items %} <li class="btn-{{status}}"> <a href="https://treeherder.mo...
{% load staticfiles %} <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="{% static "embed/css/embed.css" %}" media="screen"/> <base target="_blank" /> </head> <body> <div id="resultset_status"> <ul > {% for status, tot in resultset_status_dict.items %} <li class="btn-{{status}}"> ...
Embed links should open on a new page
Embed links should open on a new page
HTML
mpl-2.0
akhileshpillai/treeherder,parkouss/treeherder,moijes12/treeherder,tojonmz/treeherder,glenn124f/treeherder,avih/treeherder,akhileshpillai/treeherder,tojonmz/treeherder,parkouss/treeherder,tojonmz/treeherder,kapy2010/treeherder,glenn124f/treeherder,sylvestre/treeherder,moijes12/treeherder,akhileshpillai/treeherder,vaisha...
html
## Code Before: {% load staticfiles %} <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="{% static "embed/css/embed.css" %}" media="screen"/> </head> <body> <div id="resultset_status"> <ul > {% for status, tot in resultset_status_dict.items %} <li class="btn-{{status}}"> <a href="https...
a3e1a8c2b8e7b4d199b34df25aeb42213a1cf5b6
CHANGELOG.md
CHANGELOG.md
- `1.0.x` Releases - [1.0.0](#100) --- ## [1.0.0](https://github.com/endoze/Initializable/releases/tag/1.0.0) Released on 2016-04-25 Initial Release
- `1.0.x` Releases - [1.0.1](#101) | [1.0.0](#100) --- ## [1.0.1](https://github.com/endoze/RosettaStoneKit/releases/tag/1.0.1) Released on 2015-03-24 ### Added - Additional documentation for library ### Updated ### Removed - UIKit import in module header and replaced with Foundation import ## [1.0.0](https://gith...
Update changelog with latest release
Update changelog with latest release This commit updates the changelog with the latest release information.
Markdown
mit
endoze/Initializable,endoze/Initializable,endoze/Initializable
markdown
## Code Before: - `1.0.x` Releases - [1.0.0](#100) --- ## [1.0.0](https://github.com/endoze/Initializable/releases/tag/1.0.0) Released on 2016-04-25 Initial Release ## Instruction: Update changelog with latest release This commit updates the changelog with the latest release information. ## Code After: - `1.0.x` R...
ff26d8a2e5ab7a9af6827c4afae6b5a1e15e4266
lib/a11y/color/matrix/cli.rb
lib/a11y/color/matrix/cli.rb
module A11y module Color module Matrix class CLI < Thor desc "check", "check list of colors" def check(*c) colors = Set.new c colors.sort.combination(2).each do |fg, bg| ratio = WCAGColorContrast.ratio(fg.dup, bg.dup) if fg != bg put...
module A11y module Color module Matrix class CLI < Thor option :w, :type => :boolean, :desc => "add white to comparisons" option :b, :type => :boolean, :desc => "add black to comparision" desc "check", "check list of colors" def check(*c) colors = Set.new add_white(...
Add b/w options. Improve output format
Add b/w options. Improve output format
Ruby
mit
seanredmond/a11y-color-matrix,seanredmond/a11y-color-matrix
ruby
## Code Before: module A11y module Color module Matrix class CLI < Thor desc "check", "check list of colors" def check(*c) colors = Set.new c colors.sort.combination(2).each do |fg, bg| ratio = WCAGColorContrast.ratio(fg.dup, bg.dup) if fg != bg ...
35792ba18a5f0d38b28ab0b072e46772fb7a398a
.travis.yml
.travis.yml
language: rust rust: - nightly notifications: email: - pmunksgaard@gmail.com - laumann.thomas@gmail.com
language: rust rust: - stable - beta - nightly before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local.bin:$PATH script: - | travis-cargo build && travis-cargo test env: global: - TRAVIS_CARGO_NIGHTLY_FEATURE=channel_select notifications: email: - p...
Update Travis config (will now test with and without channel_select feature).
Update Travis config (will now test with and without channel_select feature).
YAML
mit
Munksgaard/session-types
yaml
## Code Before: language: rust rust: - nightly notifications: email: - pmunksgaard@gmail.com - laumann.thomas@gmail.com ## Instruction: Update Travis config (will now test with and without channel_select feature). ## Code After: language: rust rust: - stable - beta - nightly before_script: -...
700425754476dd95b270a665935b9ab6df7903f7
templates/app/app.js
templates/app/app.js
var path = require('path'), express = require('express'), http = require('http'), mongoose = require('mongoose'), config = require('./config'); var app = express(); // Configuration app.configure(function(){ app.set('views', __dirname + '/views'); app.set('view engine', 'jade'); app.set('v...
var path = require('path'), express = require('express'), http = require('http'), mongoose = require('mongoose'), config = require('./config'); var app = express(); // Configuration app.configure(function(){ app.set('views', __dirname + '/views'); app.set('view engine', 'jade'); app.set('v...
Add cookieParser and session to express setup
Add cookieParser and session to express setup
JavaScript
mit
saintedlama/bumm,the-diamond-dogs-group-oss/bumm,saintedlama/bumm
javascript
## Code Before: var path = require('path'), express = require('express'), http = require('http'), mongoose = require('mongoose'), config = require('./config'); var app = express(); // Configuration app.configure(function(){ app.set('views', __dirname + '/views'); app.set('view engine', 'jade')...
427a19c43d70adcf71fbb91e516ce06731e36403
index.js
index.js
'use strict' const commitStream = require('commit-stream') const listStream = require('list-stream') const program = require('commander') const split2 = require('split2') const spawn = require('child_process').spawn const version = require('./package').version program .version(version) .parse(process.argv) spaw...
'use strict' const commitStream = require('commit-stream') const listStream = require('list-stream') const program = require('commander') const split2 = require('split2') const spawn = require('child_process').spawn const pkg = require('./package') program .version(pkg.version) .description(pkg.description) .p...
Add description to command line help
Add description to command line help
JavaScript
isc
jcollado/pr-tagger
javascript
## Code Before: 'use strict' const commitStream = require('commit-stream') const listStream = require('list-stream') const program = require('commander') const split2 = require('split2') const spawn = require('child_process').spawn const version = require('./package').version program .version(version) .parse(pro...
39e656f3fdd6757ac7b11a5ead2f320accfb92b4
.appveyor.yml
.appveyor.yml
build: false platform: - x64 environment: matrix: - PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python35-x64" matrix: fast_finish: false install: - cmd: set "PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%" - cmd: pip install tox codecov test_script: - cmd: tox -e py -- -n ...
build: false platform: - x64 environment: matrix: - PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python36-x64" matrix: fast_finish: false install: - cmd: set "PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%" - cmd: pip install tox codecov test_script: - cmd: tox -e py -- -n 2 --color=yes after_test: - cm...
Remove Python 3.5 from AppVeyor's pipelines
Remove Python 3.5 from AppVeyor's pipelines
YAML
apache-2.0
opensistemas-hub/osbrain
yaml
## Code Before: build: false platform: - x64 environment: matrix: - PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python35-x64" matrix: fast_finish: false install: - cmd: set "PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%" - cmd: pip install tox codecov test_script: - cmd: ...
2b8b10784d1689083d3bfe420fbe4f5dc4ab6606
index.js
index.js
module.exports = { core: { Product: require('./src/core/product'), Fabric: require('./src/core/fabric'), Buyer: require('./src/core/buyer'), Supplier: require('./src/core/supplier'), Textile: require('./src/core/textile'), Accessories: require('./src/core/accessories...
module.exports = { core: { Product: require('./src/core/product'), Fabric: require('./src/core/fabric'), Buyer: require('./src/core/buyer'), Supplier: require('./src/core/supplier'), Textile: require('./src/core/textile'), Accessories: require('./src/core/accessories...
Update Index (Add PO Textile Job Order)
Update Index (Add PO Textile Job Order)
JavaScript
mit
kanisiusandrew/dl-module,danliris/dl-module,indriHutabalian/dl-module,saidiahmad/dl-module,kristika/dl-module,danliris/dl-models,AndreaZain/dl-module,kanisiusandrew/dl-models,baguswidypriyono/dl-module
javascript
## Code Before: module.exports = { core: { Product: require('./src/core/product'), Fabric: require('./src/core/fabric'), Buyer: require('./src/core/buyer'), Supplier: require('./src/core/supplier'), Textile: require('./src/core/textile'), Accessories: require('./src/...
17b393781de2be7f50470e306965779d91cae554
app/serializers/movie_serializer.rb
app/serializers/movie_serializer.rb
class MovieSerializer < ActiveModel::Serializer attributes :id, :title, :gross, :release_date, :mpaa_rating, :description end
class MovieSerializer < ActiveModel::Serializer attributes :id, :title, :gross, :release_date, :mpaa_rating, :description has_many :reviews end
Add has_many reviews to movie serializer so child reviews show up in reviews index json response
Add has_many reviews to movie serializer so child reviews show up in reviews index json response
Ruby
mit
npupillo/bananas-api,npupillo/bananas-api
ruby
## Code Before: class MovieSerializer < ActiveModel::Serializer attributes :id, :title, :gross, :release_date, :mpaa_rating, :description end ## Instruction: Add has_many reviews to movie serializer so child reviews show up in reviews index json response ## Code After: class MovieSerializer < ActiveModel::Serialize...
fbfcc452b63edf4268bb6fe5529979a3ccf2ee21
MidnightBacon/WebViewController.swift
MidnightBacon/WebViewController.swift
// // WebViewController.swift // MidnightBacon // // Created by Justin Kolb on 10/29/14. // Copyright (c) 2014 Justin Kolb. All rights reserved. // import UIKit import WebKit class WebViewController : UIViewController { var webView: WKWebView! var url: NSURL! override func viewDidLoad() { ...
// // WebViewController.swift // MidnightBacon // // Created by Justin Kolb on 10/29/14. // Copyright (c) 2014 Justin Kolb. All rights reserved. // import UIKit import WebKit class WebViewController : UIViewController { var webView: WKWebView! var activityIndicator: UIActivityIndicatorView! var url: N...
Add loading indicator to web view.
Add loading indicator to web view.
Swift
mit
jkolb/midnightbacon
swift
## Code Before: // // WebViewController.swift // MidnightBacon // // Created by Justin Kolb on 10/29/14. // Copyright (c) 2014 Justin Kolb. All rights reserved. // import UIKit import WebKit class WebViewController : UIViewController { var webView: WKWebView! var url: NSURL! override func viewDid...
663e71ffe27c448e8885597332a8e543f40952dd
src/HubDrop/Bundle/Command/UpdateAllCommand.php
src/HubDrop/Bundle/Command/UpdateAllCommand.php
<?php /** * @file UpdateAllCommand.php */ namespace HubDrop\Bundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component...
<?php /** * @file UpdateAllCommand.php */ namespace HubDrop\Bundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component...
Check if source is drupal before updating.
Check if source is drupal before updating.
PHP
mit
hubdrop/app,hubdrop/app,hubdrop/app
php
## Code Before: <?php /** * @file UpdateAllCommand.php */ namespace HubDrop\Bundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use S...
19f59f9e7743fe075d48af13d45e33c776bba577
ansible-smstools/inventory/group_vars/all.yml
ansible-smstools/inventory/group_vars/all.yml
--- smstools_service_allow: [ '0.0.0.0/0' ]
--- # Disable PKI support in Postfix postfix_pki: False smstools_service_allow: [ '0.0.0.0/0' ]
Create a test case with Postfix and disabled PKI
Create a test case with Postfix and disabled PKI
YAML
mit
ganto/debops-test-suite,ganto/test-suite,ganto/test-suite,ypid/test-suite-ypid,ganto/debops-test-suite,ganto/test-suite,debops/test-suite,ypid/test-suite-ypid,debops/test-suite,ganto/test-suite,ganto/test-suite,ypid/test-suite-ypid,debops/test-suite,debops/test-suite,ganto/debops-test-suite,drybjed/test-suite,drybjed/t...
yaml
## Code Before: --- smstools_service_allow: [ '0.0.0.0/0' ] ## Instruction: Create a test case with Postfix and disabled PKI ## Code After: --- # Disable PKI support in Postfix postfix_pki: False smstools_service_allow: [ '0.0.0.0/0' ]
7f42be12da8429ad5cef835a043b35da7f548747
main.go
main.go
package main // import "github.com/CenturyLinkLabs/imagelayers" import ( "flag" "fmt" "log" "net/http" "github.com/CenturyLinkLabs/imagelayers/api" "github.com/CenturyLinkLabs/imagelayers/server" "github.com/gorilla/mux" ) type layerServer struct { } func NewServer() *layerServer { return new(layerServer) }...
package main // import "github.com/CenturyLinkLabs/imagelayers" import ( "flag" "fmt" "log" "net/http" "os" "github.com/CenturyLinkLabs/imagelayers/api" "github.com/CenturyLinkLabs/imagelayers/server" "github.com/gorilla/mux" ) type layerServer struct { } func NewServer() *layerServer { return new(layerSer...
Halt appropriately on server error start.
Halt appropriately on server error start. Show the error and return a correct non-successful exit code.
Go
apache-2.0
BWITS/imagelayers,argvader/imagelayers,Acidburn0zzz/imagelayers,patocox/imagelayers,Acidburn0zzz/imagelayers,CenturyLinkLabs/imagelayers,BWITS/imagelayers,CenturyLinkLabs/imagelayers,patocox/imagelayers,rupakg/imagelayers,argvader/imagelayers,rupakg/imagelayers
go
## Code Before: package main // import "github.com/CenturyLinkLabs/imagelayers" import ( "flag" "fmt" "log" "net/http" "github.com/CenturyLinkLabs/imagelayers/api" "github.com/CenturyLinkLabs/imagelayers/server" "github.com/gorilla/mux" ) type layerServer struct { } func NewServer() *layerServer { return ne...
a2dd3f5119d4d806923e6a84b6667df9f6d5d1c1
src/sentry/static/sentry/app/components/selectInput.jsx
src/sentry/static/sentry/app/components/selectInput.jsx
import React from 'react'; import jQuery from 'jquery'; const SelectInput = React.createClass({ getDefaultProps() { return { // HTML attrs disabled: false, multiple: false, required: false, // Extra options placeholder: 'Select an option...', // Component options ...
import React from 'react'; import jQuery from 'jquery'; const SelectInput = React.createClass({ getDefaultProps() { return { // HTML attrs disabled: false, multiple: false, required: false, // Extra options placeholder: 'Select an option...', // Component options ...
Correct default value on SelectInput
Correct default value on SelectInput
JSX
bsd-3-clause
jean/sentry,daevaorn/sentry,JamesMura/sentry,gencer/sentry,JamesMura/sentry,mvaled/sentry,gencer/sentry,JackDanger/sentry,nicholasserra/sentry,jean/sentry,beeftornado/sentry,looker/sentry,jean/sentry,mitsuhiko/sentry,looker/sentry,fotinakis/sentry,zenefits/sentry,BuildingLink/sentry,ifduyue/sentry,mvaled/sentry,mvaled/...
jsx
## Code Before: import React from 'react'; import jQuery from 'jquery'; const SelectInput = React.createClass({ getDefaultProps() { return { // HTML attrs disabled: false, multiple: false, required: false, // Extra options placeholder: 'Select an option...', // Compone...
539bd8a9df362f285bda375732ec71b3df1bcaae
orbeon_xml_api/tests/test_runner.py
orbeon_xml_api/tests/test_runner.py
from .test_common import CommonTestCase from ..runner import Runner, RunnerForm from ..utils import xml_from_file class RunnerTestCase(CommonTestCase): def setUp(self): super(RunnerTestCase, self).setUp() self.runner_xml = xml_from_file('tests/data', 'test_controls_runner.xml') self.buil...
from xmlunittest import XmlTestCase from .test_common import CommonTestCase from ..runner import Runner, RunnerForm from ..utils import xml_from_file class RunnerTestCase(CommonTestCase, XmlTestCase): def setUp(self): super(RunnerTestCase, self).setUp() self.runner_xml = xml_from_file('tests/da...
Add Runner unit-tests: constructor with validation.
Add Runner unit-tests: constructor with validation.
Python
mit
bobslee/orbeon-xml-api
python
## Code Before: from .test_common import CommonTestCase from ..runner import Runner, RunnerForm from ..utils import xml_from_file class RunnerTestCase(CommonTestCase): def setUp(self): super(RunnerTestCase, self).setUp() self.runner_xml = xml_from_file('tests/data', 'test_controls_runner.xml') ...
4f75c5081ed623443a892764e7ba468e2d48094f
app/models/concerns/with_omniauth.rb
app/models/concerns/with_omniauth.rb
module WithOmniauth extend ActiveSupport::Concern module ClassMethods def omniauth(auth) where(auth.slice(:provider, :uid)).first_or_initialize.tap do |user| extract_profile!(auth, user) user.save! end end def extract_profile!(auth, user) user.provider = auth.provider...
module WithOmniauth extend ActiveSupport::Concern module ClassMethods def omniauth(auth) find_by_auth(auth).first_or_initialize.tap do |user| extract_profile!(auth, user) user.save! end end def extract_profile!(auth, user) user.provider = auth.provider user.uid ...
Support profile unification by email
Support profile unification by email
Ruby
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
ruby
## Code Before: module WithOmniauth extend ActiveSupport::Concern module ClassMethods def omniauth(auth) where(auth.slice(:provider, :uid)).first_or_initialize.tap do |user| extract_profile!(auth, user) user.save! end end def extract_profile!(auth, user) user.provider...
470210847c616be7d4e96cb89eff8fe5bd39f0d2
config/initializers/cad_avl.rb
config/initializers/cad_avl.rb
if !Rails.env.test? ApplicationSetting['cad_avl.gps_interval_seconds'] = 10 ApplicationSetting['cad_avl.data_storage_months'] = 1 end
if !Rails.env.test? ApplicationSetting['cad_avl.gps_interval_seconds'] = 10 ApplicationSetting['cad_avl.cad_refresh_interval_seconds'] = 30 ApplicationSetting['cad_avl.data_storage_months'] = 1 end
Add CAD refresh interval config
Add CAD refresh interval config
Ruby
agpl-3.0
camsys/ridepilot,camsys/ridepilot,camsys/ridepilot
ruby
## Code Before: if !Rails.env.test? ApplicationSetting['cad_avl.gps_interval_seconds'] = 10 ApplicationSetting['cad_avl.data_storage_months'] = 1 end ## Instruction: Add CAD refresh interval config ## Code After: if !Rails.env.test? ApplicationSetting['cad_avl.gps_interval_seconds'] = 10 ApplicationSetting['ca...
29242aa9108e41d1db4c3bc913a78ebed6252fc4
iterableapi/src/main/AndroidManifest.xml
iterableapi/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.iterable.iterableapi"> <application android:label="@string/app_name" android:supportsRtl="true"> <!--FCM--> <service android:name="com.iterable.iterableapi.IterableFirebaseMessagingSer...
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.iterable.iterableapi"> <application android:label="@string/app_name" android:supportsRtl="true"> <!--FCM--> <service android:name="com.iterable.iterableapi.IterableFirebaseMessagingSer...
Set priority to -1 for Iterable Firebase services so they can be easily overriden
Set priority to -1 for Iterable Firebase services so they can be easily overriden
XML
mit
Iterable/iterable-android-sdk,Iterable/iterable-android-sdk,Iterable/iterable-android-sdk
xml
## Code Before: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.iterable.iterableapi"> <application android:label="@string/app_name" android:supportsRtl="true"> <!--FCM--> <service android:name="com.iterable.iterableapi.IterableFire...
ac49a132cf207f00f3fa67a9649cde90bd7571f1
app/views/lesson_plan/_milestone.html.erb
app/views/lesson_plan/_milestone.html.erb
<div> <h2><%= milestone.title %></h2> <% if milestone.description %> <p> <%= milestone.description.html_safe %> </p> <% end %> <% if (can? :manage, LessonPlanEntry) && milestone.is_virtual != true %> <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %> ...
<div> <table class="table-top-align"> <tr> <td> <h2><%= milestone.title %></h2> <% if milestone.description %> <p> <%= milestone.description.html_safe %> </p> <% end %> </td> <td width="10%"> <% if (can? :manage, LessonPlanEntry) && milestone.is_virt...
Move milestone Edit/Delete buttons to right. Using table :|
Move milestone Edit/Delete buttons to right. Using table :|
HTML+ERB
mit
Coursemology/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology....
html+erb
## Code Before: <div> <h2><%= milestone.title %></h2> <% if milestone.description %> <p> <%= milestone.description.html_safe %> </p> <% end %> <% if (can? :manage, LessonPlanEntry) && milestone.is_virtual != true %> <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), clas...
eba55b9b4eb59af9a56965086aae240c6615ba1f
author/urls.py
author/urls.py
from django.conf.urls import patterns from django.conf.urls import url from django.views.generic.base import RedirectView from django.core.urlresolvers import reverse_lazy from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import Permission from django.contrib.auth.views import l...
from django.conf.urls import patterns from django.conf.urls import url from django.views.generic.base import RedirectView from django.core.urlresolvers import reverse_lazy from django.contrib.auth.views import login from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import per...
Fix bug with author permission check
Fix bug with author permission check
Python
bsd-3-clause
stefantsov/blackbox3,stefantsov/blackbox3,stefantsov/blackbox3
python
## Code Before: from django.conf.urls import patterns from django.conf.urls import url from django.views.generic.base import RedirectView from django.core.urlresolvers import reverse_lazy from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import Permission from django.contrib.aut...
c0355f0c985293a741867ad4ef48eb448ef4f4de
build-aux/urbi-win32.m4
build-aux/urbi-win32.m4
AC_DEFUN([URBI_WIN32], [AC_CHECK_HEADERS([windows.h], [windows=true], [windows=false]) AM_CONDITIONAL([WIN32], [$windows]) case $host_alias in (*mingw*) # Remove windows-style paths from dependencies files AC_CONFIG_COMMANDS([mingw-fix-path], [sed -i \ "/mv.*Pl\?o$/{;s/$/;\\...
AC_DEFUN([URBI_WIN32], [AC_CHECK_HEADERS([windows.h], [windows=true], [windows=false]) AM_CONDITIONAL([WIN32], [$windows]) case $host_alias in (*mingw*) # Remove windows-style paths from dependencies files AC_CONFIG_COMMANDS([mingw-fix-path], [sed -i \ "/mv.*Pl\?o$/{;h;s/$/ ...
Fix mingw build: do not ignore compilation errors.
Fix mingw build: do not ignore compilation errors. * build-aux/urbi-win32.m4: Use && instead of ; to take errors in account.
M4
bsd-3-clause
aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport
m4
## Code Before: AC_DEFUN([URBI_WIN32], [AC_CHECK_HEADERS([windows.h], [windows=true], [windows=false]) AM_CONDITIONAL([WIN32], [$windows]) case $host_alias in (*mingw*) # Remove windows-style paths from dependencies files AC_CONFIG_COMMANDS([mingw-fix-path], [sed -i \ "/mv.*...
59dd05b9cc55525c1901d2c414ca1dab40400521
src/projects.coffee
src/projects.coffee
exports.findMainGraph = (project) -> return null unless project.graphs.length if project.main # Ensure currently set main graph exists for graph in project.graphs return project.main if graph.properties.id is project.main # No 'main' graph sent, see if we can make a smart choice for graph in proje...
exports.findMainGraph = (project) -> return null unless project.graphs.length if project.main # Ensure currently set main graph exists for graph in project.graphs return project.main if graph.properties.id is project.main # No 'main' graph sent, see if we can make a smart choice for graph in proje...
Set first graph as main if no other suitable is found
Set first graph as main if no other suitable is found
CoffeeScript
mit
noflo/noflo-ui,noflo/noflo-ui
coffeescript
## Code Before: exports.findMainGraph = (project) -> return null unless project.graphs.length if project.main # Ensure currently set main graph exists for graph in project.graphs return project.main if graph.properties.id is project.main # No 'main' graph sent, see if we can make a smart choice fo...
51fb8c903c6258e80c1cfdf2bada93f64babd32a
app.json
app.json
{ "name": "Consul", "description": "Consul - Open Government and E-Participation Web Software", "repository": "https://github.com/consul/consul", "scripts": { "postdeploy": "bundle exec rake db:setup" }, "env": { "RACK_ENV": { "description": "The rack environment to set up this deployment with...
{ "name": "Consul", "description": "Consul - Open Government and E-Participation Web Software", "repository": "https://github.com/consul/consul", "scripts": { "postdeploy": "bundle exec rake db:setup" }, "env": { "RACK_ENV": { "description": "The rack environment to set up this deployment with...
Add addon to the buildpack
Add addon to the buildpack
JSON
agpl-3.0
AjuntamentdeBarcelona/decidim.barcelona-legacy,AjuntamentdeBarcelona/decidim.barcelona,AjuntamentdeBarcelona/barcelona-participa,AjuntamentdeBarcelona/decidimbcn,AjuntamentdeBarcelona/decidim.barcelona-legacy,AjuntamentdeBarcelona/decidim.barcelona,AjuntamentdeBarcelona/decidimbcn,AjuntamentdeBarcelona/decidim.barcelon...
json
## Code Before: { "name": "Consul", "description": "Consul - Open Government and E-Participation Web Software", "repository": "https://github.com/consul/consul", "scripts": { "postdeploy": "bundle exec rake db:setup" }, "env": { "RACK_ENV": { "description": "The rack environment to set up this...
caeb90c3811fb0f59d43b4f697755ef91bec992e
spec/mongoid_embed_finder/relation_discovery_spec.rb
spec/mongoid_embed_finder/relation_discovery_spec.rb
require "spec_helper" require "mongoid_embed_finder/relation_discovery" describe MongoidEmbedFinder::RelationDiscovery do describe "#relations" do subject { described_class.new(Child, :parent).relations } its(:child_class) { should eq Child } its(:parent_class) { should eq Parent } its('children.k...
require "spec_helper" require "mongoid_embed_finder/relation_discovery" describe MongoidEmbedFinder::RelationDiscovery do describe "#relations" do subject { described_class.new(Door, :car).relations } its(:child_class) { should eq Door } its(:parent_class) { should eq Car } its('children.key') ...
Fix not updated spec after renaming test entities.
Fix not updated spec after renaming test entities.
Ruby
mit
growthrepublic/mongoid_embed_finder
ruby
## Code Before: require "spec_helper" require "mongoid_embed_finder/relation_discovery" describe MongoidEmbedFinder::RelationDiscovery do describe "#relations" do subject { described_class.new(Child, :parent).relations } its(:child_class) { should eq Child } its(:parent_class) { should eq Parent } ...
c6311207eef6cf66f77d410269efc7581288cb2f
spec/fixtures/api/schemas/public_api/v4/user/basic.json
spec/fixtures/api/schemas/public_api/v4/user/basic.json
{ "type": ["object", "null"], "required": [ "id", "state", "avatar_url", "web_url" ], "properties": { "id": { "type": "integer" }, "state": { "type": "string" }, "avatar_url": { "type": "string" }, "web_url": { "type": "string" } } }
{ "type": ["object", "null"], "required": [ "id", "name", "username", "state", "avatar_url", "web_url" ], "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "username": { "type": "string" }, "state": { "type": "string" }, "avatar_url": { "type"...
Fix a JSON schema that doesn't include enough fields
Fix a JSON schema that doesn't include enough fields Signed-off-by: Rémy Coutable <4ea0184b9df19e0786dd00b28e6daa4d26baeb3e@rymai.me>
JSON
mit
stoplightio/gitlabhq,mmkassem/gitlabhq,dreampet/gitlab,dreampet/gitlab,iiet/iiet-git,iiet/iiet-git,jirutka/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,jirutka/gitlabhq,dreampet/gitlab,iiet/iiet-git,axilleas/gitlabhq,axilleas/gitlabhq,axilleas/g...
json
## Code Before: { "type": ["object", "null"], "required": [ "id", "state", "avatar_url", "web_url" ], "properties": { "id": { "type": "integer" }, "state": { "type": "string" }, "avatar_url": { "type": "string" }, "web_url": { "type": "string" } } } ## Instruction: Fix a JSON ...
f2946cbd288cc923aea384187af93f03c757d1a1
src/app/account/change-email/change-email-component.html
src/app/account/change-email/change-email-component.html
<div crud> <form class="form-container form-horizontal" crud-submit="save()" novalidate> <div frm-field frm-group> <div frm-label>Current Password</div> <div frm-control> <div frm-password-field model="item.currentPassword" required="true"></div> <div frm-errors errors="item.errors.cu...
<div crud> <form class="form-container form-horizontal" crud-submit="save()" novalidate> <div frm-field frm-group> <div frm-label>Current Email</div> <div frm-control> <p class="form-control-static">{{ originalItem.email }}</p> </div> </div> <div frm-field frm-group> <div...
Add current email to change email form
Add current email to change email form
HTML
agpl-3.0
renalreg/radar-client,renalreg/radar-client,renalreg/radar-client
html
## Code Before: <div crud> <form class="form-container form-horizontal" crud-submit="save()" novalidate> <div frm-field frm-group> <div frm-label>Current Password</div> <div frm-control> <div frm-password-field model="item.currentPassword" required="true"></div> <div frm-errors errors...
50714f6b030bddce42d1e3f69be83cb4c9da4188
src/notebook/components/transforms/index.js
src/notebook/components/transforms/index.js
import { displayOrder, transforms } from 'transformime-react'; /** * Thus begins our path for custom mimetypes and future extensions */ import PlotlyTransform from './plotly'; import GeoJSONTransform from './geojson'; const defaultDisplayOrder = displayOrder .insert(0, PlotlyTransform.MIMETYPE) .insert(0, Geo...
import { displayOrder, transforms } from 'transformime-react'; /** * Thus begins our path for custom mimetypes and future extensions */ import PlotlyTransform from './plotly'; import GeoJSONTransform from './geojson'; // Register custom transforms const defaultTransforms = transforms .set(PlotlyTransform.MIMETYP...
Comment on custom transform registration
Comment on custom transform registration
JavaScript
bsd-3-clause
jdetle/nteract,0u812/nteract,jdetle/nteract,nteract/composition,captainsafia/nteract,rgbkrk/nteract,0u812/nteract,jdfreder/nteract,captainsafia/nteract,nteract/nteract,rgbkrk/nteract,nteract/nteract,temogen/nteract,temogen/nteract,temogen/nteract,jdfreder/nteract,jdetle/nteract,nteract/composition,nteract/nteract,rgbkr...
javascript
## Code Before: import { displayOrder, transforms } from 'transformime-react'; /** * Thus begins our path for custom mimetypes and future extensions */ import PlotlyTransform from './plotly'; import GeoJSONTransform from './geojson'; const defaultDisplayOrder = displayOrder .insert(0, PlotlyTransform.MIMETYPE) ...
cb89252b3d44e0b81f7fcaa121c72066ec12cc58
src/js/routes/jobs.js
src/js/routes/jobs.js
import {Route} from 'react-router'; import JobDetailPage from '../pages/jobs/JobDetailPage'; import JobsPage from '../pages/JobsPage'; import JobsTab from '../pages/jobs/JobsTab'; let jobsRoutes = { type: Route, name: 'jobs-page', handler: JobsPage, path: '/jobs/?', children: [ { type: Route, ...
import {DefaultRoute, Route} from 'react-router'; /* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import JobDetailPage from '../pages/jobs/JobDetailPage'; import JobsPage from '../pages/JobsPage'; import JobsTab from '../pages/jobs/JobsTab'; import TaskDetail from '.....
Add job task detail routes
Add job task detail routes
JavaScript
apache-2.0
dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui
javascript
## Code Before: import {Route} from 'react-router'; import JobDetailPage from '../pages/jobs/JobDetailPage'; import JobsPage from '../pages/JobsPage'; import JobsTab from '../pages/jobs/JobsTab'; let jobsRoutes = { type: Route, name: 'jobs-page', handler: JobsPage, path: '/jobs/?', children: [ { t...
9beedb6a599cf010292b26ca41aee694115be7fb
app/src/main/java/jp/toastkid/yobidashi/main/StartUp.kt
app/src/main/java/jp/toastkid/yobidashi/main/StartUp.kt
package jp.toastkid.yobidashi.main import android.support.annotation.IdRes import android.support.annotation.StringRes import jp.toastkid.yobidashi.R /** * Start-up view definition. * * @param titleId * @param radioButtonId * * @author toastkidjp */ enum class StartUp(@StringRes val titleId: Int, @IdRes val ra...
package jp.toastkid.yobidashi.main import android.support.annotation.IdRes import android.support.annotation.StringRes import jp.toastkid.yobidashi.R /** * Start-up view definition. * * @param titleId * @param radioButtonId * * @author toastkidjp */ enum class StartUp(@StringRes val titleId: Int, @IdRes val ra...
Modify default startup to browser.
Modify default startup to browser.
Kotlin
epl-1.0
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
kotlin
## Code Before: package jp.toastkid.yobidashi.main import android.support.annotation.IdRes import android.support.annotation.StringRes import jp.toastkid.yobidashi.R /** * Start-up view definition. * * @param titleId * @param radioButtonId * * @author toastkidjp */ enum class StartUp(@StringRes val titleId: In...
bb5da5f12fa2a84955e39596119053e4bd1bbfee
groups/templates/groups/base.html
groups/templates/groups/base.html
{% extends 'base.html' %} {% block title %} {% block groups_title %}{% endblock groups_title %} {% endblock title %} {% block main_head_subtitle %} {% block groups_subtitle %}{% endblock groups_subtitle %} {% endblock main_head_subtitle %} {% block main_content %} {% block back_link %}{% endblock back_li...
{% extends 'base.html' %} {% block title %} {% block groups_title %}{% endblock groups_title %} {% endblock title %} {% block subtitle %} {% block groups_subtitle %}{% endblock groups_subtitle %} {% endblock subtitle %} {% block main_content %} {% block back_link %}{% endblock back_link %} {% block g...
Use {% block subtitle %} instead of main_head_subtitle.
Use {% block subtitle %} instead of main_head_subtitle.
HTML
bsd-2-clause
incuna/incuna-groups,incuna/incuna-groups
html
## Code Before: {% extends 'base.html' %} {% block title %} {% block groups_title %}{% endblock groups_title %} {% endblock title %} {% block main_head_subtitle %} {% block groups_subtitle %}{% endblock groups_subtitle %} {% endblock main_head_subtitle %} {% block main_content %} {% block back_link %}{% ...
a41f3aa7f8a81e5f8734cde31008d0e23c77d016
Cargo.toml
Cargo.toml
[package] name = "ccal" version = "0.1.0" authors = ["John Colagioia <john@colagioia.net>"] [dependencies] time = "0.1"
[package] name = "ccal" version = "0.1.0" authors = ["John Colagioia <john@colagioia.net>"] [dependencies] time = "0.1" getopts = "*"
Add argument-parsing library for next step
Add argument-parsing library for next step
TOML
agpl-3.0
jcolag/CommonCalendar
toml
## Code Before: [package] name = "ccal" version = "0.1.0" authors = ["John Colagioia <john@colagioia.net>"] [dependencies] time = "0.1" ## Instruction: Add argument-parsing library for next step ## Code After: [package] name = "ccal" version = "0.1.0" authors = ["John Colagioia <john@colagioia.net>"] [dependencies]...
e45d8dcfb862fc70a35a7820f87f28baf5d1bcff
ruby/command-t/finder/mru_buffer_finder.rb
ruby/command-t/finder/mru_buffer_finder.rb
require 'command-t/ext' # CommandT::Matcher require 'command-t/scanner/mru_buffer_scanner' require 'command-t/finder/buffer_finder' module CommandT class MRUBufferFinder < BufferFinder # Override sorted_matches_for to prevent MRU ordered matches from being # ordered alphabetically. def sorted_matches_fo...
require 'command-t/ext' # CommandT::Matcher require 'command-t/scanner/mru_buffer_scanner' require 'command-t/finder/buffer_finder' module CommandT class MRUBufferFinder < BufferFinder def initialize @scanner = MRUBufferScanner.new @matcher = Matcher.new @scanner, :always_show_dot_files => true ...
Put initialize method at top of class
Put initialize method at top of class By convention, this is where people expect to see this.
Ruby
bsd-2-clause
supriyantomaftuh/command-t,mtimkovich/command-t,vrkansagara/command-t,besarthoxhaj/command-t,besarthoxhaj/command-t,lencioni/command-t,wincent/command-t,yrro/command-t,lencioni/command-t,simichaels/dotfiles,wincent/command-t,supriyantomaftuh/command-t,simichaels/dotfiles,yrro/command-t,wincent/command-t,1234-/command-t...
ruby
## Code Before: require 'command-t/ext' # CommandT::Matcher require 'command-t/scanner/mru_buffer_scanner' require 'command-t/finder/buffer_finder' module CommandT class MRUBufferFinder < BufferFinder # Override sorted_matches_for to prevent MRU ordered matches from being # ordered alphabetically. def s...
f9e5b428814e71b0b26b581d18435de963c89010
README.md
README.md
Python combines HTTP and WebSocketServer with SSL support
Python combines HTTP and WebSocketServer with SSL support ##command line options ```shell #assume ExampleWSServer.py and HTTPWebSocketsHandler.py are in the current directory nohup python ExampleWSServer.py 8000 secure username:mysecret >>ws.log& ``` This uses SSL/https. Change username:mysecret in a username:passwo...
Update readme with command line options
Update readme with command line options
Markdown
mit
SevenW/httpwebsockethandler,SevenW/httpwebsockethandler
markdown
## Code Before: Python combines HTTP and WebSocketServer with SSL support ## Instruction: Update readme with command line options ## Code After: Python combines HTTP and WebSocketServer with SSL support ##command line options ```shell #assume ExampleWSServer.py and HTTPWebSocketsHandler.py are in the current direct...
0b785c23154e15b470bfff3aa0a7125600276ad4
README.md
README.md
> A directory of Progressive Web App case studies. ## Contributing See [CONTRIBUTING.md](.github/CONTRIBUTING.md) ## Developing This site is built with [Jekyll](https://jekyllrb.com/docs/home/). ### Quick start ```sh git clone git@github.com:cloudfour/pwastats.git cd pwastats gem install bundler bundle install n...
> A directory of Progressive Web App case studies. ## Contributing See [CONTRIBUTING.md](.github/CONTRIBUTING.md) ## Developing This site is built with [Jekyll](https://jekyllrb.com/docs/home/). ### Quick start This project relies on [Ruby](https://www.ruby-lang.org/en/), [Node](https://nodejs.org/), and [npm](h...
Add a note about installing Ruby and Node/npm
Add a note about installing Ruby and Node/npm When following the install instructions I did not have Ruby installed. It took me a little while to figure out the proper way to install gems. MacOS has a global Ruby install that you should not be modifying. Instead your should use something like `rbenv` to set up a dev i...
Markdown
mit
cloudfour/pwastats,cloudfour/pwastats
markdown
## Code Before: > A directory of Progressive Web App case studies. ## Contributing See [CONTRIBUTING.md](.github/CONTRIBUTING.md) ## Developing This site is built with [Jekyll](https://jekyllrb.com/docs/home/). ### Quick start ```sh git clone git@github.com:cloudfour/pwastats.git cd pwastats gem install bundler ...
4ff6499b93e52849eb3dd97ebeb45c8c32f55e08
db/ignore_patterns/dreamwidth.json
db/ignore_patterns/dreamwidth.json
{ "name": "dreamwidth", "patterns": [ "replyto=", "mode=reply", "/inbox/compose", "/manage/tracking/", "/manage/circle/", "/shop/account", "/tools/tellafriend", "/tools/memadd" ], "type": "ignore_patterns" }
{ "name": "dreamwidth", "patterns": [ "/\\d+\\.html\\?(.*&)?replyto=\\d+(&|$)", "/\\d+\\.html\\?(.*&)?mode=reply(&|$)", "/inbox/compose\\.bml\\?", "/manage/tracking/", "/manage/circle/", "/manage/subscriptions/user\\.bml\\?", "/shop/account", "/too...
Extend and update Dreamwidth/LiveJournal igset
Extend and update Dreamwidth/LiveJournal igset Updated most of the existing ignores to be more precise, and added a large number of ignores appearing in particular on LJ (login, member-only functions, calendar recursion, various broken stuff due to JS extraction or simply broken links).
JSON
mit
falconkirtaran/ArchiveBot,falconkirtaran/ArchiveBot,falconkirtaran/ArchiveBot,ArchiveTeam/ArchiveBot,falconkirtaran/ArchiveBot,ArchiveTeam/ArchiveBot,ArchiveTeam/ArchiveBot,falconkirtaran/ArchiveBot,ArchiveTeam/ArchiveBot,ArchiveTeam/ArchiveBot
json
## Code Before: { "name": "dreamwidth", "patterns": [ "replyto=", "mode=reply", "/inbox/compose", "/manage/tracking/", "/manage/circle/", "/shop/account", "/tools/tellafriend", "/tools/memadd" ], "type": "ignore_patterns" } ## Instruction:...
22a4375c2ecb1549281cbd92b7fb2cf0c0be9989
.travis.yml
.travis.yml
language: ruby sudo: required addons: chrome: stable cache: - bundler notifications: email: false rvm: - 2.4.4 - 2.3.7 - 2.2.10 - jruby-9.0.3.0 install: bin/setup_ci before_script: - export PATH="$HOME/.nvm/versions/node/v${NODE_JS_VERSION}/bin:$PATH" script: bin/rake env: global: - secure: RbWKxw...
language: ruby sudo: required addons: chrome: stable cache: - bundler notifications: email: false rvm: - 2.4.4 - 2.3.7 - 2.2.10 - jruby-9.1.16.0 install: bin/setup_ci before_script: - export PATH="$HOME/.nvm/versions/node/v${NODE_JS_VERSION}/bin:$PATH" script: bin/rake env: global: - secure: RbWKx...
Update CI's JRuby version to `9.1.16.0`
Update CI's JRuby version to `9.1.16.0` Remove it from the allowed failures matrix.
YAML
mit
thoughtbot/ember-cli-rails,seanpdoyle/ember-cli-rails,rwz/ember-cli-rails,seanpdoyle/ember-cli-rails,rwz/ember-cli-rails,seanpdoyle/ember-cli-rails,rwz/ember-cli-rails,thoughtbot/ember-cli-rails,thoughtbot/ember-cli-rails
yaml
## Code Before: language: ruby sudo: required addons: chrome: stable cache: - bundler notifications: email: false rvm: - 2.4.4 - 2.3.7 - 2.2.10 - jruby-9.0.3.0 install: bin/setup_ci before_script: - export PATH="$HOME/.nvm/versions/node/v${NODE_JS_VERSION}/bin:$PATH" script: bin/rake env: global: ...
5504e8b04dcf7bed4863027ca8811ac7078a54ed
dub.selections.json
dub.selections.json
{ "fileVersion": 1, "versions": { "antispam": "0.1.2", "botan": "1.12.9", "botan-math": "1.0.3", "ddox": "0.16.3", "diet-ng": "1.4.0", "diskuto": "1.5.1", "dyaml-dlang-tour": "0.5.5", "eventcore": "0.8.13", "fuzzydate": "1.0.0", "hyphenate": "1.1.1", "libasync": "0.8.3", "libdparse": "0.7.1-be...
{ "fileVersion": 1, "versions": { "antispam": "0.1.3", "botan": "1.12.9", "botan-math": "1.0.3", "ddox": "0.16.4", "diet-ng": "1.4.0", "diskuto": "1.5.1", "eventcore": "0.8.13", "fuzzydate": "1.0.0", "hyphenate": "1.1.1", "libasync": "0.8.3", "libdparse": "0.7.1-beta.9", "libevent": "2.0.2+2.0...
Upgrade dependencies to fix build errors.
Upgrade dependencies to fix build errors.
JSON
agpl-3.0
rejectedsoftware/vibed.org
json
## Code Before: { "fileVersion": 1, "versions": { "antispam": "0.1.2", "botan": "1.12.9", "botan-math": "1.0.3", "ddox": "0.16.3", "diet-ng": "1.4.0", "diskuto": "1.5.1", "dyaml-dlang-tour": "0.5.5", "eventcore": "0.8.13", "fuzzydate": "1.0.0", "hyphenate": "1.1.1", "libasync": "0.8.3", "libdp...
3513f49df275866ecf71be8defd581707cf67dc0
src/test/java/org/utplsql/cli/DataSourceProviderIT.java
src/test/java/org/utplsql/cli/DataSourceProviderIT.java
package org.utplsql.cli; import org.junit.jupiter.api.Test; import org.utplsql.cli.datasource.TestedDataSourceProvider; import javax.sql.DataSource; import java.io.IOException; import java.sql.SQLException; import static org.junit.jupiter.api.Assertions.assertNotNull; public class DataSourceProviderIT { @Test ...
package org.utplsql.cli; import org.junit.jupiter.api.Test; import org.utplsql.cli.datasource.TestedDataSourceProvider; import javax.sql.DataSource; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import static org.ju...
Test to parse/set NLS_LANG correctly
Test to parse/set NLS_LANG correctly
Java
apache-2.0
utPLSQL/utPLSQL-cli,utPLSQL/utPLSQL-cli
java
## Code Before: package org.utplsql.cli; import org.junit.jupiter.api.Test; import org.utplsql.cli.datasource.TestedDataSourceProvider; import javax.sql.DataSource; import java.io.IOException; import java.sql.SQLException; import static org.junit.jupiter.api.Assertions.assertNotNull; public class DataSourceProvider...
0509bf878c9b9a76153cb6503608f5778f02601b
.travis.yml
.travis.yml
language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /u...
language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /u...
Update path where the local version of cmake lives.
Update path where the local version of cmake lives. This should fix the Travis CI build in PR #118.
YAML
bsd-2-clause
mmp/pbrt-v3,nyue/pbrt-v3,nispaur/pbrt-v3,nyue/pbrt-v3,shihchinw/pbrt-v3,mmp/pbrt-v3,mmp/pbrt-v3,shihchinw/pbrt-v3,mmp/pbrt-v3,nyue/pbrt-v3,nispaur/pbrt-v3,nispaur/pbrt-v3,nyue/pbrt-v3,shihchinw/pbrt-v3,shihchinw/pbrt-v3,nispaur/pbrt-v3
yaml
## Code Before: language: cpp compiler: gcc sudo: required install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install -yq build-essential gcc-4.8 g++-4.8 make bison flex libpthread-stubs0-dev - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4...
26765cb2bea7eb4fe1f2ce4497b489031dbd6790
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
name: Python package on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.6, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: ...
name: Python package on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: ['3.6', '3.9', '3.10'] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 ...
Test on more Python versions.
Test on more Python versions.
YAML
mit
eerimoq/bitstruct,eerimoq/bitstruct
yaml
## Code Before: name: Python package on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.6, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python...
1c7a4a59c382a766f398a3a61193b16bb1af0361
app_server/test/util/Utility.js
app_server/test/util/Utility.js
var rfr = require('rfr'); var Lab = require('lab'); var lab = exports.lab = Lab.script(); var Code = require('code'); var Utility = rfr('app/util/Utility'); lab.experiment('Utility#getModuleName Tests', function () { lab.test('Empty path', function (done) { Code.expect(Utility.getModuleName('')).to.equal(''); ...
var rfr = require('rfr'); var Lab = require('lab'); var lab = exports.lab = Lab.script(); var Code = require('code'); var Utility = rfr('app/util/Utility'); lab.experiment('Utility#getModuleName Tests', function () { lab.test('Empty path', function (done) { Code.expect(Utility.getModuleName('')).to.equal(''); ...
Add random string generator tests
Add random string generator tests
JavaScript
mit
nus-mtp/worldscope,nus-mtp/worldscope,nus-mtp/worldscope,nus-mtp/worldscope
javascript
## Code Before: var rfr = require('rfr'); var Lab = require('lab'); var lab = exports.lab = Lab.script(); var Code = require('code'); var Utility = rfr('app/util/Utility'); lab.experiment('Utility#getModuleName Tests', function () { lab.test('Empty path', function (done) { Code.expect(Utility.getModuleName(''))...
5cba9b306b6244179230aadf7b70072ed9586919
README.md
README.md
A web app that connects those with things they no longer need with needy people who want them. Final project for COMPSCI 125/225: Next Generation Search Systems, taught by Ramesh Chandra Jain at the University of California Irvine. *** ### Created By Nathaniel Baer <<baern@uci.edu>> Yang Jiao <<yjiao7@uci.edu>> ...
A web app that connects those with things they no longer need with needy people who want them. Final project for COMPSCI 125/225: Next Generation Search Systems, taught by Ramesh Chandra Jain at the University of California Irvine. ## Production https://give-get-green.herokuapp.com/ Note: `master` branch automatical...
Update readme with production url
Update readme with production url
Markdown
mit
njbbaer/give-get-green,njbbaer/give-get-green,njbbaer/give-get-green
markdown
## Code Before: A web app that connects those with things they no longer need with needy people who want them. Final project for COMPSCI 125/225: Next Generation Search Systems, taught by Ramesh Chandra Jain at the University of California Irvine. *** ### Created By Nathaniel Baer <<baern@uci.edu>> Yang Jiao <<yji...
eedad82535112f9012b34a9cb9abb42f1f3b6e6f
app/views/layouts/bobcat.rb
app/views/layouts/bobcat.rb
module Views module Layouts class Bobcat < ActionView::Mustache def application_javascript javascript_include_tag "search" end def gauges_tracking_code views["gauges_tracking_code"] end def breadcrumbs breadcrumbs = super unless params["controller"] ...
module Views module Layouts class Bobcat < ActionView::Mustache def application_javascript javascript_include_tag "search" end def gauges_tracking_code views["gauges_tracking_code"] end def breadcrumbs breadcrumbs = super unless params["controller"] ...
Remove firstname login code for the BobCat layout since it's now bundled in with nyulibraries-assets
Remove firstname login code for the BobCat layout since it's now bundled in with nyulibraries-assets
Ruby
mit
NYULibraries/getit,NYULibraries/getit,NYULibraries/getit,NYULibraries/getit
ruby
## Code Before: module Views module Layouts class Bobcat < ActionView::Mustache def application_javascript javascript_include_tag "search" end def gauges_tracking_code views["gauges_tracking_code"] end def breadcrumbs breadcrumbs = super unless param...
6e108d664079cad989638f2e046db4551becf7a0
UPGRADE-1.5.md
UPGRADE-1.5.md
Require upgraded Sylius version using Composer: ```bash composer require sylius/sylius:~1.5.0 ``` Copy [a new migration file](https://raw.githubusercontent.com/Sylius/Sylius-Standard/94888ff604f7dfdcdc7165e82ce0119ce892c17e/src/Migrations/Version20190508083953.php) and run new migrations: ```bash bin/console doctri...
* `Property "code" does not exist in class "Sylius\Component\Currency\Model\CurrencyInterface"` while clearing the cache: * Introduced by `symfony/doctrine-bridge v4.3.0` * Will be fixed in `symfony/doctrine-bridge v4.3.1` ([see the pull request with fix](https://github.com/symfony/symfony/pull/31749)) * Could ...
Add known errors section to UPGRADE file
Add known errors section to UPGRADE file
Markdown
mit
foobarflies/Sylius,mbabker/Sylius,SyliusBot/Sylius,loic425/Sylius,Sylius/Sylius,mbabker/Sylius,foobarflies/Sylius,Arminek/Sylius,pjedrzejewski/Sylius,lchrusciel/Sylius,antonioperic/Sylius,itinance/Sylius,kayue/Sylius,kayue/Sylius,mbabker/Sylius,Zales0123/Sylius,kayue/Sylius,SyliusBot/Sylius,GSadee/Sylius,foobarflies/Sy...
markdown
## Code Before: Require upgraded Sylius version using Composer: ```bash composer require sylius/sylius:~1.5.0 ``` Copy [a new migration file](https://raw.githubusercontent.com/Sylius/Sylius-Standard/94888ff604f7dfdcdc7165e82ce0119ce892c17e/src/Migrations/Version20190508083953.php) and run new migrations: ```bash bi...
1b6895c6948c90ab230dfedbb942c5ab63f159da
README.md
README.md
This is a project designed to allow for the running of a website which will deliver information about account changes while livestreaming; it combines tools like: - http://chrisplaysgames.com/sub/ - http://www.iopred.com/fanfundingalerts/ - http://chrisplaysgames.com/sponsor/ into a single UI. The intent is to a...
This is a project designed to allow for the running of a website which will deliver information about account changes while livestreaming; it uses Google's YouTube, Gmail, and Live Streaming APIs (and eventually others) to access information about your account, and provide a web UI for presenting this information. T...
Update readme to refer to other similar projects.
Update readme to refer to other similar projects.
Markdown
apache-2.0
google/mirandum,google/mirandum,google/mirandum,google/mirandum
markdown
## Code Before: This is a project designed to allow for the running of a website which will deliver information about account changes while livestreaming; it combines tools like: - http://chrisplaysgames.com/sub/ - http://www.iopred.com/fanfundingalerts/ - http://chrisplaysgames.com/sponsor/ into a single UI. Th...
e6392450bce9df2578652204daf896cd6a96f78f
README.md
README.md
Wye: Platform connects trainers to educational institutes and open source organisation who has interested in conducting trainings # License This software is licensed under The MIT License(MIT). See the LICENSE file in the top distribution directory for the full license text.
Wye: Platform connects trainers to educational institutes and open source organisation who has interested in conducting trainings How to setup === - Create a PostgreSQL 9.3 database - It is advised to install all the requirements inside virtualenv, use virtualenvwrapper to manage virtualenvs. pip install -r requi...
Add How to Setup steps
Add How to Setup steps Add How to Setup steps
Markdown
mit
pythonindia/wye,shankig/wye,shankisg/wye,DESHRAJ/wye,shankig/wye,shankig/wye,pythonindia/wye,DESHRAJ/wye,harisibrahimkv/wye,harisibrahimkv/wye,shankig/wye,pythonindia/wye,shankisg/wye,harisibrahimkv/wye,harisibrahimkv/wye,shankisg/wye,pythonindia/wye,DESHRAJ/wye,DESHRAJ/wye,shankisg/wye
markdown
## Code Before: Wye: Platform connects trainers to educational institutes and open source organisation who has interested in conducting trainings # License This software is licensed under The MIT License(MIT). See the LICENSE file in the top distribution directory for the full license text. ## Instruction: Add How ...
6e361e6eca051bc3f0e50d7439e41e59be29bad8
src/test_helper.rs
src/test_helper.rs
use std::rand::random; /// Test helper to standardize how random files and directories are generated. pub fn random_name() -> String { format!("test_{}", random::<f64>()) }
use std::rand::random; use std::io::fs; /// Test helper to standardize how random files and directories are generated. pub fn random_name() -> String { format!("test_{}", random::<f64>()) } pub fn cleanup_file(path: &Path) { match fs::unlink(path) { Ok(()) => (), // succeeded Err(e) => println...
Add a method to quickly clean up the files created during testing.
Add a method to quickly clean up the files created during testing.
Rust
mit
brianp/muxed,brianp/muxed
rust
## Code Before: use std::rand::random; /// Test helper to standardize how random files and directories are generated. pub fn random_name() -> String { format!("test_{}", random::<f64>()) } ## Instruction: Add a method to quickly clean up the files created during testing. ## Code After: use std::rand::random; us...
b0efb8b93261a7909b209dbd9ff9a701e1832013
ansible/playbook.yml
ansible/playbook.yml
--- - hosts: typer become: true vars: ansible_python_interpreter: "/usr/bin/python3" roles: - role: letsencrypt extra_location_blocks: "location /api { rewrite /api(.*) $1 break; include uwsgi_params; uwsgi_pass unix:/tmp/uwsgieved.sock; }" - eve - mongo - deploy - upgraded
--- - hosts: typer become: true vars: ansible_python_interpreter: "/usr/bin/python3" extra_location_blocks: "location /api { rewrite /api(.*) $1 break; include uwsgi_params; uwsgi_pass unix:/tmp/uwsgieved.sock; }" roles: - letsencrypt - eve - mongo - deploy - upgraded
Fix extra location blocks override
Fix extra location blocks override
YAML
mit
mattiaslundberg/typer,mattiaslundberg/typer,mattiaslundberg/typer,mattiaslundberg/typer
yaml
## Code Before: --- - hosts: typer become: true vars: ansible_python_interpreter: "/usr/bin/python3" roles: - role: letsencrypt extra_location_blocks: "location /api { rewrite /api(.*) $1 break; include uwsgi_params; uwsgi_pass unix:/tmp/uwsgieved.sock; }" - eve - mongo - deploy - ...
15da0fa8044c564873be4972759814404947aa44
packages/mongoose/src/decorators/schemaIgnore.ts
packages/mongoose/src/decorators/schemaIgnore.ts
import {Schema} from "@tsed/mongoose"; /** * Do not apply this property to schema (create virtual property) * * ### Example * * ```typescript * @Model() * @SchemaIgnore() * @Property() * kind: string; * * ``` * * @returns {Function} * @decorator * @mongoose * @class */ export function SchemaIgnore():...
import {Schema} from "./schema"; /** * Do not apply this property to schema (create virtual property) * * ### Example * * ```typescript * @Model() * @SchemaIgnore() * @Property() * kind: string; * * ``` * * @returns {Function} * @decorator * @mongoose * @class */ export function SchemaIgnore(): Funct...
Fix automatic import to lib style
Fix automatic import to lib style
TypeScript
mit
Romakita/ts-express-decorators,Romakita/ts-express-decorators,Romakita/ts-express-decorators,Romakita/ts-express-decorators
typescript
## Code Before: import {Schema} from "@tsed/mongoose"; /** * Do not apply this property to schema (create virtual property) * * ### Example * * ```typescript * @Model() * @SchemaIgnore() * @Property() * kind: string; * * ``` * * @returns {Function} * @decorator * @mongoose * @class */ export function...
666d29e510473dabcb6c854e6e337c0c69dc78de
.travis.yml
.travis.yml
language: java addons: sonarcloud: organization: steinarb-github token: $SONAR_TOKEN script: - travis_wait mvn -q -B -Dorg.slf4j.simpleLogger.defaultLogLevel=warn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar coveralls:report >/dev/null deploy: provider: script ...
language: java addons: sonarcloud: organization: steinarb-github token: $SONAR_TOKEN script: - mvn -B clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar coveralls:report deploy: provider: script script: bash scripts/deploy.sh skip_cleanup: true
Use the same maven command as authservice in an attempt at fixing the build
Use the same maven command as authservice in an attempt at fixing the build
YAML
apache-2.0
steinarb/ukelonn,steinarb/ukelonn,steinarb/ukelonn
yaml
## Code Before: language: java addons: sonarcloud: organization: steinarb-github token: $SONAR_TOKEN script: - travis_wait mvn -q -B -Dorg.slf4j.simpleLogger.defaultLogLevel=warn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar coveralls:report >/dev/null deploy: provi...
9489a26a0aaa6fcdc181432f8656a5e786101794
src/main/java/com/questionanswer/controller/UserController.java
src/main/java/com/questionanswer/controller/UserController.java
package com.questionanswer.controller; import com.questionanswer.config.Routes; import com.questionanswer.model.User; import com.questionanswer.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpStatus; im...
package com.questionanswer.controller; import com.questionanswer.config.Routes; import com.questionanswer.model.User; import com.questionanswer.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataIntegrityViolationException; import org.springframework...
Add some error handling during the register user action
Add some error handling during the register user action
Java
mit
webdude21/QuestionAndAnswer,webdude21/QuestionAndAnswer,webdude21/QuestionAndAnswer,webdude21/QuestionAndAnswer,webdude21/QuestionAndAnswer
java
## Code Before: package com.questionanswer.controller; import com.questionanswer.config.Routes; import com.questionanswer.model.User; import com.questionanswer.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.htt...
930c7c8a5332fc8121f98dc419ac3717b3ff5706
recipes/jlime/jlime-extras_1.0.1.bb
recipes/jlime/jlime-extras_1.0.1.bb
DESCRIPTION = "Various extras for the Jlime userlands" PR = "r0" RRECOMMENDS = "jlime-extras-${MACHINE}" PACKAGE_ARCH = "all" SRC_URI = "http://jlime.com/downloads/development/software/${PN}-${PV}.tar.gz" FILES_${PN} = "/etc /usr" do_install() { install -d ${D} cp -R etc usr ${D} } SRC_URI[md5sum] = "ebad10a6e08...
DESCRIPTION = "Various extras for the Jlime userlands" PR = "r0" RRECOMMENDS = "jlime-extras-${MACHINE}" PACKAGE_ARCH = "all" SRC_URI = "http://jlime.com/downloads/development/software/${PN}-${PV}.tar.gz" FILES_${PN} = "/etc /usr" do_install() { install -d ${D} cp -R etc usr ${D} } SRC_URI[md5sum] = "920be63e226...
Modify checksums for upstream source file change.
jlime-extras: Modify checksums for upstream source file change. This one is a quick modification of the checksums to mirror a small change in the upstream source file. Signed-off-by: Alex Ferguson <d3a3ee81b645c9e94ee2e6bbc2271c572ff35b4a@gmail.com> Signed-off-by: Kristoffer Ericson <aa612af59a96f3eb9dbe4c12cd763177d...
BitBake
mit
dellysunnymtech/sakoman-oe,Martix/Eonos,sledz/oe,thebohemian/openembedded,yyli/overo-oe,rascalmicro/openembedded-rascal,BlackPole/bp-openembedded,JamesAng/goe,nx111/openembeded_openpli2.1_nx111,JamesAng/oe,SIFTeam/openembedded,BlackPole/bp-openembedded,openembedded/openembedded,xifengchuo/openembedded,sutajiokousagi/op...
bitbake
## Code Before: DESCRIPTION = "Various extras for the Jlime userlands" PR = "r0" RRECOMMENDS = "jlime-extras-${MACHINE}" PACKAGE_ARCH = "all" SRC_URI = "http://jlime.com/downloads/development/software/${PN}-${PV}.tar.gz" FILES_${PN} = "/etc /usr" do_install() { install -d ${D} cp -R etc usr ${D} } SRC_URI[md5sum...
6c89e9a2eb6c429f9faf8f8fdbb7360239b15a61
setup.py
setup.py
from setuptools import setup, find_packages import io # List all of your Python package dependencies in the # requirements.txt file def readfile(filename, split=False): with io.open(filename, encoding="utf-8") as stream: if split: return stream.read().split("\n") return stream.read() ...
from setuptools import setup, find_packages import io # List all of your Python package dependencies in the # requirements.txt file def readfile(filename, split=False): with io.open(filename, encoding="utf-8") as stream: if split: return stream.read().split("\n") return stream.read() ...
Remove namespace_packages argument which works with declare_namespace.
Remove namespace_packages argument which works with declare_namespace.
Python
apache-2.0
OpenCMISS-Bindings/opencmiss.utils
python
## Code Before: from setuptools import setup, find_packages import io # List all of your Python package dependencies in the # requirements.txt file def readfile(filename, split=False): with io.open(filename, encoding="utf-8") as stream: if split: return stream.read().split("\n") retur...
9334d14a724cdc50e187d719690ccaa49483be3f
app/Resources/views/default/homepage.html.twig
app/Resources/views/default/homepage.html.twig
{% extends 'base.html.twig' %} {% block body_id 'homepage' %} {# the homepage is a special page which displays neither a header nor a footer. this is done with the 'trick' of defining empty Twig blocks without any content #} {% block header %}{% endblock %} {% block footer %}{% endblock %} {% block body %} ...
{% extends 'base.html.twig' %} {% block body_id 'homepage' %} {# the homepage is a special page which displays neither a header nor a footer. this is done with the 'trick' of defining empty Twig blocks without any content #} {% block header %}{% endblock %} {% block footer %}{% endblock %} {% block body %} ...
Add GitHub icon + <a> to this repository
Add GitHub icon + <a> to this repository
Twig
mit
alfonsomga/symfony.demo.on.roids,alfonsomga/symfony.demo.on.roids,alfonsomga/symfony-demo-on-roids,alfonsomga/symfony-demo-on-roids,alfonsomga/symfony.demo.on.roids,alfonsomga/symfony-demo-on-roids,alfonsomga/symfony.demo.on.roids,alfonsomga/symfony-demo-on-roids,alfonsomga/symfony.demo.on.roids,alfonsomga/symfony-demo...
twig
## Code Before: {% extends 'base.html.twig' %} {% block body_id 'homepage' %} {# the homepage is a special page which displays neither a header nor a footer. this is done with the 'trick' of defining empty Twig blocks without any content #} {% block header %}{% endblock %} {% block footer %}{% endblock %} {%...
8f8597a705d541631dcab204cf9171c1a18b80f4
tests/249-math.swift
tests/249-math.swift
import math; import assert; assert(abs(PI - 3.1416) < 0.0001, "PI"); assert(abs(E - 2.7183) < 0.0001, "E"); assert(abs(sin(PI/2) - 1.0) < 1e-15, "sin"); assert(abs(cos(PI) - -1.0) < 1e-15, "cos"); assert(abs(tan(PI/4) - 1.0) < 1e-15, "tan"); assert(abs(asin(PI/4) - 0.9033391107665127) < 1e-15, "asin"); assert(abs(ac...
import math; import assert; /* constants */ assert(abs(PI - 3.1416) < 0.0001, "PI"); assert(abs(E - 2.7183) < 0.0001, "E"); /* logarithms */ assert(abs(log10(1000) - 3.0) < 1e-15, "log10"); assert(abs(ln(E ** 2) - 2.0) < 1e-15, "ln"); assert(abs(log(5**4, 25) - 2.0) < 1e-15, "log25"); /* trig */ assert(abs(sin(PI/2)...
Implement log functions and test them
Implement log functions and test them git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@14823 dc4e9af1-7f46-4ead-bba6-71afc04862de
Swift
apache-2.0
basheersubei/swift-t,basheersubei/swift-t,blue42u/swift-t,JohnPJenkins/swift-t,JohnPJenkins/swift-t,JohnPJenkins/swift-t,blue42u/swift-t,basheersubei/swift-t,swift-lang/swift-t,swift-lang/swift-t,basheersubei/swift-t,JohnPJenkins/swift-t,swift-lang/swift-t,JohnPJenkins/swift-t,blue42u/swift-t,blue42u/swift-t,basheersub...
swift
## Code Before: import math; import assert; assert(abs(PI - 3.1416) < 0.0001, "PI"); assert(abs(E - 2.7183) < 0.0001, "E"); assert(abs(sin(PI/2) - 1.0) < 1e-15, "sin"); assert(abs(cos(PI) - -1.0) < 1e-15, "cos"); assert(abs(tan(PI/4) - 1.0) < 1e-15, "tan"); assert(abs(asin(PI/4) - 0.9033391107665127) < 1e-15, "asin"...
f8dfdfb4d9e0d1bbb5883ee88a0d6778940da302
test/cartridgeSassSpec.js
test/cartridgeSassSpec.js
var spawn = require('child_process').spawn; var path = require('path'); var chai = require('chai'); var expect = chai.expect; // chai.use(require('chai-fs')); chai.should(); const MOCK_PROJECT_DIR = path.join(process.cwd(), 'test', 'mock-project'); const STYLE_SRC_DIR = path.join(MOCK_PROJECT_DIR, '_source', 'styles'...
var spawn = require('child_process').spawn; var path = require('path'); var chai = require('chai'); var expect = chai.expect; chai.use(require('chai-fs')); chai.should(); const MOCK_PROJECT_DIR = path.join(process.cwd(), 'test', 'mock-project'); const STYLE_SRC_DIR = path.join(MOCK_PROJECT_DIR, '_source', 'styles'); ...
Add in tests to check for file output for sass
tests: Add in tests to check for file output for sass
JavaScript
mit
cartridge/cartridge-sass,code-computerlove/slate-styles
javascript
## Code Before: var spawn = require('child_process').spawn; var path = require('path'); var chai = require('chai'); var expect = chai.expect; // chai.use(require('chai-fs')); chai.should(); const MOCK_PROJECT_DIR = path.join(process.cwd(), 'test', 'mock-project'); const STYLE_SRC_DIR = path.join(MOCK_PROJECT_DIR, '_s...
fdfc0c5d2056f11021d1b5dcdce4e92728d323a4
akonadi/resources/openchange/lzfu.h
akonadi/resources/openchange/lzfu.h
KDE_EXPORT QByteArray lzfuDecompress (const QByteArray &rtfcomp);
/* Copyright (C) Brad Hards <bradh@frogmouth.net> 2007 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version....
Add license, to help the GPLV3 zealots.
Add license, to help the GPLV3 zealots. svn path=/trunk/KDE/kdepim/; revision=748604
C
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
c
## Code Before: KDE_EXPORT QByteArray lzfuDecompress (const QByteArray &rtfcomp); ## Instruction: Add license, to help the GPLV3 zealots. svn path=/trunk/KDE/kdepim/; revision=748604 ## Code After: /* Copyright (C) Brad Hards <bradh@frogmouth.net> 2007 This program is free software; you can redistribute ...
6e9684dcb26cb3ddc54c472c9962b19797c46a8b
tests/unit/Jadu/Pulsar/Twig/Macro/Fixtures/tabs/tabs_list-class.html
tests/unit/Jadu/Pulsar/Twig/Macro/Fixtures/tabs/tabs_list-class.html
<div class="nav-inline t-nav-inline"> <ul class="nav-inline__list"> <li class="nav-inline__item nav-inline__item--is-active is-active"> <a href="#foo" data-toggle="tab" class="one two three nav-inline__link">bar</a> </li> </ul> </div> <div class="tab__pane is-active" id="foo"> ba...
<div class="nav-inline t-nav-inline"> <ul class="nav-inline__list"> <li class="nav-inline__item nav-inline__item--is-active is-active"> <a href="#foo" data-toggle="tab" class="one two three nav-inline__link">bar</a> </li> </ul> </div> <div class="tab__pane is-active one two three" id...
Fix unit test for adding tab class to both the tab link and the tab pane
Fix unit test for adding tab class to both the tab link and the tab pane
HTML
mit
jadu/pulsar,jadu/pulsar,jadu/pulsar
html
## Code Before: <div class="nav-inline t-nav-inline"> <ul class="nav-inline__list"> <li class="nav-inline__item nav-inline__item--is-active is-active"> <a href="#foo" data-toggle="tab" class="one two three nav-inline__link">bar</a> </li> </ul> </div> <div class="tab__pane is-active" ...
8d2cb910705a51563af5860e878db6f9f2afd3f3
tests/MaxMind/Test/WebService/Http/CurlRequestTest.php
tests/MaxMind/Test/WebService/Http/CurlRequestTest.php
<?php namespace MaxMind\Test\WebService\Http; use MaxMind\WebService\Http\CurlRequest; // These tests are totally insufficient, but they do test that most of our // curl calls are at least syntactically valid and available in each PHP // version. Doing more sophisticated testing would require setting up a // server,...
<?php namespace MaxMind\Test\WebService\Http; use MaxMind\WebService\Http\CurlRequest; // These tests are totally insufficient, but they do test that most of our // curl calls are at least syntactically valid and available in each PHP // version. Doing more sophisticated testing would require setting up a // server,...
Fix exception message to work on Travis
Fix exception message to work on Travis
PHP
apache-2.0
maxmind/web-service-common-php,maxmind/web-service-common-php
php
## Code Before: <?php namespace MaxMind\Test\WebService\Http; use MaxMind\WebService\Http\CurlRequest; // These tests are totally insufficient, but they do test that most of our // curl calls are at least syntactically valid and available in each PHP // version. Doing more sophisticated testing would require setting...
85ab007bb0f0cd2c107177e60e7b1746f55c9ad4
app/lib/notifier.rb
app/lib/notifier.rb
class Notifier def initialize(appointment) @appointment = appointment end def call return unless appointment.previous_changes notify_customer(appointment) notify_guiders(appointment) end private def notify_guiders(appointment) guiders_to_notify(appointment).each do |guider_id| ...
class Notifier def initialize(appointment) @appointment = appointment end def call return unless appointment.previous_changes notify_customer notify_guiders end private def notify_guiders guiders_to_notify.each do |guider_id| PusherNotificationJob.perform_later(guider_id, appoi...
Clean up method signatures in Notify object
Clean up method signatures in Notify object appointment didn’t need to be passed in to each and every object.
Ruby
mit
guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner
ruby
## Code Before: class Notifier def initialize(appointment) @appointment = appointment end def call return unless appointment.previous_changes notify_customer(appointment) notify_guiders(appointment) end private def notify_guiders(appointment) guiders_to_notify(appointment).each do |g...
09b4307c74869bd3713c280def0b2522afb7704f
package.json
package.json
{ "name": "newbcss", "version": "1.0.0", "description": "An attempt to create an extremely lightweight but flexible CSS framework. ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Carlos Filoteo", "license": "MIT", "devDependencies": { "ba...
{ "name": "newbcss", "version": "1.0.0", "description": "An attempt to create an extremely lightweight but flexible CSS framework. ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "webpack-dev-server" }, "author": "Carlos Filoteo", "license": "M...
Add start npm script. Add gulp-sass and react as dependencies.
Add start npm script. Add gulp-sass and react as dependencies.
JSON
mit
filoxo/NewbCSS,filoxo/NewbCSS
json
## Code Before: { "name": "newbcss", "version": "1.0.0", "description": "An attempt to create an extremely lightweight but flexible CSS framework. ", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Carlos Filoteo", "license": "MIT", "devDependen...
7e05249b9d8e4888a63d668dbecd23ddf2f90b82
contrib/examples/actions/workflows/mistral-handle-retry.yaml
contrib/examples/actions/workflows/mistral-handle-retry.yaml
version: '2.0' name: examples.mistral-handle-retry description: > Sample workflow that demonstrates how to handle rollback and retry on error. In this example, the workflow will error and then continue to retry until the file /tmp/done exists. A parallel task will wait for some time before creating the ...
version: '2.0' name: examples.mistral-handle-retry description: > Sample workflow that demonstrates how to handle rollback and retry on error. In this example, the workflow will error and then continue to retry until the file /tmp/done exists. A parallel task will wait for some time before creating the ...
Fix mistral workflow example to handle retry
Fix mistral workflow example to handle retry Move the delete file task to run on success of the test retry task.
YAML
apache-2.0
alfasin/st2,tonybaloney/st2,alfasin/st2,StackStorm/st2,grengojbo/st2,Plexxi/st2,punalpatel/st2,jtopjian/st2,pinterb/st2,dennybaa/st2,pixelrebel/st2,StackStorm/st2,peak6/st2,Itxaka/st2,pixelrebel/st2,Itxaka/st2,jtopjian/st2,emedvedev/st2,nzlosh/st2,StackStorm/st2,jtopjian/st2,dennybaa/st2,dennybaa/st2,Plexxi/st2,emedved...
yaml
## Code Before: version: '2.0' name: examples.mistral-handle-retry description: > Sample workflow that demonstrates how to handle rollback and retry on error. In this example, the workflow will error and then continue to retry until the file /tmp/done exists. A parallel task will wait for some time before...
9c45a76c7432bc7007a62a81754e8d7933c33ee3
.travis.yml
.travis.yml
language: node_js node_js: - "6.3.1" deploy: provider: npm email: thomas.winckell@gmail.com api_key: $NPM_TOKEN on: tags: true after_success: - codeclimate-test-reporter < ./coverage/lcov.info addons: code_climate: repo_token: $CODE_CLIMATE_TOKEN notifications: email: recipients: -...
language: node_js node_js: - "6.3.1" deploy: - provider: npm email: thomas.winckell@gmail.com api_key: $NPM_TOKEN on: tags: true - provider: s3 access_key_id: $AWS_ACCESS_KEY secret_access_key: $AWS_SECRET_KEY bucket: "travis-demo-client" skip_cleanup: true on: tags: t...
Deploy on S3 on tags
Deploy on S3 on tags
YAML
mit
thomaswinckell/travis-demo-client,thomaswinckell/travis-demo-client,thomaswinckell/travis-demo-client
yaml
## Code Before: language: node_js node_js: - "6.3.1" deploy: provider: npm email: thomas.winckell@gmail.com api_key: $NPM_TOKEN on: tags: true after_success: - codeclimate-test-reporter < ./coverage/lcov.info addons: code_climate: repo_token: $CODE_CLIMATE_TOKEN notifications: email: rec...
5df5040438f897f151c3c238942f353fce5417fe
lib/arrthorizer/rails/controller_action.rb
lib/arrthorizer/rails/controller_action.rb
module Arrthorizer module Rails class ControllerAction ControllerNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotConfigured = Class.new(Arrthorizer::ArrthorizerException) attr_accessor :privilege attr...
module Arrthorizer module Rails class ControllerAction ControllerNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotConfigured = Class.new(Arrthorizer::ArrthorizerException) attr_accessor :privilege attr...
Improve variable naming in the key_for method
Improve variable naming in the key_for method This eliminates doubt about whether this is a controller instance or a controller class - it is just the current controller, executing the current action.
Ruby
mit
BUS-OGD/arrthorizer,BUS-OGD/arrthorizer,BUS-OGD/arrthorizer
ruby
## Code Before: module Arrthorizer module Rails class ControllerAction ControllerNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotDefined = Class.new(Arrthorizer::ArrthorizerException) ActionNotConfigured = Class.new(Arrthorizer::ArrthorizerException) attr_accessor :priv...
7b7d27b7adfd3936703275851b200f4c752639b4
workstation_setup/install_packages.sh
workstation_setup/install_packages.sh
sudo apt-get install -y make sudo apt-get install -y swig sudo apt-get install -y git # Python dependencies sudo apt-get install -y build-essential sudo apt-get install -y checkinstall sudo apt-get install -y libreadline-gplv2-dev sudo apt-get install -y libncursesw5-dev sudo apt-get install -y libssl-dev sudo apt-ge...
sudo apt-get install -y make sudo apt-get install -y swig sudo apt-get install -y git sudo apt-get install -y openjfx # Python dependencies sudo apt-get install -y build-essential sudo apt-get install -y checkinstall sudo apt-get install -y libreadline-gplv2-dev sudo apt-get install -y libncursesw5-dev sudo apt-get i...
Add openjfx for DIG's cs-studio
Add openjfx for DIG's cs-studio
Shell
mit
lnls-fac/scripts,lnls-fac/scripts
shell
## Code Before: sudo apt-get install -y make sudo apt-get install -y swig sudo apt-get install -y git # Python dependencies sudo apt-get install -y build-essential sudo apt-get install -y checkinstall sudo apt-get install -y libreadline-gplv2-dev sudo apt-get install -y libncursesw5-dev sudo apt-get install -y libssl...
e3f04a42c9a5e0f4d0d19aa936caff0c4ffe2512
.travis.yml
.travis.yml
language: "node_js" node_js: - 0.8 - 0.10 services: - rabbitmq # will start rabbitmq-server - mongodb # will start mongodb branches: only: - v1.1 before_install: - npm install - sudo mkdir -p /var/log/push_server/ # To store log files - sudo chmod 777 /var/log/push_server/ - cd scripts/ - aw...
language: "node_js" node_js: - 0.8 - 0.10 services: - rabbitmq # will start rabbitmq-server - mongodb # will start mongodb branches: only: - v1.1 before_install: - npm install - sudo mkdir -p /var/log/push_server/ # To store log files - sudo chmod 777 /var/log/push_server/ - cd scripts/ - aw...
Call make to create the version.info file
Call make to create the version.info file
YAML
agpl-3.0
telefonicaid/notification_server,telefonicaid/notification_server,frsela/notification_server,frsela/notification_server,telefonicaid/notification_server,frsela/notification_server,frsela/notification_server,telefonicaid/notification_server,telefonicaid/notification_server,frsela/notification_server
yaml
## Code Before: language: "node_js" node_js: - 0.8 - 0.10 services: - rabbitmq # will start rabbitmq-server - mongodb # will start mongodb branches: only: - v1.1 before_install: - npm install - sudo mkdir -p /var/log/push_server/ # To store log files - sudo chmod 777 /var/log/push_server/ - cd...
72bceb622d0eef02cf1533b39559508368d45195
test.js
test.js
///////////////// // Test script // ///////////////// earhorn$(this, 'phoria.js', function() { var canvas = document.getElementById('canvas'); var scene = new Phoria.Scene(); scene.camera.position = {x:0.0, y:2.0, z:-6.0}; scene.perspective.aspect = canvas.width / canvas.height; scene.viewport.widt...
///////////////// // Test script // ///////////////// earhorn$(this, 'phoria.js', function() { var requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || function(c) { window.setTimeout(c...
Add polyfill for request animation from.
Add polyfill for request animation from.
JavaScript
mit
omphalos/earhorn,omphalos/earhorn,omphalos/earhorn,omphalos/earhorn,omphalos/earhorn,omphalos/earhorn
javascript
## Code Before: ///////////////// // Test script // ///////////////// earhorn$(this, 'phoria.js', function() { var canvas = document.getElementById('canvas'); var scene = new Phoria.Scene(); scene.camera.position = {x:0.0, y:2.0, z:-6.0}; scene.perspective.aspect = canvas.width / canvas.height; sce...
f9708cf1ba01b4240f391fdb61a77fa22b8b037f
docs/markdown/Release-notes-for-0.41.0.md
docs/markdown/Release-notes-for-0.41.0.md
--- title: Release 0.41 short-description: Release notes for 0.41 (preliminary) ... **Preliminary, 0.41.0 has not been released yet.** # New features Add features here as code is merged to master. ## Dependency Handler for LLVM Native support for linking against LLVM using the `dependency` function. ## vcs_tag ke...
--- title: Release 0.41 short-description: Release notes for 0.41 (preliminary) ... **Preliminary, 0.41.0 has not been released yet.** # New features Add features here as code is merged to master. ## Dependency Handler for LLVM Native support for linking against LLVM using the `dependency` function. ## vcs_tag ke...
Add release note about ninja character escaping.
Add release note about ninja character escaping.
Markdown
apache-2.0
trhd/meson,QuLogic/meson,ernestask/meson,trhd/meson,trhd/meson,wberrier/meson,QuLogic/meson,becm/meson,pexip/meson,jeandet/meson,rhd/meson,ernestask/meson,trhd/meson,QuLogic/meson,fmuellner/meson,rhd/meson,MathieuDuponchelle/meson,jpakkane/meson,fmuellner/meson,fmuellner/meson,pexip/meson,becm/meson,becm/meson,mesonbui...
markdown
## Code Before: --- title: Release 0.41 short-description: Release notes for 0.41 (preliminary) ... **Preliminary, 0.41.0 has not been released yet.** # New features Add features here as code is merged to master. ## Dependency Handler for LLVM Native support for linking against LLVM using the `dependency` function...
c3cefd70467cea18436dd9e69a627ca0a07fd7d3
scripts/travis-install.sh
scripts/travis-install.sh
if [ "$TRAVIS_PYTHON_VERSION" = "pypy3" ]; then git clone https://github.com/yyuu/pyenv.git ~/.pyenv; PYENV_ROOT="$HOME/.pyenv"; PATH="$PYENV_ROOT/bin:$PATH"; eval "$(pyenv init -)"; pypyversion="pypy3.5-5.7-beta"; pyenv install $pypyversion; pyenv global $pypyversion; python --version; ...
if [ "$TRAVIS_PYTHON_VERSION" = "pypy3" ]; then PYENV_ROOT="$HOME/.pyenv"; rm -rf "$PYENV_ROOT"; git clone https://github.com/yyuu/pyenv.git "$PYENV_ROOT"; PATH="$PYENV_ROOT/bin:$PATH"; eval "$(pyenv init -)"; pypyversion="pypy3.5-5.7-beta"; pyenv install $pypyversion; pyenv global $pypy...
Clear pyenv installation before installing pyenv
Clear pyenv installation before installing pyenv
Shell
mit
untitaker/vdirsyncer,untitaker/vdirsyncer,untitaker/vdirsyncer
shell
## Code Before: if [ "$TRAVIS_PYTHON_VERSION" = "pypy3" ]; then git clone https://github.com/yyuu/pyenv.git ~/.pyenv; PYENV_ROOT="$HOME/.pyenv"; PATH="$PYENV_ROOT/bin:$PATH"; eval "$(pyenv init -)"; pypyversion="pypy3.5-5.7-beta"; pyenv install $pypyversion; pyenv global $pypyversion; py...
4802f41e8d012781c5b21f8fef43007c6b529e5e
Magic/src/main/java/com/elmakers/mine/bukkit/action/CheckAction.java
Magic/src/main/java/com/elmakers/mine/bukkit/action/CheckAction.java
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.ActionHandler; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.SpellResult; public abstract class CheckAction extends CompoundAction { protected abstract boolean isAllowed(CastCon...
package com.elmakers.mine.bukkit.action; import org.bukkit.configuration.ConfigurationSection; import com.elmakers.mine.bukkit.api.action.ActionHandler; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.Spell; import com.elmakers.mine.bukkit.api.spell.SpellResult; publ...
Add optional "fail" action handler to Check actions
Add optional "fail" action handler to Check actions
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
java
## Code Before: package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.ActionHandler; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.SpellResult; public abstract class CheckAction extends CompoundAction { protected abstract boolean i...
acf9089c6be0d3388ba5922e0136e4bc1b46592a
lib/jasmine-phantom/tasks.rake
lib/jasmine-phantom/tasks.rake
namespace :jasmine do namespace :phantom do desc "Run jasmine specs using phantomjs and report the results" task :ci => "jasmine:require" do jasmine_config_overrides = File.join(Jasmine::Config.new.project_root, 'spec', 'javascripts' ,'support' ,'jasmine_config.rb') require jasmine_config_override...
namespace :jasmine do namespace :phantom do desc "Run jasmine specs using phantomjs and report the results" task :ci => "jasmine:require" do jasmine_config_overrides = File.join(Jasmine::Config.new.project_root, 'spec', 'javascripts' ,'support' ,'jasmine_config.rb') require jasmine_config_override...
Use Process.spawn instead of sh
Use Process.spawn instead of sh
Ruby
mit
flipstone/jasmine-phantom,flipstone/jasmine-phantom
ruby
## Code Before: namespace :jasmine do namespace :phantom do desc "Run jasmine specs using phantomjs and report the results" task :ci => "jasmine:require" do jasmine_config_overrides = File.join(Jasmine::Config.new.project_root, 'spec', 'javascripts' ,'support' ,'jasmine_config.rb') require jasmine...
82e93be80cbfae1257b0ba80adfce6bb31f36b18
prow/cluster/build_deployment.yaml
prow/cluster/build_deployment.yaml
kind: Deployment apiVersion: apps/v1 metadata: name: prow-build namespace: default spec: replicas: 1 strategy: type: Recreate # replace, do not scale up selector: matchLabels: app: prow-build template: metadata: labels: app: prow-build spec: serviceAccount: prow-bui...
kind: Deployment apiVersion: apps/v1 metadata: name: prow-build namespace: default spec: replicas: 1 strategy: type: Recreate # replace, do not scale up selector: matchLabels: app: prow-build template: metadata: labels: app: prow-build spec: serviceAccount: prow-bui...
Configure build controller to manage external clusters
Configure build controller to manage external clusters
YAML
apache-2.0
cblecker/test-infra,michelle192837/test-infra,kubernetes/test-infra,BenTheElder/test-infra,dims/test-infra,jlowdermilk/test-infra,monopole/test-infra,brahmaroutu/test-infra,dims/test-infra,cjwagner/test-infra,pwittrock/test-infra,brahmaroutu/test-infra,cblecker/test-infra,michelle192837/test-infra,ixdy/kubernetes-test-...
yaml
## Code Before: kind: Deployment apiVersion: apps/v1 metadata: name: prow-build namespace: default spec: replicas: 1 strategy: type: Recreate # replace, do not scale up selector: matchLabels: app: prow-build template: metadata: labels: app: prow-build spec: serviceA...
87b69a799940155ca671bfa7b072647a9e2c93e2
packages/ne/network-messagepack-rpc.yaml
packages/ne/network-messagepack-rpc.yaml
homepage: https://github.com/iij-ii/direct-hs/tree/master/network-messagepack-rpc changelog-type: '' hash: cec2e03283bde56695fb88ff96099e479a5866be42854b408f513eab64bd730f test-bench-deps: {} maintainer: yuji-yamamoto@iij.ad.jp, kazu@iij.ad.jp synopsis: MessagePack RPC changelog: '' basic-deps: bytestring: -any bas...
homepage: https://github.com/iij-ii/direct-hs/tree/master/network-messagepack-rpc changelog-type: '' hash: cec2e03283bde56695fb88ff96099e479a5866be42854b408f513eab64bd730f test-bench-deps: {} maintainer: yuji-yamamoto@iij.ad.jp, kazu@iij.ad.jp synopsis: MessagePack RPC changelog: '' basic-deps: bytestring: -any bas...
Update from Hackage at 2019-09-24T09:41:52Z
Update from Hackage at 2019-09-24T09:41:52Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/iij-ii/direct-hs/tree/master/network-messagepack-rpc changelog-type: '' hash: cec2e03283bde56695fb88ff96099e479a5866be42854b408f513eab64bd730f test-bench-deps: {} maintainer: yuji-yamamoto@iij.ad.jp, kazu@iij.ad.jp synopsis: MessagePack RPC changelog: '' basic-deps: bytest...
0c7f235a5a7c443a7afa079e63cea8d79089dd00
CMakeLists.txt
CMakeLists.txt
cmake_minimum_required(VERSION 2.8.5) project(genkfs C) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -Werror") if (NOT DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE RELEASE) endif() if(EMSCRIPTEN) set(CMAKE_EXE_LINKER_FLAGS "--pre-js ${CMAKE_CURRENT_SO...
cmake_minimum_required(VERSION 2.8.5) project(genkfs C) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99 -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE -D_DEFAULT_SOURCE") if (NOT DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE RELEASE) endif() if(EMSCRIPTEN) set(CMAKE_EXE_LINKER_FLAGS "--pre-js ${...
Use BSD_SOURCE for now... (and remove Werror)
Use BSD_SOURCE for now... (and remove Werror)
Text
mit
KnightOS/genkfs,KnightOS/genkfs
text
## Code Before: cmake_minimum_required(VERSION 2.8.5) project(genkfs C) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -Werror") if (NOT DEFINED CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE RELEASE) endif() if(EMSCRIPTEN) set(CMAKE_EXE_LINKER_FLAGS "--pre-js ${...