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
c3e9a5685fa1d49feb033b0a4354e37f0e895996
roles/quarkslab.peid/defaults/main.yml
roles/quarkslab.peid/defaults/main.yml
--- peid_sig_url: http://handlers.sans.org/jclausing/userdb.txt sig_dir: /opt/irma/peid_sig
--- peid_sig_url: https://raw.githubusercontent.com/viper-framework/viper/master/data/peid/UserDB.TXT sig_dir: /opt/irma/peid_sig
Fix get peid signatures from viper
Fix get peid signatures from viper
YAML
apache-2.0
quarkslab/irma,quarkslab/irma,hirokihamasaki/irma,quarkslab/irma,hirokihamasaki/irma,quarkslab/irma,hirokihamasaki/irma,hirokihamasaki/irma,hirokihamasaki/irma
yaml
## Code Before: --- peid_sig_url: http://handlers.sans.org/jclausing/userdb.txt sig_dir: /opt/irma/peid_sig ## Instruction: Fix get peid signatures from viper ## Code After: --- peid_sig_url: https://raw.githubusercontent.com/viper-framework/viper/master/data/peid/UserDB.TXT sig_dir: /opt/irma/peid_sig
a8a8872aacde12be8f04d9dd17d27476d5c04b46
indra/newview/skins/default/xui/pt/floater_pay.xml
indra/newview/skins/default/xui/pt/floater_pay.xml
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <floater name="Give Money" title=""> <string name="payee_group"> Pagar grupo </string> <string name="payee_resident"> Pagar residente </string> <text left="5" name="payee_label" width="110"> Pagar: </text> <icon name="icon_person" tool_tip="Pessoa"/> ...
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <floater name="Give Money" title=""> <string name="payee_group"> Pagar grupo </string> <string name="payee_resident"> Pagar residente </string> <text left="5" name="payee_label"> Pagar: </text> <icon name="icon_person" tool_tip="Pessoa"/> <text name=...
FIX VWR-23696 remove old parameter overrides
FIX VWR-23696 remove old parameter overrides
XML
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
xml
## Code Before: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <floater name="Give Money" title=""> <string name="payee_group"> Pagar grupo </string> <string name="payee_resident"> Pagar residente </string> <text left="5" name="payee_label" width="110"> Pagar: </text> <icon name="icon_person" tool...
f630da669b4c1437bc9048d1b8ac9c7e13fbf803
src/drive/web/modules/trash/components/DestroyConfirm.jsx
src/drive/web/modules/trash/components/DestroyConfirm.jsx
import React from 'react' import classNames from 'classnames' import { useClient } from 'cozy-client' import Modal from 'cozy-ui/transpiled/react/Modal' import { translate } from 'cozy-ui/transpiled/react/I18n' import { deleteFilesPermanently } from 'drive/web/modules/actions/utils' import styles from 'drive/styles/con...
import React from 'react' import classNames from 'classnames' import { useClient } from 'cozy-client' import { ConfirmDialog } from 'cozy-ui/transpiled/react/CozyDialogs' import Button from 'cozy-ui/transpiled/react/Button' import { translate } from 'cozy-ui/transpiled/react/I18n' import { deleteFilesPermanently } fr...
Use CozyDialog instead of Modal
feat: Use CozyDialog instead of Modal
JSX
agpl-3.0
nono/cozy-files-v3,nono/cozy-files-v3,nono/cozy-files-v3,nono/cozy-files-v3
jsx
## Code Before: import React from 'react' import classNames from 'classnames' import { useClient } from 'cozy-client' import Modal from 'cozy-ui/transpiled/react/Modal' import { translate } from 'cozy-ui/transpiled/react/I18n' import { deleteFilesPermanently } from 'drive/web/modules/actions/utils' import styles from '...
91acec032abeb942bf90d6522a4d9d38ad624d46
tests/test_buffs.py
tests/test_buffs.py
import unittest from buffs import * class StatusEffectTests(unittest.TestCase): """ StatusEffect is the base class for buffs """ def test_init(self): test_name = 'testman' test_duration = 10 st_ef = StatusEffect(name=test_name, duration=test_duration) self.assertEqual...
import unittest from buffs import * class StatusEffectTests(unittest.TestCase): """ StatusEffect is the base class for buffs """ def test_init(self): test_name = 'testman' test_duration = 10 st_ef = StatusEffect(name=test_name, duration=test_duration) self.assertEqual...
Test for the BeneficialBuff class
Test for the BeneficialBuff class
Python
mit
Enether/python_wow
python
## Code Before: import unittest from buffs import * class StatusEffectTests(unittest.TestCase): """ StatusEffect is the base class for buffs """ def test_init(self): test_name = 'testman' test_duration = 10 st_ef = StatusEffect(name=test_name, duration=test_duration) ...
6b9e2c4be71c3d00bb0f0dc4d226ba52c7308b48
README.md
README.md
The Collaborative Annotation Toolkit for Massive Amounts of Image Data For more information, see http://www.catmaid.org/ ### Status This reflects the status of our tests: [![Build Status](https://travis-ci.org/acardona/CATMAID.svg?branch=master)](https://travis-ci.org/acardona/CATMAID)
The Collaborative Annotation Toolkit for Massive Amounts of Image Data For more information, see http://www.catmaid.org/ ### Status This reflects the status of our tests: [![Build Status](https://travis-ci.org/acardona/CATMAID.svg?branch=master)](https://travis-ci.org/acardona/CATMAID) [![Coverage Status](https://...
Add coveralls coverage percentage to readme
Add coveralls coverage percentage to readme
Markdown
agpl-3.0
fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID
markdown
## Code Before: The Collaborative Annotation Toolkit for Massive Amounts of Image Data For more information, see http://www.catmaid.org/ ### Status This reflects the status of our tests: [![Build Status](https://travis-ci.org/acardona/CATMAID.svg?branch=master)](https://travis-ci.org/acardona/CATMAID) ## Instruct...
c8b5c91b32b9054d72ac8c12607dab9fc30217bc
lib/views/general/_frontpage_intro_sentence.html.erb
lib/views/general/_frontpage_intro_sentence.html.erb
<h2> Your <strong>Right to Know</strong> </h2> <p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a></p>
<h1 class="intro__title"><%= _("Your right to know") %></h1> <p class="intro__description"> Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a> </p>
Update frontpage_intro_sentence to be closer to core
Update frontpage_intro_sentence to be closer to core
HTML+ERB
mit
mysociety/mavc-theme,mysociety/mavc-theme
html+erb
## Code Before: <h2> Your <strong>Right to Know</strong> </h2> <p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a></p> ## Instruction: Update frontpage_intro_sentence...
5c3ed5d14c129b7cf0370081e0d73203341c11a1
message.go
message.go
package coinbase type Message struct { Type string `json:"type"` TradeId int `json:"trade_id,number"` OrderId string `json:"order_id"` Sequence int `json:"sequence,number"` MakerOrderId string `json:"maker_order_id"` TakerOrderId string `json:"taker_order_id"` Time Time `json:"time,string"` RemainingSi...
package coinbase type Message struct { Type string `json:"type"` TradeId int `json:"trade_id,number"` OrderId string `json:"order_id"` Sequence int `json:"sequence,number"` MakerOrderId string `json:"maker_order_id"` TakerOrderId string `json:"taker_order_id"` Time Time `json:"time,string"` RemainingSi...
Add new fields to Message.
Add new fields to Message. Updating according to https://developers.coinbase.com/blog/2015/06/21/exchange-feed-changes
Go
mit
preichenberger/go-coinbase-exchange
go
## Code Before: package coinbase type Message struct { Type string `json:"type"` TradeId int `json:"trade_id,number"` OrderId string `json:"order_id"` Sequence int `json:"sequence,number"` MakerOrderId string `json:"maker_order_id"` TakerOrderId string `json:"taker_order_id"` Time Time `json:"time,string...
7146b3714ec65bff0691fea2d1804e966bf37ff6
serverChat.js
serverChat.js
var net = require('net'); var chatServer = net.createServer(); var clientChats = []; chatServer.on('connection', function(client){ clientChats.push(client); client.write('Server chat program\n'); client.on('data', function(data){ console.log(data.toString()); for(var i = 0; i < clientChats.length; i++){ clien...
var net = require('net'); var chatServer = net.createServer(); var clientChats = []; chatServer.on('connection', function(client){ clientChats.push(client); client.write('Server chat program\n'); client.on('data', function(data){ console.log(data.toString()); // for(var i = 0; i < clientChats.length; i++){ // c...
Implement Simple Chat: broadcast message except own client's message
Implement Simple Chat: broadcast message except own client's message
JavaScript
mit
anbinhtrong/SimpleChat
javascript
## Code Before: var net = require('net'); var chatServer = net.createServer(); var clientChats = []; chatServer.on('connection', function(client){ clientChats.push(client); client.write('Server chat program\n'); client.on('data', function(data){ console.log(data.toString()); for(var i = 0; i < clientChats.length...
be6a7cad4c41df2d580117a32d6eed151d4a48c1
app/views/topics/show.html.erb
app/views/topics/show.html.erb
<div class="topic-information"> <%= render :partial => 'shared/welcome_navigation', :locals => { :club => @topic.club } %> <h1 class="topic-subject"> <%= @topic.subject %> </h1> <p class="topic-description"> <%= @topic.description %> </p> <div class="topic-controls"> <%- if can?(:create, @top...
<div class="topic-information"> <%= render :partial => 'shared/welcome_navigation', :locals => { :club => @topic.club } %> <h1 class="topic-subject"> <%= @topic.subject %> </h1> <p class="topic-description"> <%= @topic.description %> </p> <div class="topic-controls"> <%- if can?(:create, @top...
Update Topic Create Post Links to Hide if Empty
Update Topic Create Post Links to Hide if Empty Update the Topic view to ensure that the "Post" link (bottom) is hidden if the Topic currently has no Posts.
HTML+ERB
mit
jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply
html+erb
## Code Before: <div class="topic-information"> <%= render :partial => 'shared/welcome_navigation', :locals => { :club => @topic.club } %> <h1 class="topic-subject"> <%= @topic.subject %> </h1> <p class="topic-description"> <%= @topic.description %> </p> <div class="topic-controls"> <%- if ca...
d465192fd2feadf4960fa81fca80cb3ea3a4dc0f
src/logger/CMakeLists.txt
src/logger/CMakeLists.txt
set(SOURCE_FILES module.c ) add_library(logger OBJECT ${SOURCE_FILES} )
set(SOURCE_FILES module.c ) add_library(logger STATIC ${SOURCE_FILES} ) target_link_libraries(logger util )
Make "logger" a static library
Make "logger" a static library
Text
lgpl-2.1
waysome/waysome,waysome/waysome
text
## Code Before: set(SOURCE_FILES module.c ) add_library(logger OBJECT ${SOURCE_FILES} ) ## Instruction: Make "logger" a static library ## Code After: set(SOURCE_FILES module.c ) add_library(logger STATIC ${SOURCE_FILES} ) target_link_libraries(logger util )
5d559356024ad90330c1cfc647ce0028c29071e6
templates/default.local.erb
templates/default.local.erb
CVMFS_REPOSITORIES=<%= repositories -%> CVMFS_QUOTA_LIMIT=<%= quota_limit -%> CVMFS_HTTP_PROXY="<%= default_http_proxy -%>"
CVMFS_REPOSITORIES=<%= @repositories -%> CVMFS_QUOTA_LIMIT=<%= @quota_limit -%> CVMFS_HTTP_PROXY="<%= @default_http_proxy -%>" <% if @cache_base -%> CVMFS_CACHE_BASE="<%= @cache_base -%>" <% end -%>
Support for cache_base and puppet 4
Support for cache_base and puppet 4
HTML+ERB
apache-2.0
desalvo/puppet-cvmfs,desalvo/puppet-cvmfs
html+erb
## Code Before: CVMFS_REPOSITORIES=<%= repositories -%> CVMFS_QUOTA_LIMIT=<%= quota_limit -%> CVMFS_HTTP_PROXY="<%= default_http_proxy -%>" ## Instruction: Support for cache_base and puppet 4 ## Code After: CVMFS_REPOSITORIES=<%= @repositories -%> CVMFS_QUOTA_LIMIT=<%= @quota_limit -%> CVMFS_HTTP_PROXY="<%= @defa...
31f60f69a361dc15f50ed634e8a15cffd2f98fa0
.travis.sh
.travis.sh
echo -en 'travis_fold:start:Log\r' echo "================= Full Log =================" annotate-output +"" ant full 2>&1 | tee build.log EXIT=${PIPESTATUS[0]} echo -en 'travis_fold:end:Log\r' if [ $EXIT -ne 0 ] then echo "================== Summary ==================" echo "Build exited with code: $EXIT" gr...
echo -en 'travis_fold:start:Log\r' # Causes travis to create a folding group in the stdout output with the title "Log" echo "================= Full Log =================" annotate-output +"" ant full 2>&1 | tee build.log EXIT=${PIPESTATUS[0]} echo -en 'travis_fold:end:Log\r' # End of "Log" fold group if [ $EXIT -ne 0 ]...
Add requested comment to build script
Add requested comment to build script
Shell
apache-2.0
SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP,SEEG-Oxford/ABRAID-MP
shell
## Code Before: echo -en 'travis_fold:start:Log\r' echo "================= Full Log =================" annotate-output +"" ant full 2>&1 | tee build.log EXIT=${PIPESTATUS[0]} echo -en 'travis_fold:end:Log\r' if [ $EXIT -ne 0 ] then echo "================== Summary ==================" echo "Build exited with cod...
beef817905c7e223ce105d069a2581d8fee78ef3
recipes/fabio/dev/meta.yaml
recipes/fabio/dev/meta.yaml
package: name: fabio version: master source: git_url: https://github.com/kif/fabio.git git_tag: master requirements: build: - python - numpy - cython - pillow run: - python - numpy - pillow test: imports: - fabio about: license: GPL home: https://github.com/kif/fabi...
package: name: fabio version: {{ environ['GIT_DESCRIBE_TAG'] }}.post{{ environ['GIT_DESCRIBE_NUMBER'] }} source: git_url: https://github.com/kif/fabio.git git_tag: master requirements: build: - python - numpy - cython - pillow run: - python - numpy - pillow test: imports: ...
Update fabio version number for dev build
Update fabio version number for dev build
YAML
bsd-3-clause
ericdill/conda-prescriptions,tacaswell/conda-prescriptions,danielballan/conda-prescriptions,ericdill/conda-prescriptions,tacaswell/conda-prescriptions,tacaswell/conda-prescriptions,danielballan/conda-prescriptions,ericdill/conda-prescriptions
yaml
## Code Before: package: name: fabio version: master source: git_url: https://github.com/kif/fabio.git git_tag: master requirements: build: - python - numpy - cython - pillow run: - python - numpy - pillow test: imports: - fabio about: license: GPL home: https://git...
f7914dc0e06f3c2fc3a09d1ed4ab1daef5742187
index.js
index.js
var assign = Object.assign || require('object-assign') var Promise = Promise || require('promise') var denodeify = require('es6-denodeify')(Promise) var tough = require('tough-cookie') module.exports = function fetchCookieDecorator (fetch, jar) { fetch = fetch || window.fetch jar = jar || new tough.CookieJar() ...
var assign = Object.assign || require('object-assign') var Promise = Promise || require('promise') var denodeify = require('es6-denodeify')(Promise) var tough = require('tough-cookie') module.exports = function fetchCookieDecorator (fetch, jar) { fetch = fetch || window.fetch jar = jar || new tough.CookieJar() ...
Replace arrow notation with es5 standard function mapping to allow for wider compatibility;
Replace arrow notation with es5 standard function mapping to allow for wider compatibility;
JavaScript
unlicense
valeriangalliat/fetch-cookie,valeriangalliat/fetch-cookie
javascript
## Code Before: var assign = Object.assign || require('object-assign') var Promise = Promise || require('promise') var denodeify = require('es6-denodeify')(Promise) var tough = require('tough-cookie') module.exports = function fetchCookieDecorator (fetch, jar) { fetch = fetch || window.fetch jar = jar || new tough...
7f23dfe16904fdf73b353338a8881928c5211989
hoomd/filter/__init__.py
hoomd/filter/__init__.py
"""Particle filters.""" from hoomd.filter.filter_ import ParticleFilter # noqa from hoomd.filter.all_ import All # noqa from hoomd.filter.set_ import Intersection, SetDifference, Union # noqa from hoomd.filter.tags import Tags # noqa from hoomd.filter.type_ import Type # noqa
from hoomd.filter.filter_ import ParticleFilter # noqa from hoomd.filter.all_ import All # noqa from hoomd.filter.set_ import Intersection, SetDifference, Union # noqa from hoomd.filter.tags import Tags # noqa from hoomd.filter.type_ import Type # noqa
Add particle filter overview information.
Add particle filter overview information.
Python
bsd-3-clause
joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue
python
## Code Before: """Particle filters.""" from hoomd.filter.filter_ import ParticleFilter # noqa from hoomd.filter.all_ import All # noqa from hoomd.filter.set_ import Intersection, SetDifference, Union # noqa from hoomd.filter.tags import Tags # noqa from hoomd.filter.type_ import Type # noqa ## Instruction: Add ...
0d71ab09f9890597827e81a68f8e4cf717fe8a0a
2013/CMakeLists.txt
2013/CMakeLists.txt
cmake_minimum_required (VERSION 2.6) set( Maya_VERSION "2013" ) include( ../CMakeLists.txt ) include( ../CMakeLists.txt )
cmake_minimum_required (VERSION 2.6) set( Maya_VERSION "2013" ) include( ../CMakeLists.txt )
Correct a small error in the Maya2013 cmake file!
Correct a small error in the Maya2013 cmake file!
Text
bsd-3-clause
SqueezeStudioAnimation/ExocortexCrate,SqueezeStudioAnimation/ExocortexCrate,zacoxicompton/ExocortexCrate,Exocortex/ExocortexCrate,Exocortex/ExocortexCrate,zacoxicompton/ExocortexCrate,SqueezeStudioAnimation/ExocortexCrate,ma55acre/ExocortexCrate,zacoxicompton/ExocortexCrate,ma55acre/ExocortexCrate,Exocortex/ExocortexCr...
text
## Code Before: cmake_minimum_required (VERSION 2.6) set( Maya_VERSION "2013" ) include( ../CMakeLists.txt ) include( ../CMakeLists.txt ) ## Instruction: Correct a small error in the Maya2013 cmake file! ## Code After: cmake_minimum_required (VERSION 2.6) set( Maya_VERSION "2013" ) include( ../CMakeLists.txt )
73369bad221a4b448dfeda65003aa7262ee81e70
app/views/disposal_of_vehicle/setup_trade_details.scala.html
app/views/disposal_of_vehicle/setup_trade_details.scala.html
@(traderLookupForm: Form[models.domain.disposal_of_vehicle.SetupTradeDetailsModel])(implicit lang: Lang) @import helper._ @import utils.helpers.CarersTemplate._ @import views.html.helper.base._ @import views.html.common._ @import views.html.helper._ @import app.DisposalOfVehicle.SetupTradeDetails._ @main(Messages("di...
@(traderLookupForm: Form[models.domain.disposal_of_vehicle.SetupTradeDetailsModel])(implicit lang: Lang) @import helper._ @import utils.helpers.CarersTemplate._ @import views.html.helper.base._ @import views.html.common._ @import views.html.helper._ @import app.DisposalOfVehicle.SetupTradeDetails._ @main(Messages("di...
Tidy up of Setup Trade Details view
Tidy up of Setup Trade Details view
HTML
mit
dvla/vrm-retention-online,dvla/vrm-retention-online,dvla/vehicles-online,dvla/vrm-retention-online,dvla/vehicles-online,dvla/vehicles-presentation-common,dvla/vehicles-presentation-common,dvla/vrm-retention-online,dvla/vehicles-online,dvla/vehicles-presentation-common,dvla/vehicles-online
html
## Code Before: @(traderLookupForm: Form[models.domain.disposal_of_vehicle.SetupTradeDetailsModel])(implicit lang: Lang) @import helper._ @import utils.helpers.CarersTemplate._ @import views.html.helper.base._ @import views.html.common._ @import views.html.helper._ @import app.DisposalOfVehicle.SetupTradeDetails._ @m...
b138d7bc33e4b9cb701af95e990a47c272a161d7
README.md
README.md
Metrics [![Build Status](https://secure.travis-ci.org/dropwizard/metrics.png)](http://travis-ci.org/dropwizard/metrics) ======= *Capturing JVM- and application-level metrics. So you know what's going on.* For more information, please see [the documentation](http://dropwizard.github.io/metrics/). License ------- Co...
Metrics [![Build Status](https://secure.travis-ci.org/dropwizard/metrics.png)](http://travis-ci.org/dropwizard/metrics) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.dropwizard.metrics/metrics-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.dropwizard.metrics/metrics-core/) ...
Add a Maven Central badge
Add a Maven Central badge
Markdown
apache-2.0
mveitas/metrics,dropwizard/metrics,mveitas/metrics,dropwizard/metrics,dropwizard/metrics
markdown
## Code Before: Metrics [![Build Status](https://secure.travis-ci.org/dropwizard/metrics.png)](http://travis-ci.org/dropwizard/metrics) ======= *Capturing JVM- and application-level metrics. So you know what's going on.* For more information, please see [the documentation](http://dropwizard.github.io/metrics/). Lic...
61cd26400120a32a18548a50c127f95d51b476a6
SwiftLint/swiftlint+frameworks.yml
SwiftLint/swiftlint+frameworks.yml
disabled_rules: # paths to ignore during linting. overridden by `included`. excluded: # optional rules that need to be manually opt-in to be used opt_in_rules: - explicit_top_level_acl - missing_docs
disabled_rules: # paths to ignore during linting. overridden by `included`. excluded: # optional rules that need to be manually opt-in to be used opt_in_rules: - explicit_acl - missing_docs
Add explicit ACLs globally for frameworks
Add explicit ACLs globally for frameworks
YAML
mit
smartmobilefactory/SMF-iOS-CommonProjectSetupFiles,smartmobilefactory/SMF-iOS-CommonProjectSetupFiles,smartmobilefactory/SMF-iOS-CommonProjectSetupFiles
yaml
## Code Before: disabled_rules: # paths to ignore during linting. overridden by `included`. excluded: # optional rules that need to be manually opt-in to be used opt_in_rules: - explicit_top_level_acl - missing_docs ## Instruction: Add explicit ACLs globally for frameworks ## Code After: disabled_rules: # path...
d2d0a8a4f911d6a46cf4def218dabc9ca2c50ed4
workshop/www/js/recipe.js
workshop/www/js/recipe.js
recipe.js
var Recipe = function(data){ this.title = data.Title; this.ingredients = []; this.instructions = data.Instructions; this.prepTime = data.TotalMinutes; this.yieldNumber = data.YieldNumber; this.yieldUnit = data.YieldUnit; this.stars = data.StarRating; this.instructions = data.Instructions; this.imageUr...
Create Recipe class to wrap desired JSON data from 2nd API call
Create Recipe class to wrap desired JSON data from 2nd API call All attributes for Recipe object, created on invocation of BigOvenGetRecipeJson function, are functional except for ingredients, which requires creation of new JS constructors.
JavaScript
mit
danasselin/line-cook,nyc-rock-doves-2015/line-cook,nyc-rock-doves-2015/line-cook,nyc-rock-doves-2015/line-cook,danasselin/line-cook,danasselin/line-cook,danasselin/line-cook,nyc-rock-doves-2015/line-cook,nyc-rock-doves-2015/line-cook,danasselin/line-cook,danasselin/line-cook,nyc-rock-doves-2015/line-cook,danasselin/lin...
javascript
## Code Before: recipe.js ## Instruction: Create Recipe class to wrap desired JSON data from 2nd API call All attributes for Recipe object, created on invocation of BigOvenGetRecipeJson function, are functional except for ingredients, which requires creation of new JS constructors. ## Code After: var Recipe = functi...
5044e1eb3af4231e300f2fd7a66a346c930c4382
features/templates/features/index.html
features/templates/features/index.html
{% load render_bundle from webpack_loader %} <!DOCTYPE html> <html> <head> {% render_bundle 'main' 'css' %} </head> <body> <!-- Placeholder for main Vue component --> <div id="app"></div> {% render_bundle 'main' 'js' %} </body> </html>
{% load render_bundle from webpack_loader %} <!DOCTYPE html> <html> <head> <!-- Bootstrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> {%...
Add bootstrap to main template
Add bootstrap to main template
HTML
mit
wkevina/feature-requests-app,wkevina/feature-requests-app,wkevina/feature-requests-app
html
## Code Before: {% load render_bundle from webpack_loader %} <!DOCTYPE html> <html> <head> {% render_bundle 'main' 'css' %} </head> <body> <!-- Placeholder for main Vue component --> <div id="app"></div> {% render_bundle 'main' 'js' %} </body> </html> ## Instruction: Add bootstrap to main te...
151c2149b8ef47448b4b516addeb9683857dfdae
src/components/ui/TabIcon.js
src/components/ui/TabIcon.js
/** * Tabbar Icon * <TabIcon icon={'search'} selected={false} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from 'react-native-elements'; import { AppColors } from '@theme/'; /* Componen...
/** * Tabbar Icon * <TabIcon icon={'search'} selected={false} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from 'react-native-elements'; import { AppColors } from '@theme/'; /* Componen...
Add props 'type' for tabicon
Add props 'type' for tabicon
JavaScript
mit
arayi/SLions,arayi/SLions,arayi/SLions
javascript
## Code Before: /** * Tabbar Icon * <TabIcon icon={'search'} selected={false} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import PropTypes from 'prop-types'; import { Icon } from 'react-native-elements'; import { AppColors } from '@theme...
d54640a476aca13e2ac29e7c9c7a9a902074112b
.github/workflows/publish.yml
.github/workflows/publish.yml
name: Publish to Maven Central # Controls when the workflow will run on: push: branches: - master # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run o...
name: Publish to Maven Central # Controls when the workflow will run on: push: branches: - master # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run o...
Fix Github action for publshing to Maven Central
INS-448: Fix Github action for publshing to Maven Central
YAML
mit
brightsparklabs/asanti
yaml
## Code Before: name: Publish to Maven Central # Controls when the workflow will run on: push: branches: - master # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that th...
6acb02f3a6a490e86c22cb7657a12d5331b09029
kitchen-tests/cookbooks/base/metadata.rb
kitchen-tests/cookbooks/base/metadata.rb
name "base" maintainer "" maintainer_email "" license "Apache-2.0" description "Installs/Configures base" long_description "Installs/Configures base" version "0.1.0" gem "chef-sugar" depends "apt" depends "build-essential" depends "chef-...
name "base" maintainer "" maintainer_email "" license "Apache-2.0" description "Installs/Configures base" long_description "Installs/Configures base" version "0.1.0" gem "chef-sugar" depends "apt" depends "build-essential" depends "chef-...
Remove the dependency on chef_hostname now that hostname is built in
Remove the dependency on chef_hostname now that hostname is built in Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
Ruby
apache-2.0
mattray/chef,nvwls/chef,gene1wood/chef,Tensibai/chef,jaymzh/chef,jaymzh/chef,tas50/chef-1,higanworks/chef,mattray/chef,higanworks/chef,Ppjet6/chef,mwrock/chef,chef/chef,mattray/chef,tas50/chef-1,Tensibai/chef,tas50/chef-1,MsysTechnologiesllc/chef,martinisoft/chef,chef/chef,nvwls/chef,juliandunn/chef,jaymzh/chef,tomdohe...
ruby
## Code Before: name "base" maintainer "" maintainer_email "" license "Apache-2.0" description "Installs/Configures base" long_description "Installs/Configures base" version "0.1.0" gem "chef-sugar" depends "apt" depends "build-essential" depends...
46f83f8e96de4bb35aa6a5a631a12393b9961c07
.travis.yml
.travis.yml
sudo: false language: python env: - TOXENV=py27-1.7 - TOXENV=py27-1.8 - TOXENV=py27-1.9 - TOXENV=py33-1.7 - TOXENV=py33-1.8 - TOXENV=py34-1.7 - TOXENV=py34-1.8 - TOXENV=py34-1.9 - TOXENV=py35-1.9 install: - pip install tox script: - export PYTHONPATH=$PYTHONPATH:`pwd` - t...
sudo: false language: python python: - "3.5" env: - TOXENV=py27-1.7 - TOXENV=py27-1.8 - TOXENV=py27-1.9 - TOXENV=py33-1.7 - TOXENV=py33-1.8 - TOXENV=py34-1.7 - TOXENV=py34-1.8 - TOXENV=py34-1.9 - TOXENV=py35-1.9 install: - pip install tox script: - export PYTHONPATH=$PYTH...
Set 3.5 as base Python.
Set 3.5 as base Python.
YAML
bsd-3-clause
carljm/django-markitup,zsiciarz/django-markitup,carljm/django-markitup,WimpyAnalytics/django-markitup,WimpyAnalytics/django-markitup,zsiciarz/django-markitup,WimpyAnalytics/django-markitup,carljm/django-markitup,zsiciarz/django-markitup
yaml
## Code Before: sudo: false language: python env: - TOXENV=py27-1.7 - TOXENV=py27-1.8 - TOXENV=py27-1.9 - TOXENV=py33-1.7 - TOXENV=py33-1.8 - TOXENV=py34-1.7 - TOXENV=py34-1.8 - TOXENV=py34-1.9 - TOXENV=py35-1.9 install: - pip install tox script: - export PYTHONPATH=$PYTHONPA...
fe32099bf1b6aa387c98dd6afdfc31557fc4e1f9
volpy/__init__.py
volpy/__init__.py
from .camera import Camera from .scene import Scene, Element, Light from .version import __version__ from .grid import Grid from .homogeneous import (translate, scale, rotatex, rotatey, rotatez, rotatexyz, rotate_axis, cross) from .geometry import Geometry, BBox
''' Volpy ===== A fast volume rendering implementation for Python. Volpy has support for: 1. Multithreading or multiprocessing at the rendering step 2. Native implementation of ray casting 3. Native access to NumPy arrays during rendering 4. Support for ambient and diffuse lighting terms How to use this pack...
Write a docstring for the package
Write a docstring for the package
Python
mit
OEP/volpy,OEP/volpy
python
## Code Before: from .camera import Camera from .scene import Scene, Element, Light from .version import __version__ from .grid import Grid from .homogeneous import (translate, scale, rotatex, rotatey, rotatez, rotatexyz, rotate_axis, cross) from .geometry import Geometry, BBox ## Instruction...
dacc9764b09bc33a5c1bef6eaf9faf0893db327d
.rultor.yml
.rultor.yml
architect: - tmoreira2020 assets: pubring.gpg: tmoreira2020/home#assets/pubring.gpg secring.gpg: tmoreira2020/home#assets/secring.gpg settings.xml: tmoreira2020/home#assets/settings.xml merge: script: |- mvn clean install --errors --settings ../settings.xml commanders: - tmoreira2020 deploy: script: |...
architect: - tmoreira2020 assets: pubring.gpg: tmoreira2020/home#assets/pubring.gpg secring.gpg: tmoreira2020/home#assets/secring.gpg settings.xml: tmoreira2020/home#assets/settings.xml merge: script: |- mvn clean install --errors --settings ../settings.xml commanders: - tmoreira2020 deploy: script: |...
Fix string replacement process of release script
Fix string replacement process of release script
YAML
apache-2.0
tmoreira2020/portal-properties-prettier-app,tmoreira2020/portal-properties-prettier-app
yaml
## Code Before: architect: - tmoreira2020 assets: pubring.gpg: tmoreira2020/home#assets/pubring.gpg secring.gpg: tmoreira2020/home#assets/secring.gpg settings.xml: tmoreira2020/home#assets/settings.xml merge: script: |- mvn clean install --errors --settings ../settings.xml commanders: - tmoreira2020 dep...
ec22f7f06aa15999241201110a20833ff9dbb446
History.md
History.md
* Create `history.md` file ## Elasticquery 0.1.1 (02 Mar 2015) * Fix typo in gem description * Add rubygems bange ## Elasticquery 0.1.0 (02 Mar 2015) * Initial version. Supported filters: `term`, `range`, `term.not`, `range.not`.
* Create `history.md` file * Add options support for `range` and `term`. `term` supports `_cache` option. `range` supports both `_cahce` and `execution` ## Elasticquery 0.1.1 (02 Mar 2015) * Fix typo in gem description * Add rubygems bange ## Elasticquery 0.1.0 (02 Mar 2015) * Initial version. Supported filters: ...
Update history.md. Add options support
Update history.md. Add options support
Markdown
mit
caulfield/elasticquery
markdown
## Code Before: * Create `history.md` file ## Elasticquery 0.1.1 (02 Mar 2015) * Fix typo in gem description * Add rubygems bange ## Elasticquery 0.1.0 (02 Mar 2015) * Initial version. Supported filters: `term`, `range`, `term.not`, `range.not`. ## Instruction: Update history.md. Add options support ## Code Afte...
1ca604c898fff72aaa6330728e0070e1bd445fcb
databases/app-config-sync/fragment-feature-release-toggle-definitions.js
databases/app-config-sync/fragment-feature-release-toggle-definitions.js
{ channels: { view: [ 'view-feature-release-toggle-definitions', 'view-config' ], add: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], replace: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], remove: [ 'remove-feature-release-toggle-definitions', 'remove-config' ] }, ty...
{ channels: { view: [ 'view-feature-release-toggle-definitions', 'view-config' ], add: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], replace: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], remove: [ 'remove-feature-release-toggle-definitions', 'remove-config' ] }, ty...
Fix documentation for the feature release toggle definitions document.
CWAP-212: Fix documentation for the feature release toggle definitions document.
JavaScript
mit
Kashoo/kashoo-document-definitions,Kashoo/kashoo-document-definitions
javascript
## Code Before: { channels: { view: [ 'view-feature-release-toggle-definitions', 'view-config' ], add: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], replace: [ 'edit-feature-release-toggle-definitions', 'edit-config' ], remove: [ 'remove-feature-release-toggle-definitions', 'remove-con...
978430576eebd4f4dcbdbc91586c9be2350307f6
source/29_git_prompt_config.sh
source/29_git_prompt_config.sh
GIT_PROMPT_EXECUTABLE="haskell" source $DOTFILES/vendor/zsh-git-prompt/zshrc.sh ZSH_THEME_GIT_PROMPT_PREFIX="(" ZSH_THEME_GIT_PROMPT_SUFFIX=")" ZSH_THEME_GIT_PROMPT_SEPARATOR="|" ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg[yellow]%}" ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[magenta]%}%{~%G%}" ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[r...
if [[ -x "$DOTFILES/vendor/zsh-git-prompt/src/.bin/gitstatus" ]]; then GIT_PROMPT_EXECUTABLE="haskell" fi source $DOTFILES/vendor/zsh-git-prompt/zshrc.sh ZSH_THEME_GIT_PROMPT_CACHE=1 ZSH_THEME_GIT_PROMPT_PREFIX="(" ZSH_THEME_GIT_PROMPT_SUFFIX=")" ZSH_THEME_GIT_PROMPT_SEPARATOR="|" ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg...
Add check if haskell binary is present for git prompt
Add check if haskell binary is present for git prompt
Shell
mit
tstackhouse/dotfiles,tstackhouse/dotfiles,tstackhouse/dotfiles,tstackhouse/dotfiles
shell
## Code Before: GIT_PROMPT_EXECUTABLE="haskell" source $DOTFILES/vendor/zsh-git-prompt/zshrc.sh ZSH_THEME_GIT_PROMPT_PREFIX="(" ZSH_THEME_GIT_PROMPT_SUFFIX=")" ZSH_THEME_GIT_PROMPT_SEPARATOR="|" ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg[yellow]%}" ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[magenta]%}%{~%G%}" ZSH_THEME_GIT_PROMPT_CO...
aeb2e0e8b24bc523f93c51920853a19e9e4026f4
client/views/pages/pages_index/pages_index.html
client/views/pages/pages_index/pages_index.html
<template name="PagesIndex"> client/views/pages/pages_index/pages_index.html </template>
<template name="PagesIndex"> <ol class="breadcrumb"> <li><a href="/">Letterhead</a></li> <li>Pages</li> </ol> </template>
Add breadcrumb list for pages
Add breadcrumb list for pages
HTML
mit
bojicas/letterhead,bojicas/letterhead
html
## Code Before: <template name="PagesIndex"> client/views/pages/pages_index/pages_index.html </template> ## Instruction: Add breadcrumb list for pages ## Code After: <template name="PagesIndex"> <ol class="breadcrumb"> <li><a href="/">Letterhead</a></li> <li>Pages</li> </ol> </template>
97eb85ebc4a9c81c0b9b3132ff68979ee8bc6f8b
london/index.markdown
london/index.markdown
--- layout: default title: OpenHack - London, UK --- ## London, UK ![London](/london/london.jpg) ### Organiser [Andy Waite](http://twitter.com/andyw8) ### Info Newly formed group so still to decide where to meet. Follow [@OpenHackLDN](http://twitter.com/OpenHackLDN) for updates. ### Next meetups * First meetin...
--- layout: default title: OpenHack - London, UK --- ## London, UK ![London](/london/london.jpg) ### RSVP Please [**RSVP on Eventbrite**](https://www.eventbrite.com/e/openhack-london-tickets-12943202467) so we know how many people to expect. More info at [http://openhackldn.eventbrite.com](http://openhackldn.event...
Rewrite the OpenHack London page
Rewrite the OpenHack London page OpenHackLDN has new organizers - we're trying to revive it. The code of conduct is forked from http://hackcodeofconduct.org
Markdown
mit
ridingwolf/openhack.github.com,ilikepi/openhack.github.com,OpenHack/openhack.github.com,ilikepi/openhack.github.com,OpenHack/openhack.github.com,clone1018/openhack.github.com,geopet/openhack.github.com,dideler/openhack.github.com,twinn/openhack.github.com,ridingwolf/openhack.github.com,geopet/openhack.github.com,didele...
markdown
## Code Before: --- layout: default title: OpenHack - London, UK --- ## London, UK ![London](/london/london.jpg) ### Organiser [Andy Waite](http://twitter.com/andyw8) ### Info Newly formed group so still to decide where to meet. Follow [@OpenHackLDN](http://twitter.com/OpenHackLDN) for updates. ### Next meetups...
b6c8920b398ee8f8c39580ea915e74543304affa
src/main.js
src/main.js
import express from 'express' import {logger, http_logger} from './utils/logger' import {cookie_parser, session} from './utils/session' import body_parser from 'body-parser' import passport from 'passport' import express_validator from 'express-validator' import {authentication_router} from './routers/authentication_ro...
import express from 'express' import {logger, http_logger} from './utils/logger' import {cookie_parser, session} from './utils/session' import body_parser from 'body-parser' import passport from 'passport' import express_validator from 'express-validator' import {authentication_router} from './routers/authentication_ro...
Set a base API endpoint
Set a base API endpoint
JavaScript
mit
thewizardplusplus/vk-group-stats,thewizardplusplus/vk-group-stats
javascript
## Code Before: import express from 'express' import {logger, http_logger} from './utils/logger' import {cookie_parser, session} from './utils/session' import body_parser from 'body-parser' import passport from 'passport' import express_validator from 'express-validator' import {authentication_router} from './routers/a...
9ef35374dc9b353e7e55228bce5b3600e07c6c17
README.md
README.md
This gem can be used to control wemo switch devices to control power outlets ## Installation Add this line to your application's Gemfile: gem 'wemo' And then execute: $ bundle Or install it yourself as: $ gem install wemo ## Usage ``` wemo = Wemo.new("192.168.1.150") # Or any ip that the light con...
This gem can be used to control wemo switch devices to control power outlets ## Installation Add this line to your application's Gemfile: gem 'wemo_switch' And then execute: $ bundle Or install it yourself as: $ gem install wemo_switch ## Usage ``` wemo = Wemo::Switch.new("192.168.1.150") # Or any...
Update readme to reflect current gem name
Update readme to reflect current gem name
Markdown
mit
SeanHurley/wemo_switch
markdown
## Code Before: This gem can be used to control wemo switch devices to control power outlets ## Installation Add this line to your application's Gemfile: gem 'wemo' And then execute: $ bundle Or install it yourself as: $ gem install wemo ## Usage ``` wemo = Wemo.new("192.168.1.150") # Or any ip th...
91d1005005f094cdfcc4800569af975ebe6f9f95
src/CMakeLists.txt
src/CMakeLists.txt
file(GLOB lily_SOURCES *.c *.h) # The reason I've called this liblily but removed the prefix is so that I can # use liblily to build the lily executable. # -fPIC is vital: Apache's mod_lily will not build properly without it. add_library(liblily STATIC ${lily_SOURCES}) if(NOT MSVC) target_link_libraries(liblily dl...
file(GLOB lily_SOURCES *.c *.h) # BSD libc includes the dl* functions and there's no libdl on them. # Unfortunately, CMake doesn't seem to distinguish *BSD from the other *nixen. STRING(REGEX MATCH "BSD" IS_BSD ${CMAKE_SYSTEM_NAME}) # The reason I've called this liblily but removed the prefix is so that I can # use l...
Build on the BSDs. BSD libc includes the dl* family of functions for loading dynamic libraries. Attempting to link against libdl will fail on them, so don't do that.
Build on the BSDs. BSD libc includes the dl* family of functions for loading dynamic libraries. Attempting to link against libdl will fail on them, so don't do that.
Text
mit
FascinatedBox/lily,jesserayadkins/lily,FascinatedBox/lily,FascinatedBox/lily,FascinatedBox/lily,jesserayadkins/lily,jesserayadkins/lily
text
## Code Before: file(GLOB lily_SOURCES *.c *.h) # The reason I've called this liblily but removed the prefix is so that I can # use liblily to build the lily executable. # -fPIC is vital: Apache's mod_lily will not build properly without it. add_library(liblily STATIC ${lily_SOURCES}) if(NOT MSVC) target_link_libr...
c9c9204381e65cecb8118e04ba45e69c20d5c3db
api-gateway-service/src/main/java/name/webdizz/fault/tolerance/gateway/endpoint/ProductDetailsEndpoint.java
api-gateway-service/src/main/java/name/webdizz/fault/tolerance/gateway/endpoint/ProductDetailsEndpoint.java
package name.webdizz.fault.tolerance.gateway.endpoint; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import lombok....
package name.webdizz.fault.tolerance.gateway.endpoint; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import lombok....
Switch to another command to call inventory service
Switch to another command to call inventory service
Java
apache-2.0
webdizz/fault-tolerance-talk
java
## Code Before: package name.webdizz.fault.tolerance.gateway.endpoint; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController...
e6faababf078fe23af7928d2218512227d9fff16
rails/app/models/repo.rb
rails/app/models/repo.rb
class Repo < ApplicationRecord belongs_to :user has_many :branches end
class Repo < ApplicationRecord belongs_to :user has_many :branches def url "https://github.com/#{owner}/#{name}" end end
Add url to Repo model
Add url to Repo model
Ruby
apache-2.0
macaullyjames/evabot,macaullyjames/evabot,macaullyjames/evabot,macaullyjames/evabot
ruby
## Code Before: class Repo < ApplicationRecord belongs_to :user has_many :branches end ## Instruction: Add url to Repo model ## Code After: class Repo < ApplicationRecord belongs_to :user has_many :branches def url "https://github.com/#{owner}/#{name}" end end
b88f886ac79187705b474b958633808c7bd36871
README.md
README.md
<img src="https://cdn.rawgit.com/CamiloMM/works-list/master/graphics/favicon.svg" alt="wl logo" title="Yes, this logo was loosely inspired by npm's. I wouldn't use a similar font, though, because it'd be way too obvious at that point. Also, it's not the exact same color." align="left" height="90" /></a> &nbsp;&nbsp;wo...
<img src="https://cdn.rawgit.com/CamiloMM/works-list/master/graphics/favicon.svg" alt="wl logo" title="Yes, this logo was loosely inspired by npm's. I wouldn't use a similar font, though, because it'd be way too obvious at that point. Also, it's not the exact same color." align="left" height="90" /></a> &nbsp;&nbsp;wo...
Switch to Gemnasium for dependency checks, and use square badge.
Switch to Gemnasium for dependency checks, and use square badge.
Markdown
agpl-3.0
CamiloMM/works-list,CamiloMM/works-list
markdown
## Code Before: <img src="https://cdn.rawgit.com/CamiloMM/works-list/master/graphics/favicon.svg" alt="wl logo" title="Yes, this logo was loosely inspired by npm's. I wouldn't use a similar font, though, because it'd be way too obvious at that point. Also, it's not the exact same color." align="left" height="90" /></a>...
c0a15e80db4d73a7ab687ad1ed7eadb64ad829a1
.travis.yml
.travis.yml
language: ruby rvm: - 2.2.0 - 2.1.5 - 2.0.0 - ruby-head - jruby-1.6.8 - rbx-2.2.10 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-1.6.8 - rvm: rbx-2.2.10
language: ruby rvm: - 2.6.3 - 2.5.5 - 2.4.6 - ruby-head - jruby-1.7.27 - jruby-9.2.7.0 - rbx-3.107 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-1.7.27 - rvm: jruby-9.2.7.0 - rvm: rbx-3.107
Update Ruby version targets in Travis CI
Update Ruby version targets in Travis CI Why: * Our Travis CI is aiming for dead Ruby versions.
YAML
mit
subvisual/uphold-sdk-ruby,subvisual/bitreserve
yaml
## Code Before: language: ruby rvm: - 2.2.0 - 2.1.5 - 2.0.0 - ruby-head - jruby-1.6.8 - rbx-2.2.10 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-1.6.8 - rvm: rbx-2.2.10 ## Instruction: Update Ruby version targets in Travis CI Why: * Our Travis CI is aiming for dead Ruby versions. #...
8adfda0f7a26c6c4e10ca626f2586c4d8aef0be3
index.js
index.js
var flyd = require('flyd') module.exports = function (stream$) { var executed = false return flyd.combine(function (s$, self) { if (!executed) { executed = true self(s$()) } }, [stream$]) }
var flyd = require('flyd') module.exports = function (stream$) { return flyd.combine(function (s$, self) { self(s$()) self.end(true); }, [stream$]) }
Reimplement using the end stream
Reimplement using the end stream
JavaScript
mit
bertofer/flyd-once
javascript
## Code Before: var flyd = require('flyd') module.exports = function (stream$) { var executed = false return flyd.combine(function (s$, self) { if (!executed) { executed = true self(s$()) } }, [stream$]) } ## Instruction: Reimplement using the end stream ## Code After: var flyd = require('f...
b6884b21b667cd250613096d59eee77c425559cd
README.md
README.md
Zerospend is a tool for sending bitcoins from inputs that have 0 confirmation. There's a concept called Parent Pays For Child that most miners use these days. This is a tool for taking advantage of this feature. So, if the following apply, this tool is for you: - you have incoming 0 confirmation transactions that are...
A word of warning though. This code is untested as of yet. There's been basic testing but it's not been used to create any transactions that were broadcast. In fact, the current code won't broadcast anything. Making it do that is a one-liner though. Zerospend is a tool for sending bitcoins from inputs that have 0 con...
Add a warning about the code not having been tested.
Add a warning about the code not having been tested.
Markdown
mit
prasos/zerospend
markdown
## Code Before: Zerospend is a tool for sending bitcoins from inputs that have 0 confirmation. There's a concept called Parent Pays For Child that most miners use these days. This is a tool for taking advantage of this feature. So, if the following apply, this tool is for you: - you have incoming 0 confirmation trans...
b5df165f184fda7c59a177688e2981033a6cf5d7
web_game_maker.js
web_game_maker.js
var WebGameMaker = {}; WebGameMaker.init = function() { var plugins = WebGameMaker.PluginManager.getPlugins(); for (p in plugins) { WebGameMaker.UI.addPluginButton(plugins[p]); } } window.addEventListener('load', function() { WebGameMaker.init(); }, false);
var WebGameMaker = {}; WebGameMaker.init = function() { var plugins = WebGameMaker.PluginManager.getPlugins(); for (p in plugins) { WebGameMaker.UI.addPluginButton(plugins[p]); } WebGameMaker.Game = new Game(); WebGameMaker.update(); } WebGameMaker.update = function() { draw_info = {...
Add update method to WebGameMaker
Add update method to WebGameMaker The update method should update all subsystems that might need to be updated, since this is the application main loop.
JavaScript
mit
sirjeppe/WebGameMaker,sirjeppe/WebGameMaker,sirjeppe/WebGameMaker
javascript
## Code Before: var WebGameMaker = {}; WebGameMaker.init = function() { var plugins = WebGameMaker.PluginManager.getPlugins(); for (p in plugins) { WebGameMaker.UI.addPluginButton(plugins[p]); } } window.addEventListener('load', function() { WebGameMaker.init(); }, false); ## Instruction: Ad...
6cca92ae4aace066ffcd7de8d2425ce5d24e0264
caktus_theme/theme/caktus/layout.html
caktus_theme/theme/caktus/layout.html
{%- extends "basic/layout.html" %} {%- block doctype -%} <!DOCTYPE html> {%- endblock %} {% set metatags = '<meta name="viewport" content="width=device-width, initial-scale=1.0">' %} {% set favicon = 'favicon.png' %} {% set logo = 'caktus-logo.png' %} {%- block sidebarlogo %} <p class="logo"><a href="http://www...
{%- extends "basic/layout.html" %} {%- block doctype -%} <!DOCTYPE html> {%- endblock %} {% set metatags = '<meta name="viewport" content="width=device-width, initial-scale=1.0">' %} {% set favicon = 'favicon.png' %} {% set logo = 'caktus-logo.png' %} {%- block footer %} <div class="footer"> {%- if show_copy...
Remove logo link and link to Caktus website in the copyright.
Remove logo link and link to Caktus website in the copyright.
HTML
bsd-3-clause
caktus/caktus-sphinx-theme
html
## Code Before: {%- extends "basic/layout.html" %} {%- block doctype -%} <!DOCTYPE html> {%- endblock %} {% set metatags = '<meta name="viewport" content="width=device-width, initial-scale=1.0">' %} {% set favicon = 'favicon.png' %} {% set logo = 'caktus-logo.png' %} {%- block sidebarlogo %} <p class="logo"><a ...
c53edd7c618b130d1b3d408cfa82b623ef30db4c
docs/installation.rst
docs/installation.rst
Installing tinyblog =================== tinyblog is available on PyPI, so can be installed into a virtualenv with pip like this:: pip install tinyblog Once you've installed tinyblog, just add it to your ``INSTALLED_APPS``, and set up your ``urls.py`` to reference it:: urlpatterns = patterns( '', ...
Installing tinyblog =================== tinyblog supports Python 2.6, Python 2.7, and all versions of Django, starting with 1.4. Python 3 support is blocked waiting for django-uuidfield to support Python 3. tinyblog is available on PyPI, so can be installed into a virtualenv with pip like this:: pip install tiny...
Add a note about supported Python versions
Add a note about supported Python versions
reStructuredText
bsd-3-clause
dominicrodger/tinyblog,dominicrodger/tinyblog
restructuredtext
## Code Before: Installing tinyblog =================== tinyblog is available on PyPI, so can be installed into a virtualenv with pip like this:: pip install tinyblog Once you've installed tinyblog, just add it to your ``INSTALLED_APPS``, and set up your ``urls.py`` to reference it:: urlpatterns = patterns(...
26e54871f010e76fb42c42ffd10c6be9f4db7dfe
roles/client-oidc-rp/files/oidc_index.php
roles/client-oidc-rp/files/oidc_index.php
<h1>OIDC RP Test</h1> <?php foreach ($_SERVER as $key => $value) if (substr($key,0,4) == "OIDC") echo "<p>" . substr($key,5) . ": $value</p>\n";
<h1>OIDC RP Test</h1> <a href="redirect_uri?logout=https://<?=$_SERVER['HTTP_HOST']?>/">Logout</a> <?php foreach ($_SERVER as $key => $value) if (substr($key,0,4) == "OIDC") echo "<p>" . substr($key,5) . ": $value</p>\n";
Add logout link for OIDC Test RP
Add logout link for OIDC Test RP
PHP
apache-2.0
SURFscz/SCZ-deploy,SURFscz/SCZ-deploy,SURFscz/SCZ-deploy,SURFscz/SCZ-deploy
php
## Code Before: <h1>OIDC RP Test</h1> <?php foreach ($_SERVER as $key => $value) if (substr($key,0,4) == "OIDC") echo "<p>" . substr($key,5) . ": $value</p>\n"; ## Instruction: Add logout link for OIDC Test RP ## Code After: <h1>OIDC RP Test</h1> <a href="redirect_uri?logout=https://<?=$_SERVER['HTTP_HOST']?>/">Logou...
2d3d5c8b22604fb5954fc5b9a8969a6a9ea52ee9
assemble-plugins.sh
assemble-plugins.sh
MPS_PATH='/Applications/MPS 3.1' echo "params $#" echo $@ if [ "$#" == "0" ]; then #we are running manually from the command line ANT_BIN=ant PROPS="-Dmps_home=\"${MPS_PATH}\"" else #we are likely running with jenkins, the first parameter is the ant executable path, the others are the properties to pass t...
MPS_PATH='/Applications/MPS 3.1' echo "params $#" echo $@ if [ "$#" == "0" ]; then #we are running manually from the command line ANT_BIN=ant PROPS="-Dmps_home=\"${MPS_PATH}\"" else #we are likely running with jenkins, the first parameter is the ant executable path, the others are the properties to pass t...
Deploy XChart plugin before assembling the plugins
Deploy XChart plugin before assembling the plugins
Shell
apache-2.0
CampagneLaboratory/NYoSh,CampagneLaboratory/NYoSh
shell
## Code Before: MPS_PATH='/Applications/MPS 3.1' echo "params $#" echo $@ if [ "$#" == "0" ]; then #we are running manually from the command line ANT_BIN=ant PROPS="-Dmps_home=\"${MPS_PATH}\"" else #we are likely running with jenkins, the first parameter is the ant executable path, the others are the prop...
a282e1907ad38e131ab35b11a6cf72c36904f148
lib/__CondorcetConfig.php
lib/__CondorcetConfig.php
<?php /* Condorcet PHP Class, with Schulze Methods and others ! Version: 0.94 By Julien Boudry - MIT LICENSE (Please read LICENSE.txt) https://github.com/julien-boudry/Condorcet */ namespace Condorcet; // Registering native Condorcet Methods implementation namespace\Condorcet::addAlgos(__NAMESPACE__....
<?php /* Condorcet PHP Class, with Schulze Methods and others ! Version: 0.94 By Julien Boudry - MIT LICENSE (Please read LICENSE.txt) https://github.com/julien-boudry/Condorcet */ namespace Condorcet; // Registering native Condorcet Methods implementation namespace\Condorcet::addMethod(__NAMESPACE__...
Rename Condorcet::addAlgos -> Condorcet::addMethod 3/3
Rename Condorcet::addAlgos -> Condorcet::addMethod 3/3
PHP
mit
julien-boudry/Condorcet
php
## Code Before: <?php /* Condorcet PHP Class, with Schulze Methods and others ! Version: 0.94 By Julien Boudry - MIT LICENSE (Please read LICENSE.txt) https://github.com/julien-boudry/Condorcet */ namespace Condorcet; // Registering native Condorcet Methods implementation namespace\Condorcet::addAlgo...
00c5f9b382fd1b060a973a3a3a1db33c280f2dd7
respite/middleware.py
respite/middleware.py
import re from django.http import QueryDict class HttpMethodOverrideMiddleware: """ Facilitate for overriding the HTTP method with the X-HTTP-Method-Override header or a '_method' HTTP POST parameter. """ def process_request(self, request): if request.META.has_key('HTTP_X_HTTP_METHOD_OVER...
import re from django.http import QueryDict class HttpMethodOverrideMiddleware: """ Facilitate for overriding the HTTP method with the X-HTTP-Method-Override header or a '_method' HTTP POST parameter. """ def process_request(self, request): if 'HTTP_X_HTTP_METHOD_OVERRIDE' in request.META...
Refactor to use 'in' instead of 'has_key'
Refactor to use 'in' instead of 'has_key'
Python
mit
jgorset/django-respite,jgorset/django-respite,jgorset/django-respite
python
## Code Before: import re from django.http import QueryDict class HttpMethodOverrideMiddleware: """ Facilitate for overriding the HTTP method with the X-HTTP-Method-Override header or a '_method' HTTP POST parameter. """ def process_request(self, request): if request.META.has_key('HTTP_X_...
4ab903d0b43c540d1bbc716a780ff2985153c2ff
schema/Link.schema.yaml
schema/Link.schema.yaml
title: Link '@id': stencila:Link extends: Entity role: secondary status: unstable category: prose description: A hyperlink to other pages, sections within the same document, resources, or any URL. properties: content: '@id': stencila:content description: The textual content of the link. type: array it...
title: Link '@id': stencila:Link extends: Entity role: secondary status: unstable category: prose description: A hyperlink to other pages, sections within the same document, resources, or any URL. properties: content: '@id': stencila:content description: The textual content of the link. type: array it...
Use consistent `@id` for title property
fix(Link): Use consistent `@id` for title property
YAML
apache-2.0
stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila,stencila/stencila
yaml
## Code Before: title: Link '@id': stencila:Link extends: Entity role: secondary status: unstable category: prose description: A hyperlink to other pages, sections within the same document, resources, or any URL. properties: content: '@id': stencila:content description: The textual content of the link. ty...
e923d4a3ad79c2e64e08a1f127fc12dc5c710b43
config.yaml
config.yaml
pdf_redir: &pdf_redir '/static/ann/viewer/web/viewer.html?file=/h/id_/{0}' collections: h: index_paths: $liveweb wb_handler_class: !!python/name:pywb_h.CustomRedirHandler redirects: 'application/pdf': *pdf_redir 'application/x-pdf': *pdf_redir frame_insert_...
pdf_redir: &pdf_redir '/static/ann/viewer/web/viewer.html?file=/h/id_/{0}' collections: h: index_paths: $liveweb wb_handler_class: !!python/name:pywb_h.CustomRedirHandler redirects: 'application/pdf': *pdf_redir 'application/x-pdf': *pdf_redir frame_insert_...
Revert "add debug routes to help trace redir issues"
Revert "add debug routes to help trace redir issues" This reverts commit 8744655d000f24b08bb5738ba4a4ddfbe5957b41. Rather not have these in production.
YAML
mit
ikreymer/via,ikreymer/via,ikreymer/via,ikreymer/via,ikreymer/via
yaml
## Code Before: pdf_redir: &pdf_redir '/static/ann/viewer/web/viewer.html?file=/h/id_/{0}' collections: h: index_paths: $liveweb wb_handler_class: !!python/name:pywb_h.CustomRedirHandler redirects: 'application/pdf': *pdf_redir 'application/x-pdf': *pdf_redir ...
f89579b9871b85ee98f0f4c687a5e70a85fe416f
ReplicationAcceptance/README.md
ReplicationAcceptance/README.md
This project is a standalone user of CDTDatastore whose perpose in compilation is to test the replication of CDTDatastore. It also has some good example code, in that it shows how to create, update and delete documents, along with how to replicate those to and from remote databases. ## Getting started Install Couch...
This project is a standalone user of CDTDatastore whose perpose in compilation is to test the replication of CDTDatastore. It also has some good example code, in that it shows how to create, update and delete documents, along with how to replicate those to and from remote databases. ## Getting started Install Couch...
Update command lines for ReplicationAcceptance projects.
Update command lines for ReplicationAcceptance projects.
Markdown
apache-2.0
cloudant/CDTDatastore,phatblat/CDTDatastore,jhs/CDTDatastore,phatblat/CDTDatastore,jhs/CDTDatastore,phatblat/CDTDatastore,cloudant/CDTDatastore,jhs/CDTDatastore,cloudant/CDTDatastore,cloudant/CDTDatastore,jimix/CDTDatastore,jimix/CDTDatastore,jimix/CDTDatastore
markdown
## Code Before: This project is a standalone user of CDTDatastore whose perpose in compilation is to test the replication of CDTDatastore. It also has some good example code, in that it shows how to create, update and delete documents, along with how to replicate those to and from remote databases. ## Getting starte...
e160276cb565e78961a9aade2ede9972144923fe
resources/src/scss/modules/_objective_navigation.scss
resources/src/scss/modules/_objective_navigation.scss
.objective-navigation { margin: 0 0 2em 0; ul { list-style: none; margin: 0; padding: 0; } li { margin: 0; padding: 0; } }
$objective_navigation_height: 80px; .objective-navigation { height: $objective_navigation_height; margin: 0 0 2em 0; } .objective-navigation-list-wrapper { position: absolute; left: 0; width: 100%; // border-top: 1px solid $border_color; border-bottom: 1px solid $border_color; } .objective-navigation-li...
Add styling to objective navbar
Add styling to objective navbar
SCSS
mit
ThoughtWorksInc/objective8,prisamuel/objective8,prisamuel/objective8,d-cent/objective8,ThoughtWorksInc/objective8,d-cent/objective8,prisamuel/objective8,d-cent/objective8,prisamuel/objective8,ThoughtWorksInc/objective8,d-cent/objective8,ThoughtWorksInc/objective8
scss
## Code Before: .objective-navigation { margin: 0 0 2em 0; ul { list-style: none; margin: 0; padding: 0; } li { margin: 0; padding: 0; } } ## Instruction: Add styling to objective navbar ## Code After: $objective_navigation_height: 80px; .objective-navigation { height: $objective_navig...
bf1edf355017e73ba91286a1c581001a7f06c48d
install-program-list.rb
install-program-list.rb
require 'rake' def installFrom(filePath) File.foreach(filePath) { |line| name = line.chomp yield name } end brewListPath = "brew" + File::SEPARATOR + "brew-list" installFrom(brewListPath) {|i| sh "brew install #{i}"} brewCaskListPath = "brew" + File::SEPARATOR + "brew-cask-list" installFrom(...
require 'rake' def installFrom(filePath) File.foreach(filePath) { |line| name = line.chomp yield name } end brewListPath = "brew" + File::SEPARATOR + "brew-list" installFrom(brewListPath) {|i| sh "brew install #{i}"} brewCaskListPath = "brew" + File::SEPARATOR + "brew-cask-list" installFrom(...
Install ruby gem only if not installed already
Install ruby gem only if not installed already
Ruby
mit
ayushgoel/dotfiles,ayushgoel/dotfiles,ayushgoel/dotfiles
ruby
## Code Before: require 'rake' def installFrom(filePath) File.foreach(filePath) { |line| name = line.chomp yield name } end brewListPath = "brew" + File::SEPARATOR + "brew-list" installFrom(brewListPath) {|i| sh "brew install #{i}"} brewCaskListPath = "brew" + File::SEPARATOR + "brew-cask-li...
656afe62a5cf8d1d5b334a4bdf17b47dc05c23ec
dev-requirements.txt
dev-requirements.txt
mock==1.0.1 pytest==2.6.3 httpretty==0.8.4 pytest-cov==1.8.1 pep8>=1.5.7,<1.6.0 pyflakes>=0.8,<0.9 mccabe>=0.3,<0.4 flake8==2.3.0 -r requirements.txt
mock==1.0.1 pytest==2.6.3 httpretty==0.8.4 pytest-cov==1.8.1 ipdb==0.8 ipython==3.1.0 pep8>=1.5.7,<1.6.0 pyflakes>=0.8,<0.9 mccabe>=0.3,<0.4 flake8==2.3.0 -r requirements.txt
Add ipdb to dev requirements
Add ipdb to dev requirements
Text
apache-2.0
alexgarciac/scrapi,ostwald/scrapi,mehanig/scrapi,felliott/scrapi,jeffreyliu3230/scrapi,felliott/scrapi,erinspace/scrapi,fabianvf/scrapi,mehanig/scrapi,CenterForOpenScience/scrapi,erinspace/scrapi,fabianvf/scrapi,CenterForOpenScience/scrapi,icereval/scrapi
text
## Code Before: mock==1.0.1 pytest==2.6.3 httpretty==0.8.4 pytest-cov==1.8.1 pep8>=1.5.7,<1.6.0 pyflakes>=0.8,<0.9 mccabe>=0.3,<0.4 flake8==2.3.0 -r requirements.txt ## Instruction: Add ipdb to dev requirements ## Code After: mock==1.0.1 pytest==2.6.3 httpretty==0.8.4 pytest-cov==1.8.1 ipdb==0.8 ipython==3.1.0 pep...
d37631451ad65588fdd8ab6cb300769deca3d043
modules/roles.py
modules/roles.py
import discord import shlex from modules.botModule import BotModule class Roles(BotModule): name = 'Roles' description = 'Allow for the assignment and removal of roles.' help_text = '' trigger_string = '!role' # String to listen for as trigger async def parse_command(self, message, client): ...
import discord import shlex from modules.botModule import BotModule class Roles(BotModule): name = 'Roles' description = 'Allow for the assignment and removal of roles.' help_text = 'Usage: `!roles "role_name"`. This will add you to that role if allowed.' ' Executing it when you already ...
Add help text for Roles module.
Add help text for Roles module.
Python
mit
suclearnub/scubot
python
## Code Before: import discord import shlex from modules.botModule import BotModule class Roles(BotModule): name = 'Roles' description = 'Allow for the assignment and removal of roles.' help_text = '' trigger_string = '!role' # String to listen for as trigger async def parse_command(self, mes...
cb7d2d611397499548c1ecbaa9aa2202355cba08
src/index.js
src/index.js
import generateReducer from './generate-reducer'; import generateActionTypes from './generate-action-types'; import generateActionCreators from './generate-action-creators'; import {generateDefaultInitialState, xhrStatuses} from './utils'; const allowAllCrudOperations = { create: true, readOne: true, readMany: t...
import generateReducer from './generate-reducer'; import generateActionTypes from './generate-action-types'; import generateActionCreators from './generate-action-creators'; import {generateDefaultInitialState, xhrStatuses} from './utils'; const allowAllCrudOperations = { create: true, readOne: true, readMany: t...
Fix an issue where initial state was not computed correctly
Fix an issue where initial state was not computed correctly
JavaScript
mit
jmeas/redux-simple-resource,jmeas/redux-simple-resource,JPorry/redux-simple-resource,jmeas/resourceful-redux,JPorry/redux-simple-resource,jmeas/resourceful-redux
javascript
## Code Before: import generateReducer from './generate-reducer'; import generateActionTypes from './generate-action-types'; import generateActionCreators from './generate-action-creators'; import {generateDefaultInitialState, xhrStatuses} from './utils'; const allowAllCrudOperations = { create: true, readOne: tru...
5f3dfcfa366ce901ecdb4de8ab3317fe94914aa7
stdlib/private/StdlibUnittest/InspectValue.cpp
stdlib/private/StdlibUnittest/InspectValue.cpp
//===----------------------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//===----------------------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
Update getMetadataKindOf for +0 parameters.
[stdlibunittest] Update getMetadataKindOf for +0 parameters. rdar://34222540
C++
apache-2.0
natecook1000/swift,harlanhaskins/swift,alblue/swift,apple/swift,brentdax/swift,roambotics/swift,nathawes/swift,CodaFi/swift,allevato/swift,karwa/swift,benlangmuir/swift,aschwaighofer/swift,devincoughlin/swift,austinzheng/swift,natecook1000/swift,danielmartin/swift,harlanhaskins/swift,danielmartin/swift,huonw/swift,xedi...
c++
## Code Before: //===----------------------------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See htt...
ddb26faa11a22858f93493677fdbe7d278ecf582
conda/meta.yaml
conda/meta.yaml
package: name: flaapluc version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} source: git_url: https://github.com/jlenain/flaapluc.git requirements: build: - python 2.7* - email - numpy 1.13* - scipy - astropy >=2.* - matplotlib >=2.* - ephem - uncertainties run: - python...
package: name: flaapluc version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} source: git_url: https://github.com/jlenain/flaapluc.git requirements: build: - python 2.7* - email - numpy 1.13* - scipy - astropy >=2.* - matplotlib >=2.* - ephem - setuptools - uncertainties ...
Add dependency on setuptools to properly build conda package
Add dependency on setuptools to properly build conda package
YAML
bsd-3-clause
jlenain/flaapluc,jlenain/flaapluc
yaml
## Code Before: package: name: flaapluc version: {{ environ.get('GIT_DESCRIBE_TAG', '') }} source: git_url: https://github.com/jlenain/flaapluc.git requirements: build: - python 2.7* - email - numpy 1.13* - scipy - astropy >=2.* - matplotlib >=2.* - ephem - uncertainties r...
78c13173fadbdc3d261ab3690ffb9c37d8f8a72d
bootstrap.py
bootstrap.py
from __future__ import print_function from getpass import getpass import readline import sys import annotator from annotator.model import Consumer, User if __name__ == '__main__': r = raw_input("This program will perform initial setup of the annotation \n" "store, and create the required admin ...
from __future__ import print_function from getpass import getpass import readline import sys import annotator from annotator.model import Consumer, User if __name__ == '__main__': r = raw_input("This program will perform initial setup of the annotation \n" "store, and create the required admin ...
Update to reflect new create_app signature
Update to reflect new create_app signature
Python
mit
openannotation/annotator-store,nobita-isc/annotator-store,nobita-isc/annotator-store,ningyifan/annotator-store,nobita-isc/annotator-store,nobita-isc/annotator-store,happybelly/annotator-store
python
## Code Before: from __future__ import print_function from getpass import getpass import readline import sys import annotator from annotator.model import Consumer, User if __name__ == '__main__': r = raw_input("This program will perform initial setup of the annotation \n" "store, and create the...
172fe106596ba4bcd654b60db47eb5c3b79c83d3
package.json
package.json
{ "name": "terminal-wallet", "version": "0.0.0", "description": "My mind-blowing module", "license": "MIT", "repository": "icyflame/terminal-wallet", "author": { "name": "Siddharth Kannan", "email": "kannan.siddharth12@gmail.com", "url": "icyflame.github.io" }, "bin": "cli.js", "engines": ...
{ "name": "terminal-wallet", "version": "0.0.0", "description": "My mind-blowing module", "license": "MIT", "repository": "icyflame/terminal-wallet", "author": { "name": "Siddharth Kannan", "email": "kannan.siddharth12@gmail.com", "url": "icyflame.github.io" }, "bin": { "wallet": "cli.js...
Add all the basic deps, postinstall, cli scripts.
Add all the basic deps, postinstall, cli scripts. Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
JSON
mit
icyflame/terminal-wallet,icyflame/terminal-wallet
json
## Code Before: { "name": "terminal-wallet", "version": "0.0.0", "description": "My mind-blowing module", "license": "MIT", "repository": "icyflame/terminal-wallet", "author": { "name": "Siddharth Kannan", "email": "kannan.siddharth12@gmail.com", "url": "icyflame.github.io" }, "bin": "cli.js...
adf079b8bbbce2f7dd774b4fa9774370c01a79d3
raven/src/test/resources/logging-test.properties
raven/src/test/resources/logging-test.properties
handlers=java.util.logging.ConsoleHandler .level=OFF java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n
handlers=java.util.logging.ConsoleHandler .level=OFF java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level=ALL java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n
Add a line to ensure that the consoleHandler will print everything that is logged
Add a line to ensure that the consoleHandler will print everything that is logged
INI
bsd-3-clause
buckett/raven-java,galmeida/raven-java,reki2000/raven-java6,reki2000/raven-java6,littleyang/raven-java,buckett/raven-java,littleyang/raven-java,galmeida/raven-java
ini
## Code Before: handlers=java.util.logging.ConsoleHandler .level=OFF java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=[RAVEN] [%4$.4s] %3$s - %5$s%n ## Instruction: Add a line to ensure that the consoleHandler will print everything that is logged #...
3f0341dfd785e74dc32279875b51e71aa71b37f0
app_template_iframe/translations/en.json
app_template_iframe/translations/en.json
{ "app": { "short_description": "Play the famous zen tunes in your help desk.", "long_description": "Play the famous zen tunes in your help desk and \n listen to the beats it has to offer.", "installation_instructions": "Simply click install." } }
{ "app": { "name": "Zen Tunes", "short_description": "Play the famous zen tunes in your help desk.", "long_description": "Play the famous zen tunes in your help desk and \n listen to the beats it has to offer.", "installation_instructions": "Simply click install." } }
Add name to translation template
Add name to translation template
JSON
apache-2.0
zendesk/zendesk_apps_tools,zendesk/zendesk_apps_tools,zendesk/zendesk_apps_tools
json
## Code Before: { "app": { "short_description": "Play the famous zen tunes in your help desk.", "long_description": "Play the famous zen tunes in your help desk and \n listen to the beats it has to offer.", "installation_instructions": "Simply click install." } } ## Instruction: Add name to translation...
46bf2ad0d6c19479a4e541f2cd383cd0e7571e27
app/scripts/controllers/main.coffee
app/scripts/controllers/main.coffee
'use strict' angular.module('taarifaWaterpointsApp') .controller 'MainCtrl', ($scope, Waterpoint) -> $scope.waterpoints = Waterpoint.query()
'use strict' angular.module('taarifaWaterpointsApp') .controller 'MainCtrl', ($scope, Waterpoint) -> $scope.waterpoints = Waterpoint.query() .controller 'MapCtrl', ($scope, Waterpoint) -> $scope.dar = lat: -6.7701973 lng: 39.2664484 zoom: 6 $scope.markers = {} Waterpoint.query (wa...
Add MapCtrl to build markers grouped by district
Add MapCtrl to build markers grouped by district
CoffeeScript
apache-2.0
gwob/Maarifa,gwob/Maarifa,gwob/Maarifa,gwob/Maarifa,gwob/Maarifa
coffeescript
## Code Before: 'use strict' angular.module('taarifaWaterpointsApp') .controller 'MainCtrl', ($scope, Waterpoint) -> $scope.waterpoints = Waterpoint.query() ## Instruction: Add MapCtrl to build markers grouped by district ## Code After: 'use strict' angular.module('taarifaWaterpointsApp') .controller 'MainC...
088699e1c1afb4e64f2de1cf993ce572c448c7c1
src/master/curl_helper_unittest.cc
src/master/curl_helper_unittest.cc
// Copyright (c) 2015 Chaobin Zhang. All rights reserved. // Use of this source code is governed by the BSD license that can be // found in the LICENSE file. #include "base/files/scoped_temp_dir.h" #include "base/path_service.h" #include "common/util.h" #include "master/curl_helper.h" #include "testing/gtest/include/g...
// Copyright (c) 2015 Chaobin Zhang. All rights reserved. // Use of this source code is governed by the BSD license that can be // found in the LICENSE file. #include "base/files/scoped_temp_dir.h" #include "base/path_service.h" #include "common/util.h" #include "master/curl_helper.h" #include "testing/gtest/include/g...
Use license file instead of readme.
[TEST] Use license file instead of readme. Change of LICENSE is less than README.md.
C++
bsd-2-clause
zhchbin/DN,zhchbin/DN,zhchbin/DN,zhchbin/DN,zhchbin/DN,zhchbin/DN
c++
## Code Before: // Copyright (c) 2015 Chaobin Zhang. All rights reserved. // Use of this source code is governed by the BSD license that can be // found in the LICENSE file. #include "base/files/scoped_temp_dir.h" #include "base/path_service.h" #include "common/util.h" #include "master/curl_helper.h" #include "testing...
2ce05d1689611d6b197ca6ac509b191421d9508d
lib/app/views/pending.erb
lib/app/views/pending.erb
<% if current_user.nitpicker? %> <p>Read about <a href="/nitpick">how to nitpick</a></p> <% end %> <% unless pending.empty? %> <h2>Needs Nitpicking</h2> <div class="pending-submissions"> <%= erb :filter_pending, locals: { label: 'User', options: users } %> <%= erb :filter_pending, locals: { label: 'Exercis...
<% if current_user.nitpicker? %> <p>Read about <a href="/nitpick">how to nitpick</a></p> <p>Read about <a href="/cycle">the feedback cycle</a>.</p> <% end %> <% unless pending.empty? %> <h2>Needs Nitpicking</h2> <div class="pending-submissions"> <%= erb :filter_pending, locals: { label: 'User', options: users ...
Add link to feedback cycle on dashboard
Add link to feedback cycle on dashboard
HTML+ERB
agpl-3.0
copiousfreetime/exercism.io,treiff/exercism.io,mscoutermarsh/exercism_coveralls,mscoutermarsh/exercism_coveralls,chinaowl/exercism.io,sheekap/exercism.io,emilyforst/exercism.io,Tonkpils/exercism.io,sheekap/exercism.io,mscoutermarsh/exercism_coveralls,copiousfreetime/exercism.io,hanumakanthvvn/exercism.io,k4rtik/exercis...
html+erb
## Code Before: <% if current_user.nitpicker? %> <p>Read about <a href="/nitpick">how to nitpick</a></p> <% end %> <% unless pending.empty? %> <h2>Needs Nitpicking</h2> <div class="pending-submissions"> <%= erb :filter_pending, locals: { label: 'User', options: users } %> <%= erb :filter_pending, locals: {...
3a43d2853ef4ad8cdcb01e07dbf17bcfa62b5b1f
.i3/i3-conf-gen.sh
.i3/i3-conf-gen.sh
set -e echo "HOSTNAME is set to $HOSTNAME. All configs in the $HOSTNAME directory will be included" if [ -e "$HOME"/.i3/config ]; then mv "$HOME"/.i3/config "$HOME"/.i3/.config_backup fi for conf in "$HOME"/.i3/core/*; do echo -e "\n" >> "$HOME"/.i3/config cat "$HOME/.i3/core/$conf" >> "$HOME"/.i3/config if...
set -e echo "HOSTNAME is set to $HOSTNAME. All configs in the $HOSTNAME directory will be included" if [ -e "$HOME"/.i3/config ]; then mv "$HOME"/.i3/config "$HOME"/.i3/.config_backup fi for conf in "$HOME"/.i3/core/*; do # Strip leading path conf=${conf##*/} echo -e "\n" >> "$HOME"/.i3/config cat "$HOME...
Remove redundant leading path from i3 host specific config glob
Remove redundant leading path from i3 host specific config glob
Shell
bsd-3-clause
kneitinger/dotfiles,kneitinger/dotfiles,kneitinger/dotfiles
shell
## Code Before: set -e echo "HOSTNAME is set to $HOSTNAME. All configs in the $HOSTNAME directory will be included" if [ -e "$HOME"/.i3/config ]; then mv "$HOME"/.i3/config "$HOME"/.i3/.config_backup fi for conf in "$HOME"/.i3/core/*; do echo -e "\n" >> "$HOME"/.i3/config cat "$HOME/.i3/core/$conf" >> "$HOME"...
4f64f04a2fbbd2b25c38c9e0171be6eeaff070cf
main.py
main.py
from blinkenlights import setup, cleanup from fourleds import light, clear from time import sleep pins = [32, 22, 18, 16] # blu grn red yel for p in pins: setup(p) for i in range(20): for p in [32, 22, 18, 16, 18, 22, 32]: clear(pins) light(p) sleep(0.07) clear(pins) sl...
from blinkenlights import setup, cleanup from fourleds import light, clear from time import sleep from random import randint pins = [32, 22, 18, 16] # blu grn red yel for p in pins: setup(p) for i in range(20): k1 = randint(5, 10) * 0.01 k2 = randint(5, 20) * 0.1 for p in [32, 22, 18, 16, 18, ...
Add pleasant surprises in timing
Add pleasant surprises in timing
Python
mit
zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie
python
## Code Before: from blinkenlights import setup, cleanup from fourleds import light, clear from time import sleep pins = [32, 22, 18, 16] # blu grn red yel for p in pins: setup(p) for i in range(20): for p in [32, 22, 18, 16, 18, 22, 32]: clear(pins) light(p) sleep(0.07) cl...
caa18d2f672e107c33d78bd81411a58739081de0
src/util.js
src/util.js
/** * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
/** * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Use a faster blank object creator
Use a faster blank object creator http://justin.ridgewell.name/browser-benchmark/blank-object/index.html Creation is 2-10x faster (depends on the browser), and access is the same for both existent and non-existent properties.
JavaScript
apache-2.0
google/incremental-dom,sparhami/incremental-dom,google/incremental-dom,PolymerLabs/incremental-dom,google/incremental-dom,sparhami/incremental-dom,jridgewell/incremental-dom,PolymerLabs/incremental-dom,jridgewell/incremental-dom,jridgewell/incremental-dom,sparhami/incremental-dom,sparhami/incremental-dom,PolymerLabs/in...
javascript
## Code Before: /** * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
49854b027a3dc5a7bb2e405a84f9e7105ddf9bdc
lib/tasks/user.rake
lib/tasks/user.rake
namespace :user do # rake user:downgrade_expired task :downgrade_expired => :environment do User.pro_only.not_forever.joins(:payments).having("MAX(payments.date) < ?", 1.year.ago).group("users.id").each do |user| user.update(plan: "Free") UserMailer.downgraded(user) end end end
namespace :user do # rake user:downgrade_expired task :downgrade_expired => :environment do User.pro_only.not_forever.joins(:payments).having("MAX(payments.date) < ?", 1.year.ago).group("users.id").each do |user| user.update(plan: "Free") UserMailer.downgraded(user).deliver_later end end end
Fix rake task to actually send emails
Fix rake task to actually send emails
Ruby
mit
parterburn/dabble.me,parterburn/dabble.me,parterburn/dabble.me,parterburn/dabble.me
ruby
## Code Before: namespace :user do # rake user:downgrade_expired task :downgrade_expired => :environment do User.pro_only.not_forever.joins(:payments).having("MAX(payments.date) < ?", 1.year.ago).group("users.id").each do |user| user.update(plan: "Free") UserMailer.downgraded(user) end end e...
f988960f721b47188df8c0906298c6dfbd2bd888
pytest.ini
pytest.ini
[pytest] norecursedirs=dist build .tox .eggs addopts=--doctest-modules doctest_optionflags=ALLOW_UNICODE ELLIPSIS # workaround for warning pytest-dev/pytest#6178 junit_family=xunit2 filterwarnings= # https://github.com/pytest-dev/pytest/issues/6928 ignore:direct construction of .*Item has been deprecated:Deprec...
[pytest] norecursedirs=dist build .tox .eggs addopts=--doctest-modules doctest_optionflags=ALLOW_UNICODE ELLIPSIS # workaround for warning pytest-dev/pytest#6178 junit_family=xunit2 filterwarnings= # https://github.com/pytest-dev/pytest/issues/6928 ignore:direct construction of .*Item has been deprecated:Deprec...
Remove warning suppressions as warnings are no longer firing.
Remove warning suppressions as warnings are no longer firing.
INI
mit
yougov/pmxbot,yougov/pmxbot,yougov/pmxbot
ini
## Code Before: [pytest] norecursedirs=dist build .tox .eggs addopts=--doctest-modules doctest_optionflags=ALLOW_UNICODE ELLIPSIS # workaround for warning pytest-dev/pytest#6178 junit_family=xunit2 filterwarnings= # https://github.com/pytest-dev/pytest/issues/6928 ignore:direct construction of .*Item has been d...
59393e6f4b335ff3f55300752d30c85b8a49541c
packages/ha/harfbuzz-pure.yaml
packages/ha/harfbuzz-pure.yaml
homepage: https://harfbuzz.github.io/ changelog-type: markdown hash: e93b7bc5919180f9da67377e9b74a5213af353673a6010d7a7c4eb62cb8edf58 test-bench-deps: {} maintainer: opensource@openwork.nz synopsis: Pure-functional Harfbuzz language bindings changelog: | # Revision history for harfbuzz-pure ## 0.1.0.0 -- YYYY-mm-...
homepage: https://harfbuzz.github.io/ changelog-type: markdown hash: b55e13bfbeb2ab2f52878bde3eeb2a7009ad6fac6f6ba26e8b8155e12af063a9 test-bench-deps: {} maintainer: opensource@openwork.nz synopsis: Pure-functional Harfbuzz language bindings changelog: | # Revision history for harfbuzz-pure ## 0.1.0.0 -- YYYY-mm-...
Update from Hackage at 2022-11-11T06:59:40Z
Update from Hackage at 2022-11-11T06:59:40Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://harfbuzz.github.io/ changelog-type: markdown hash: e93b7bc5919180f9da67377e9b74a5213af353673a6010d7a7c4eb62cb8edf58 test-bench-deps: {} maintainer: opensource@openwork.nz synopsis: Pure-functional Harfbuzz language bindings changelog: | # Revision history for harfbuzz-pure ## 0.1....
3c8fc5c531151c58171ddd9218933a4855dfdde7
self_tests/measure-cyclomatic-complexity.sh
self_tests/measure-cyclomatic-complexity.sh
function prepare_venv() { VIRTUALENV=$(which virtualenv) if [ $? -eq 1 ]; then # python34 which is in CentOS does not have virtualenv binary VIRTUALENV=$(which virtualenv-3) fi ${VIRTUALENV} -p python3 venv && source venv/bin/activate && python3 "$(which pip3)" install radon } [ "$NOV...
function prepare_venv() { VIRTUALENV=$(which virtualenv) if [ $? -eq 1 ]; then # python34 which is in CentOS does not have virtualenv binary VIRTUALENV=$(which virtualenv-3) fi ${VIRTUALENV} -p python3 venv && source venv/bin/activate && python3 "$(which pip3)" install radon } [ "$NOV...
Allow the script to be started from any directory
Allow the script to be started from any directory
Shell
apache-2.0
ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test
shell
## Code Before: function prepare_venv() { VIRTUALENV=$(which virtualenv) if [ $? -eq 1 ]; then # python34 which is in CentOS does not have virtualenv binary VIRTUALENV=$(which virtualenv-3) fi ${VIRTUALENV} -p python3 venv && source venv/bin/activate && python3 "$(which pip3)" install ...
cd691eb4e6aab6d4a10176b26341844671939622
CMakeLists.txt
CMakeLists.txt
request_dependency(omegaOsg) module_version(3.0) include(external/UseGDAL.cmake) include(external/UseOsgEarth.cmake) include_directories(.) include_directories(${OSG_INCLUDES}) include_directories(${OSGEARTH_INCLUDES}) # Kml loader for the cyclops module add_library(KmlLoader MODULE KmlLoader.cpp) target_link_librar...
request_dependency(omegaOsg) module_version(3.0) include(external/UseGDAL.cmake) include(external/UseOsgEarth.cmake) include_directories(.) include_directories(${OSG_INCLUDES}) include_directories(${OSGEARTH_INCLUDES}) # Kml loader for the cyclops module if(MODULES_cyclops) add_library(KmlLoader MODULE KmlLoader...
FIX build when cyclops is not present
FIX build when cyclops is not present
Text
bsd-3-clause
omega-hub/omegaOsgEarth
text
## Code Before: request_dependency(omegaOsg) module_version(3.0) include(external/UseGDAL.cmake) include(external/UseOsgEarth.cmake) include_directories(.) include_directories(${OSG_INCLUDES}) include_directories(${OSGEARTH_INCLUDES}) # Kml loader for the cyclops module add_library(KmlLoader MODULE KmlLoader.cpp) ta...
ea2cb4e6c09c9336fe8766d968894c57946c4f29
app/assets/javascripts/admin/utils/directives/date_picker.js.coffee
app/assets/javascripts/admin/utils/directives/date_picker.js.coffee
angular.module("admin.utils").directive "datepicker", ($window, $timeout) -> require: "ngModel" link: (scope, element, attrs, ngModel) -> $timeout -> flatpickr(element, Object.assign( {}, $window.FLATPICKR_DATE_DEFAULT, { ...
angular.module("admin.utils").directive "datepicker", ($window, $timeout) -> require: "ngModel" link: (scope, element, attrs, ngModel) -> $timeout -> flapickrInstance = flatpickr(element, Object.assign( {}, $window.FLATPICKR_DATE_DEFAULT, { ...
Update flatpickr input value if ng-model change
Update flatpickr input value if ng-model change
CoffeeScript
agpl-3.0
openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundati...
coffeescript
## Code Before: angular.module("admin.utils").directive "datepicker", ($window, $timeout) -> require: "ngModel" link: (scope, element, attrs, ngModel) -> $timeout -> flatpickr(element, Object.assign( {}, $window.FLATPICKR_DATE_DEFAULT, { ...
f8257fd28209939d29d1745935b68a601fcb9032
.travis.yml
.travis.yml
language: python sudo: false env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 script: - tox -e $TOX_ENV install: - pip install codecov tox after_success: - bash <(curl -s https://codecov.io/bash)
language: python python: - "2.7" - "3.3" - "3.4" - "3.5" sudo: false env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 script: - tox -e $TOX_ENV install: - pip install codecov tox after_success: - bash <(curl -s https://codecov.io/bash)
Install python 3.5 in tests.
Install python 3.5 in tests.
YAML
bsd-3-clause
travcunn/snake-vm
yaml
## Code Before: language: python sudo: false env: - TOX_ENV=py27 - TOX_ENV=py33 - TOX_ENV=py34 - TOX_ENV=py35 script: - tox -e $TOX_ENV install: - pip install codecov tox after_success: - bash <(curl -s https://codecov.io/bash) ## Instruction: Install python 3.5 in tests. ## Code After: language:...
0f5bbb3e9e0aaa28e6a6ac27fbf00de02b14041b
aggregate/aggregate.go
aggregate/aggregate.go
package aggregate import ( "github.com/loadimpact/speedboat/runner" ) func Aggregate(stats *Stats, in <-chan runner.Result) <-chan runner.Result { ch := make(chan runner.Result) go func() { defer close(ch) defer stats.End() for res := range in { if res.Abort { continue } stats.Ingest(&res) ...
package aggregate import ( "github.com/loadimpact/speedboat/runner" ) func Aggregate(stats *Stats, in <-chan runner.Result) <-chan runner.Result { ch := make(chan runner.Result) go func() { defer close(ch) defer stats.End() for res := range in { if !res.Abort { stats.Ingest(&res) } ch <- res ...
Abort results weren't forwarded properly
[fix] Abort results weren't forwarded properly
Go
agpl-3.0
StephenRadachy/k6,gbts/k6,loadimpact/k6,StephenRadachy/k6,gbts/k6,loadimpact/k6,gbts/k6,gbts/k6
go
## Code Before: package aggregate import ( "github.com/loadimpact/speedboat/runner" ) func Aggregate(stats *Stats, in <-chan runner.Result) <-chan runner.Result { ch := make(chan runner.Result) go func() { defer close(ch) defer stats.End() for res := range in { if res.Abort { continue } stats....
96159d38ccd772bf864c4405e281a3e83eb032c3
migrations/922-leave-the-past-behind.sql
migrations/922-leave-the-past-behind.sql
-- o/` Leave the past behind, just walk away o/` DROP TABLE IF EXISTS auth_user_groups; DROP TABLE IF EXISTS auth_user_user_permissions; DROP TABLE IF EXISTS django_admin_log; DROP TABLE IF EXISTS auth_user; DROP TABLE IF EXISTS addons_categories; DROP TABLE IF EXISTS categories; ALTER TABLE files DROP COLUMN is_pa...
-- o/` Leave the past behind, just walk away o/` ALTER TABLE django_admin_log DROP FOREIGN KEY `user_id_refs_id_c8665aa`; ALTER TABLE django_admin_log ADD FOREIGN KEY `django_admin_log_user_id_52fdd58701c5f563_fk_users_id` (`user_id`) REFERENCES `users` (`id`); DROP TABLE IF EXISTS auth_user_groups; DROP TABLE IF EXI...
Change foreign key, don't kill entire table
Change foreign key, don't kill entire table
SQL
bsd-3-clause
kumar303/zamboni,kumar303/zamboni,elysium001/zamboni,luckylavish/zamboni,ayushagrawal288/zamboni,washort/zamboni,Hitechverma/zamboni,jasonthomas/zamboni,ingenioustechie/zamboni,diox/zamboni,jamesthechamp/zamboni,mozilla/zamboni,diox/zamboni,washort/zamboni,elysium001/zamboni,ayushagrawal288/zamboni,tsl143/zamboni,jason...
sql
## Code Before: -- o/` Leave the past behind, just walk away o/` DROP TABLE IF EXISTS auth_user_groups; DROP TABLE IF EXISTS auth_user_user_permissions; DROP TABLE IF EXISTS django_admin_log; DROP TABLE IF EXISTS auth_user; DROP TABLE IF EXISTS addons_categories; DROP TABLE IF EXISTS categories; ALTER TABLE files D...
2833a895e8a7d0ba879598222c83bc5a4cd88853
desc/geometry/__init__.py
desc/geometry/__init__.py
from .curve import FourierRZCurve, FourierXYZCurve, FourierPlanarCurve from .surface import FourierRZToroidalSurface, ZernikeRZToroidalSection __all__ = [ "FourierRZCurve", "FourierXYZCurve", "FourierPlanarCurve", "FourierRZToroidalSurface", "ZernikeRZToroidalSection", ]
from .curve import FourierRZCurve, FourierXYZCurve, FourierPlanarCurve from .surface import FourierRZToroidalSurface, ZernikeRZToroidalSection from .core import Surface, Curve __all__ = [ "FourierRZCurve", "FourierXYZCurve", "FourierPlanarCurve", "FourierRZToroidalSurface", "ZernikeRZToroidalSectio...
Add geometry ABCs to init
Add geometry ABCs to init
Python
mit
PlasmaControl/DESC,PlasmaControl/DESC
python
## Code Before: from .curve import FourierRZCurve, FourierXYZCurve, FourierPlanarCurve from .surface import FourierRZToroidalSurface, ZernikeRZToroidalSection __all__ = [ "FourierRZCurve", "FourierXYZCurve", "FourierPlanarCurve", "FourierRZToroidalSurface", "ZernikeRZToroidalSection", ] ## Instruc...
3902a38c07f35edd3f7136e1d3802abe4c5d24cd
lib/fat_table/patches.rb
lib/fat_table/patches.rb
unless { a: 1 }.respond_to?(:fetch_values) # Add fetch_values if this version of ruby does not define it. class Hash def fetch_values(*keys) result = [] keys.each do |k| result << if block_given? yield(self[k]) else self[k] end end ...
unless { a: 1 }.respond_to?(:fetch_values) # Add fetch_values if this version of ruby does not define it. class Hash def fetch_values(*keys) result = [] keys.each do |k| result << if block_given? yield(self[k]) else self[k] end end ...
Patch pre 2.4 ruby for match? method.
Patch pre 2.4 ruby for match? method.
Ruby
mit
ddoherty03/fat_table,ddoherty03/fat_table
ruby
## Code Before: unless { a: 1 }.respond_to?(:fetch_values) # Add fetch_values if this version of ruby does not define it. class Hash def fetch_values(*keys) result = [] keys.each do |k| result << if block_given? yield(self[k]) else self[k] ...
b39ccbbbc805a3adac7927baeaab5861a6da680d
source/views/calendar/index.js
source/views/calendar/index.js
// @flow /** * All About Olaf * Calendar page */ import React from 'react' import {TabNavigator} from '../components/tabbed-view' import {TabBarIcon} from '../components/tabbar-icon' import {GoogleCalendarView} from './calendar-google' export {EventDetail} from './event-detail' export default TabNavigator( { ...
// @flow /** * All About Olaf * Calendar page */ import React from 'react' import {TabNavigator} from '../components/tabbed-view' import {TabBarIcon} from '../components/tabbar-icon' import {GoogleCalendarView} from './calendar-google' export {EventDetail} from './event-detail' export default TabNavigator( { ...
Update St. Olaf calendar URL
Update St. Olaf calendar URL We have changed calendar backend systems, so the old URL will go away soon. This is, I believe, the new ID for the master St. Olaf calendar. It has the (dis)advantage of including Alumni and Athletics events, but we're not sure how to exclude them yet.
JavaScript
mit
carls-app/carls,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,carls-app/carls,carls-app/carls,StoDevX/AAO-React-Native,carls-app/carls,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,carls-app/carls,carls-app/carls,carls-app/carls,StoDevX/...
javascript
## Code Before: // @flow /** * All About Olaf * Calendar page */ import React from 'react' import {TabNavigator} from '../components/tabbed-view' import {TabBarIcon} from '../components/tabbar-icon' import {GoogleCalendarView} from './calendar-google' export {EventDetail} from './event-detail' export default Tab...
1b19947f98b2010ca89181af334eb02820d08704
api/giftcard-check-balance.php
api/giftcard-check-balance.php
<?php include '../scat.php'; $card= $db->escape($_REQUEST['card']); $card= preg_replace('/^RAW-/', '', $card); $q= "SELECT id, active, CONCAT(id, pin) card FROM giftcard WHERE id = SUBSTRING('$card', 1, 7) AND pin = SUBSTRING('$card',-4)"; $r= $db->query($q); if (!$r) die(jsonp(array("error" => "Unable t...
<?php include '../scat.php'; $card= $db->escape($_REQUEST['card']); $card= preg_replace('/^RAW-/', '', $card); $q= "SELECT giftcard.id, active, CONCAT(giftcard.id, pin) card, expires, DATE_FORMAT(MAX(entered), '%W, %M %e, %Y') AS latest, SUM(amount) AS balance FROM giftcard LEFT ...
Reduce number of queries, include expiration date
Reduce number of queries, include expiration date
PHP
mit
jimwins/scat,jimwins/scat,jimwins/scat,jimwins/scat
php
## Code Before: <?php include '../scat.php'; $card= $db->escape($_REQUEST['card']); $card= preg_replace('/^RAW-/', '', $card); $q= "SELECT id, active, CONCAT(id, pin) card FROM giftcard WHERE id = SUBSTRING('$card', 1, 7) AND pin = SUBSTRING('$card',-4)"; $r= $db->query($q); if (!$r) die(jsonp(array("err...
de7b38b2be40172ff6c4f3cd62aa39a54b0b31e4
lib/minimap-highlight-selected-view.coffee
lib/minimap-highlight-selected-view.coffee
module.exports = -> highlightSelectedPackage = atom.packages.getLoadedPackage('highlight-selected') highlightSelected = require (highlightSelectedPackage.path) HighlightedAreaView = require (highlightSelectedPackage.path + '/lib/highlighted-area-view') class FakeEditor constructor: (@minimap) -> getA...
module.exports = -> highlightSelectedPackage = atom.packages.getLoadedPackage('highlight-selected') highlightSelected = require (highlightSelectedPackage.path) HighlightedAreaView = require (highlightSelectedPackage.path + '/lib/highlighted-area-view') class FakeEditor constructor: (@minimap) -> getA...
Fix broken plugin since highlight-selected update
:bug: Fix broken plugin since highlight-selected update Fixes #5
CoffeeScript
mit
atom-minimap/minimap-highlight-selected
coffeescript
## Code Before: module.exports = -> highlightSelectedPackage = atom.packages.getLoadedPackage('highlight-selected') highlightSelected = require (highlightSelectedPackage.path) HighlightedAreaView = require (highlightSelectedPackage.path + '/lib/highlighted-area-view') class FakeEditor constructor: (@minim...
f6894575eba41a3fb9cb9302a93281396f8a222d
docs/INSTALLATION.md
docs/INSTALLATION.md
Please reference Racket's [Getting Started](http://docs.racket-lang.org/getting-started/) page for instructions on downloading and installing Racket. For *nix variants, you can also install Racket using your OS' package manager: **OS X** Install via Homebrew: ``` brew update brew install racket ``` **Linux** Debi...
Please reference Racket's [Getting Started](http://docs.racket-lang.org/getting-started/) page for instructions on downloading and installing Racket. Alternative installation options and further notes for specific OSes follow. ## OS X Install via Homebrew: ``` brew update brew install minimal-racket ``` The `minima...
Update installation instructions for OS X
Update installation instructions for OS X - Currently homebrew does not included a full "racket" package, only minimal-racket. The full package is available via cask - Add a note for users of the official installer to enable the CLI tools (needed to follow the instructions on how to run tests)
Markdown
mit
exercism/xracket
markdown
## Code Before: Please reference Racket's [Getting Started](http://docs.racket-lang.org/getting-started/) page for instructions on downloading and installing Racket. For *nix variants, you can also install Racket using your OS' package manager: **OS X** Install via Homebrew: ``` brew update brew install racket ``` ...
de78b2799ef4e62134dd61aa149cc718b724721c
packages/dc/DCFL.yaml
packages/dc/DCFL.yaml
homepage: https://github.com/Poincare/DCFL changelog-type: '' hash: 282f5f63610dae110dd23adbba1cc9c96437657bd039d9eaf033e6d5bad82bd1 test-bench-deps: {} maintainer: dpandya@college.harvard.edu synopsis: Communication Free Learning-based constraint solver changelog: '' basic-deps: base: ==4.6.* HUnit: ==1.2.* rand...
homepage: https://github.com/Poincare/DCFL changelog-type: '' hash: f1f5d0b4ad6ca3703e7260eb6b494f0f75fa784154fa11890e29b9e2c6e4ac27 test-bench-deps: {} maintainer: dpandya@college.harvard.edu synopsis: Communication Free Learning-based constraint solver changelog: '' basic-deps: base: ==4.6.* HUnit: ==1.2.* rand...
Update from Hackage at 2015-07-05T11:19:18+0000
Update from Hackage at 2015-07-05T11:19:18+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/Poincare/DCFL changelog-type: '' hash: 282f5f63610dae110dd23adbba1cc9c96437657bd039d9eaf033e6d5bad82bd1 test-bench-deps: {} maintainer: dpandya@college.harvard.edu synopsis: Communication Free Learning-based constraint solver changelog: '' basic-deps: base: ==4.6.* HUnit...
47b808fd68c2e11d47ed94c8a021143002089e36
docker-compose.yml
docker-compose.yml
version: '2' services: web: build: . command: bundle exec puma -C config/puma.rb volumes: - .:/app volumes_from: - bundle ports: - "127.0.0.1:3000:3000" depends_on: - operationcode-psql - redis env_file: - .env bundle: image: operationcodebackend_...
version: '2' services: web: build: . command: bundle exec puma -C config/puma.rb volumes: - .:/app volumes_from: - bundle ports: - "127.0.0.1:3000:3000" depends_on: - operationcode-psql - redis env_file: - .env bundle: image: operationcodebackend_...
Add bundle prefix to sidekiq
Add bundle prefix to sidekiq Resolves a "not found" error when running `make test` by adding the `bundle exec` prefix
YAML
mit
OperationCode/operationcode_backend,OperationCode/operationcode_backend,OperationCode/operationcode_backend
yaml
## Code Before: version: '2' services: web: build: . command: bundle exec puma -C config/puma.rb volumes: - .:/app volumes_from: - bundle ports: - "127.0.0.1:3000:3000" depends_on: - operationcode-psql - redis env_file: - .env bundle: image: opera...
6bafd293c4650aa1412e5dcab4959787e36abcb1
bashrc.d/70-exports.bash
bashrc.d/70-exports.bash
export HISTSIZE=32768; export HISTFILESIZE=$HISTSIZE; export HISTCONTROL=ignoredups; # Make some commands not show up in history export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"; # Prefer US English and use UTF-8 export LANG="en_US.UTF-8"; export LC_ALL="en_US.UTF-8"; export MANPAGER="less -X"; export GREP_OPTIO...
export HISTSIZE=32768; export HISTFILESIZE=$HISTSIZE; export HISTCONTROL=ignoredups; # Make some commands not show up in history export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"; # Prefer US English and use UTF-8 export LANG="en_US.UTF-8"; export LC_ALL="en_US.UTF-8"; export MANPAGER="less -X";
Remove GREP_OPTIONS, as this is now deprecated
Remove GREP_OPTIONS, as this is now deprecated
Shell
unlicense
TheDauthi/dotfiles,TheDauthi/dotfiles
shell
## Code Before: export HISTSIZE=32768; export HISTFILESIZE=$HISTSIZE; export HISTCONTROL=ignoredups; # Make some commands not show up in history export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"; # Prefer US English and use UTF-8 export LANG="en_US.UTF-8"; export LC_ALL="en_US.UTF-8"; export MANPAGER="less -X"; e...
0cb49fd90bf58848859a1e8626cf88ee3158b132
brunch-config.js
brunch-config.js
exports.files = { javascripts: { joinTo: { 'fateOfAllFools.js': /^(?!test)/ } }, stylesheets: { joinTo: 'fateOfAllFools.css' } }; // Tests are handled by Karma exports.conventions = { ignored: /^test/ };
exports.files = { javascripts: { joinTo: { 'fateOfAllFools.js': /^(?!test)/ } }, stylesheets: { joinTo: 'fateOfAllFools.css' } }; /* 1. Tests are handled by Karma. This is to silence a warning that Brunch reports (which is helpful actually in most cases!) because it sees JS files ...
Add detail to exclusion reasoning
Add detail to exclusion reasoning
JavaScript
mit
rslifka/fate_of_all_fools,rslifka/fate_of_all_fools
javascript
## Code Before: exports.files = { javascripts: { joinTo: { 'fateOfAllFools.js': /^(?!test)/ } }, stylesheets: { joinTo: 'fateOfAllFools.css' } }; // Tests are handled by Karma exports.conventions = { ignored: /^test/ }; ## Instruction: Add detail to exclusion reasoning ## Code After: expo...
35f45d3fcee5a1fe9d6d5ce71b708d0bc68db3fc
python/matasano/set1/c7.py
python/matasano/set1/c7.py
from matasano.util.converters import base64_to_bytes from Crypto.Cipher import AES import base64 if __name__ == "__main__": chal_file = open("matasano/data/c7.txt", 'r'); key = "YELLOW SUBMARINE" # Instantiate the cipher cipher = AES.new(key, AES.MODE_ECB) # Covert from base64 to bytes and enco...
from matasano.util.converters import base64_to_bytes from Crypto.Cipher import AES import base64 if __name__ == "__main__": chal_file = open("matasano/data/c7.txt", 'r'); key = "YELLOW SUBMARINE" # Instantiate the cipher cipher = AES.new(key, AES.MODE_ECB) # Covert from base64 to bytes and enco...
Switch to using base64 builtin decoder for simplicity.
Switch to using base64 builtin decoder for simplicity.
Python
mit
TheLunchtimeAttack/matasano-challenges,TheLunchtimeAttack/matasano-challenges
python
## Code Before: from matasano.util.converters import base64_to_bytes from Crypto.Cipher import AES import base64 if __name__ == "__main__": chal_file = open("matasano/data/c7.txt", 'r'); key = "YELLOW SUBMARINE" # Instantiate the cipher cipher = AES.new(key, AES.MODE_ECB) # Covert from base64 t...
df52bf506fdb6754d51c2320108bcd832a0dfc02
django_twilio_sms/admin.py
django_twilio_sms/admin.py
from django.contrib import admin from .models import * class MessageAdmin(admin.ModelAdmin): list_display = ('to_phone_number', 'from_phone_number', 'status', 'date_sent') list_display_links = list_display list_filter = ('status', 'date_sent') date_hierarchy = 'date_sent' ordering = ('-date_sent',...
from django.contrib import admin from .models import * class MessageAdmin(admin.ModelAdmin): list_display = ('to_phone_number', 'from_phone_number', 'status', 'direction', 'date_sent') list_display_links = list_display list_filter = ('status', 'direction', 'date_sent') date_hierarchy = 'date_sent' ...
Add direction to Message listing
Add direction to Message listing
Python
bsd-3-clause
cfc603/django-twilio-sms-models
python
## Code Before: from django.contrib import admin from .models import * class MessageAdmin(admin.ModelAdmin): list_display = ('to_phone_number', 'from_phone_number', 'status', 'date_sent') list_display_links = list_display list_filter = ('status', 'date_sent') date_hierarchy = 'date_sent' ordering ...
ee37249f606338635cb15a3feceba022b130e9d2
metadata/ca.cmetcalfe.xposed.disablebatterywarnings.txt
metadata/ca.cmetcalfe.xposed.disablebatterywarnings.txt
Categories:System License:MPL-2.0 Web Site:http://repo.xposed.info/module/ca.cmetcalfe.xposed.disablebatterywarnings Source Code:https://github.com/pR0Ps/DisableBatteryWarnings Issue Tracker:https://github.com/pR0Ps/DisableBatteryWarnings/issues Bitcoin:15jv7w1AdCMkNpDaAQrPtwK3Lfxx5ggAKX Auto Name:Disable Battery Warn...
Categories:System License:MPL-2.0 Web Site:http://repo.xposed.info/module/ca.cmetcalfe.xposed.disablebatterywarnings Source Code:https://github.com/pR0Ps/DisableBatteryWarnings Issue Tracker:https://github.com/pR0Ps/DisableBatteryWarnings/issues Bitcoin:15jv7w1AdCMkNpDaAQrPtwK3Lfxx5ggAKX Auto Name:Disable Battery Warn...
Update Disable Battery Warnings to 1.1 (2)
Update Disable Battery Warnings to 1.1 (2)
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Categories:System License:MPL-2.0 Web Site:http://repo.xposed.info/module/ca.cmetcalfe.xposed.disablebatterywarnings Source Code:https://github.com/pR0Ps/DisableBatteryWarnings Issue Tracker:https://github.com/pR0Ps/DisableBatteryWarnings/issues Bitcoin:15jv7w1AdCMkNpDaAQrPtwK3Lfxx5ggAKX Auto Name:Disa...
552ce4145283a575b39b5f4b666efa070342d284
app/assets/javascripts/ace_editor.js
app/assets/javascripts/ace_editor.js
function set_ace_editor() { var textarea = document.getElementById("editor"); var form = textarea.form editor = ace.edit(textarea) editor.container.id = "ta" form.addEventListener("submit", function() { textarea.style.visibility = "hidden" textarea.value = editor.getValue() form.appendChild(...
function setAceEditor() { var textarea = document.getElementById("editor"); var form = textarea.form editor = ace.edit(textarea) language = $(":selected").html() changeEditorLanguage(language) editor.container.id = "ta" form.addEventListener("submit", function() { textarea.style.visibility = "hi...
Change editor language when another language is selected
Change editor language when another language is selected
JavaScript
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
javascript
## Code Before: function set_ace_editor() { var textarea = document.getElementById("editor"); var form = textarea.form editor = ace.edit(textarea) editor.container.id = "ta" form.addEventListener("submit", function() { textarea.style.visibility = "hidden" textarea.value = editor.getValue() f...
4b97ad98292fd07122fda87dfc201fa51f4277a6
etc/rc_local_run/rc.local.1
etc/rc_local_run/rc.local.1
_IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi #START RASPIMJPEG SECTION mkdir -p /dev/shm/mjpeg chown www-data:www-data /dev/shm/mjpeg chmod 777 /dev/shm/mjpeg if [ -e /etc/debian_version ]; then sleep 4;su -c 'raspimjpeg > /dev/null &' www-data sleep 4;su -c 'php /var/w...
_IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi #START RASPIMJPEG SECTION mkdir -p /dev/shm/mjpeg chown www-data:www-data /dev/shm/mjpeg chmod 777 /dev/shm/mjpeg if [ -e /etc/debian_version ]; then sleep 4;su -c 'raspimjpeg > /dev/null 2>&1 &' www-data sleep 4;su -c 'php /...
Include standard error in redirect for boot script
Include standard error in redirect for boot script
Groff
mit
konstantinj/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,silvanmelchior/RPi_Cam_Web_Interface,konstantinj/RPi_Cam_Web_Interface
groff
## Code Before: _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi #START RASPIMJPEG SECTION mkdir -p /dev/shm/mjpeg chown www-data:www-data /dev/shm/mjpeg chmod 777 /dev/shm/mjpeg if [ -e /etc/debian_version ]; then sleep 4;su -c 'raspimjpeg > /dev/null &' www-data sleep 4;s...
f4d4e6cfb7f9f501a3575b4e752f08f71899713d
README.md
README.md
Just as every Jedi must build their own lightsaber, every developer must build their own toolchain. Here are the pieces I use to build mine. A collection of scripts, instructions and tips for setting up build chains You will need to install babel globally to use it (one time only). The current scripts rely on a spe...
Just as every Jedi must build their own lightsaber, every developer must build their own toolchain. Here are the pieces I use to build mine. A collection of scripts, instructions and tips for setting up build chains You will need to install babel globally to use it (one time only). The current scripts rely on a spe...
Add links section to readme
Add links section to readme
Markdown
mit
JediMindtrick/LST
markdown
## Code Before: Just as every Jedi must build their own lightsaber, every developer must build their own toolchain. Here are the pieces I use to build mine. A collection of scripts, instructions and tips for setting up build chains You will need to install babel globally to use it (one time only). The current scrip...
c7e35fdae73810352a70a377060bca42352c092c
src/main/resources/application.properties
src/main/resources/application.properties
server.address=localhost server.port=8080 spring.mvc.favicon.enabled=false spring.cache.cache-names=solutions,contests spring.cache.guava.spec=maximumSize=500,expireAfterAccess=600s spring.jooq.sql-dialect=POSTGRES spring.datasource.driver-class-name=org.postgresql.Driver openolympus.persistentLogin.persistent-tok...
server.address=localhost server.port=8080 spring.mvc.favicon.enabled=false spring.cache.cache-names=solutions,contests spring.cache.guava.spec=maximumSize=500,expireAfterAccess=600s spring.jooq.sql-dialect=POSTGRES spring.datasource.driver-class-name=org.postgresql.Driver openolympus.persistentLogin.persistent-tok...
Reduce log spam from JPPF
Reduce log spam from JPPF
INI
mit
nickguletskii/OpenOlympus,nickguletskii/OpenOlympus,nickguletskii/OpenOlympus,nickguletskii/OpenOlympus
ini
## Code Before: server.address=localhost server.port=8080 spring.mvc.favicon.enabled=false spring.cache.cache-names=solutions,contests spring.cache.guava.spec=maximumSize=500,expireAfterAccess=600s spring.jooq.sql-dialect=POSTGRES spring.datasource.driver-class-name=org.postgresql.Driver openolympus.persistentLogi...
a526baaefb961b9aeb2e394886713cfd30a8ef4a
app/views/email_alerts/publication_footer.html.erb
app/views/email_alerts/publication_footer.html.erb
<table id="govuk-email-footer" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"> <tr> <td style="border-collapse: collapse; padding: 0 0 0 15px;"> <ul class="actions" style="color: #0B0C0C !important; font-family: sans-serif; font-size: 16px; line-height: 1....
<table id="govuk-email-footer" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"> <tr> <td style="border-collapse: collapse; padding: 0 0 0 15px;"> <ul class="actions" style="color: #0B0C0C !important; font-family: sans-serif; font-size: 16px; line-height: 1....
Add email address to email footer
Add email address to email footer This enables users who have email forwarding to know which email address it was sent to.
HTML+ERB
mit
ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher,alphagov/manuals-publisher,ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/manuals-publisher,ministryofjustice/specialist-publisher,alphagov/special...
html+erb
## Code Before: <table id="govuk-email-footer" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"> <tr> <td style="border-collapse: collapse; padding: 0 0 0 15px;"> <ul class="actions" style="color: #0B0C0C !important; font-family: sans-serif; font-size: 16px;...
cd31efa7cf8a7b340d7b6b5cbc8c4e7f4ca8e6e5
.travis.yml
.travis.yml
language: python python: 2.7 sudo: false install: pip install tox coverage coveralls script: - tox # Combine all the coverage reports from the different tox envs: - coverage combine - coverage report --show-missing after_success: - coveralls notifications: email: false
language: python python: 2.7 sudo: false addons: apt: sources: - deadsnakes packages: - python3.5 install: pip install tox coverage coveralls script: - tox # Combine all the coverage reports from the different tox envs: - coverage combine - coverage report --show-missing after_success:...
Install Python 3.5 since it's not in base Travis image yet.
Install Python 3.5 since it's not in base Travis image yet.
YAML
apache-2.0
ScatterHQ/eliot,ScatterHQ/eliot,ClusterHQ/eliot,ScatterHQ/eliot
yaml
## Code Before: language: python python: 2.7 sudo: false install: pip install tox coverage coveralls script: - tox # Combine all the coverage reports from the different tox envs: - coverage combine - coverage report --show-missing after_success: - coveralls notifications: email: false ## Instruction:...
58b1822d793b96c461b80283f243bd01cdd9ee57
_ga/pos/ADP.md
_ga/pos/ADP.md
--- layout: postag title: 'ADP' shortdef: 'adposition' --- Adpositions is a term that covers both prepositions and postpositions. Irish only has prepositions. #### Regular prepositions There are simple and compound prepositions in Irish. * Simple: _ag_ "at", _le_; "with"; _from_ "ó" * Compound: _os cionn_ "above"; ...
--- layout: postag title: 'ADP' shortdef: 'adposition' --- Adpositions is a term that covers both prepositions and postpositions. Irish only has prepositions. #### Regular prepositions There are simple and compound prepositions in Irish. * Simple: _ag_ "at", _le_; "with"; _from_ "ó" * Compound: _os cionn_ "above"; ...
Update ADV description for v2
Update ADV description for v2
Markdown
apache-2.0
UniversalDependencies/docs,UniversalDependencies/docs,UniversalDependencies/docs,UniversalDependencies/docs,UniversalDependencies/docs,UniversalDependencies/docs
markdown
## Code Before: --- layout: postag title: 'ADP' shortdef: 'adposition' --- Adpositions is a term that covers both prepositions and postpositions. Irish only has prepositions. #### Regular prepositions There are simple and compound prepositions in Irish. * Simple: _ag_ "at", _le_; "with"; _from_ "ó" * Compound: _os ...
8d858e2611477d1b61e35cac16580af6b1c9f023
assets/resources/api_demos.yml
assets/resources/api_demos.yml
--- - description: A short demo on how to use TransferWise API to automate you payments title: Introduction to TransferWise Payouts API time: <%= dates.getHackathonStartDate().format('YYYY-MM-DD') %> 13:30:00 rows: '2.0' - description: | Get a quick introduction to Azure and how it can boost you Hack experien...
--- - description: A short demo on how to use TransferWise API to automate you payments title: TransferWise: Introduction to TransferWise Payouts API time: <%= dates.getHackathonStartDate().format('YYYY-MM-DD') %> 13:30:00 rows: '2.0' - description: | Get a quick introduction to Azure and how it can boost you...
Add sponsor names to demo titles
Add sponsor names to demo titles
YAML
mit
hackcambridge/hack-cambridge-website,hackcambridge/hack-cambridge-website,hackcambridge/hack-cambridge-website,hackcambridge/hack-cambridge-website
yaml
## Code Before: --- - description: A short demo on how to use TransferWise API to automate you payments title: Introduction to TransferWise Payouts API time: <%= dates.getHackathonStartDate().format('YYYY-MM-DD') %> 13:30:00 rows: '2.0' - description: | Get a quick introduction to Azure and how it can boost y...
03e86ad7cd1f223a6ad3c1008e6e45ee92b065a7
doc/update-gh-pages.sh
doc/update-gh-pages.sh
cd `dirname "$0"` cd .. echo "Running doxygen" doxygen echo "Re-cloning doc/gh-pages" rm -Rf doc/gh-pages git clone git@github.com:xi-project/xi-test-selenium.git -b gh-pages doc/gh-pages echo "Copying API docs over to gh-pages" cp -r doc/api/html/* doc/gh-pages cd doc/gh-pages git add -A git status git commit -m "U...
cd `dirname "$0"` cd .. rm -Rf doc/api echo "Running doxygen" doxygen echo "Re-cloning doc/gh-pages" rm -Rf doc/gh-pages git clone git@github.com:xi-project/xi-test-selenium.git -b gh-pages doc/gh-pages echo "Copying API docs over to gh-pages" cp -r doc/api/html/* doc/gh-pages cd doc/gh-pages git add -A git status ...
Clean up old api doc files when updating gh-pages.
Clean up old api doc files when updating gh-pages.
Shell
bsd-3-clause
xi-project/xi-test-selenium,xi-project/xi-test-selenium
shell
## Code Before: cd `dirname "$0"` cd .. echo "Running doxygen" doxygen echo "Re-cloning doc/gh-pages" rm -Rf doc/gh-pages git clone git@github.com:xi-project/xi-test-selenium.git -b gh-pages doc/gh-pages echo "Copying API docs over to gh-pages" cp -r doc/api/html/* doc/gh-pages cd doc/gh-pages git add -A git status ...
3a74774a42521f4b68e484855d103495438095c3
examples/schema/targetinfo.py
examples/schema/targetinfo.py
import jsl class TargetInfo(jsl.Document): docker = jsl.ArrayField(jsl.StringField(), max_items=2) rsync = jsl.ArrayField(jsl.StringField(), max_items=2) containers = jsl.ArrayField([ jsl.StringField(), jsl.ArrayField(jsl.StringField()) ])
import jsl class TargetInfo(jsl.Document): docker = jsl.ArrayField([ jsl.StringField(), jsl.OneOfField([jsl.StringField(), jsl.NullField()]) ]) rsync = jsl.ArrayField([ jsl.StringField(), jsl.OneOfField([jsl.StringField(), jsl.NullField()]) ]) containers = jsl.Array...
Correct the target info schema: docker and rsync messages are Null in case of success. Suggested by @vinzenz and corrected by @artmello.
Correct the target info schema: docker and rsync messages are Null in case of success. Suggested by @vinzenz and corrected by @artmello.
Python
apache-2.0
leapp-to/snactor
python
## Code Before: import jsl class TargetInfo(jsl.Document): docker = jsl.ArrayField(jsl.StringField(), max_items=2) rsync = jsl.ArrayField(jsl.StringField(), max_items=2) containers = jsl.ArrayField([ jsl.StringField(), jsl.ArrayField(jsl.StringField()) ]) ## Instruction: Correct the t...