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. else next end else begin JSON.parse(File.read(path)) if File.basename(path).end_with?('.json') puts "#{Rainbow('[VALID]').green} ..... #{path}" rescue puts "#{Rainbow('[INVALID]').red} ... #{path}" errors << path end end end errors.empty? ? puts(Rainbow('ALL PASSED').green) : puts(Rainbow("FAILED #{errors.count}").red) end desc "list all methods" task :methods do puts `grep -R method openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list patterns" task :pattern do puts `grep -R pattern openapi-meta | sed "s/.*://g" | sort | uniq` end end
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. else next end else begin JSON.parse(File.read(path)) if File.basename(path).end_with?('.json') puts "#{Rainbow('[VALID]').green} ..... #{path}" rescue puts "#{Rainbow('[INVALID]').red} ... #{path}" errors << path end end end errors.empty? ? puts(Rainbow('ALL PASSED').green) : puts(Rainbow("FAILED #{errors.count}").red) end desc "list all methods" task :methods do puts `grep -R method openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list patterns" task :pattern do puts `grep -R pattern openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list types" task :types do puts `grep -R type openapi-meta | sed "s/.*://g" | sort | uniq` end end
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 directory. else next end else begin JSON.parse(File.read(path)) if File.basename(path).end_with?('.json') puts "#{Rainbow('[VALID]').green} ..... #{path}" rescue puts "#{Rainbow('[INVALID]').red} ... #{path}" errors << path end end end errors.empty? ? puts(Rainbow('ALL PASSED').green) : puts(Rainbow("FAILED #{errors.count}").red) end desc "list all methods" task :methods do puts `grep -R method openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list patterns" task :pattern do puts `grep -R pattern openapi-meta | sed "s/.*://g" | sort | uniq` end end ## Instruction: Add more validation task to find meta ## Code After: 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. else next end else begin JSON.parse(File.read(path)) if File.basename(path).end_with?('.json') puts "#{Rainbow('[VALID]').green} ..... #{path}" rescue puts "#{Rainbow('[INVALID]').red} ... #{path}" errors << path end end end errors.empty? ? puts(Rainbow('ALL PASSED').green) : puts(Rainbow("FAILED #{errors.count}").red) end desc "list all methods" task :methods do puts `grep -R method openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list patterns" task :pattern do puts `grep -R pattern openapi-meta | sed "s/.*://g" | sort | uniq` end desc "list types" task :types do puts `grep -R type openapi-meta | sed "s/.*://g" | sort | uniq` end end
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 # artifacts: # paths: # - "paradrop/*.snap"
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 - make html #build_job: # stage: build # only: # - master # when: on_success # script: # - ./pdbuild.sh build # artifacts: # paths: # - "paradrop/*.snap"
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.sh build # artifacts: # paths: # - "paradrop/*.snap" ## Instruction: Add build_docs job to CI. ## Code After: 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 - make html #build_job: # stage: build # only: # - master # when: on_success # script: # - ./pdbuild.sh build # artifacts: # paths: # - "paradrop/*.snap"
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 3.0.0. If you want to keep the '\ 'existing behaviour, wrap the string in a Proc' ) end def file_name(klass, options) if options[:file_name].respond_to?(:call) options[:file_name].call(klass) else options[:file_name] end.to_s end def define_writer(klass, attr, options) klass.define_method "#{attr}=" do |data| return if data.to_s.empty? || data == send(attr).to_s send("#{attr}_will_change!") if respond_to?("#{attr}_will_change!") return super(data) unless data.is_a?(String) && data.strip.start_with?('data') super Carrierwave::Base64::Base64StringIO.new( data.strip, Carrierwave::Base64::MountingHelper.file_name(self, options) ) end end end end end
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 3.0.0. If you want to keep the '\ 'existing behaviour, wrap the string in a Proc' ) end def file_name(klass, options) if options[:file_name].respond_to?(:call) options[:file_name].call(klass) else options[:file_name] end.to_s end def define_writer(klass, attr, options) klass.send(:define_method, "#{attr}=") do |data| # rubocop:disable Lint/NonLocalExitFromIterator return if data.to_s.empty? || data == send(attr).to_s # rubocop:enable Lint/NonLocalExitFromIterator send("#{attr}_will_change!") if respond_to?("#{attr}_will_change!") return super(data) unless data.is_a?(String) && data.strip.start_with?('data') super Carrierwave::Base64::Base64StringIO.new( data.strip, Carrierwave::Base64::MountingHelper.file_name(self, options) ) end end end end end
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 will be removed in 3.0.0. If you want to keep the '\ 'existing behaviour, wrap the string in a Proc' ) end def file_name(klass, options) if options[:file_name].respond_to?(:call) options[:file_name].call(klass) else options[:file_name] end.to_s end def define_writer(klass, attr, options) klass.define_method "#{attr}=" do |data| return if data.to_s.empty? || data == send(attr).to_s send("#{attr}_will_change!") if respond_to?("#{attr}_will_change!") return super(data) unless data.is_a?(String) && data.strip.start_with?('data') super Carrierwave::Base64::Base64StringIO.new( data.strip, Carrierwave::Base64::MountingHelper.file_name(self, options) ) end end end end end ## Instruction: Fix writer definition for older ruby versions ## Code After: 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 3.0.0. If you want to keep the '\ 'existing behaviour, wrap the string in a Proc' ) end def file_name(klass, options) if options[:file_name].respond_to?(:call) options[:file_name].call(klass) else options[:file_name] end.to_s end def define_writer(klass, attr, options) klass.send(:define_method, "#{attr}=") do |data| # rubocop:disable Lint/NonLocalExitFromIterator return if data.to_s.empty? || data == send(attr).to_s # rubocop:enable Lint/NonLocalExitFromIterator send("#{attr}_will_change!") if respond_to?("#{attr}_will_change!") return super(data) unless data.is_a?(String) && data.strip.start_with?('data') super Carrierwave::Base64::Base64StringIO.new( data.strip, Carrierwave::Base64::MountingHelper.file_name(self, options) ) end end end end end
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 operator std::time_t() const { return t; } std::string get_stamp() const; std::string get_readable() const; unsigned long long seconds_ago() const; std::string how_long_ago() const; std::string how_long_ago_tell_seconds() const; private: std::string how_long_ago(bool) const; }; }
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 { return t; } std::string get_stamp() const; std::string get_readable() const; unsigned long long seconds_ago() const; std::string how_long_ago() const; std::string how_long_ago_tell_seconds() const; private: std::string how_long_ago(bool) const; }; }
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&); #endif operator std::time_t() const { return t; } std::string get_stamp() const; std::string get_readable() const; unsigned long long seconds_ago() const; std::string how_long_ago() const; std::string how_long_ago_tell_seconds() const; private: std::string how_long_ago(bool) const; }; } ## Instruction: Build error fix for Windows ## Code After: 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 { return t; } std::string get_stamp() const; std::string get_readable() const; unsigned long long seconds_ago() const; std::string how_long_ago() const; std::string how_long_ago_tell_seconds() const; private: std::string how_long_ago(bool) const; }; }
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://interactivepython.org/runestone/static/pythonds/index.html). - Hetland (2010). Python Algorithms. Cormen et al. (2009) is of course classic and comprehensive, containing modern algorithms's concepts, theoretical foundations and pseudocodes. Millar & Ranum (2011) explains clearly algorithms's concepts and provides implementations in Python, from which I learned a lot. Hetland (2000) goes quickly through algorithms's concepts and implementations in Python as well. Why algorithms and data structures? Because I think both are important for us who would like to implement fast data ETL and machine learning algorithms.
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). - Millar & Ranum (2011). [Problem Solving with Algorithms and Data Structures Using Python, 2ed](http://interactivepython.org/runestone/static/pythonds/index.html). I actually started from Millar & Ranum (2011), it explains clearly algorithms and data structures concepts and provides implementations in Python, from which I learned a lot. Further, to deeply study these topics, I dived into Cormen et al. (2009) and Jordan (2005)'s lecture notes; the former is of course classic and comprehensive, containing modern algorithms and data structures concepts, theoretical foundations and pseudocodes, and the latter is a wonderful summary for the former and is lectured by a master of machine learning. Both references are highly recommended. :-) Why algorithms and data structures? Because I think both are important for us who would like to implement fast data ETL and machine learning algorithms.
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](http://interactivepython.org/runestone/static/pythonds/index.html). - Hetland (2010). Python Algorithms. Cormen et al. (2009) is of course classic and comprehensive, containing modern algorithms's concepts, theoretical foundations and pseudocodes. Millar & Ranum (2011) explains clearly algorithms's concepts and provides implementations in Python, from which I learned a lot. Hetland (2000) goes quickly through algorithms's concepts and implementations in Python as well. Why algorithms and data structures? Because I think both are important for us who would like to implement fast data ETL and machine learning algorithms. ## Instruction: Revise references and add comments ## Code After: 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). - Millar & Ranum (2011). [Problem Solving with Algorithms and Data Structures Using Python, 2ed](http://interactivepython.org/runestone/static/pythonds/index.html). I actually started from Millar & Ranum (2011), it explains clearly algorithms and data structures concepts and provides implementations in Python, from which I learned a lot. Further, to deeply study these topics, I dived into Cormen et al. (2009) and Jordan (2005)'s lecture notes; the former is of course classic and comprehensive, containing modern algorithms and data structures concepts, theoretical foundations and pseudocodes, and the latter is a wonderful summary for the former and is lectured by a master of machine learning. Both references are highly recommended. :-) Why algorithms and data structures? Because I think both are important for us who would like to implement fast data ETL and machine learning algorithms.
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.Print(journal.PriInfo, fmt.Sprintf(msg, args...)) } } func NewLogger() Logger { return &JournaldLogger{} } func Listener() net.Listener { listeners, err := activation.Listeners(true) if err != nil { panic(err) } if len(listeners) != 1 { panic("Unexpected number of socket activation fds") } return listeners[0] } // EOF
// 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.Print(journal.PriInfo, fmt.Sprintf(msg, args...)) } } func NewLogger() Logger { return &JournaldLogger{} } func Listener() net.Listener { listeners, err := activation.Listeners(true) if err != nil { panic(err) } if len(listeners) != 1 { panic(fmt.Sprintf("Unexpected number of socket activation fds, got: %d listeners, expected 1!", len(listeners))) } return listeners[0] } // EOF
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() { journal.Print(journal.PriInfo, fmt.Sprintf(msg, args...)) } } func NewLogger() Logger { return &JournaldLogger{} } func Listener() net.Listener { listeners, err := activation.Listeners(true) if err != nil { panic(err) } if len(listeners) != 1 { panic("Unexpected number of socket activation fds") } return listeners[0] } // EOF ## Instruction: Improve error message a bit. ## Code After: // 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.Print(journal.PriInfo, fmt.Sprintf(msg, args...)) } } func NewLogger() Logger { return &JournaldLogger{} } func Listener() net.Listener { listeners, err := activation.Listeners(true) if err != nil { panic(err) } if len(listeners) != 1 { panic(fmt.Sprintf("Unexpected number of socket activation fds, got: %d listeners, expected 1!", len(listeners))) } return listeners[0] } // EOF
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; margin-top: 1.568rem; margin-bottom: 1.568rem; font-size: 2.5rem; line-height: 0.784; } h2 { font-style: italic; font-weight: 400; margin-top: 1.866666666666667rem; margin-bottom: 0; font-size: 2.1rem; line-height: 0.933333333333333; } h3 { font-style: italic; font-weight: 400; font-size: 1.8rem; margin-top: 2.1777777777777778rem; margin-bottom: 0; line-height: 1.08888888888889; } article { position: relative; padding: 1rem 0rem 2.5rem 0rem; } // reduced top and bottom padding by 50%
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; } ## Instruction: Reduce the amount of space between articles and the size of the heading These were taking up too much space in the blog format ## Code After: /* 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; margin-top: 1.568rem; margin-bottom: 1.568rem; font-size: 2.5rem; line-height: 0.784; } h2 { font-style: italic; font-weight: 400; margin-top: 1.866666666666667rem; margin-bottom: 0; font-size: 2.1rem; line-height: 0.933333333333333; } h3 { font-style: italic; font-weight: 400; font-size: 1.8rem; margin-top: 2.1777777777777778rem; margin-bottom: 0; line-height: 1.08888888888889; } article { position: relative; padding: 1rem 0rem 2.5rem 0rem; } // reduced top and bottom padding by 50%
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) * [staticpkg](/staticpkg) * [target creation](/target-creation) * [translate](/translate) * [writing docs](/writing-docs)
* [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/blocklyupgrade) * [Creating Targets](/target-creation) * [Defining Blocks](/defining-blocks) * [Auto-generation of .d.ts](/simshim) * [Static File Drops](/staticpkg) * [Simulator](/targets/simulator) * [Theming Editor](/targets/theming) * [Writing Docs](/writing-docs) * [Translations](/translate) * [Command Line Interface](/cli) * [build](/cli/build) * [bump](/cli/bump) * [cherrypick](/cli/cherrypick) * [deploy](/cli/deploy) * [electron](/cli/electron) * [login](/cli/login) * [staticpkg](/cli/staticpkg) * [update](/cli/update)
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-embedding) * [staticpkg](/staticpkg) * [target creation](/target-creation) * [translate](/translate) * [writing docs](/writing-docs) ## Instruction: Bring a bit more structure in summary ## Code After: * [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/blocklyupgrade) * [Creating Targets](/target-creation) * [Defining Blocks](/defining-blocks) * [Auto-generation of .d.ts](/simshim) * [Static File Drops](/staticpkg) * [Simulator](/targets/simulator) * [Theming Editor](/targets/theming) * [Writing Docs](/writing-docs) * [Translations](/translate) * [Command Line Interface](/cli) * [build](/cli/build) * [bump](/cli/bump) * [cherrypick](/cli/cherrypick) * [deploy](/cli/deploy) * [electron](/cli/electron) * [login](/cli/login) * [staticpkg](/cli/staticpkg) * [update](/cli/update)
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.6' - '1.6.1' - '1.6.2' - '1.7' - '1.7.1' - '1.7.2' - '1.8' - '1.8.1' - '1.9.0' author: Hans Hoglund latest: '1.9.0' description-type: haddock description: ! 'This package allow you to write the pitches of standard notation as expressions overloaded on result type. This works exactly like numeric literals. This library is part of the Music Suite, see <http://music-suite.github.io>.' license-name: BSD3
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' - '1.6' - '1.6.1' - '1.6.2' - '1.7' - '1.7.1' - '1.7.2' - '1.8' - '1.8.1' - '1.9.0' author: Hans Hoglund latest: '1.9.0' description-type: haddock description: ! 'This package allow you to write the pitches of standard notation as expressions overloaded on result type. This works exactly like numeric literals. This library is part of the Music Suite, see <http://music-suite.github.io>.' license-name: BSD3
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' - '1.3.1' - '1.6' - '1.6.1' - '1.6.2' - '1.7' - '1.7.1' - '1.7.2' - '1.8' - '1.8.1' - '1.9.0' author: Hans Hoglund latest: '1.9.0' description-type: haddock description: ! 'This package allow you to write the pitches of standard notation as expressions overloaded on result type. This works exactly like numeric literals. This library is part of the Music Suite, see <http://music-suite.github.io>.' license-name: BSD3 ## Instruction: Update from Hackage at 2017-05-28T21:03:11Z ## Code After: 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' - '1.6' - '1.6.1' - '1.6.2' - '1.7' - '1.7.1' - '1.7.2' - '1.8' - '1.8.1' - '1.9.0' author: Hans Hoglund latest: '1.9.0' description-type: haddock description: ! 'This package allow you to write the pitches of standard notation as expressions overloaded on result type. This works exactly like numeric literals. This library is part of the Music Suite, see <http://music-suite.github.io>.' license-name: BSD3
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_makefile( 'games_dice/games_dice' ) else # Create a dummy Makefile, to satisfy Gem::Installer#install 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 end
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 ## Instruction: Stop detecting Ruby types, and rely on mkmf to make the correct decision ## Code After: 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_makefile( 'games_dice/games_dice' ) else # Create a dummy Makefile, to satisfy Gem::Installer#install 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 end
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, {:people => [:name]}])) end def test_to_s_should_return_format assert_equal({'party' => hash_for_fun_party}, YAML.load(parties(:fun_party).serialize(:yaml, :attributes => [:name, {:people => [:name]}]))) end end
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, {:people => [:name]}])) end def test_to_s_should_return_format assert_equal({'party' => hash_for_fun_party}, YAML.load(parties(:fun_party).serialize(:yaml, :attributes => [:name, {:people => [:name]}]))) end end
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_resourceful_hash([:name, {:people => [:name]}])) end def test_to_s_should_return_format assert_equal({'party' => hash_for_fun_party}, YAML.load(parties(:fun_party).serialize(:yaml, :attributes => [:name, {:people => [:name]}]))) end end ## Instruction: 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 ## Code After: 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, {:people => [:name]}])) end def test_to_s_should_return_format assert_equal({'party' => hash_for_fun_party}, YAML.load(parties(:fun_party).serialize(:yaml, :attributes => [:name, {:people => [:name]}]))) end end
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; } doo: dah; }
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 config/ to fix name, Issue [sc-14049] ## Code After: --- 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 } }
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.1rem; color: #999; .gcsc-branding-img-noclear { vertical-align: middle; } }
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 private def set_up_parameter_of_structure_members self.title = @results_of_program.Title self.title_id = @results_of_program.TID self.staffs = end def split_element_of_comment split_pattern = /"*スタッフ"|"*キャスト"|("オープニング"|"エンディング")*/ comment = @results_of_program.Comment staff_and_casts = comment.split("¥n").map {|elem| elem.match()} end end end end
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_themes, :ending_themes) def initialize(parsed_happymapper_object) @results_of_program = parsed_happymapper_object set_up_parameter_of_structure_members end private def set_up_parameter_of_structure_members self.title = @results_of_program.Title self.title_id = @results_of_program.TID self.staffs = end def split_element_of_comment split_pattern = /"*スタッフ"|"*キャスト"|("オープニング"|"エンディング")*/ comment = @results_of_program.Comment staff_and_casts = comment.split("¥n").map {|elem| elem.match()} end end end end
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.ssllabs.com/projects/client-fingerprinting/ The instructions are included with the source code (file mod_sslhaf.c).
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"> <img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png"> </p> RCDB ==== RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase. The goal is to document and categorize reconstructions of important or interesting solves of the Rubik's Cube and related puzzles. Contributing to RCDB ==================== RCDB uses Ruby 2.0.0, so make sure you have that installed. ```shell $ git clone [email protected]:justinj/reconstruction-database.git $ cd reconstruction-database $ rake test $ shotgun app.rb ``` Then point your browser to `localhost:9393` and you should be good! Thanks ====== Favicon was made by Kristopher De Asis
[![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"> <img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png"> </p> RCDB ==== RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase. The goal is to document and categorize reconstructions of important or interesting solves of the Rubik's Cube and related puzzles. [RCDB](http://www.rcdb.justinjaffray.com/) [SpeedSolving Thread](http://www.speedsolving.com/forum/showthread.php?43580-Reconstruction-Database-RCDB) Contributing to RCDB ==================== RCDB uses Ruby 2.0.0, so make sure you have that installed. ```shell $ git clone [email protected]:justinj/reconstruction-database.git $ cd reconstruction-database $ rake test $ shotgun app.rb ``` Then point your browser to `localhost:9393` and you should be good! Thanks ====== Favicon was made by Kristopher De Asis
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 align="center"> <img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png"> </p> RCDB ==== RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase. The goal is to document and categorize reconstructions of important or interesting solves of the Rubik's Cube and related puzzles. Contributing to RCDB ==================== RCDB uses Ruby 2.0.0, so make sure you have that installed. ```shell $ git clone [email protected]:justinj/reconstruction-database.git $ cd reconstruction-database $ rake test $ shotgun app.rb ``` Then point your browser to `localhost:9393` and you should be good! Thanks ====== Favicon was made by Kristopher De Asis ## Instruction: Add link to rcdb and speedsolving thread to readme ## Code After: [![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"> <img src="https://raw.github.com/justinj/reconstruction-database/master/public/images/logo.png"> </p> RCDB ==== RCDB is a <b>R</b>e<b>c</b>onstruction <b>D</b>ata<b>b</b>ase. The goal is to document and categorize reconstructions of important or interesting solves of the Rubik's Cube and related puzzles. [RCDB](http://www.rcdb.justinjaffray.com/) [SpeedSolving Thread](http://www.speedsolving.com/forum/showthread.php?43580-Reconstruction-Database-RCDB) Contributing to RCDB ==================== RCDB uses Ruby 2.0.0, so make sure you have that installed. ```shell $ git clone [email protected]:justinj/reconstruction-database.git $ cd reconstruction-database $ rake test $ shotgun app.rb ``` Then point your browser to `localhost:9393` and you should be good! Thanks ====== Favicon was made by Kristopher De Asis
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 === parseInt(action.note.household_id, 10) ? Object.assign({}, h, { notes: h.notes.concat(action.note) }) : h ) } case "ADD_MEAL_TO_HOUSEHOLD": { const newState = state.map(h => { if (h.id === action.householdId) { const updatedHousehold = Object.assign({}, h, { meal_ids: h.meal_ids.concat(action.mealId) }) return updatedHousehold } else { return h } }) return newState } case "CONVERT_LEAD_COMPLETE": { const newState = state.map( h => (h.id === action.client.id ? action.client : h) ) return newState } case "CREATE_ENGAGEMENT_SUCCESS": { return state.map(h => { if (h.id == action.engagement.household_id) { return Object.assign({}, h, { engagement: action.engagement }) } else { return h } }) } default: { return state } } }
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 === parseInt(action.note.household_id, 10) ? Object.assign({}, h, { notes: h.notes.concat(action.note) }) : h ) } case "ADD_MEAL_TO_HOUSEHOLD": { const newState = state.map(h => { if (h.id === action.householdId) { const updatedHousehold = Object.assign({}, h, { meal_ids: h.meal_ids.concat(action.mealId) }) return updatedHousehold } else { return h } }) return newState } case "CONVERT_LEAD_COMPLETE": { const newState = state.map( h => (h.id === action.client.id ? action.client : h) ) return newState } case "CREATE_ENGAGEMENT_SUCCESS": { return state.map(h => { if (h.id == action.engagement.household_id) { if (!h.engagement) { return Object.assign({}, h, { engagement: action.engagement }) } return h } else { return h } }) } default: { return state } } }
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 => h.id === parseInt(action.note.household_id, 10) ? Object.assign({}, h, { notes: h.notes.concat(action.note) }) : h ) } case "ADD_MEAL_TO_HOUSEHOLD": { const newState = state.map(h => { if (h.id === action.householdId) { const updatedHousehold = Object.assign({}, h, { meal_ids: h.meal_ids.concat(action.mealId) }) return updatedHousehold } else { return h } }) return newState } case "CONVERT_LEAD_COMPLETE": { const newState = state.map( h => (h.id === action.client.id ? action.client : h) ) return newState } case "CREATE_ENGAGEMENT_SUCCESS": { return state.map(h => { if (h.id == action.engagement.household_id) { return Object.assign({}, h, { engagement: action.engagement }) } else { return h } }) } default: { return state } } } ## Instruction: Add new engagement to household only if one not created ## Code After: 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 === parseInt(action.note.household_id, 10) ? Object.assign({}, h, { notes: h.notes.concat(action.note) }) : h ) } case "ADD_MEAL_TO_HOUSEHOLD": { const newState = state.map(h => { if (h.id === action.householdId) { const updatedHousehold = Object.assign({}, h, { meal_ids: h.meal_ids.concat(action.mealId) }) return updatedHousehold } else { return h } }) return newState } case "CONVERT_LEAD_COMPLETE": { const newState = state.map( h => (h.id === action.client.id ? action.client : h) ) return newState } case "CREATE_ENGAGEMENT_SUCCESS": { return state.map(h => { if (h.id == action.engagement.household_id) { if (!h.engagement) { return Object.assign({}, h, { engagement: action.engagement }) } return h } else { return h } }) } default: { return state } } }
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 formats = { JSON: 'http://connect.garmin.com/proxy/course-service-1.0/json/course/', FIT: 'http://connect.garmin.com/proxy/course-service-1.0/fit/course/', TCX: 'http://connect.garmin.com/proxy/course-service-1.0/tcx/course/', GPX: 'http://connect.garmin.com/proxy/course-service-1.0/gpx/course/', GPOLYLINE: 'http://connect.garmin.com/proxy/course-service-1.0/gpolyline/course/' }; var id = window.location.href.replace('https://connect.garmin.com/mincourse/', ''); var ex = ''; for (var f in formats) { ex += '<a href="'+formats[f]+id+'">'+f+'</a> '; } $('viewModeItems').innerHTML += ex; })();
// ==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/johannes/garmin-connect-gmscripts/raw/master/garmin-connect-course-export.user.js // ==/UserScript== (function() { var formats = { JSON: 'http://connect.garmin.com/proxy/course-service-1.0/json/course/', FIT: 'http://connect.garmin.com/proxy/course-service-1.0/fit/course/', TCX: 'http://connect.garmin.com/proxy/course-service-1.0/tcx/course/', GPX: 'http://connect.garmin.com/proxy/course-service-1.0/gpx/course/', GPOLYLINE: 'http://connect.garmin.com/proxy/course-service-1.0/gpolyline/course/' }; var id = window.location.href.replace('https://connect.garmin.com/mincourse/', ''); var ex = ''; for (var f in formats) { ex += '<a href="'+formats[f]+id+'">'+f+'</a> '; } $('viewModeItems').innerHTML += ex; })();
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== (function() { var formats = { JSON: 'http://connect.garmin.com/proxy/course-service-1.0/json/course/', FIT: 'http://connect.garmin.com/proxy/course-service-1.0/fit/course/', TCX: 'http://connect.garmin.com/proxy/course-service-1.0/tcx/course/', GPX: 'http://connect.garmin.com/proxy/course-service-1.0/gpx/course/', GPOLYLINE: 'http://connect.garmin.com/proxy/course-service-1.0/gpolyline/course/' }; var id = window.location.href.replace('https://connect.garmin.com/mincourse/', ''); var ex = ''; for (var f in formats) { ex += '<a href="'+formats[f]+id+'">'+f+'</a> '; } $('viewModeItems').innerHTML += ex; })(); ## Instruction: Add rawgithub URL as updateURL ## Code After: // ==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/johannes/garmin-connect-gmscripts/raw/master/garmin-connect-course-export.user.js // ==/UserScript== (function() { var formats = { JSON: 'http://connect.garmin.com/proxy/course-service-1.0/json/course/', FIT: 'http://connect.garmin.com/proxy/course-service-1.0/fit/course/', TCX: 'http://connect.garmin.com/proxy/course-service-1.0/tcx/course/', GPX: 'http://connect.garmin.com/proxy/course-service-1.0/gpx/course/', GPOLYLINE: 'http://connect.garmin.com/proxy/course-service-1.0/gpolyline/course/' }; var id = window.location.href.replace('https://connect.garmin.com/mincourse/', ''); var ex = ''; for (var f in formats) { ex += '<a href="'+formats[f]+id+'">'+f+'</a> '; } $('viewModeItems').innerHTML += ex; })();
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', ['en_core_web_md-1.2.0']) def test_download_direct_download(model): download(model, direct=True) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_succeeds(model): comp = { model: ['1.7.0', '0.100.0'] } assert get_version(model, comp) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_fails(model): diff_model = 'test_' + model comp = { diff_model: ['1.7.0', '0.100.0'] } with pytest.raises(SystemExit): assert get_version(model, comp) @pytest.mark.parametrize('model', [False, None, '', 'all']) def test_download_no_model_depr_error(model): with pytest.raises(SystemExit): check_error_depr(model)
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']) def test_download_get_matching_version_succeeds(model): comp = { model: ['1.7.0', '0.100.0'] } assert get_version(model, comp) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_fails(model): diff_model = 'test_' + model comp = { diff_model: ['1.7.0', '0.100.0'] } with pytest.raises(SystemExit): assert get_version(model, comp) @pytest.mark.parametrize('model', [False, None, '', 'all']) def test_download_no_model_depr_error(model): with pytest.raises(SystemExit): check_error_depr(model)
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,explosion/spaCy,Gregory-Howard/spaCy,honnibal/spaCy,recognai/spaCy,recognai/spaCy,spacy-io/spaCy,honnibal/spaCy,recognai/spaCy,spacy-io/spaCy,oroszgy/spaCy.hu,recognai/spaCy,spacy-io/spaCy,aikramer2/spaCy,Gregory-Howard/spaCy,explosion/spaCy,spacy-io/spaCy,Gregory-Howard/spaCy,Gregory-Howard/spaCy,aikramer2/spaCy,explosion/spaCy,aikramer2/spaCy,recognai/spaCy,raphael0202/spaCy,aikramer2/spaCy,raphael0202/spaCy,raphael0202/spaCy,honnibal/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.parametrize('model', ['en_core_web_md-1.2.0']) def test_download_direct_download(model): download(model, direct=True) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_succeeds(model): comp = { model: ['1.7.0', '0.100.0'] } assert get_version(model, comp) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_fails(model): diff_model = 'test_' + model comp = { diff_model: ['1.7.0', '0.100.0'] } with pytest.raises(SystemExit): assert get_version(model, comp) @pytest.mark.parametrize('model', [False, None, '', 'all']) def test_download_no_model_depr_error(model): with pytest.raises(SystemExit): check_error_depr(model) ## Instruction: Remove actual model downloading from tests ## Code After: 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']) def test_download_get_matching_version_succeeds(model): comp = { model: ['1.7.0', '0.100.0'] } assert get_version(model, comp) @pytest.mark.parametrize('model', ['en_core_web_md']) def test_download_get_matching_version_fails(model): diff_model = 'test_' + model comp = { diff_model: ['1.7.0', '0.100.0'] } with pytest.raises(SystemExit): assert get_version(model, comp) @pytest.mark.parametrize('model', [False, None, '', 'all']) def test_download_no_model_depr_error(model): with pytest.raises(SystemExit): check_error_depr(model)
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 load balancer broker" spec.license = "Mozilla Public License (2.0)" spec.add_dependency("rack") spec.add_dependency("sinatra") spec.add_dependency("json") spec.files = files spec.bindir = "bin" spec.executables << "zbroker" spec.authors = ["Wesley Dawson"] spec.email = ["[email protected]"] end
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 load balancer broker" spec.license = "Mozilla Public License (2.0)" spec.add_dependency("rack") spec.add_dependency("sinatra") spec.add_dependency("json") spec.add_dependency("zeus-api") spec.files = files spec.bindir = "bin" spec.executables << "zbroker" spec.authors = ["Wesley Dawson"] spec.email = ["[email protected]"] end
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.description = "Zeus load balancer broker" spec.license = "Mozilla Public License (2.0)" spec.add_dependency("rack") spec.add_dependency("sinatra") spec.add_dependency("json") spec.files = files spec.bindir = "bin" spec.executables << "zbroker" spec.authors = ["Wesley Dawson"] spec.email = ["[email protected]"] end ## Instruction: Add zeus-api dependency to gemspec ## Code After: 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 load balancer broker" spec.license = "Mozilla Public License (2.0)" spec.add_dependency("rack") spec.add_dependency("sinatra") spec.add_dependency("json") spec.add_dependency("zeus-api") spec.files = files spec.bindir = "bin" spec.executables << "zbroker" spec.authors = ["Wesley Dawson"] spec.email = ["[email protected]"] end
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 requirements.txt && pip wheel -r test-requirements.txt ' output: - from: /work/wheelhouse to: util - name: bower input: - bower.json /work/bower.json command: bower install output: - from: /work/bower_components to: util services: postgres: alias: postgres environment: POSTGRES_PASSWORD: dockcitest
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 requirements.txt && pip wheel -r test-requirements.txt ' output: - from: /work/wheelhouse to: util - name: bower input: - bower.json /work/bower.json command: bower install output: - from: /work/bower_components to: util services: postgres: alias: postgres environment: POSTGRES_USER: dockcitest POSTGRES_PASSWORD: dockcitest
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 && pip wheel -r requirements.txt && pip wheel -r test-requirements.txt ' output: - from: /work/wheelhouse to: util - name: bower input: - bower.json /work/bower.json command: bower install output: - from: /work/bower_components to: util services: postgres: alias: postgres environment: POSTGRES_PASSWORD: dockcitest ## Instruction: Add POSTGRES_USER to postgres service ## Code After: 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 requirements.txt && pip wheel -r test-requirements.txt ' output: - from: /work/wheelhouse to: util - name: bower input: - bower.json /work/bower.json command: bower install output: - from: /work/bower_components to: util services: postgres: alias: postgres environment: POSTGRES_USER: dockcitest POSTGRES_PASSWORD: dockcitest
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{{ version }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - toolchain - gfortran_linux-64 # [linux] - gfortran_osx-64 # [osx] - openblas run: - libopenblas - libgfortran test: source_files: - sines about: home: http:/github.com/stevengj/harminv license: GPL-2.0 license_file: COPYING summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids doc_url: http://harminv.readthedocs.io dev_url: https://github.com/stevengj/harminv extra: recipe-maintainers: - ChristopherHogan
{% 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{{ version }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - autoconf - automake - libtool - gfortran_linux-64 # [linux] - gfortran_osx-64 # [osx] - openblas run: - libopenblas - libgfortran test: source_files: - sines about: home: http:/github.com/stevengj/harminv license: GPL-2.0 license_file: COPYING summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids doc_url: http://harminv.readthedocs.io dev_url: https://github.com/stevengj/harminv extra: recipe-maintainers: - ChristopherHogan
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-recipes,conda-forge/staged-recipes,patricksnape/staged-recipes,chrisburr/staged-recipes,pmlandwehr/staged-recipes,dschreij/staged-recipes,rmcgibbo/staged-recipes,Juanlu001/staged-recipes,isuruf/staged-recipes,birdsarah/staged-recipes,scopatz/staged-recipes,SylvainCorlay/staged-recipes,jjhelmus/staged-recipes,mcs07/staged-recipes,johanneskoester/staged-recipes,sodre/staged-recipes,petrushy/staged-recipes,SylvainCorlay/staged-recipes,cpaulik/staged-recipes,johanneskoester/staged-recipes,shadowwalkersb/staged-recipes,igortg/staged-recipes,scopatz/staged-recipes,dschreij/staged-recipes,asmeurer/staged-recipes,goanpeca/staged-recipes,ceholden/staged-recipes,sodre/staged-recipes,pmlandwehr/staged-recipes,stuertz/staged-recipes,isuruf/staged-recipes,barkls/staged-recipes,jochym/staged-recipes,rvalieris/staged-recipes,ocefpaf/staged-recipes,jjhelmus/staged-recipes,mcs07/staged-recipes,rvalieris/staged-recipes,Juanlu001/staged-recipes,stuertz/staged-recipes,basnijholt/staged-recipes,sodre/staged-recipes,shadowwalkersb/staged-recipes,kwilcox/staged-recipes,ReimarBauer/staged-recipes,synapticarbors/staged-recipes,guillochon/staged-recipes,synapticarbors/staged-recipes,goanpeca/staged-recipes,barkls/staged-recipes,rmcgibbo/staged-recipes,hadim/staged-recipes,igortg/staged-recipes,conda-forge/staged-recipes,basnijholt/staged-recipes,ceholden/staged-recipes,guillochon/staged-recipes,mariusvniekerk/staged-recipes,hadim/staged-recipes
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/download/v{{ version }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - toolchain - gfortran_linux-64 # [linux] - gfortran_osx-64 # [osx] - openblas run: - libopenblas - libgfortran test: source_files: - sines about: home: http:/github.com/stevengj/harminv license: GPL-2.0 license_file: COPYING summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids doc_url: http://harminv.readthedocs.io dev_url: https://github.com/stevengj/harminv extra: recipe-maintainers: - ChristopherHogan ## Instruction: Use Anaconda compiler packages instead of toolchain ## Code After: {% 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{{ version }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [win] requirements: build: - autoconf - automake - libtool - gfortran_linux-64 # [linux] - gfortran_osx-64 # [osx] - openblas run: - libopenblas - libgfortran test: source_files: - sines about: home: http:/github.com/stevengj/harminv license: GPL-2.0 license_file: COPYING summary: Harmonic inversion algorithm of Mandelshtam - decompose signal into sum of decaying sinusoids doc_url: http://harminv.readthedocs.io dev_url: https://github.com/stevengj/harminv extra: recipe-maintainers: - ChristopherHogan
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() = JSONObject(this) operator fun Element.get(name: String): String = this.attr(name) val Element.text: String get() = this.text() val Elements.text: String get() = this.text() val TextNode.text: String get() = this.text()
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.jsonObject: JSONObject get() = JSONObject(this) operator fun Element.get(name: String): String = this.attr(name) val Element.text: String get() = this.text() val Elements.text: String get() = this.text() val TextNode.text: String get() = this.text() // JSONArray extension functions inline fun <reified T, R> JSONArray.map(transform: (T) -> R): List<R> = (0..length()).map { i -> transform(get(i) as T) } inline fun <reified T> JSONArray.forEach(function: (T) -> Unit) = (0..length()).forEach { i -> function(get(i) as T) }
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: JSONObject get() = JSONObject(this) operator fun Element.get(name: String): String = this.attr(name) val Element.text: String get() = this.text() val Elements.text: String get() = this.text() val TextNode.text: String get() = this.text() ## Instruction: Add some Kotlin extension functions to simplify handling of JSONArrays ## Code After: 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.jsonObject: JSONObject get() = JSONObject(this) operator fun Element.get(name: String): String = this.attr(name) val Element.text: String get() = this.text() val Elements.text: String get() = this.text() val TextNode.text: String get() = this.text() // JSONArray extension functions inline fun <reified T, R> JSONArray.map(transform: (T) -> R): List<R> = (0..length()).map { i -> transform(get(i) as T) } inline fun <reified T> JSONArray.forEach(function: (T) -> Unit) = (0..length()).forEach { i -> function(get(i) as T) }
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_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar) # Prevent 64-bit libraries from being discovered set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/) set(CMAKE_CROSSCOMPILING_EMULATOR sh -c)
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_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar) # Discard path returned by pkg-config and associated with HINTS in module # like FindOpenSSL. set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/) set(CMAKE_CROSSCOMPILING_EMULATOR sh -c)
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 "i686-linux-gnu") set(CMAKE_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar) # Prevent 64-bit libraries from being discovered set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/) set(CMAKE_CROSSCOMPILING_EMULATOR sh -c) ## Instruction: linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH ## Code After: 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_C_COMPILER /usr/${cross_triple}/bin/${cross_triple}-gcc) set(CMAKE_CXX_COMPILER /usr/${cross_triple}/bin/${cross_triple}-g++) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) set(CMAKE_AR /usr/${cross_triple}/bin/${cross_triple}-ar) # Discard path returned by pkg-config and associated with HINTS in module # like FindOpenSSL. set(CMAKE_IGNORE_PATH /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/lib/) set(CMAKE_CROSSCOMPILING_EMULATOR sh -c)
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 resources max_hops: 10 # max hops of interconnect to search (10 is for test purposes and may need to be refined) - name: CLKO force_dedicated_routing: true # the net connected to this pin _must_ use dedicated routing only - cell: OSC_CORE pins: # list of pins that use global resources - name: HFCLKOUT force_dedicated_routing: true # the net connected to this pin _must_ use dedicated routing only # 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 - bucket: BRAMs cells: - DP16K_MODE - PDP16K_MODE - PDPSC16K_MODE
Add BRAM and global buffer config
nexus: Add BRAM and global buffer config Signed-off-by: gatecat <[email protected]>
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 Signed-off-by: gatecat <[email protected]> ## Code After: 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 resources max_hops: 10 # max hops of interconnect to search (10 is for test purposes and may need to be refined) - name: CLKO force_dedicated_routing: true # the net connected to this pin _must_ use dedicated routing only - cell: OSC_CORE pins: # list of pins that use global resources - name: HFCLKOUT force_dedicated_routing: true # the net connected to this pin _must_ use dedicated routing only # 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 - bucket: BRAMs cells: - DP16K_MODE - PDP16K_MODE - PDPSC16K_MODE
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/library retry_files_enabled = False [ssh_connection] ssh_args=-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s # [inventory] # enable_plugins = advanced_host_list, tower, script, yaml, ini, auto
[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/library retry_files_enabled = False [ssh_connection] ssh_args=-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s [inventory] enable_plugins = advanced_host_list, tower, script, yaml, ini, auto
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-key-management/library retry_files_enabled = False [ssh_connection] ssh_args=-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s # [inventory] # enable_plugins = advanced_host_list, tower, script, yaml, ini, auto ## Instruction: Disable part of config to test if it causes AWX to fail ## Code After: [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/library retry_files_enabled = False [ssh_connection] ssh_args=-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s [inventory] enable_plugins = advanced_host_list, tower, script, yaml, ini, auto
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 fiji-nojre.zip # mv target/SciView* Fiji.app/jars/ # cp -r src/plugins/* Fiji.app/plugins/ # cd Fiji.app # curl -O https://raw.githubusercontent.com/fiji/fiji/7f13f66968a9d4622e519c8aae04786db6601314/bin/upload-site-simple.sh # chmod a+x upload-site-simple.sh # ./upload-site-simple.sh SciView SciView else mvn install fi
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-nojre.zip # unzip fiji-nojre.zip # mv target/SciView* Fiji.app/jars/ # cp -r src/plugins/* Fiji.app/plugins/ # cd Fiji.app # curl -O https://raw.githubusercontent.com/fiji/fiji/7f13f66968a9d4622e519c8aae04786db6601314/bin/upload-site-simple.sh # chmod a+x upload-site-simple.sh # ./upload-site-simple.sh SciView SciView else mvn install fi
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.zip # unzip fiji-nojre.zip # mv target/SciView* Fiji.app/jars/ # cp -r src/plugins/* Fiji.app/plugins/ # cd Fiji.app # curl -O https://raw.githubusercontent.com/fiji/fiji/7f13f66968a9d4622e519c8aae04786db6601314/bin/upload-site-simple.sh # chmod a+x upload-site-simple.sh # ./upload-site-simple.sh SciView SciView else mvn install fi ## Instruction: Use the deploy-to-imagej pom profile ## Code After: 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-nojre.zip # unzip fiji-nojre.zip # mv target/SciView* Fiji.app/jars/ # cp -r src/plugins/* Fiji.app/plugins/ # cd Fiji.app # curl -O https://raw.githubusercontent.com/fiji/fiji/7f13f66968a9d4622e519c8aae04786db6601314/bin/upload-site-simple.sh # chmod a+x upload-site-simple.sh # ./upload-site-simple.sh SciView SciView else mvn install fi
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_SOURCE_VERSION="~> 1.9.0" # Uses handlebars-source 2.0.0 - EMBER_SOURCE_VERSION="~> 1.10.0" # Uses HTMLBars - EMBER_SOURCE_VERSION="~> 1.13.0" # The latest Ember.js 1.x - EMBER_SOURCE_VERSION="~> 2.18.0" # The latest Ember.js 2.x - EMBER_SOURCE_VERSION="~> 3.0.0.beta.2" # The latest Ember.js 3.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 3.0.0" # Uses handlebars-source 3.0.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 4.0.0" # Uses handlebars-source 4.0.x
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-source 1.3.0 - EMBER_SOURCE_VERSION="~> 1.9.0" # Uses handlebars-source 2.0.0 - EMBER_SOURCE_VERSION="~> 1.10.0" # Uses HTMLBars - EMBER_SOURCE_VERSION="~> 1.13.0" # The latest Ember.js 1.x - EMBER_SOURCE_VERSION="~> 2.18.0" # The latest Ember.js 2.x - EMBER_SOURCE_VERSION="~> 3.0.0.beta.2" # The latest Ember.js 3.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 3.0.0" # Uses handlebars-source 3.0.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 4.0.0" # Uses handlebars-source 4.0.x
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.0 - EMBER_SOURCE_VERSION="~> 1.9.0" # Uses handlebars-source 2.0.0 - EMBER_SOURCE_VERSION="~> 1.10.0" # Uses HTMLBars - EMBER_SOURCE_VERSION="~> 1.13.0" # The latest Ember.js 1.x - EMBER_SOURCE_VERSION="~> 2.18.0" # The latest Ember.js 2.x - EMBER_SOURCE_VERSION="~> 3.0.0.beta.2" # The latest Ember.js 3.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 3.0.0" # Uses handlebars-source 3.0.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 4.0.0" # Uses handlebars-source 4.0.x ## Instruction: Fix build error on Travis CI w/ Ruby 2.5.0 Ref: https://github.com/travis-ci/travis-ci/issues/8978 ## Code After: 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-source 1.3.0 - EMBER_SOURCE_VERSION="~> 1.9.0" # Uses handlebars-source 2.0.0 - EMBER_SOURCE_VERSION="~> 1.10.0" # Uses HTMLBars - EMBER_SOURCE_VERSION="~> 1.13.0" # The latest Ember.js 1.x - EMBER_SOURCE_VERSION="~> 2.18.0" # The latest Ember.js 2.x - EMBER_SOURCE_VERSION="~> 3.0.0.beta.2" # The latest Ember.js 3.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 3.0.0" # Uses handlebars-source 3.0.x - EMBER_SOURCE_VERSION="~> 2.0" HANDLEBARS_SOURCE_VERSION="~> 4.0.0" # Uses handlebars-source 4.0.x
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 end context 'without videos' do let(:videos) { [] } it "doesn't display videos" do view.should_receive(:videos).once.and_return(videos) render rendered.should_not have_selector 'li' end end 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: Update videos/index spec to handle a lack of videos ## Code After: 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 end context 'without videos' do let(:videos) { [] } it "doesn't display videos" do view.should_receive(:videos).once.and_return(videos) render rendered.should_not have_selector 'li' end end end
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 property :GroupName, 'demo1' property :MembersToInclude, 'administrator' end
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, 'demo1' property :MembersToInclude, 'administrator' end
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_name :group property :GroupName, 'demo1' property :MembersToInclude, 'administrator' end ## Instruction: Fix demo recipe to use resource attribute instead of resource_name ## Code After: 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, 'demo1' property :MembersToInclude, 'administrator' end
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 T> static bool ParseResponse(FHttpResponsePtr response, T& parsed) { const auto respStr = response->GetContentAsString(); bool success = JsonArchive::LoadObject(*respStr, parsed); if (!success) { UE_LOG(JsonUtilsLog, Error, TEXT("Failed to parse json response '%s'"), *respStr); } return success; } };
// 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 JsonUtils { public: template<class T> static bool ParseResponse(FHttpResponsePtr response, T& parsed) { const auto respStr = response->GetContentAsString(); bool success = JsonArchive::LoadObject(*respStr, parsed); if (!success) { UE_LOG(JsonUtilsLog, Error, TEXT("Failed to parse json response '%s'"), *respStr); } return success; } };
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: template<class T> static bool ParseResponse(FHttpResponsePtr response, T& parsed) { const auto respStr = response->GetContentAsString(); bool success = JsonArchive::LoadObject(*respStr, parsed); if (!success) { UE_LOG(JsonUtilsLog, Error, TEXT("Failed to parse json response '%s'"), *respStr); } return success; } }; ## Instruction: Fix another Linux build error - Was missing #include statements ## Code After: // 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 JsonUtils { public: template<class T> static bool ParseResponse(FHttpResponsePtr response, T& parsed) { const auto respStr = response->GetContentAsString(); bool success = JsonArchive::LoadObject(*respStr, parsed); if (!success) { UE_LOG(JsonUtilsLog, Error, TEXT("Failed to parse json response '%s'"), *respStr); } return success; } };
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_KEY_ID = 'AKIAJM7BQ4WBJJSVU2JQ' AWS_SECRET_ACCESS_KEY = 'Fq9GmwWEsvbcdHuh4McD+ZUmfowPKrnzFmhczV2U' ''' Connection to AWS. ''' client = boto3.client('cloudwatch', aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_SECRET_ACCESS_KEY) # Main program: if __name__ == '__main__': print_results()
''' =================================== 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_KEY_ID = '<YOUR ACCESS KEY ID>' AWS_SECRET_ACCESS_KEY = '<YOUR SECRET ACCESS KEY>' ''' Connection to AWS. ''' client = boto3.client('cloudwatch', aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_SECRET_ACCESS_KEY) # Main program: if __name__ == '__main__': print_results()
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: ''' AWS_ACCESS_KEY_ID = 'AKIAJM7BQ4WBJJSVU2JQ' AWS_SECRET_ACCESS_KEY = 'Fq9GmwWEsvbcdHuh4McD+ZUmfowPKrnzFmhczV2U' ''' Connection to AWS. ''' client = boto3.client('cloudwatch', aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_SECRET_ACCESS_KEY) # Main program: if __name__ == '__main__': print_results() ## Instruction: Fix issue in cloudwacth service credentials ## Code After: ''' =================================== 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_KEY_ID = '<YOUR ACCESS KEY ID>' AWS_SECRET_ACCESS_KEY = '<YOUR SECRET ACCESS KEY>' ''' Connection to AWS. ''' client = boto3.client('cloudwatch', aws_access_key_id=AWS_ACCESS_KEY_ID, aws_secret_access_key=AWS_SECRET_ACCESS_KEY) # Main program: if __name__ == '__main__': print_results()
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 requests cascade; CREATE TABLE requests ( request_id SERIAL PRIMARY KEY NOT NULL, rental_reference BOOLEAN, rental_arrears BOOLEAN, rental_history BOOLEAN, other_requests TEXT, email TEXT UNIQUE, address TEXT, time_stamp TIMESTAMP WITH TIME ZONE, user_id SERIAL REFERENCES users (user_id) ); INSERT INTO requests (rental_reference, rental_arrears, rental_history, other_requests, email, address, time_stamp, user_id) VALUES (TRUE, FALSE, FALSE, 'also some other report', '[email protected]', NULL, current_timestamp, 1); SELECT * FROM requests; COMMIT;
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 requests cascade; CREATE TABLE requests ( request_id SERIAL PRIMARY KEY NOT NULL, rental_reference BOOLEAN, rental_arrears BOOLEAN, rental_history BOOLEAN, other_requests TEXT, email TEXT, street TEXT, town TEXT, postcode TEXT, time_stamp TIMESTAMP WITH TIME ZONE, user_id SERIAL REFERENCES users (user_id) ); INSERT INTO requests (rental_reference, rental_arrears, rental_history, other_requests, email, street, town, postcode, time_stamp, user_id) VALUES (TRUE, FALSE, FALSE, 'also some other report', '[email protected]', NULL, NULL, NULL, current_timestamp, 1); SELECT * FROM requests; COMMIT;
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); SELECT * FROM users; DROP TABLE IF EXISTS requests cascade; CREATE TABLE requests ( request_id SERIAL PRIMARY KEY NOT NULL, rental_reference BOOLEAN, rental_arrears BOOLEAN, rental_history BOOLEAN, other_requests TEXT, email TEXT UNIQUE, address TEXT, time_stamp TIMESTAMP WITH TIME ZONE, user_id SERIAL REFERENCES users (user_id) ); INSERT INTO requests (rental_reference, rental_arrears, rental_history, other_requests, email, address, time_stamp, user_id) VALUES (TRUE, FALSE, FALSE, 'also some other report', '[email protected]', NULL, current_timestamp, 1); SELECT * FROM requests; COMMIT; ## Instruction: Adjust initial database, breaking down the address in separate fields ## Code After: 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 requests cascade; CREATE TABLE requests ( request_id SERIAL PRIMARY KEY NOT NULL, rental_reference BOOLEAN, rental_arrears BOOLEAN, rental_history BOOLEAN, other_requests TEXT, email TEXT, street TEXT, town TEXT, postcode TEXT, time_stamp TIMESTAMP WITH TIME ZONE, user_id SERIAL REFERENCES users (user_id) ); INSERT INTO requests (rental_reference, rental_arrears, rental_history, other_requests, email, street, town, postcode, time_stamp, user_id) VALUES (TRUE, FALSE, FALSE, 'also some other report', '[email protected]', NULL, NULL, NULL, current_timestamp, 1); SELECT * FROM requests; COMMIT;
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 lambda { @t.instance_eval do initialize {} end }.should raise_error(ThreadError) end end end
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/rubyspec,lucaspinto/rubyspec,jstepien/rubyspec,benlovell/rubyspec,ruby/rubyspec,BanzaiMan/rubyspec,jstepien/rubyspec,josedonizetti/rubyspec,bomatson/rubyspec,iainbeeston/rubyspec,bl4ckdu5t/rubyspec,ericmeyer/rubyspec,josedonizetti/rubyspec,yb66/rubyspec,nobu/rubyspec,atambo/rubyspec,iainbeeston/rubyspec,DavidEGrayson/rubyspec,eregon/rubyspec,nobu/rubyspec,teleological/rubyspec,bomatson/rubyspec,DavidEGrayson/rubyspec,benlovell/rubyspec,wied03/rubyspec,kidaa/rubyspec,ruby/spec,kachick/rubyspec,eregon/rubyspec,nobu/rubyspec,mbj/rubyspec,jannishuebl/rubyspec,saturnflyer/rubyspec,Aesthetikx/rubyspec,kidaa/rubyspec,eregon/rubyspec,scooter-dangle/rubyspec,yous/rubyspec,agrimm/rubyspec,chesterbr/rubyspec,sgarciac/spec,bl4ckdu5t/rubyspec,sferik/rubyspec,chesterbr/rubyspec,Aesthetikx/rubyspec,scooter-dangle/rubyspec,yaauie/rubyspec,ruby/spec,ruby/spec,mrkn/rubyspec,mbj/rubyspec,atambo/rubyspec,lucaspinto/rubyspec,jannishuebl/rubyspec,yb66/rubyspec,iliabylich/rubyspec,sgarciac/spec,DawidJanczak/rubyspec,sferik/rubyspec,agrimm/rubyspec
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', __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 lambda { @t.instance_eval do initialize {} end }.should raise_error(ThreadError) end end end
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_LENGTH return Availability.new(@service_name, false) end res = get("/#{name}") status = handle_response(res, name) Availability.new(@service_name, status) end private def self.log_warning(name, res) warning = "#{@service_name.upcase}_FAILURE: Handling #{name}. Response: #{res}" Logging.logger.warn(warning) # Nil return must be explicit because the logging will return true. return nil end def self.handle_response(res, name) case res.code when 200 then false when 404 then true else log_warning(name, res) end end end end
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_LENGTH return Availability.new(@service_name, false) end res = get("/#{name}") # So Facebook is bolloxed and sends back just the word 'false' # as the (invalid) json for certain queries. This causes a # MultiJson::DecodeError inside HTTParty which we need to catch. # INFO: http://stackoverflow.com/q/7357493/574190 rescue MultiJson::DecodeError Availability.new(@service_name, false) else status = handle_response(res, name) Availability.new(@service_name, status) end private def self.log_warning(name, res) warning = "#{@service_name.upcase}_FAILURE: Handling #{name}. Response: #{res}" Logging.logger.warn(warning) # Nil return must be explicit because the logging will return true. return nil end def self.handle_response(res, name) case res.code when 200 then false when 404 then true else log_warning(name, res) end end end end
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 < MIN_NAME_LENGTH return Availability.new(@service_name, false) end res = get("/#{name}") status = handle_response(res, name) Availability.new(@service_name, status) end private def self.log_warning(name, res) warning = "#{@service_name.upcase}_FAILURE: Handling #{name}. Response: #{res}" Logging.logger.warn(warning) # Nil return must be explicit because the logging will return true. return nil end def self.handle_response(res, name) case res.code when 200 then false when 404 then true else log_warning(name, res) end end end end ## Instruction: Fix Bug: Facebook MultiJson::Decode error ## Code After: 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_LENGTH return Availability.new(@service_name, false) end res = get("/#{name}") # So Facebook is bolloxed and sends back just the word 'false' # as the (invalid) json for certain queries. This causes a # MultiJson::DecodeError inside HTTParty which we need to catch. # INFO: http://stackoverflow.com/q/7357493/574190 rescue MultiJson::DecodeError Availability.new(@service_name, false) else status = handle_response(res, name) Availability.new(@service_name, status) end private def self.log_warning(name, res) warning = "#{@service_name.upcase}_FAILURE: Handling #{name}. Response: #{res}" Logging.logger.warn(warning) # Nil return must be explicit because the logging will return true. return nil end def self.handle_response(res, name) case res.code when 200 then false when 404 then true else log_warning(name, res) end end end end
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>>, } impl<'a> Skin<'a> { pub fn new(name: &str) -> Skin { Skin { name: name.to_string(), measures: Vec::new(), } } pub fn name(&self) -> &str { self.name.as_slice() } } #[test] fn test_name() { let skin = Skin::new("skin"); assert_eq!("skin", skin.name()); }
// 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>>, } impl<'a> Skin<'a> { pub fn new(name: &str) -> Skin { Skin { name: name.to_string(), measures: Vec::new(), } } pub fn name(&self) -> &str { self.name.as_slice() } pub fn add_measure(&mut self, measure: Box<Measureable<'a> + 'a>) { self.measures.push(measure); } pub fn measures(&self) -> &Vec<Box<Measureable<'a> + 'a>> { &self.measures } } #[test] fn test_name() { let skin = Skin::new("skin"); assert_eq!("skin", skin.name()); } #[test] fn test_add_measure() { use time_measure::TimeMeasure; let mut skin = Skin::new("skin"); skin.add_measure(box TimeMeasure::new("foo")); assert_eq!(1, skin.measures().len()); }
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<Measureable<'a> + 'a>>, } impl<'a> Skin<'a> { pub fn new(name: &str) -> Skin { Skin { name: name.to_string(), measures: Vec::new(), } } pub fn name(&self) -> &str { self.name.as_slice() } } #[test] fn test_name() { let skin = Skin::new("skin"); assert_eq!("skin", skin.name()); } ## Instruction: Allow measures to be added to a Skin ## Code After: // 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>>, } impl<'a> Skin<'a> { pub fn new(name: &str) -> Skin { Skin { name: name.to_string(), measures: Vec::new(), } } pub fn name(&self) -> &str { self.name.as_slice() } pub fn add_measure(&mut self, measure: Box<Measureable<'a> + 'a>) { self.measures.push(measure); } pub fn measures(&self) -> &Vec<Box<Measureable<'a> + 'a>> { &self.measures } } #[test] fn test_name() { let skin = Skin::new("skin"); assert_eq!("skin", skin.name()); } #[test] fn test_add_measure() { use time_measure::TimeMeasure; let mut skin = Skin::new("skin"); skin.add_measure(box TimeMeasure::new("foo")); assert_eq!(1, skin.measures().len()); }
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(result) { res.json(result); }) .catch(function() { res.status(500).send("Error fetching " + resource.name); }); }; app.get('/photo', function(req, res) { respondWithRandom(Photo, res); }); app.get('/quote', function(req, res) { respondWithRandom(Quote, res); }); app.get('/article', function(req, res) { respondWithRandom(Article, res); }); exports.startServer = function(cb) { app.listen(process.env.PORT || 3333); cb(); };
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(resource, res) { resource.getRandom() .then(function(result) { res.json(result); }) .catch(function() { res.status(500).send("Error fetching " + resource.name); }); }; app.get('/photo', function(req, res) { respondWithRandom(Photo, res); }); app.get('/quote', function(req, res) { respondWithRandom(Quote, res); }); app.get('/article', function(req, res) { respondWithRandom(Article, res); }); exports.startServer = function(cb) { app.listen(process.env.PORT || 3333); cb(); }; app.get('/proxy', function(req, res) { var proxied = req.query.url; var urlParts = url.parse(proxied, true); var options = { host: urlParts.host, path: urlParts.path }; var callback = function(response) { if (response.statusCode === 200) { res.writeHead(200, { 'Content-Type': response.headers['content-type'] }); response.pipe(res); } else { res.writeHead(response.statusCode); res.end(); } }; http.request(options, callback).end(); });
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() .then(function(result) { res.json(result); }) .catch(function() { res.status(500).send("Error fetching " + resource.name); }); }; app.get('/photo', function(req, res) { respondWithRandom(Photo, res); }); app.get('/quote', function(req, res) { respondWithRandom(Quote, res); }); app.get('/article', function(req, res) { respondWithRandom(Article, res); }); exports.startServer = function(cb) { app.listen(process.env.PORT || 3333); cb(); }; ## Instruction: Implement image proxy for external photo urls ## Code After: 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(resource, res) { resource.getRandom() .then(function(result) { res.json(result); }) .catch(function() { res.status(500).send("Error fetching " + resource.name); }); }; app.get('/photo', function(req, res) { respondWithRandom(Photo, res); }); app.get('/quote', function(req, res) { respondWithRandom(Quote, res); }); app.get('/article', function(req, res) { respondWithRandom(Article, res); }); exports.startServer = function(cb) { app.listen(process.env.PORT || 3333); cb(); }; app.get('/proxy', function(req, res) { var proxied = req.query.url; var urlParts = url.parse(proxied, true); var options = { host: urlParts.host, path: urlParts.path }; var callback = function(response) { if (response.statusCode === 200) { res.writeHead(200, { 'Content-Type': response.headers['content-type'] }); response.pipe(res); } else { res.writeHead(response.statusCode); res.end(); } }; http.request(options, callback).end(); });
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("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("devtools.webconsole.persistlog", true); user_pref("extensions.pocket.enabled", false); user_pref("general.useragent.locale", "en-GB"); user_pref("layout.spellcheckDefault", 2); user_pref("loop.enabled", false); user_pref("plugins.click_to_play", true); user_pref("spellchecker.dictionary", "en-GB"); user_pref("toolkit.telemetry.enabled", false);
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("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("devtools.webconsole.persistlog", true); user_pref("extensions.pocket.enabled", false); user_pref("general.useragent.locale", "en-GB"); user_pref("layout.spellcheckDefault", 2); user_pref("loop.enabled", false); user_pref("media.block-autoplay-until-in-foreground", true); user_pref("plugins.click_to_play", true); user_pref("spellchecker.dictionary", "en-GB"); user_pref("toolkit.telemetry.enabled", false);
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); user_pref("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("devtools.webconsole.persistlog", true); user_pref("extensions.pocket.enabled", false); user_pref("general.useragent.locale", "en-GB"); user_pref("layout.spellcheckDefault", 2); user_pref("loop.enabled", false); user_pref("plugins.click_to_play", true); user_pref("spellchecker.dictionary", "en-GB"); user_pref("toolkit.telemetry.enabled", false); ## Instruction: Stop videos auto playing in the background. ## Code After: 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("datareporting.healthreport.service.enabled", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("devtools.webconsole.persistlog", true); user_pref("extensions.pocket.enabled", false); user_pref("general.useragent.locale", "en-GB"); user_pref("layout.spellcheckDefault", 2); user_pref("loop.enabled", false); user_pref("media.block-autoplay-until-in-foreground", true); user_pref("plugins.click_to_play", true); user_pref("spellchecker.dictionary", "en-GB"); user_pref("toolkit.telemetry.enabled", false);
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: .. automodule:: dxtbx.serialize.xds :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: :show-inheritance: .. automodule:: dxtbx.serialize.xds :members: :undoc-members: :show-inheritance: ## Instruction: Remove documentation for removed dxtbx module ## Code After: 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:
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: @posts, title: true } %> <% else %> <p> No posts were found. </p> <% end %>
<% 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", locals: { posts: @posts, title: true, hide_nsfw: true }) %> <% else %> <p> No posts were found. </p> <% end %>
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", locals: { posts: @posts, title: true } %> <% else %> <p> No posts were found. </p> <% end %> ## Instruction: Hide NSFW posts on user profile ## Code After: <% 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", locals: { posts: @posts, title: true, hide_nsfw: true }) %> <% else %> <p> No posts were found. </p> <% end %>
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_image: xcode7.2 install: - bundle install script: - bundle exec fastlane test
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 = new Date() if (date.getHours() > 18 || date.getHours() < 6) { nodeGarden.toggleNightMode() } var resetNode = 0 $container.addEventListener('click', function (e) { resetNode++ if (resetNode > nodeGarden.nodes.length - 1) { resetNode = 1 } nodeGarden.nodes[resetNode].reset({x: e.pageX * pixelRatio, y: e.pageY * pixelRatio, vx: 0, vy: 0}) }) $moon.addEventListener('click', () => { nodeGarden.toggleNightMode() }) window.addEventListener('resize', () => { nodeGarden.resize() })
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 automatically const date = new Date(); if (date.getHours() > 18 || date.getHours() < 6) { nodeGarden.toggleNightMode(); } let resetNode = 0; $container.addEventListener('click', (e) => { const bcr = $container.getBoundingClientRect(); resetNode++; if (resetNode > nodeGarden.nodes.length - 1) { resetNode = 1; } nodeGarden.nodes[resetNode].reset({ x: (e.pageX - bcr.left) * pixelRatio, y: (e.pageY - bcr.top) * pixelRatio, vx: 0, vy: 0 }); }); $moon.addEventListener('click', () => { nodeGarden.toggleNightMode(); }); window.addEventListener('resize', () => { nodeGarden.resize(); });
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 automatically var date = new Date() if (date.getHours() > 18 || date.getHours() < 6) { nodeGarden.toggleNightMode() } var resetNode = 0 $container.addEventListener('click', function (e) { resetNode++ if (resetNode > nodeGarden.nodes.length - 1) { resetNode = 1 } nodeGarden.nodes[resetNode].reset({x: e.pageX * pixelRatio, y: e.pageY * pixelRatio, vx: 0, vy: 0}) }) $moon.addEventListener('click', () => { nodeGarden.toggleNightMode() }) window.addEventListener('resize', () => { nodeGarden.resize() }) ## Instruction: Fix relative positioning issue, use classes and other sugar, ... ## Code After: 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 automatically const date = new Date(); if (date.getHours() > 18 || date.getHours() < 6) { nodeGarden.toggleNightMode(); } let resetNode = 0; $container.addEventListener('click', (e) => { const bcr = $container.getBoundingClientRect(); resetNode++; if (resetNode > nodeGarden.nodes.length - 1) { resetNode = 1; } nodeGarden.nodes[resetNode].reset({ x: (e.pageX - bcr.left) * pixelRatio, y: (e.pageY - bcr.top) * pixelRatio, vx: 0, vy: 0 }); }); $moon.addEventListener('click', () => { nodeGarden.toggleNightMode(); }); window.addEventListener('resize', () => { nodeGarden.resize(); });
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-5.1.0-gpl.zip - mv ext-5.1.0 spec/dummy/public/extjs - ln -s spec/dummy/public/extjs/icons spec/dummy/public/icons script: - export DISPLAY=:99.0 - bundle exec rake addons: postgresql: "9.4"
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-5.1.0-gpl.zip - mv ext-5.1.0 spec/dummy/public/extjs - ln -s `pwd`/spec/dummy/public/icons/ spec/dummy/public/extjs/icons script: - export DISPLAY=:99.0 - bundle exec rake addons: postgresql: "9.4"
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 - unzip -q ext-5.1.0-gpl.zip - mv ext-5.1.0 spec/dummy/public/extjs - ln -s spec/dummy/public/extjs/icons spec/dummy/public/icons script: - export DISPLAY=:99.0 - bundle exec rake addons: postgresql: "9.4" ## Instruction: Fix icons sym link for Travis CI ## Code After: 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-5.1.0-gpl.zip - mv ext-5.1.0 spec/dummy/public/extjs - ln -s `pwd`/spec/dummy/public/icons/ spec/dummy/public/extjs/icons script: - export DISPLAY=:99.0 - bundle exec rake addons: postgresql: "9.4"
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 zsh..." chsh -s $zsh $user echo "Configuring zsh..." cp -R oh-my-zsh /home/$user/.oh-my-zsh ln -s /home/$user/.oh-my-zsh/zshrc /home/$user/.zshrc echo "Configuring vim..." cp -R vim /home/$user/.vim ln -s /home/$user/.vim/vimrc /home/$user/.vimrc echo "Configuring .xinitrc..." cp xinitrc /home/$user/.xinitrc cp Xresources /home/$user/.Xresources echo "Hey look at that, I'm done."
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 is installed...' vim=$(which vim) if [ -z $vim ]; then echo 'no vim...installing.' sudo yum install -y vim fi echo "Changing shell to zsh..." sudo chsh -s $zsh $user echo "Configuring zsh..." cp -R oh-my-zsh /home/$user/.oh-my-zsh ln -s /home/$user/.oh-my-zsh/zshrc /home/$user/.zshrc echo "Configuring vim..." cp -R vim /home/$user/.vim ln -s /home/$user/.vim/vimrc /home/$user/.vimrc echo "Configuring .xinitrc..." cp xinitrc /home/$user/.xinitrc cp Xresources /home/$user/.Xresources echo "Installing dwm..." sudo apt-get install dwm suckless-tools echo "Configuring dwm..." sudo apt-get source dwm cp $SCRIPT_DIR/config.h dwm-*/ echo "Hey look at that, I'm done."
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 "Changing shell to zsh..." chsh -s $zsh $user echo "Configuring zsh..." cp -R oh-my-zsh /home/$user/.oh-my-zsh ln -s /home/$user/.oh-my-zsh/zshrc /home/$user/.zshrc echo "Configuring vim..." cp -R vim /home/$user/.vim ln -s /home/$user/.vim/vimrc /home/$user/.vimrc echo "Configuring .xinitrc..." cp xinitrc /home/$user/.xinitrc cp Xresources /home/$user/.Xresources echo "Hey look at that, I'm done." ## Instruction: Add dwm configuration as well as more program checking... ## Code After: 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 is installed...' vim=$(which vim) if [ -z $vim ]; then echo 'no vim...installing.' sudo yum install -y vim fi echo "Changing shell to zsh..." sudo chsh -s $zsh $user echo "Configuring zsh..." cp -R oh-my-zsh /home/$user/.oh-my-zsh ln -s /home/$user/.oh-my-zsh/zshrc /home/$user/.zshrc echo "Configuring vim..." cp -R vim /home/$user/.vim ln -s /home/$user/.vim/vimrc /home/$user/.vimrc echo "Configuring .xinitrc..." cp xinitrc /home/$user/.xinitrc cp Xresources /home/$user/.Xresources echo "Installing dwm..." sudo apt-get install dwm suckless-tools echo "Configuring dwm..." sudo apt-get source dwm cp $SCRIPT_DIR/config.h dwm-*/ echo "Hey look at that, I'm done."
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()}}" h4.media-heading Import: {{import.file}} p span.label ng-class="{'label-success':(import.state=='imported'), 'label-important':(import.state == 'error'), 'label-info':(import.state == 'analyzed')}" {{import.state.charAt(0).toUpperCase() + import.state.slice(1);}} | span.badge.badge-inverse ng-show='import.rowCount' {{import.rowCount}} rows | span.label.label-info Started: {{import.createdAt}} p ng-hide="import.terminal() || import.unActionable()" a.btn.btn-primary ng-href="/imports/{{import.id}}" {{import.editButtonMessage()}} | button.btn.btn-link ng-click="import.cancel()" Cancel
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()}}" h4.media-heading Import: {{import.file}} p span.label ng-class="{'label-success':(import.state=='imported'), 'label-important':(import.state == 'error'), 'label-info':(import.state == 'analyzed')}" {{import.state.charAt(0).toUpperCase() + import.state.slice(1);}} | span.badge.badge-inverse ng-show='import.rowCount' {{import.rowCount}} rows | span.label.label-info Started: {{import.createdAt | date:'yyyy-MM-dd hh:mma'}} p ng-hide="import.terminal() || import.unActionable()" a.btn.btn-primary ng-href="/imports/{{import.id}}" {{import.editButtonMessage()}} | button.btn.btn-link ng-click="import.cancel()" Cancel
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()}}" h4.media-heading Import: {{import.file}} p span.label ng-class="{'label-success':(import.state=='imported'), 'label-important':(import.state == 'error'), 'label-info':(import.state == 'analyzed')}" {{import.state.charAt(0).toUpperCase() + import.state.slice(1);}} | span.badge.badge-inverse ng-show='import.rowCount' {{import.rowCount}} rows | span.label.label-info Started: {{import.createdAt}} p ng-hide="import.terminal() || import.unActionable()" a.btn.btn-primary ng-href="/imports/{{import.id}}" {{import.editButtonMessage()}} | button.btn.btn-link ng-click="import.cancel()" Cancel ## Instruction: Simplify import "Started" date and time format (mo-day-yr 00:00). ## Code After: 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()}}" h4.media-heading Import: {{import.file}} p span.label ng-class="{'label-success':(import.state=='imported'), 'label-important':(import.state == 'error'), 'label-info':(import.state == 'analyzed')}" {{import.state.charAt(0).toUpperCase() + import.state.slice(1);}} | span.badge.badge-inverse ng-show='import.rowCount' {{import.rowCount}} rows | span.label.label-info Started: {{import.createdAt | date:'yyyy-MM-dd hh:mma'}} p ng-hide="import.terminal() || import.unActionable()" a.btn.btn-primary ng-href="/imports/{{import.id}}" {{import.editButtonMessage()}} | button.btn.btn-link ng-click="import.cancel()" Cancel
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 current_user.is_authenticated: return redirect(url_for('security.login', next='admin'))
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 into before_request handler ## Code After: 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 current_user.is_authenticated: return redirect(url_for('security.login', next='admin'))
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 } }, { module: 'hurst/weather', position: 'top_right', config: { } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
/* 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 } }, { module: 'hurst/muni', position: 'top_left', config: { stops: ['48|3463'] } }, { module: 'hurst/weather', position: 'top_right', config: { apiKey: 'MUST_PUT_KEY_HERE', latLng: '37.700000,-122.400000' } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
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 } }, { module: 'hurst/weather', position: 'top_right', config: { } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} ## Instruction: Update sample config for new modules. ## Code After: /* 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 } }, { module: 'hurst/muni', position: 'top_left', config: { stops: ['48|3463'] } }, { module: 'hurst/weather', position: 'top_right', config: { apiKey: 'MUST_PUT_KEY_HERE', latLng: '37.700000,-122.400000' } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;}
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[key] = window[key]; } }); chai.use(chaiImmutable);
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 chai expectations for immutables. ## Code After: 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[key] = window[key]; } }); chai.use(chaiImmutable);
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/iframeResizer.min.js"></script> <script>iFrameResize({}, '#dayof-iframe');</script> </div>
--- 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="0"></iframe>
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/iframe-resizer/3.5.15/iframeResizer.min.js"></script> <script>iFrameResize({}, '#dayof-iframe');</script> </div> ## Instruction: Use alternate iframe maximization approach ## Code After: --- 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="0"></iframe>
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 holders of this role in our <%= link_to "past #{role.title.pluralize}", role.past_holders_url, class: "govuk-link" %> section.</p> <% elsif role.past_holders.present? %> <%= render "components/taxon-list", { items: role.past_holders.map do |rh| { text: rh['title'], path: rh['base_path'], description: "#{rh['details']['start_year']} to #{rh['details']['end_year']}" } end } %> <% end %> </section> <% end %>
<% 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"> Find out more about previous holders of this role in our <%= link_to "past #{role.title.pluralize}", role.past_holders_url, class: "govuk-link" %> section. </p> <% elsif role.past_holders.present? %> <%= render "components/taxon-list", { items: role.past_holders.map do |rh| { text: rh['title'], path: rh['base_path'], description: "#{rh['details']['start_year']} to #{rh['details']['end_year']}" } end } %> <% end %> </section> <% end %>
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 previous holders of this role in our <%= link_to "past #{role.title.pluralize}", role.past_holders_url, class: "govuk-link" %> section.</p> <% elsif role.past_holders.present? %> <%= render "components/taxon-list", { items: role.past_holders.map do |rh| { text: rh['title'], path: rh['base_path'], description: "#{rh['details']['start_year']} to #{rh['details']['end_year']}" } end } %> <% end %> </section> <% end %> ## Instruction: Add govuk-body and lang attribute ## Code After: <% 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"> Find out more about previous holders of this role in our <%= link_to "past #{role.title.pluralize}", role.past_holders_url, class: "govuk-link" %> section. </p> <% elsif role.past_holders.present? %> <%= render "components/taxon-list", { items: role.past_holders.map do |rh| { text: rh['title'], path: rh['base_path'], description: "#{rh['details']['start_year']} to #{rh['details']['end_year']}" } end } %> <% end %> </section> <% end %>
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_length = 3 let g:neocomplcache_enable_at_startup = 1 " }}} " NERDTree {{{ let NERDTreeIgnore=['\.rbc$', '\~$'] map <Leader>n :NERDTreeToggle<CR> " }}} " Rake.vim {{{ nmap <Leader>a :AV<CR> nmap <C-a> :A<CR> " }}} " Bufexplorer {{ nnoremap <C-B> :BufExplorer<cr> " }} " PickHEX {{{ imap <D-C> <c-o>:PickHEX<CR> nmap <D-C> :PickHEX<CR> " }}} " Syntastic {{{ " Mark syntax errors with :signs let g:syntastic_enable_signs=1 let g:syntastic_quiet_warnings=1 " }}} " NERDCommenter {{{ let NERDSpaceDelims=1 " }}} " Powerline {{{ " Use fancy symbols let g:Powerline_symbols = 'fancy' " }}}
" 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 " }}} " NERDTree {{{ let NERDTreeIgnore=['\.rbc$', '\~$'] map <Leader>n :NERDTreeToggle<CR> " }}} " Rake.vim {{{ nmap <Leader>a :AV<CR> nmap <C-a> :A<CR> " }}} " Bufexplorer {{ nnoremap <C-B> :BufExplorer<cr> " }} " PickHEX {{{ imap <D-C> <c-o>:PickHEX<CR> nmap <D-C> :PickHEX<CR> " }}} " Syntastic {{{ " Mark syntax errors with :signs let g:syntastic_enable_signs=1 let g:syntastic_quiet_warnings=1 " }}} " NERDCommenter {{{ let NERDSpaceDelims=1 " }}} " Powerline {{{ " Use fancy symbols let g:Powerline_symbols = 'fancy' " }}}
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_completion_start_length = 3 let g:neocomplcache_enable_at_startup = 1 " }}} " NERDTree {{{ let NERDTreeIgnore=['\.rbc$', '\~$'] map <Leader>n :NERDTreeToggle<CR> " }}} " Rake.vim {{{ nmap <Leader>a :AV<CR> nmap <C-a> :A<CR> " }}} " Bufexplorer {{ nnoremap <C-B> :BufExplorer<cr> " }} " PickHEX {{{ imap <D-C> <c-o>:PickHEX<CR> nmap <D-C> :PickHEX<CR> " }}} " Syntastic {{{ " Mark syntax errors with :signs let g:syntastic_enable_signs=1 let g:syntastic_quiet_warnings=1 " }}} " NERDCommenter {{{ let NERDSpaceDelims=1 " }}} " Powerline {{{ " Use fancy symbols let g:Powerline_symbols = 'fancy' " }}} ## Instruction: Use default neocompcache start length ## Code After: " 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 " }}} " NERDTree {{{ let NERDTreeIgnore=['\.rbc$', '\~$'] map <Leader>n :NERDTreeToggle<CR> " }}} " Rake.vim {{{ nmap <Leader>a :AV<CR> nmap <C-a> :A<CR> " }}} " Bufexplorer {{ nnoremap <C-B> :BufExplorer<cr> " }} " PickHEX {{{ imap <D-C> <c-o>:PickHEX<CR> nmap <D-C> :PickHEX<CR> " }}} " Syntastic {{{ " Mark syntax errors with :signs let g:syntastic_enable_signs=1 let g:syntastic_quiet_warnings=1 " }}} " NERDCommenter {{{ let NERDSpaceDelims=1 " }}} " Powerline {{{ " Use fancy symbols let g:Powerline_symbols = 'fancy' " }}}
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/docker-library/elasticsearch/issues/98#issuecomment-254656216 - sudo sysctl -w vm.max_map_count=262144 before_script: - env | sort - cd "$VERSION" - image="elasticsearch:$VERSION" script: - docker build -t "$image" . - ~/official-images/test/run.sh "$image" after_script: - docker images # vim:set et ts=2 sw=2:
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/docker-library/elasticsearch/issues/98#issuecomment-254656216 - sudo sysctl -w vm.max_map_count=262144 before_script: - env | sort - cd "$VERSION" - image="elasticsearch:${VERSION}${VARIANT:+-$VARIANT}" script: - docker build -t "$image" "${VARIANT:-.}" - ~/official-images/test/run.sh "$image" after_script: - docker images # vim:set et ts=2 sw=2:
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 # https://github.com/docker-library/elasticsearch/issues/98#issuecomment-254656216 - sudo sysctl -w vm.max_map_count=262144 before_script: - env | sort - cd "$VERSION" - image="elasticsearch:$VERSION" script: - docker build -t "$image" . - ~/official-images/test/run.sh "$image" after_script: - docker images # vim:set et ts=2 sw=2: ## Instruction: Fix Travis to build the proper variants ## Code After: 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/docker-library/elasticsearch/issues/98#issuecomment-254656216 - sudo sysctl -w vm.max_map_count=262144 before_script: - env | sort - cd "$VERSION" - image="elasticsearch:${VERSION}${VARIANT:+-$VARIANT}" script: - docker build -t "$image" "${VARIANT:-.}" - ~/official-images/test/run.sh "$image" after_script: - docker images # vim:set et ts=2 sw=2:
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: FrameRequestCallback): number; } if (!('requestAnimationFrame' in window)) { window.requestAnimationFrame = (<RAFWithVendorPrefix>window).mozRequestAnimationFrame || (<RAFWithVendorPrefix>window).webkitRequestAnimationFrame || (<RAFWithVendorPrefix>window).msRequestAnimationFrame; } }
/* * 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: FrameRequestCallback): number; msRequestAnimationFrame(callback: FrameRequestCallback): number; } if (!('requestAnimationFrame' in window)) { window.requestAnimationFrame = (<RAFWithVendorPrefix>window).mozRequestAnimationFrame || (<RAFWithVendorPrefix>window).webkitRequestAnimationFrame || (<RAFWithVendorPrefix>window).msRequestAnimationFrame; } }
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: FrameRequestCallback): number; } if (!('requestAnimationFrame' in window)) { window.requestAnimationFrame = (<RAFWithVendorPrefix>window).mozRequestAnimationFrame || (<RAFWithVendorPrefix>window).webkitRequestAnimationFrame || (<RAFWithVendorPrefix>window).msRequestAnimationFrame; } } ## Instruction: Add type definition for msRequestAnimationFrame ## Code After: /* * 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: FrameRequestCallback): number; msRequestAnimationFrame(callback: FrameRequestCallback): number; } if (!('requestAnimationFrame' in window)) { window.requestAnimationFrame = (<RAFWithVendorPrefix>window).mozRequestAnimationFrame || (<RAFWithVendorPrefix>window).webkitRequestAnimationFrame || (<RAFWithVendorPrefix>window).msRequestAnimationFrame; } }
7b42f66d5df4fb1d1c9a8a961527d59db2563aa9
Cargo.toml
Cargo.toml
[package] name = "vitral" version = "0.0.0" authors = ["Risto Saarelma <[email protected]>"] 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-dependencies] glium = "0.15" [dev-dependencies.vitral-glium] path = "vitral-glium"
[package] name = "vitral" version = "0.1.0" authors = ["Risto Saarelma <[email protected]>"] 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-dependencies] glium = "0.15" image = "0.10" [dev-dependencies.vitral-glium] path = "vitral-glium"
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 <[email protected]>"] 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-dependencies] glium = "0.15" [dev-dependencies.vitral-glium] path = "vitral-glium" ## Instruction: Drop image dependency from main Vitral ## Code After: [package] name = "vitral" version = "0.1.0" authors = ["Risto Saarelma <[email protected]>"] 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-dependencies] glium = "0.15" image = "0.10" [dev-dependencies.vitral-glium] path = "vitral-glium"
61117868716166da7137fe6dfa688d39dac7f475
package.json
package.json
{ "author": "Justin Chase <[email protected]>", "contributors": [ "Nathan Rajlich <[email protected]> (http://tootallnate.net)", "Ben Noordhuis <[email protected]>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "keywords": [ "weak", "reference", "js", "javascript", "object", "function", "callback" ], "version": "0.4.4", "repository": { "type": "git", "url": "git://github.com/evolvelabs/electron-weak.git" }, "main": "lib/weak.js", "scripts": { "test": "mocha -gc --reporter spec", "install": "bash ./node_modules/.bin/elinst" }, "engines": { "node": ">=2.3.1" }, "binaries": [ "https://s3.amazonaws.com/evolve-bin/{name}/{name}-{version}-{platform}-{arch}-{configuration}-{channel}.tgz" ], "dependencies": { "bindings": "*", "electron-updater-tools": "~0.1.x" }, "devDependencies": { "nan": "~1.8.4", "mocha": "~2.1.0" }, "bundledDependencies": [ "electron-updater-tools" ] }
{ "author": "Justin Chase <[email protected]>", "contributors": [ "Nathan Rajlich <[email protected]> (http://tootallnate.net)", "Ben Noordhuis <[email protected]>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "keywords": [ "weak", "reference", "js", "javascript", "object", "function", "callback" ], "version": "0.4.5", "repository": { "type": "git", "url": "git://github.com/evolvelabs/electron-weak.git" }, "main": "lib/weak.js", "scripts": { "test": "mocha -gc --reporter spec", "install": "bash ./node_modules/.bin/elinst" }, "engines": { "node": ">=2.3.1" }, "binaries": [ "https://s3.amazonaws.com/evolve-bin/{name}/{name}-{version}-{platform}-{arch}-{configuration}.tgz" ], "dependencies": { "bindings": "*", "electron-updater-tools": "~0.1.x" }, "devDependencies": { "nan": "~1.8.4", "mocha": "~2.1.0" }, "bundledDependencies": [ "electron-updater-tools" ] }
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 <[email protected]>", "contributors": [ "Nathan Rajlich <[email protected]> (http://tootallnate.net)", "Ben Noordhuis <[email protected]>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "keywords": [ "weak", "reference", "js", "javascript", "object", "function", "callback" ], "version": "0.4.4", "repository": { "type": "git", "url": "git://github.com/evolvelabs/electron-weak.git" }, "main": "lib/weak.js", "scripts": { "test": "mocha -gc --reporter spec", "install": "bash ./node_modules/.bin/elinst" }, "engines": { "node": ">=2.3.1" }, "binaries": [ "https://s3.amazonaws.com/evolve-bin/{name}/{name}-{version}-{platform}-{arch}-{configuration}-{channel}.tgz" ], "dependencies": { "bindings": "*", "electron-updater-tools": "~0.1.x" }, "devDependencies": { "nan": "~1.8.4", "mocha": "~2.1.0" }, "bundledDependencies": [ "electron-updater-tools" ] } ## Instruction: Increment version, update binaries string ## Code After: { "author": "Justin Chase <[email protected]>", "contributors": [ "Nathan Rajlich <[email protected]> (http://tootallnate.net)", "Ben Noordhuis <[email protected]>" ], "name": "electron-weak", "description": "This is a fork of the node-weak project, adding electron builds and binaries.", "keywords": [ "weak", "reference", "js", "javascript", "object", "function", "callback" ], "version": "0.4.5", "repository": { "type": "git", "url": "git://github.com/evolvelabs/electron-weak.git" }, "main": "lib/weak.js", "scripts": { "test": "mocha -gc --reporter spec", "install": "bash ./node_modules/.bin/elinst" }, "engines": { "node": ">=2.3.1" }, "binaries": [ "https://s3.amazonaws.com/evolve-bin/{name}/{name}-{version}-{platform}-{arch}-{configuration}.tgz" ], "dependencies": { "bindings": "*", "electron-updater-tools": "~0.1.x" }, "devDependencies": { "nan": "~1.8.4", "mocha": "~2.1.0" }, "bundledDependencies": [ "electron-updater-tools" ] }
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-phonon' system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}" system "make install" end end
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 = Formula.factory 'kde-phonon' system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}" system "make install" end end
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,felixonmars/homebrew,virtuald/homebrew,dunn/homebrew,dutchcoders/homebrew,razamatan/homebrew,sakra/homebrew,outcoldman/homebrew,markpeek/homebrew,valkjsaaa/homebrew,danpalmer/homebrew,max-horvath/homebrew,kbrock/homebrew,rwstauner/homebrew,geometrybase/homebrew,craigbrad/homebrew,cbenhagen/homebrew,ianbrandt/homebrew,oliviertoupin/homebrew,hyuni/homebrew,xcezx/homebrew,5zzang/homebrew,boneskull/homebrew,Krasnyanskiy/homebrew,Chilledheart/homebrew,totalvoidness/homebrew,chfast/homebrew,vinodkone/homebrew,henry0312/homebrew,geometrybase/homebrew,wadejong/homebrew,booi/homebrew,AtnNn/homebrew,alindeman/homebrew,MonCoder/homebrew,hyokosdeveloper/linuxbrew,justjoheinz/homebrew,woodruffw/homebrew-test,kodabb/homebrew,Redth/homebrew,scorphus/homebrew,DDShadoww/homebrew,henry0312/homebrew,ajshort/homebrew,alexandrecormier/homebrew,jwillemsen/linuxbrew,jeffmo/homebrew,auvi/homebrew,xuebinglee/homebrew,pdpi/homebrew,a-b/homebrew,LaurentFough/homebrew,tjhei/linuxbrew,esalling23/homebrew,jiaoyigui/homebrew,cprecioso/homebrew,harelba/homebrew,jcassiojr/homebrew,dambrisco/homebrew,rlhh/homebrew,ngoyal/homebrew,iandennismiller/homebrew,bigbes/homebrew,jwatzman/homebrew,alex-courtis/homebrew,alanthing/homebrew,sigma-random/homebrew,MoSal/homebrew,huitseeker/homebrew,sideci-sample/sideci-sample-homebrew,Monits/homebrew,kevmoo/homebrew,pvrs12/homebrew,yonglehou/homebrew,mokkun/homebrew,ebouaziz/linuxbrew,verbitan/homebrew,bendemaree/homebrew,kwadade/LearnRuby,tghs/linuxbrew,rlhh/homebrew,jbpionnier/homebrew,qiruiyin/homebrew,dkotvan/homebrew,zabawaba99/homebrew,ortho/homebrew,Dreysman/homebrew,bukzor/homebrew,summermk/homebrew,valkjsaaa/homebrew,nshemonsky/homebrew,klazuka/homebrew,alex-zhang/homebrew,afb/homebrew,dkotvan/homebrew,jarrettmeyer/homebrew,Homebrew/linuxbrew,hanxue/homebrew,chenflat/homebrew,tonyghita/homebrew,mbrevda/homebrew,nnutter/homebrew,totalvoidness/homebrew,anjackson/homebrew,will/homebrew,iostat/homebrew2,BlackFrog1/homebrew,bertjwregeer/homebrew,fabianschuiki/homebrew,skatsuta/homebrew,tjschuck/homebrew,cristobal/homebrew,elamc/homebrew,sjackman/linuxbrew,mindrones/homebrew,jiashuw/homebrew,rwstauner/homebrew,tseven/homebrew,RandyMcMillan/homebrew,rlhh/homebrew,alex/homebrew,anders/homebrew,craigbrad/homebrew,antogg/homebrew,jonas/homebrew,dmarkrollins/homebrew,buzzedword/homebrew,dolfly/homebrew,AICIDNN/homebrew,grob3/homebrew,feugenix/homebrew,dalinaum/homebrew,haosdent/homebrew,thos37/homebrew,daviddavis/homebrew,liamstask/homebrew,YOTOV-LIMITED/homebrew,windoze/homebrew,Originate/homebrew,pedromaltez-forks/homebrew,IsmailM/linuxbrew,tbeckham/homebrew,dickeyxxx/homebrew,187j3x1/homebrew,waj/homebrew,mattfritz/homebrew,outcoldman/homebrew,mtigas/homebrew,trskop/linuxbrew,pullreq/homebrew,Govinda-Fichtner/homebrew,iamcharp/homebrew,notDavid/homebrew,rillian/homebrew,drbenmorgan/linuxbrew,kenips/homebrew,danpalmer/homebrew,malmaud/homebrew,NRauh/homebrew,hongkongkiwi/homebrew,trajano/homebrew,esalling23/homebrew,nathancahill/homebrew,stevenjack/homebrew,deorth/homebrew,thejustinwalsh/homebrew,karlhigley/homebrew,xanderlent/homebrew,dalguji/homebrew,Homebrew/linuxbrew,yyn835314557/homebrew,ablyler/homebrew,liuquansheng47/Homebrew,woodruffw/homebrew-test,mxk1235/homebrew,rstacruz/homebrew,Red54/homebrew,dunn/homebrew,durka/homebrew,harsha-mudi/homebrew,calmez/homebrew,dtan4/homebrew,DarthGandalf/homebrew,tzudot/homebrew,dplarson/homebrew,sigma-random/homebrew,dalanmiller/homebrew,osimola/homebrew,gonzedge/homebrew,petercm/homebrew,notDavid/homebrew,joshua-rutherford/homebrew,MrChen2015/homebrew,timomeinen/homebrew,grmartin/homebrew,denvazh/homebrew,aristiden7o/homebrew,jeremiahyan/homebrew,verbitan/homebrew,danieroux/homebrew,mtigas/homebrew,dericed/homebrew,mapbox/homebrew,MartinDelille/homebrew,nelstrom/homebrew,zoidbergwill/homebrew,swallat/homebrew,SteveClement/homebrew,ento/homebrew,bluca/homebrew,elasticdog/homebrew,Homebrew/homebrew,kidaa/homebrew,Monits/homebrew,alex-courtis/homebrew,hvnsweeting/homebrew,endelwar/homebrew,erezny/homebrew,egentry/homebrew,bendoerr/homebrew,ened/homebrew,getgauge/homebrew,reelsense/homebrew,bidle/homebrew,morevalily/homebrew,booi/homebrew,feelpp/homebrew,wfarr/homebrew,johanhammar/homebrew,will/homebrew,giffels/homebrew,yoshida-mediba/homebrew,mattprowse/homebrew,miry/homebrew,mattfarina/homebrew,oneillkza/linuxbrew,gicmo/homebrew,filcab/homebrew,feelpp/homebrew,xinlehou/homebrew,tomguiter/homebrew,waj/homebrew,OlivierParent/homebrew,mrkn/homebrew,SteveClement/homebrew,zhimsel/homebrew,frozzare/homebrew,ear/homebrew,phrase/homebrew,Lywangwenbin/homebrew,tobz-nz/homebrew,petercm/homebrew,SnoringFrog/homebrew,robrix/homebrew,tutumcloud/homebrew,kodabb/homebrew,supriyantomaftuh/homebrew,rneatherway/homebrew,joshua-rutherford/homebrew,optikfluffel/homebrew,tsaeger/homebrew,saketkc/linuxbrew,KenanSulayman/homebrew,emilyst/homebrew,geoff-codes/homebrew,neronplex/homebrew,ryanshaw/homebrew,bl1nk/homebrew,paulbakker/homebrew,SiegeLord/homebrew,tkelman/homebrew,esalling23/homebrew,recruit-tech/homebrew,thinker0/homebrew,boyanpenkov/homebrew,creationix/homebrew,bertjwregeer/homebrew,oschwald/homebrew,dholm/homebrew,andrew-regan/homebrew,bcwaldon/homebrew,nnutter/homebrew,jbaum98/linuxbrew,baob/homebrew,waj/homebrew,francaguilar/homebrew,mjbshaw/homebrew,codeout/homebrew,RadicalZephyr/homebrew,adamliter/homebrew,youprofit/homebrew,Red54/homebrew,quantumsteve/homebrew,a-b/homebrew,barn/homebrew,haosdent/homebrew,cbeck88/linuxbrew,Moisan/homebrew,ryanshaw/homebrew,pinkpolygon/homebrew,outcoldman/homebrew,frickler01/homebrew,baldwicc/homebrew,ctate/autocode-homebrew,Moisan/homebrew,frozzare/homebrew,oneillkza/linuxbrew,akshayvaidya/homebrew,chiefy/homebrew,ffleming/homebrew,rillian/homebrew,Asuranceturix/homebrew,gcstang/linuxbrew,saketkc/linuxbrew,joschi/homebrew,dpalmer93/homebrew,h3r2on/homebrew,max-horvath/homebrew,5zzang/homebrew,mbrevda/homebrew,kevinastone/homebrew,coldeasy/homebrew,gijzelaerr/homebrew,thinker0/homebrew,ktheory/homebrew,oliviertilmans/homebrew,bchatard/homebrew,kgb4000/homebrew,anjackson/homebrew,ekmett/homebrew,robotblake/homebrew,wolfd/homebrew,prasincs/homebrew,decors/homebrew,kwilczynski/homebrew,gildegoma/homebrew,verdurin/homebrew,amjith/homebrew,Gasol/homebrew,iblueer/homebrew,max-horvath/homebrew,drbenmorgan/linuxbrew,anders/homebrew,ehamberg/homebrew,vladshablinsky/homebrew,jimmy906/homebrew,mattbostock/homebrew,miketheman/homebrew,antst/homebrew,cosmo0920/homebrew,trskop/linuxbrew,miketheman/homebrew,mtfelix/homebrew,nysthee/homebrew,callahad/homebrew,deployable/homebrew,brunchboy/homebrew,rillian/homebrew,zebMcCorkle/homebrew,vigo/homebrew,klatys/homebrew,srikalyan/homebrew,dholm/linuxbrew,paulbakker/homebrew,Drewshg312/homebrew,MartinSeeler/homebrew,vinicius5581/homebrew,nkolomiec/homebrew,gcstang/homebrew,oschwald/homebrew,mroch/homebrew,samthor/homebrew,tylerball/homebrew,keithws/homebrew,Linuxbrew/linuxbrew,brunchboy/homebrew,dgageot/homebrew,alanthing/homebrew,pigoz/homebrew,ktaragorn/homebrew,gcstang/homebrew,asparagui/homebrew,seegno-forks/homebrew,okuramasafumi/homebrew,jwatzman/homebrew,caputomarcos/linuxbrew,erezny/homebrew,ExtremeMan/homebrew,thejustinwalsh/homebrew,carlmod/homebrew,justjoheinz/homebrew,indrajitr/homebrew,alindeman/homebrew,AlexejK/homebrew,rhendric/homebrew,vihangm/homebrew,songjizu001/homebrew,feelpp/homebrew,liamstask/homebrew,tany-ovcharenko/depot,whistlerbrk/homebrew,lhahne/homebrew,ralic/homebrew,summermk/homebrew,halloleo/homebrew,ge11232002/homebrew,jsjohnst/homebrew,linse073/homebrew,rhoffman3621/learn-rails,moltar/homebrew,khwon/homebrew,AntonioMeireles/homebrew,Govinda-Fichtner/homebrew,jingweno/homebrew,ldiqual/homebrew,marcusandre/homebrew,oliviertilmans/homebrew,hikaruworld/homebrew,nshemonsky/homebrew,adevress/homebrew,coldeasy/homebrew,moltar/homebrew,ericzhou2008/homebrew,Cottser/homebrew,bbhoss/homebrew,wrunnery/homebrew,jab/homebrew,slyphon/homebrew,dericed/homebrew,mapbox/homebrew,qiruiyin/homebrew,bendoerr/homebrew,bmroberts1987/homebrew,afdnlw/linuxbrew,mattfritz/homebrew,hakamadare/homebrew,sitexa/homebrew,calmez/homebrew,thebyrd/homebrew,kbinani/homebrew,hermansc/homebrew,ablyler/homebrew,stevenjack/homebrew,freedryk/homebrew,razamatan/homebrew,wolfd/homebrew,youtux/homebrew,alexandrecormier/homebrew,kawanet/homebrew,chkuendig/homebrew,lucas-clemente/homebrew,lmontrieux/homebrew,andreyto/homebrew,buzzedword/homebrew,miketheman/homebrew,boyanpenkov/homebrew,skinny-framework/homebrew,jianjin/homebrew,bettyDes/homebrew,kawanet/homebrew,John-Colvin/homebrew,dholm/homebrew,saketkc/homebrew,ericzhou2008/homebrew,blairham/homebrew,cooltheo/homebrew,rnh/homebrew,eagleflo/homebrew,adamchainz/homebrew,bitrise-io/homebrew,raphaelcohn/homebrew,kalbasit/homebrew,hkwan003/homebrew,zenazn/homebrew,afh/homebrew,MartinDelille/homebrew,AlexejK/homebrew,razamatan/homebrew,tzudot/homebrew,craig5/homebrew,cosmo0920/homebrew,dtan4/homebrew,englishm/homebrew,IsmailM/linuxbrew,rs/homebrew,prasincs/homebrew,deorth/homebrew,creack/homebrew,bbahrami/homebrew,scpeters/homebrew,tbetbetbe/linuxbrew,huitseeker/homebrew,frodeaa/homebrew,5zzang/homebrew,ldiqual/homebrew,jsjohnst/homebrew,dconnolly/homebrew,dambrisco/homebrew,robrix/homebrew,LonnyGomes/homebrew,zorosteven/homebrew,pullreq/homebrew,amenk/linuxbrew,andyshinn/homebrew,TaylorMonacelli/homebrew,thuai/boxen,ssgelm/homebrew,gawbul/homebrew,nicowilliams/homebrew,linjunpop/homebrew,OlivierParent/homebrew,elgertam/homebrew,exicon/homebrew,koraktor/homebrew,theeternalsw0rd/homebrew,Hasimir/homebrew,fabianschuiki/homebrew,tyrchen/homebrew,mkrapp/homebrew,YOTOV-LIMITED/homebrew,valkjsaaa/homebrew,vinodkone/homebrew,alexbukreev/homebrew,changzuozhen/homebrew,brotbert/homebrew,pwnall/homebrew,KevinSjoberg/homebrew,afh/homebrew,kashif/homebrew,pdpi/homebrew,cooltheo/homebrew,davydden/homebrew,digiter/linuxbrew,dconnolly/homebrew,DoomHammer/linuxbrew,johanhammar/homebrew,jonafato/homebrew,harelba/homebrew,haosdent/homebrew,sachiketi/homebrew,vinicius5581/homebrew,kkirsche/homebrew,dtan4/homebrew,rosalsm/homebrew,bruno-/homebrew,mcolic/homebrew,boshnivolo/homebrew,1zaman/homebrew,atsjj/homebrew,bjorand/homebrew,dai0304/homebrew,apjanke/homebrew,kikuchy/homebrew,skinny-framework/homebrew,recruit-tech/homebrew,bright-sparks/homebrew,silentbicycle/homebrew,utzig/homebrew,deployable/homebrew,malmaud/homebrew,rhendric/homebrew,martinklepsch/homebrew,brendanator/linuxbrew,xyproto/homebrew,NRauh/homebrew,chkuendig/homebrew,zorosteven/homebrew,Linuxbrew/linuxbrew,danielfariati/homebrew,jasonm23/homebrew,marcoceppi/homebrew,jspahrsummers/homebrew,sorin-ionescu/homebrew,jarrettmeyer/homebrew,drewpc/homebrew,Gutek/homebrew,sideci-sample/sideci-sample-homebrew,ls2uper/homebrew,kimhunter/homebrew,jwillemsen/homebrew,wfalkwallace/homebrew,atsjj/homebrew,kkirsche/homebrew,shawndellysse/homebrew,rcombs/homebrew,MrChen2015/homebrew,rstacruz/homebrew,miry/homebrew,mbrevda/homebrew,nju520/homebrew,dardo82/homebrew,pwnall/homebrew,josa42/homebrew,kevinastone/homebrew,lucas-clemente/homebrew,jehutymax/homebrew,iggyvolz/linuxbrew,quantumsteve/homebrew,outcoldman/linuxbrew,onlynone/homebrew,goodcodeguy/homebrew,amjith/homebrew,geoff-codes/homebrew,tbeckham/homebrew,mxk1235/homebrew,yidongliu/homebrew,sportngin/homebrew,dtrebbien/homebrew,ffleming/homebrew,southwolf/homebrew,razamatan/homebrew,aaronwolen/homebrew,sigma-random/homebrew,LucyShapiro/before-after,yazuuchi/homebrew,Noctem/homebrew,ericfischer/homebrew,jgelens/homebrew,mroth/homebrew,jmtd/homebrew,bendoerr/homebrew,linse073/homebrew,theopolis/homebrew,zchee/homebrew,rhunter/homebrew,nysthee/homebrew,bendemaree/homebrew,princeofdarkness76/linuxbrew,bukzor/linuxbrew,sje30/homebrew,Ferrari-lee/homebrew,tomas/homebrew,afh/homebrew,danpalmer/homebrew,maxhope/homebrew,bchatard/homebrew,gnubila-france/linuxbrew,lhahne/homebrew,dpalmer93/homebrew,dreid93/homebrew,marcwebbie/homebrew,antst/homebrew,Cutehacks/homebrew,andreyto/homebrew,trskop/linuxbrew,Sachin-Ganesh/homebrew,jimmy906/homebrew,ericfischer/homebrew,Kentzo/homebrew,skinny-framework/homebrew,max-horvath/homebrew,martinklepsch/homebrew,kimhunter/homebrew,caputomarcos/linuxbrew,supriyantomaftuh/homebrew,sitexa/homebrew,Dreysman/homebrew,jacobsa/homebrew,tomguiter/homebrew,oliviertilmans/homebrew,omriiluz/homebrew,lmontrieux/homebrew,srikalyan/homebrew,aguynamedryan/homebrew,rgbkrk/homebrew,mttrb/homebrew,mavimo/homebrew,sptramer/homebrew,Hs-Yeah/homebrew,xb123456456/homebrew,sitexa/homebrew,princeofdarkness76/linuxbrew,kazuho/homebrew,karlhigley/homebrew,joshua-rutherford/homebrew,kbrock/homebrew,iggyvolz/linuxbrew,neronplex/homebrew,jpascal/homebrew,iamcharp/homebrew,kgb4000/homebrew,manphiz/homebrew,jimmy906/homebrew,kevmoo/homebrew,ingmarv/homebrew,mxk1235/homebrew,deployable/homebrew,samplecount/homebrew,rhoffman3621/learn-rails,gicmo/homebrew,hkwan003/homebrew,mciantyre/homebrew,alexbukreev/homebrew,retrography/homebrew,changzuozhen/homebrew,tuxu/homebrew,tghs/linuxbrew,keith/homebrew,heinzf/homebrew,tomekr/homebrew,hyokosdeveloper/linuxbrew,supriyantomaftuh/homebrew,alexbukreev/homebrew,ryanmt/homebrew,alindeman/homebrew,galaxy001/homebrew,elamc/homebrew,anarchivist/homebrew,stoshiya/homebrew,mrkn/homebrew,tonyghita/homebrew,gunnaraasen/homebrew,kilojoules/homebrew,hongkongkiwi/homebrew,notDavid/homebrew,mroch/homebrew,zabawaba99/homebrew,oneillkza/linuxbrew,kwadade/LearnRuby,timomeinen/homebrew,Klozz/homebrew,kad/homebrew,jsjohnst/homebrew,rgbkrk/homebrew,zhipeng-jia/homebrew,ktaragorn/homebrew,protomouse/homebrew,bettyDes/homebrew,jmtd/homebrew,creack/homebrew,shazow/homebrew,tuedan/homebrew,RadicalZephyr/homebrew,danpalmer/homebrew,kenips/homebrew,danpalmer/homebrew,xanderlent/homebrew,kyanny/homebrew,akshayvaidya/homebrew,mpfz0r/homebrew,mokkun/homebrew,wrunnery/homebrew,Homebrew/homebrew,schuyler/homebrew,sferik/homebrew,ilidar/homebrew,petercm/homebrew,mndrix/homebrew,jingweno/homebrew,tuxu/homebrew,sideci-sample/sideci-sample-homebrew,halloleo/homebrew,bwmcadams/homebrew,geometrybase/homebrew,alex/homebrew,zeha/homebrew,cristobal/homebrew,pgr0ss/homebrew,187j3x1/homebrew,hanxue/homebrew,zfarrell/homebrew,daviddavis/homebrew,darknessomi/homebrew,gonzedge/homebrew,jmagnusson/homebrew,dlesaca/homebrew,tghs/linuxbrew,tdsmith/linuxbrew,iggyvolz/linuxbrew,summermk/homebrew,tyrchen/homebrew,benjaminfrank/homebrew,alex-zhang/homebrew,outcoldman/homebrew,jmagnusson/homebrew,decors/homebrew,brevilo/linuxbrew,kikuchy/homebrew,Homebrew/linuxbrew,zhimsel/homebrew,koraktor/homebrew,hyuni/homebrew,msurovcak/homebrew,MonCoder/homebrew,morevalily/homebrew,grob3/homebrew,digiter/linuxbrew,dalanmiller/homebrew,youtux/homebrew,treyharris/homebrew,peteristhegreat/homebrew,arrowcircle/homebrew,mroth/homebrew,dgageot/homebrew,bukzor/linuxbrew,soleo/homebrew,durka/homebrew,pvrs12/homebrew,kikuchy/homebrew,ariscop/homebrew,e-jigsaw/homebrew,mattfritz/homebrew,ssgelm/homebrew,Zearin/homebrew,ybott/homebrew,silentbicycle/homebrew,Originate/homebrew,tutumcloud/homebrew,mkrapp/homebrew,andyshinn/homebrew,raphaelcohn/homebrew,simsicon/homebrew,yidongliu/homebrew,nysthee/homebrew,fabianschuiki/homebrew,PikachuEXE/homebrew,zorosteven/homebrew,yyn835314557/homebrew,dunn/linuxbrew,vinicius5581/homebrew,megahall/homebrew,PikachuEXE/homebrew,shazow/homebrew,Firefishy/homebrew,BrewTestBot/homebrew,jessamynsmith/homebrew,tjschuck/homebrew,ilovezfs/homebrew,base10/homebrew,dholm/homebrew,gildegoma/homebrew,mindrones/homebrew,timomeinen/homebrew,grmartin/homebrew,theopolis/homebrew,durka/homebrew,julienXX/homebrew,WangGL1985/homebrew,guidomb/homebrew,pnorman/homebrew,indrajitr/homebrew,dirn/homebrew,ls2uper/homebrew,eagleflo/homebrew,vihangm/homebrew,erkolson/homebrew,goodcodeguy/homebrew,johanhammar/homebrew,muellermartin/homebrew,jianjin/homebrew,yazuuchi/homebrew,scardetto/homebrew,daviddavis/homebrew,hwhelchel/homebrew,Gui13/linuxbrew,zoltansx/homebrew,romejoe/linuxbrew,codeout/homebrew,jingweno/homebrew,ainstushar/homebrew,jkarneges/homebrew,princeofdarkness76/homebrew,Sachin-Ganesh/homebrew,mobileoverlord/homebrew-1,ngoldbaum/homebrew,Klozz/homebrew,mathieubolla/homebrew,haihappen/homebrew,telamonian/linuxbrew,will/homebrew,xanderlent/homebrew,Cottser/homebrew,chfast/homebrew,markpeek/homebrew,baldwicc/homebrew,rhendric/homebrew,lousama/homebrew,timomeinen/homebrew,princeofdarkness76/homebrew,jbpionnier/homebrew,ctate/autocode-homebrew,lewismc/homebrew,drewpc/homebrew,jmstacey/homebrew,sptramer/homebrew,mavimo/homebrew,dstftw/homebrew,iostat/homebrew2,rlister/homebrew,mattprowse/homebrew,Sachin-Ganesh/homebrew,elasticdog/homebrew,godu/homebrew,justjoheinz/homebrew,jarrettmeyer/homebrew,bright-sparks/homebrew,felixonmars/homebrew,emilyst/homebrew,rs/homebrew,dstftw/homebrew,hakamadare/homebrew,jamer/homebrew,lucas-clemente/homebrew,vladshablinsky/homebrew,Homebrew/linuxbrew,okuramasafumi/homebrew,lemaiyan/homebrew,tavisto/homebrew,drewpc/homebrew,oschwald/homebrew,thos37/homebrew,sakra/homebrew,sidhart/homebrew,ryanshaw/homebrew,evanrs/homebrew,okuramasafumi/homebrew,hongkongkiwi/homebrew,Noctem/homebrew,lvh/homebrew,tdsmith/linuxbrew,LinusU/homebrew,adevress/homebrew,cscetbon/homebrew,mommel/homebrew,PikachuEXE/homebrew,ctate/autocode-homebrew,ldiqual/homebrew,mavimo/homebrew,Red54/homebrew,sugryo/homebrew,menivaitsi/homebrew,otaran/homebrew,alebcay/homebrew,bbhoss/homebrew,pigri/homebrew,nelstrom/homebrew,sakra/homebrew,anjackson/homebrew,timsutton/homebrew,erezny/homebrew,getgauge/homebrew,jab/homebrew,oubiwann/homebrew,theckman/homebrew,RSamokhin/homebrew,danielfariati/homebrew,muellermartin/homebrew,bitrise-io/homebrew,cnbin/homebrew,QuinnyPig/homebrew,jamesdphillips/homebrew,mpfz0r/homebrew,hikaruworld/homebrew,Ivanopalas/homebrew,soleo/homebrew,keithws/homebrew,dstndstn/homebrew,sarvex/linuxbrew,emilyst/homebrew,davydden/homebrew,trajano/homebrew,dgageot/homebrew,whistlerbrk/homebrew,gvangool/homebrew,dunn/linuxbrew,int3h/homebrew,a-b/homebrew,craig5/homebrew,davidmalcolm/homebrew,virtuald/homebrew,rnh/homebrew,saketkc/linuxbrew,jbeezley/homebrew,arnested/homebrew,silentbicycle/homebrew,dongcarl/homebrew,ebouaziz/linuxbrew,scardetto/homebrew,3van/homebrew,nicowilliams/homebrew,QuinnyPig/homebrew,mroth/homebrew,arg/homebrew,iamcharp/homebrew,benesch/homebrew,barn/homebrew,mgiglia/homebrew,yonglehou/homebrew,gvangool/homebrew,int3h/homebrew,ilidar/homebrew,jmagnusson/homebrew,dreid93/homebrew,ryanmt/homebrew,brianmhunt/homebrew,LeoCavaille/homebrew,rstacruz/homebrew,godu/homebrew,imjerrybao/homebrew,zoidbergwill/homebrew,tutumcloud/homebrew,arcivanov/linuxbrew,MonCoder/homebrew,yangj1e/homebrew,mhartington/homebrew,gunnaraasen/homebrew,godu/homebrew,bidle/homebrew,missingcharacter/homebrew,ilovezfs/homebrew,helloworld-zh/homebrew,alfasapy/homebrew,theeternalsw0rd/homebrew,Dreysman/homebrew,benswift404/homebrew,rosalsm/homebrew,jmagnusson/homebrew,tsaeger/homebrew,baldwicc/homebrew,sublimino/linuxbrew,LegNeato/homebrew,yangj1e/homebrew,tkelman/homebrew,youprofit/homebrew,jesboat/homebrew,bright-sparks/homebrew,optikfluffel/homebrew,joeyhoer/homebrew,erkolson/homebrew,MoSal/homebrew,LaurentFough/homebrew,getgauge/homebrew,oubiwann/homebrew,gawbul/homebrew,LeoCavaille/homebrew,Firefishy/homebrew,wadejong/homebrew,jf647/homebrew,quantumsteve/homebrew,cvrebert/homebrew,tany-ovcharenko/depot,moyogo/homebrew,frickler01/homebrew,jeremiahyan/homebrew,sachiketi/homebrew,danieroux/homebrew,ekmett/homebrew,kwilczynski/homebrew,gildegoma/homebrew,lousama/homebrew,osimola/homebrew,whistlerbrk/homebrew,endelwar/homebrew,Ivanopalas/homebrew,6100590/homebrew,harelba/homebrew,teslamint/homebrew,harelba/homebrew,outcoldman/homebrew,finde/homebrew,poindextrose/homebrew,zachmayer/homebrew,kimhunter/homebrew,stevenjack/homebrew,docwhat/homebrew,treyharris/homebrew,wfalkwallace/homebrew,idolize/homebrew,Kentzo/homebrew,pdpi/homebrew,pigri/homebrew,aguynamedryan/homebrew,bendoerr/homebrew,cscetbon/homebrew,heinzf/homebrew,sje30/homebrew,prasincs/homebrew,jamesdphillips/homebrew,number5/homebrew,hwhelchel/homebrew,hanlu-chen/homebrew,kilojoules/homebrew,Originate/homebrew,princeofdarkness76/homebrew,LucyShapiro/before-after,WangGL1985/homebrew,rgbkrk/homebrew,waynegraham/homebrew,sidhart/homebrew,michaKFromParis/homebrew-sparks,hmalphettes/homebrew,michaKFromParis/homebrew-sparks,joshfriend/homebrew,brianmhunt/homebrew,cesar2535/homebrew,Gui13/linuxbrew,ptolemarch/homebrew,shawndellysse/homebrew,eugenesan/homebrew,ebardsley/homebrew,jcassiojr/homebrew,adriancole/homebrew,higanworks/homebrew,summermk/homebrew,akupila/homebrew,antogg/homebrew,tseven/homebrew,marcwebbie/homebrew,adevress/homebrew,digiter/linuxbrew,erkolson/homebrew,virtuald/homebrew,jehutymax/homebrew,ened/homebrew,kimhunter/homebrew,mathieubolla/homebrew,hikaruworld/homebrew,AtkinsChang/homebrew,ear/homebrew,esalling23/homebrew,thejustinwalsh/homebrew,ffleming/homebrew,sock-puppet/homebrew,harsha-mudi/homebrew,vinodkone/homebrew,adamliter/homebrew,lvh/homebrew,schuyler/homebrew,AGWA-forks/homebrew,ehamberg/homebrew,pigoz/homebrew,tsaeger/homebrew,kidaa/homebrew,ortho/homebrew,LinusU/homebrew,mciantyre/homebrew,kbinani/homebrew,cooltheo/homebrew,jbarker/homebrew,iblueer/homebrew,sugryo/homebrew,creack/homebrew,marcelocantos/homebrew,tsaeger/homebrew,sachiketi/homebrew,ebardsley/homebrew,cvrebert/homebrew,mapbox/homebrew,winordie-47/linuxbrew1,asparagui/homebrew,trajano/homebrew,davidmalcolm/homebrew,frozzare/homebrew,cbeck88/linuxbrew,dai0304/homebrew,aristiden7o/homebrew,ainstushar/homebrew,LinusU/homebrew,ear/homebrew,thrifus/homebrew,utzig/homebrew,a1dutch/homebrew,hermansc/homebrew,tomyun/homebrew,pitatensai/homebrew,ainstushar/homebrew,theopolis/homebrew,alexreg/homebrew,dstftw/homebrew,xb123456456/homebrew,chiefy/homebrew,decors/homebrew,nathancahill/homebrew,zeezey/homebrew,blairham/homebrew,petemcw/homebrew,tuxu/homebrew,bkonosky/homebrew,ngoyal/homebrew,zchee/homebrew,coldeasy/homebrew,xyproto/homebrew,buzzedword/homebrew,joshua-rutherford/homebrew,davidmalcolm/homebrew,afdnlw/linuxbrew,bettyDes/homebrew,mattfarina/homebrew,ortho/homebrew,verbitan/homebrew,utzig/homebrew,John-Colvin/homebrew,OlivierParent/homebrew,dlo/homebrew,benesch/homebrew,pwnall/homebrew,indera/homebrew,Monits/homebrew,anarchivist/homebrew,goodcodeguy/homebrew,AGWA-forks/homebrew,tbeckham/homebrew,chadcatlett/homebrew,linkinpark342/homebrew,protomouse/homebrew,moltar/homebrew,bbahrami/homebrew,ebouaziz/linuxbrew,ahihi/tigerbrew,slyphon/homebrew,brianmhunt/homebrew,royhodgman/homebrew,neronplex/homebrew,iostat/homebrew2,arrowcircle/homebrew,andy12530/homebrew,nju520/homebrew,RSamokhin/homebrew,xurui3762791/homebrew,mhartington/homebrew,tschoonj/homebrew,jbarker/homebrew,gyaresu/homebrew,dpalmer93/homebrew,josa42/homebrew,slnovak/homebrew,xuebinglee/homebrew,kim0/homebrew,helloworld-zh/homebrew,jesboat/homebrew,ilidar/homebrew,jpascal/homebrew,higanworks/homebrew,cvrebert/homebrew,cnbin/homebrew,bchatard/homebrew,kmiscia/homebrew,qorelanguage/homebrew,wadejong/homebrew,ralic/homebrew,hermansc/homebrew,tavisto/homebrew,bluca/homebrew,martinklepsch/homebrew,sometimesfood/homebrew,KevinSjoberg/homebrew,youtux/homebrew,cprecioso/homebrew,Red54/homebrew,jbeezley/homebrew,yumitsu/homebrew,QuinnyPig/homebrew,eugenesan/homebrew,benesch/homebrew,msurovcak/homebrew,lemaiyan/homebrew,georgschoelly/homebrew,morevalily/homebrew,cnbin/homebrew,kim0/homebrew,chadcatlett/homebrew,boyanpenkov/homebrew,heinzf/homebrew,oliviertilmans/homebrew,Spacecup/homebrew,Moisan/homebrew,AntonioMeireles/homebrew,miry/homebrew,gunnaraasen/homebrew,andyshinn/homebrew,gnubila-france/linuxbrew,jonafato/homebrew,nshemonsky/homebrew,craigbrad/homebrew,tjhei/linuxbrew,benswift404/homebrew,flysonic10/homebrew,djun-kim/homebrew,aaronwolen/homebrew,mbi/homebrew,godu/homebrew,filcab/homebrew,dtrebbien/homebrew,protomouse/homebrew,megahall/homebrew,jbpionnier/homebrew,zenazn/homebrew,zachmayer/homebrew,zachmayer/homebrew,sferik/homebrew,Drewshg312/homebrew,dunn/homebrew,menivaitsi/homebrew,mactkg/homebrew,sjackman/linuxbrew,mattfritz/homebrew,dericed/homebrew,colindean/homebrew,pitatensai/homebrew,sidhart/homebrew,benswift404/homebrew,romejoe/linuxbrew,blogabe/homebrew,SteveClement/homebrew,oncletom/homebrew,hanlu-chen/homebrew,scorphus/homebrew,mroth/homebrew,brianmhunt/homebrew,koenrh/homebrew,ExtremeMan/homebrew,dutchcoders/homebrew,patrickmckenna/homebrew,giffels/homebrew,mactkg/homebrew,guoxiao/homebrew,bjlxj2008/homebrew,codeout/homebrew,MartinSeeler/homebrew,markpeek/homebrew,rhunter/homebrew,mgiglia/homebrew,zhimsel/homebrew,wolfd/homebrew,arrowcircle/homebrew,rlister/homebrew,zj568/homebrew,pitatensai/homebrew,mhartington/homebrew,sigma-random/homebrew,raphaelcohn/homebrew,digiter/linuxbrew,petercm/homebrew,lvicentesanchez/linuxbrew,tdsmith/linuxbrew,bukzor/linuxbrew,ptolemarch/homebrew,OJFord/homebrew,muellermartin/homebrew,AGWA-forks/homebrew,oliviertoupin/homebrew,tomekr/homebrew,kvs/homebrew,alfasapy/homebrew,kyanny/homebrew,mtigas/homebrew,SnoringFrog/homebrew,ieure/homebrew,epixa/homebrew,waj/homebrew,lnr0626/homebrew,zebMcCorkle/homebrew,Originate/homebrew,gnawhleinad/homebrew,Angeldude/linuxbrew,filcab/homebrew,Gasol/homebrew,adriancole/homebrew,koenrh/homebrew,DDShadoww/homebrew,phrase/homebrew,s6stuc/homebrew,petemcw/homebrew,vigo/homebrew,neronplex/homebrew,AtnNn/homebrew,samplecount/homebrew,jconley/homebrew,finde/homebrew,Krasnyanskiy/homebrew,yyn835314557/homebrew,Klozz/homebrew,Russell91/homebrew,jamesdphillips/homebrew,royalwang/homebrew,seegno-forks/homebrew,jacobsa/homebrew,kgb4000/homebrew,craigbrad/homebrew,AICIDNN/homebrew,elasticdog/homebrew,Klozz/homebrew,arg/homebrew,jeromeheissler/homebrew,kawanet/homebrew,keith/homebrew,bjorand/homebrew,tomas/linuxbrew,jose-cieni-movile/homebrew,dunn/linuxbrew,liuquansheng47/Homebrew,rlhh/homebrew,whitej125/homebrew,rhunter/homebrew,jackmcgreevy/homebrew,CNA-Bld/homebrew,jkarneges/homebrew,reelsense/linuxbrew,gyaresu/homebrew,elasticdog/homebrew,Cottser/homebrew,amjith/homebrew,fabianfreyer/homebrew,AlexejK/homebrew,brendanator/linuxbrew,zfarrell/homebrew,xinlehou/homebrew,jianjin/homebrew,rhoffman3621/learn-rails,bchatard/homebrew,kilojoules/homebrew,sachiketi/homebrew,patrickmckenna/homebrew,jmstacey/homebrew,marcelocantos/homebrew,alexandrecormier/homebrew,tonyghita/homebrew,manphiz/homebrew,tstack/homebrew,bigbes/homebrew,thebyrd/homebrew,bkonosky/homebrew,2inqui/homebrew,petere/homebrew,akshayvaidya/homebrew,AtkinsChang/homebrew,barn/homebrew,ldiqual/homebrew,bl1nk/homebrew,amarshall/homebrew,3van/homebrew,clemensg/homebrew,crystal/autocode-homebrew,simsicon/homebrew,TrevorSayre/homebrew,windoze/homebrew,egentry/homebrew,yazuuchi/homebrew,tseven/homebrew,jose-cieni-movile/homebrew,henry0312/homebrew,rstacruz/homebrew,hwhelchel/homebrew,klatys/homebrew,dtan4/homebrew,oliviertilmans/homebrew,scpeters/homebrew,6100590/homebrew,cooltheo/homebrew,amenk/linuxbrew,jiashuw/homebrew,Cutehacks/homebrew,elyscape/homebrew,southwolf/homebrew,kyanny/homebrew,dgageot/homebrew,pampata/homebrew,djun-kim/homebrew,kimhunter/homebrew,ingmarv/homebrew,nandub/homebrew,drewwells/homebrew,gcstang/homebrew,pdxdan/homebrew,jasonm23/homebrew,bmroberts1987/homebrew,dutchcoders/homebrew,cesar2535/homebrew,rhoffman3621/learn-rails,JerroldLee/homebrew,Krasnyanskiy/homebrew,benjaminfrank/homebrew,chabhishek123/homebrew,dickeyxxx/homebrew,jehutymax/homebrew,jacobsa/homebrew,egentry/homebrew,imjerrybao/homebrew,wrunnery/homebrew,GeekHades/homebrew,mtfelix/homebrew,thebyrd/homebrew,tjt263/homebrew,zoltansx/homebrew,mommel/homebrew,gijzelaerr/homebrew,petere/homebrew,jedahan/homebrew,adriancole/homebrew,swallat/homebrew,zorosteven/homebrew,rs/homebrew,mxk1235/homebrew,erezny/homebrew,tschoonj/homebrew,zoidbergwill/homebrew,Habbie/homebrew,sptramer/homebrew,imjerrybao/homebrew,syhw/homebrew,frodeaa/homebrew,davidcelis/homebrew,Cottser/homebrew,ssp/homebrew,DDShadoww/homebrew,1zaman/homebrew,retrography/homebrew,jeffmo/homebrew,yonglehou/homebrew,ExtremeMan/homebrew,alfasapy/homebrew,optikfluffel/homebrew,utzig/homebrew,feugenix/homebrew,sublimino/linuxbrew,caputomarcos/linuxbrew,feuvan/homebrew,bcwaldon/homebrew,cHoco/homebrew,psibre/homebrew,guidomb/homebrew,1zaman/homebrew,Lywangwenbin/homebrew,dplarson/homebrew,polishgeeks/homebrew,LeonB/linuxbrew,yumitsu/homebrew,polamjag/homebrew,zabawaba99/homebrew,zachmayer/homebrew,ffleming/homebrew,royalwang/homebrew,dreid93/homebrew,idolize/homebrew,pgr0ss/homebrew,jamer/homebrew,chiefy/homebrew,fabianfreyer/homebrew,AtkinsChang/homebrew,dlo/homebrew,jehutymax/homebrew,mtfelix/homebrew,mbi/homebrew,trombonehero/homebrew,mattbostock/homebrew,IsmailM/linuxbrew,marcelocantos/homebrew,bbahrami/homebrew,mattprowse/homebrew,wangranche/homebrew,dstndstn/homebrew,seeden/homebrew,royalwang/homebrew,auvi/homebrew,tjnycum/homebrew,Austinpb/homebrew,protomouse/homebrew,Homebrew/homebrew,SuperNEMO-DBD/cadfaelbrew,jpsim/homebrew,mttrb/homebrew,elgertam/homebrew,bwmcadams/homebrew,MSch/homebrew,thrifus/homebrew,elasticdog/homebrew,ingmarv/homebrew,jcassiojr/homebrew,moltar/homebrew,anarchivist/homebrew,drbenmorgan/linuxbrew,Chilledheart/homebrew,jpscaletti/homebrew,asparagui/homebrew,colindean/homebrew,mhartington/homebrew,eagleflo/homebrew,Ferrari-lee/homebrew,ssp/homebrew,skatsuta/homebrew,number5/homebrew,flysonic10/homebrew,xyproto/homebrew,hkwan003/homebrew,SteveClement/homebrew,rgbkrk/homebrew,epixa/homebrew,lvicentesanchez/homebrew,klazuka/homebrew,shazow/homebrew,tjhei/linuxbrew,cHoco/homebrew,ajshort/homebrew,zhipeng-jia/homebrew,packetcollision/homebrew,brevilo/linuxbrew,bjlxj2008/homebrew,feuvan/homebrew,sdebnath/homebrew,bright-sparks/homebrew,bluca/homebrew,gicmo/homebrew,lousama/homebrew,recruit-tech/homebrew,sock-puppet/homebrew,dkotvan/homebrew,mrkn/homebrew,kashif/homebrew,sportngin/homebrew,sptramer/homebrew,NRauh/homebrew,xuebinglee/homebrew,mpfz0r/homebrew,wfarr/homebrew,jamesdphillips/homebrew,harsha-mudi/homebrew,glowe/homebrew,QuinnyPig/homebrew,zeha/homebrew,jmtd/homebrew,keithws/homebrew,brevilo/linuxbrew,dongcarl/homebrew,Gutek/homebrew,kilojoules/homebrew,kazuho/homebrew,jpsim/homebrew,mcolic/homebrew,timsutton/homebrew,phrase/homebrew,feugenix/homebrew,carlmod/homebrew,TrevorSayre/homebrew,grmartin/homebrew,ptolemarch/homebrew,jeromeheissler/homebrew,oncletom/homebrew,Gutek/homebrew,kad/homebrew,FiMka/homebrew,Firefishy/homebrew,srikalyan/homebrew,influxdata/homebrew,s6stuc/homebrew,dirn/homebrew,rneatherway/homebrew,slnovak/homebrew,xinlehou/homebrew,h3r2on/homebrew,jasonm23/homebrew,AntonioMeireles/homebrew,arcivanov/linuxbrew,ekmett/homebrew,bl1nk/homebrew,linse073/homebrew,sorin-ionescu/homebrew,theopolis/homebrew,linse073/homebrew,cvrebert/homebrew,saketkc/linuxbrew,cmvelo/homebrew,sorin-ionescu/homebrew,andy12530/homebrew,boneskull/homebrew,jbaum98/linuxbrew,jlisic/linuxbrew,jeremiahyan/homebrew,Linuxbrew/linuxbrew,jconley/homebrew,liamstask/homebrew,ktheory/homebrew,dai0304/homebrew,elgertam/homebrew,tomas/homebrew,justjoheinz/homebrew,pgr0ss/homebrew,callahad/homebrew,freedryk/homebrew,xurui3762791/homebrew,msurovcak/homebrew,dickeyxxx/homebrew,Cutehacks/homebrew,gabelevi/homebrew,zfarrell/homebrew,kvs/homebrew,sometimesfood/homebrew,tehmaze-labs/homebrew,elyscape/homebrew,missingcharacter/homebrew,stevenjack/homebrew,indrajitr/homebrew,FiMka/homebrew,thrifus/homebrew,RadicalZephyr/homebrew,Drewshg312/homebrew,schuyler/homebrew,djun-kim/homebrew,kyanny/homebrew,cnbin/homebrew,waynegraham/homebrew,SnoringFrog/homebrew,tstack/homebrew,osimola/homebrew,geoff-codes/homebrew,julienXX/homebrew,dtan4/homebrew,rwstauner/homebrew,barn/homebrew,benjaminfrank/homebrew,thos37/homebrew,youtux/homebrew,tkelman/homebrew,hanxue/homebrew,jab/homebrew,sock-puppet/homebrew,buzzedword/homebrew,LucyShapiro/before-after,sorin-ionescu/homebrew,mobileoverlord/homebrew-1,kbrock/homebrew,andrew-regan/homebrew,glowe/homebrew,bjorand/homebrew,adamchainz/homebrew,sdebnath/homebrew,rnh/homebrew,nelstrom/homebrew,lewismc/homebrew,dtrebbien/homebrew,lnr0626/homebrew,MartinDelille/homebrew,ryanmt/homebrew,kkirsche/homebrew,adamliter/homebrew,gyaresu/homebrew,Habbie/homebrew,redpen-cc/homebrew,jack-and-rozz/linuxbrew,indera/homebrew,akupila/homebrew,Russell91/homebrew,sugryo/homebrew,srikalyan/homebrew,jwatzman/homebrew,saketkc/homebrew,jack-and-rozz/linuxbrew,xurui3762791/homebrew,ngoldbaum/homebrew,cmvelo/homebrew,AtkinsChang/homebrew,alex-courtis/homebrew,hvnsweeting/homebrew,auvi/homebrew,yoshida-mediba/homebrew,samplecount/homebrew,adamliter/homebrew,frozzare/homebrew,petere/homebrew,mattprowse/homebrew,timsutton/homebrew,soleo/homebrew,sigma-random/homebrew,ajshort/homebrew,phatblat/homebrew,fabianschuiki/homebrew,davidcelis/homebrew,songjizu001/homebrew,alexethan/homebrew,e-jigsaw/homebrew,idolize/homebrew,rosalsm/homebrew,xanderlent/homebrew,pcottle/homebrew,Angeldude/linuxbrew,afdnlw/linuxbrew,haihappen/homebrew,tghs/linuxbrew,tbetbetbe/linuxbrew,stoshiya/homebrew,ehogberg/homebrew,elig/homebrew,denvazh/homebrew,dtrebbien/homebrew,thos37/homebrew,tylerball/homebrew,NfNitLoop/homebrew,onlynone/homebrew,ieure/homebrew,francaguilar/homebrew,jf647/homebrew,pdxdan/homebrew,jpascal/homebrew,ablyler/homebrew,epixa/homebrew,hyuni/homebrew,ktaragorn/homebrew,elamc/homebrew,avnit/EGroovy,haihappen/homebrew,rhunter/homebrew,lemaiyan/homebrew,felixonmars/homebrew,hvnsweeting/homebrew,finde/homebrew,calmez/homebrew,dlo/homebrew,andy12530/homebrew,ehogberg/homebrew,3van/homebrew,englishm/homebrew,ahihi/tigerbrew,totalvoidness/homebrew,ingmarv/homebrew,helloworld-zh/homebrew,phatblat/homebrew,jtrag/homebrew,chenflat/homebrew,hmalphettes/homebrew,dardo82/homebrew,guidomb/homebrew,nathancahill/homebrew,SuperNEMO-DBD/cadfaelbrew,jimmy906/homebrew,jeffmo/homebrew,OJFord/homebrew,TaylorMonacelli/homebrew,ptolemarch/homebrew,DoomHammer/linuxbrew,akupila/homebrew,jspahrsummers/homebrew,jlisic/linuxbrew,zj568/homebrew,bkonosky/homebrew,FiMka/homebrew,LaurentFough/homebrew,YOTOV-LIMITED/homebrew,ento/homebrew,tomekr/homebrew,callahad/homebrew,mindrones/homebrew,theeternalsw0rd/homebrew,alindeman/homebrew,chenflat/homebrew,darknessomi/homebrew,barn/homebrew,superlukas/homebrew,mattbostock/homebrew,feugenix/homebrew,sjackman/linuxbrew,n8henrie/homebrew,robotblake/homebrew,ktheory/homebrew,mbi/homebrew,ngoldbaum/homebrew,jessamynsmith/homebrew,e-jigsaw/homebrew,theckman/homebrew,mactkg/homebrew,tomyun/homebrew,gvangool/homebrew,sakra/homebrew,danielfariati/homebrew,megahall/homebrew,Hs-Yeah/homebrew,clemensg/homebrew,tomas/homebrew,TrevorSayre/homebrew,nkolomiec/homebrew,tomas/homebrew,linkinpark342/homebrew,packetcollision/homebrew,dirn/homebrew,omriiluz/homebrew,qskycolor/homebrew,RSamokhin/homebrew,ryanfb/homebrew,calmez/homebrew,MartinSeeler/homebrew,grepnull/homebrew,bendemaree/homebrew,torgartor21/homebrew,danabrand/linuxbrew,vigo/homebrew,avnit/EGroovy,OJFord/homebrew,omriiluz/homebrew,jonas/homebrew,pampata/homebrew,LegNeato/homebrew,gawbul/homebrew,Gui13/linuxbrew,Hs-Yeah/homebrew,ndimiduk/homebrew,blogabe/homebrew,exicon/homebrew,oubiwann/homebrew,alex/homebrew,winordie-47/linuxbrew1,jlisic/linuxbrew,blairham/homebrew,cjheath/homebrew,danabrand/linuxbrew,superlukas/homebrew,lnr0626/homebrew,tuedan/homebrew,arg/homebrew,pcottle/homebrew,GeekHades/homebrew,alebcay/homebrew,jwillemsen/linuxbrew,Govinda-Fichtner/homebrew,a-b/homebrew,martinklepsch/homebrew,colindean/homebrew,zhipeng-jia/homebrew,xb123456456/homebrew,mmizutani/homebrew,cjheath/homebrew,mindrones/homebrew,sugryo/homebrew,mmizutani/homebrew,afdnlw/linuxbrew,indera/homebrew,ngoyal/homebrew,mindrones/homebrew,jtrag/homebrew,NfNitLoop/homebrew,robrix/homebrew,jiaoyigui/homebrew,dlo/homebrew,boshnivolo/homebrew,pwnall/homebrew,kwilczynski/homebrew,antst/homebrew,miry/homebrew,getgauge/homebrew,sdebnath/homebrew,dmarkrollins/homebrew,andreyto/homebrew,tuedan/homebrew,antst/homebrew,epixa/homebrew,thuai/boxen,kashif/homebrew,alex-zhang/homebrew,skatsuta/homebrew,dolfly/homebrew,anarchivist/homebrew,guidomb/homebrew,thuai/boxen,arnested/homebrew,cosmo0920/homebrew,caijinyan/homebrew,galaxy001/homebrew,hmalphettes/homebrew,adamliter/linuxbrew,chadcatlett/homebrew,cchacin/homebrew,marcoceppi/homebrew,treyharris/homebrew,ianbrandt/homebrew,rosalsm/homebrew,teslamint/homebrew,zeezey/homebrew,dunn/linuxbrew,iandennismiller/homebrew,ehogberg/homebrew,sdebnath/homebrew,eagleflo/homebrew,reelsense/homebrew,alebcay/homebrew,elamc/homebrew,base10/homebrew,teslamint/homebrew,bjlxj2008/homebrew,ndimiduk/homebrew,thebyrd/homebrew,imjerrybao/homebrew,catap/homebrew,cristobal/homebrew,vladshablinsky/homebrew,ericzhou2008/homebrew,dalguji/homebrew,alexreg/homebrew,quantumsteve/homebrew,DoomHammer/linuxbrew,alexbukreev/homebrew,gnubila-france/linuxbrew,hakamadare/homebrew,royhodgman/homebrew,xyproto/homebrew,skatsuta/homebrew,SuperNEMO-DBD/cadfaelbrew,BlackFrog1/homebrew,nandub/homebrew,lrascao/homebrew,anders/homebrew,phrase/homebrew,davydden/linuxbrew,JerroldLee/homebrew,marcusandre/homebrew,ericfischer/homebrew,megahall/homebrew,msurovcak/homebrew,Angeldude/linuxbrew,kmiscia/homebrew,danielfariati/homebrew,chiefy/homebrew,grepnull/homebrew,knpwrs/homebrew,bmroberts1987/homebrew,creack/homebrew,patrickmckenna/homebrew,ehamberg/homebrew,dstftw/homebrew,alexreg/homebrew,187j3x1/homebrew,alanthing/homebrew,RandyMcMillan/homebrew,jehutymax/homebrew,oliviertoupin/homebrew,influxdb/homebrew,Govinda-Fichtner/homebrew,SuperNEMO-DBD/cadfaelbrew,jmtd/homebrew,pinkpolygon/homebrew,jf647/homebrew,LegNeato/homebrew,10sr/linuxbrew,sarvex/linuxbrew,atsjj/homebrew,hanxue/homebrew,ericfischer/homebrew,avnit/EGroovy,oncletom/homebrew,dardo82/homebrew,Hasimir/homebrew,catap/homebrew,gcstang/linuxbrew,wfalkwallace/homebrew,pedromaltez-forks/homebrew,haf/homebrew,smarek/homebrew,dericed/homebrew,gunnaraasen/homebrew,guoxiao/homebrew,number5/homebrew,dickeyxxx/homebrew,2inqui/homebrew,jeromeheissler/homebrew,xcezx/homebrew,nicowilliams/homebrew,adamchainz/homebrew,onlynone/homebrew,ryanfb/homebrew,LeonB/linuxbrew,ieure/homebrew,cHoco/homebrew,tdsmith/linuxbrew,polishgeeks/homebrew,dunn/homebrew,sportngin/homebrew,mndrix/homebrew,chabhishek123/homebrew,zj568/homebrew,oneillkza/linuxbrew,mkrapp/homebrew,AtnNn/homebrew,jesboat/homebrew,LegNeato/homebrew,jeremiahyan/homebrew,hanlu-chen/homebrew,mattbostock/homebrew,alexethan/homebrew,paour/homebrew,theckman/homebrew,ndimiduk/homebrew,klatys/homebrew,LaurentFough/homebrew,lvicentesanchez/linuxbrew,clemensg/homebrew,marcusandre/homebrew,royhodgman/homebrew,outcoldman/linuxbrew,andrew-regan/homebrew,arnested/homebrew,tbetbetbe/linuxbrew,mbrevda/homebrew,halloleo/homebrew,afb/homebrew,georgschoelly/homebrew,3van/homebrew,wolfd/homebrew,anjackson/homebrew,Russell91/homebrew,jack-and-rozz/linuxbrew,tomas/linuxbrew,packetcollision/homebrew,poindextrose/homebrew,MSch/homebrew,xcezx/homebrew,tpot/homebrew,yumitsu/homebrew,jbaum98/linuxbrew,AICIDNN/homebrew,Redth/homebrew,marcelocantos/homebrew,jonafato/homebrew,poindextrose/homebrew,arnested/homebrew,afb/homebrew,fabianfreyer/homebrew,baob/homebrew,ajshort/homebrew,BrewTestBot/homebrew,kbinani/homebrew,aguynamedryan/homebrew,ssgelm/homebrew,rnh/homebrew,drbenmorgan/linuxbrew,nandub/homebrew,Angeldude/linuxbrew,slnovak/homebrew,tehmaze-labs/homebrew,paour/homebrew,xuebinglee/homebrew,zj568/homebrew,lmontrieux/homebrew,tyrchen/homebrew,joschi/homebrew,ssp/homebrew,vinodkone/homebrew,manphiz/homebrew,jab/homebrew,jonafato/homebrew,englishm/homebrew,hanlu-chen/homebrew,cesar2535/homebrew,kodabb/homebrew,ngoldbaum/homebrew,influxdata/homebrew,a1dutch/homebrew,elyscape/homebrew,marcwebbie/homebrew,royalwang/homebrew,mmizutani/homebrew,songjizu001/homebrew,royhodgman/homebrew,MSch/homebrew,oliviertoupin/homebrew,denvazh/homebrew,dlesaca/homebrew,boneskull/homebrew,tjnycum/homebrew,geoff-codes/homebrew,adamliter/linuxbrew,karlhigley/homebrew,odekopoon/homebrew,michaKFromParis/homebrew-sparks,Gutek/homebrew,afh/homebrew,akshayvaidya/homebrew,sferik/homebrew,JerroldLee/homebrew,yoshida-mediba/homebrew,Hasimir/homebrew,soleo/homebrew,georgschoelly/homebrew,jgelens/homebrew,adevress/homebrew,cprecioso/homebrew,alfasapy/homebrew,auvi/homebrew,jbarker/homebrew,windoze/homebrew,mathieubolla/homebrew,ge11232002/homebrew,francaguilar/homebrew,sitexa/homebrew,brendanator/linuxbrew,Moisan/homebrew,drewwells/homebrew,dardo82/homebrew,jsjohnst/homebrew,LeoCavaille/homebrew,eugenesan/homebrew,tpot/homebrew,alex-zhang/homebrew,rlister/homebrew,MartinSeeler/homebrew,DarthGandalf/homebrew,qskycolor/homebrew,darknessomi/homebrew,psibre/homebrew,telamonian/linuxbrew,tstack/homebrew,julienXX/homebrew,drewwells/homebrew,AlekSi/homebrew,5zzang/homebrew,recruit-tech/homebrew,windoze/homebrew,phatblat/homebrew,yonglehou/homebrew,davydden/homebrew,bendemaree/homebrew,ybott/homebrew,mroch/homebrew,zeezey/homebrew,harsha-mudi/homebrew,NfNitLoop/homebrew,seegno-forks/homebrew,gonzedge/homebrew,cjheath/homebrew,tobz-nz/homebrew,kkirsche/homebrew,scorphus/homebrew,decors/homebrew,jkarneges/homebrew,dalinaum/homebrew,digiter/linuxbrew,pigri/homebrew,elig/homebrew,osimola/homebrew,slnovak/homebrew,xinlehou/homebrew,yangj1e/homebrew,theckman/homebrew,zabawaba99/homebrew,GeekHades/homebrew,lucas-clemente/homebrew,rcombs/homebrew,danabrand/linuxbrew,carlmod/homebrew,dstndstn/homebrew,jessamynsmith/homebrew,tjschuck/homebrew,malmaud/homebrew,ryanfb/homebrew,mjc-/homebrew,frozzare/homebrew,voxxit/homebrew,gabelevi/homebrew,wfalkwallace/homebrew,dalguji/homebrew,arg/homebrew,linkinpark342/homebrew,polishgeeks/homebrew,mcolic/homebrew,bukzor/homebrew,jiashuw/homebrew,jonas/homebrew,yyn835314557/homebrew,changzuozhen/homebrew,Zearin/homebrew,superlukas/homebrew,ahihi/tigerbrew,jiaoyigui/homebrew,outcoldman/linuxbrew,dconnolly/homebrew,paour/homebrew,alex/homebrew,ngoyal/homebrew,mprobst/homebrew,exicon/homebrew,seeden/homebrew,MartinDelille/homebrew,lvicentesanchez/homebrew,dongcarl/homebrew,liuquansheng47/Homebrew,zachmayer/homebrew,ento/homebrew,ariscop/homebrew,theeternalsw0rd/homebrew,andreyto/homebrew,hyokosdeveloper/linuxbrew,RandyMcMillan/homebrew,tghs/linuxbrew,peteristhegreat/homebrew,alebcay/homebrew,grepnull/homebrew,mbi/homebrew,brotbert/homebrew,haosdent/homebrew,ryanshaw/homebrew,pdpi/homebrew,voxxit/homebrew,catap/homebrew,ericzhou2008/homebrew,menivaitsi/homebrew,BrewTestBot/homebrew,dambrisco/homebrew,linjunpop/homebrew,saketkc/homebrew,aaronwolen/homebrew,dstndstn/homebrew,tobz-nz/homebrew,Ferrari-lee/homebrew,sje30/homebrew,codeout/homebrew,chabhishek123/homebrew,IsmailM/linuxbrew,alindeman/homebrew,eighthave/homebrew,liamstask/homebrew,baldwicc/homebrew,tyrchen/homebrew,FiMka/homebrew,marcoceppi/homebrew,hyokosdeveloper/linuxbrew,emcrisostomo/homebrew,nju520/homebrew,evanrs/homebrew,ened/homebrew,bendemaree/homebrew,klazuka/homebrew,adamchainz/homebrew,dplarson/homebrew,jedahan/homebrew,gvangool/homebrew,joschi/homebrew,lvh/homebrew,booi/homebrew,pnorman/homebrew,boshnivolo/homebrew,denvazh/homebrew,reelsense/homebrew,bluca/homebrew,robotblake/homebrew,caijinyan/homebrew,optikfluffel/homebrew,rhendric/homebrew,chkuendig/homebrew,fabianfreyer/homebrew,brotbert/homebrew,kodabb/homebrew,iandennismiller/homebrew,ryanmt/homebrew,10sr/linuxbrew,Drewshg312/homebrew,knpwrs/homebrew,number5/homebrew,dai0304/homebrew,TaylorMonacelli/homebrew,esamson/homebrew,hvnsweeting/homebrew,jiashuw/homebrew,retrography/homebrew,bbahrami/homebrew,creationix/homebrew,redpen-cc/homebrew,ralic/homebrew,mjc-/homebrew,kgb4000/homebrew,valkjsaaa/homebrew,iamcharp/homebrew,h3r2on/homebrew,docwhat/homebrew,shazow/homebrew,lmontrieux/homebrew,lvicentesanchez/linuxbrew,zeha/homebrew,jspahrsummers/homebrew,adriancole/homebrew,esamson/homebrew,blairham/homebrew,zoltansx/homebrew,rs/homebrew,changzuozhen/homebrew,rcombs/homebrew,n8henrie/homebrew,ktheory/homebrew,huitseeker/homebrew,morevalily/homebrew,jwillemsen/homebrew,6100590/homebrew,nkolomiec/homebrew,vihangm/homebrew,verdurin/homebrew,jeromeheissler/homebrew,WangGL1985/homebrew,GeekHades/homebrew,mttrb/homebrew,Hasimir/homebrew,notDavid/homebrew,peteristhegreat/homebrew,smarek/homebrew,caputomarcos/linuxbrew,avnit/EGroovy,Krasnyanskiy/homebrew,s6stuc/homebrew,thuai/boxen,mjc-/homebrew,Spacecup/homebrew,caijinyan/homebrew,thrifus/homebrew,vladshablinsky/homebrew,onlynone/homebrew,giffels/homebrew,aristiden7o/homebrew,timomeinen/homebrew,ldiqual/homebrew,virtuald/homebrew,koenrh/homebrew,SteveClement/homebrew,jianjin/homebrew,lnr0626/homebrew,joschi/homebrew,bcomnes/homebrew,LinusU/homebrew,MrChen2015/homebrew,mroch/homebrew,Austinpb/homebrew,mattfarina/homebrew,jpsim/homebrew,cristobal/homebrew,base10/homebrew,ebouaziz/linuxbrew,number5/homebrew,poindextrose/homebrew,YOTOV-LIMITED/homebrew,tstack/homebrew,cHoco/homebrew,jackmcgreevy/homebrew,Redth/homebrew,kyanny/homebrew,kbrock/homebrew,amenk/linuxbrew,e-jigsaw/homebrew,lemaiyan/homebrew,bettyDes/homebrew,cprecioso/homebrew,tschoonj/homebrew,iblueer/homebrew,jbeezley/homebrew,jamer/homebrew,stoshiya/homebrew,davidmalcolm/homebrew,tseven/homebrew,jbpionnier/homebrew,cmvelo/homebrew,mjbshaw/homebrew,Monits/homebrew,tylerball/homebrew,josa42/homebrew,ybott/homebrew,cchacin/homebrew,Asuranceturix/homebrew,zoltansx/homebrew,karlhigley/homebrew,ieure/homebrew,influxdb/homebrew,nelstrom/homebrew,tomas/linuxbrew,lrascao/homebrew,CNA-Bld/homebrew,southwolf/homebrew,sarvex/linuxbrew,tkelman/homebrew,chkuendig/homebrew,crystal/autocode-homebrew,danielmewes/homebrew,tomekr/homebrew,OlivierParent/homebrew,bjlxj2008/homebrew,bertjwregeer/homebrew,kidaa/homebrew,francaguilar/homebrew,vihangm/homebrew,mattfarina/homebrew,grob3/homebrew,lewismc/homebrew,qiruiyin/homebrew,mommel/homebrew,jsallis/homebrew,bidle/homebrew,s6stuc/homebrew,cjheath/homebrew,endelwar/homebrew,gijzelaerr/homebrew,trombonehero/homebrew,scorphus/homebrew,pampata/homebrew,wrunnery/homebrew,mobileoverlord/homebrew-1,felixonmars/homebrew,akupila/homebrew,alanthing/homebrew,lhahne/homebrew,sideci-sample/sideci-sample-homebrew,gnawhleinad/homebrew,dalanmiller/homebrew,shawndellysse/homebrew,bl1nk/homebrew,galaxy001/homebrew,waynegraham/homebrew,mroch/homebrew,otaran/homebrew,ilidar/homebrew,Homebrew/homebrew,dambrisco/homebrew,boyanpenkov/homebrew,dai0304/homebrew,jonafato/homebrew,CNA-Bld/homebrew,pvrs12/homebrew,kvs/homebrew,amarshall/homebrew,polishgeeks/homebrew,kalbasit/homebrew,adamliter/linuxbrew,AntonioMeireles/homebrew,kevinastone/homebrew,calmez/homebrew,danielmewes/homebrew,kevmoo/homebrew,SampleLiao/homebrew,otaran/homebrew,sarvex/linuxbrew,cbenhagen/homebrew,LonnyGomes/homebrew,bukzor/linuxbrew,arrowcircle/homebrew,chfast/homebrew,mobileoverlord/homebrew-1,sorin-ionescu/homebrew,ExtremeMan/homebrew,BlackFrog1/homebrew,peteristhegreat/homebrew,qskycolor/homebrew,wangranche/homebrew,Linuxbrew/linuxbrew,cbeck88/linuxbrew,tdsmith/linuxbrew,caijinyan/homebrew,PikachuEXE/homebrew,Asuranceturix/homebrew,linjunpop/homebrew,Krasnyanskiy/homebrew,pitatensai/homebrew,schuyler/homebrew,kawanet/homebrew,LonnyGomes/homebrew,frickler01/homebrew,bigbes/homebrew,seeden/homebrew,georgschoelly/homebrew,AlekSi/homebrew,henry0312/homebrew,ianbrandt/homebrew,LonnyGomes/homebrew,flysonic10/homebrew,simsicon/homebrew,kwilczynski/homebrew,frodeaa/homebrew,LeoCavaille/homebrew,cscetbon/homebrew,voxxit/homebrew,ge11232002/homebrew,influxdb/homebrew,dlesaca/homebrew,princeofdarkness76/linuxbrew,samthor/homebrew,antogg/homebrew,gunnaraasen/homebrew,rstacruz/homebrew,robrix/homebrew,winordie-47/linuxbrew1,blogabe/homebrew,BrewTestBot/homebrew,tomyun/homebrew,whitej125/homebrew,zeha/homebrew,glowe/homebrew,sje30/homebrew,jmstacey/homebrew,qorelanguage/homebrew,klatys/homebrew,feuvan/homebrew,pinkpolygon/homebrew,Ivanopalas/homebrew,qiruiyin/homebrew,frodeaa/homebrew,pdxdan/homebrew,ingmarv/homebrew,elig/homebrew,zebMcCorkle/homebrew,ryanfb/homebrew,rtyley/homebrew,wkentaro/homebrew,tonyghita/homebrew,MoSal/homebrew,RadicalZephyr/homebrew,TrevorSayre/homebrew,pinkpolygon/homebrew,elgertam/homebrew,paulbakker/homebrew,amenk/linuxbrew,kvs/homebrew,galaxy001/homebrew,nshemonsky/homebrew,keith/homebrew,odekopoon/homebrew,redpen-cc/homebrew,plattenschieber/homebrew,pcottle/homebrew,oubiwann/homebrew,mndrix/homebrew,winordie-47/linuxbrew1,blairham/homebrew,johanhammar/homebrew,10sr/linuxbrew,RandyMcMillan/homebrew,davidcelis/homebrew,mbi/homebrew,jsallis/homebrew,indrajitr/homebrew,vinicius5581/homebrew,cesar2535/homebrew,bbhoss/homebrew,dmarkrollins/homebrew,apjanke/homebrew,Monits/homebrew,retrography/homebrew,rhunter/homebrew,colindean/homebrew,Austinpb/homebrew,reelsense/linuxbrew,polamjag/homebrew,tjnycum/homebrew,alanthing/homebrew,deorth/homebrew,kenips/homebrew,davydden/linuxbrew,marcusandre/homebrew,QuinnyPig/homebrew,kazuho/homebrew,aaronwolen/homebrew,AlekSi/homebrew,okuramasafumi/homebrew,jingweno/homebrew,karlhigley/homebrew,pnorman/homebrew,iblueer/homebrew,psibre/homebrew,bruno-/homebrew,ehogberg/homebrew,rcombs/homebrew,woodruffw/homebrew-test,joshfriend/homebrew,yazuuchi/homebrew,ybott/homebrew,ralic/homebrew,bcomnes/homebrew,asparagui/homebrew,dalanmiller/homebrew,DoomHammer/linuxbrew,davydden/linuxbrew,SiegeLord/homebrew,odekopoon/homebrew,dalinaum/homebrew,marcoceppi/homebrew,tzudot/homebrew,kwadade/LearnRuby,flysonic10/homebrew,influxdb/homebrew,mprobst/homebrew,pigoz/homebrew,2inqui/homebrew,jacobsa/homebrew,Asuranceturix/homebrew,jsallis/homebrew,malmaud/homebrew,dholm/homebrew,asparagui/homebrew,jwillemsen/homebrew,elyscape/homebrew,mgiglia/homebrew,miketheman/homebrew,qskycolor/homebrew,Redth/homebrew,cffk/homebrew,tobz-nz/homebrew,yangj1e/homebrew,afb/homebrew,dambrisco/homebrew,trajano/homebrew,a1dutch/homebrew,gabelevi/homebrew,tjt263/homebrew,gnawhleinad/homebrew,mttrb/homebrew,andy12530/homebrew,ndimiduk/homebrew,baob/homebrew,danielmewes/homebrew,samthor/homebrew,haihappen/homebrew,chfast/homebrew,heinzf/homebrew,nnutter/homebrew,crystal/autocode-homebrew,scpeters/homebrew,sidhart/homebrew,tomas/linuxbrew,jconley/homebrew,tomguiter/homebrew,woodruffw/homebrew-test,kad/homebrew,linjunpop/homebrew,boneskull/homebrew,danieroux/homebrew,bitrise-io/homebrew,telamonian/linuxbrew,cffk/homebrew,Cutehacks/homebrew,PikachuEXE/homebrew,menivaitsi/homebrew,jpscaletti/homebrew,jpsim/homebrew,robotblake/homebrew,craig5/homebrew,lvicentesanchez/linuxbrew,adamchainz/homebrew,skinny-framework/homebrew,mtfelix/homebrew,pullreq/homebrew,LegNeato/homebrew,cmvelo/homebrew,cchacin/homebrew,tylerball/homebrew,mprobst/homebrew,manphiz/homebrew,Gui13/linuxbrew,bkonosky/homebrew,tbeckham/homebrew,polamjag/homebrew,maxhope/homebrew,bcomnes/homebrew,khwon/homebrew,kazuho/homebrew,petere/homebrew,Habbie/homebrew,thinker0/homebrew,scpeters/homebrew,kashif/homebrew,dholm/linuxbrew,darknessomi/homebrew,ryanshaw/homebrew,iandennismiller/homebrew,Gasol/homebrew,joeyhoer/homebrew,Lywangwenbin/homebrew,jbeezley/homebrew,iostat/homebrew2,sock-puppet/homebrew,wadejong/homebrew,jonas/homebrew,jingweno/homebrew,alexandrecormier/homebrew,muellermartin/homebrew,slyphon/homebrew,Austinpb/homebrew,bertjwregeer/homebrew,missingcharacter/homebrew,zhimsel/homebrew,dpalmer93/homebrew,jedahan/homebrew,rlister/homebrew,haf/homebrew,bbhoss/homebrew,DDShadoww/homebrew,jessamynsmith/homebrew,tehmaze-labs/homebrew,jkarneges/homebrew,phatblat/homebrew,dreid93/homebrew,cosmo0920/homebrew,pedromaltez-forks/homebrew,baob/homebrew,amjith/homebrew,DarthGandalf/homebrew,amarshall/homebrew,kmiscia/homebrew,Noctem/homebrew,esamson/homebrew,e-jigsaw/homebrew,eugenesan/homebrew,whitej125/homebrew,wkentaro/homebrew,smarek/homebrew,anders/homebrew,nju520/homebrew,jarrettmeyer/homebrew,pcottle/homebrew,tjt263/homebrew,jamer/homebrew,sdebnath/homebrew,tpot/homebrew,akupila/homebrew,smarek/homebrew,gnubila-france/linuxbrew,ehamberg/homebrew,dolfly/homebrew,jackmcgreevy/homebrew,linkinpark342/homebrew,khwon/homebrew,hmalphettes/homebrew,mcolic/homebrew,mciantyre/homebrew,emcrisostomo/homebrew,pdxdan/homebrew,Ivanopalas/homebrew,sjackman/linuxbrew,AlekSi/homebrew,verbitan/homebrew,deployable/homebrew,pcottle/homebrew,zchee/homebrew,DarthGandalf/homebrew,mactkg/homebrew,gcstang/homebrew,Gasol/homebrew,songjizu001/homebrew,SnoringFrog/homebrew,rtyley/homebrew,AlexejK/homebrew,markpeek/homebrew,sublimino/linuxbrew,hakamadare/homebrew,thejustinwalsh/homebrew,benswift404/homebrew,dirn/homebrew,emcrisostomo/homebrew,n8henrie/homebrew,stoshiya/homebrew,apjanke/homebrew,englishm/homebrew,drewpc/homebrew,bidle/homebrew,cvrebert/homebrew,grepnull/homebrew,esamson/homebrew,tzudot/homebrew,lvh/homebrew,glowe/homebrew,ls2uper/homebrew,frickler01/homebrew,guoxiao/homebrew,craig5/homebrew,vigo/homebrew,John-Colvin/homebrew,aristiden7o/homebrew,jwillemsen/homebrew,Chilledheart/homebrew,gyaresu/homebrew,pampata/homebrew,ssp/homebrew,dconnolly/homebrew,TaylorMonacelli/homebrew,h3r2on/homebrew,influxdata/homebrew,moyogo/homebrew,mapbox/homebrew,BlackFrog1/homebrew,koraktor/homebrew,trombonehero/homebrew,hongkongkiwi/homebrew,julienXX/homebrew,wkentaro/homebrew,dplarson/homebrew,evanrs/homebrew,ilovezfs/homebrew,Sachin-Ganesh/homebrew,jbarker/homebrew,keith/homebrew,whitej125/homebrew,theopolis/homebrew,bcomnes/homebrew,MoSal/homebrew,KevinSjoberg/homebrew,catap/homebrew,coldeasy/homebrew,SampleLiao/homebrew,KenanSulayman/homebrew,paulbakker/homebrew,freedryk/homebrew,packetcollision/homebrew,tjschuck/homebrew,creack/homebrew,ainstushar/homebrew,hkwan003/homebrew,mgiglia/homebrew,SampleLiao/homebrew,influxdata/homebrew,marcwebbie/homebrew,Habbie/homebrew,simsicon/homebrew,cffk/homebrew,alexethan/homebrew,amarshall/homebrew,kevmoo/homebrew,chfast/homebrew,scardetto/homebrew,tschoonj/homebrew,voxxit/homebrew,kevinastone/homebrew,ahihi/tigerbrew,mattfarina/homebrew,ilovezfs/homebrew,keithws/homebrew,filcab/homebrew,egentry/homebrew,emcrisostomo/homebrew,Asuranceturix/homebrew,bruno-/homebrew,jose-cieni-movile/homebrew,tbetbetbe/linuxbrew,gnawhleinad/homebrew,jtrag/homebrew,superlukas/homebrew,bukzor/homebrew,ear/homebrew,jpscaletti/homebrew,youprofit/homebrew,Zearin/homebrew,hyuni/homebrew,ktaragorn/homebrew,samthor/homebrew,tjt263/homebrew,wfarr/homebrew,WangGL1985/homebrew,callahad/homebrew,silentbicycle/homebrew,stevenjack/homebrew,mapbox/homebrew,base10/homebrew,sportngin/homebrew,ablyler/homebrew,ened/homebrew,davydden/linuxbrew,mmizutani/homebrew,brunchboy/homebrew,gicmo/homebrew,antogg/homebrew,reelsense/linuxbrew,jmstacey/homebrew,odekopoon/homebrew,ebardsley/homebrew,verdurin/homebrew,danieroux/homebrew,ento/homebrew,dtrebbien/homebrew,ariscop/homebrew,klazuka/homebrew,cbenhagen/homebrew,qorelanguage/homebrew,alexethan/homebrew,andyshinn/homebrew,docwhat/homebrew,kikuchy/homebrew,dmarkrollins/homebrew,ebardsley/homebrew,benswift404/homebrew,AGWA-forks/homebrew,eighthave/homebrew,hwhelchel/homebrew,torgartor21/homebrew,moyogo/homebrew,wangranche/homebrew,tpot/homebrew,gonzedge/homebrew,sometimesfood/homebrew,mndrix/homebrew,kevmoo/homebrew,benjaminfrank/homebrew,feelpp/homebrew,LeonB/linuxbrew,paour/homebrew,jpscaletti/homebrew,huitseeker/homebrew,jwatzman/homebrew,endelwar/homebrew,knpwrs/homebrew,pgr0ss/homebrew,Cottser/homebrew,blogabe/homebrew,mjc-/homebrew,apjanke/homebrew,jedahan/homebrew,ctate/autocode-homebrew,mciantyre/homebrew,mokkun/homebrew,higanworks/homebrew,dlesaca/homebrew,gcstang/linuxbrew,Ferrari-lee/homebrew,tany-ovcharenko/depot,ge11232002/homebrew,docwhat/homebrew,wolfd/homebrew,KenanSulayman/homebrew,swallat/homebrew,Noctem/homebrew,jwillemsen/linuxbrew,bruno-/homebrew,torgartor21/homebrew,mokkun/homebrew,samplecount/homebrew,hikaruworld/homebrew,danielmewes/homebrew,prasincs/homebrew,maxhope/homebrew,youprofit/homebrew,zebMcCorkle/homebrew,emilyst/homebrew,koraktor/homebrew,eighthave/homebrew,rcombs/homebrew,bcwaldon/homebrew,paour/homebrew,brotbert/homebrew,creationix/homebrew,zfarrell/homebrew,idolize/homebrew,SiegeLord/homebrew,tehmaze-labs/homebrew,lewismc/homebrew,tomyun/homebrew,treyharris/homebrew,tutumcloud/homebrew,jpsim/homebrew,rtyley/homebrew,erkolson/homebrew,nysthee/homebrew,moyogo/homebrew,dholm/linuxbrew,brunchboy/homebrew,tomguiter/homebrew,dutchcoders/homebrew,sferik/homebrew,romejoe/linuxbrew,liuquansheng47/Homebrew,Spacecup/homebrew,mtigas/homebrew,sublimino/linuxbrew,bitrise-io/homebrew,ianbrandt/homebrew,OJFord/homebrew,AtnNn/homebrew,kad/homebrew,teslamint/homebrew,southwolf/homebrew,kim0/homebrew,jsallis/homebrew,kawanet/homebrew,davidcelis/homebrew,redpen-cc/homebrew,freedryk/homebrew,tuxu/homebrew,grob3/homebrew,polamjag/homebrew,zoidbergwill/homebrew,swallat/homebrew,totalvoidness/homebrew,lrascao/homebrew,cbenhagen/homebrew,verbitan/homebrew,jconley/homebrew,raphaelcohn/homebrew,drewwells/homebrew,robrix/homebrew,syhw/homebrew,ened/homebrew,kenips/homebrew,finde/homebrew,mpfz0r/homebrew,ssgelm/homebrew,creationix/homebrew,shawndellysse/homebrew,exicon/homebrew,sometimesfood/homebrew,cchacin/homebrew,lvicentesanchez/homebrew,bwmcadams/homebrew,eighthave/homebrew,torgartor21/homebrew,joeyhoer/homebrew,higanworks/homebrew,polamjag/homebrew,chabhishek123/homebrew,khwon/homebrew,tkelman/homebrew,mjbshaw/homebrew,jbaum98/linuxbrew,dolfly/homebrew,dkotvan/homebrew,pigoz/homebrew,AICIDNN/homebrew,jiaoyigui/homebrew,MSch/homebrew,jose-cieni-movile/homebrew,mgiglia/homebrew,danabrand/linuxbrew,joshfriend/homebrew,plattenschieber/homebrew,omriiluz/homebrew,yidongliu/homebrew,Russell91/homebrew,scardetto/homebrew,Chilledheart/homebrew,lvicentesanchez/homebrew,adamliter/linuxbrew,patrickmckenna/homebrew,dstndstn/homebrew,yoshida-mediba/homebrew,RSamokhin/homebrew,nandub/homebrew,Gui13/linuxbrew,bidle/homebrew,antst/homebrew,int3h/homebrew,rneatherway/homebrew,missingcharacter/homebrew,atsjj/homebrew,jf647/homebrew,wfarr/homebrew,thinker0/homebrew,supriyantomaftuh/homebrew,haf/homebrew,kalbasit/homebrew,zenazn/homebrew,arcivanov/linuxbrew,knpwrs/homebrew,int3h/homebrew,JerroldLee/homebrew,bl1nk/homebrew,2inqui/homebrew,Kentzo/homebrew,mroth/homebrew,reelsense/linuxbrew,tavisto/homebrew,thuai/boxen,caijinyan/homebrew,kbinani/homebrew,helloworld-zh/homebrew,pnorman/homebrew,SampleLiao/homebrew,jcassiojr/homebrew,1zaman/homebrew,yidongliu/homebrew,giffels/homebrew,will/homebrew,tavisto/homebrew,plattenschieber/homebrew,crystal/autocode-homebrew,mommel/homebrew,bigbes/homebrew,qorelanguage/homebrew,jgelens/homebrew,princeofdarkness76/homebrew,feuvan/homebrew
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 = Formula.factory 'kde-phonon' system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}" system "make install" end end ## Instruction: Update KDEBase Runtime to 1.4.0 and fix homepage. ## Code After: 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 = Formula.factory 'kde-phonon' system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}" system "make install" end end
c2975b319c7aff149f583cc546cecdc96ffb42a5
requirements.txt
requirements.txt
Cerberus==0.7.2 -e [email protected]: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.24 pymongo==2.7.2 simplejson==3.6.5 wsgiref==0.1.2 rsa==3.1.4
Cerberus==0.7.2 -e [email protected]: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 argparse==1.2.1 itsdangerous==0.24 pymongo==2.7.2 simplejson==3.6.5 wsgiref==0.1.2 rsa==3.1.4
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 [email protected]: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.24 pymongo==2.7.2 simplejson==3.6.5 wsgiref==0.1.2 rsa==3.1.4 ## Instruction: Requirements: Use Conrad's fork of eve That fork has a patch to support mongo query documents in sqlalchemy lookup parameters ## Code After: Cerberus==0.7.2 -e [email protected]: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 argparse==1.2.1 itsdangerous==0.24 pymongo==2.7.2 simplejson==3.6.5 wsgiref==0.1.2 rsa==3.1.4
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. Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Current UW graduate students will give a brief presentation of their research field, including security/privacy, formal methods, compilers, and programming languages. After the presentations, we'll have snacks available while you connect with them and get to know more in a mixer setting. ## Event Details ## + **Who:** [Cecylia Bocovich](https://cs.uwaterloo.ca/~cbocovic/), [Marianna Rapoport](https://cs.uwaterloo.ca/~mrapopor/index.html), more TBA + **What:** Academic Showcase and Mixer + **Where:** TBD + **When:** Wed. Feb 4, 5:30&ndash;7:00PM
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. Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Current UW graduate students will give a brief presentation of their research field, including security/privacy, formal methods, compilers, and programming languages. After the presentations, we'll have snacks available while you connect with them and get to know more in a mixer setting. ## Event Details ## + **Who:** [Cecylia Bocovich](https://cs.uwaterloo.ca/~cbocovic/), [Marianna Rapoport](https://cs.uwaterloo.ca/~mrapopor/index.html), more TBA + **What:** Research Showcase and Mixer + **Where:** TBD + **When:** Wed. Feb 4, 5:30&ndash;7:00PM
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,evykassirer/wics-website,arshiamufti/website
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 fields and work. Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Current UW graduate students will give a brief presentation of their research field, including security/privacy, formal methods, compilers, and programming languages. After the presentations, we'll have snacks available while you connect with them and get to know more in a mixer setting. ## Event Details ## + **Who:** [Cecylia Bocovich](https://cs.uwaterloo.ca/~cbocovic/), [Marianna Rapoport](https://cs.uwaterloo.ca/~mrapopor/index.html), more TBA + **What:** Academic Showcase and Mixer + **Where:** TBD + **When:** Wed. Feb 4, 5:30&ndash;7:00PM ## Instruction: Rename 'Academic Showcase' -> 'Research Showcase' ## Code After: 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. Interested in academic computer science? Want to learn more about research? This session will showcase current graduate students' research fields and work. Current UW graduate students will give a brief presentation of their research field, including security/privacy, formal methods, compilers, and programming languages. After the presentations, we'll have snacks available while you connect with them and get to know more in a mixer setting. ## Event Details ## + **Who:** [Cecylia Bocovich](https://cs.uwaterloo.ca/~cbocovic/), [Marianna Rapoport](https://cs.uwaterloo.ca/~mrapopor/index.html), more TBA + **What:** Research Showcase and Mixer + **Where:** TBD + **When:** Wed. Feb 4, 5:30&ndash;7:00PM
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"> <% with $Controller %> <% include SilverStripe\\Admin\\CMSBreadcrumbs %> <% end_with %> </div> <% if $Fields.hasTabset %> <% with $Fields.fieldByName('Root') %> <div class="cms-content-header-tabs"> <ul class="cms-tabset-nav-primary"> <% loop $Tabs %> <li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li> <% end_loop %> </ul> </div> <% end_with %> <% end_if %> <% end_with %> </div> $EditForm </div>
<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 vertical-align-items"> <% with $Controller %> <% include SilverStripe\\Admin\\CMSBreadcrumbs %> <% end_with %> </div> <% if $Fields.hasTabset %> <% with $Fields.fieldByName('Root') %> <div class="cms-content-header-tabs"> <ul class="cms-tabset-nav-primary"> <% loop $Tabs %> <li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li> <% end_loop %> </ul> </div> <% end_with %> <% end_if %> <% end_with %> </div> $EditForm </div>
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-area-grow"> <% with $Controller %> <% include SilverStripe\\Admin\\CMSBreadcrumbs %> <% end_with %> </div> <% if $Fields.hasTabset %> <% with $Fields.fieldByName('Root') %> <div class="cms-content-header-tabs"> <ul class="cms-tabset-nav-primary"> <% loop $Tabs %> <li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li> <% end_loop %> </ul> </div> <% end_with %> <% end_if %> <% end_with %> </div> $EditForm </div> ## Instruction: FIX "My profile" title in CMS is now vertical centered as other LeftAndMain screens are ## Code After: <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 vertical-align-items"> <% with $Controller %> <% include SilverStripe\\Admin\\CMSBreadcrumbs %> <% end_with %> </div> <% if $Fields.hasTabset %> <% with $Fields.fieldByName('Root') %> <div class="cms-content-header-tabs"> <ul class="cms-tabset-nav-primary"> <% loop $Tabs %> <li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li> <% end_loop %> </ul> </div> <% end_with %> <% end_if %> <% end_with %> </div> $EditForm </div>
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) = form_tag administration_email_setup_path, class: 'form', method: 'put' do .form-group = label_tag :domain, t('.domain.label') = select_tag :domain, options_for_select([''] + @domains.map { |d| d['name'] }), class: 'form-control' .form-group = button_tag t('.submit'), class: 'btn btn-success'
- @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) = form_tag administration_email_setup_path, class: 'form', method: 'put' do .form-group = label_tag :domain, t('.domain.label') = select_tag :domain, options_for_select([''] + @domains.map { |d| d['name'] }, Site.current.host), class: 'form-control' .form-group = button_tag t('.submit'), class: 'btn btn-success'
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.current.host) = form_tag administration_email_setup_path, class: 'form', method: 'put' do .form-group = label_tag :domain, t('.domain.label') = select_tag :domain, options_for_select([''] + @domains.map { |d| d['name'] }), class: 'form-control' .form-group = button_tag t('.submit'), class: 'btn btn-success' ## Instruction: Select current site's domain by default ## Code After: - @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) = form_tag administration_email_setup_path, class: 'form', method: 'put' do .form-group = label_tag :domain, t('.domain.label') = select_tag :domain, options_for_select([''] + @domains.map { |d| d['name'] }, Site.current.host), class: 'form-control' .form-group = button_tag t('.submit'), class: 'btn btn-success'
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 - 2020-05-18 - Support GHC 8.10 basic-deps: base: '>=4.11 && <4.15' hashable: '>=1.2 && <1.4' all-versions: - 1.0.0.0 - 1.0.0.2 - 1.0.0.4 author: Chris Martin latest: 1.0.0.4 description-type: haddock description: This package defines a @Char@ type that has 128 constructors, one for each ASCII character. license-name: Apache-2.0
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 - 2020-05-18 - Support GHC 8.10 1.0.0.4 - 2021-01-25 - Add some comments 1.0.0.6 - 2021-01-27 - Minor documentation fix basic-deps: base: '>=4.11 && <4.15' hashable: '>=1.2 && <1.4' all-versions: - 1.0.0.0 - 1.0.0.2 - 1.0.0.4 - 1.0.0.6 author: Chris Martin latest: 1.0.0.6 description-type: haddock description: This package defines a @Char@ type that has 128 constructors, one for each ASCII character. license-name: Apache-2.0
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 release 1.0.0.2 - 2020-05-18 - Support GHC 8.10 basic-deps: base: '>=4.11 && <4.15' hashable: '>=1.2 && <1.4' all-versions: - 1.0.0.0 - 1.0.0.2 - 1.0.0.4 author: Chris Martin latest: 1.0.0.4 description-type: haddock description: This package defines a @Char@ type that has 128 constructors, one for each ASCII character. license-name: Apache-2.0 ## Instruction: Update from Hackage at 2021-01-28T06:17:06Z ## Code After: 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 - 2020-05-18 - Support GHC 8.10 1.0.0.4 - 2021-01-25 - Add some comments 1.0.0.6 - 2021-01-27 - Minor documentation fix basic-deps: base: '>=4.11 && <4.15' hashable: '>=1.2 && <1.4' all-versions: - 1.0.0.0 - 1.0.0.2 - 1.0.0.4 - 1.0.0.6 author: Chris Martin latest: 1.0.0.6 description-type: haddock description: This package defines a @Char@ type that has 128 constructors, one for each ASCII character. license-name: Apache-2.0
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: [build-system] requires = [ "setuptools >= 41.4.0", "setuptools_scm >= 1.15.0", "setuptools_scm_git_archive >= 1.0", "wheel", ] build-backend = "setuptools.build_meta"
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: 1px solid color: $color-main-background .links list-style-type: none margin: 0 auto 0.5rem text-align: center p text-align: center .notice display: block .last-build margin-bottom: 0 @media only screen and (min-width: $screen-width-s) .links list-style-type: none margin: 0 auto 0.5rem text-align: center li display: inline-block li::after content: "\00b7" margin: 0 0.25rem 0 0.5rem li:last-child::after content: "" margin: 0 @media only screen and (min-width: 30em) .links float: right text-align: right li display: block li::after content: "" margin: 0 p text-align: left .notice display: inline
.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: 1px solid color: $color-main-background .links list-style-type: none margin: 0 auto 0.5rem text-align: center p text-align: center .notice display: block .last-build margin-bottom: 0 @media only screen and (min-width: $screen-width-s) .links list-style-type: none margin: 0 auto 0.5rem text-align: center li display: inline-block li::after content: "\00b7" margin: 0 0.25rem 0 0.5rem li:last-child::after content: "" margin: 0 @media only screen and (min-width: $screen-width-m) .links float: right text-align: right li display: block li::after content: "" margin: 0 p text-align: left .notice display: inline
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 border-bottom: 1px solid color: $color-main-background .links list-style-type: none margin: 0 auto 0.5rem text-align: center p text-align: center .notice display: block .last-build margin-bottom: 0 @media only screen and (min-width: $screen-width-s) .links list-style-type: none margin: 0 auto 0.5rem text-align: center li display: inline-block li::after content: "\00b7" margin: 0 0.25rem 0 0.5rem li:last-child::after content: "" margin: 0 @media only screen and (min-width: 30em) .links float: right text-align: right li display: block li::after content: "" margin: 0 p text-align: left .notice display: inline ## Instruction: Use Variable for Screen Width instead of Fixed Value ## Code After: .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: 1px solid color: $color-main-background .links list-style-type: none margin: 0 auto 0.5rem text-align: center p text-align: center .notice display: block .last-build margin-bottom: 0 @media only screen and (min-width: $screen-width-s) .links list-style-type: none margin: 0 auto 0.5rem text-align: center li display: inline-block li::after content: "\00b7" margin: 0 0.25rem 0 0.5rem li:last-child::after content: "" margin: 0 @media only screen and (min-width: $screen-width-m) .links float: right text-align: right li display: block li::after content: "" margin: 0 p text-align: left .notice display: inline
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 Sachwani", author_email="[email protected]", url="https://github.com/numan/sunspear", packages=find_packages(exclude=['tests']), test_suite='nose.collector', install_requires=[ 'nydus==0.10.4', 'riak==1.5.1', 'python-dateutil==1.5', 'protobuf==2.4.1', ], dependency_links=[ 'https://github.com/numan/nydus/tarball/0.10.4#egg=nydus-0.10.4', ], options={'easy_install': {'allow_hosts': 'pypi.python.org'}}, tests_require=tests_require, extras_require={"test": tests_require, "nosetests": tests_require}, include_package_data=True, classifiers=[ "Intended Audience :: Developers", 'Intended Audience :: System Administrators', "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities", ], )
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 Sachwani", author_email="[email protected]", url="https://github.com/numan/sunspear", packages=find_packages(exclude=['tests']), test_suite='nose.collector', install_requires=[ 'nydus==0.10.4', 'riak==1.5.1', 'python-dateutil==1.5', 'protobuf==2.4.1', ], dependency_links=[ 'https://github.com/disqus/nydus/tarball/master#egg=nydus-0.10.4', ], options={'easy_install': {'allow_hosts': 'pypi.python.org'}}, tests_require=tests_require, extras_require={"test": tests_require, "nosetests": tests_require}, include_package_data=True, classifiers=[ "Intended Audience :: Developers", 'Intended Audience :: System Administrators', "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities", ], )
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(), author="Numan Sachwani", author_email="[email protected]", url="https://github.com/numan/sunspear", packages=find_packages(exclude=['tests']), test_suite='nose.collector', install_requires=[ 'nydus==0.10.4', 'riak==1.5.1', 'python-dateutil==1.5', 'protobuf==2.4.1', ], dependency_links=[ 'https://github.com/numan/nydus/tarball/0.10.4#egg=nydus-0.10.4', ], options={'easy_install': {'allow_hosts': 'pypi.python.org'}}, tests_require=tests_require, extras_require={"test": tests_require, "nosetests": tests_require}, include_package_data=True, classifiers=[ "Intended Audience :: Developers", 'Intended Audience :: System Administrators', "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities", ], ) ## Instruction: Include the official nydus release ## Code After: 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 Sachwani", author_email="[email protected]", url="https://github.com/numan/sunspear", packages=find_packages(exclude=['tests']), test_suite='nose.collector', install_requires=[ 'nydus==0.10.4', 'riak==1.5.1', 'python-dateutil==1.5', 'protobuf==2.4.1', ], dependency_links=[ 'https://github.com/disqus/nydus/tarball/master#egg=nydus-0.10.4', ], options={'easy_install': {'allow_hosts': 'pypi.python.org'}}, tests_require=tests_require, extras_require={"test": tests_require, "nosetests": tests_require}, include_package_data=True, classifiers=[ "Intended Audience :: Developers", 'Intended Audience :: System Administrators', "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities", ], )
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://github.com/hebertialmeida/ModelGen.git" depends_on :xcode => ["9.3", :build] def install ENV["NO_CODE_LINT"]="1" # Disable swiftlint Build Phase to avoid build errors if versions mismatch ENV["GEM_HOME"] = buildpath/"gem_home" system "gem", "install", "bundler" ENV.prepend_path "PATH", buildpath/"gem_home/bin" system "bundle", "install", "--without", "development" system "bundle", "exec", "rake", "cli:install[#{bin},#{lib}]" end test do system bin/"modelgen", "--version" end end
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://github.com/hebertialmeida/ModelGen.git" depends_on :xcode => ["9.3", :build] def install system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc", "-static-stdlib" bin.install ".build/release/modelgen" lib.install Dir[".build/release/*.dylib"] end test do system bin/"modelgen", "--version" end end
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" head "https://github.com/hebertialmeida/ModelGen.git" depends_on :xcode => ["9.3", :build] def install ENV["NO_CODE_LINT"]="1" # Disable swiftlint Build Phase to avoid build errors if versions mismatch ENV["GEM_HOME"] = buildpath/"gem_home" system "gem", "install", "bundler" ENV.prepend_path "PATH", buildpath/"gem_home/bin" system "bundle", "install", "--without", "development" system "bundle", "exec", "rake", "cli:install[#{bin},#{lib}]" end test do system bin/"modelgen", "--version" end end ## Instruction: Update formula to build with SPM ## Code After: 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://github.com/hebertialmeida/ModelGen.git" depends_on :xcode => ["9.3", :build] def install system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc", "-static-stdlib" bin.install ".build/release/modelgen" lib.install Dir[".build/release/*.dylib"] end test do system bin/"modelgen", "--version" end end
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 void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_stops); Intent i = getIntent(); String stops = i.getStringExtra("stopslist"); Toast toast = Toast.makeText( getApplicationContext(), "Se ha recibido correctamente", Toast.LENGTH_SHORT); toast.show(); } }
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 void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_stops); Intent i = getIntent(); String stops = i.getStringExtra("stopslist"); Toast toast = Toast.makeText(getApplicationContext(), stops, Toast.LENGTH_SHORT); toast.show(); } }
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 protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_stops); Intent i = getIntent(); String stops = i.getStringExtra("stopslist"); Toast toast = Toast.makeText( getApplicationContext(), "Se ha recibido correctamente", Toast.LENGTH_SHORT); toast.show(); } } ## Instruction: Use the stops list in the toast result ## Code After: 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 void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_show_stops); Intent i = getIntent(); String stops = i.getStringExtra("stopslist"); Toast toast = Toast.makeText(getApplicationContext(), stops, Toast.LENGTH_SHORT); toast.show(); } }
97b844c7a04d44ae050dea0a805bde3c32f22c09
Extension/ProfilerExtension.php
Extension/ProfilerExtension.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * 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\Stopwatch; use Twig\Extension\ProfilerExtension as BaseProfilerExtension; use Twig\Profiler\Profile; /** * @author Fabien Potencier <[email protected]> */ final class ProfilerExtension extends BaseProfilerExtension { private $stopwatch; private $events; public function __construct(Profile $profile, Stopwatch $stopwatch = null) { parent::__construct($profile); $this->stopwatch = $stopwatch; $this->events = new \SplObjectStorage(); } public function enter(Profile $profile): void { if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile] = $this->stopwatch->start($profile->getName(), 'template'); } parent::enter($profile); } public function leave(Profile $profile): void { parent::leave($profile); if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile]->stop(); unset($this->events[$profile]); } } }
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * 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\Stopwatch; use Symfony\Component\Stopwatch\StopwatchEvent; use Twig\Extension\ProfilerExtension as BaseProfilerExtension; use Twig\Profiler\Profile; /** * @author Fabien Potencier <[email protected]> */ final class ProfilerExtension extends BaseProfilerExtension { private $stopwatch; /** * @var \SplObjectStorage<Profile, StopwatchEvent> */ private $events; public function __construct(Profile $profile, Stopwatch $stopwatch = null) { parent::__construct($profile); $this->stopwatch = $stopwatch; $this->events = new \SplObjectStorage(); } public function enter(Profile $profile): void { if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile] = $this->stopwatch->start($profile->getName(), 'template'); } parent::enter($profile); } public function leave(Profile $profile): void { parent::leave($profile); if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile]->stop(); unset($this->events[$profile]); } } }
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 <[email protected]> * * 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\Stopwatch; use Twig\Extension\ProfilerExtension as BaseProfilerExtension; use Twig\Profiler\Profile; /** * @author Fabien Potencier <[email protected]> */ final class ProfilerExtension extends BaseProfilerExtension { private $stopwatch; private $events; public function __construct(Profile $profile, Stopwatch $stopwatch = null) { parent::__construct($profile); $this->stopwatch = $stopwatch; $this->events = new \SplObjectStorage(); } public function enter(Profile $profile): void { if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile] = $this->stopwatch->start($profile->getName(), 'template'); } parent::enter($profile); } public function leave(Profile $profile): void { parent::leave($profile); if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile]->stop(); unset($this->events[$profile]); } } } ## Instruction: Add generic types to traversable implementations ## Code After: <?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * 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\Stopwatch; use Symfony\Component\Stopwatch\StopwatchEvent; use Twig\Extension\ProfilerExtension as BaseProfilerExtension; use Twig\Profiler\Profile; /** * @author Fabien Potencier <[email protected]> */ final class ProfilerExtension extends BaseProfilerExtension { private $stopwatch; /** * @var \SplObjectStorage<Profile, StopwatchEvent> */ private $events; public function __construct(Profile $profile, Stopwatch $stopwatch = null) { parent::__construct($profile); $this->stopwatch = $stopwatch; $this->events = new \SplObjectStorage(); } public function enter(Profile $profile): void { if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile] = $this->stopwatch->start($profile->getName(), 'template'); } parent::enter($profile); } public function leave(Profile $profile): void { parent::leave($profile); if ($this->stopwatch && $profile->isTemplate()) { $this->events[$profile]->stop(); unset($this->events[$profile]); } } }
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.isEnabled(featureName)) { return featureRoutes; } }); }; module.exports = [ { method: 'POST', path: '/roles', handler: 'role.create', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.create'], }, }, ], }, }, { method: 'DELETE', path: '/roles/:id', handler: 'role.deleteOne', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, { method: 'POST', path: '/roles/batch-delete', handler: 'role.deleteMany', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, ...getFeaturesRoutes(), ];
'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.isEnabled(featureName)) { return featureRoutes; } return []; }); }; module.exports = [ { method: 'POST', path: '/roles', handler: 'role.create', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.create'], }, }, ], }, }, { method: 'DELETE', path: '/roles/:id', handler: 'role.deleteOne', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, { method: 'POST', path: '/roles/batch-delete', handler: 'role.deleteMany', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, ...getFeaturesRoutes(), ];
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]) => { if (features.isEnabled(featureName)) { return featureRoutes; } }); }; module.exports = [ { method: 'POST', path: '/roles', handler: 'role.create', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.create'], }, }, ], }, }, { method: 'DELETE', path: '/roles/:id', handler: 'role.deleteOne', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, { method: 'POST', path: '/roles/batch-delete', handler: 'role.deleteMany', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, ...getFeaturesRoutes(), ]; ## Instruction: Fix error registring admin EE routes when feature is disabled ## Code After: '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.isEnabled(featureName)) { return featureRoutes; } return []; }); }; module.exports = [ { method: 'POST', path: '/roles', handler: 'role.create', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.create'], }, }, ], }, }, { method: 'DELETE', path: '/roles/:id', handler: 'role.deleteOne', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, { method: 'POST', path: '/roles/batch-delete', handler: 'role.deleteMany', config: { policies: [ 'admin::isAuthenticatedAdmin', { name: 'admin::hasPermissions', config: { actions: ['admin::roles.delete'], }, }, ], }, }, ...getFeaturesRoutes(), ];
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 <[email protected]>" 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}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools
LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <[email protected]>" 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_MIRROR}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools do_install () { autotools_do_install # Rename and move files into /bin (FHS) install -d ${D}${base_bindir} mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip.${PN} mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip.${PN} mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat.${PN} } pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/gunzip gunzip gunzip.${PN} 100 update-alternatives --install ${base_bindir}/gzip gzip gzip.${PN} 100 update-alternatives --install ${base_bindir}/zcat zcat zcat.${PN} 100 } pkg_prerm_${PN} () { update-alternatives --remove gunzip gunzip.${PN} update-alternatives --remove gzip gzip.${PN} update-alternatives --remove zcat zcat.${PN} }
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/opendreambox,giobauermeister/openembedded,Martix/Eonos,SIFTeam/openembedded,JamesAng/goe,YtvwlD/od-oe,giobauermeister/openembedded,sentient-energy/emsw-oe-mirror,nx111/openembeded_openpli2.1_nx111,John-NY/overo-oe,bticino/openembedded,nx111/openembeded_openpli2.1_nx111,bticino/openembedded,JrCs/opendreambox,openpli-arm/openembedded,yyli/overo-oe,anguslees/openembedded-android,xifengchuo/openembedded,thebohemian/openembedded,nzjrs/overo-openembedded,troth/oe-ts7xxx,sledz/oe,scottellis/overo-oe,openembedded/openembedded,trini/openembedded,KDAB/OpenEmbedded-Archos,hulifox008/openembedded,nlebedenco/mini2440,demsey/openembedded,dellysunnymtech/sakoman-oe,demsey/openembedded,libo/openembedded,YtvwlD/od-oe,openembedded/openembedded,demsey/openenigma2,thebohemian/openembedded,popazerty/openembedded-cuberevo,demsey/openenigma2,BlackPole/bp-openembedded,philb/pbcl-oe-2010,crystalfontz/openembedded,nx111/openembeded_openpli2.1_nx111,rascalmicro/openembedded-rascal,JamesAng/goe,giobauermeister/openembedded,sledz/oe,openembedded/openembedded,yyli/overo-oe,rascalmicro/openembedded-rascal,John-NY/overo-oe,sampov2/audio-openembedded,JamesAng/oe,JamesAng/oe,thebohemian/openembedded,xifengchuo/openembedded,YtvwlD/od-oe,philb/pbcl-oe-2010,buglabs/oe-buglabs,KDAB/OpenEmbedded-Archos,nlebedenco/mini2440,crystalfontz/openembedded,scottellis/overo-oe,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,nzjrs/overo-openembedded,demsey/openenigma2,openembedded/openembedded,anguslees/openembedded-android,xifengchuo/openembedded,JrCs/opendreambox,bticino/openembedded,demsey/openembedded,sledz/oe,yyli/overo-oe,hulifox008/openembedded,trini/openembedded,BlackPole/bp-openembedded,demsey/openenigma2,libo/openembedded,openembedded/openembedded,dellysunnymtech/sakoman-oe,openembedded/openembedded,libo/openembedded,nvl1109/openembeded,JrCs/opendreambox,sledz/oe,sutajiokousagi/openembedded,dave-billin/overo-ui-moos-auv,BlackPole/bp-openembedded,yyli/overo-oe,buglabs/oe-buglabs,BlackPole/bp-openembedded,giobauermeister/openembedded,openembedded/openembedded,JrCs/opendreambox,buglabs/oe-buglabs,giobauermeister/openembedded,trini/openembedded,philb/pbcl-oe-2010,giobauermeister/openembedded,scottellis/overo-oe,sledz/oe,hulifox008/openembedded,hulifox008/openembedded,popazerty/openembedded-cuberevo,sutajiokousagi/openembedded,rascalmicro/openembedded-rascal,popazerty/openembedded-cuberevo,libo/openembedded,openembedded/openembedded,thebohemian/openembedded,thebohemian/openembedded,nvl1109/openembeded,dellysunnymtech/sakoman-oe,libo/openembedded,John-NY/overo-oe,sutajiokousagi/openembedded,sentient-energy/emsw-oe-mirror,yyli/overo-oe,trini/openembedded,YtvwlD/od-oe,Martix/Eonos,giobauermeister/openembedded,buglabs/oe-buglabs,hulifox008/openembedded,nx111/openembeded_openpli2.1_nx111,rascalmicro/openembedded-rascal,sutajiokousagi/openembedded,Martix/Eonos,Martix/Eonos,xifengchuo/openembedded,buglabs/oe-buglabs,mrchapp/arago-oe-dev,John-NY/overo-oe,Martix/Eonos,yyli/overo-oe,openpli-arm/openembedded,JamesAng/oe,demsey/openenigma2,buglabs/oe-buglabs,KDAB/OpenEmbedded-Archos,popazerty/openembedded-cuberevo,dellysunnymtech/sakoman-oe,YtvwlD/od-oe,troth/oe-ts7xxx,nzjrs/overo-openembedded,JamesAng/goe,dave-billin/overo-ui-moos-auv,troth/oe-ts7xxx,JamesAng/goe,popazerty/openembedded-cuberevo,troth/oe-ts7xxx,dellysunnymtech/sakoman-oe,trini/openembedded,sampov2/audio-openembedded,YtvwlD/od-oe,buglabs/oe-buglabs,nzjrs/overo-openembedded,KDAB/OpenEmbedded-Archos,crystalfontz/openembedded,dellysunnymtech/sakoman-oe,sampov2/audio-openembedded,JrCs/opendreambox,dave-billin/overo-ui-moos-auv,anguslees/openembedded-android,KDAB/OpenEmbedded-Archos,Martix/Eonos,rascalmicro/openembedded-rascal,xifengchuo/openembedded,trini/openembedded,nlebedenco/mini2440,nzjrs/overo-openembedded,openpli-arm/openembedded,hulifox008/openembedded,sutajiokousagi/openembedded,SIFTeam/openembedded,sentient-energy/emsw-oe-mirror,openpli-arm/openembedded,xifengchuo/openembedded,dellysunnymtech/sakoman-oe,yyli/overo-oe,crystalfontz/openembedded,sentient-energy/emsw-oe-mirror,dave-billin/overo-ui-moos-auv,bticino/openembedded,mrchapp/arago-oe-dev,John-NY/overo-oe,mrchapp/arago-oe-dev,demsey/openenigma2,philb/pbcl-oe-2010,scottellis/overo-oe,anguslees/openembedded-android,demsey/openembedded,sampov2/audio-openembedded,openembedded/openembedded,nvl1109/openembeded,scottellis/overo-oe,thebohemian/openembedded,dave-billin/overo-ui-moos-auv,JrCs/opendreambox,nlebedenco/mini2440,mrchapp/arago-oe-dev,sledz/oe,crystalfontz/openembedded,sentient-energy/emsw-oe-mirror,bticino/openembedded,rascalmicro/openembedded-rascal,sutajiokousagi/openembedded,rascalmicro/openembedded-rascal,xifengchuo/openembedded,sentient-energy/emsw-oe-mirror,crystalfontz/openembedded,BlackPole/bp-openembedded,bticino/openembedded,nlebedenco/mini2440,popazerty/openembedded-cuberevo,nzjrs/overo-openembedded,KDAB/OpenEmbedded-Archos,openpli-arm/openembedded,John-NY/overo-oe,demsey/openembedded,thebohemian/openembedded,openembedded/openembedded,scottellis/overo-oe,nlebedenco/mini2440,nvl1109/openembeded,popazerty/openembedded-cuberevo,sampov2/audio-openembedded,popazerty/openembedded-cuberevo,giobauermeister/openembedded,yyli/overo-oe,libo/openembedded,nvl1109/openembeded,dellysunnymtech/sakoman-oe,SIFTeam/openembedded,JamesAng/oe,openpli-arm/openembedded,nzjrs/overo-openembedded,YtvwlD/od-oe,demsey/openembedded,SIFTeam/openembedded,philb/pbcl-oe-2010,anguslees/openembedded-android,JamesAng/goe,sampov2/audio-openembedded,rascalmicro/openembedded-rascal,libo/openembedded,trini/openembedded,scottellis/overo-oe,openpli-arm/openembedded,demsey/openembedded,nx111/openembeded_openpli2.1_nx111,mrchapp/arago-oe-dev,nvl1109/openembeded,sledz/oe,JamesAng/goe,BlackPole/bp-openembedded,SIFTeam/openembedded,bticino/openembedded,giobauermeister/openembedded,troth/oe-ts7xxx,nx111/openembeded_openpli2.1_nx111,nvl1109/openembeded,dellysunnymtech/sakoman-oe,SIFTeam/openembedded,JrCs/opendreambox,KDAB/OpenEmbedded-Archos,nlebedenco/mini2440,JamesAng/oe,mrchapp/arago-oe-dev,openembedded/openembedded,dave-billin/overo-ui-moos-auv,sentient-energy/emsw-oe-mirror,SIFTeam/openembedded,hulifox008/openembedded,crystalfontz/openembedded,JrCs/opendreambox,BlackPole/bp-openembedded,troth/oe-ts7xxx,sampov2/audio-openembedded,xifengchuo/openembedded,nx111/openembeded_openpli2.1_nx111
bitbake
## Code Before: LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <[email protected]>" 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}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools ## Instruction: Update to follow the FHS and use update-alternatives for gzip, gunzip and zcat ## Code After: LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <[email protected]>" 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_MIRROR}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools do_install () { autotools_do_install # Rename and move files into /bin (FHS) install -d ${D}${base_bindir} mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip.${PN} mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip.${PN} mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat.${PN} } pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/gunzip gunzip gunzip.${PN} 100 update-alternatives --install ${base_bindir}/gzip gzip gzip.${PN} 100 update-alternatives --install ${base_bindir}/zcat zcat zcat.${PN} 100 } pkg_prerm_${PN} () { update-alternatives --remove gunzip gunzip.${PN} update-alternatives --remove gzip gzip.${PN} update-alternatives --remove zcat zcat.${PN} }
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%} {% block content %} <div class="container"> <div class="row"> <div class="col-xs-12"> <h2>{% trans 'Users'%}</h2> </div> </div> <p>{% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}</p> <div class="row"> <div class="col-lg-12"> <div class="list-group"> {% for user in user_list %} <a href="{% url 'users:detail' user.username %}" class="list-group-item{%if user.is_staff%} staff{%endif%}"> <h4 class="list-group-item-heading">{% avatar user %} {{ user.username }}</h4> {% if user.case_count %} <p class="list-group-item-text">Case count: {{ user.case_count }}</p> {% endif %} </a> {% endfor %} </div> </div> </div> </div> {% endblock content %}
{% 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%} {% block content %} <div class="row"> <div class="col-xs-12"> <h2>{% trans 'Users'%}</h2> </div> </div> <p>{% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}</p> <div class="row"> <div class="col-lg-12"> <div class="list-group"> {% for user in user_list %} <a href="{% url 'users:detail' user.username %}" class="list-group-item{%if user.is_staff%} staff{%endif%}"> <h4 class="list-group-item-heading">{% avatar user %} {{ user.username }}</h4> {% if user.case_count %} <p class="list-group-item-text">Case count: {{ user.case_count }}</p> {% endif %} </a> {% endfor %} </div> </div> </div> {% endblock content %}
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> {%endblock%} {% block content %} <div class="container"> <div class="row"> <div class="col-xs-12"> <h2>{% trans 'Users'%}</h2> </div> </div> <p>{% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}</p> <div class="row"> <div class="col-lg-12"> <div class="list-group"> {% for user in user_list %} <a href="{% url 'users:detail' user.username %}" class="list-group-item{%if user.is_staff%} staff{%endif%}"> <h4 class="list-group-item-heading">{% avatar user %} {{ user.username }}</h4> {% if user.case_count %} <p class="list-group-item-text">Case count: {{ user.case_count }}</p> {% endif %} </a> {% endfor %} </div> </div> </div> </div> {% endblock content %} ## Instruction: Fix width of list of users ## Code After: {% 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%} {% block content %} <div class="row"> <div class="col-xs-12"> <h2>{% trans 'Users'%}</h2> </div> </div> <p>{% trans "You don't have access to data of all our users. Mostly you have access to staff and own profile." %}</p> <div class="row"> <div class="col-lg-12"> <div class="list-group"> {% for user in user_list %} <a href="{% url 'users:detail' user.username %}" class="list-group-item{%if user.is_staff%} staff{%endif%}"> <h4 class="list-group-item-heading">{% avatar user %} {{ user.username }}</h4> {% if user.case_count %} <p class="list-group-item-text">Case count: {{ user.case_count }}</p> {% endif %} </a> {% endfor %} </div> </div> </div> {% endblock content %}
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/ cp -R $DIR/hn-gopher/opt/gophernicus_* /opt/ pushd /opt/gophernicus_* make && make install && make clean-build popd rm -f /etc/default/gophernicus cp $DIR/hn-gopher/opt/gophernicus_*/gophernicus.env /etc/default/gophernicus
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/ cp -R $DIR/hn-gopher/opt/gophernicus_* /opt/ pushd /opt/gophernicus_* make && make install && make clean-build popd rm -f /etc/default/gophernicus cp $DIR/hn-gopher/opt/gophernicus_*/gophernicus.env /etc/default/gophernicus touch /var/tmp/gopher-counter
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.d/* /etc/cron.d/ cp -R $DIR/hn-gopher/opt/gophernicus_* /opt/ pushd /opt/gophernicus_* make && make install && make clean-build popd rm -f /etc/default/gophernicus cp $DIR/hn-gopher/opt/gophernicus_*/gophernicus.env /etc/default/gophernicus ## Instruction: Add the default gopher-counter file ## Code After: 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/ cp -R $DIR/hn-gopher/opt/gophernicus_* /opt/ pushd /opt/gophernicus_* make && make install && make clean-build popd rm -f /etc/default/gophernicus cp $DIR/hn-gopher/opt/gophernicus_*/gophernicus.env /etc/default/gophernicus touch /var/tmp/gopher-counter
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" , "main/scala/scalan/math/Matrices.scala" ), emitSourceContext = true, isoNames = ("A","B") ) val liteConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan-lite/src", entityFiles = List( "main/scala/scalan/rx/Reactive.scala" //, "main/scala/scalan/rx/Trees.scala" ), stagedViewsTrait = "ViewsExp" ) val ctx = new EntityManagement(liteConfig) ctx.generateAll }
/** * 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/Matrices.scala", "main/scala/scalan/collections/Sets.scala" ), emitSourceContext = true, isoNames = ("A","B") ) val liteConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan-lite/src", entityFiles = List( "main/scala/scalan/rx/Reactive.scala" //, "main/scala/scalan/rx/Trees.scala" ), stagedViewsTrait = "ViewsExp" ) val ctx = new EntityManagement(scalanConfig) ctx.generateAll }
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.scala" , "main/scala/scalan/math/Matrices.scala" ), emitSourceContext = true, isoNames = ("A","B") ) val liteConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan-lite/src", entityFiles = List( "main/scala/scalan/rx/Reactive.scala" //, "main/scala/scalan/rx/Trees.scala" ), stagedViewsTrait = "ViewsExp" ) val ctx = new EntityManagement(liteConfig) ctx.generateAll } ## Instruction: Fix paths, use Scalan for generation ## Code After: /** * 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/Matrices.scala", "main/scala/scalan/collections/Sets.scala" ), emitSourceContext = true, isoNames = ("A","B") ) val liteConfig = defConf.copy( srcPath = "/home/s00747473/Projects/scalan-lite/src", entityFiles = List( "main/scala/scalan/rx/Reactive.scala" //, "main/scala/scalan/rx/Trees.scala" ), stagedViewsTrait = "ViewsExp" ) val ctx = new EntityManagement(scalanConfig) ctx.generateAll }
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) { var textarea = document.getElementById('source'); if(!response.source) { textarea.innerText = "Uh, oh! Something went wrong!"; return; } var html_start = response.source.indexOf('<!DOCTYPE html'); if(html_start == -1) { textarea.innerText = "Couldn't find message HTML. Please make sure you have opened a Gmail email. "; return; } //extract the source HTML var html_end = response.source.indexOf('--_=_swift', html_start); var source = response.source.substr(html_start, html_end - html_start); //decode it and display it textarea.innerText = quotedPrintable.decode(source); }); }); }
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: true}, function(tabs) { chrome.tabs.sendMessage(tabs[0].id, {greeting: "GetEmailSource"}, function(response) { var textarea = document.getElementById('source'); if(!response.source) { textarea.innerText = "Uh, oh! Something went wrong!"; return; } var html_start = response.source.indexOf('<!DOCTYPE html'); if(html_start == -1) { textarea.innerText = "Couldn't find message HTML. Please make sure you have opened a Gmail email. "; return; } //extract the source HTML var html_end = response.source.indexOf('--_=_swift', html_start); var source = response.source.substr(html_start, html_end - html_start); //decode it and display it textarea.innerText = quotedPrintable.decode(source); }); }); }
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"}, function(response) { var textarea = document.getElementById('source'); if(!response.source) { textarea.innerText = "Uh, oh! Something went wrong!"; return; } var html_start = response.source.indexOf('<!DOCTYPE html'); if(html_start == -1) { textarea.innerText = "Couldn't find message HTML. Please make sure you have opened a Gmail email. "; return; } //extract the source HTML var html_end = response.source.indexOf('--_=_swift', html_start); var source = response.source.substr(html_start, html_end - html_start); //decode it and display it textarea.innerText = quotedPrintable.decode(source); }); }); } ## Instruction: Select textarea contents on click ## Code After: 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: true}, function(tabs) { chrome.tabs.sendMessage(tabs[0].id, {greeting: "GetEmailSource"}, function(response) { var textarea = document.getElementById('source'); if(!response.source) { textarea.innerText = "Uh, oh! Something went wrong!"; return; } var html_start = response.source.indexOf('<!DOCTYPE html'); if(html_start == -1) { textarea.innerText = "Couldn't find message HTML. Please make sure you have opened a Gmail email. "; return; } //extract the source HTML var html_end = response.source.indexOf('--_=_swift', html_start); var source = response.source.substr(html_start, html_end - html_start); //decode it and display it textarea.innerText = quotedPrintable.decode(source); }); }); }
6d3e254b86e1ab9a9804692f1b36ba88e52ecc65
composer.json
composer.json
{ "name": "taluu/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "[email protected]", "homepage": "http://baptiste.xn--clavi-fsa.net/", "role": "Lead Developper" } ], "support": { "email": "[email protected]", "issues": "https://github.com/Taluu/Totem/issues", "source": "https://github.com/Taluu/Totem" }, "autoload": { "psr-4": { "Totem\\": ["src/", "test/"] } }, "require": { "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "~0.6" }, "config": { "bin-dir": "bin" }, "minimum-stability": "dev", "prefer-stable": true }
{ "name": "wisembly/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "[email protected]", "homepage": "http://baptiste.xn--clavi-fsa.net/", "role": "Lead Developper" } ], "support": { "email": "[email protected]", "issues": "https://github.com/Taluu/Totem/issues", "source": "https://github.com/Taluu/Totem" }, "replace": { "taluu/totem": "self.version" }, "autoload": { "psr-4": { "Totem\\": ["src/", "test/"] } }, "require": { "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "~0.6" }, "config": { "bin-dir": "bin" }, "minimum-stability": "dev", "prefer-stable": true }
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": "[email protected]", "homepage": "http://baptiste.xn--clavi-fsa.net/", "role": "Lead Developper" } ], "support": { "email": "[email protected]", "issues": "https://github.com/Taluu/Totem/issues", "source": "https://github.com/Taluu/Totem" }, "autoload": { "psr-4": { "Totem\\": ["src/", "test/"] } }, "require": { "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "~0.6" }, "config": { "bin-dir": "bin" }, "minimum-stability": "dev", "prefer-stable": true } ## Instruction: Change package name to wisembly/totem ## Code After: { "name": "wisembly/totem", "license": "MIT", "description": "Changeset calculator between data states", "keywords": ["changeset"], "authors": [ { "name": "Baptiste Clavié", "email": "[email protected]", "homepage": "http://baptiste.xn--clavi-fsa.net/", "role": "Lead Developper" } ], "support": { "email": "[email protected]", "issues": "https://github.com/Taluu/Totem/issues", "source": "https://github.com/Taluu/Totem" }, "replace": { "taluu/totem": "self.version" }, "autoload": { "psr-4": { "Totem\\": ["src/", "test/"] } }, "require": { "php": ">=5.4" }, "require-dev": { "phpunit/phpunit": "~4.0", "satooshi/php-coveralls": "~0.6" }, "config": { "bin-dir": "bin" }, "minimum-stability": "dev", "prefer-stable": true }
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} image="{import}/img/MAD01.dds" ; Data, all of these files will be read ; names are cosmetic, data can be anywhere [ContentPackData] investigators.ini tiles.ini monsters.ini activations.ini tokens.ini horror.ini evade.ini attacks.ini mythos.ini items.ini puzzle.ini audio.ini images.ini horror_attacks.ini dunwich_data.ini tokens_monsters.ini [LanguageData] pck Localization.English.txt pck Localization.German.txt
; 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} image="{import}/img/MAD01.dds" ; Data, all of these files will be read ; names are cosmetic, data can be anywhere [ContentPackData] investigators.ini tiles.ini monsters.ini activations.ini tokens.ini horror.ini evade.ini attacks.ini mythos.ini items.ini puzzle.ini audio.ini images.ini horror_attacks.ini dunwich_data.ini tokens_monsters.ini [LanguageData] pck Localization.English.txt pck Localization.German.txt pck Localization.Polish.txt
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] name={pck:CK} image="{import}/img/MAD01.dds" ; Data, all of these files will be read ; names are cosmetic, data can be anywhere [ContentPackData] investigators.ini tiles.ini monsters.ini activations.ini tokens.ini horror.ini evade.ini attacks.ini mythos.ini items.ini puzzle.ini audio.ini images.ini horror_attacks.ini dunwich_data.ini tokens_monsters.ini [LanguageData] pck Localization.English.txt pck Localization.German.txt ## Instruction: Add Polish support to MoM pack descriptions. ## Code After: ; 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} image="{import}/img/MAD01.dds" ; Data, all of these files will be read ; names are cosmetic, data can be anywhere [ContentPackData] investigators.ini tiles.ini monsters.ini activations.ini tokens.ini horror.ini evade.ini attacks.ini mythos.ini items.ini puzzle.ini audio.ini images.ini horror_attacks.ini dunwich_data.ini tokens_monsters.ini [LanguageData] pck Localization.English.txt pck Localization.German.txt pck Localization.Polish.txt
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 Use SQLCMD syntax to reference a variable in the pre-deployment script. Example: :setvar TableName MyTable SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN AMOUNT DECIMAL(18,5) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME='EmpRef' AND DATA_TYPE = 'nchar') BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN EmpRef NVARCHAR(50) NULL END
/* 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 Use SQLCMD syntax to reference a variable in the pre-deployment script. Example: :setvar TableName MyTable SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN AMOUNT DECIMAL(18,5) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME='EmpRef' AND DATA_TYPE = 'nchar') BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN EmpRef NVARCHAR(50) NULL END IF NOT EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'LevyDeclaration' and COLUMN_NAME = 'CreatedDate') BEGIN ALTER TABLE [employer_financial].[LevyDeclaration] Add CreatedDate DATETIME NOT NULL DEFAULT GETDATE() END
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 .\myfile.sql Use SQLCMD syntax to reference a variable in the pre-deployment script. Example: :setvar TableName MyTable SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN AMOUNT DECIMAL(18,5) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME='EmpRef' AND DATA_TYPE = 'nchar') BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN EmpRef NVARCHAR(50) NULL END ## Instruction: Add seed data for new column ## Code After: /* 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 Use SQLCMD syntax to reference a variable in the pre-deployment script. Example: :setvar TableName MyTable SELECT * FROM [$(TableName)] -------------------------------------------------------------------------------------- */ IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME = 'Amount' and NUMERIC_SCALE = 4) BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN AMOUNT DECIMAL(18,5) NULL END IF EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'EnglishFraction' and COLUMN_NAME='EmpRef' AND DATA_TYPE = 'nchar') BEGIN ALTER TABLE [employer_financial].[EnglishFraction] ALTER COLUMN EmpRef NVARCHAR(50) NULL END IF NOT EXISTS(select 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'LevyDeclaration' and COLUMN_NAME = 'CreatedDate') BEGIN ALTER TABLE [employer_financial].[LevyDeclaration] Add CreatedDate DATETIME NOT NULL DEFAULT GETDATE() END
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> </div> </div> <div class="row" ng-show="form.success.form"> <div class="large-12 columns"> <div data-alert class="alert-box success"> {{form.success.form}} </div> </div> </div> <div lds-authenticated="true" ng-hide="form.success.form"> <div class="row"> <div class="large-12 columns"> <div data-alert class="alert-box warning" ng-show="form.error.form"> {{form.error.form}} </div> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.currentPassword}"> <input type="password" placeholder="current password" ng-model="form.passwordChange.currentPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.currentPassword">{{form.error.currentPassword}}</small> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.newPassword}"> <input type="password" placeholder="new password" ng-model="form.passwordChange.newPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.newPassword">{{form.error.newPassword}}</small> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.confirmPassword}"> <input type="password" placeholder="confirm new password" ng-model="form.passwordChange.confirmPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.confirmPassword">{{form.error.confirmPassword}}</small> </div> </div> <div class="row"> <div class="large-5 columns"> <input type="submit" class="button small" value="Change It!" /> </div> </div> </div> <div data-alert class="large-12 columns alert-box warning" lds-authenticated="false"> You must be logged in to view this page! </div> </div> <div class="large-5 medium-4 columns"> </div> </div> </form>
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"> <div class="row"> <div class="large-12 columns"> <h2>Change Password</h2> </div> </div> <div class="row" ng-show="form.success.form"> <div class="large-12 columns"> <div data-alert class="alert-box success"> {{form.success.form}} </div> </div> </div> <div lds-authenticated="true" ng-hide="form.success.form"> <div class="row"> <div class="large-12 columns"> <div data-alert class="alert-box warning" ng-show="form.error.form"> {{form.error.form}} </div> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.currentPassword}"> <input type="password" placeholder="current password" ng-model="form.passwordChange.currentPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.currentPassword">{{form.error.currentPassword}}</small> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.newPassword}"> <input type="password" placeholder="new password" ng-model="form.passwordChange.newPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.newPassword">{{form.error.newPassword}}</small> </div> </div> <div class="row"> <div class="large-12 columns" ng-class="{error: form.error.confirmPassword}"> <input type="password" placeholder="confirm new password" ng-model="form.passwordChange.confirmPassword" ng-keyup="formChanged($event)" ng-changed="formChanged($event)" /> <small ng-show="form.error.confirmPassword">{{form.error.confirmPassword}}</small> </div> </div> <div class="row"> <div class="large-5 columns"> <input type="submit" class="button small" value="Change It!" /> </div> </div> </div> <div data-alert class="large-12 columns alert-box warning" lds-authenticated="false"> You must be logged in to view this page! </div> </div> <div class="large-5 medium-4 columns"> </div> </div> </form>
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.python.org/) installed. Install [Gulp](http://gulpjs.com/) globally with: npm install -g gulp Clone the repo: git clone https://github.com/MattMS/css.mattms.info.git cd css.mattms.info Install the dependencies: npm install Update the HTML and CSS after changes to the Jade, Markdown or Stylus: gulp Start a local server to view changes: python -m http.server 1337
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 page style switcher. Open the "View" menu (`Alt + v`), select "Page Style" (`y`) then choose the style you would like the page to be. This is done by setting the `rel` attribute on the [link tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/link) to [alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). ## Local demo or development You will need [Node.js](http://nodejs.org/) and [Python 3](https://www.python.org/) installed. Install [Gulp](http://gulpjs.com/) globally with: npm install -g gulp Clone the repo: git clone https://github.com/MattMS/css.mattms.info.git cd css.mattms.info Install the dependencies: npm install Update the HTML and CSS after changes to the Jade, Markdown or Stylus: gulp Start a local server to view changes: python -m http.server 1337
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 3](https://www.python.org/) installed. Install [Gulp](http://gulpjs.com/) globally with: npm install -g gulp Clone the repo: git clone https://github.com/MattMS/css.mattms.info.git cd css.mattms.info Install the dependencies: npm install Update the HTML and CSS after changes to the Jade, Markdown or Stylus: gulp Start a local server to view changes: python -m http.server 1337 ## Instruction: Add Firefox alternate stylesheet notes ## Code After: 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 page style switcher. Open the "View" menu (`Alt + v`), select "Page Style" (`y`) then choose the style you would like the page to be. This is done by setting the `rel` attribute on the [link tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/link) to [alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types). ## Local demo or development You will need [Node.js](http://nodejs.org/) and [Python 3](https://www.python.org/) installed. Install [Gulp](http://gulpjs.com/) globally with: npm install -g gulp Clone the repo: git clone https://github.com/MattMS/css.mattms.info.git cd css.mattms.info Install the dependencies: npm install Update the HTML and CSS after changes to the Jade, Markdown or Stylus: gulp Start a local server to view changes: python -m http.server 1337
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.1.0", "twemoji": "1.4.1" }, "devDependencies": { "browserify": "11.0.1", "envify": "3.4.0", "babelify": "6.1.3", "uglify-js": "2.4.24", "watchify": "3.3.1", "eslint": "1.6.0", "eslint-plugin-react": "3.5.1" }, "scripts": { "start": "watchify --extension=jsx -o ../static/js/bundle.js -v -d ./**/*.jsx", "build": "NODE_ENV=production browserify ./**/*.jsx | uglifyjs -c -m --screw-ie8 > ../static/js/bundle.min.js", "test": "jest" }, "browserify": { "transform": [ [ "babelify", { "optional": [ "runtime" ] } ], "envify" ] }, "jest": { "rootDir": "." } }
{ "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" }, "devDependencies": { "browserify": "11.0.1", "envify": "3.4.0", "babelify": "6.1.3", "uglify-js": "2.4.24", "watchify": "3.3.1", "eslint": "1.6.0", "eslint-plugin-react": "3.5.1" }, "scripts": { "start": "watchify --extension=jsx -o ../static/js/bundle.js -v -d ./**/*.jsx", "build": "NODE_ENV=production browserify ./**/*.jsx | uglifyjs -c -m --screw-ie8 > ../static/js/bundle.min.js", "test": "jest" }, "browserify": { "transform": [ [ "babelify", { "optional": [ "runtime" ] } ], "envify" ] }, "jest": { "rootDir": "." } }
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,apaatsio/platform,rgarmsen2295/platform,rahulltkr/platform,rompic/platform,rgarmsen2295/platform,bkeroack/platform,trashcan/platform,tbalthazar/platform,asaadmahmoodspin/platform,bkeroack/platform,cyanlime/platform,rompic/platform,ninja-/platform,npcode/platform,xogeny/platform,florianorben/platform,raghavenc5/TabGen,npcode/platform,StateFarmIns/mattermost,daizenberg/platform,samogot/platform,tbolon/platform,mozilla/mattermoz,dotcominternet/platform,ZBoxApp/platform,rahulltkr/platform,florianorben/platform,florianorben/platform,ninja-/platform,cadecairos/mattermoz,ZBoxApp/platform,raghavenc5/TabGen,npcode/platform,bkeroack/platform,florianorben/platform,mozilla/mattermoz,StateFarmIns/mattermost,andela/mattermost-platform,mozilla/mattermoz,trashcan/platform,rgarmsen2295/platform,xogeny/platform,kernicPanel/platform,ninja-/platform,ZBoxApp/platform,dotcominternet/platform,tbolon/platform,asaadmahmoodspin/platform,dotcominternet/platform,trashcan/platform,dimitertodorov/platform,numericube/platform,raghavenc5/TabGen,numericube/platform,dimitertodorov/platform,rompic/platform,apaatsio/platform,42wim/platform,kernicPanel/platform,rahulltkr/platform,lawrenae/mattermost,kernicPanel/platform,TSlean/platform,rgarmsen2295/platform,cyanlime/platform,tbalthazar/platform,samogot/platform,npcode/platform,xogeny/platform,42wim/platform,StateFarmIns/mattermost,fosstp/platform,StateFarmIns/mattermost,lawrenae/mattermost,fosstp/platform,lawrenae/mattermost,apaatsio/platform,florianorben/platform,daizenberg/platform,TSlean/platform,StateFarmIns/mattermost,dimitertodorov/platform,apaatsio/platform,raghavenc5/TabGen,cadecairos/mattermoz,daizenberg/platform,trashcan/platform,ttyniwa/platform,andela/mattermost-platform,kernicPanel/platform,ttyniwa/platform,dotcominternet/platform,TSlean/platform,fosstp/platform,asaadmahmoodspin/platform,mozilla/mattermoz,lawrenae/mattermost,ttyniwa/platform,rgarmsen2295/platform,cadecairos/mattermoz,ZBoxApp/platform,raghavenc5/TabGen,tbolon/platform,apaatsio/platform,42wim/platform,cadecairos/mattermoz,andela/mattermost-platform,lawrenae/mattermost,mozilla/mattermoz,andela/mattermost-platform,ninja-/platform,ZBoxApp/platform,cyanlime/platform,xogeny/platform,bkeroack/platform,bkeroack/platform,andela/mattermost-platform
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-zeroclipboard-mixin": "0.1.0", "twemoji": "1.4.1" }, "devDependencies": { "browserify": "11.0.1", "envify": "3.4.0", "babelify": "6.1.3", "uglify-js": "2.4.24", "watchify": "3.3.1", "eslint": "1.6.0", "eslint-plugin-react": "3.5.1" }, "scripts": { "start": "watchify --extension=jsx -o ../static/js/bundle.js -v -d ./**/*.jsx", "build": "NODE_ENV=production browserify ./**/*.jsx | uglifyjs -c -m --screw-ie8 > ../static/js/bundle.min.js", "test": "jest" }, "browserify": { "transform": [ [ "babelify", { "optional": [ "runtime" ] } ], "envify" ] }, "jest": { "rootDir": "." } } ## Instruction: Remove npm reference to unused zeroclipboard. ## Code After: { "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" }, "devDependencies": { "browserify": "11.0.1", "envify": "3.4.0", "babelify": "6.1.3", "uglify-js": "2.4.24", "watchify": "3.3.1", "eslint": "1.6.0", "eslint-plugin-react": "3.5.1" }, "scripts": { "start": "watchify --extension=jsx -o ../static/js/bundle.js -v -d ./**/*.jsx", "build": "NODE_ENV=production browserify ./**/*.jsx | uglifyjs -c -m --screw-ie8 > ../static/js/bundle.min.js", "test": "jest" }, "browserify": { "transform": [ [ "babelify", { "optional": [ "runtime" ] } ], "envify" ] }, "jest": { "rootDir": "." } }
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/#h1 h1, h2, h3, h4, h5, h6 { font-family: $font-heading; font-weight: bold; color: black; line-height: 1; margin: 0 0 0.5em 0; }
// 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/#h1 h1, h2, h3, h4, h5, h6 { font-family: $font-heading; font-weight: bold; color: black; line-height: 1; margin: 0 0 0.5em 0; } h1 { font-size : @h1; } h2 { font-size : @h2; } h3 { font-size : @h3; } h4 { font-size : @h4; } h5 { font-size : @h5; } h6 { font-size : @h6; }
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/element-index/#h1 h1, h2, h3, h4, h5, h6 { font-family: $font-heading; font-weight: bold; color: black; line-height: 1; margin: 0 0 0.5em 0; } ## Instruction: Add missing default font-size for headings ## Code After: // 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/#h1 h1, h2, h3, h4, h5, h6 { font-family: $font-heading; font-weight: bold; color: black; line-height: 1; margin: 0 0 0.5em 0; } h1 { font-size : @h1; } h2 { font-size : @h2; } h3 { font-size : @h3; } h4 { font-size : @h4; } h5 { font-size : @h5; } h6 { font-size : @h6; }
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 message body # using the getText() method. assert result.getStatusCode() == 200
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 message body # using the getText() method. # assert result.getText().contains("HELLO WORLD") # if you want to print out log.. Don't use print. # instead use following. # grinder.logger.info("Hello World") assert result.getStatusCode() == 200
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/ngrinder,GwonGisoo/ngrinder,nanpa83/ngrinder,chengaomin/ngrinder,ropik/ngrinder,nanpa83/ngrinder,naver/ngrinder,ropik/ngrinder,chengaomin/ngrinder,naver/ngrinder,bwahn/ngrinder,songeunwoo/ngrinder,nanpa83/ngrinder,SRCB-CloudPart/ngrinder,songeunwoo/ngrinder,GwonGisoo/ngrinder,GwonGisoo/ngrinder,nanpa83/ngrinder,bwahn/ngrinder,SRCB-CloudPart/ngrinder,GwonGisoo/ngrinder,songeunwoo/ngrinder
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.HTTPResult. We get the message body # using the getText() method. assert result.getStatusCode() == 200 ## Instruction: Enhance script template - Make it UTF-8 compatible. - Provide logger and getText() example ## Code After: 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 message body # using the getText() method. # assert result.getText().contains("HELLO WORLD") # if you want to print out log.. Don't use print. # instead use following. # grinder.logger.info("Hello World") assert result.getStatusCode() == 200
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 &optional push) (let ((process-connection-type nil)) (let ((proc (start-process "pbcopy" "*Messages*" "pbcopy"))) (process-send-string proc text) (process-send-eof proc)))) (setq interprogram-cut-function 'paste-to-osx) (setq interprogram-paste-function 'copy-from-osx) (setenv "PAGER" "/bin/cat") (server-start)
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/copy/paste with the OS. ## Code After: (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 &optional push) (let ((process-connection-type nil)) (let ((proc (start-process "pbcopy" "*Messages*" "pbcopy"))) (process-send-string proc text) (process-send-eof proc)))) (setq interprogram-cut-function 'paste-to-osx) (setq interprogram-paste-function 'copy-from-osx) (setenv "PAGER" "/bin/cat") (server-start)
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" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_marginRight="10dp" /> <TextView android:id="@+id/text" style="@style/NotificationText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/image" android:text="NotificationText" android:layout_marginBottom="5dp" /> <ProgressBar android:id="@+id/progressbar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/text" android:layout_toRightOf="@id/image" /> </RelativeLayout>
<?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" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_marginRight="10dp" /> <TextView android:id="@+id/text" style="@style/NotificationText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:layout_toRightOf="@id/image" android:ellipsize="marquee" android:scrollHorizontally="true" android:text="NotificationText" /> <ProgressBar android:id="@+id/progressbar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/text" android:layout_toRightOf="@id/image" /> </RelativeLayout>
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" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_marginRight="10dp" /> <TextView android:id="@+id/text" style="@style/NotificationText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/image" android:text="NotificationText" android:layout_marginBottom="5dp" /> <ProgressBar android:id="@+id/progressbar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/text" android:layout_toRightOf="@id/image" /> </RelativeLayout> ## Instruction: Make notification text single line. ## Code After: <?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" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_marginRight="10dp" /> <TextView android:id="@+id/text" style="@style/NotificationText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:layout_toRightOf="@id/image" android:ellipsize="marquee" android:scrollHorizontally="true" android:text="NotificationText" /> <ProgressBar android:id="@+id/progressbar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/text" android:layout_toRightOf="@id/image" /> </RelativeLayout>
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 from './my-second-service services: [ { name: 'my.first-service', definition: MyFirstService, parameters: ['my.second-service'] }, { name: 'my.second-service', definition: MySecondService } ] ``` Services can be declared in a random order as the Barman will handle dependencies ## Cyclic dependencies Cyclic dependencies are not supported and a `Cyclic dependency detected` Error will be triggered.
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 from './my-second-service services: [ { name: 'my.first-service', definition: MyFirstService, parameters: ['my.second-service'] }, { name: 'my.second-service', definition: MySecondService } ], parameters: { api_endpoint: "https://my-apis.com/endpoint" } ``` Services can be declared in a random order as the Barman will handle dependencies ## Cyclic dependencies Cyclic dependencies are not supported and a `Cyclic dependency detected` Error will be triggered.
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 MySecondService from './my-second-service services: [ { name: 'my.first-service', definition: MyFirstService, parameters: ['my.second-service'] }, { name: 'my.second-service', definition: MySecondService } ] ``` Services can be declared in a random order as the Barman will handle dependencies ## Cyclic dependencies Cyclic dependencies are not supported and a `Cyclic dependency detected` Error will be triggered. ## Instruction: Add parameter example in readme ## Code After: 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 from './my-second-service services: [ { name: 'my.first-service', definition: MyFirstService, parameters: ['my.second-service'] }, { name: 'my.second-service', definition: MySecondService } ], parameters: { api_endpoint: "https://my-apis.com/endpoint" } ``` Services can be declared in a random order as the Barman will handle dependencies ## Cyclic dependencies Cyclic dependencies are not supported and a `Cyclic dependency detected` Error will be triggered.
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, you are expected to provide an `access_token`, managed by this section. ## Sessions [/sessions] ### Create a session [POST] + Request { "email": "[email protected]", "password": "your-really-strong-password" } + Header Accept: application/vnd.api+json;revision=1 + Response 201 (application/json) { "access_token": "Ndf6kxgLfr_KMhAg8wMpm7Yit2cvHkv9oI8qIXWiHmZdeqI1h0cmn8p4wCEhoZS-AQY", "user_id": 1 } + Response 400 (application/json) {} + Response 401 (application/json) {}
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, you are expected to provide an `access_token`, managed by this section. ## Sessions [/sessions] ### Create a session [POST] + Request + Header Accept: application/vnd.api+json;revision=1 + Body { "email": "[email protected]", "password": "your-really-strong-password" } + Response 201 (application/json) { "access_token": "Ndf6kxgLfr_KMhAg8wMpm7Yit2cvHkv9oI8qIXWiHmZdeqI1h0cmn8p4wCEhoZS-AQY", "user_id": 1 } + Response 400 (application/json) {} + Response 401 (application/json) {}
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 of endpoints, you are expected to provide an `access_token`, managed by this section. ## Sessions [/sessions] ### Create a session [POST] + Request { "email": "[email protected]", "password": "your-really-strong-password" } + Header Accept: application/vnd.api+json;revision=1 + Response 201 (application/json) { "access_token": "Ndf6kxgLfr_KMhAg8wMpm7Yit2cvHkv9oI8qIXWiHmZdeqI1h0cmn8p4wCEhoZS-AQY", "user_id": 1 } + Response 400 (application/json) {} + Response 401 (application/json) {} ## Instruction: [DOC] Add body section to create a new session ## Code After: 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, you are expected to provide an `access_token`, managed by this section. ## Sessions [/sessions] ### Create a session [POST] + Request + Header Accept: application/vnd.api+json;revision=1 + Body { "email": "[email protected]", "password": "your-really-strong-password" } + Response 201 (application/json) { "access_token": "Ndf6kxgLfr_KMhAg8wMpm7Yit2cvHkv9oI8qIXWiHmZdeqI1h0cmn8p4wCEhoZS-AQY", "user_id": 1 } + Response 400 (application/json) {} + Response 401 (application/json) {}
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 { margin-bottom: $gutter-half; } // Pagination .pagination { margin: $gutter-half 0; text-align: right; .icon { display: none; } .disabled { color: $panel-colour; } .current { background-color: $panel-colour; padding: 1px 0.2em; } a { padding: 1px 0.1em; } a:visited { color: $link-colour; } .previous_page { margin-right: 5px; } .next_page { margin-left: 5px; } } .login { margin-top: $gutter; } }
.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 { margin-bottom: $gutter-half; } .character-count { margin-bottom: 0; } // Pagination .pagination { margin: $gutter-half 0; text-align: right; .icon { display: none; } .disabled { color: $panel-colour; } .current { background-color: $panel-colour; padding: 1px 0.2em; } a { padding: 1px 0.1em; } a:visited { color: $link-colour; } .previous_page { margin-right: 5px; } .next_page { margin-left: 5px; } } .login { margin-top: $gutter; } }
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-petitions,oskarpearson/e-petitions,unboxed/e-petitions,alphagov/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions
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-petitions { margin-bottom: $gutter-half; } // Pagination .pagination { margin: $gutter-half 0; text-align: right; .icon { display: none; } .disabled { color: $panel-colour; } .current { background-color: $panel-colour; padding: 1px 0.2em; } a { padding: 1px 0.1em; } a:visited { color: $link-colour; } .previous_page { margin-right: 5px; } .next_page { margin-left: 5px; } } .login { margin-top: $gutter; } } ## Instruction: 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. ## Code After: .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 { margin-bottom: $gutter-half; } .character-count { margin-bottom: 0; } // Pagination .pagination { margin: $gutter-half 0; text-align: right; .icon { display: none; } .disabled { color: $panel-colour; } .current { background-color: $panel-colour; padding: 1px 0.2em; } a { padding: 1px 0.1em; } a:visited { color: $link-colour; } .previous_page { margin-right: 5px; } .next_page { margin-left: 5px; } } .login { margin-top: $gutter; } }
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: http://localhost:3000 ``` ## Check it works In your web browser, visit [http://localhost:3000](http://localhost:3000) You should see the prototype welcome page. ![Screenshot of the prototype kit homepage](../assets/images/prototype_kit_homepage.png) ## Quitting the kit It’s fine to leave the kit running for days or while your computer is asleep. ### To quit the kit In terminal press the `ctrl` and `c` keys together. ## Installation complete The kit is now installed. Congratulations! --- [Previous page (install the kit)](install-the-kit.md) --- [Documentation index](../README.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: http://localhost:3000 ``` ## Check it works In your web browser, visit <a href="http://localhost:3000" target="_blank">http://localhost:3000<span class="visuallyHidden"> (opens in a new window)</span></a> You should see the prototype welcome page. ![Screenshot of the prototype kit homepage](../assets/images/prototype_kit_homepage.png) ## Quitting the kit It’s fine to leave the kit running for days or while your computer is asleep. ### To quit the kit In terminal press the `ctrl` and `c` keys together. ## Installation complete The kit is now installed. Congratulations! --- [Previous page (install the kit)](install-the-kit.md) --- [Documentation index](../README.md)
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-patterns,alphagov/govuk_prototype_kit,DilwoarH/GDS-Prototype-DM-SavedSearch,paulpod/invgov,alphagov/govuk_prototype_kit,joelanman/govuk_prototype_kit,karlparton/my-govuk,paulpod/invgov,alphagov/govuk_prototype_kit,paulpod/invgov,DilwoarH/GDS-Prototype-DM-SavedSearch,davedark/proto-timeline,dwpdigitaltech/digital-debt,dwpdigitaltech/ejs-prototype,BucksCountyCouncil/verify-local-patterns,dwpdigitaltech/hrt-prototype,kenmaddison-scc/verify-local-patterns,tsmorgan/marx,nhsbsa/ppc-prototype,quis/notify-public-research-prototype,BucksCountyCouncil/verify-local-patterns,quis/notify-public-research-prototype,dwpdigitaltech/ejs-prototype,benjeffreys/hmcts-idam-proto,davedark/proto-timeline,arminio/govuk_prototype_kit,chrishanes/pvb_prisoner_proto,OrcaTom/dwp_contentpatterns,tsmorgan/marx,hannalaakso/accessible-timeout-warning,gup-dwp/pip-prototype-v2,abbott567/govuk_prototype_kit,dwpdigitaltech/digital-debt,hannalaakso/accessible-timeout-warning,joelanman/govuk_prototype_kit,gup-dwp/pip-prototype-v2,nhsbsa/ppc-prototype,dwpdigitaltech/hrt-prototype,danblundell/verify-local-patterns,arminio/govuk_prototype_kit,gup-dwp/pip-prototype-v2,benjeffreys/hmcts-idam-proto,dwpdigitaltech/digital-debt,OrcaTom/dwp_contentpatterns,Demwunz/esif-prototype,arminio/govuk_prototype_kit,abbott567/govuk_prototype_kit,BucksCountyCouncil/verify-local-patterns,samwake/hoddat-cofc-caseworking,karlparton/my-govuk,Demwunz/esif-prototype,kenmaddison-scc/verify-local-patterns,danblundell/verify-local-patterns,DilwoarH/GDS-Prototype-DM-SavedSearch,danblundell/verify-local-patterns,chrishanes/pvb_prisoner_proto,gavinwye/govuk_prototype_kit,dwpdigitaltech/hrt-prototype,tsmorgan/marx,chrishanes/pvb_prisoner_proto,samwake/hoddat-cofc-caseworking,hannalaakso/accessible-timeout-warning,samwake/hoddat-cofc-caseworking,companieshouse/ch-accounts-prototype,gavinwye/govuk_prototype_kit,karlparton/my-govuk
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 port 3000 url: http://localhost:3000 ``` ## Check it works In your web browser, visit [http://localhost:3000](http://localhost:3000) You should see the prototype welcome page. ![Screenshot of the prototype kit homepage](../assets/images/prototype_kit_homepage.png) ## Quitting the kit It’s fine to leave the kit running for days or while your computer is asleep. ### To quit the kit In terminal press the `ctrl` and `c` keys together. ## Installation complete The kit is now installed. Congratulations! --- [Previous page (install the kit)](install-the-kit.md) --- [Documentation index](../README.md) ## Instruction: Make link to running kit open in new window ## Code After: 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: http://localhost:3000 ``` ## Check it works In your web browser, visit <a href="http://localhost:3000" target="_blank">http://localhost:3000<span class="visuallyHidden"> (opens in a new window)</span></a> You should see the prototype welcome page. ![Screenshot of the prototype kit homepage](../assets/images/prototype_kit_homepage.png) ## Quitting the kit It’s fine to leave the kit running for days or while your computer is asleep. ### To quit the kit In terminal press the `ctrl` and `c` keys together. ## Installation complete The kit is now installed. Congratulations! --- [Previous page (install the kit)](install-the-kit.md) --- [Documentation index](../README.md)
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 @body end def self.create(definition) returning Class.new(self) do |klass| klass.definition = definition end end end MapViewFunction = ViewFunction.create('function(doc)') ReduceViewFunction = ViewFunction.create('function(keys, values, rereduce)') end end
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 "\"#{@body}\"" end alias to_json to_s def self.create(definition) returning Class.new(self) do |klass| klass.definition = definition end end end MapViewFunction = ViewFunction.create('function(doc)') ReduceViewFunction = ViewFunction.create('function(keys, values, rereduce)') end end
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 to_s @body end def self.create(definition) returning Class.new(self) do |klass| klass.definition = definition end end end MapViewFunction = ViewFunction.create('function(doc)') ReduceViewFunction = ViewFunction.create('function(keys, values, rereduce)') end end ## Instruction: Fix JSON serialization of view functions ## Code After: 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 "\"#{@body}\"" end alias to_json to_s def self.create(definition) returning Class.new(self) do |klass| klass.definition = definition end end end MapViewFunction = ViewFunction.create('function(doc)') ReduceViewFunction = ViewFunction.create('function(keys, values, rereduce)') end end
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 clients against apt: pkg=libmysqlclient-dev - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the nginx config for the app template: src=default dest=/etc/nginx/sites-available/ owner=root group=root mode=644 notify: nginx reload - name: Create cuttlefish postgresql database postgresql_db: name=cuttlefish - name: Create cuttlefish posgresql role postgresql_user: db=cuttlefish name=cuttlefish password={{ db_password }} - name: Copy over database configuration for application template: src=database.yml dest=/srv/www/shared/database.yml owner=deploy group=deploy notify: nginx restart
--- - 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 clients against apt: pkg=libmysqlclient-dev - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the nginx config for the app template: src=default dest=/etc/nginx/sites-available/ owner=root group=root mode=644 notify: nginx reload - name: Create cuttlefish postgresql database postgresql_db: name=cuttlefish - name: Create cuttlefish posgresql role postgresql_user: db=cuttlefish name=cuttlefish password={{ db_password }} - name: Copy over database configuration for application template: src=database.yml dest=/srv/www/shared/database.yml owner=deploy group=deploy notify: nginx restart - name: Allow deploy user to export foreman script lineinfile: "dest=/etc/sudoers state=present line='deploy ALL=(ALL) NOPASSWD: /usr/local/lib/rvm/wrappers/default/bundle exec foreman export upstart /etc/init -a cuttlefish -u deploy -l /srv/www/shared/log -f Procfile.production' validate='visudo -cf %s'"
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 compiling mysql clients against apt: pkg=libmysqlclient-dev - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the nginx config for the app template: src=default dest=/etc/nginx/sites-available/ owner=root group=root mode=644 notify: nginx reload - name: Create cuttlefish postgresql database postgresql_db: name=cuttlefish - name: Create cuttlefish posgresql role postgresql_user: db=cuttlefish name=cuttlefish password={{ db_password }} - name: Copy over database configuration for application template: src=database.yml dest=/srv/www/shared/database.yml owner=deploy group=deploy notify: nginx restart ## Instruction: Allow deploy to do sudo foreman export without password ## Code After: --- - 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 clients against apt: pkg=libmysqlclient-dev - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the nginx config for the app template: src=default dest=/etc/nginx/sites-available/ owner=root group=root mode=644 notify: nginx reload - name: Create cuttlefish postgresql database postgresql_db: name=cuttlefish - name: Create cuttlefish posgresql role postgresql_user: db=cuttlefish name=cuttlefish password={{ db_password }} - name: Copy over database configuration for application template: src=database.yml dest=/srv/www/shared/database.yml owner=deploy group=deploy notify: nginx restart - name: Allow deploy user to export foreman script lineinfile: "dest=/etc/sudoers state=present line='deploy ALL=(ALL) NOPASSWD: /usr/local/lib/rvm/wrappers/default/bundle exec foreman export upstart /etc/init -a cuttlefish -u deploy -l /srv/www/shared/log -f Procfile.production' validate='visudo -cf %s'"
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.command('search', query, ['--no-color'])[0].decode(*enc) lst = dict([(self.package_name(k), v) for k, v in [ line.lstrip(' -').split(' ') for line in response.splitlines() if line.startswith(' - ')] ]) if lst: return lst def install(self, query): return self.shell('install', query) def info(self, query): response = self.command('info', query, ['--no-color'])[0].decode(*enc) return response or ['Aborted: No info available']
__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', query, ['--no-color'])[0].decode(*enc) lst = dict([(self.package_name(k), v) for k, v in [ line.lstrip(' -').split(' ') for line in response.splitlines() if line.startswith(' - ')] ]) return lst or {} def install(self, query): return self.shell('install', query) def info(self, query): response = self.command('info', query, ['--no-color'])[0].decode(*enc) return response or ['Aborted: No info available']
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 {} response = self.command('search', query, ['--no-color'])[0].decode(*enc) lst = dict([(self.package_name(k), v) for k, v in [ line.lstrip(' -').split(' ') for line in response.splitlines() if line.startswith(' - ')] ]) if lst: return lst def install(self, query): return self.shell('install', query) def info(self, query): response = self.command('info', query, ['--no-color'])[0].decode(*enc) return response or ['Aborted: No info available'] ## Instruction: Simplify return while we're at it ## Code After: __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', query, ['--no-color'])[0].decode(*enc) lst = dict([(self.package_name(k), v) for k, v in [ line.lstrip(' -').split(' ') for line in response.splitlines() if line.startswith(' - ')] ]) return lst or {} def install(self, query): return self.shell('install', query) def info(self, query): response = self.command('info', query, ['--no-color'])[0].decode(*enc) return response or ['Aborted: No info available']
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.name, this.name].join("_"); } module.exports = SubElm;
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 After: 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.name, this.name].join("_"); } module.exports = SubElm;
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 fi riak chkconfig riak start riak-admin wait-for-service riak_kv riak ping riak-admin test echo "ready" > $CLUSTER_STATUS sleep 10 for s in $POSTSTART; do . $s done tail -n 1024 -f /var/log/riak/console.log & TAIL_PID=$! function graceful_death { if [ -n "$KUBERNETES_SERVICE_PORT" -a -n "$KUBERNETES_SERVICE_PORT" ] then riak-admin cluster leave riak-admin cluster plan riak-admin cluster commit while ! riak-admin transfers | grep -iqF 'No transfers active' do echo 'Transfers in progress' sleep 10 done fi echo "dying" > $CLUSTER_STATUS sleep 10 kill $TAIL_PID } trap graceful_death SIGTERM SIGINT wait $TAIL_PID
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 fi riak chkconfig riak start riak-admin wait-for-service riak_kv riak ping riak-admin test echo "ready" > $CLUSTER_STATUS sleep 10 for s in $POSTSTART; do . $s done tail -n 1024 -f /var/log/riak/console.log & TAIL_PID=$! function graceful_death { if [ -n "$KUBERNETES_SERVICE_PORT" -a -n "$KUBERNETES_SERVICE_PORT" ] then riak-admin cluster leave riak-admin cluster plan riak-admin cluster commit while riak ping do echo 'Transfers in progress' sleep 10 done fi echo "dying" > $CLUSTER_STATUS sleep 10 kill $TAIL_PID } trap graceful_death SIGTERM SIGINT wait $TAIL_PID
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/riak/advanced.conf fi riak chkconfig riak start riak-admin wait-for-service riak_kv riak ping riak-admin test echo "ready" > $CLUSTER_STATUS sleep 10 for s in $POSTSTART; do . $s done tail -n 1024 -f /var/log/riak/console.log & TAIL_PID=$! function graceful_death { if [ -n "$KUBERNETES_SERVICE_PORT" -a -n "$KUBERNETES_SERVICE_PORT" ] then riak-admin cluster leave riak-admin cluster plan riak-admin cluster commit while ! riak-admin transfers | grep -iqF 'No transfers active' do echo 'Transfers in progress' sleep 10 done fi echo "dying" > $CLUSTER_STATUS sleep 10 kill $TAIL_PID } trap graceful_death SIGTERM SIGINT wait $TAIL_PID ## Instruction: Modify graceful death to occur when node is unreachable ## Code After: 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 fi riak chkconfig riak start riak-admin wait-for-service riak_kv riak ping riak-admin test echo "ready" > $CLUSTER_STATUS sleep 10 for s in $POSTSTART; do . $s done tail -n 1024 -f /var/log/riak/console.log & TAIL_PID=$! function graceful_death { if [ -n "$KUBERNETES_SERVICE_PORT" -a -n "$KUBERNETES_SERVICE_PORT" ] then riak-admin cluster leave riak-admin cluster plan riak-admin cluster commit while riak ping do echo 'Transfers in progress' sleep 10 done fi echo "dying" > $CLUSTER_STATUS sleep 10 kill $TAIL_PID } trap graceful_death SIGTERM SIGINT wait $TAIL_PID
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='[email protected]', 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='[email protected]', url='https://github.com/funkybob/paws', packages=['paws', 'paws.contrib', 'paws.views'], )
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='[email protected]', url='https://github.com/funkybob/paws', packages=['paws', 'paws.contrib', 'paws.views'], ) ## Instruction: Include readme as long description ## Code After: 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='[email protected]', url='https://github.com/funkybob/paws', packages=['paws', 'paws.contrib', 'paws.views'], )
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")))}}})] ["/sse-resource" (yada/handler (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-stream" :response (fn [ctx] (let [source (ms/periodically 400 (fn [] "foo")) sink (ms/stream 10)] (ms/on-closed sink (fn [] (println "closed"))) (ms/connect source sink) sink ))}}})] ["/sse-body-with-close" (yada/resource {:methods {:get {:produces "text/event-stream" :response (fn [ctx] (let [source (ms/periodically 400 (fn [] "foo")) sink (ms/stream 10)] (ms/on-closed sink (fn [] (println "closed"))) (ms/connect source sink) sink))}}})]]])
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")))}}})] ["/sse-resource" (yada/handler (ms/periodically 400 (fn [] "foo")))]]]) ## Instruction: Add example of SSE channel close notification ## Code After: (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-stream" :response (fn [ctx] (let [source (ms/periodically 400 (fn [] "foo")) sink (ms/stream 10)] (ms/on-closed sink (fn [] (println "closed"))) (ms/connect source sink) sink ))}}})] ["/sse-body-with-close" (yada/resource {:methods {:get {:produces "text/event-stream" :response (fn [ctx] (let [source (ms/periodically 400 (fn [] "foo")) sink (ms/stream 10)] (ms/on-closed sink (fn [] (println "closed"))) (ms/connect source sink) sink))}}})]]])
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, "w") if @steps.last.output.nil? @steps.each { |step| if fork @pids << fork do # :nocov: step.run # :nocov: end step.forked else step.run end } Process.waitall end end end
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, "w") if @steps.last.output.nil? @steps.each { |step| if fork @pids << fork do # :nocov: begin step.run rescue => e puts e.message puts e.backtrace.join("\n") exit 99 end # :nocov: end step.forked else step.run end } begin until @pids.empty? pid, status = Process.wait2 @pids.delete(pid) if status.exitstatus != 0 @pids.each { |pid| Process.kill "HUP", pid } end end rescue SystemCallError end end end end
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.open(File::NULL, "w") if @steps.last.output.nil? @steps.each { |step| if fork @pids << fork do # :nocov: step.run # :nocov: end step.forked else step.run end } Process.waitall end end end ## Instruction: Add better handling for a failure in a forked process ## Code After: 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, "w") if @steps.last.output.nil? @steps.each { |step| if fork @pids << fork do # :nocov: begin step.run rescue => e puts e.message puts e.backtrace.join("\n") exit 99 end # :nocov: end step.forked else step.run end } begin until @pids.empty? pid, status = Process.wait2 @pids.delete(pid) if status.exitstatus != 0 @pids.each { |pid| Process.kill "HUP", pid } end end rescue SystemCallError end end end end
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/*.proto sed -i '31,34d' $GOOGLEAPIS/google/cloud/retail/v2beta/catalog.proto
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/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/*.proto sed -i '31,34d' $GOOGLEAPIS/google/cloud/retail/v2beta/catalog.proto