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
ac6575781dc369c0980b09e08f14d7e1b33f5707
tasks/meta/validate.rake
tasks/meta/validate.rake
require 'find' require 'json' require 'rainbow' namespace :meta do desc "validate meta" task :validate do errors = [] Find.find('openapi-meta') do |path| if FileTest.directory?(path) if File.basename(path)[0] == ?. Find.prune # Don't look any further into this directory. els...
require 'find' require 'json' require 'rainbow' namespace :meta do desc "validate meta" task :validate do errors = [] Find.find('openapi-meta') do |path| if FileTest.directory?(path) if File.basename(path)[0] == ?. Find.prune # Don't look any further into this directory. els...
Add more validation task to find meta
Add more validation task to find meta
Ruby
apache-2.0
aliyun-beta/aliyun-openapi-ruby-sdk
ruby
## Code Before: require 'find' require 'json' require 'rainbow' namespace :meta do desc "validate meta" task :validate do errors = [] Find.find('openapi-meta') do |path| if FileTest.directory?(path) if File.basename(path)[0] == ?. Find.prune # Don't look any further into this direct...
3f98521aaeb0edec5f7568d17a21d139bdf7e398
.gitlab-ci.yml
.gitlab-ci.yml
image: paradrop/paradrop-ci-environment stages: - unit_test unit_test_job: stage: unit_test script: - pip install -r requirements.txt - nosetests --with-coverage --cover-package=paradrop #build_job: # stage: build # only: # - master # when: on_success # script: # - ./pdbuild.sh build # artif...
image: paradrop/paradrop-ci-environment stages: - unit_test - build_docs unit_test_job: stage: unit_test script: - pip install -r requirements.txt - nosetests --with-coverage --cover-package=paradrop build_docs_job: stage: build_docs script: - cd docs - pip install -r requirements.txt ...
Add build_docs job to CI.
Add build_docs job to CI.
YAML
apache-2.0
ParadropLabs/Paradrop,ParadropLabs/Paradrop,ParadropLabs/Paradrop
yaml
## Code Before: image: paradrop/paradrop-ci-environment stages: - unit_test unit_test_job: stage: unit_test script: - pip install -r requirements.txt - nosetests --with-coverage --cover-package=paradrop #build_job: # stage: build # only: # - master # when: on_success # script: # - ./pdbuild.s...
2512ea8ce9573e6e6bb63b4fb902774cc4a429f5
lib/carrierwave/base64/mounting_helper.rb
lib/carrierwave/base64/mounting_helper.rb
module Carrierwave module Base64 module MountingHelper module_function def check_for_deprecations(options) return unless options[:file_name].is_a?(String) warn( '[Deprecation warning] Setting `file_name` option to a string is '\ 'deprecated and will be removed in ...
module Carrierwave module Base64 module MountingHelper module_function def check_for_deprecations(options) return unless options[:file_name].is_a?(String) warn( '[Deprecation warning] Setting `file_name` option to a string is '\ 'deprecated and will be removed in ...
Fix writer definition for older ruby versions
Fix writer definition for older ruby versions
Ruby
mit
lebedev-yury/carrierwave-base64
ruby
## Code Before: module Carrierwave module Base64 module MountingHelper module_function def check_for_deprecations(options) return unless options[:file_name].is_a?(String) warn( '[Deprecation warning] Setting `file_name` option to a string is '\ 'deprecated and wil...
ac6d2c574d393bfbf1dcc1250c730550cd8c4150
src/augs/misc/time_utils.h
src/augs/misc/time_utils.h
namespace augs { struct date_time { // GEN INTROSPECTOR struct augs::timestamp std::time_t t; // END GEN INTROSPECTOR date_time(); date_time(const std::time_t& t) : t(t) {} date_time(const std::chrono::system_clock::time_point&); #if !PLATFORM_WINDOWS date_time(const file_time_type&); #endif operato...
namespace augs { struct date_time { // GEN INTROSPECTOR struct augs::timestamp std::time_t t; // END GEN INTROSPECTOR date_time(); date_time(const std::time_t& t) : t(t) {} date_time(const std::chrono::system_clock::time_point&); date_time(const file_time_type&); operator std::time_t() const { re...
Build error fix for Windows
Build error fix for Windows
C
agpl-3.0
TeamHypersomnia/Hypersomnia,TeamHypersomnia/Augmentations,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Augmentations,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Hypersomnia,TeamHypersomnia/Hypersomnia
c
## Code Before: namespace augs { struct date_time { // GEN INTROSPECTOR struct augs::timestamp std::time_t t; // END GEN INTROSPECTOR date_time(); date_time(const std::time_t& t) : t(t) {} date_time(const std::chrono::system_clock::time_point&); #if !PLATFORM_WINDOWS date_time(const file_time_type&); #...
24f678fe37ec726ffb197008677f9949378d803e
README.md
README.md
Algorithms and data structures implementations in Python. The following are the main references I use and highly recommend: - Cormen, Leisenson, Rivest & Stein (2009). Introduction to Algoruthms, 3ed. - Millar & Ranum (2011). [Problem Solving with Algorithms and Data Structures Using Python, 2ed](http://interactive...
Algorithms and data structures implementations in Python. The following are the main references I use and highly recommend: - Cormen, Leisenson, Rivest & Stein (2009). Introduction to Algorithms, 3ed. - Jordan (2005). Efficient Algorithms and Intractable Problems, a.k.a. Introduction to CS Theory (Lecture Notes). ...
Revise references and add comments
Revise references and add comments
Markdown
bsd-2-clause
bowen0701/algorithms_data_structures
markdown
## Code Before: Algorithms and data structures implementations in Python. The following are the main references I use and highly recommend: - Cormen, Leisenson, Rivest & Stein (2009). Introduction to Algoruthms, 3ed. - Millar & Ranum (2011). [Problem Solving with Algorithms and Data Structures Using Python, 2ed](ht...
829082aa06ebd5a84f183b0205fd4b7cf1c6c3f7
srv_linux.go
srv_linux.go
// mad - mock ad server // (C) copyright 2015 - J.W. Janssen package main import ( "net" "fmt" "github.com/coreos/go-systemd/activation" "github.com/coreos/go-systemd/journal" ) type JournaldLogger struct { } func (l *JournaldLogger) Log(msg string, args ...interface{}) { if journal.Enabled() { journal....
// mad - mock ad server // (C) copyright 2015 - J.W. Janssen package main import ( "fmt" "net" "github.com/coreos/go-systemd/activation" "github.com/coreos/go-systemd/journal" ) type JournaldLogger struct { } func (l *JournaldLogger) Log(msg string, args ...interface{}) { if journal.Enabled() { journal.Pri...
Improve error message a bit.
Improve error message a bit.
Go
apache-2.0
jawi/mad
go
## Code Before: // mad - mock ad server // (C) copyright 2015 - J.W. Janssen package main import ( "net" "fmt" "github.com/coreos/go-systemd/activation" "github.com/coreos/go-systemd/journal" ) type JournaldLogger struct { } func (l *JournaldLogger) Log(msg string, args ...interface{}) { if journal.Enabled()...
f6f3d01d740f5b80283405a29bf046fecf065f39
static/css/main.css
static/css/main.css
/* Name: Smashing HTML5 Date: July 2009 Description: Sample layout for HTML5 and CSS3 goodness. Version: 1.0 Author: Enrique Ramírez Autor URI: http://enrique-ramirez.com */ /* Imports */ @import url("pygment.css"); @import url("typogrify.css"); header nav li { display: inline; }
/* Name: Smashing HTML5 Date: July 2009 Description: Sample layout for HTML5 and CSS3 goodness. Version: 1.0 Author: Enrique Ramírez Autor URI: http://enrique-ramirez.com */ /* Imports */ @import url("pygment.css"); @import url("typogrify.css"); header nav li { display: inline; } h1 { font-weight: 400; ...
Reduce the amount of space between articles and the size of the heading
Reduce the amount of space between articles and the size of the heading These were taking up too much space in the blog format
CSS
mit
mandaris/TuftePelican
css
## Code Before: /* Name: Smashing HTML5 Date: July 2009 Description: Sample layout for HTML5 and CSS3 goodness. Version: 1.0 Author: Enrique Ramírez Autor URI: http://enrique-ramirez.com */ /* Imports */ @import url("pygment.css"); @import url("typogrify.css"); header nav li { display: inline; } ## Instructio...
b4ee1720064c9ab91d95b045d934576fbc11f761
docs/SUMMARY.md
docs/SUMMARY.md
* [docs](/docs) * [about](/about) * [async](/async) * [cli](/cli) * [contact](/contact) * [defining blocks](/defining-blocks) * [docs](/docs) * [language](/language) * [partial flashing](/partial-flashing) * [simshim](/simshim) * [source embedding](/source-embedding) * [stat...
* [About MakeCode](/about) * [Contact Us](/contact) * [Technical Docs](/docs) * [JS Editor Features](/js/editor) * [Programming Language](/language) * [Async Functions](/async) * [Partial Flashing](/partial-flashing) * [Source Embedding](/source-embedding) * [Updating Blockly Version](/develop/...
Bring a bit more structure in summary
Bring a bit more structure in summary
Markdown
mit
Microsoft/pxt,switch-education/pxt,playi/pxt,switchinnovations/pxt,playi/pxt,switchinnovations/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,playi/pxt,switch-education/pxt,switch-education/pxt,switchinnovations/pxt,switchinnovations/pxt,switch-education/pxt,switch-education/pxt,playi/pxt
markdown
## Code Before: * [docs](/docs) * [about](/about) * [async](/async) * [cli](/cli) * [contact](/contact) * [defining blocks](/defining-blocks) * [docs](/docs) * [language](/language) * [partial flashing](/partial-flashing) * [simshim](/simshim) * [source embedding](/source-embedd...
6deeaaf2076f85616141b1fd556f5b8ecccff3ee
packages/mu/music-pitch-literal.yaml
packages/mu/music-pitch-literal.yaml
homepage: '' changelog-type: '' hash: 691d9c5f3e2635d69be4e42da8d4399f41f1bcffcb2494972777de46f150bf6e test-bench-deps: {} maintainer: Hans Hoglund synopsis: Overloaded pitch literals. changelog: '' basic-deps: base: ! '>=4 && <5' semigroups: ! '>=0.13.0.1 && <1' all-versions: - '1.1' - '1.2' - '1.3' - '1.3.1' - '1...
homepage: '' changelog-type: '' hash: ce94f1e65bdbfc0d6ae6fee4b983a5681ba33ec17d49d4f53def4dc91665066d test-bench-deps: {} maintainer: Hans Hoglund synopsis: Overloaded pitch literals. changelog: '' basic-deps: base: ! '>=4.6 && <5' semigroups: ! '>=0.13.0.1 && <1' all-versions: - '1.1' - '1.2' - '1.3' - '1.3.1' - ...
Update from Hackage at 2017-05-28T21:03:11Z
Update from Hackage at 2017-05-28T21:03:11Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: 691d9c5f3e2635d69be4e42da8d4399f41f1bcffcb2494972777de46f150bf6e test-bench-deps: {} maintainer: Hans Hoglund synopsis: Overloaded pitch literals. changelog: '' basic-deps: base: ! '>=4 && <5' semigroups: ! '>=0.13.0.1 && <1' all-versions: - '1.1' - '1.2' - '1.3...
8a5f2f54cccd4b6903d7872feb954379f14564bf
ext/games_dice/extconf.rb
ext/games_dice/extconf.rb
if RUBY_DESCRIPTION =~ /jruby/ mfile = open("Makefile", "wb") mfile.puts '.PHONY: install' mfile.puts 'install:' mfile.puts "\t" + '@echo "Extensions not installed, falling back to pure Ruby version."' mfile.close else require 'mkmf' create_makefile( 'games_dice/games_dice' ) end
can_compile_extensions = false want_extensions = true begin require 'mkmf' can_compile_extensions = true rescue Exception # This will appear only in verbose mode. $stderr.puts "Could not require 'mkmf'. Not fatal: The extensions are optional." end if can_compile_extensions && want_extensions create_makefil...
Stop detecting Ruby types, and rely on mkmf to make the correct decision
Stop detecting Ruby types, and rely on mkmf to make the correct decision
Ruby
mit
neilslater/games_dice,neilslater/games_dice,neilslater/games_dice
ruby
## Code Before: if RUBY_DESCRIPTION =~ /jruby/ mfile = open("Makefile", "wb") mfile.puts '.PHONY: install' mfile.puts 'install:' mfile.puts "\t" + '@echo "Extensions not installed, falling back to pure Ruby version."' mfile.close else require 'mkmf' create_makefile( 'games_dice/games_dice' ) end ## Instr...
3e30deef86ad1e788b8006dad74ae9a26f30e9ea
test/test/unit/serialize_test.rb
test/test/unit/serialize_test.rb
require File.dirname(__FILE__) + '/../test_helper' require 'resourceful/serialize' class SerializeTest < Test::Unit::TestCase fixtures :parties, :people, :parties_people def test_should_generate_hash_for_model assert_equal(hash_for_fun_party, parties(:fun_party).to_resourceful_hash([:name, ...
require File.dirname(__FILE__) + '/../test_helper' require 'resourceful/serialize' class SerializeTest < Test::Unit::TestCase fixtures :parties, :people, :parties_people def test_should_generate_hash_for_model assert_equal(hash_for_fun_party, parties(:fun_party).to_serializable([:name, {:pe...
Fix a breaking test. Want to keep these working until we switch over to specs entirely.
Fix a breaking test. Want to keep these working until we switch over to specs entirely. git-svn-id: 30fef0787527f3d4b2d3639a5d6955e4dc84682e@103 c18eca5a-f828-0410-9317-b2e082e89db6
Ruby
mit
jcfischer/make_resourceful
ruby
## Code Before: require File.dirname(__FILE__) + '/../test_helper' require 'resourceful/serialize' class SerializeTest < Test::Unit::TestCase fixtures :parties, :people, :parties_people def test_should_generate_hash_for_model assert_equal(hash_for_fun_party, parties(:fun_party).to_resourcef...
81a82383110b674760176e03c9c127df27af2f9a
awx/ui/static/js/tmp.less
awx/ui/static/js/tmp.less
// This file left here as a placeholder // to keep the build passing. Will be // removed on the next card.
/** @define Component */ .Component { &-title { diddy: doo; } .diddy { dah: doody; } doo: dah; }
Implement linter for css naming conventions
Implement linter for css naming conventions
Less
apache-2.0
wwitzel3/awx,snahelou/awx,wwitzel3/awx,wwitzel3/awx,snahelou/awx,snahelou/awx,wwitzel3/awx,snahelou/awx
less
## Code Before: // This file left here as a placeholder // to keep the build passing. Will be // removed on the next card. ## Instruction: Implement linter for css naming conventions ## Code After: /** @define Component */ .Component { &-title { diddy: doo; } .diddy { dah: doody; } ...
487756ad2fb2e862d341793084e30fe437872b46
config/singlenamespace/manager-target.yaml
config/singlenamespace/manager-target.yaml
--- apiVersion: apps/v1 kind: Deployment metadata: name: postgres-operator spec: template: spec: containers: - name: operator env: - name: PGO_TARGET_NAMESPACE valueFrom: { fieldRef: { apiVersion: v1, fieldPath: metadata.namespace } }
--- apiVersion: apps/v1 kind: Deployment metadata: name: pgo spec: template: spec: containers: - name: operator env: - name: PGO_TARGET_NAMESPACE valueFrom: { fieldRef: { apiVersion: v1, fieldPath: metadata.namespace } }
Update config/ to fix name, Issue
Update config/ to fix name, Issue [sc-14049]
YAML
apache-2.0
CrunchyData/postgres-operator,CrunchyData/postgres-operator
yaml
## Code Before: --- apiVersion: apps/v1 kind: Deployment metadata: name: postgres-operator spec: template: spec: containers: - name: operator env: - name: PGO_TARGET_NAMESPACE valueFrom: { fieldRef: { apiVersion: v1, fieldPath: metadata.namespace } } ## Instruction: Update...
175f0c2be151ed87c34d3eb0f906c411bc105338
assets/styles/pages/search/gcse.scss
assets/styles/pages/search/gcse.scss
--- layout: null --- .gsc-tabsAreaInvisible, .gsc-resultsHeader { display: none; }
--- layout: null --- .gsc-tabsAreaInvisible, .gsc-resultsHeader { display: none; } .gcsc-branding { margin-top: 2rem; font-size: 1.1rem; color: #999; .gcsc-branding-img-noclear { vertical-align: middle; } }
Set the size of brand logo and typo
Set the size of brand logo and typo
SCSS
mit
woneob/1upnote,woneob/woneob.github.io,woneob/woneob.github.io,woneob/1upnote,woneob/1upnote,woneob/woneob.github.io
scss
## Code Before: --- layout: null --- .gsc-tabsAreaInvisible, .gsc-resultsHeader { display: none; } ## Instruction: Set the size of brand logo and typo ## Code After: --- layout: null --- .gsc-tabsAreaInvisible, .gsc-resultsHeader { display: none; } .gcsc-branding { margin-top: 2rem; font-size: 1.1...
aa0b0d540f63cc9bb0b5f31d50691f9431cbcc48
lib/syoboemon/program_infomation_accessor/program_detail_search.rb
lib/syoboemon/program_infomation_accessor/program_detail_search.rb
module Syoboemon module ProgramInfomationAccessor class ProgramDetailSearch end end end
module Syoboemon module ProgramInfomationAccessor class ProgramDetailSearch < Struct.new(:title, :title_id, :staffs, :casts, :opening_themes, :ending_themes) def initialize(parsed_happymapper_object) @results_of_program = parsed_happymapper_object set_up_parameter_of_structure_members end pr...
Add attributes of structure member
Add attributes of structure member
Ruby
mit
toshiemon18/syoboemon
ruby
## Code Before: module Syoboemon module ProgramInfomationAccessor class ProgramDetailSearch end end end ## Instruction: Add attributes of structure member ## Code After: module Syoboemon module ProgramInfomationAccessor class ProgramDetailSearch < Struct.new(:title, :title_id, :staffs, :casts, :opening_the...
6eade243cc31a8ff5e2356f3f148cccc83e8f457
README.md
README.md
sslhaf ====== Passive SSL client fingerprinting using handshake analysis https://www.ssllabs.com/projects/client-fingerprinting/
sslhaf ====== Passive SSL client fingerprinting using handshake analysis https://www.ssllabs.com/projects/client-fingerprinting/ The instructions are included with the source code (file mod_sslhaf.c).
Add pointer to the instructions in the source code.
Add pointer to the instructions in the source code.
Markdown
bsd-3-clause
ssllabs/sslhaf,ssllabs/sslhaf
markdown
## Code Before: sslhaf ====== Passive SSL client fingerprinting using handshake analysis https://www.ssllabs.com/projects/client-fingerprinting/ ## Instruction: Add pointer to the instructions in the source code. ## Code After: sslhaf ====== Passive SSL client fingerprinting using handshake analysis https://www.ss...
efbfcff8a12b9081400e72a4683865d865c02ded
README.md
README.md
[![Build Status](https://travis-ci.org/justinj/reconstruction-database.png?branch=master)](https://travis-ci.org/justinj/reconstruction-database) [![Code Climate](https://codeclimate.com/github/justinj/reconstruction-database.png)](https://codeclimate.com/github/justinj/reconstruction-database) <p align="center"> <i...
[![Build Status](https://travis-ci.org/justinj/reconstruction-database.png?branch=master)](https://travis-ci.org/justinj/reconstruction-database) [![Code Climate](https://codeclimate.com/github/justinj/reconstruction-database.png)](https://codeclimate.com/github/justinj/reconstruction-database) <p align="center"> <i...
Add link to rcdb and speedsolving thread to readme
Add link to rcdb and speedsolving thread to readme
Markdown
mit
justinj/reconstruction-database,justinj/reconstruction-database,justinj/reconstruction-database
markdown
## Code Before: [![Build Status](https://travis-ci.org/justinj/reconstruction-database.png?branch=master)](https://travis-ci.org/justinj/reconstruction-database) [![Code Climate](https://codeclimate.com/github/justinj/reconstruction-database.png)](https://codeclimate.com/github/justinj/reconstruction-database) <p alig...
81b7b00d748efe8fb2d8e184ebe4631f99b6cbb7
src/redux/modules/Households/reducer.js
src/redux/modules/Households/reducer.js
export default (state = [], action) => { switch (action.type) { case "FETCH_HOUSEHOLDS_SUCCESS": { return action.households } case "ADD_HOUSEHOLD_SUCCESS": { return [...state, action.household] } case "CREATE_NOTE_SUCCESS": { return state.map( h => h.id === pars...
export default (state = [], action) => { switch (action.type) { case "FETCH_HOUSEHOLDS_SUCCESS": { return action.households } case "ADD_HOUSEHOLD_SUCCESS": { return [...state, action.household] } case "CREATE_NOTE_SUCCESS": { return state.map( h => h.id === pars...
Add new engagement to household only if one not created
Add new engagement to household only if one not created
JavaScript
mit
cernanb/personal-chef-react-app,cernanb/personal-chef-react-app
javascript
## Code Before: export default (state = [], action) => { switch (action.type) { case "FETCH_HOUSEHOLDS_SUCCESS": { return action.households } case "ADD_HOUSEHOLD_SUCCESS": { return [...state, action.household] } case "CREATE_NOTE_SUCCESS": { return state.map( h => ...
3c24e308650fb30adfaf16fb7fafed6e59d4fddb
garmin-connect-course-export.user.js
garmin-connect-course-export.user.js
// ==UserScript== // @name Garmin Connect Course export // @namespace http://schlueters.de/garmin-connect-course-export // @description Export courses from the Garmin Connect web site // @include https://connect.garmin.com/mincourse/* // @version 1.0 // ==/UserScript== (function() { var f...
// ==UserScript== // @name Garmin Connect Course export // @namespace http://schlueters.de/garmin-connect-course-export // @description Export courses from the Garmin Connect web site // @include https://connect.garmin.com/mincourse/* // @version 1.0 // @updateURL https://github.com/joha...
Add rawgithub URL as updateURL
Add rawgithub URL as updateURL
JavaScript
mit
johannes/garmin-connect-gmscripts
javascript
## Code Before: // ==UserScript== // @name Garmin Connect Course export // @namespace http://schlueters.de/garmin-connect-course-export // @description Export courses from the Garmin Connect web site // @include https://connect.garmin.com/mincourse/* // @version 1.0 // ==/UserScript== (func...
be9daefbdd80380a7fdb8369bf32208ef61a6615
spacy/tests/test_download.py
spacy/tests/test_download.py
from __future__ import unicode_literals from ..cli.download import download, get_compatibility, get_version, check_error_depr import pytest def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == dict @pytest.mark.slow @pytest.mark.parametrize('model', ['e...
from __future__ import unicode_literals from ..cli.download import download, get_compatibility, get_version, check_error_depr import pytest def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == dict @pytest.mark.parametrize('model', ['en_core_web_md']) d...
Remove actual model downloading from tests
Remove actual model downloading from tests
Python
mit
oroszgy/spaCy.hu,raphael0202/spaCy,raphael0202/spaCy,oroszgy/spaCy.hu,aikramer2/spaCy,honnibal/spaCy,aikramer2/spaCy,explosion/spaCy,oroszgy/spaCy.hu,oroszgy/spaCy.hu,spacy-io/spaCy,raphael0202/spaCy,Gregory-Howard/spaCy,explosion/spaCy,explosion/spaCy,oroszgy/spaCy.hu,recognai/spaCy,Gregory-Howard/spaCy,spacy-io/spaCy...
python
## Code Before: from __future__ import unicode_literals from ..cli.download import download, get_compatibility, get_version, check_error_depr import pytest def test_download_fetch_compatibility(): compatibility = get_compatibility() assert type(compatibility) == dict @pytest.mark.slow @pytest.mark.parametr...
3a771e887dd7653166179b89c68ee51534cd02c0
zbroker.gemspec
zbroker.gemspec
require File.expand_path('../lib/zbroker/version', __FILE__) Gem::Specification.new do |spec| files = [] dirs = %w(lib docs) dirs.each do |dir| files += Dir["#{dir}/**/*"] end spec.name = "zbroker" spec.version = ZBroker::VERSION spec.summary = "zbroker -- zeus broker" spec.description = "Zeus loa...
require File.expand_path('../lib/zbroker/version', __FILE__) Gem::Specification.new do |spec| files = [] dirs = %w(lib docs) dirs.each do |dir| files += Dir["#{dir}/**/*"] end spec.name = "zbroker" spec.version = ZBroker::VERSION spec.summary = "zbroker -- zeus broker" spec.description = "Zeus loa...
Add zeus-api dependency to gemspec
Add zeus-api dependency to gemspec
Ruby
mpl-2.0
whd/zbroker
ruby
## Code Before: require File.expand_path('../lib/zbroker/version', __FILE__) Gem::Specification.new do |spec| files = [] dirs = %w(lib docs) dirs.each do |dir| files += Dir["#{dir}/**/*"] end spec.name = "zbroker" spec.version = ZBroker::VERSION spec.summary = "zbroker -- zeus broker" spec.descrip...
6eb940746fbe804147acaf4ec67ee6229543aa27
dockci.yaml
dockci.yaml
dockerfile: dockci.Dockerfile utilities: - name: python3-4-wheels-debian input: - requirements.txt /work/requirements.txt - test-requirements.txt /work/test-requirements.txt command: |- sh -c ' apt-get update && apt-get install -y libffi-dev libpq-dev && pip wheel -r ...
dockerfile: dockci.Dockerfile utilities: - name: python3-4-wheels-debian input: - requirements.txt /work/requirements.txt - test-requirements.txt /work/test-requirements.txt command: |- sh -c ' apt-get update && apt-get install -y libffi-dev libpq-dev && pip wheel -r ...
Add POSTGRES_USER to postgres service
Add POSTGRES_USER to postgres service
YAML
isc
sprucedev/DockCI,sprucedev/DockCI-Agent,sprucedev/DockCI,sprucedev/DockCI,RickyCook/DockCI,sprucedev/DockCI-Agent,sprucedev/DockCI,RickyCook/DockCI,RickyCook/DockCI,RickyCook/DockCI
yaml
## Code Before: dockerfile: dockci.Dockerfile utilities: - name: python3-4-wheels-debian input: - requirements.txt /work/requirements.txt - test-requirements.txt /work/test-requirements.txt command: |- sh -c ' apt-get update && apt-get install -y libffi-dev libpq-dev && ...
88912a6da164b21512b17da2d4cb0afc173faf0c
python/pyproject.toml
python/pyproject.toml
[build-system] requires = ["Cython>=0.22", "numpy>=1.10.0", "pystan>=2.14"]
[build-system] requires = ["Cython>=0.22", "numpy>=1.10.0", "pystan>=2.14", "setuptools", "wheel"]
Include setuptools and wheel as build dependencies
Include setuptools and wheel as build dependencies
TOML
bsd-3-clause
facebookincubator/prophet,facebook/prophet,facebook/prophet,facebookincubator/prophet,facebook/prophet
toml
## Code Before: [build-system] requires = ["Cython>=0.22", "numpy>=1.10.0", "pystan>=2.14"] ## Instruction: Include setuptools and wheel as build dependencies ## Code After: [build-system] requires = ["Cython>=0.22", "numpy>=1.10.0", "pystan>=2.14", "setuptools", "wheel"]
d2f5d7cb67644024e35724fb1b69aa239c9a9f59
recipes/harminv/meta.yaml
recipes/harminv/meta.yaml
{% set name = "harminv" %} {% set version = "1.4.1" %} {% set sha256 = "e1b923c508a565f230aac04e3feea23b888b47d8e19b08816a97ee4444233670" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/stevengj/{{ name }}/releases/download/v{{ vers...
{% set name = "harminv" %} {% set version = "1.4.1" %} {% set sha256 = "e1b923c508a565f230aac04e3feea23b888b47d8e19b08816a97ee4444233670" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/stevengj/{{ name }}/releases/download/v{{ vers...
Use Anaconda compiler packages instead of toolchain
Use Anaconda compiler packages instead of toolchain
YAML
bsd-3-clause
chrisburr/staged-recipes,birdsarah/staged-recipes,jakirkham/staged-recipes,mariusvniekerk/staged-recipes,kwilcox/staged-recipes,petrushy/staged-recipes,ocefpaf/staged-recipes,jochym/staged-recipes,cpaulik/staged-recipes,patricksnape/staged-recipes,ReimarBauer/staged-recipes,jakirkham/staged-recipes,asmeurer/staged-reci...
yaml
## Code Before: {% set name = "harminv" %} {% set version = "1.4.1" %} {% set sha256 = "e1b923c508a565f230aac04e3feea23b888b47d8e19b08816a97ee4444233670" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/stevengj/{{ name }}/releases/d...
ad751d41700fac47cf818ba336a34bb316bde488
opacclient/libopac/src/main/java/de/geeksfactory/opacclient/utils/KotlinUtils.kt
opacclient/libopac/src/main/java/de/geeksfactory/opacclient/utils/KotlinUtils.kt
package de.geeksfactory.opacclient.utils import org.json.JSONObject import org.jsoup.Jsoup import org.jsoup.nodes.Document import org.jsoup.nodes.Element import org.jsoup.nodes.TextNode import org.jsoup.select.Elements val String.html: Document get() = Jsoup.parse(this) val String.jsonObject: JSONObject get(...
package de.geeksfactory.opacclient.utils import org.json.JSONArray import org.json.JSONObject import org.jsoup.Jsoup import org.jsoup.nodes.Document import org.jsoup.nodes.Element import org.jsoup.nodes.TextNode import org.jsoup.select.Elements val String.html: Document get() = Jsoup.parse(this) val String.jsonO...
Add some Kotlin extension functions to simplify handling of JSONArrays
Add some Kotlin extension functions to simplify handling of JSONArrays
Kotlin
mit
opacapp/opacclient,opacapp/opacclient,opacapp/opacclient,opacapp/opacclient,raphaelm/opacclient,opacapp/opacclient,raphaelm/opacclient,raphaelm/opacclient
kotlin
## Code Before: package de.geeksfactory.opacclient.utils import org.json.JSONObject import org.jsoup.Jsoup import org.jsoup.nodes.Document import org.jsoup.nodes.Element import org.jsoup.nodes.TextNode import org.jsoup.select.Elements val String.html: Document get() = Jsoup.parse(this) val String.jsonObject: JSO...
7527b8e6e3b8452af2a6562f3c5b78d80a38135d
linux-x86/Toolchain.cmake
linux-x86/Toolchain.cmake
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR i686) # Setting these is not needed because the -m32 flag is already # associated with the ${cross_triple}-gcc wrapper script. #set(CMAKE_CXX_COMPILER_ARG1 "-m32") #set(CMAKE_C_COMPILER_ARG1 "-m32") set(cross_triple "i686-linux-gnu") ...
set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR i686) # Setting these is not needed because the -m32 flag is already # associated with the ${cross_triple}-gcc wrapper script. #set(CMAKE_CXX_COMPILER_ARG1 "-m32") #set(CMAKE_C_COMPILER_ARG1 "-m32") set(cross_triple "i686-linux-gnu") ...
Tweak toolchain comment associated with CMAKE_IGNORE_PATH
linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH
CMake
mit
thewtex/cross-compilers,dockcross/dockcross,dockcross/dockcross,thewtex/cross-compilers,thewtex/cross-compilers,thewtex/cross-compilers,dockcross/dockcross,dockcross/dockcross
cmake
## Code Before: set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_VERSION 1) set(CMAKE_SYSTEM_PROCESSOR i686) # Setting these is not needed because the -m32 flag is already # associated with the ${cross_triple}-gcc wrapper script. #set(CMAKE_CXX_COMPILER_ARG1 "-m32") #set(CMAKE_C_COMPILER_ARG1 "-m32") set(cross_triple "i...
4a237ab4e7aa228c42045d84432fc1219c27b334
test_data/nexus_device_config.yaml
test_data/nexus_device_config.yaml
global_buffer_bels: [] # How should nextpnr lump BELs during analytic placement? buckets: - bucket: LUTS cells: - LUT4 - bucket: FFS cells: - FD1P3BX - FD1P3DX - FD1P3IX - FD1P3JX - bucket: IOBs cells: - IB - OB
global_buffer_bels: - DCC # Which cell names are global buffers, and which pins should use dedicated routing resources global_buffer_cells: - cell: DCC pins: # list of pins that use global resources - name: CLKI # pin name guide_placement: true # attempt to place so that this pin can use dedicated res...
Add BRAM and global buffer config
nexus: Add BRAM and global buffer config Signed-off-by: gatecat <c690b4516f836771c8bd4e23cd8f1cebc83093a6@ds0.me>
YAML
isc
SymbiFlow/python-fpga-interchange,SymbiFlow/python-fpga-interchange
yaml
## Code Before: global_buffer_bels: [] # How should nextpnr lump BELs during analytic placement? buckets: - bucket: LUTS cells: - LUT4 - bucket: FFS cells: - FD1P3BX - FD1P3DX - FD1P3IX - FD1P3JX - bucket: IOBs cells: - IB - OB ## Instruction: nexus: Add BRAM and global buffer config S...
0531d2a57d119300635467b39544c746e976ccbe
ansible.cfg
ansible.cfg
[defaults] remote_tmp = /tmp/.ansible-${USER}/tmp local_tmp = /tmp/.ansible-${USER}/tmp # gathering = smart # fact_caching = jsonfile # fact_caching_connection = /tmp/.ansible-${USER}/fact-cache library = /usr/lib/python2.7/site-packages/awx/plugins/library:/usr/share/ansible/plugins/modules:./roles/gpg-key-management/...
[defaults] remote_tmp = /tmp/.ansible-${USER}/tmp local_tmp = /tmp/.ansible-${USER}/tmp gathering = smart fact_caching = jsonfile fact_caching_connection = /tmp/.ansible-${USER}/fact-cache library = /usr/lib/python2.7/site-packages/awx/plugins/library:/usr/share/ansible/plugins/modules:./roles/gpg-key-management/librar...
Disable part of config to test if it causes AWX to fail
Disable part of config to test if it causes AWX to fail
INI
mit
henrik-farre/ansible,henrik-farre/ansible,henrik-farre/ansible
ini
## Code Before: [defaults] remote_tmp = /tmp/.ansible-${USER}/tmp local_tmp = /tmp/.ansible-${USER}/tmp # gathering = smart # fact_caching = jsonfile # fact_caching_connection = /tmp/.ansible-${USER}/fact-cache library = /usr/lib/python2.7/site-packages/awx/plugins/library:/usr/share/ansible/plugins/modules:./roles/gpg...
59d482bfdeff55bf339ad1ec2fadeeaf086e6cb4
sciview_deploy.sh
sciview_deploy.sh
if [ "$TRAVIS_SECURE_ENV_VARS" = true \ -a "$TRAVIS_PULL_REQUEST" = false \ -a "$TRAVIS_BRANCH" = master \ -a "$TRAVIS_OS_NAME" == linux ] then mvn deploy --settings settings.xml # For update site deployment: temporarily disabled # curl -O http://downloads.imagej.net/fiji/latest/fiji-nojre.zip # unzip fij...
if [ "$TRAVIS_SECURE_ENV_VARS" = true \ -a "$TRAVIS_PULL_REQUEST" = false \ -a "$TRAVIS_BRANCH" = master \ -a "$TRAVIS_OS_NAME" == linux ] then mvn -Pdeploy-to-imagej deploy --settings settings.xml # For update site deployment: temporarily disabled # curl -O http://downloads.imagej.net/fiji/latest/fiji-nojr...
Use the deploy-to-imagej pom profile
Use the deploy-to-imagej pom profile
Shell
bsd-2-clause
scenerygraphics/SciView,scenerygraphics/SciView,kephale/ThreeDViewer,kephale/ThreeDViewer
shell
## Code Before: if [ "$TRAVIS_SECURE_ENV_VARS" = true \ -a "$TRAVIS_PULL_REQUEST" = false \ -a "$TRAVIS_BRANCH" = master \ -a "$TRAVIS_OS_NAME" == linux ] then mvn deploy --settings settings.xml # For update site deployment: temporarily disabled # curl -O http://downloads.imagej.net/fiji/latest/fiji-nojre.z...
f34983b035a037748e998ee8ad0b8b2aa217c104
.travis.yml
.travis.yml
language: ruby sudo: false cache: bundler rvm: - "2.2.9" - "2.3.6" - "2.4.3" - "2.5.0" - jruby-9.1.15.0 before_install: - gem update bundler env: matrix: - EMBER_SOURCE_VERSION="~> 1.0.0" # Uses handlebars-source 1.0.12 - EMBER_SOURCE_VERSION="~> 1.8.0" # Uses handlebars-source 1.3.0 - EMBER_S...
language: ruby sudo: false cache: bundler rvm: - "2.2.9" - "2.3.6" - "2.4.3" - "2.5.0" - jruby-9.1.15.0 before_install: - gem update --system - gem update bundler env: matrix: - EMBER_SOURCE_VERSION="~> 1.0.0" # Uses handlebars-source 1.0.12 - EMBER_SOURCE_VERSION="~> 1.8.0" # Uses handlebars-so...
Fix build error on Travis CI w/ Ruby 2.5.0
Fix build error on Travis CI w/ Ruby 2.5.0 Ref: https://github.com/travis-ci/travis-ci/issues/8978
YAML
mit
tchak/barber,tchak/barber
yaml
## Code Before: language: ruby sudo: false cache: bundler rvm: - "2.2.9" - "2.3.6" - "2.4.3" - "2.5.0" - jruby-9.1.15.0 before_install: - gem update bundler env: matrix: - EMBER_SOURCE_VERSION="~> 1.0.0" # Uses handlebars-source 1.0.12 - EMBER_SOURCE_VERSION="~> 1.8.0" # Uses handlebars-source 1.3...
463c2041d7ccf84a44d48ae16fc7c028716e45e8
spec/views/videos/index.html.haml_spec.rb
spec/views/videos/index.html.haml_spec.rb
require 'spec_helper' describe 'videos/index.html.haml' do let(:videos) { [double('Video', :file_name => 'file_name')] } it 'displays all videos' do view.should_receive(:videos).once.and_return(videos) render rendered.should have_selector 'li', :count => 1 end end
require 'spec_helper' describe 'videos/index.html.haml' do context 'with a video' do let(:videos) { [double('Video', :file_name => 'file_name')] } it 'displays all videos' do view.should_receive(:videos).once.and_return(videos) render rendered.should have_selector 'li', :count => 1 end...
Update videos/index spec to handle a lack of videos
Update videos/index spec to handle a lack of videos
Ruby
mit
peterkrenn/optical-flow,peterkrenn/optical-flow
ruby
## Code Before: require 'spec_helper' describe 'videos/index.html.haml' do let(:videos) { [double('Video', :file_name => 'file_name')] } it 'displays all videos' do view.should_receive(:videos).once.and_return(videos) render rendered.should have_selector 'li', :count => 1 end end ## Instruction: ...
d5c09f1ca8ba43767e686e822e971f1f9c8bf0df
recipes/dsc_demo.rb
recipes/dsc_demo.rb
dsc_resource 'demogroupremove' do resource_name :group property :groupname, 'demo1' property :ensure, 'absent' end dsc_resource 'demogroupadd' do resource_name :group property :GroupName, 'demo1' property :MembersToInclude, 'administrator' end dsc_resource 'demogroupadd2' do resource_name :group prop...
dsc_resource 'demogroupremove' do resource :group property :groupname, 'demo1' property :ensure, 'absent' end dsc_resource 'demogroupadd' do resource :group property :GroupName, 'demo1' property :MembersToInclude, 'administrator' end dsc_resource 'demogroupadd2' do resource :group property :GroupName...
Fix demo recipe to use resource attribute instead of resource_name
Fix demo recipe to use resource attribute instead of resource_name
Ruby
apache-2.0
chef-cookbooks/dsc,modulexcite/dsc-1,opscode-cookbooks/dsc,modulexcite/dsc-1,opscode-cookbooks/dsc,chef-cookbooks/dsc
ruby
## Code Before: dsc_resource 'demogroupremove' do resource_name :group property :groupname, 'demo1' property :ensure, 'absent' end dsc_resource 'demogroupadd' do resource_name :group property :GroupName, 'demo1' property :MembersToInclude, 'administrator' end dsc_resource 'demogroupadd2' do resource_na...
bc62ff6ea6705bc68e2993fd2ee06c1f4ecf2c93
Plugins/Drift/Source/RapidJson/Public/JsonUtils.h
Plugins/Drift/Source/RapidJson/Public/JsonUtils.h
// Copyright 2015-2017 Directive Games Limited - All Rights Reserved #pragma once #include "JsonArchive.h" #include "IHttpRequest.h" #include "Core.h" #include "Interfaces/IHttpRequest.h" RAPIDJSON_API DECLARE_LOG_CATEGORY_EXTERN(JsonUtilsLog, Log, All); class RAPIDJSON_API JsonUtils { public: template<class ...
// Copyright 2015-2017 Directive Games Limited - All Rights Reserved #pragma once #include "JsonArchive.h" #include "IHttpRequest.h" #include "Core.h" #include "Interfaces/IHttpRequest.h" #include "Interfaces/IHttpResponse.h" RAPIDJSON_API DECLARE_LOG_CATEGORY_EXTERN(JsonUtilsLog, Log, All); class RAPIDJSON_API ...
Fix another Linux build error
Fix another Linux build error - Was missing #include statements
C
mit
dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin
c
## Code Before: // Copyright 2015-2017 Directive Games Limited - All Rights Reserved #pragma once #include "JsonArchive.h" #include "IHttpRequest.h" #include "Core.h" #include "Interfaces/IHttpRequest.h" RAPIDJSON_API DECLARE_LOG_CATEGORY_EXTERN(JsonUtilsLog, Log, All); class RAPIDJSON_API JsonUtils { public: ...
c1b433e5ed4c06b956b4d27f6da4e8b1dab54aaf
services/cloudwatch/sample.py
services/cloudwatch/sample.py
''' =================================== Boto 3 - CloudWatch Service Example =================================== This application implements the CloudWatch service that lets you gets information from Amazon Cloud Watch. See the README for more details. ''' import boto3 ''' Define your AWS credentials: ''' AWS_ACCESS_KE...
''' =================================== Boto 3 - CloudWatch Service Example =================================== This application implements the CloudWatch service that lets you gets information from Amazon Cloud Watch. See the README for more details. ''' import boto3 ''' Define your AWS credentials: ''' AWS_ACCESS_KE...
Fix issue in cloudwacth service credentials
Fix issue in cloudwacth service credentials
Python
mit
rolandovillca/aws_samples_boto3_sdk
python
## Code Before: ''' =================================== Boto 3 - CloudWatch Service Example =================================== This application implements the CloudWatch service that lets you gets information from Amazon Cloud Watch. See the README for more details. ''' import boto3 ''' Define your AWS credentials: '...
9a2dec7f42cd3e292d9081533a8dedf52046a1bd
src/database/build_database.sql
src/database/build_database.sql
DROP TABLE IF EXISTS users cascade; CREATE TABLE users ( user_id SERIAL PRIMARY KEY NOT NULL, first_name TEXT, last_name TEXT, birth_date DATE, phone BIGINT, photo BYTEA ); INSERT INTO users (first_name, last_name, birth_date, phone) VALUES ('Lucy', 'Monie', '1/1/2000', 07123456789); SELECT * FROM users;...
DROP TABLE IF EXISTS users cascade; CREATE TABLE users ( user_id SERIAL PRIMARY KEY NOT NULL, first_name TEXT, last_name TEXT, birth_date DATE, phone BIGINT, photo BYTEA ); INSERT INTO users (first_name, last_name, birth_date, phone) VALUES ('Lucy', 'Monie', '1/1/2000', 07123456789); SELECT * FROM users;...
Adjust initial database, breaking down the address in separate fields
Adjust initial database, breaking down the address in separate fields
SQL
mit
centrepoint-exresapp/cpapp-salesforce,centrepoint-exresapp/cpapp-salesforce,lucy-marko/centrepoint,lucy-marko/centrepoint
sql
## Code Before: DROP TABLE IF EXISTS users cascade; CREATE TABLE users ( user_id SERIAL PRIMARY KEY NOT NULL, first_name TEXT, last_name TEXT, birth_date DATE, phone BIGINT, photo BYTEA ); INSERT INTO users (first_name, last_name, birth_date, phone) VALUES ('Lucy', 'Monie', '1/1/2000', 07123456789); SELE...
addf478aade7984614e8f4c284ca34473bfe88e8
core/thread/initialize_spec.rb
core/thread/initialize_spec.rb
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__)
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) describe "Thread#initialize" do describe "already initialized" do before do @t = Thread.new { sleep } end after do @t.kill end it "raises a ThreadError" do la...
Add spec for initializing a Thread multiple times
Add spec for initializing a Thread multiple times
Ruby
mit
alexch/rubyspec,yous/rubyspec,iliabylich/rubyspec,BanzaiMan/rubyspec,mrkn/rubyspec,wied03/rubyspec,sgarciac/spec,teleological/rubyspec,saturnflyer/rubyspec,wied03/rubyspec,askl56/rubyspec,ruby/rubyspec,DawidJanczak/rubyspec,kachick/rubyspec,yaauie/rubyspec,askl56/rubyspec,alexch/rubyspec,kachick/rubyspec,ericmeyer/ruby...
ruby
## Code Before: require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) ## Instruction: Add spec for initializing a Thread multiple times ## Code After: require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes...
9a8befee9b210c817e60b97f242cb859956dc1b0
lib/name_checker/facebook_checker.rb
lib/name_checker/facebook_checker.rb
module NameChecker class FacebookChecker include HTTParty include Logging MIN_NAME_LENGTH = 5 base_uri "https://graph.facebook.com" @service_name = :facebook def self.check(name, options = {}) # just return false if the name is too short to be valid. if name.length < MIN_NAME_LENG...
module NameChecker class FacebookChecker include HTTParty include Logging MIN_NAME_LENGTH = 5 base_uri "https://graph.facebook.com" @service_name = :facebook def self.check(name, options = {}) # just return false if the name is too short to be valid. if name.length < MIN_NAME_LENG...
Fix Bug: Facebook MultiJson::Decode error
Fix Bug: Facebook MultiJson::Decode error
Ruby
mit
dtuite/name_checker
ruby
## Code Before: module NameChecker class FacebookChecker include HTTParty include Logging MIN_NAME_LENGTH = 5 base_uri "https://graph.facebook.com" @service_name = :facebook def self.check(name, options = {}) # just return false if the name is too short to be valid. if name.length...
194c11237c01da1d3f86571732fbacc8fbc9713f
src/skin.rs
src/skin.rs
// Copyright 2015 Birunthan Mohanathas // // Licensed under the MIT license <http://opensource.org/licenses/MIT>. This // file may not be copied, modified, or distributed except according to those // terms. use measure::Measureable; pub struct Skin<'a> { name: String, measures: Vec<Box<Measureable<'a> + 'a>>,...
// Copyright 2015 Birunthan Mohanathas // // Licensed under the MIT license <http://opensource.org/licenses/MIT>. This // file may not be copied, modified, or distributed except according to those // terms. use measure::Measureable; pub struct Skin<'a> { name: String, measures: Vec<Box<Measureable<'a> + 'a>>,...
Allow measures to be added to a Skin
Allow measures to be added to a Skin
Rust
mit
poiru/rainmeter-rust
rust
## Code Before: // Copyright 2015 Birunthan Mohanathas // // Licensed under the MIT license <http://opensource.org/licenses/MIT>. This // file may not be copied, modified, or distributed except according to those // terms. use measure::Measureable; pub struct Skin<'a> { name: String, measures: Vec<Box<Measure...
8fa3e5f22c256c473c5ca43a6d68f0dcc9ea0bf2
app.js
app.js
var Article = require('./lib/wikipedia'); var Quote = require('./lib/wikiquote'); var Photo = require('./lib/flickr'); var express = require('express'); var app = express(); app.use(express.static(__dirname + '/public')); var respondWithRandom = function(resource, res) { resource.getRandom() .then(function(resul...
var Article = require('./lib/wikipedia'); var Quote = require('./lib/wikiquote'); var Photo = require('./lib/flickr'); var express = require('express'); var app = express(); var http = require('http'); var url = require('url'); app.use(express.static(__dirname + '/public')); var respondWithRandom = function(resourc...
Implement image proxy for external photo urls
Implement image proxy for external photo urls
JavaScript
mit
gdljs/instaband,chubas/instaband,chubas/instaband,gdljs/instaband
javascript
## Code Before: var Article = require('./lib/wikipedia'); var Quote = require('./lib/wikiquote'); var Photo = require('./lib/flickr'); var express = require('express'); var app = express(); app.use(express.static(__dirname + '/public')); var respondWithRandom = function(resource, res) { resource.getRandom() .the...
f85f47855a20b85926b21321c5bb7f2785d4cbe4
applications/firefox/user.js
applications/firefox/user.js
user_perf("privacy.userContext.enabled", true); user_perf("privacy.userContext.ui.enabled", true); user_pref("browser.ctrlTab.previews", true); user_pref("browser.fixup.alternate.enabled", false); user_pref("browser.newtab.url", "https://www.google.co.nz"); user_pref("browser.tabs.tabClipWidth", 1); user_pref("datarepo...
user_perf("privacy.userContext.enabled", true); user_perf("privacy.userContext.ui.enabled", true); user_pref("browser.ctrlTab.previews", true); user_pref("browser.fixup.alternate.enabled", false); user_pref("browser.newtab.url", "https://www.google.co.nz"); user_pref("browser.tabs.tabClipWidth", 1); user_pref("datarepo...
Stop videos auto playing in the background.
Stop videos auto playing in the background.
JavaScript
mit
craighurley/dotfiles,craighurley/dotfiles,craighurley/dotfiles
javascript
## Code Before: user_perf("privacy.userContext.enabled", true); user_perf("privacy.userContext.ui.enabled", true); user_pref("browser.ctrlTab.previews", true); user_pref("browser.fixup.alternate.enabled", false); user_pref("browser.newtab.url", "https://www.google.co.nz"); user_pref("browser.tabs.tabClipWidth", 1); use...
7d67a3a2ef78a00a304c991f08c894e7369b0bf5
doc/sphinx/documentation/library_reference/dxtbx/serialize.rst
doc/sphinx/documentation/library_reference/dxtbx/serialize.rst
dxtbx.serialize =============== .. automodule:: dxtbx.serialize.dump :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.imageset :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.load :members: :undoc-members: :show-inheritance:...
dxtbx.serialize =============== .. automodule:: dxtbx.serialize.imageset :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.load :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.xds :members: :undoc-members: :show-inheritance:
Remove documentation for removed dxtbx module
Remove documentation for removed dxtbx module
reStructuredText
bsd-3-clause
dials/dials,dials/dials,dials/dials,dials/dials,dials/dials
restructuredtext
## Code Before: dxtbx.serialize =============== .. automodule:: dxtbx.serialize.dump :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.imageset :members: :undoc-members: :show-inheritance: .. automodule:: dxtbx.serialize.load :members: :undoc-members: :s...
6d6aac43e5f5b327c083d5d233514db1d7e46b32
app/views/users/posts.html.erb
app/views/users/posts.html.erb
<% add_body_class "posts" @page_title = "#{@user.username}'s Posts" %> <h2 class="section"> <%= link_to "Users", users_path %> &raquo; <%= profile_link(@user) %> &raquo; <%= link_to "Posts", posts_user_path(id: @user.username) %> </h2> <% if @posts %> <%= render partial: "posts/posts", locals: { posts: @p...
<% add_body_class "user_profile", "posts" @page_title = "#{@user.username}'s Posts" %> <h2 class="section"> <%= link_to "Users", users_path %> &raquo; <%= profile_link(@user) %> &raquo; <%= link_to "Posts", posts_user_path(id: @user.username) %> </h2> <% if @posts %> <%= render(partial: "posts/posts", ...
Hide NSFW posts on user profile
Hide NSFW posts on user profile
HTML+ERB
mit
elektronaut/sugar,elektronaut/sugar,elektronaut/sugar,elektronaut/sugar
html+erb
## Code Before: <% add_body_class "posts" @page_title = "#{@user.username}'s Posts" %> <h2 class="section"> <%= link_to "Users", users_path %> &raquo; <%= profile_link(@user) %> &raquo; <%= link_to "Posts", posts_user_path(id: @user.username) %> </h2> <% if @posts %> <%= render partial: "posts/posts", loc...
98d0ac5c67510cc28d8de8d32a6f21b489e7d625
.travis.yml
.travis.yml
language: objective-c osx_image: xcode7.2 cache: - bundler - cocoapods install: - bundle install script: - bundle exec fastlane test
language: objective-c osx_image: xcode7.2 install: - bundle install script: - bundle exec fastlane test
Revert "add bundler and cocoapods cache"
Revert "add bundler and cocoapods cache" This reverts commit a405039682cb369c4f6e59a5bf55343a4c5cfea9.
YAML
mit
DerLobi/Depressed,DerLobi/Depressed,DerLobi/Depressed
yaml
## Code Before: language: objective-c osx_image: xcode7.2 cache: - bundler - cocoapods install: - bundle install script: - bundle exec fastlane test ## Instruction: Revert "add bundler and cocoapods cache" This reverts commit a405039682cb369c4f6e59a5bf55343a4c5cfea9. ## Code After: language: objective-c osx_imag...
2e6ae6a493a6c536f06cfbf629d477d360284582
scripts/index.js
scripts/index.js
import NodeGarden from './nodegarden' var pixelRatio = window.devicePixelRatio var $container = document.getElementById('container') var $moon = document.getElementsByClassName('moon')[0] var nodeGarden = new NodeGarden($container) // start simulation nodeGarden.start() // trigger nightMode automatically var date ...
import NodeGarden from './nodegarden'; const pixelRatio = window.devicePixelRatio; const $container = document.getElementById('container'); const $moon = document.getElementsByClassName('moon')[0]; const nodeGarden = new NodeGarden($container); // start simulation nodeGarden.start(); // trigger nightMode automatic...
Fix relative positioning issue, use classes and other sugar, ...
Fix relative positioning issue, use classes and other sugar, ...
JavaScript
mit
pakastin/nodegarden,pakastin/nodegarden
javascript
## Code Before: import NodeGarden from './nodegarden' var pixelRatio = window.devicePixelRatio var $container = document.getElementById('container') var $moon = document.getElementsByClassName('moon')[0] var nodeGarden = new NodeGarden($container) // start simulation nodeGarden.start() // trigger nightMode automat...
3b3f15ccc5b12eca4fd7e11d2a48e4cd505dfb5a
.travis.yml
.travis.yml
language: ruby rvm: - 1.9.3 - 2.2.2 before_script: - cp config/database.yml.travis spec/dummy/config/database.yml - psql -c 'create database travis_ci_test;' -U postgres - bundle exec rake db:migrate - sh -e /etc/init.d/xvfb start - wget http://cdn.sencha.com/ext/gpl/ext-5.1.0-gpl.zip - unzip -q ext-...
language: ruby rvm: - 1.9.3 - 2.2.2 before_script: - cp config/database.yml.travis spec/dummy/config/database.yml - psql -c 'create database travis_ci_test;' -U postgres - bundle exec rake db:migrate - sh -e /etc/init.d/xvfb start - wget http://cdn.sencha.com/ext/gpl/ext-5.1.0-gpl.zip - unzip -q ext-...
Fix icons sym link for Travis CI
Fix icons sym link for Travis CI
YAML
mit
arman000/marty,arman000/marty,arman000/marty,arman000/marty
yaml
## Code Before: language: ruby rvm: - 1.9.3 - 2.2.2 before_script: - cp config/database.yml.travis spec/dummy/config/database.yml - psql -c 'create database travis_ci_test;' -U postgres - bundle exec rake db:migrate - sh -e /etc/init.d/xvfb start - wget http://cdn.sencha.com/ext/gpl/ext-5.1.0-gpl.zip ...
c73a2f945b76cf22e0d076c95a6dfff3afbb66d0
setup.sh
setup.sh
if [ -z $1 ]; then echo "Please specify username..." exit 1 else user=$1 fi zsh=$(which zsh) if [ -z $zsh ]; then echo 'no zsh...installing.' sudo yum install -y zsh fi vim=$(which vim) if [ -z $vim ]; then echo 'no vim...installing.' sudo yum install -y vim fi echo "Changing shell to zs...
SCRIPT_DIR=`dirname "$(cd ${0%/*} && echo $PWD/${0##*/})"` if [ -z $1 ]; then echo "Please specify username..." exit 1 else user=$1 fi echo 'checking if zsh is installed...' zsh=$(which zsh) if [ -z $zsh ]; then echo 'no zsh...installing.' sudo yum install -y zsh fi echo 'checking to see if vim i...
Add dwm configuration as well as more program checking...
Add dwm configuration as well as more program checking...
Shell
mit
killerbat00/configs,killerbat00/configs,killerbat00/configs
shell
## Code Before: if [ -z $1 ]; then echo "Please specify username..." exit 1 else user=$1 fi zsh=$(which zsh) if [ -z $zsh ]; then echo 'no zsh...installing.' sudo yum install -y zsh fi vim=$(which vim) if [ -z $vim ]; then echo 'no vim...installing.' sudo yum install -y vim fi echo "Chan...
56991fef77408e675e92c92581284916b4185439
app/assets/html/imports/index.html.slim
app/assets/html/imports/index.html.slim
div ng-show="csvImports" ul.media-list li.media ng-repeat="import in csvImports | sortByImportState" ng-class="{muted:(import.terminal())}" a.pull-left ng-href="{{import.link()}}" img.media-object src='#{asset_path("minimark.png")}' .media-body a ng-href="{{import.link()}}" h...
div ng-show="csvImports" ul.media-list li.media ng-repeat="import in csvImports | sortByImportState" ng-class="{muted:(import.terminal())}" a.pull-left ng-href="{{import.link()}}" img.media-object src='#{asset_path("minimark.png")}' .media-body a ng-href="{{import.link()}}" h...
Simplify import "Started" date and time format (mo-day-yr 00:00).
Simplify import "Started" date and time format (mo-day-yr 00:00).
Slim
agpl-3.0
quoideneuf/pop-up-archive,quoideneuf/pop-up-archive,quoideneuf/pop-up-archive,quoideneuf/pop-up-archive
slim
## Code Before: div ng-show="csvImports" ul.media-list li.media ng-repeat="import in csvImports | sortByImportState" ng-class="{muted:(import.terminal())}" a.pull-left ng-href="{{import.link()}}" img.media-object src='#{asset_path("minimark.png")}' .media-body a ng-href="{{import.link(...
7801c5d7430233eb78ab8b2a91f5960bd808b2c7
app/admin/views.py
app/admin/views.py
from flask import Blueprint, render_template from flask_security import login_required admin = Blueprint('admin', __name__) @admin.route('/') @admin.route('/index') @login_required def index(): return render_template('admin/index.html', title='Admin')
from flask import Blueprint, render_template, redirect, url_for from flask_security import current_user admin = Blueprint('admin', __name__) @admin.route('/') @admin.route('/index') def index(): return render_template('admin/index.html', title='Admin') @admin.before_request def require_login(): if not curr...
Move admin authentication into before_request handler
Move admin authentication into before_request handler
Python
mit
Encrylize/flask-blogger,Encrylize/flask-blogger,Encrylize/flask-blogger
python
## Code Before: from flask import Blueprint, render_template from flask_security import login_required admin = Blueprint('admin', __name__) @admin.route('/') @admin.route('/index') @login_required def index(): return render_template('admin/index.html', title='Admin') ## Instruction: Move admin authentication in...
f3d73998d3a92a07c148657711da39358e27c1d9
_drafts/blank-post.md
_drafts/blank-post.md
--- layout: single title: "" # date: YYYY-MM-DD category: [] excerpt: "" ---
--- layout: single classes: wide title: "" # date: YYYY-MM-DD category: [] excerpt: "" ---
Set Blank Post default to Wide format
Set Blank Post default to Wide format
Markdown
mit
cwestwater/cwestwater.github.io,cwestwater/cwestwater.github.io,cwestwater/cwestwater.github.io
markdown
## Code Before: --- layout: single title: "" # date: YYYY-MM-DD category: [] excerpt: "" --- ## Instruction: Set Blank Post default to Wide format ## Code After: --- layout: single classes: wide title: "" # date: YYYY-MM-DD category: [] excerpt: "" ---
df1807f823332d076a0dff7e6ec0b49b8a42e8ad
config-SAMPLE.js
config-SAMPLE.js
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'clock', position: 'top_left', config: { displaySeconds: false } }, ...
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'clock', position: 'top_left', config: { displaySeconds: false } }, ...
Update sample config for new modules.
Update sample config for new modules.
JavaScript
apache-2.0
jhurstus/mirror,jhurstus/mirror
javascript
## Code Before: /* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'clock', position: 'top_left', config: { displaySeconds: false ...
dac5fa0a11570f1c38b99bc189eb98ad7078bc4d
test/test_helper.js
test/test_helper.js
import jsdom from 'jsdom'; const doc = jsdom.jsdom('<!doctype html><html><body></body></html>'); const win = doc.defaultView; global.document = doc; global.window = win; Object.keys(window).forEach((key) => { if (!(key in global)) { global[key] = window[key]; } });
import jsdom from 'jsdom'; import chai from 'chai'; import chaiImmutable from 'chai-immutable'; const doc = jsdom.jsdom('<!doctype html><html><body></body></html>'); const win = doc.defaultView; global.document = doc; global.window = win; Object.keys(window).forEach((key) => { if (!(key in global)) { global[ke...
Support chai expectations for immutables.
Support chai expectations for immutables.
JavaScript
apache-2.0
rgbkrk/voting-client,rgbkrk/voting-client
javascript
## Code Before: import jsdom from 'jsdom'; const doc = jsdom.jsdom('<!doctype html><html><body></body></html>'); const win = doc.defaultView; global.document = doc; global.window = win; Object.keys(window).forEach((key) => { if (!(key in global)) { global[key] = window[key]; } }); ## Instruction: Support ch...
e6be021d4b2d1587af100f3cb1ae925df0f4e1d8
dayof.html
dayof.html
--- title: Day-Of Dashboard layout: default --- <div class="row columns"> <style>#dayof-iframe{width: 1px;min-width: 100%;}</style> <iframe id="dayof-iframe" src="https://hp-bebo-web.herokuapp.com/" scrolling="no" frameborder="0"></iframe> <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.15...
--- title: Day-Of Dashboard layout: default --- <style> html, body, .main-wrapper, .main-content, .dayof-iframe { width: 100%; height: 100%; overflow: hidden; } .main-wrapper > footer { display: none; } </style> <iframe class="dayof-iframe" src="https://hp-bebo-web.herokuapp.com/" frameborder=...
Use alternate iframe maximization approach
Use alternate iframe maximization approach
HTML
mit
hackprinceton/static,princetoneclub/hp-static-s17,hackprinceton/static,hackprinceton/static,princetoneclub/hp-static-s17,princetoneclub/hp-static-s17
html
## Code Before: --- title: Day-Of Dashboard layout: default --- <div class="row columns"> <style>#dayof-iframe{width: 1px;min-width: 100%;}</style> <iframe id="dayof-iframe" src="https://hp-bebo-web.herokuapp.com/" scrolling="no" frameborder="0"></iframe> <script src="https://cdnjs.cloudflare.com/ajax/libs/ifram...
85cebe3987f47e693963259b6e242ef3c51bbb79
app/views/roles/_past_role_holders.html.erb
app/views/roles/_past_role_holders.html.erb
<% unless role.past_holders.empty? %> <section id="past-role-holders" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Previous holders of this role", } %> <% if role.supports_historical_accounts? %> <p>Find out more about previous holder...
<% unless role.past_holders.empty? %> <section id="past-role-holders" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Previous holders of this role", } %> <% if role.supports_historical_accounts? %> <p class="govuk-body" lang="en"> ...
Add govuk-body and lang attribute
Add govuk-body and lang attribute
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
html+erb
## Code Before: <% unless role.past_holders.empty? %> <section id="past-role-holders" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Previous holders of this role", } %> <% if role.supports_historical_accounts? %> <p>Find out more about...
c313f09baf9f04a83771149e5ed39005f51ad858
vim/vim.symlink/config/50-plugins.vim
vim/vim.symlink/config/50-plugins.vim
" Open Vundle config quickly {{{ nnoremap <Leader>vu :e ~/.dotfiles/vim/vim.symlink/config/00-vundle.vim<CR> " }}} " Run Hammer to preview this buffer {{{ nmap <Leader>p :Hammer<CR> " }}} " Toggle tagbar {{{ nmap <Leader>t :TagbarToggle<CR> " }}} " neocompcache {{{ let g:neocomplcache_auto_completion_start_l...
" Open Vundle config quickly {{{ nnoremap <Leader>vu :e ~/.dotfiles/vim/vim.symlink/config/00-vundle.vim<CR> " }}} " Run Hammer to preview this buffer {{{ nmap <Leader>p :Hammer<CR> " }}} " Toggle tagbar {{{ nmap <Leader>t :TagbarToggle<CR> " }}} " neocompcache {{{ let g:neocomplcache_enable_at_startup = 1 "...
Use default neocompcache start length
Use default neocompcache start length
VimL
mit
jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles,jcf/ansible-dotfiles
viml
## Code Before: " Open Vundle config quickly {{{ nnoremap <Leader>vu :e ~/.dotfiles/vim/vim.symlink/config/00-vundle.vim<CR> " }}} " Run Hammer to preview this buffer {{{ nmap <Leader>p :Hammer<CR> " }}} " Toggle tagbar {{{ nmap <Leader>t :TagbarToggle<CR> " }}} " neocompcache {{{ let g:neocomplcache_auto_co...
334fd920197cea4ec5dc7aadcc9b0341107b8723
.travis.yml
.travis.yml
language: bash services: docker env: - VERSION=5 VARIANT= - VERSION=5 VARIANT=alpine - VERSION=2.4 VARIANT= - VERSION=2.4 VARIANT=alpine - VERSION=1.7 VARIANT= - VERSION=1.7 VARIANT=alpine install: - git clone https://github.com/docker-library/official-images.git ~/official-images # https://github.com/d...
language: bash services: docker env: - VERSION=5 VARIANT= - VERSION=5 VARIANT=alpine - VERSION=2.4 VARIANT= - VERSION=2.4 VARIANT=alpine - VERSION=1.7 VARIANT= - VERSION=1.7 VARIANT=alpine install: - git clone https://github.com/docker-library/official-images.git ~/official-images # https://github.com/d...
Fix Travis to build the proper variants
Fix Travis to build the proper variants
YAML
apache-2.0
infosiftr/elasticsearch,docker-library/elasticsearch
yaml
## Code Before: language: bash services: docker env: - VERSION=5 VARIANT= - VERSION=5 VARIANT=alpine - VERSION=2.4 VARIANT= - VERSION=2.4 VARIANT=alpine - VERSION=1.7 VARIANT= - VERSION=1.7 VARIANT=alpine install: - git clone https://github.com/docker-library/official-images.git ~/official-images # http...
bf0d95270c0b21eaa9a32a821a7c0e0a9a6c8147
ts/UIUtil/requestAnimationFrame.ts
ts/UIUtil/requestAnimationFrame.ts
/* * Copyright (c) 2015 ARATA Mizuki * This software is released under the MIT license. * See LICENSE.txt. */ module UIUtil { interface RAFWithVendorPrefix extends Window { mozRequestAnimationFrame(callback: FrameRequestCallback): number; webkitRequestAnimationFrame(callback: FrameRequestCallba...
/* * Copyright (c) 2015 ARATA Mizuki * This software is released under the MIT license. * See LICENSE.txt. */ module UIUtil { interface RAFWithVendorPrefix extends Window { mozRequestAnimationFrame(callback: FrameRequestCallback): number; webkitRequestAnimationFrame(callback: FrameRequestCallba...
Add type definition for msRequestAnimationFrame
Add type definition for msRequestAnimationFrame
TypeScript
mit
minoki/singularity
typescript
## Code Before: /* * Copyright (c) 2015 ARATA Mizuki * This software is released under the MIT license. * See LICENSE.txt. */ module UIUtil { interface RAFWithVendorPrefix extends Window { mozRequestAnimationFrame(callback: FrameRequestCallback): number; webkitRequestAnimationFrame(callback: Fr...
7b42f66d5df4fb1d1c9a8a961527d59db2563aa9
Cargo.toml
Cargo.toml
[package] name = "vitral" version = "0.0.0" authors = ["Risto Saarelma <risto.saarelma@iki.fi>"] description = "Platform-agnostic immediate mode GUI" keywords = ["gui"] license = "MIT OR Apache-2.0" repository = "https://github.com/rsaarelm/vitral" [dependencies] euclid = "0.10" image = "0.10" time = "0.1" [dev-depen...
[package] name = "vitral" version = "0.1.0" authors = ["Risto Saarelma <risto.saarelma@iki.fi>"] description = "Platform-agnostic immediate mode GUI" keywords = ["gui", "vitral"] license = "MIT OR Apache-2.0" repository = "https://github.com/rsaarelm/vitral" [dependencies] euclid = "0.10" time = "0.1" [dev-dependenci...
Drop image dependency from main Vitral
Drop image dependency from main Vitral
TOML
agpl-3.0
rsaarelm/magog,rsaarelm/magog,rsaarelm/magog
toml
## Code Before: [package] name = "vitral" version = "0.0.0" authors = ["Risto Saarelma <risto.saarelma@iki.fi>"] description = "Platform-agnostic immediate mode GUI" keywords = ["gui"] license = "MIT OR Apache-2.0" repository = "https://github.com/rsaarelm/vitral" [dependencies] euclid = "0.10" image = "0.10" time = "...
61117868716166da7137fe6dfa688d39dac7f475
package.json
package.json
{ "author": "Justin Chase <justin@evolvelabs.com>", "contributors": [ "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", "Ben Noordhuis <info@bnoordhuis.nl>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "...
{ "author": "Justin Chase <justin@evolvelabs.com>", "contributors": [ "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", "Ben Noordhuis <info@bnoordhuis.nl>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "...
Increment version, update binaries string
Increment version, update binaries string
JSON
isc
EvolveLabs/electron-weak,EvolveLabs/electron-weak,EvolveLabs/electron-weak
json
## Code Before: { "author": "Justin Chase <justin@evolvelabs.com>", "contributors": [ "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", "Ben Noordhuis <info@bnoordhuis.nl>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and...
fa67a4abbb2e16ae9e4d92e61f6c791a1db40f90
Library/Formula/kdebase-runtime.rb
Library/Formula/kdebase-runtime.rb
require 'formula' class KdebaseRuntime <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.4.2/src/kdebase-runtime-4.4.2.tar.bz2' homepage '' md5 'd46fca58103624c28fcdf3fbd63262eb' depends_on 'cmake' => :build depends_on 'kde-phonon' depends_on 'oxygen-icons' def install phonon = Formula.factory 'kde-...
require 'formula' class KdebaseRuntime <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.5.2/src/kdebase-runtime-4.5.2.tar.bz2' homepage 'http://www.kde.org/' md5 '6503a445c52fc1055152d46fca56eb0a' depends_on 'cmake' => :build depends_on 'kde-phonon' depends_on 'oxygen-icons' def install phonon = Fo...
Update KDEBase Runtime to 1.4.0 and fix homepage.
Update KDEBase Runtime to 1.4.0 and fix homepage.
Ruby
bsd-2-clause
reelsense/homebrew,syhw/homebrew,dongcarl/homebrew,xcezx/homebrew,jpascal/homebrew,bcwaldon/homebrew,zhipeng-jia/homebrew,tylerball/homebrew,boshnivolo/homebrew,zchee/homebrew,pedromaltez-forks/homebrew,guoxiao/homebrew,slyphon/homebrew,rneatherway/homebrew,psibre/homebrew,whistlerbrk/homebrew,petemcw/homebrew,felixonm...
ruby
## Code Before: require 'formula' class KdebaseRuntime <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.4.2/src/kdebase-runtime-4.4.2.tar.bz2' homepage '' md5 'd46fca58103624c28fcdf3fbd63262eb' depends_on 'cmake' => :build depends_on 'kde-phonon' depends_on 'oxygen-icons' def install phonon = Formu...
c2975b319c7aff149f583cc546cecdc96ffb42a5
requirements.txt
requirements.txt
Cerberus==0.7.2 -e git+git@github.com:nicolaiarocci/eve.git@sqlalchemy#egg=Eve-sqlalchemy Eve-docs==0.1.4 Events==0.2.1 Flask==0.10.1 Flask-Bootstrap==3.2.0.2 Flask-PyMongo==0.3.0 Flask-SQLAlchemy==2.0 Flask-Script==2.0.5 Jinja2==2.7.3 MarkupSafe==0.23 SQLAlchemy==0.9.8 Werkzeug==0.9.6 argparse==1.2.1 itsdangerous==0.2...
Cerberus==0.7.2 -e git+git@github.com:Leonidaz0r/eve.git@b694957757c626a50a3f6e49eb44a93a4bb51e3d#egg=Eve-origin/sqlalchemy Eve-docs==0.1.4 Events==0.2.1 Flask==0.10.1 Flask-Bootstrap==3.2.0.2 Flask-PyMongo==0.3.0 Flask-SQLAlchemy==2.0 Flask-Script==2.0.5 Jinja2==2.7.3 MarkupSafe==0.23 SQLAlchemy==0.9.8 Werkzeug==0.9.6...
Use Conrad's fork of eve
Requirements: Use Conrad's fork of eve That fork has a patch to support mongo query documents in sqlalchemy lookup parameters
Text
agpl-3.0
amiv-eth/amivapi,amiv-eth/amivapi,amiv-eth/amivapi
text
## Code Before: Cerberus==0.7.2 -e git+git@github.com:nicolaiarocci/eve.git@sqlalchemy#egg=Eve-sqlalchemy Eve-docs==0.1.4 Events==0.2.1 Flask==0.10.1 Flask-Bootstrap==3.2.0.2 Flask-PyMongo==0.3.0 Flask-SQLAlchemy==2.0 Flask-Script==2.0.5 Jinja2==2.7.3 MarkupSafe==0.23 SQLAlchemy==0.9.8 Werkzeug==0.9.6 argparse==1.2.1 i...
2c62ce242bf027611c47c718ca65805e342002bc
content/W2015/W15-event-grad-info-session.md
content/W2015/W15-event-grad-info-session.md
Title: Academic Showcase and Mixer Date: 2015-02-04 17:30 Category: Events Tags: talks, academia, social Slug: research-showcase Author: Srishti Gupta Summary: Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Int...
Title: Research Showcase and Mixer Date: 2015-02-04 17:30 Category: Events Tags: talks, academia, social Slug: research-showcase Author: Srishti Gupta Summary: Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Int...
Rename 'Academic Showcase' -> 'Research Showcase'
Rename 'Academic Showcase' -> 'Research Showcase'
Markdown
agpl-3.0
claricen/website,claricen/website,ehashman/website-wics,claricen/website,fboxwala/website,fboxwala/website,arshiamufti/website,evykassirer/wics-website,annalorimer/website,annalorimer/website,ehashman/website-wics,arshiamufti/website,ehashman/website-wics,evykassirer/wics-website,annalorimer/website,fboxwala/website,ev...
markdown
## Code Before: Title: Academic Showcase and Mixer Date: 2015-02-04 17:30 Category: Events Tags: talks, academia, social Slug: research-showcase Author: Srishti Gupta Summary: Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research field...
e5aa94cfdd4fadcc87db3eee127f2f4f751ef6a7
templates/SilverStripe/Admin/Includes/CMSProfileController_Content.ss
templates/SilverStripe/Admin/Includes/CMSProfileController_Content.ss
<div id="settings-controller-cms-content" class="cms-content cms-tabset flexbox-area-grow fill-height $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content"> <div class="cms-content-header vertical-align-items"> <% with $EditForm %> <div class="cms-content-header-info flexbox-area-grow"> <% ...
<div id="settings-controller-cms-content" class="cms-content cms-tabset flexbox-area-grow fill-height $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content"> <div class="cms-content-header north vertical-align-items"> <% with $EditForm %> <div class="cms-content-header-info flexbox-area-grow ver...
FIX "My profile" title in CMS is now vertical centered as other LeftAndMain screens are
FIX "My profile" title in CMS is now vertical centered as other LeftAndMain screens are
Scheme
bsd-3-clause
silverstripe/silverstripe-admin,silverstripe/silverstripe-admin,silverstripe/silverstripe-admin
scheme
## Code Before: <div id="settings-controller-cms-content" class="cms-content cms-tabset flexbox-area-grow fill-height $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content"> <div class="cms-content-header vertical-align-items"> <% with $EditForm %> <div class="cms-content-header-info flexbox-are...
a9fa914057928d451ee5c9fb716b7782344c5ef2
app/views/administration/email_setups/edit.html.haml
app/views/administration/email_setups/edit.html.haml
- @title = t('.heading') = tls_warning(email_setup: true) %p= t('.domain.intro') - unless @domains.map { |d| d['name'] }.include?(Site.current.host) .alert.alert-warning %h4 = icon 'fa fa-warning' = t('.domain_missing.heading') = t('.domain_missing.message_html', domain: Site.current.host) = f...
- @title = t('.heading') = tls_warning(email_setup: true) %p= t('.domain.intro') - unless @domains.map { |d| d['name'] }.include?(Site.current.host) .alert.alert-warning %h4 = icon 'fa fa-warning' = t('.domain_missing.heading') = t('.domain_missing.message_html', domain: Site.current.host) = f...
Select current site's domain by default
Select current site's domain by default
Haml
agpl-3.0
mattraykowski/onebody,fadiwissa/onebody,mattraykowski/onebody,mattraykowski/onebody,fadiwissa/onebody,fadiwissa/onebody,hschin/onebody,hschin/onebody,hschin/onebody,fadiwissa/onebody,mattraykowski/onebody,hschin/onebody
haml
## Code Before: - @title = t('.heading') = tls_warning(email_setup: true) %p= t('.domain.intro') - unless @domains.map { |d| d['name'] }.include?(Site.current.host) .alert.alert-warning %h4 = icon 'fa fa-warning' = t('.domain_missing.heading') = t('.domain_missing.message_html', domain: Site.cu...
473471c230a0d83dcc770733bdd8ea4b18a6e88c
packages/as/ascii-char.yaml
packages/as/ascii-char.yaml
homepage: https://github.com/typeclasses/ascii changelog-type: text hash: 32e4cd4085a3fd5525474bafebafd739fc508e695a4ba77e5b3462b82d2576f4 test-bench-deps: {} maintainer: Chris Martin, Julie Moronuki synopsis: A Char type representing an ASCII character changelog: | 1.0.0.0 - 2020-05-05 - Initial release 1.0.0.2 - ...
homepage: https://github.com/typeclasses/ascii changelog-type: text hash: 3bf5a7442651317c31e755ad7bd4cf93ef8d0178570b2fafff3b4a88ebaa1a18 test-bench-deps: {} maintainer: Chris Martin, Julie Moronuki synopsis: A Char type representing an ASCII character changelog: | 1.0.0.0 - 2020-05-05 - Initial release 1.0.0.2 -...
Update from Hackage at 2021-01-28T06:17:06Z
Update from Hackage at 2021-01-28T06:17:06Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/typeclasses/ascii changelog-type: text hash: 32e4cd4085a3fd5525474bafebafd739fc508e695a4ba77e5b3462b82d2576f4 test-bench-deps: {} maintainer: Chris Martin, Julie Moronuki synopsis: A Char type representing an ASCII character changelog: | 1.0.0.0 - 2020-05-05 - Initial rele...
ebdcdd54a0a2c5abd8e4c4ead5b846bbb4cbdef6
pyproject.toml
pyproject.toml
[build-system] requires = [ "setuptools == 41.0.0", # See https://github.com/pypa/setuptools/issues/1869 "setuptools_scm >= 1.15.0", "setuptools_scm_git_archive >= 1.0", "wheel", ] build-backend = "setuptools.build_meta"
[build-system] requires = [ "setuptools >= 41.4.0", "setuptools_scm >= 1.15.0", "setuptools_scm_git_archive >= 1.0", "wheel", ] build-backend = "setuptools.build_meta"
Use the latest setuptools with PEP517
Use the latest setuptools with PEP517
TOML
mit
willthames/ansible-lint
toml
## Code Before: [build-system] requires = [ "setuptools == 41.0.0", # See https://github.com/pypa/setuptools/issues/1869 "setuptools_scm >= 1.15.0", "setuptools_scm_git_archive >= 1.0", "wheel", ] build-backend = "setuptools.build_meta" ## Instruction: Use the latest setuptools with PEP517 ## Code After: [bu...
7a960e1e57f69ec812a4eddab21c231df39b53e0
_sass/footer.sass
_sass/footer.sass
.footer background-color: $color-theme-4 color: $color-grey-1 font-size: 0.75rem position: absolute bottom: 0 width: 100% .wrapper padding: 1rem a border-bottom: 1px dotted color: $color-grey-3 text-decoration: none a:hover border-bottom: 1p...
.footer background-color: $color-theme-4 color: $color-grey-1 font-size: 0.75rem position: absolute bottom: 0 width: 100% .wrapper padding: 1rem a border-bottom: 1px dotted color: $color-grey-3 text-decoration: none a:hover border-bottom: 1p...
Use Variable for Screen Width instead of Fixed Value
Use Variable for Screen Width instead of Fixed Value
Sass
mit
pfolta/peterfolta.net,pfolta/peterfolta.net,pfolta/peterfolta.net
sass
## Code Before: .footer background-color: $color-theme-4 color: $color-grey-1 font-size: 0.75rem position: absolute bottom: 0 width: 100% .wrapper padding: 1rem a border-bottom: 1px dotted color: $color-grey-3 text-decoration: none a:hover b...
963857463cd706260667995bd8817bd2facea5f0
setup.py
setup.py
from setuptools import setup, find_packages tests_require=[ 'nose', 'mock', ] setup( name="sunspear", license='Apache License 2.0', version="0.1.0a", description="Activity streams backed by Riak.", zip_safe=False, long_description=open('README.rst', 'r').read(), author="Numan Sach...
from setuptools import setup, find_packages tests_require=[ 'nose', 'mock', ] setup( name="sunspear", license='Apache License 2.0', version="0.1.0a", description="Activity streams backed by Riak.", zip_safe=False, long_description=open('README.rst', 'r').read(), author="Numan Sach...
Include the official nydus release
Include the official nydus release
Python
apache-2.0
numan/sunspear
python
## Code Before: from setuptools import setup, find_packages tests_require=[ 'nose', 'mock', ] setup( name="sunspear", license='Apache License 2.0', version="0.1.0a", description="Activity streams backed by Riak.", zip_safe=False, long_description=open('README.rst', 'r').read(), au...
fc9b6c96294c08f95e266ee1bcb1463c515a8687
Formula/modelgen.rb
Formula/modelgen.rb
class Modelgen < Formula desc "Swift CLI to generate Models based on a JSON Schema and a template." homepage "https://github.com/hebertialmeida/ModelGen" url "https://github.com/hebertialmeida/ModelGen.git", :tag => "0.3.0", :revision => "22ca2343cd65a4df4a039eef004ba5a75a0609fc" head "https://githu...
class Modelgen < Formula desc "Swift CLI to generate Models based on a JSON Schema and a template." homepage "https://github.com/hebertialmeida/ModelGen" url "https://github.com/hebertialmeida/ModelGen.git", :tag => "0.4.0", :revision => "22ca2343cd65a4df4a039eef004ba5a75a0609fc" head "https://githu...
Update formula to build with SPM
Update formula to build with SPM
Ruby
mit
hebertialmeida/ModelGen,hebertialmeida/ModelGen,hebertialmeida/ModelGen,hebertialmeida/ModelGen
ruby
## Code Before: class Modelgen < Formula desc "Swift CLI to generate Models based on a JSON Schema and a template." homepage "https://github.com/hebertialmeida/ModelGen" url "https://github.com/hebertialmeida/ModelGen.git", :tag => "0.3.0", :revision => "22ca2343cd65a4df4a039eef004ba5a75a0609fc" hea...
75a01e8536556ce2f1811aec1176d8601cb2ebf5
app/src/main/java/es/craftsmanship/toledo/katangapp/activities/ShowStopsActivity.java
app/src/main/java/es/craftsmanship/toledo/katangapp/activities/ShowStopsActivity.java
package es.craftsmanship.toledo.katangapp.activities; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; /** * @author Cristóbal Hermida */ public class ShowStopsActivity extends AppCompatActivity { @Override protected v...
package es.craftsmanship.toledo.katangapp.activities; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; /** * @author Cristóbal Hermida */ public class ShowStopsActivity extends AppCompatActivity { @Override protected v...
Use the stops list in the toast result
Use the stops list in the toast result
Java
apache-2.0
craftsmanship-toledo/katangapp-android
java
## Code Before: package es.craftsmanship.toledo.katangapp.activities; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Toast; /** * @author Cristóbal Hermida */ public class ShowStopsActivity extends AppCompatActivity { @Override...
97b844c7a04d44ae050dea0a805bde3c32f22c09
Extension/ProfilerExtension.php
Extension/ProfilerExtension.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Twig\Extension; use Symfony\Component\Stopwatch\Stopwatc...
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Twig\Extension; use Symfony\Component\Stopwatch\Stopwatc...
Add generic types to traversable implementations
Add generic types to traversable implementations
PHP
mit
symfony/TwigBridge,symfony/twig-bridge
php
## Code Before: <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bridge\Twig\Extension; use Symfony\Component\St...
b4a32bc84e2e23043dbc33b2bded0ea9ddcd13e7
packages/core/admin/ee/server/routes/index.js
packages/core/admin/ee/server/routes/index.js
'use strict'; // eslint-disable-next-line node/no-extraneous-require const { features } = require('@strapi/strapi/lib/utils/ee'); const featuresRoutes = require('./features-routes'); const getFeaturesRoutes = () => { return Object.entries(featuresRoutes).flatMap(([featureName, featureRoutes]) => { if (features....
'use strict'; // eslint-disable-next-line node/no-extraneous-require const { features } = require('@strapi/strapi/lib/utils/ee'); const featuresRoutes = require('./features-routes'); const getFeaturesRoutes = () => { return Object.entries(featuresRoutes).flatMap(([featureName, featureRoutes]) => { if (features....
Fix error registring admin EE routes when feature is disabled
Fix error registring admin EE routes when feature is disabled
JavaScript
mit
wistityhq/strapi,wistityhq/strapi
javascript
## Code Before: 'use strict'; // eslint-disable-next-line node/no-extraneous-require const { features } = require('@strapi/strapi/lib/utils/ee'); const featuresRoutes = require('./features-routes'); const getFeaturesRoutes = () => { return Object.entries(featuresRoutes).flatMap(([featureName, featureRoutes]) => { ...
52b0b44449952398e59147730e3fae6c8d2f0508
packages/gzip/gzip_1.3.5.bb
packages/gzip/gzip_1.3.5.bb
LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <greg@treke.net>" DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ to be a replacement for 'compress'. The GNU Project uses it as \ the standard compression program for its system." SRC_URI = "${DEBIAN_MIRROR}/m...
LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <greg@treke.net>" DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ to be a replacement for 'compress'. The GNU Project uses it as \ the standard compression program for its system." PR = "r1" SRC_URI = "${DEBIAN...
Update to follow the FHS and use update-alternatives for gzip, gunzip and zcat
Update to follow the FHS and use update-alternatives for gzip, gunzip and zcat
BitBake
mit
Martix/Eonos,nx111/openembeded_openpli2.1_nx111,YtvwlD/od-oe,mrchapp/arago-oe-dev,JamesAng/oe,philb/pbcl-oe-2010,demsey/openenigma2,JamesAng/goe,xifengchuo/openembedded,JamesAng/oe,anguslees/openembedded-android,buglabs/oe-buglabs,John-NY/overo-oe,philb/pbcl-oe-2010,anguslees/openembedded-android,troth/oe-ts7xxx,JrCs/o...
bitbake
## Code Before: LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <greg@treke.net>" DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ to be a replacement for 'compress'. The GNU Project uses it as \ the standard compression program for its system." SRC_URI = "${...
6b209f83ddf6f287817d0e9842d1aae3a27fec87
poradnia/users/templates/users/user_list.html
poradnia/users/templates/users/user_list.html
{% extends "users/base.html" %} {% load static i18n avatar_tags %} {% block title %}{% trans 'Users index'%}{% endblock %} {% block breadcrumbs_rows%} <li class="active">{% trans 'Users index'%}</li> {% endblock %} {% block extra_css%} <style> .staff { background-color: #FF7474; } </style> {%endblock%} {% bl...
{% extends "users/base.html" %} {% load static i18n avatar_tags %} {% block title %}{% trans 'Users index'%}{% endblock %} {% block breadcrumbs_rows%} <li class="active">{% trans 'Users index'%}</li> {% endblock %} {% block extra_css%} <style> .staff { background-color: #FF7474; } </style> {%endblock%} {% bl...
Fix width of list of users
Fix width of list of users
HTML
mit
watchdogpolska/poradnia.siecobywatelska.pl,watchdogpolska/poradnia,rwakulszowa/poradnia,rwakulszowa/poradnia,watchdogpolska/poradnia.siecobywatelska.pl,rwakulszowa/poradnia,watchdogpolska/poradnia,watchdogpolska/poradnia,rwakulszowa/poradnia,watchdogpolska/poradnia.siecobywatelska.pl,watchdogpolska/poradnia
html
## Code Before: {% extends "users/base.html" %} {% load static i18n avatar_tags %} {% block title %}{% trans 'Users index'%}{% endblock %} {% block breadcrumbs_rows%} <li class="active">{% trans 'Users index'%}</li> {% endblock %} {% block extra_css%} <style> .staff { background-color: #FF7474; } </style> {%...
181c49b40525fe955c2ab35826a3d223888d671c
deploy.sh
deploy.sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" apt-get install -y curl lynx vim apt-get install -y python3 python3-requests python3-lxml python3-unidecode apt-get install -y libwrap0-dev cp -R $DIR/hn-gopher/var/* /var/ cp -R $DIR/hn-gopher/bin/* /usr/local/bin/ cp -R $DIR/hn-gopher/etc/cron.d/* /etc/cron.d...
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" apt-get install -y curl lynx vim apt-get install -y python3 python3-requests python3-lxml python3-unidecode apt-get install -y libwrap0-dev cp -R $DIR/hn-gopher/var/* /var/ cp -R $DIR/hn-gopher/bin/* /usr/local/bin/ cp -R $DIR/hn-gopher/etc/cron.d/* /etc/cron.d...
Add the default gopher-counter file
Add the default gopher-counter file
Shell
agpl-3.0
michael-lazar/hn-gopher,michael-lazar/hn-gopher,michael-lazar/hn-gopher
shell
## Code Before: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" apt-get install -y curl lynx vim apt-get install -y python3 python3-requests python3-lxml python3-unidecode apt-get install -y libwrap0-dev cp -R $DIR/hn-gopher/var/* /var/ cp -R $DIR/hn-gopher/bin/* /usr/local/bin/ cp -R $DIR/hn-gopher/etc/cron...
aa3264bed97ffd5045a26544b56e0e714c328d22
src/main/scala/scalan/meta/BoilerplateTool.scala
src/main/scala/scalan/meta/BoilerplateTool.scala
/** * User: Alexander Slesarenko * Date: 12/1/13 */ package scalan.meta object BoilerplateTool extends App { val defConf = CodegenConfig.default val scalanConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan/src", entityFiles = List( "main/scala/scalan/trees/Trees.scala" , "mai...
/** * User: Alexander Slesarenko * Date: 12/1/13 */ package scalan.meta object BoilerplateTool extends App { val defConf = CodegenConfig.default val scalanConfig = defConf.copy( srcPath = "../scalan/src", entityFiles = List( "main/scala/scalan/trees/Trees.scala", "main/scala/scalan/math/Mat...
Fix paths, use Scalan for generation
Fix paths, use Scalan for generation
Scala
apache-2.0
PCMNN/scalan-ce,PCMNN/scalan-ce,scalan/scalan,PCMNN/scalan-ce,scalan/scalan,scalan/scalan
scala
## Code Before: /** * User: Alexander Slesarenko * Date: 12/1/13 */ package scalan.meta object BoilerplateTool extends App { val defConf = CodegenConfig.default val scalanConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan/src", entityFiles = List( "main/scala/scalan/trees/Trees.sca...
ae7b10aebb359bc9bf07805a42ea892409cb6fde
popup.js
popup.js
document.addEventListener('DOMContentLoaded', function() { getSource(); }); function getSource() { document.getElementById('source').innerText = "Loading"; chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { chrome.tabs.sendMessage(tabs[0].id, {greeting: "GetEmailSource"}, function(response) {...
document.addEventListener('DOMContentLoaded', function() { document.getElementById('source').addEventListener('click', function() { this.focus(); this.select(); }); getSource(); }); function getSource() { document.getElementById('source').innerText = "Loading"; chrome.tabs.query({active: true, currentWindow:...
Select textarea contents on click
Select textarea contents on click
JavaScript
mit
jammaloo/decode-gmail,jammaloo/decode-gmail,jammaloo/decode-gmail
javascript
## Code Before: document.addEventListener('DOMContentLoaded', function() { getSource(); }); function getSource() { document.getElementById('source').innerText = "Loading"; chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { chrome.tabs.sendMessage(tabs[0].id, {greeting: "GetEmailSource"}, func...
6d3e254b86e1ab9a9804692f1b36ba88e52ecc65
composer.json
composer.json
{ "name": "taluu/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "clavie.b@gmail.com", "homepage": "http://baptiste.xn--clavi-fsa.net/", ...
{ "name": "wisembly/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "clavie.b@gmail.com", "homepage": "http://baptiste.xn--clavi-fsa.net/", ...
Change package name to wisembly/totem
Change package name to wisembly/totem
JSON
mit
Taluu/Totem,Wisembly/Totem
json
## Code Before: { "name": "taluu/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "clavie.b@gmail.com", "homepage": "http://baptiste.xn--clav...
84ed377e3edc1fb8f59c9bd32bc75076939aab90
unity/Assets/StreamingAssets/content/MoM/base/content_pack.ini
unity/Assets/StreamingAssets/content/MoM/base/content_pack.ini
; content packs include a content header ini which has: [ContentPack] name={ffg:PRODUCT_TITLE_MAD20} ; Optional description description=Base Game, required to play [PackTypebox] name={pck:BOXED} image="{import}/img/MAD23.dds" [PackTypeft] name={pck:FANDT} image="{import}/img/MAD21.dds" [PackTypeck] name={pck:CK} im...
; content packs include a content header ini which has: [ContentPack] name={ffg:PRODUCT_TITLE_MAD20} ; Optional description description=Base Game, required to play [PackTypebox] name={pck:BOXED} image="{import}/img/MAD23.dds" [PackTypeft] name={pck:FANDT} image="{import}/img/MAD21.dds" [PackTypeck] name={pck:CK} im...
Add Polish support to MoM pack descriptions.
Add Polish support to MoM pack descriptions.
INI
apache-2.0
NPBruce/valkyrie,NPBruce/valkyrie,NPBruce/valkyrie
ini
## Code Before: ; content packs include a content header ini which has: [ContentPack] name={ffg:PRODUCT_TITLE_MAD20} ; Optional description description=Base Game, required to play [PackTypebox] name={pck:BOXED} image="{import}/img/MAD23.dds" [PackTypeft] name={pck:FANDT} image="{import}/img/MAD21.dds" [PackTypeck] ...
b1251ac53e82f5e89e3c3c23a6ac96984a107b89
src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql
src/SFA.DAS.EAS.Employer_Financial.Database/Script.PreDeployment1.sql
/* Pre-Deployment Script Template -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment script. Example: :r .\myfile.sql ...
/* Pre-Deployment Script Template -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment script. Example: :r .\myfile.sql ...
Add seed data for new column
Add seed data for new column
SQL
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
sql
## Code Before: /* Pre-Deployment Script Template -------------------------------------------------------------------------------------- This file contains SQL statements that will be executed before the build script. Use SQLCMD syntax to include a file in the pre-deployment script. Example: :r .\m...
015f6ee8428ea887493fd3a4a7cbcf597049b305
src/Lidsys/User/Controller/views/password/index.html
src/Lidsys/User/Controller/views/password/index.html
Logging you out...
<form ng-submit="processPasswordChange($event)"> <div class="row"> <div class="large-2 medium-2 columns"> &nbsp; </div> <div class="large-5 medium-6 columns"> <div class="row"> <div class="large-12 columns"> <h2>Change Password</h2>...
Revert accidentally modified password change template
Revert accidentally modified password change template
HTML
bsd-3-clause
lightster/lidsys-web,lightster/lidsys-web,lightster/lidsys-web,lightster/lidsys-web
html
## Code Before: Logging you out... ## Instruction: Revert accidentally modified password change template ## Code After: <form ng-submit="processPasswordChange($event)"> <div class="row"> <div class="large-2 medium-2 columns"> &nbsp; </div> <div class="large-5 medium-6 columns">...
7575ab9ae17bfe77c8207f1b296b58c558c3b0c2
README.md
README.md
This repo provides CSS for sites created with [Markdown](http://daringfireball.net/projects/markdown/). ## Styles - [Basic dark](/basic/dark/) - [Basic light](/basic/light/) - [Solarized dark](/solarized/dark/) ## Local demo or development You will need [Node.js](http://nodejs.org/) and [Python 3](https://www....
This repo provides CSS for sites created with [Markdown](http://daringfireball.net/projects/markdown/). ## Styles - [Basic dark](/basic/dark/) - [Basic light](/basic/light/) - [Solarized dark](/solarized/dark/) ## Firefox If you use [Firefox](https://www.mozilla.org/en-GB/firefox/desktop/) then you can try the...
Add Firefox alternate stylesheet notes
Add Firefox alternate stylesheet notes
Markdown
mit
MattMS/css.mattms.info
markdown
## Code Before: This repo provides CSS for sites created with [Markdown](http://daringfireball.net/projects/markdown/). ## Styles - [Basic dark](/basic/dark/) - [Basic light](/basic/light/) - [Solarized dark](/solarized/dark/) ## Local demo or development You will need [Node.js](http://nodejs.org/) and [Python...
43760503e7fa3690d8f1719af4e745585bf0fb58
web/react/package.json
web/react/package.json
{ "name": "mattermost", "version": "0.0.1", "private": true, "dependencies": { "autolinker": "0.18.1", "babel-runtime": "5.8.24", "bootstrap-colorpicker": "2.2.0", "flux": "2.1.1", "keymirror": "0.1.1", "marked": "0.3.5", "object-assign": "3.0.0", "react-zeroclipboard-mixin": "0....
{ "name": "mattermost", "version": "0.0.1", "private": true, "dependencies": { "autolinker": "0.18.1", "babel-runtime": "5.8.24", "bootstrap-colorpicker": "2.2.0", "flux": "2.1.1", "keymirror": "0.1.1", "marked": "0.3.5", "object-assign": "3.0.0", "twemoji": "1.4.1" }, "devDe...
Remove npm reference to unused zeroclipboard.
Remove npm reference to unused zeroclipboard.
JSON
agpl-3.0
cadecairos/mattermoz,TSlean/platform,numericube/platform,tbolon/platform,xogeny/platform,cyanlime/platform,tbolon/platform,TSlean/platform,tbalthazar/platform,fosstp/platform,samogot/platform,ninja-/platform,ttyniwa/platform,rahulltkr/platform,trashcan/platform,npcode/platform,ttyniwa/platform,kernicPanel/platform,apaa...
json
## Code Before: { "name": "mattermost", "version": "0.0.1", "private": true, "dependencies": { "autolinker": "0.18.1", "babel-runtime": "5.8.24", "bootstrap-colorpicker": "2.2.0", "flux": "2.1.1", "keymirror": "0.1.1", "marked": "0.3.5", "object-assign": "3.0.0", "react-zeroclipb...
8dcf57de092b6a96f05593515021b4d993072525
themes/default/base/section-h1-h6.scss
themes/default/base/section-h1-h6.scss
// Represent headings and subheadings. // // These elements rank in importance according to the number in their name. // // The h1 element is said to have the highest rank, // the h6 element has the lowest rank, and two elements with the same name // have equal rank. // // Url - http://html5doctor.com/element-index/#h...
// Represent headings and subheadings. // // These elements rank in importance according to the number in their name. // // The h1 element is said to have the highest rank, // the h6 element has the lowest rank, and two elements with the same name // have equal rank. // // Url - http://html5doctor.com/element-index/#h...
Add missing default font-size for headings
Add missing default font-size for headings
SCSS
mit
ideatosrl/frontsize-sass,ideatosrl/frontsize
scss
## Code Before: // Represent headings and subheadings. // // These elements rank in importance according to the number in their name. // // The h1 element is said to have the highest rank, // the h6 element has the lowest rank, and two elements with the same name // have equal rank. // // Url - http://html5doctor.com/...
0e400f1bb6e090f7a138ccb56c8cb99519cff38a
ngrinder-controller/src/main/resources/script_template/basic_template.ftl
ngrinder-controller/src/main/resources/script_template/basic_template.ftl
from net.grinder.script.Grinder import grinder from net.grinder.script import Test from net.grinder.plugin.http import HTTPRequest test1 = Test(1, "Test1") request1 = test1.wrap(HTTPRequest()) class TestRunner: def __call__(self): result = request1.GET("${url}") # result is a HTTPClient.HTTPResult. We get the m...
from net.grinder.script.Grinder import grinder from net.grinder.script import Test from net.grinder.plugin.http import HTTPRequest test1 = Test(1, "Test1") request1 = test1.wrap(HTTPRequest()) class TestRunner: def __call__(self): result = request1.GET("${url}") # result is a HTTPClient.HTTPResult. # We get ...
Enhance script template - Make it UTF-8 compatible. - Provide logger and getText() example
Enhance script template - Make it UTF-8 compatible. - Provide logger and getText() example
FreeMarker
apache-2.0
SRCB-CloudPart/ngrinder,bwahn/ngrinder,SRCB-CloudPart/ngrinder,chengaomin/ngrinder,bwahn/ngrinder,bwahn/ngrinder,naver/ngrinder,nanpa83/ngrinder,SRCB-CloudPart/ngrinder,chengaomin/ngrinder,ropik/ngrinder,chengaomin/ngrinder,GwonGisoo/ngrinder,ropik/ngrinder,naver/ngrinder,naver/ngrinder,songeunwoo/ngrinder,songeunwoo/n...
freemarker
## Code Before: from net.grinder.script.Grinder import grinder from net.grinder.script import Test from net.grinder.plugin.http import HTTPRequest test1 = Test(1, "Test1") request1 = test1.wrap(HTTPRequest()) class TestRunner: def __call__(self): result = request1.GET("${url}") # result is a HTTPClient.HTTPResu...
6ca17cf2cda01dadb23bff500e8eeb7504de553e
emacs/jbarnette.el
emacs/jbarnette.el
(put 'erase-buffer 'disabled nil) (global-set-key (kbd "C-x f") 'find-file-at-point) (global-set-key (kbd "C-x m") 'magit-status) (global-set-key (kbd "M-s") 'fixup-whitespace) (add-hook 'ruby-mode-hook 'ruby-electric-mode) (setenv "PAGER" "/bin/cat") (server-start)
(put 'erase-buffer 'disabled nil) (global-set-key (kbd "C-x f") 'find-file-at-point) (global-set-key (kbd "C-x m") 'magit-status) (global-set-key (kbd "M-s") 'fixup-whitespace) (add-hook 'ruby-mode-hook 'ruby-electric-mode) (defun copy-from-osx () (shell-command-to-string "pbpaste")) (defun paste-to-osx (text &...
Integrate cut/copy/paste with the OS.
Integrate cut/copy/paste with the OS.
Emacs Lisp
mit
tsnow/dotfiles,tsnow/dotfiles,tsnow/dotfiles
emacs-lisp
## Code Before: (put 'erase-buffer 'disabled nil) (global-set-key (kbd "C-x f") 'find-file-at-point) (global-set-key (kbd "C-x m") 'magit-status) (global-set-key (kbd "M-s") 'fixup-whitespace) (add-hook 'ruby-mode-hook 'ruby-electric-mode) (setenv "PAGER" "/bin/cat") (server-start) ## Instruction: Integrate cut/c...
7ff78732026a67e5ade6731cb7d9e33bfd8283b0
SeriesGuide/res/layout/update_notification.xml
SeriesGuide/res/layout/update_notification.xml
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" > <ImageView android:id="@+id/image" andr...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" > <ImageView android:id="@+id/image" andr...
Make notification text single line.
Make notification text single line.
XML
apache-2.0
artemnikitin/SeriesGuide,UweTrottmann/SeriesGuide,hoanganhx86/SeriesGuide,epiphany27/SeriesGuide,UweTrottmann/SeriesGuide,r00t-user/SeriesGuide,0359xiaodong/SeriesGuide
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" > <ImageView android:id="@+id/image" ...
326c682cccb5a963d0c4625d7354e29d57f26d3b
README.md
README.md
A minimalist application to support [bottlejs](https://github.com/young-steveo/bottlejs) dependency injection through a simple configuration file. ## Configuration format All you need is to declare a simple JS file with the following format: ``` import MyFirstService from './my-first-service'; import MySecondService...
A minimalist application to support [bottlejs](https://github.com/young-steveo/bottlejs) dependency injection through a simple configuration file. ## Configuration format All you need is to declare a simple JS file with the following format: ``` import MyFirstService from './my-first-service'; import MySecondService...
Add parameter example in readme
Add parameter example in readme
Markdown
mit
rouflak/barmanjs
markdown
## Code Before: A minimalist application to support [bottlejs](https://github.com/young-steveo/bottlejs) dependency injection through a simple configuration file. ## Configuration format All you need is to declare a simple JS file with the following format: ``` import MyFirstService from './my-first-service'; import...
da4e577306c8e56a1caf1cac2fbea49003a1e720
apiary.apib
apiary.apib
FORMAT: 1A HOST: https://neighbor.ly/api/ # Neighbor.ly Here you will find how to integrate an application with Neighbor.ly. Check our [Dashboard source code](https://github.com/neighborly/neighborly-dashboard) for a real use case. # Sessions Your first stop when integrating with Neighborly. For a lot of endpoints, y...
FORMAT: 1A HOST: https://neighbor.ly/api/ # Neighbor.ly Here you will find how to integrate an application with Neighbor.ly. Check our [Dashboard source code](https://github.com/neighborly/neighborly-dashboard) for a real use case. # Sessions Your first stop when integrating with Neighborly. For a lot of endpoints, y...
Add body section to create a new session
[DOC] Add body section to create a new session
API Blueprint
mit
FromUte/dune-api
api-blueprint
## Code Before: FORMAT: 1A HOST: https://neighbor.ly/api/ # Neighbor.ly Here you will find how to integrate an application with Neighbor.ly. Check our [Dashboard source code](https://github.com/neighborly/neighborly-dashboard) for a real use case. # Sessions Your first stop when integrating with Neighborly. For a lot...
0afe2cb0252cdef6a2297fe2de9b746186b062e1
app/assets/stylesheets/petitions/admin/views/_shared.scss
app/assets/stylesheets/petitions/admin/views/_shared.scss
.admin { #content { margin-top: $gutter-half; } .flash_error, .flash-notice { background-color: $flash-green; padding: $gutter-half; @include bold-19; } .reject-flash-notice { background-color: $flash-blue; padding: $gutter-half; margin: 5px 0; } .search-petitions { ma...
.admin { #content { margin-top: $gutter-half; } .flash_error, .flash-notice { background-color: $flash-green; padding: $gutter-half; @include bold-19; } .reject-flash-notice { background-color: $flash-blue; padding: $gutter-half; margin: 5px 0; } .search-petitions { ma...
Remove bottom margin from character counter element
Remove bottom margin from character counter element Because the element is floated to the right then the vertical margin doesn't collapse leading to excessive white space between form rows. Removing the margin from the bottom of the character counter fixes the problem.
SCSS
mit
alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,telekomatrix/e-petitions,telekomatrix/e-petitions,joelanman/e-petition...
scss
## Code Before: .admin { #content { margin-top: $gutter-half; } .flash_error, .flash-notice { background-color: $flash-green; padding: $gutter-half; @include bold-19; } .reject-flash-notice { background-color: $flash-blue; padding: $gutter-half; margin: 5px 0; } .search-pe...
9ee1f34d362316381c9cbc0d030ce20af98af43a
docs/install/run-the-kit.md
docs/install/run-the-kit.md
You’ll use the terminal to start and stop the kit. ## Open the prototype folder in terminal In terminal, navigate to your prototype folder. ## Running the kit In terminal: ``` npm start ``` After the kit has started, you should see a message telling you that the kit is running: ``` Listening on port 3000 url: htt...
You’ll use the terminal to start and stop the kit. ## Open the prototype folder in terminal In terminal, navigate to your prototype folder. ## Running the kit In terminal: ``` npm start ``` After the kit has started, you should see a message telling you that the kit is running: ``` Listening on port 3000 url: htt...
Make link to running kit open in new window
Make link to running kit open in new window
Markdown
mit
davedark/proto-timeline,joelanman/govuk_prototype_kit,nhsbsa/ppc-prototype,OrcaTom/dwp_contentpatterns,abbott567/govuk_prototype_kit,dwpdigitaltech/ejs-prototype,companieshouse/ch-accounts-prototype,quis/notify-public-research-prototype,Demwunz/esif-prototype,benjeffreys/hmcts-idam-proto,kenmaddison-scc/verify-local-pa...
markdown
## Code Before: You’ll use the terminal to start and stop the kit. ## Open the prototype folder in terminal In terminal, navigate to your prototype folder. ## Running the kit In terminal: ``` npm start ``` After the kit has started, you should see a message telling you that the kit is running: ``` Listening on po...
d813fbff3f82745360b44a099b3afd789beb5b0d
.travis.yml
.travis.yml
language: node_js install: - npm install koa - npm install node_js: - "4" - "6" - "8"
language: node_js install: - npm install koa - npm install node_js: - "8"
Test only on node 8 (need async/await)
Test only on node 8 (need async/await)
YAML
mit
simonratner/koa-acme
yaml
## Code Before: language: node_js install: - npm install koa - npm install node_js: - "4" - "6" - "8" ## Instruction: Test only on node 8 (need async/await) ## Code After: language: node_js install: - npm install koa - npm install node_js: - "8"
29a4a9bf964918c5903343823966a1033e799854
lib/recliner/view_functions.rb
lib/recliner/view_functions.rb
module Recliner module ViewFunctions class ViewFunction class_inheritable_accessor :definition def initialize(body) if body =~ /^\s*function/ @body = body else @body = "#{self.class.definition} { #{body} }" end end def to_s @bod...
module Recliner module ViewFunctions class ViewFunction class_inheritable_accessor :definition def initialize(body) if body =~ /^\s*function/ @body = body else @body = "#{self.class.definition} { #{body} }" end end def to_s "\"#...
Fix JSON serialization of view functions
Fix JSON serialization of view functions
Ruby
mit
spohlenz/recliner
ruby
## Code Before: module Recliner module ViewFunctions class ViewFunction class_inheritable_accessor :definition def initialize(body) if body =~ /^\s*function/ @body = body else @body = "#{self.class.definition} { #{body} }" end end def t...
d11925eb67a22ba7fd480d12211804ecb880cfe7
provisioning/roles/cuttlefish-app/tasks/main.yml
provisioning/roles/cuttlefish-app/tasks/main.yml
--- - name: Ensure that deploy owns /srv/www file: owner=deploy group=deploy path=/srv/www state=directory - name: Ensure that /srv/www/shared exists file: path=/srv/www/shared owner=deploy group=deploy state=directory - name: Ensure git is installed apt: pkg=git - name: Install bits for compiling mysql client...
--- - name: Ensure that deploy owns /srv/www file: owner=deploy group=deploy path=/srv/www state=directory - name: Ensure that /srv/www/shared exists file: path=/srv/www/shared owner=deploy group=deploy state=directory - name: Ensure git is installed apt: pkg=git - name: Install bits for compiling mysql client...
Allow deploy to do sudo foreman export without password
Allow deploy to do sudo foreman export without password
YAML
agpl-3.0
idlweb/cuttlefish,pratyushmittal/cuttlefish,idlweb/cuttlefish,idlweb/cuttlefish,pratyushmittal/cuttlefish,idlweb/cuttlefish,pratyushmittal/cuttlefish,pratyushmittal/cuttlefish
yaml
## Code Before: --- - name: Ensure that deploy owns /srv/www file: owner=deploy group=deploy path=/srv/www state=directory - name: Ensure that /srv/www/shared exists file: path=/srv/www/shared owner=deploy group=deploy state=directory - name: Ensure git is installed apt: pkg=git - name: Install bits for compil...
1726a73b81c8a7dfc3610690fe9272776e930f0f
aero/adapters/bower.py
aero/adapters/bower.py
__author__ = 'oliveiraev' __all__ = ['Bower'] from re import sub from re import split from aero.__version__ import enc from .base import BaseAdapter class Bower(BaseAdapter): """ Twitter Bower - Browser package manager - Adapter """ def search(self, query): return {} response = self....
__author__ = 'oliveiraev' __all__ = ['Bower'] from re import sub from re import split from aero.__version__ import enc from .base import BaseAdapter class Bower(BaseAdapter): """ Twitter Bower - Browser package manager - Adapter """ def search(self, query): response = self.command('search', q...
Simplify return while we're at it
Simplify return while we're at it
Python
bsd-3-clause
Aeronautics/aero
python
## Code Before: __author__ = 'oliveiraev' __all__ = ['Bower'] from re import sub from re import split from aero.__version__ import enc from .base import BaseAdapter class Bower(BaseAdapter): """ Twitter Bower - Browser package manager - Adapter """ def search(self, query): return {} ...
fe70897411c2109d1cbc725068e96ae177dfdbb9
lib/composition/node/subelm/index.js
lib/composition/node/subelm/index.js
var Deffy = require("deffy") function SubElm(data, parent) { this.name = data.name; this.label = Deffy(data.label, this.name); this.type = data.type; this.id = [this.type, parent.name, this.name].join("_"); } module.exports = SubElm;
var Deffy = require("deffy") , Typpy = require("typpy") ; function SubElm(type, data, parent) { if (Typpy(data, SubElm)) { return data; } this.name = data.name || data.event || data.method; this.label = Deffy(data.label, this.name); this.type = type; this.id = [this.type, parent.nam...
Set the sub element name
Set the sub element name
JavaScript
mit
jillix/engine-builder
javascript
## Code Before: var Deffy = require("deffy") function SubElm(data, parent) { this.name = data.name; this.label = Deffy(data.label, this.name); this.type = data.type; this.id = [this.type, parent.name, this.name].join("_"); } module.exports = SubElm; ## Instruction: Set the sub element name ## Code A...
79f7c141d0c42406564e1951501c97859c82eff8
riak-cluster.sh
riak-cluster.sh
set -ex CLUSTER_STATUS=/etc/riak/cluster-status.txt PRESTART=$(find /etc/riak/prestart.d -name '*.sh' -print | sort) POSTSTART=$(find /etc/riak/poststart.d -name '*.sh' -print | sort) for s in $PRESTART; do . $s done cat /etc/riak/riak.conf if [ -r "/etc/riak/advanced.conf" ] then cat /etc/riak/advanced.conf ...
set -ex CLUSTER_STATUS=/etc/riak/cluster-status.txt PRESTART=$(find /etc/riak/prestart.d -name '*.sh' -print | sort) POSTSTART=$(find /etc/riak/poststart.d -name '*.sh' -print | sort) for s in $PRESTART; do . $s done cat /etc/riak/riak.conf if [ -r "/etc/riak/advanced.conf" ] then cat /etc/riak/advanced.conf ...
Modify graceful death to occur when node is unreachable
Modify graceful death to occur when node is unreachable
Shell
mit
hf/kubriak-kv,hf/kubriak-kv
shell
## Code Before: set -ex CLUSTER_STATUS=/etc/riak/cluster-status.txt PRESTART=$(find /etc/riak/prestart.d -name '*.sh' -print | sort) POSTSTART=$(find /etc/riak/poststart.d -name '*.sh' -print | sort) for s in $PRESTART; do . $s done cat /etc/riak/riak.conf if [ -r "/etc/riak/advanced.conf" ] then cat /etc/ria...
428ce0c6d1d90eea1fb6e5fea192b92f2cd4ea36
setup.py
setup.py
from distutils.core import setup setup( name='PAWS', version='0.1.0', description='Python AWS Tools for Serverless', author='Curtis Maloney', author_email='curtis@tinbrain.net', url='https://github.com/funkybob/paws', packages=['paws', 'paws.contrib', 'paws.views'], )
from distutils.core import setup with open('README.md') as fin: readme = fin.read() setup( name='PAWS', version='0.1.0', description='Python AWS Tools for Serverless', long_description=readme, author='Curtis Maloney', author_email='curtis@tinbrain.net', url='https://github.com/funkybob...
Include readme as long description
Include readme as long description
Python
bsd-3-clause
funkybob/paws
python
## Code Before: from distutils.core import setup setup( name='PAWS', version='0.1.0', description='Python AWS Tools for Serverless', author='Curtis Maloney', author_email='curtis@tinbrain.net', url='https://github.com/funkybob/paws', packages=['paws', 'paws.contrib', 'paws.views'], ) ## I...
7fd6d95568d68b19f2825b6c478c590046c09244
dev/src/yada/dev/examples.clj
dev/src/yada/dev/examples.clj
(ns yada.dev.examples (:require [yada.yada :as yada] [manifold.stream :as ms])) (defn routes [] ["/examples" [ ["/sse-body" (yada/resource {:methods {:get {:produces "text/event-stream" :response (fn [ctx] (ms/periodically 400 (fn [] "foo")))}}})] ["...
(ns yada.dev.examples (:require [yada.yada :as yada] [manifold.stream :as ms] [manifold.deferred :as d])) (defn routes [] ["/examples" [ ["/sse-resource" (yada/handler (ms/periodically 400 (fn [] "foo")))] ["/sse-body" (yada/resource {:methods {:get {:produces "text/event-stre...
Add example of SSE channel close notification
Add example of SSE channel close notification
Clojure
mit
delitescere/yada,juxt/yada,delitescere/yada,juxt/yada,juxt/yada,delitescere/yada
clojure
## Code Before: (ns yada.dev.examples (:require [yada.yada :as yada] [manifold.stream :as ms])) (defn routes [] ["/examples" [ ["/sse-body" (yada/resource {:methods {:get {:produces "text/event-stream" :response (fn [ctx] (ms/periodically 400 (fn [] "foo...
3ab3324899fb9e16500b023ab4f3ecde28e16f0b
lib/wishETL/runner.rb
lib/wishETL/runner.rb
require 'singleton' module WishETL class Runner include Singleton def initialize @steps = [] @pids = [] end def flush @steps = [] @pids = [] end def register(step) @steps << step end def run(fork = true) @steps.last.output = File.open(File::NULL...
require 'singleton' module WishETL class Runner include Singleton def initialize @steps = [] @pids = [] end def flush @steps = [] @pids = [] end def register(step) @steps << step end def run(fork = true) @steps.last.output = File.open(File::NULL...
Add better handling for a failure in a forked process
Add better handling for a failure in a forked process
Ruby
mit
wishdev/wishETL
ruby
## Code Before: require 'singleton' module WishETL class Runner include Singleton def initialize @steps = [] @pids = [] end def flush @steps = [] @pids = [] end def register(step) @steps << step end def run(fork = true) @steps.last.output = File...
4588e9c8678dd3d9ccfdf1d07402c3a1d9ba841d
apis/Google.Cloud.Retail.V2Beta/pregeneration.sh
apis/Google.Cloud.Retail.V2Beta/pregeneration.sh
sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto
sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto # Fix resource names for location - we should use the common Location resource sed -i 's/retail\.googleapis\.com\/Location/locations\.googleapis.com\/Location/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*...
Use the common resource name for locations instead of a Retail-specific one
Use the common resource name for locations instead of a Retail-specific one (This is being fixed internally)
Shell
apache-2.0
jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet
shell
## Code Before: sed -i 's/Google\.Cloud\.Retail\.V2beta/Google.Cloud.Retail.V2Beta/g' $GOOGLEAPIS/google/cloud/retail/v2beta/*.proto ## Instruction: Use the common resource name for locations instead of a Retail-specific one (This is being fixed internally) ## Code After: sed -i 's/Google\.Cloud\.Retail\.V2beta/Goog...