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
f5f1f10f850084bfcfcb78b86602c08be7268477
src/CacheProviders/LaravelCacheProvider.php
src/CacheProviders/LaravelCacheProvider.php
<?php namespace KDuma\emSzmalAPI\CacheProviders; use Cache; /** * Class LaravelCacheProvider. */ class LaravelCacheProvider implements CacheProviderInterface { /** * @var int|null */ private $remember_for; /** * LaravelCacheProvider constructor. * * @param int|null $remember_for */ public function __construct($remember_for = 60) { $this->remember_for = $remember_for; } /** * @param string $key * @param callable $callable * * @return mixed */ public function cache($key, callable $callable) { if ($this->remember_for) { return Cache::remember($key, $this->remember_for, $callable); } else { return Cache::rememberForever($key, $callable); } } }
<?php namespace KDuma\emSzmalAPI\CacheProviders; use Cache; use Carbon\Carbon; /** * Class LaravelCacheProvider. */ class LaravelCacheProvider implements CacheProviderInterface { /** * @var int|null */ private $remember_for; /** * LaravelCacheProvider constructor. * * @param int|null $remember_for */ public function __construct($remember_for = 60) { $this->remember_for = $remember_for; } /** * @param string $key * @param callable $callable * * @return mixed */ public function cache($key, callable $callable) { if ($this->remember_for) { return Cache::remember($key, Carbon::now()->addMinutes($this->remember_for), $callable); } else { return Cache::rememberForever($key, $callable); } } }
Prepare Cache Driver for Laravel 5.8
Prepare Cache Driver for Laravel 5.8
PHP
mit
kduma/L5-emSzmal-api
php
## Code Before: <?php namespace KDuma\emSzmalAPI\CacheProviders; use Cache; /** * Class LaravelCacheProvider. */ class LaravelCacheProvider implements CacheProviderInterface { /** * @var int|null */ private $remember_for; /** * LaravelCacheProvider constructor. * * @param int|null $remember_for */ public function __construct($remember_for = 60) { $this->remember_for = $remember_for; } /** * @param string $key * @param callable $callable * * @return mixed */ public function cache($key, callable $callable) { if ($this->remember_for) { return Cache::remember($key, $this->remember_for, $callable); } else { return Cache::rememberForever($key, $callable); } } } ## Instruction: Prepare Cache Driver for Laravel 5.8 ## Code After: <?php namespace KDuma\emSzmalAPI\CacheProviders; use Cache; use Carbon\Carbon; /** * Class LaravelCacheProvider. */ class LaravelCacheProvider implements CacheProviderInterface { /** * @var int|null */ private $remember_for; /** * LaravelCacheProvider constructor. * * @param int|null $remember_for */ public function __construct($remember_for = 60) { $this->remember_for = $remember_for; } /** * @param string $key * @param callable $callable * * @return mixed */ public function cache($key, callable $callable) { if ($this->remember_for) { return Cache::remember($key, Carbon::now()->addMinutes($this->remember_for), $callable); } else { return Cache::rememberForever($key, $callable); } } }
29c0e3de2574ec12292b0d195e2f1db298308d28
webclient/app/common/ec-panel-directive.js
webclient/app/common/ec-panel-directive.js
(function(){ angular .module('everycent.common') .directive('ecPanel', ecPanel); function ecPanel(){ var directive = { restrict:'E', templateUrl: 'app/common/ec-panel-directive.html', transclude: true, scope: { type: '@', title: '@' }, controller: controller, controllerAs: 'vm', bindToController: true } return directive; function controller(){ var vm = this; vm.type = 'default'; } } })();
(function(){ 'use strict'; angular .module('everycent.common') .directive('ecPanel', ecPanel); function ecPanel(){ var directive = { restrict:'E', templateUrl: 'app/common/ec-panel-directive.html', transclude: true, scope: { type: '@', title: '@' }, controller: controller, controllerAs: 'vm', bindToController: true } return directive; function controller(){ var vm = this; vm.type = 'default'; } } })();
Add 'use strict' option to panel directive
Add 'use strict' option to panel directive
JavaScript
mit
snorkpete/everycent,snorkpete/everycent,snorkpete/everycent,snorkpete/everycent,snorkpete/everycent
javascript
## Code Before: (function(){ angular .module('everycent.common') .directive('ecPanel', ecPanel); function ecPanel(){ var directive = { restrict:'E', templateUrl: 'app/common/ec-panel-directive.html', transclude: true, scope: { type: '@', title: '@' }, controller: controller, controllerAs: 'vm', bindToController: true } return directive; function controller(){ var vm = this; vm.type = 'default'; } } })(); ## Instruction: Add 'use strict' option to panel directive ## Code After: (function(){ 'use strict'; angular .module('everycent.common') .directive('ecPanel', ecPanel); function ecPanel(){ var directive = { restrict:'E', templateUrl: 'app/common/ec-panel-directive.html', transclude: true, scope: { type: '@', title: '@' }, controller: controller, controllerAs: 'vm', bindToController: true } return directive; function controller(){ var vm = this; vm.type = 'default'; } } })();
009f16c8ff737c66c000af733071bf0ef0e7afa5
static/codebook_rnet.csv
static/codebook_rnet.csv
bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected between-zone flows) gendereq_slc,No. between-zone cyclists using this segment in Gender Equity scenario (see model output tab for details of selected between-zone flows) dutch_slc,No. between-zone cyclists using this segment in Go Dutch scenario (see model output tab for details of selected between-zone flows) ebike_slc,No. between-zone cyclists using this segment in Ebikes scenario (see model output tab for details of selected between-zone flows) Singlezone,Flag identifying whether the segment is fully contained in a single zone (1=yes): if so then there may also be considerable numbers of within-zone cyclists on the segment
Variable name,Variable Description bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected between-zone flows) gendereq_slc,No. between-zone cyclists using this segment in Gender Equity scenario (see model output tab for details of selected between-zone flows) dutch_slc,No. between-zone cyclists using this segment in Go Dutch scenario (see model output tab for details of selected between-zone flows) ebike_slc,No. between-zone cyclists using this segment in Ebikes scenario (see model output tab for details of selected between-zone flows) Singlezone,Flag identifying whether the segment is fully contained in a single zone (1=yes): if so then there may also be considerable numbers of within-zone cyclists on the segment
Update rnet's codebook (file was missing headers)
Update rnet's codebook (file was missing headers)
CSV
agpl-3.0
npct/pct-shiny,npct/pct-shiny,npct/pct-shiny,npct/pct-shiny,npct/pct-shiny,npct/pct-shiny
csv
## Code Before: bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected between-zone flows) gendereq_slc,No. between-zone cyclists using this segment in Gender Equity scenario (see model output tab for details of selected between-zone flows) dutch_slc,No. between-zone cyclists using this segment in Go Dutch scenario (see model output tab for details of selected between-zone flows) ebike_slc,No. between-zone cyclists using this segment in Ebikes scenario (see model output tab for details of selected between-zone flows) Singlezone,Flag identifying whether the segment is fully contained in a single zone (1=yes): if so then there may also be considerable numbers of within-zone cyclists on the segment ## Instruction: Update rnet's codebook (file was missing headers) ## Code After: Variable name,Variable Description bicycle,No. between-zone cyclists using this segment in Census 2011 (see model output tab for details of selected between-zone flows) govtarget_slc,No. between-zone cyclists using this segment in Government Target scenario (see model output tab for details of selected between-zone flows) gendereq_slc,No. between-zone cyclists using this segment in Gender Equity scenario (see model output tab for details of selected between-zone flows) dutch_slc,No. between-zone cyclists using this segment in Go Dutch scenario (see model output tab for details of selected between-zone flows) ebike_slc,No. between-zone cyclists using this segment in Ebikes scenario (see model output tab for details of selected between-zone flows) Singlezone,Flag identifying whether the segment is fully contained in a single zone (1=yes): if so then there may also be considerable numbers of within-zone cyclists on the segment
04965341ee629385ad100f9672f339c928cae661
project.clj
project.clj
(defproject obb-rules "1.5" :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url "file://LICENSE" :distribution :repo :comments "Copyright 2011-2014 Pedro Santos All Rights Reserved."} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/math.numeric-tower "0.0.4"] [org.clojure/test.check "0.6.2"]] :source-paths ["src"] :test-paths ["test"] :scm {:name "git" :url "git@github.com:orionsbelt-battlegrounds/obb-rules.git"} :profiles {:dev {:plugins [[com.jakemccrary/lein-test-refresh "0.5.4"] [lein-cloverage "1.0.2"]]}} )
(defproject obb-rules "1.5" :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url "file://LICENSE" :distribution :repo :comments "Copyright 2011-2014 Pedro Santos All Rights Reserved."} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/math.numeric-tower "0.0.4"] ] :source-paths ["src"] :test-paths ["test"] :scm {:name "git" :url "git@github.com:orionsbelt-battlegrounds/obb-rules.git"} :profiles {:dev {:dependencies [[org.clojure/test.check "0.6.2"]] :plugins [[com.jakemccrary/lein-test-refresh "0.5.4"] [lein-cloverage "1.0.2"]]}} )
Move test-check dep to dev env
Move test-check dep to dev env
Clojure
epl-1.0
orionsbelt-battlegrounds/obb-rules,orionsbelt-battlegrounds/obb-rules,orionsbelt-battlegrounds/obb-rules
clojure
## Code Before: (defproject obb-rules "1.5" :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url "file://LICENSE" :distribution :repo :comments "Copyright 2011-2014 Pedro Santos All Rights Reserved."} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/math.numeric-tower "0.0.4"] [org.clojure/test.check "0.6.2"]] :source-paths ["src"] :test-paths ["test"] :scm {:name "git" :url "git@github.com:orionsbelt-battlegrounds/obb-rules.git"} :profiles {:dev {:plugins [[com.jakemccrary/lein-test-refresh "0.5.4"] [lein-cloverage "1.0.2"]]}} ) ## Instruction: Move test-check dep to dev env ## Code After: (defproject obb-rules "1.5" :description "Orion's Belt battle rules" :url "https://github.com/orionsbelt-battlegrounds/obb-rules" :license {:name "The MIT License" :url "file://LICENSE" :distribution :repo :comments "Copyright 2011-2014 Pedro Santos All Rights Reserved."} :dependencies [[org.clojure/clojure "1.6.0"] [org.clojure/math.numeric-tower "0.0.4"] ] :source-paths ["src"] :test-paths ["test"] :scm {:name "git" :url "git@github.com:orionsbelt-battlegrounds/obb-rules.git"} :profiles {:dev {:dependencies [[org.clojure/test.check "0.6.2"]] :plugins [[com.jakemccrary/lein-test-refresh "0.5.4"] [lein-cloverage "1.0.2"]]}} )
2043acbad3fad4b60cc90daca064d92735721c01
process_results.rb
process_results.rb
require 'rubygems' require 'xmlsimple' raise "Invalid args: file 8|4x830|4x840 0|5|6|10|50|60 64|128|256|512|1024 normal|ahead write-back|write-thru cached|direct" unless ARGV.size == 7 file = ARGV.shift xml_data = open(file, "r") { |f| f.read } data = XmlSimple.xml_in(xml_data) require 'pp' puts data.pretty_inspect data["Result"].each do |result| benchmark_title = "#{result["Title"].first}" fname = "benchmark-results-all.csv" unless File.exist? fname open(fname, "a") { |out_csv| out_csv.print("disks,raid,strip size,read policy,write policy,io policy,benchmark,value\n") } end open(fname, "a") { |out_csv| # want to convert lower is better into higher is better so all values are comparable. take_inverse = result["Proportion"].include? "LIB" result["Data"].each { |data| data["Entry"].each { |entry| entry["RawString"].each { |rawString| rawString.split(":").each { |val| val = 1. / val.to_f if take_inverse out_csv.print((ARGV + [benchmark_title, val]).join(",") + "\n") } } } } } end
require 'rubygems' require 'xmlsimple' raise "Invalid args: file 8|4x830|4x840 0|5|6|10|50|60 64|128|256|512|1024 normal|ahead write-back|write-thru cached|direct" unless ARGV.size == 7 file = ARGV.shift xml_data = open(file, "r") { |f| f.read } data = XmlSimple.xml_in(xml_data) require 'pp' puts data.pretty_inspect data["Result"].each do |result| benchmark_title = "#{result["Title"].first} #{result["Arguments"].first}" fname = "benchmark-results-all.csv" unless File.exist? fname open(fname, "a") { |out_csv| out_csv.print("disks,raid,strip size,read policy,write policy,io policy,benchmark,value\n") } end open(fname, "a") { |out_csv| # want to convert lower is better into higher is better so all values are comparable. take_inverse = result["Proportion"].include? "LIB" result["Data"].each { |data| data["Entry"].each { |entry| entry["RawString"].each { |rawString| rawString.split(":").each { |val| val = 1. / val.to_f if take_inverse out_csv.print((ARGV + [benchmark_title, val]).join(",") + "\n") } } } } } end
Include the arguments in the benchmark as the title is not unique.
Include the arguments in the benchmark as the title is not unique.
Ruby
mit
dnuffer/raidopt,dnuffer/raidopt,dnuffer/raidopt,dnuffer/raidopt,dnuffer/raidopt
ruby
## Code Before: require 'rubygems' require 'xmlsimple' raise "Invalid args: file 8|4x830|4x840 0|5|6|10|50|60 64|128|256|512|1024 normal|ahead write-back|write-thru cached|direct" unless ARGV.size == 7 file = ARGV.shift xml_data = open(file, "r") { |f| f.read } data = XmlSimple.xml_in(xml_data) require 'pp' puts data.pretty_inspect data["Result"].each do |result| benchmark_title = "#{result["Title"].first}" fname = "benchmark-results-all.csv" unless File.exist? fname open(fname, "a") { |out_csv| out_csv.print("disks,raid,strip size,read policy,write policy,io policy,benchmark,value\n") } end open(fname, "a") { |out_csv| # want to convert lower is better into higher is better so all values are comparable. take_inverse = result["Proportion"].include? "LIB" result["Data"].each { |data| data["Entry"].each { |entry| entry["RawString"].each { |rawString| rawString.split(":").each { |val| val = 1. / val.to_f if take_inverse out_csv.print((ARGV + [benchmark_title, val]).join(",") + "\n") } } } } } end ## Instruction: Include the arguments in the benchmark as the title is not unique. ## Code After: require 'rubygems' require 'xmlsimple' raise "Invalid args: file 8|4x830|4x840 0|5|6|10|50|60 64|128|256|512|1024 normal|ahead write-back|write-thru cached|direct" unless ARGV.size == 7 file = ARGV.shift xml_data = open(file, "r") { |f| f.read } data = XmlSimple.xml_in(xml_data) require 'pp' puts data.pretty_inspect data["Result"].each do |result| benchmark_title = "#{result["Title"].first} #{result["Arguments"].first}" fname = "benchmark-results-all.csv" unless File.exist? fname open(fname, "a") { |out_csv| out_csv.print("disks,raid,strip size,read policy,write policy,io policy,benchmark,value\n") } end open(fname, "a") { |out_csv| # want to convert lower is better into higher is better so all values are comparable. take_inverse = result["Proportion"].include? "LIB" result["Data"].each { |data| data["Entry"].each { |entry| entry["RawString"].each { |rawString| rawString.split(":").each { |val| val = 1. / val.to_f if take_inverse out_csv.print((ARGV + [benchmark_title, val]).join(",") + "\n") } } } } } end
061bb1b5646ccb796fda325b9f2d49a1dec94653
css/index.css
css/index.css
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #site-title, .t { transition: 0.3s; transition-timing-function: ease; } #site-title { height: 40px; overflow: hidden; } #site-title span { display: block; } #site-title:hover .t { margin-top: -30px; } .wallpaper, footer { margin-bottom: 2.5rem;; } @media (max-width: 575.98px) { h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; } h1.title { font-size: 1.2rem; } }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #site-title, .t { transition: 0.3s; transition-timing-function: ease; } #site-title { height: 40px; overflow: hidden; } #site-title span { display: block; } #site-title .t { margin-top: 0; } #site-title:hover .t { margin-top: -30px; } .wallpaper, footer { margin-bottom: 2.5rem;; } @media (max-width: 575.98px) { h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; } h1.title { font-size: 1.2rem; } }
Fix transition on page load
Fix transition on page load
CSS
mit
sonu27/sonurai.com,sonu27/sonurai.com,sonu27/sonurai.com
css
## Code Before: body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #site-title, .t { transition: 0.3s; transition-timing-function: ease; } #site-title { height: 40px; overflow: hidden; } #site-title span { display: block; } #site-title:hover .t { margin-top: -30px; } .wallpaper, footer { margin-bottom: 2.5rem;; } @media (max-width: 575.98px) { h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; } h1.title { font-size: 1.2rem; } } ## Instruction: Fix transition on page load ## Code After: body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #site-title, .t { transition: 0.3s; transition-timing-function: ease; } #site-title { height: 40px; overflow: hidden; } #site-title span { display: block; } #site-title .t { margin-top: 0; } #site-title:hover .t { margin-top: -30px; } .wallpaper, footer { margin-bottom: 2.5rem;; } @media (max-width: 575.98px) { h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; } h1.title { font-size: 1.2rem; } }
cdb66acf92dae34d1b17c2a429738c73fb06caad
scoring/checks/ldap.py
scoring/checks/ldap.py
from __future__ import absolute_import from config import config import ldap # DEFAULTS ldap_config = { 'timeout': 5 } # /DEFAULTS # CONFIG if "ldap" in config: ldap_config.update(config["ldap"]) # /CONFIG def check_ldap_lookup(check, data): check.addOutput("ScoreEngine: %s Check\n" % (check.getServiceName())) check.addOutput("EXPECTED: Sucessful and correct query against the AD (LDAP) server") check.addOutput("OUTPUT:\n") check.addOutput("Starting check...") try: # Setup LDAP l = ldap.initialize('ldap://%s' % data["HOST"]) # Bind to the user we're using to lookup username = data["USER"] password = data["PASS"] l.protocol_version = ldap.VERSION3 l.set_option(ldap.OPT_NETWORK_TIMEOUT, ldap_config["timeout"]) l.simple_bind_s(username, password) # We're good! check.setPassed() check.addOutput("Check successful!") except Exception as e: check.addOutput("ERROR: %s: %s" % (type(e).__name__, e)) return
from __future__ import absolute_import from config import config import ldap # DEFAULTS ldap_config = { 'timeout': 5 } # /DEFAULTS # CONFIG if "ldap" in config: ldap_config.update(config["ldap"]) # /CONFIG def check_ldap_lookup(check, data): check.addOutput("ScoreEngine: %s Check\n" % (check.getServiceName())) check.addOutput("EXPECTED: Sucessful and correct query against the AD (LDAP) server") check.addOutput("OUTPUT:\n") check.addOutput("Starting check...") try: # Setup LDAP l = ldap.initialize('ldap://%s' % data["HOST"]) # Bind to the user we're using to lookup domain = data["DOMAIN"] username = data["USER"] password = data["PASS"] actual_username = "%s\%s" % (domain, username) l.protocol_version = ldap.VERSION3 l.set_option(ldap.OPT_NETWORK_TIMEOUT, ldap_config["timeout"]) l.simple_bind_s(actual_username, password) # We're good! check.setPassed() check.addOutput("Check successful!") except Exception as e: check.addOutput("ERROR: %s: %s" % (type(e).__name__, e)) return
Make LDAP check even better
Make LDAP check even better
Python
mit
ubnetdef/scoreengine,ubnetdef/scoreengine
python
## Code Before: from __future__ import absolute_import from config import config import ldap # DEFAULTS ldap_config = { 'timeout': 5 } # /DEFAULTS # CONFIG if "ldap" in config: ldap_config.update(config["ldap"]) # /CONFIG def check_ldap_lookup(check, data): check.addOutput("ScoreEngine: %s Check\n" % (check.getServiceName())) check.addOutput("EXPECTED: Sucessful and correct query against the AD (LDAP) server") check.addOutput("OUTPUT:\n") check.addOutput("Starting check...") try: # Setup LDAP l = ldap.initialize('ldap://%s' % data["HOST"]) # Bind to the user we're using to lookup username = data["USER"] password = data["PASS"] l.protocol_version = ldap.VERSION3 l.set_option(ldap.OPT_NETWORK_TIMEOUT, ldap_config["timeout"]) l.simple_bind_s(username, password) # We're good! check.setPassed() check.addOutput("Check successful!") except Exception as e: check.addOutput("ERROR: %s: %s" % (type(e).__name__, e)) return ## Instruction: Make LDAP check even better ## Code After: from __future__ import absolute_import from config import config import ldap # DEFAULTS ldap_config = { 'timeout': 5 } # /DEFAULTS # CONFIG if "ldap" in config: ldap_config.update(config["ldap"]) # /CONFIG def check_ldap_lookup(check, data): check.addOutput("ScoreEngine: %s Check\n" % (check.getServiceName())) check.addOutput("EXPECTED: Sucessful and correct query against the AD (LDAP) server") check.addOutput("OUTPUT:\n") check.addOutput("Starting check...") try: # Setup LDAP l = ldap.initialize('ldap://%s' % data["HOST"]) # Bind to the user we're using to lookup domain = data["DOMAIN"] username = data["USER"] password = data["PASS"] actual_username = "%s\%s" % (domain, username) l.protocol_version = ldap.VERSION3 l.set_option(ldap.OPT_NETWORK_TIMEOUT, ldap_config["timeout"]) l.simple_bind_s(actual_username, password) # We're good! check.setPassed() check.addOutput("Check successful!") except Exception as e: check.addOutput("ERROR: %s: %s" % (type(e).__name__, e)) return
c36f8acff81aa905f0b746faaa0b36c839d68639
LocateButton/index.html
LocateButton/index.html
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Locate Button</title> <link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css"> <style> html, body, #map { padding:0; margin:0; height:100%; } #LocateButton { position: absolute; top: 95px; left: 20px; z-index: 50; } </style> <script src="//js.arcgis.com/3.13/"></script> <script> var map; require([ "esri/map", "esri/dijit/LocateButton", "dojo/domReady!" ], function( Map, LocateButton ) { map = new Map("map", { center: [-56.049, 38.485], zoom: 3, basemap: "streets" }); geoLocate = new LocateButton({ useTracking: true, map: map }, "LocateButton"); geoLocate.startup(); geoLocate.on("locate", function(evt){ console.log(evt); }); }); </script> </head> <body> <div id="map" class="map"> <div id="LocateButton"></div> </div> </body> </html>
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Locate Button</title> <link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/css/esri.css"> <style> html, body, #map { padding:0; margin:0; height:100%; } #LocateButton { position: absolute; top: 95px; left: 20px; z-index: 50; } </style> <script src="https://js.arcgis.com/3.16/"></script> <script> var map; require([ "esri/map", "esri/dijit/LocateButton", "dojo/domReady!" ], function( Map, LocateButton ) { map = new Map("map", { center: [-56.049, 38.485], zoom: 3, basemap: "streets" }); geoLocate = new LocateButton({ useTracking: false, map: map }, "LocateButton"); geoLocate.startup(); geoLocate.on("locate", function(evt){ console.log(evt); }); }); </script> </head> <body> <div id="map" class="map"> <div id="LocateButton"></div> </div> </body> </html>
Update LocateButton sample to 3.16
Update LocateButton sample to 3.16
HTML
apache-2.0
lheberlie/mobile-webapps-js,lheberlie/mobile-webapps-js,lheberlie/mobile-webapps-js
html
## Code Before: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Locate Button</title> <link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css"> <style> html, body, #map { padding:0; margin:0; height:100%; } #LocateButton { position: absolute; top: 95px; left: 20px; z-index: 50; } </style> <script src="//js.arcgis.com/3.13/"></script> <script> var map; require([ "esri/map", "esri/dijit/LocateButton", "dojo/domReady!" ], function( Map, LocateButton ) { map = new Map("map", { center: [-56.049, 38.485], zoom: 3, basemap: "streets" }); geoLocate = new LocateButton({ useTracking: true, map: map }, "LocateButton"); geoLocate.startup(); geoLocate.on("locate", function(evt){ console.log(evt); }); }); </script> </head> <body> <div id="map" class="map"> <div id="LocateButton"></div> </div> </body> </html> ## Instruction: Update LocateButton sample to 3.16 ## Code After: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Locate Button</title> <link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/css/esri.css"> <style> html, body, #map { padding:0; margin:0; height:100%; } #LocateButton { position: absolute; top: 95px; left: 20px; z-index: 50; } </style> <script src="https://js.arcgis.com/3.16/"></script> <script> var map; require([ "esri/map", "esri/dijit/LocateButton", "dojo/domReady!" ], function( Map, LocateButton ) { map = new Map("map", { center: [-56.049, 38.485], zoom: 3, basemap: "streets" }); geoLocate = new LocateButton({ useTracking: false, map: map }, "LocateButton"); geoLocate.startup(); geoLocate.on("locate", function(evt){ console.log(evt); }); }); </script> </head> <body> <div id="map" class="map"> <div id="LocateButton"></div> </div> </body> </html>
c21e2616ac642c9f4d93786ba9376861acb27868
.golangci.yml
.golangci.yml
run: timeout: 3m # 1m default times out on github-action windows runners linters: enable: - goimports linters-settings: dogsled: max-blank-identifiers: 5 funlen: lines: 200 statements: 90 output: # Sort results by: filepath, line and column. sort-results: true
run: timeout: 3m # 1m default times out on github-action windows runners linters: enable: - goimports output: # Sort results by: filepath, line and column. sort-results: true
Remove linter config for non-enabled linters
Remove linter config for non-enabled linters
YAML
apache-2.0
cloudfoundry/bosh-agent,cloudfoundry/bosh-agent
yaml
## Code Before: run: timeout: 3m # 1m default times out on github-action windows runners linters: enable: - goimports linters-settings: dogsled: max-blank-identifiers: 5 funlen: lines: 200 statements: 90 output: # Sort results by: filepath, line and column. sort-results: true ## Instruction: Remove linter config for non-enabled linters ## Code After: run: timeout: 3m # 1m default times out on github-action windows runners linters: enable: - goimports output: # Sort results by: filepath, line and column. sort-results: true
3566bbee40936da6134aca19d25a50bb697988c7
lib/generators/active_record/devise_guests_generator.rb
lib/generators/active_record/devise_guests_generator.rb
require 'rails/generators/active_record' require 'generators/devise/orm_helpers' module ActiveRecord module Generators class DeviseGuestsGenerator < ActiveRecord::Generators::Base include Devise::Generators::OrmHelpers source_root File.expand_path("../templates", __FILE__) def copy_devise_migration migration_template "migration_existing.rb", "db/migrate/add_devise_guests_to_#{table_name}.rb", migration_version: migration_version end def migration_data <<RUBY ## Database authenticatable t.boolean :guest, :default => false RUBY end def rails5? Rails.version.start_with? '5' end def migration_version if rails5? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end end end end
require 'rails/generators/active_record' require 'generators/devise/orm_helpers' module ActiveRecord module Generators class DeviseGuestsGenerator < ActiveRecord::Generators::Base include Devise::Generators::OrmHelpers source_root File.expand_path("../templates", __FILE__) def copy_devise_migration migration_template "migration_existing.rb", "db/migrate/add_devise_guests_to_#{table_name}.rb", migration_version: migration_version end def migration_data <<RUBY ## Database authenticatable t.boolean :guest, :default => false RUBY end def rails4? Rails.version.start_with? '4' end def migration_version return if rails4? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end end end
Make migrations that work with Rails 6
Make migrations that work with Rails 6
Ruby
mit
cbeer/devise-guests
ruby
## Code Before: require 'rails/generators/active_record' require 'generators/devise/orm_helpers' module ActiveRecord module Generators class DeviseGuestsGenerator < ActiveRecord::Generators::Base include Devise::Generators::OrmHelpers source_root File.expand_path("../templates", __FILE__) def copy_devise_migration migration_template "migration_existing.rb", "db/migrate/add_devise_guests_to_#{table_name}.rb", migration_version: migration_version end def migration_data <<RUBY ## Database authenticatable t.boolean :guest, :default => false RUBY end def rails5? Rails.version.start_with? '5' end def migration_version if rails5? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end end end end ## Instruction: Make migrations that work with Rails 6 ## Code After: require 'rails/generators/active_record' require 'generators/devise/orm_helpers' module ActiveRecord module Generators class DeviseGuestsGenerator < ActiveRecord::Generators::Base include Devise::Generators::OrmHelpers source_root File.expand_path("../templates", __FILE__) def copy_devise_migration migration_template "migration_existing.rb", "db/migrate/add_devise_guests_to_#{table_name}.rb", migration_version: migration_version end def migration_data <<RUBY ## Database authenticatable t.boolean :guest, :default => false RUBY end def rails4? Rails.version.start_with? '4' end def migration_version return if rails4? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end end end
e219d9efc36c5da9d818c5c23c4030531f96babc
lib/rack_after_reply/adapter/passenger.rb
lib/rack_after_reply/adapter/passenger.rb
module RackAfterReply module Adapter class Passenger < Base def apply PhusionPassenger::Rack::RequestHandler.module_eval do include RackAfterReply::RequestHandler def initialize_with_rack_after_reply(owner_pipe, app, options = {}) app = AppProxy.new(self, app) initialize_without_rack_after_reply(owner_pipe, app, options) end RackAfterReply.freedom_patch self, :initialize def accept_and_process_next_request_with_rack_after_reply(socket_wrapper, channel, buffer) accept_and_process_next_request_without_rack_after_reply(socket_wrapper, channel, buffer) fire_rack_after_reply end RackAfterReply.freedom_patch self, :accept_and_process_next_request end end end end end
module RackAfterReply module Adapter class Passenger < Base def apply PhusionPassenger::Rack::RequestHandler.module_eval do include RackAfterReply::RequestHandler def initialize_with_rack_after_reply(owner_pipe, app, options = {}) app = AppProxy.new(self, app) initialize_without_rack_after_reply(owner_pipe, app, options) end RackAfterReply.freedom_patch self, :initialize def accept_and_process_next_request_with_rack_after_reply(socket_wrapper, channel, buffer) returning accept_and_process_next_request_without_rack_after_reply(socket_wrapper, channel, buffer) do fire_rack_after_reply end end RackAfterReply.freedom_patch self, :accept_and_process_next_request end end end end end
Fix patch to Passenger's `accept_and_process_next_request`
Fix patch to Passenger's `accept_and_process_next_request`
Ruby
mit
oggy/rack_after_reply
ruby
## Code Before: module RackAfterReply module Adapter class Passenger < Base def apply PhusionPassenger::Rack::RequestHandler.module_eval do include RackAfterReply::RequestHandler def initialize_with_rack_after_reply(owner_pipe, app, options = {}) app = AppProxy.new(self, app) initialize_without_rack_after_reply(owner_pipe, app, options) end RackAfterReply.freedom_patch self, :initialize def accept_and_process_next_request_with_rack_after_reply(socket_wrapper, channel, buffer) accept_and_process_next_request_without_rack_after_reply(socket_wrapper, channel, buffer) fire_rack_after_reply end RackAfterReply.freedom_patch self, :accept_and_process_next_request end end end end end ## Instruction: Fix patch to Passenger's `accept_and_process_next_request` ## Code After: module RackAfterReply module Adapter class Passenger < Base def apply PhusionPassenger::Rack::RequestHandler.module_eval do include RackAfterReply::RequestHandler def initialize_with_rack_after_reply(owner_pipe, app, options = {}) app = AppProxy.new(self, app) initialize_without_rack_after_reply(owner_pipe, app, options) end RackAfterReply.freedom_patch self, :initialize def accept_and_process_next_request_with_rack_after_reply(socket_wrapper, channel, buffer) returning accept_and_process_next_request_without_rack_after_reply(socket_wrapper, channel, buffer) do fire_rack_after_reply end end RackAfterReply.freedom_patch self, :accept_and_process_next_request end end end end end
36e046833f631fc8070ebf0c4ef2a186a2c1f7b0
packages/wdio-dot-reporter/src/index.js
packages/wdio-dot-reporter/src/index.js
import chalk from 'chalk' import WDIOReporter from 'wdio-reporter' /** * Initialize a new `Dot` matrix test reporter. */ export default class DotReporter extends WDIOReporter { constructor (options) { /** * make dot reporter to write to output stream by default */ options = Object.assign(options, { stdout: true }) super(options) } /** * pending tests */ onTestSkip () { this.write(chalk.cyanBright('.')) } /** * passing tests */ onTestPass () { this.write(chalk.greenBright('.')) } /** * failing tests */ onTestFail () { this.write(chalk.redBright('F')) } }
import chalk from 'chalk' import WDIOReporter from 'wdio-reporter' /** * Initialize a new `Dot` matrix test reporter. */ export default class DotReporter extends WDIOReporter { constructor (options) { /** * make dot reporter to write to output stream by default */ options = Object.assign({ stdout: true }, options) super(options) } /** * pending tests */ onTestSkip () { this.write(chalk.cyanBright('.')) } /** * passing tests */ onTestPass () { this.write(chalk.greenBright('.')) } /** * failing tests */ onTestFail () { this.write(chalk.redBright('F')) } }
Allow stdout to be overwritten from config
wdip-dot-reporter: Allow stdout to be overwritten from config
JavaScript
mit
webdriverio/webdriverio,klamping/webdriverio,klamping/webdriverio,webdriverio/webdriverio,klamping/webdriverio,webdriverio/webdriverio
javascript
## Code Before: import chalk from 'chalk' import WDIOReporter from 'wdio-reporter' /** * Initialize a new `Dot` matrix test reporter. */ export default class DotReporter extends WDIOReporter { constructor (options) { /** * make dot reporter to write to output stream by default */ options = Object.assign(options, { stdout: true }) super(options) } /** * pending tests */ onTestSkip () { this.write(chalk.cyanBright('.')) } /** * passing tests */ onTestPass () { this.write(chalk.greenBright('.')) } /** * failing tests */ onTestFail () { this.write(chalk.redBright('F')) } } ## Instruction: wdip-dot-reporter: Allow stdout to be overwritten from config ## Code After: import chalk from 'chalk' import WDIOReporter from 'wdio-reporter' /** * Initialize a new `Dot` matrix test reporter. */ export default class DotReporter extends WDIOReporter { constructor (options) { /** * make dot reporter to write to output stream by default */ options = Object.assign({ stdout: true }, options) super(options) } /** * pending tests */ onTestSkip () { this.write(chalk.cyanBright('.')) } /** * passing tests */ onTestPass () { this.write(chalk.greenBright('.')) } /** * failing tests */ onTestFail () { this.write(chalk.redBright('F')) } }
b3ecb6a2b6093e3aef457d0c8c3ed8eea434f497
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Thanks for submitting your Pull Request! Please delete this text, and add a link to the Jira issue solved by this PR. Remember to use the Jira issue ID in the PR title, and any commits.
Thanks for submitting your Pull Request! Please delete this text, and add a link to the Jira issue solved by this PR. If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'. Remember to use the Jira issue ID in the PR title and any commits.
Update pull request template to require 'upstream' PR links for PRs not against 'main'
Update pull request template to require 'upstream' PR links for PRs not against 'main'
Markdown
lgpl-2.1
pferraro/wildfly,pferraro/wildfly,rhusar/wildfly,iweiss/wildfly,wildfly/wildfly,jstourac/wildfly,pferraro/wildfly,wildfly/wildfly,wildfly/wildfly,jstourac/wildfly,wildfly/wildfly,iweiss/wildfly,pferraro/wildfly,rhusar/wildfly,rhusar/wildfly,iweiss/wildfly,jstourac/wildfly,iweiss/wildfly,jstourac/wildfly,rhusar/wildfly
markdown
## Code Before: Thanks for submitting your Pull Request! Please delete this text, and add a link to the Jira issue solved by this PR. Remember to use the Jira issue ID in the PR title, and any commits. ## Instruction: Update pull request template to require 'upstream' PR links for PRs not against 'main' ## Code After: Thanks for submitting your Pull Request! Please delete this text, and add a link to the Jira issue solved by this PR. If this PR is not for the 'main' branch you must add a link to the equivalent change in 'main'. Remember to use the Jira issue ID in the PR title and any commits.
abf965b6135da19f9f77b8d122f85a1320f82f4d
dev_setup.md
dev_setup.md
- Clone the repository - `cd test-harness` - `cp .env.example .env` - Edit .env file appropriately - `box install` - `box run-script start` # Will use Lucee 5 server config file by default - Run tests: - In browser, visit `http://localhost:60299/tests/runner.cfm` - On command line: TBD
- Clone the repository - `cd test-harness` - `cp .env.example .env` - Edit .env file appropriately - `box install` - `box run-script start` # Will use Lucee 5 server config file by default - Run tests: - In browser, visit `http://localhost:60299/tests/runner.cfm` - On command line: `box testbox run`
Document running of tests on CLI.
Document running of tests on CLI.
Markdown
apache-2.0
coldbox-modules/s3sdk
markdown
## Code Before: - Clone the repository - `cd test-harness` - `cp .env.example .env` - Edit .env file appropriately - `box install` - `box run-script start` # Will use Lucee 5 server config file by default - Run tests: - In browser, visit `http://localhost:60299/tests/runner.cfm` - On command line: TBD ## Instruction: Document running of tests on CLI. ## Code After: - Clone the repository - `cd test-harness` - `cp .env.example .env` - Edit .env file appropriately - `box install` - `box run-script start` # Will use Lucee 5 server config file by default - Run tests: - In browser, visit `http://localhost:60299/tests/runner.cfm` - On command line: `box testbox run`
a33c346afc3183b36ad57eb1c6f123f0cd1917c4
hosts/shiro/default.nix
hosts/shiro/default.nix
{ pkgs, ... }: { imports = [ ../personal.nix # common settings ./hardware-configuration.nix ## Dekstop environment <modules/desktop/bspwm.nix> ## Apps <modules/browser/firefox.nix> <modules/dev> <modules/editors/emacs.nix> <modules/editors/vim.nix> <modules/shell/direnv.nix> <modules/shell/git.nix> <modules/shell/gnupg.nix> <modules/shell/pass.nix> <modules/shell/zsh.nix> ## Project-based <modules/chat.nix> # discord, mainly <modules/recording.nix> # recording video & audio <modules/daw.nix> # making music <modules/music.nix> # playing music <modules/graphics.nix> # art & design # <modules/vm.nix> # virtualbox for testing ## Services <modules/services/syncthing.nix> ## Theme <modules/themes/aquanaut> ]; networking.wireless.enable = true; hardware.opengl.enable = true; time.timeZone = "America/Toronto"; # time.timeZone = "Europe/Copenhagen"; # Optimize power use environment.systemPackages = [ pkgs.acpi ]; powerManagement.powertop.enable = true; # Monitor backlight control programs.light.enable = true; }
{ pkgs, ... }: { imports = [ ../personal.nix # common settings ./hardware-configuration.nix ## Dekstop environment <modules/desktop/bspwm.nix> ## Apps <modules/browser/firefox.nix> <modules/dev> <modules/editors/emacs.nix> <modules/editors/vim.nix> <modules/shell/direnv.nix> <modules/shell/git.nix> <modules/shell/gnupg.nix> <modules/shell/pass.nix> <modules/shell/tmux.nix> <modules/shell/zsh.nix> ## Project-based <modules/chat.nix> # discord, mainly <modules/recording.nix> # recording video & audio <modules/daw.nix> # making music <modules/music.nix> # playing music <modules/graphics.nix> # art & design # <modules/vm.nix> # virtualbox for testing ## Services <modules/services/syncthing.nix> ## Theme <modules/themes/aquanaut> ]; networking.wireless.enable = true; hardware.opengl.enable = true; time.timeZone = "America/Toronto"; # time.timeZone = "Europe/Copenhagen"; # Optimize power use environment.systemPackages = [ pkgs.acpi ]; powerManagement.powertop.enable = true; # Monitor backlight control programs.light.enable = true; }
Add tmux module to shiro
Add tmux module to shiro
Nix
mit
hlissner/dotfiles,hlissner/dotfiles,cthachuk/dotfiles,hlissner/dotfiles,hlissner/dotfiles,hlissner/dotfiles,cthachuk/dotfiles
nix
## Code Before: { pkgs, ... }: { imports = [ ../personal.nix # common settings ./hardware-configuration.nix ## Dekstop environment <modules/desktop/bspwm.nix> ## Apps <modules/browser/firefox.nix> <modules/dev> <modules/editors/emacs.nix> <modules/editors/vim.nix> <modules/shell/direnv.nix> <modules/shell/git.nix> <modules/shell/gnupg.nix> <modules/shell/pass.nix> <modules/shell/zsh.nix> ## Project-based <modules/chat.nix> # discord, mainly <modules/recording.nix> # recording video & audio <modules/daw.nix> # making music <modules/music.nix> # playing music <modules/graphics.nix> # art & design # <modules/vm.nix> # virtualbox for testing ## Services <modules/services/syncthing.nix> ## Theme <modules/themes/aquanaut> ]; networking.wireless.enable = true; hardware.opengl.enable = true; time.timeZone = "America/Toronto"; # time.timeZone = "Europe/Copenhagen"; # Optimize power use environment.systemPackages = [ pkgs.acpi ]; powerManagement.powertop.enable = true; # Monitor backlight control programs.light.enable = true; } ## Instruction: Add tmux module to shiro ## Code After: { pkgs, ... }: { imports = [ ../personal.nix # common settings ./hardware-configuration.nix ## Dekstop environment <modules/desktop/bspwm.nix> ## Apps <modules/browser/firefox.nix> <modules/dev> <modules/editors/emacs.nix> <modules/editors/vim.nix> <modules/shell/direnv.nix> <modules/shell/git.nix> <modules/shell/gnupg.nix> <modules/shell/pass.nix> <modules/shell/tmux.nix> <modules/shell/zsh.nix> ## Project-based <modules/chat.nix> # discord, mainly <modules/recording.nix> # recording video & audio <modules/daw.nix> # making music <modules/music.nix> # playing music <modules/graphics.nix> # art & design # <modules/vm.nix> # virtualbox for testing ## Services <modules/services/syncthing.nix> ## Theme <modules/themes/aquanaut> ]; networking.wireless.enable = true; hardware.opengl.enable = true; time.timeZone = "America/Toronto"; # time.timeZone = "Europe/Copenhagen"; # Optimize power use environment.systemPackages = [ pkgs.acpi ]; powerManagement.powertop.enable = true; # Monitor backlight control programs.light.enable = true; }
00fe29604e0799a76090f3ce30afa269ea65a960
deal.II/deal.II/source/grid/geometry_info.cc
deal.II/deal.II/source/grid/geometry_info.cc
/* $Id$ */ #include <grid/geometry_info.h> // enable these lines for gcc2.95 // //const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::children_per_cell; template <> const unsigned int GeometryInfo<1>::opposite_face[GeometryInfo<1>::faces_per_cell] = { 0, 1 }; template <> const unsigned int GeometryInfo<2>::opposite_face[GeometryInfo<2>::faces_per_cell] = { 2, 3, 0, 1 }; template <> const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell] = { 1, 0, 4, 5, 2, 3 };
/* $Id$ */ #include <grid/geometry_info.h> const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::children_per_cell; template <> const unsigned int GeometryInfo<1>::opposite_face[GeometryInfo<1>::faces_per_cell] = { 0, 1 }; template <> const unsigned int GeometryInfo<2>::opposite_face[GeometryInfo<2>::faces_per_cell] = { 2, 3, 0, 1 }; template <> const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell] = { 1, 0, 4, 5, 2, 3 };
Use actual definitions of static variables.
Use actual definitions of static variables. git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@2445 0785d39b-7218-0410-832d-ea1e28bc413d
C++
lgpl-2.1
johntfoster/dealii,ibkim11/dealii,pesser/dealii,johntfoster/dealii,spco/dealii,rrgrove6/dealii,kalj/dealii,natashasharma/dealii,shakirbsm/dealii,jperryhouts/dealii,shakirbsm/dealii,angelrca/dealii,danshapero/dealii,Arezou-gh/dealii,nicolacavallini/dealii,Arezou-gh/dealii,ESeNonFossiIo/dealii,johntfoster/dealii,adamkosik/dealii,gpitton/dealii,johntfoster/dealii,sairajat/dealii,angelrca/dealii,pesser/dealii,nicolacavallini/dealii,lue/dealii,lpolster/dealii,sairajat/dealii,maieneuro/dealii,mtezzele/dealii,naliboff/dealii,sriharisundar/dealii,lpolster/dealii,spco/dealii,danshapero/dealii,flow123d/dealii,YongYang86/dealii,maieneuro/dealii,lue/dealii,kalj/dealii,ibkim11/dealii,danshapero/dealii,lue/dealii,johntfoster/dealii,andreamola/dealii,sairajat/dealii,EGP-CIG-REU/dealii,natashasharma/dealii,andreamola/dealii,ibkim11/dealii,naliboff/dealii,sairajat/dealii,naliboff/dealii,JaeryunYim/dealii,rrgrove6/dealii,nicolacavallini/dealii,mac-a/dealii,danshapero/dealii,rrgrove6/dealii,flow123d/dealii,naliboff/dealii,kalj/dealii,mac-a/dealii,flow123d/dealii,jperryhouts/dealii,EGP-CIG-REU/dealii,gpitton/dealii,shakirbsm/dealii,kalj/dealii,jperryhouts/dealii,maieneuro/dealii,lpolster/dealii,YongYang86/dealii,JaeryunYim/dealii,gpitton/dealii,lpolster/dealii,flow123d/dealii,rrgrove6/dealii,natashasharma/dealii,msteigemann/dealii,EGP-CIG-REU/dealii,maieneuro/dealii,ESeNonFossiIo/dealii,ESeNonFossiIo/dealii,sairajat/dealii,flow123d/dealii,flow123d/dealii,YongYang86/dealii,flow123d/dealii,natashasharma/dealii,mac-a/dealii,ESeNonFossiIo/dealii,Arezou-gh/dealii,spco/dealii,lpolster/dealii,gpitton/dealii,ibkim11/dealii,adamkosik/dealii,andreamola/dealii,adamkosik/dealii,spco/dealii,rrgrove6/dealii,gpitton/dealii,angelrca/dealii,andreamola/dealii,msteigemann/dealii,ESeNonFossiIo/dealii,natashasharma/dealii,angelrca/dealii,mac-a/dealii,ibkim11/dealii,jperryhouts/dealii,YongYang86/dealii,Arezou-gh/dealii,shakirbsm/dealii,sriharisundar/dealii,EGP-CIG-REU/dealii,msteigemann/dealii,spco/dealii,mac-a/dealii,JaeryunYim/dealii,lue/dealii,EGP-CIG-REU/dealii,JaeryunYim/dealii,jperryhouts/dealii,danshapero/dealii,rrgrove6/dealii,sriharisundar/dealii,sairajat/dealii,ibkim11/dealii,pesser/dealii,lue/dealii,danshapero/dealii,nicolacavallini/dealii,maieneuro/dealii,angelrca/dealii,nicolacavallini/dealii,spco/dealii,YongYang86/dealii,Arezou-gh/dealii,EGP-CIG-REU/dealii,lue/dealii,mac-a/dealii,angelrca/dealii,kalj/dealii,natashasharma/dealii,adamkosik/dealii,angelrca/dealii,naliboff/dealii,johntfoster/dealii,shakirbsm/dealii,lpolster/dealii,pesser/dealii,YongYang86/dealii,mtezzele/dealii,JaeryunYim/dealii,Arezou-gh/dealii,adamkosik/dealii,sriharisundar/dealii,mtezzele/dealii,maieneuro/dealii,Arezou-gh/dealii,JaeryunYim/dealii,pesser/dealii,naliboff/dealii,pesser/dealii,mtezzele/dealii,sairajat/dealii,sriharisundar/dealii,spco/dealii,ibkim11/dealii,gpitton/dealii,jperryhouts/dealii,lue/dealii,nicolacavallini/dealii,shakirbsm/dealii,jperryhouts/dealii,danshapero/dealii,mtezzele/dealii,sriharisundar/dealii,kalj/dealii,msteigemann/dealii,johntfoster/dealii,adamkosik/dealii,msteigemann/dealii,YongYang86/dealii,andreamola/dealii,msteigemann/dealii,natashasharma/dealii,mtezzele/dealii,lpolster/dealii,adamkosik/dealii,nicolacavallini/dealii,naliboff/dealii,sriharisundar/dealii,kalj/dealii,gpitton/dealii,ESeNonFossiIo/dealii,andreamola/dealii,rrgrove6/dealii,maieneuro/dealii,mtezzele/dealii,JaeryunYim/dealii,EGP-CIG-REU/dealii,mac-a/dealii,pesser/dealii,msteigemann/dealii,andreamola/dealii,ESeNonFossiIo/dealii,shakirbsm/dealii
c++
## Code Before: /* $Id$ */ #include <grid/geometry_info.h> // enable these lines for gcc2.95 // //const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell; //const unsigned int GeometryInfo<deal_II_dimension>::children_per_cell; template <> const unsigned int GeometryInfo<1>::opposite_face[GeometryInfo<1>::faces_per_cell] = { 0, 1 }; template <> const unsigned int GeometryInfo<2>::opposite_face[GeometryInfo<2>::faces_per_cell] = { 2, 3, 0, 1 }; template <> const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell] = { 1, 0, 4, 5, 2, 3 }; ## Instruction: Use actual definitions of static variables. git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@2445 0785d39b-7218-0410-832d-ea1e28bc413d ## Code After: /* $Id$ */ #include <grid/geometry_info.h> const unsigned int GeometryInfo<deal_II_dimension>::vertices_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::lines_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::quads_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::hexes_per_cell; const unsigned int GeometryInfo<deal_II_dimension>::children_per_cell; template <> const unsigned int GeometryInfo<1>::opposite_face[GeometryInfo<1>::faces_per_cell] = { 0, 1 }; template <> const unsigned int GeometryInfo<2>::opposite_face[GeometryInfo<2>::faces_per_cell] = { 2, 3, 0, 1 }; template <> const unsigned int GeometryInfo<3>::opposite_face[GeometryInfo<3>::faces_per_cell] = { 1, 0, 4, 5, 2, 3 };
4ba2168c32c8d825474e4cb5842f4c55edcfb533
README.md
README.md
Utilities to parse command line flags. The parse-command-line utility offers parsing of command line flags that is close to google3 binary flag parsing. The parser supports flags defined through the FLAG:DEFINE macro. ace.flag:print-help is a utility that formats the flags registered with define-flag. Flags may refer to special variables. E.g. --cl:print-base and --cl::*print-base* refer to the '*print-base*' special variable. This behavior is controlled by --lisp-global-flags. The user may also allow this by default by passing :global-flags t to the PARSE-COMMAND-LINE function. Flags whose type is defined or expands to 'boolean' are considered boolean flags and this affects how those are parsed. Especially, the '--no' sets the flag to 'nil' and no other argument is consumed. Boolean flags that are not followed by another argument or the other argument is prefixed with '-' are set to 't' and no argument is consumed. Finally, boolean flags accept a set of boolean indicators: "yes", "no", "true", "false", ... which are consumed by the boolean flag at parsing. Flags may accept any combination of types. By default the values parsed are: numbers, symbols, keywords, strings. Numbers are parsed in C++/Java syntax allowing for non-finite values ("inf", "-inf", "nan"). ### Disclaimer: This is not an official Google product.
[![Gitter](https://badges.gitter.im/qitab/community.svg)](https://gitter.im/qitab/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Utilities to parse command line flags. The parse-command-line utility offers parsing of command line flags that is close to google3 binary flag parsing. The parser supports flags defined through the FLAG:DEFINE macro. ace.flag:print-help is a utility that formats the flags registered with define-flag. Flags may refer to special variables. E.g. --cl:print-base and --cl::*print-base* refer to the '*print-base*' special variable. This behavior is controlled by --lisp-global-flags. The user may also allow this by default by passing :global-flags t to the PARSE-COMMAND-LINE function. Flags whose type is defined or expands to 'boolean' are considered boolean flags and this affects how those are parsed. Especially, the '--no' sets the flag to 'nil' and no other argument is consumed. Boolean flags that are not followed by another argument or the other argument is prefixed with '-' are set to 't' and no argument is consumed. Finally, boolean flags accept a set of boolean indicators: "yes", "no", "true", "false", ... which are consumed by the boolean flag at parsing. Flags may accept any combination of types. By default the values parsed are: numbers, symbols, keywords, strings. Numbers are parsed in C++/Java syntax allowing for non-finite values ("inf", "-inf", "nan"). ### Disclaimer: This is not an official Google product.
Update Qitab Readme.md gitter badge
Update Qitab Readme.md gitter badge We have several Qitab repos now and they should all point to the same gitter chatroom. PiperOrigin-RevId: 356285182
Markdown
mit
qitab/ace.flag
markdown
## Code Before: Utilities to parse command line flags. The parse-command-line utility offers parsing of command line flags that is close to google3 binary flag parsing. The parser supports flags defined through the FLAG:DEFINE macro. ace.flag:print-help is a utility that formats the flags registered with define-flag. Flags may refer to special variables. E.g. --cl:print-base and --cl::*print-base* refer to the '*print-base*' special variable. This behavior is controlled by --lisp-global-flags. The user may also allow this by default by passing :global-flags t to the PARSE-COMMAND-LINE function. Flags whose type is defined or expands to 'boolean' are considered boolean flags and this affects how those are parsed. Especially, the '--no' sets the flag to 'nil' and no other argument is consumed. Boolean flags that are not followed by another argument or the other argument is prefixed with '-' are set to 't' and no argument is consumed. Finally, boolean flags accept a set of boolean indicators: "yes", "no", "true", "false", ... which are consumed by the boolean flag at parsing. Flags may accept any combination of types. By default the values parsed are: numbers, symbols, keywords, strings. Numbers are parsed in C++/Java syntax allowing for non-finite values ("inf", "-inf", "nan"). ### Disclaimer: This is not an official Google product. ## Instruction: Update Qitab Readme.md gitter badge We have several Qitab repos now and they should all point to the same gitter chatroom. PiperOrigin-RevId: 356285182 ## Code After: [![Gitter](https://badges.gitter.im/qitab/community.svg)](https://gitter.im/qitab/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) Utilities to parse command line flags. The parse-command-line utility offers parsing of command line flags that is close to google3 binary flag parsing. The parser supports flags defined through the FLAG:DEFINE macro. ace.flag:print-help is a utility that formats the flags registered with define-flag. Flags may refer to special variables. E.g. --cl:print-base and --cl::*print-base* refer to the '*print-base*' special variable. This behavior is controlled by --lisp-global-flags. The user may also allow this by default by passing :global-flags t to the PARSE-COMMAND-LINE function. Flags whose type is defined or expands to 'boolean' are considered boolean flags and this affects how those are parsed. Especially, the '--no' sets the flag to 'nil' and no other argument is consumed. Boolean flags that are not followed by another argument or the other argument is prefixed with '-' are set to 't' and no argument is consumed. Finally, boolean flags accept a set of boolean indicators: "yes", "no", "true", "false", ... which are consumed by the boolean flag at parsing. Flags may accept any combination of types. By default the values parsed are: numbers, symbols, keywords, strings. Numbers are parsed in C++/Java syntax allowing for non-finite values ("inf", "-inf", "nan"). ### Disclaimer: This is not an official Google product.
99cc51db126bb41197845b462e00724299d54f96
src/components/widgets/DataTable/styles.scss
src/components/widgets/DataTable/styles.scss
@import "~styles/palette.scss"; @import "~styles/spacing.scss"; .dataTable table { width: 100%; } .dataTable table thead tr { border-bottom: 2px solid $colorBlack; } .firstColumn { padding-left: $spaceBig; } .lastColumn { padding-right: $spaceBig; } .dataTable table thead tr th:nth-child(1) { @extend .firstColumn; } .dataTable table thead tr th:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td:nth-child(1) { @extend .firstColumn; } .dataTable table tr td:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr:nth-child(even) td { background: $colorAlmostWhite; } .dataTable table tr:nth-child(odd) td { background: $colorWhite; }
@import "~styles/palette.scss"; @import "~styles/spacing.scss"; .dataTable table { width: 100%; } .dataTable table thead tr { border-bottom: 2px solid $colorBlack; } .firstColumn { padding-left: $spaceBig; } .lastColumn { padding-right: $spaceBig; } .dataTable table thead tr th:nth-child(1) { @extend .firstColumn; } .dataTable table thead tr th:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td:nth-child(1) { @extend .firstColumn; } .dataTable table tr td:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td { border-bottom: 1px solid $colorGrayLight; padding: $spaceSmall 0; } .dataTable table tr:nth-child(even) td { background: $colorAlmostWhite; } .dataTable table tr:nth-child(odd) td { background: $colorWhite; }
Improve style of rows in people data table
Improve style of rows in people data table
SCSS
apache-2.0
petuomin/power-ui,petuomin/power-ui,futurice/power-ui,futurice/power-ui
scss
## Code Before: @import "~styles/palette.scss"; @import "~styles/spacing.scss"; .dataTable table { width: 100%; } .dataTable table thead tr { border-bottom: 2px solid $colorBlack; } .firstColumn { padding-left: $spaceBig; } .lastColumn { padding-right: $spaceBig; } .dataTable table thead tr th:nth-child(1) { @extend .firstColumn; } .dataTable table thead tr th:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td:nth-child(1) { @extend .firstColumn; } .dataTable table tr td:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr:nth-child(even) td { background: $colorAlmostWhite; } .dataTable table tr:nth-child(odd) td { background: $colorWhite; } ## Instruction: Improve style of rows in people data table ## Code After: @import "~styles/palette.scss"; @import "~styles/spacing.scss"; .dataTable table { width: 100%; } .dataTable table thead tr { border-bottom: 2px solid $colorBlack; } .firstColumn { padding-left: $spaceBig; } .lastColumn { padding-right: $spaceBig; } .dataTable table thead tr th:nth-child(1) { @extend .firstColumn; } .dataTable table thead tr th:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td:nth-child(1) { @extend .firstColumn; } .dataTable table tr td:nth-last-child(1) { @extend .lastColumn; } .dataTable table tr td { border-bottom: 1px solid $colorGrayLight; padding: $spaceSmall 0; } .dataTable table tr:nth-child(even) td { background: $colorAlmostWhite; } .dataTable table tr:nth-child(odd) td { background: $colorWhite; }
7353c87d7f88eea0485ea022365dc4bfe1d608f2
core/server/overrides.js
core/server/overrides.js
var moment = require('moment-timezone'); /** * force UTC * - you can require moment or moment-timezone, both is configured to UTC * - you are allowed to use new Date() to instantiate datetime values for models, because they are transformed into UTC in the model layer * - be careful when not working with models, every value from the native JS Date is local TZ * - be careful when you work with date operations, therefor always wrap a date into moment */ moment.tz.setDefault('UTC');
'use strict'; const moment = require('moment-timezone'); /** * force UTC * - you can require moment or moment-timezone, both is configured to UTC * - you are allowed to use new Date() to instantiate datetime values for models, because they are transformed into UTC in the model layer * - be careful when not working with models, every value from the native JS Date is local TZ * - be careful when you work with date operations, therefor always wrap a date into moment */ moment.tz.setDefault('UTC'); /** * https://github.com/TryGhost/Ghost/issues/9064 */ global.Promise = require('bluebird');
Set Promise to be Bluebird globally
Set Promise to be Bluebird globally closes #9064
JavaScript
mit
TryGhost/Ghost,janvt/Ghost,dbalders/Ghost,Gargol/Ghost,ErisDS/Ghost,chevex/undoctrinate,Kikobeats/Ghost,kevinansfield/Ghost,JohnONolan/Ghost,bitjson/Ghost,acburdine/Ghost,TryGhost/Ghost,bitjson/Ghost,JohnONolan/Ghost,Gargol/Ghost,ErisDS/Ghost,Kikobeats/Ghost,TryGhost/Ghost,dbalders/Ghost,acburdine/Ghost,kevinansfield/Ghost,Kikobeats/Ghost,e10/Ghost,dbalders/Ghost,acburdine/Ghost,kevinansfield/Ghost,e10/Ghost,JohnONolan/Ghost,ErisDS/Ghost,janvt/Ghost
javascript
## Code Before: var moment = require('moment-timezone'); /** * force UTC * - you can require moment or moment-timezone, both is configured to UTC * - you are allowed to use new Date() to instantiate datetime values for models, because they are transformed into UTC in the model layer * - be careful when not working with models, every value from the native JS Date is local TZ * - be careful when you work with date operations, therefor always wrap a date into moment */ moment.tz.setDefault('UTC'); ## Instruction: Set Promise to be Bluebird globally closes #9064 ## Code After: 'use strict'; const moment = require('moment-timezone'); /** * force UTC * - you can require moment or moment-timezone, both is configured to UTC * - you are allowed to use new Date() to instantiate datetime values for models, because they are transformed into UTC in the model layer * - be careful when not working with models, every value from the native JS Date is local TZ * - be careful when you work with date operations, therefor always wrap a date into moment */ moment.tz.setDefault('UTC'); /** * https://github.com/TryGhost/Ghost/issues/9064 */ global.Promise = require('bluebird');
d565fdab9cefc080ff3127f036c19e95cba73f6e
tests/test_udacity.py
tests/test_udacity.py
import unittest from mooc_aggregator_restful_api import udacity class UdacityTestCase(unittest.TestCase): ''' Unit Tests for module udacity ''' def setUp(self): self.udacity_test_object = udacity.UdacityAPI() def test_udacity_api_response(self): self.assertEqual(self.udacity_test_object.status_code(), 200) def tearDown(self): pass if __name__ == '__main__': unittest.main()
import unittest from mooc_aggregator_restful_api import udacity class UdacityTestCase(unittest.TestCase): ''' Unit Tests for module udacity ''' def setUp(self): self.udacity_test_object = udacity.UdacityAPI() def test_udacity_api_response(self): self.assertEqual(self.udacity_test_object.status_code(), 200) def test_udacity_api_mongofy_courses(self): course = self.udacity_test_object.mongofy_courses()[0] self.assertEqual(course['title'], 'Intro to Computer Science') def tearDown(self): pass if __name__ == '__main__': unittest.main()
Add unit test for mongofy_courses of udacity module
Add unit test for mongofy_courses of udacity module
Python
mit
ueg1990/mooc_aggregator_restful_api
python
## Code Before: import unittest from mooc_aggregator_restful_api import udacity class UdacityTestCase(unittest.TestCase): ''' Unit Tests for module udacity ''' def setUp(self): self.udacity_test_object = udacity.UdacityAPI() def test_udacity_api_response(self): self.assertEqual(self.udacity_test_object.status_code(), 200) def tearDown(self): pass if __name__ == '__main__': unittest.main() ## Instruction: Add unit test for mongofy_courses of udacity module ## Code After: import unittest from mooc_aggregator_restful_api import udacity class UdacityTestCase(unittest.TestCase): ''' Unit Tests for module udacity ''' def setUp(self): self.udacity_test_object = udacity.UdacityAPI() def test_udacity_api_response(self): self.assertEqual(self.udacity_test_object.status_code(), 200) def test_udacity_api_mongofy_courses(self): course = self.udacity_test_object.mongofy_courses()[0] self.assertEqual(course['title'], 'Intro to Computer Science') def tearDown(self): pass if __name__ == '__main__': unittest.main()
361ad288cf6bed7b9f2f38ee206b994129b260c3
README.md
README.md
Documents providing information on SVG 2, and tools to simplify writing them. Currently this repository includes the source for: * https://github.com/w3c/svgwg/wiki/SVG-2-new-features The source documents in this repository do not include links, but refer to elements, properties, and terms defined in SVG 2, which can be linked automatically. To reference a possible term, surround the term in single quotes (e.g. 'rect'). The process for updating the documents is: * Edit the markdown from this repistory * Run link_to_svg_defs.js to create a version with links to the SVG spec * Paste result into wiki * Submit PR to this repository with your changes to the source markdown files To add links use: ```node link_to_svg_defs.js ``` This will print out usage instructions. Requires: * https://www.npmjs.com/package/xmldom
Documents providing information on SVG 2, and tools to simplify writing them. Currently this repository includes the source for: * https://nikosandronikos.github.io/svg2-info/svg2-feature-support.html * https://github.com/w3c/svgwg/wiki/SVG-2-new-features ## SVG2 feature support The page '__svg2-feature-support.html__', reads data from the JSON file '__svg2-new-features-processed.json__' and displays a table outlining the current state of SVG 2 support in user agents. '__svg2-new-features-processed.json__' must not be edited directly. Instead edit '__svg2-new-features.json__' and generate' '__svg2-new-features-processed.json__' using: ```node link_to_svg_defs.js <path_to_definitions.xml> svg2-new-features.json > svg2-new-features-processed.json``` Where &lt;path_to_definitions.xml&gt; points to the [definitions.xml](https://github.com/w3c/svgwg/blob/master/master/definitions.xml) file in the master directory of the SVG 2 spec repository. ## SVG2 new features The process for updating https://github.com/w3c/svgwg/wiki/SVG-2-new-features is: * Edit the markdown from this repistory * Run link_to_svg_defs.js to create a version with links to the SVG spec * Paste result into wiki * Submit PR to this repository with your changes to the source markdown files ## link_to_svg_defs.js The source documents in this repository do not include links, but refer to elements, properties, and terms defined in SVG 2, which can be linked automatically using this script. To reference a possible term, surround the term in single quotes (e.g. 'rect'). To replace terms with links, try: ```node link_to_svg_defs.js ``` This will print out usage instructions. Requires: * https://www.npmjs.com/package/xmldom
Update readme with details on the SVG 2 feature support page
Update readme with details on the SVG 2 feature support page
Markdown
unlicense
nikosandronikos/svg2-info,nikosandronikos/svg2-info
markdown
## Code Before: Documents providing information on SVG 2, and tools to simplify writing them. Currently this repository includes the source for: * https://github.com/w3c/svgwg/wiki/SVG-2-new-features The source documents in this repository do not include links, but refer to elements, properties, and terms defined in SVG 2, which can be linked automatically. To reference a possible term, surround the term in single quotes (e.g. 'rect'). The process for updating the documents is: * Edit the markdown from this repistory * Run link_to_svg_defs.js to create a version with links to the SVG spec * Paste result into wiki * Submit PR to this repository with your changes to the source markdown files To add links use: ```node link_to_svg_defs.js ``` This will print out usage instructions. Requires: * https://www.npmjs.com/package/xmldom ## Instruction: Update readme with details on the SVG 2 feature support page ## Code After: Documents providing information on SVG 2, and tools to simplify writing them. Currently this repository includes the source for: * https://nikosandronikos.github.io/svg2-info/svg2-feature-support.html * https://github.com/w3c/svgwg/wiki/SVG-2-new-features ## SVG2 feature support The page '__svg2-feature-support.html__', reads data from the JSON file '__svg2-new-features-processed.json__' and displays a table outlining the current state of SVG 2 support in user agents. '__svg2-new-features-processed.json__' must not be edited directly. Instead edit '__svg2-new-features.json__' and generate' '__svg2-new-features-processed.json__' using: ```node link_to_svg_defs.js <path_to_definitions.xml> svg2-new-features.json > svg2-new-features-processed.json``` Where &lt;path_to_definitions.xml&gt; points to the [definitions.xml](https://github.com/w3c/svgwg/blob/master/master/definitions.xml) file in the master directory of the SVG 2 spec repository. ## SVG2 new features The process for updating https://github.com/w3c/svgwg/wiki/SVG-2-new-features is: * Edit the markdown from this repistory * Run link_to_svg_defs.js to create a version with links to the SVG spec * Paste result into wiki * Submit PR to this repository with your changes to the source markdown files ## link_to_svg_defs.js The source documents in this repository do not include links, but refer to elements, properties, and terms defined in SVG 2, which can be linked automatically using this script. To reference a possible term, surround the term in single quotes (e.g. 'rect'). To replace terms with links, try: ```node link_to_svg_defs.js ``` This will print out usage instructions. Requires: * https://www.npmjs.com/package/xmldom
72b98ee6bb535fce14d3ad84e3c15ec5e17c5fef
example-map-page.md
example-map-page.md
--- layout: page --- ## This page shows an example of embedding a map <script src="https://embed.github.com/view/geojson/wikihydra/jekyll-wiki-now/gh-pages/data/example.geoJSON">&nbsp;</script>
--- layout: page --- ## This page shows an example of embedding a map <script src="https://embed.github.com/view/geojson/{{site.github_user}}/{{site.github_repo}}/gh-pages/data/example.geoJSON">&nbsp;</script>
Replace embedded map URL with a relative URL
Replace embedded map URL with a relative URL
Markdown
mit
WikiHydra/jekyll-wiki-now,WikiHydra/jekyll-wiki-now,WikiHydra/jekyll-wiki-now
markdown
## Code Before: --- layout: page --- ## This page shows an example of embedding a map <script src="https://embed.github.com/view/geojson/wikihydra/jekyll-wiki-now/gh-pages/data/example.geoJSON">&nbsp;</script> ## Instruction: Replace embedded map URL with a relative URL ## Code After: --- layout: page --- ## This page shows an example of embedding a map <script src="https://embed.github.com/view/geojson/{{site.github_user}}/{{site.github_repo}}/gh-pages/data/example.geoJSON">&nbsp;</script>
8ff998d6f56077d4a6d2c174b3871100e43bae86
buildscripts/create_conda_pyenv_retry.py
buildscripts/create_conda_pyenv_retry.py
import subprocess from os import unlink from os.path import realpath, islink, isfile, isdir import sys import shutil import time def rm_rf(path): if islink(path) or isfile(path): # Note that we have to check if the destination is a link because # exists('/path/to/dead-link') will return False, although # islink('/path/to/dead-link') is True. unlink(path) elif isdir(path): if sys.platform == 'win32': subprocess.check_call(['cmd', '/c', 'rd', '/s', '/q', path]) else: shutil.rmtree(path) def main(pyversion, envdir): envdir = realpath(envdir) rm_rf(envdir) packages = ['cython', 'scipy', 'nose'] while True: p = subprocess.Popen(['conda', 'create', '--yes', '-p', envdir, 'python=%s' % pyversion] + packages, stderr=subprocess.PIPE) stdout, stderr = p.communicate() if p.returncode != 0: print >> sys.stderr, stderr if "LOCKERROR" in stderr: print "Conda is locked. Trying again in 60 seconds" print time.sleep(60) else: sys.exit(p.returncode) else: sys.exit(p.returncode) if __name__ == '__main__': sys.exit(main(sys.argv[1], sys.argv[2]))
import subprocess from os import unlink from os.path import realpath, islink, isfile, isdir import sys import shutil import time def rm_rf(path): if islink(path) or isfile(path): # Note that we have to check if the destination is a link because # exists('/path/to/dead-link') will return False, although # islink('/path/to/dead-link') is True. unlink(path) elif isdir(path): if sys.platform == 'win32': subprocess.check_call(['cmd', '/c', 'rd', '/s', '/q', path]) else: shutil.rmtree(path) def main(pyversion, envdir): envdir = realpath(envdir) rm_rf(envdir) packages = ['cython', 'scipy', 'nose'] while True: p = subprocess.Popen(['conda', 'create', '--yes', '-p', envdir, 'python=%s' % pyversion] + packages, stderr=subprocess.PIPE, shell=True) stdout, stderr = p.communicate() if p.returncode != 0: print >> sys.stderr, stderr if "LOCKERROR" in stderr: print "Conda is locked. Trying again in 60 seconds" print time.sleep(60) else: sys.exit(p.returncode) else: sys.exit(p.returncode) if __name__ == '__main__': sys.exit(main(sys.argv[1], sys.argv[2]))
Make shell=True for the conda subprocess
Make shell=True for the conda subprocess
Python
bsd-2-clause
mwiebe/dynd-python,aterrel/dynd-python,izaid/dynd-python,mwiebe/dynd-python,pombredanne/dynd-python,pombredanne/dynd-python,insertinterestingnamehere/dynd-python,aterrel/dynd-python,pombredanne/dynd-python,mwiebe/dynd-python,izaid/dynd-python,cpcloud/dynd-python,michaelpacer/dynd-python,michaelpacer/dynd-python,izaid/dynd-python,ContinuumIO/dynd-python,ContinuumIO/dynd-python,michaelpacer/dynd-python,ContinuumIO/dynd-python,izaid/dynd-python,insertinterestingnamehere/dynd-python,insertinterestingnamehere/dynd-python,pombredanne/dynd-python,aterrel/dynd-python,insertinterestingnamehere/dynd-python,michaelpacer/dynd-python,cpcloud/dynd-python,cpcloud/dynd-python,cpcloud/dynd-python,mwiebe/dynd-python,aterrel/dynd-python,ContinuumIO/dynd-python
python
## Code Before: import subprocess from os import unlink from os.path import realpath, islink, isfile, isdir import sys import shutil import time def rm_rf(path): if islink(path) or isfile(path): # Note that we have to check if the destination is a link because # exists('/path/to/dead-link') will return False, although # islink('/path/to/dead-link') is True. unlink(path) elif isdir(path): if sys.platform == 'win32': subprocess.check_call(['cmd', '/c', 'rd', '/s', '/q', path]) else: shutil.rmtree(path) def main(pyversion, envdir): envdir = realpath(envdir) rm_rf(envdir) packages = ['cython', 'scipy', 'nose'] while True: p = subprocess.Popen(['conda', 'create', '--yes', '-p', envdir, 'python=%s' % pyversion] + packages, stderr=subprocess.PIPE) stdout, stderr = p.communicate() if p.returncode != 0: print >> sys.stderr, stderr if "LOCKERROR" in stderr: print "Conda is locked. Trying again in 60 seconds" print time.sleep(60) else: sys.exit(p.returncode) else: sys.exit(p.returncode) if __name__ == '__main__': sys.exit(main(sys.argv[1], sys.argv[2])) ## Instruction: Make shell=True for the conda subprocess ## Code After: import subprocess from os import unlink from os.path import realpath, islink, isfile, isdir import sys import shutil import time def rm_rf(path): if islink(path) or isfile(path): # Note that we have to check if the destination is a link because # exists('/path/to/dead-link') will return False, although # islink('/path/to/dead-link') is True. unlink(path) elif isdir(path): if sys.platform == 'win32': subprocess.check_call(['cmd', '/c', 'rd', '/s', '/q', path]) else: shutil.rmtree(path) def main(pyversion, envdir): envdir = realpath(envdir) rm_rf(envdir) packages = ['cython', 'scipy', 'nose'] while True: p = subprocess.Popen(['conda', 'create', '--yes', '-p', envdir, 'python=%s' % pyversion] + packages, stderr=subprocess.PIPE, shell=True) stdout, stderr = p.communicate() if p.returncode != 0: print >> sys.stderr, stderr if "LOCKERROR" in stderr: print "Conda is locked. Trying again in 60 seconds" print time.sleep(60) else: sys.exit(p.returncode) else: sys.exit(p.returncode) if __name__ == '__main__': sys.exit(main(sys.argv[1], sys.argv[2]))
2901be8cf67fb87ae01cb30a20de21a4bc243b03
res/labelAndPaymode.json
res/labelAndPaymode.json
{ "PayMemo": [{ "Index": "2", "Name": "Cheque", "memos": ["^CHEQUE N"] }, { "Index": "4", "Name": "Transfer", "memos": ["^VIREMENT DE", "^VIREMENT EMIS", "^VIREMENT POUR"] }, { "Index": "6", "Name": "Debit card", "memos": ["^ACHAT CB", "^COMMISSION PAIEMENT PAR CARTE", "^COMMISSION RETRAIT PAR CARTE", "RETRAIT DAB", "^TELEREGLEMENT DE REGLEMENT IMPOT", "^CREDIT CARTE BANCAIRE"] }, { "Index": "7", "Name": "Standing order", "memos": ["^PRELEVEMENT"] }, { "Index": "9", "Name": "Deposit", "memos": ["^REMISE DE CHEQUE N", "^REMISE DE CHEQUES", "^VERSEMENT EFFECTUE"] }, { "Index": "10", "Name": "FI fee", "memos": ["^COTISATION TRIMESTRIELLE DE VOTRE FORMULE DE COMPTE"] }] }
{ "PayMemo": [{ "Index": "2", "Name": "Cheque", "memos": ["^CHEQUE N"] }, { "Index": "4", "Name": "Transfer", "memos": ["^VIREMENT DE", "^VIREMENT EMIS", "^VIREMENT POUR"] }, { "Index": "6", "Name": "Debit card", "memos": ["^ACHAT CB", "^COMMISSION PAIEMENT PAR CARTE", "^COMMISSION RETRAIT PAR CARTE", "RETRAIT DAB", "^TELEREGLEMENT DE REGLEMENT IMPOT", "^CREDIT CARTE BANCAIRE"] }, { "Index": "7", "Name": "Standing order", "memos": ["^PRELEVEMENT", "^VIREMENT PERMANENT"] }, { "Index": "9", "Name": "Deposit", "memos": ["^REMISE DE CHEQUE N", "^REMISE DE CHEQUES", "^VERSEMENT EFFECTUE"] }, { "Index": "10", "Name": "FI fee", "memos": ["^COTISATION TRIMESTRIELLE DE VOTRE FORMULE DE COMPTE"] }] }
Set paymode to 7 for VIREMENT PERMANENT
Set paymode to 7 for VIREMENT PERMANENT
JSON
mit
Binnette/homebank-converter,Binnette/homebank-converter
json
## Code Before: { "PayMemo": [{ "Index": "2", "Name": "Cheque", "memos": ["^CHEQUE N"] }, { "Index": "4", "Name": "Transfer", "memos": ["^VIREMENT DE", "^VIREMENT EMIS", "^VIREMENT POUR"] }, { "Index": "6", "Name": "Debit card", "memos": ["^ACHAT CB", "^COMMISSION PAIEMENT PAR CARTE", "^COMMISSION RETRAIT PAR CARTE", "RETRAIT DAB", "^TELEREGLEMENT DE REGLEMENT IMPOT", "^CREDIT CARTE BANCAIRE"] }, { "Index": "7", "Name": "Standing order", "memos": ["^PRELEVEMENT"] }, { "Index": "9", "Name": "Deposit", "memos": ["^REMISE DE CHEQUE N", "^REMISE DE CHEQUES", "^VERSEMENT EFFECTUE"] }, { "Index": "10", "Name": "FI fee", "memos": ["^COTISATION TRIMESTRIELLE DE VOTRE FORMULE DE COMPTE"] }] } ## Instruction: Set paymode to 7 for VIREMENT PERMANENT ## Code After: { "PayMemo": [{ "Index": "2", "Name": "Cheque", "memos": ["^CHEQUE N"] }, { "Index": "4", "Name": "Transfer", "memos": ["^VIREMENT DE", "^VIREMENT EMIS", "^VIREMENT POUR"] }, { "Index": "6", "Name": "Debit card", "memos": ["^ACHAT CB", "^COMMISSION PAIEMENT PAR CARTE", "^COMMISSION RETRAIT PAR CARTE", "RETRAIT DAB", "^TELEREGLEMENT DE REGLEMENT IMPOT", "^CREDIT CARTE BANCAIRE"] }, { "Index": "7", "Name": "Standing order", "memos": ["^PRELEVEMENT", "^VIREMENT PERMANENT"] }, { "Index": "9", "Name": "Deposit", "memos": ["^REMISE DE CHEQUE N", "^REMISE DE CHEQUES", "^VERSEMENT EFFECTUE"] }, { "Index": "10", "Name": "FI fee", "memos": ["^COTISATION TRIMESTRIELLE DE VOTRE FORMULE DE COMPTE"] }] }
5115c1365b54da15f733a184a618287ef0a9dcff
doc/image-guide-rst/source/convert-images.rst
doc/image-guide-rst/source/convert-images.rst
================================ Converting between image formats ================================
================================ Converting between image formats ================================ Converting images from one format to another is generally straightforward. qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :command:`qemu-img convert` command can do conversion between multiple formats, including ``qcow2``, ``qed``, ``raw``, ``vdi``, ``vhd``, and ``vmdk``. .. list-table:: qemu-img format strings :header-rows: 1 * - Image format - Argument to qemu-img * - QCOW2 (KVM, Xen) - ``qcow2`` * - QED (KVM) - ``qed`` * - raw - ``raw`` * - VDI (VirtualBox) - ``vdi`` * - VHD (Hyper-V) - ``vpc`` * - VMDK (VMware) - ``vmdk`` This example will convert a raw image file named ``image.img`` to a qcow2 image file. .. code-block:: console $ qemu-img convert -f raw -O qcow2 image.img image.qcow2 Run the following command to convert a vmdk image file to a raw image file. .. code-block:: console $ qemu-img convert -f vmdk -O raw image.vmdk image.img Run the following command to convert a vmdk image file to a qcow2 image file. .. code-block:: console $ qemu-img convert -f vmdk -O qcow2 image.vmdk image.qcow2 .. note:: The ``-f format`` flag is optional. If omitted, ``qemu-img`` will try to infer the image format. When converting an image file with Windows, ensure the virtio driver is installed. Otherwise, you will get a blue screen when launching the image due to lack of the virtio driver. Another option is to set the image properties as below when you update the image in glance to avoid this issue, but it will reduce performance significantly. .. code-block:: console $ glance image-update --property hw_disk_bus='ide' image_id VBoxManage: VDI (VirtualBox) to raw ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you've created a VDI image using VirtualBox, you can convert it to raw format using the :program:`VBoxManage` command-line tool that ships with VirtualBox. On Mac OS X, and Linux, VirtualBox stores images by default in the ``~/VirtualBox VMs/`` directory. The following example creates a raw image in the current directory from a VirtualBox VDI image. .. code-block:: console $ VBoxManage clonehd ~/VirtualBox\ VMs/image.vdi image.img --format raw
Convert converting images to RST
[image-guide] Convert converting images to RST Change-Id: I59d91c1324ba1f3e0d3673b59005aced947c6f4e Implements: blueprint image-guide-rst
reStructuredText
apache-2.0
AlekhyaMallina-Vedams/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals,openstack/openstack-manuals,AlekhyaMallina-Vedams/openstack-manuals
restructuredtext
## Code Before: ================================ Converting between image formats ================================ ## Instruction: [image-guide] Convert converting images to RST Change-Id: I59d91c1324ba1f3e0d3673b59005aced947c6f4e Implements: blueprint image-guide-rst ## Code After: ================================ Converting between image formats ================================ Converting images from one format to another is generally straightforward. qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :command:`qemu-img convert` command can do conversion between multiple formats, including ``qcow2``, ``qed``, ``raw``, ``vdi``, ``vhd``, and ``vmdk``. .. list-table:: qemu-img format strings :header-rows: 1 * - Image format - Argument to qemu-img * - QCOW2 (KVM, Xen) - ``qcow2`` * - QED (KVM) - ``qed`` * - raw - ``raw`` * - VDI (VirtualBox) - ``vdi`` * - VHD (Hyper-V) - ``vpc`` * - VMDK (VMware) - ``vmdk`` This example will convert a raw image file named ``image.img`` to a qcow2 image file. .. code-block:: console $ qemu-img convert -f raw -O qcow2 image.img image.qcow2 Run the following command to convert a vmdk image file to a raw image file. .. code-block:: console $ qemu-img convert -f vmdk -O raw image.vmdk image.img Run the following command to convert a vmdk image file to a qcow2 image file. .. code-block:: console $ qemu-img convert -f vmdk -O qcow2 image.vmdk image.qcow2 .. note:: The ``-f format`` flag is optional. If omitted, ``qemu-img`` will try to infer the image format. When converting an image file with Windows, ensure the virtio driver is installed. Otherwise, you will get a blue screen when launching the image due to lack of the virtio driver. Another option is to set the image properties as below when you update the image in glance to avoid this issue, but it will reduce performance significantly. .. code-block:: console $ glance image-update --property hw_disk_bus='ide' image_id VBoxManage: VDI (VirtualBox) to raw ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you've created a VDI image using VirtualBox, you can convert it to raw format using the :program:`VBoxManage` command-line tool that ships with VirtualBox. On Mac OS X, and Linux, VirtualBox stores images by default in the ``~/VirtualBox VMs/`` directory. The following example creates a raw image in the current directory from a VirtualBox VDI image. .. code-block:: console $ VBoxManage clonehd ~/VirtualBox\ VMs/image.vdi image.img --format raw
272d0bbc590fefa393317f27d2fa0c5912d654a9
django_cbtp_email/example_project/tests/test_basic.py
django_cbtp_email/example_project/tests/test_basic.py
from __future__ import (absolute_import, division, print_function, unicode_literals) import os import tempfile from django.test import TestCase from ..tests.mailers import TestMailer class BasicUsageTestCase(TestCase): def test_message_will_be_sent_with_inlined_css(self): test_mailer = TestMailer() test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 sent_message = outbox[0] """:type : django.core.mail.EmailMessage """ assert TestMailer.subject in sent_message.subject assert TestMailer.to in sent_message.to assert "<p style=\"font-size:42pt\">" in sent_message.body def test_attachment(self): test_mailer = TestMailer() with tempfile.NamedTemporaryFile(mode='w', delete=False) as temp: test_mailer.attach_file(temp.name) test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 os.remove(temp.name) def test_empty_recipient(self): test_mailer = TestMailer(to=None) # Recipient is not set self.assertRaises(ValueError, test_mailer.send_message)
from __future__ import (absolute_import, division, print_function, unicode_literals) import os import tempfile from django.test import TestCase from ..tests.mailers import TestMailer class BasicUsageTestCase(TestCase): def test_message_will_be_sent_with_inlined_css(self): test_mailer = TestMailer() test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 sent_message = outbox[0] """:type : django.core.mail.EmailMessage """ self.assertIn(TestMailer.subject, sent_message.subject) self.assertIn(TestMailer.to, sent_message.to) self.assertIn("<p style=\"font-size:42pt\">", sent_message.body) # noinspection PyMethodMayBeStatic def test_attachment(self): test_mailer = TestMailer() with tempfile.NamedTemporaryFile(mode='w', delete=False) as temp: test_mailer.attach_file(temp.name) test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 os.remove(temp.name) def test_empty_recipient(self): test_mailer = TestMailer(to=None) # Recipient is not set self.assertRaises(ValueError, test_mailer.send_message)
Use assertIn in tests for better error message.
Use assertIn in tests for better error message.
Python
mit
illagrenan/django-cbtp-email,illagrenan/django-cbtp-email
python
## Code Before: from __future__ import (absolute_import, division, print_function, unicode_literals) import os import tempfile from django.test import TestCase from ..tests.mailers import TestMailer class BasicUsageTestCase(TestCase): def test_message_will_be_sent_with_inlined_css(self): test_mailer = TestMailer() test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 sent_message = outbox[0] """:type : django.core.mail.EmailMessage """ assert TestMailer.subject in sent_message.subject assert TestMailer.to in sent_message.to assert "<p style=\"font-size:42pt\">" in sent_message.body def test_attachment(self): test_mailer = TestMailer() with tempfile.NamedTemporaryFile(mode='w', delete=False) as temp: test_mailer.attach_file(temp.name) test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 os.remove(temp.name) def test_empty_recipient(self): test_mailer = TestMailer(to=None) # Recipient is not set self.assertRaises(ValueError, test_mailer.send_message) ## Instruction: Use assertIn in tests for better error message. ## Code After: from __future__ import (absolute_import, division, print_function, unicode_literals) import os import tempfile from django.test import TestCase from ..tests.mailers import TestMailer class BasicUsageTestCase(TestCase): def test_message_will_be_sent_with_inlined_css(self): test_mailer = TestMailer() test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 sent_message = outbox[0] """:type : django.core.mail.EmailMessage """ self.assertIn(TestMailer.subject, sent_message.subject) self.assertIn(TestMailer.to, sent_message.to) self.assertIn("<p style=\"font-size:42pt\">", sent_message.body) # noinspection PyMethodMayBeStatic def test_attachment(self): test_mailer = TestMailer() with tempfile.NamedTemporaryFile(mode='w', delete=False) as temp: test_mailer.attach_file(temp.name) test_mailer.send_message() from django.core.mail import outbox assert len(outbox) == 1 os.remove(temp.name) def test_empty_recipient(self): test_mailer = TestMailer(to=None) # Recipient is not set self.assertRaises(ValueError, test_mailer.send_message)
bfbdf34e2efd1d22ee6f15f4655334764106725c
locksmith/lightauth/common.py
locksmith/lightauth/common.py
from locksmith.common import apicall try: from django.conf import settings SIGNING_KEY = settings.LOCKSMITH_SIGNING_KEY, API_NAME = settings.LOCKSMITH_API_NAME ENDPOINT = settings.LOCKSMITH_HUB_URL.replace('analytics', 'accounts') + 'checkkey/' except: SIGNING_KEY = "" API_NAME = "" ENDPOINT = "" def check_key(key, signing_key=SIGNING_KEY, api=API_NAME, endpoint=ENDPOINT): try: apicall(endpoint, signing_key, api=api, endpoint=endpoint, key=key ) except urllib2.HTTPError as e: if e.code == 404: return None else: raise
from locksmith.common import apicall import urllib2 try: from django.conf import settings SIGNING_KEY = settings.LOCKSMITH_SIGNING_KEY API_NAME = settings.LOCKSMITH_API_NAME ENDPOINT = settings.LOCKSMITH_HUB_URL.replace('analytics', 'accounts') + 'checkkey/' except: SIGNING_KEY = "" API_NAME = "" ENDPOINT = "" def check_key(key, signing_key=SIGNING_KEY, api=API_NAME, endpoint=ENDPOINT): try: apicall(endpoint, signing_key, api=api, key=key ) return True except urllib2.HTTPError as e: if e.code == 404: return None else: raise
Make client key checking actually work.
Make client key checking actually work.
Python
bsd-3-clause
sunlightlabs/django-locksmith,sunlightlabs/django-locksmith,sunlightlabs/django-locksmith
python
## Code Before: from locksmith.common import apicall try: from django.conf import settings SIGNING_KEY = settings.LOCKSMITH_SIGNING_KEY, API_NAME = settings.LOCKSMITH_API_NAME ENDPOINT = settings.LOCKSMITH_HUB_URL.replace('analytics', 'accounts') + 'checkkey/' except: SIGNING_KEY = "" API_NAME = "" ENDPOINT = "" def check_key(key, signing_key=SIGNING_KEY, api=API_NAME, endpoint=ENDPOINT): try: apicall(endpoint, signing_key, api=api, endpoint=endpoint, key=key ) except urllib2.HTTPError as e: if e.code == 404: return None else: raise ## Instruction: Make client key checking actually work. ## Code After: from locksmith.common import apicall import urllib2 try: from django.conf import settings SIGNING_KEY = settings.LOCKSMITH_SIGNING_KEY API_NAME = settings.LOCKSMITH_API_NAME ENDPOINT = settings.LOCKSMITH_HUB_URL.replace('analytics', 'accounts') + 'checkkey/' except: SIGNING_KEY = "" API_NAME = "" ENDPOINT = "" def check_key(key, signing_key=SIGNING_KEY, api=API_NAME, endpoint=ENDPOINT): try: apicall(endpoint, signing_key, api=api, key=key ) return True except urllib2.HTTPError as e: if e.code == 404: return None else: raise
b8d2ea157943b0c0ca22631d65b24d2b05cd1207
src/main/java/de/flux/playground/deckcompare/analyze/CardConflictAnalyzer.java
src/main/java/de/flux/playground/deckcompare/analyze/CardConflictAnalyzer.java
package de.flux.playground.deckcompare.analyze; import de.flux.playground.deckcompare.dto.Card; public final class CardConflictAnalyzer { public static boolean conflicted(Card card, Card otherCard) { boolean isConflicted = false; if (card.equals(otherCard)) { int overallQunatity = card.getQty() + otherCard.getQty(); isConflicted = overallQunatity > 3; } return isConflicted; } }
package de.flux.playground.deckcompare.analyze; import de.flux.playground.deckcompare.dto.Card; public final class CardConflictAnalyzer { private CardConflictAnalyzer() { } public static boolean conflicted(Card card, Card otherCard) { boolean isConflicted = false; if (card.equals(otherCard)) { int overallQunatity = card.getQty() + otherCard.getQty(); isConflicted = overallQunatity > 3; } return isConflicted; } }
Add private constructor to prevent instantiation
Add private constructor to prevent instantiation
Java
apache-2.0
JLengenfeld/deckcompare,JLengenfeld/deckcompare,JLengenfeld/deckcompare
java
## Code Before: package de.flux.playground.deckcompare.analyze; import de.flux.playground.deckcompare.dto.Card; public final class CardConflictAnalyzer { public static boolean conflicted(Card card, Card otherCard) { boolean isConflicted = false; if (card.equals(otherCard)) { int overallQunatity = card.getQty() + otherCard.getQty(); isConflicted = overallQunatity > 3; } return isConflicted; } } ## Instruction: Add private constructor to prevent instantiation ## Code After: package de.flux.playground.deckcompare.analyze; import de.flux.playground.deckcompare.dto.Card; public final class CardConflictAnalyzer { private CardConflictAnalyzer() { } public static boolean conflicted(Card card, Card otherCard) { boolean isConflicted = false; if (card.equals(otherCard)) { int overallQunatity = card.getQty() + otherCard.getQty(); isConflicted = overallQunatity > 3; } return isConflicted; } }
a299fb1ff9dcdb1467ab2220b4498e1009ae50b2
css/songList.css
css/songList.css
.songList { list-style-type: kannada; } .songList li { cursor: pointer; }
.songList { list-style-type: kannada; } .songList li { cursor: pointer; } .songList li:first-child { text-decoration: underline; }
Add underline to first track.
Add underline to first track.
CSS
mpl-2.0
ryanpcmcquen/ryanpcmcquen.github.io,ryanpcmcquen/ryanpcmcquen.github.io
css
## Code Before: .songList { list-style-type: kannada; } .songList li { cursor: pointer; } ## Instruction: Add underline to first track. ## Code After: .songList { list-style-type: kannada; } .songList li { cursor: pointer; } .songList li:first-child { text-decoration: underline; }
9e22b6ba129bb5074af7ddb9902b94fac9e288ab
sc/src/main/webapp/WEB-INF/jsp/layouts/home-body.jsp
sc/src/main/webapp/WEB-INF/jsp/layouts/home-body.jsp
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <section> <tiles:insertAttribute name="home-hero"/> </section> <section class="margin-top-large"> <tiles:insertAttribute name="home-search"/> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="first-box"/> </div> <div class="columns"> <tiles:insertAttribute name="second-box"/> </div> </div> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="third-box"/> </div> <div class="columns"> <tiles:insertAttribute name="fourth-box"/> </div> </div> </section>
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <section> <tiles:insertAttribute name="home-hero"/> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="second-box"/> </div> <div class="columns"> <tiles:insertAttribute name="fourth-box"/> </div> </div> </section>
Put only Latest Experiments and Publications in section
Put only Latest Experiments and Publications in section
Java Server Pages
apache-2.0
gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas
java-server-pages
## Code Before: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <section> <tiles:insertAttribute name="home-hero"/> </section> <section class="margin-top-large"> <tiles:insertAttribute name="home-search"/> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="first-box"/> </div> <div class="columns"> <tiles:insertAttribute name="second-box"/> </div> </div> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="third-box"/> </div> <div class="columns"> <tiles:insertAttribute name="fourth-box"/> </div> </div> </section> ## Instruction: Put only Latest Experiments and Publications in section ## Code After: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <section> <tiles:insertAttribute name="home-hero"/> </section> <section class="margin-top-large"> <div class="row small-up-1 medium-up-1 large-up-2" data-equalizer> <div class="columns"> <tiles:insertAttribute name="second-box"/> </div> <div class="columns"> <tiles:insertAttribute name="fourth-box"/> </div> </div> </section>
9a15ccedc34aa09dc3973a2d34992e23c89eb2e1
client/skr/models/Location.coffee
client/skr/models/Location.coffee
SHARED_DATA = null SHARED_COLLECTION = null class Skr.Models.Location extends Skr.Models.Base cacheDuration: [1, 'day'] mixins: [ 'FileSupport', 'HasCodeField' ] props: id: {type:"integer"} code: {type:"code"} name: {type:"string"} address_id: {type:"integer"} is_active: {type:"boolean", "default":true} gl_branch_code:{type:"string", "default":"01"} logo: "file" options: "any" associations: address: { model: "Address" } sku_locs: { collection: "SkuLoc" } @initialize: (data) -> SHARED_DATA = data.locations Object.defineProperties Skr.Models.Location, { all: get: -> SHARED_COLLECTION ||= new Skr.Models.Location.Collection( SHARED_DATA ) default: get: -> @all.findWhere(code: 'DEFAULT') || @all.first() }
SHARED_DATA = null SHARED_COLLECTION = null class Skr.Models.Location extends Skr.Models.Base cacheDuration: [1, 'day'] mixins: [ 'FileSupport', 'HasCodeField' ] props: id: {type:"integer"} code: {type:"code"} name: {type:"string"} address_id: {type:"integer"} is_active: {type:"boolean", "default":true} gl_branch_code:{type:"string", "default":"01"} logo: "file" options: "any" associations: address: { model: "Address" } sku_locs: { collection: "SkuLoc" } @initialize: (data) -> SHARED_DATA = data.locations addChangeSet: (change) -> if change.update.logo change.update.logo[1] = change.update.logo[1].logo super Object.defineProperties Skr.Models.Location, { all: get: -> SHARED_COLLECTION ||= new Skr.Models.Location.Collection( SHARED_DATA ) default: get: -> @all.findWhere(code: 'DEFAULT') || @all.first() }
Adjust logo property on change
Adjust logo property on change Since the onchange does slightly wrong thing
CoffeeScript
agpl-3.0
argosity/stockor,argosity/stockor,argosity/stockor,argosity/stockor
coffeescript
## Code Before: SHARED_DATA = null SHARED_COLLECTION = null class Skr.Models.Location extends Skr.Models.Base cacheDuration: [1, 'day'] mixins: [ 'FileSupport', 'HasCodeField' ] props: id: {type:"integer"} code: {type:"code"} name: {type:"string"} address_id: {type:"integer"} is_active: {type:"boolean", "default":true} gl_branch_code:{type:"string", "default":"01"} logo: "file" options: "any" associations: address: { model: "Address" } sku_locs: { collection: "SkuLoc" } @initialize: (data) -> SHARED_DATA = data.locations Object.defineProperties Skr.Models.Location, { all: get: -> SHARED_COLLECTION ||= new Skr.Models.Location.Collection( SHARED_DATA ) default: get: -> @all.findWhere(code: 'DEFAULT') || @all.first() } ## Instruction: Adjust logo property on change Since the onchange does slightly wrong thing ## Code After: SHARED_DATA = null SHARED_COLLECTION = null class Skr.Models.Location extends Skr.Models.Base cacheDuration: [1, 'day'] mixins: [ 'FileSupport', 'HasCodeField' ] props: id: {type:"integer"} code: {type:"code"} name: {type:"string"} address_id: {type:"integer"} is_active: {type:"boolean", "default":true} gl_branch_code:{type:"string", "default":"01"} logo: "file" options: "any" associations: address: { model: "Address" } sku_locs: { collection: "SkuLoc" } @initialize: (data) -> SHARED_DATA = data.locations addChangeSet: (change) -> if change.update.logo change.update.logo[1] = change.update.logo[1].logo super Object.defineProperties Skr.Models.Location, { all: get: -> SHARED_COLLECTION ||= new Skr.Models.Location.Collection( SHARED_DATA ) default: get: -> @all.findWhere(code: 'DEFAULT') || @all.first() }
f917728c7c31ad3e2c0bb5392dd5fa069ea983aa
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/action/UartModeAction.java
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/action/UartModeAction.java
package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiUUID; import com.uxxu.konashi.lib.KonashiUtils; import com.uxxu.konashi.lib.store.UartStore; import com.uxxu.konashi.lib.util.UartUtils; import java.util.UUID; /** * Created by e10dokup on 2015/09/23 **/ public class UartModeAction extends UartAction { private static final String TAG = UartModeAction.class.getSimpleName(); private final UartModeAction self = this; private static final UUID UUID = KonashiUUID.UART_CONFIG_UUID; private int mMode; public UartModeAction(BluetoothGattService service, int mode, UartStore store) { super(service, UUID, store, true); mMode = mode; } @Override protected void setValue() { getCharacteristic().setValue(KonashiUtils.int2bytes(mMode)); } @Override protected boolean hasValidParams() { return UartUtils.isValidMode(mMode); } }
package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiUUID; import com.uxxu.konashi.lib.KonashiUtils; import com.uxxu.konashi.lib.store.UartStore; import com.uxxu.konashi.lib.util.UartUtils; import java.util.UUID; /** * Created by e10dokup on 2015/09/23 **/ public class UartModeAction extends UartAction { private static final String TAG = UartModeAction.class.getSimpleName(); private final UartModeAction self = this; private static final UUID UUID = KonashiUUID.UART_CONFIG_UUID; private int mMode; public UartModeAction(BluetoothGattService service, int mode, UartStore store) { super(service, UUID, store, true); mMode = mode; } @Override protected void setValue() { getCharacteristic().setValue(new byte[]{KonashiUtils.int2bytes(mMode)[0]}); } @Override protected boolean hasValidParams() { return UartUtils.isValidMode(mMode); } }
Use only 1byte on setValue
Use only 1byte on setValue
Java
apache-2.0
YUKAI/konashi-android-sdk,kiryuxxu/konashi-android-sdk,YUKAI/konashi-android-sdk
java
## Code Before: package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiUUID; import com.uxxu.konashi.lib.KonashiUtils; import com.uxxu.konashi.lib.store.UartStore; import com.uxxu.konashi.lib.util.UartUtils; import java.util.UUID; /** * Created by e10dokup on 2015/09/23 **/ public class UartModeAction extends UartAction { private static final String TAG = UartModeAction.class.getSimpleName(); private final UartModeAction self = this; private static final UUID UUID = KonashiUUID.UART_CONFIG_UUID; private int mMode; public UartModeAction(BluetoothGattService service, int mode, UartStore store) { super(service, UUID, store, true); mMode = mode; } @Override protected void setValue() { getCharacteristic().setValue(KonashiUtils.int2bytes(mMode)); } @Override protected boolean hasValidParams() { return UartUtils.isValidMode(mMode); } } ## Instruction: Use only 1byte on setValue ## Code After: package com.uxxu.konashi.lib.action; import android.bluetooth.BluetoothGattService; import com.uxxu.konashi.lib.KonashiUUID; import com.uxxu.konashi.lib.KonashiUtils; import com.uxxu.konashi.lib.store.UartStore; import com.uxxu.konashi.lib.util.UartUtils; import java.util.UUID; /** * Created by e10dokup on 2015/09/23 **/ public class UartModeAction extends UartAction { private static final String TAG = UartModeAction.class.getSimpleName(); private final UartModeAction self = this; private static final UUID UUID = KonashiUUID.UART_CONFIG_UUID; private int mMode; public UartModeAction(BluetoothGattService service, int mode, UartStore store) { super(service, UUID, store, true); mMode = mode; } @Override protected void setValue() { getCharacteristic().setValue(new byte[]{KonashiUtils.int2bytes(mMode)[0]}); } @Override protected boolean hasValidParams() { return UartUtils.isValidMode(mMode); } }
0b71add087479b6f4d2aab2beb3fb744044b70ad
projects/sync.sh
projects/sync.sh
BASEDIR=$PWD BASEURL="https://projects.archlinux.org/git" PROJECTS=`cat projects.txt` for project in $PROJECTS; do cd $BASEDIR path_to_project=`dirname $project` if [[ ! -d "$path_to_project" ]]; then /usr/bin/mkdir -p $path_to_project fi cd $path_to_project project_folder=`basename $project` echo "Updating $project" if [[ -d "$project_folder" ]]; then cd $project_folder /usr/bin/git pull origin master else /usr/bin/git clone "$BASEURL/$project"".git" fi done
BASEDIR=$PWD BASEURL="https://projects.archlinux.org/git" PROJECTS=`cat projects.txt` for project in $PROJECTS; do cd $BASEDIR path_to_project=`dirname $project` if [[ ! -d "$path_to_project" ]]; then /usr/bin/mkdir -p $path_to_project fi cd $path_to_project project_folder=`basename $project` echo "Updating $project" if [[ -d "$project_folder" ]]; then cd $project_folder tracking_branch=$(/usr/bin/git rev-parse --abbrev-ref --symbolic-full-name @{u}) /usr/bin/git fetch origin /usr/bin/git merge $tracking_branch else /usr/bin/git clone "$BASEURL/$project"".git" fi done
Change updates to use fetch and merge
Change updates to use fetch and merge
Shell
unlicense
djmattyg007/archlinux,djmattyg007/archlinux
shell
## Code Before: BASEDIR=$PWD BASEURL="https://projects.archlinux.org/git" PROJECTS=`cat projects.txt` for project in $PROJECTS; do cd $BASEDIR path_to_project=`dirname $project` if [[ ! -d "$path_to_project" ]]; then /usr/bin/mkdir -p $path_to_project fi cd $path_to_project project_folder=`basename $project` echo "Updating $project" if [[ -d "$project_folder" ]]; then cd $project_folder /usr/bin/git pull origin master else /usr/bin/git clone "$BASEURL/$project"".git" fi done ## Instruction: Change updates to use fetch and merge ## Code After: BASEDIR=$PWD BASEURL="https://projects.archlinux.org/git" PROJECTS=`cat projects.txt` for project in $PROJECTS; do cd $BASEDIR path_to_project=`dirname $project` if [[ ! -d "$path_to_project" ]]; then /usr/bin/mkdir -p $path_to_project fi cd $path_to_project project_folder=`basename $project` echo "Updating $project" if [[ -d "$project_folder" ]]; then cd $project_folder tracking_branch=$(/usr/bin/git rev-parse --abbrev-ref --symbolic-full-name @{u}) /usr/bin/git fetch origin /usr/bin/git merge $tracking_branch else /usr/bin/git clone "$BASEURL/$project"".git" fi done
4e7000c499b658f06c540d1e43d8a1b409f9aa45
src/PMT/WebBundle/Resources/views/Project/issues.html.twig
src/PMT/WebBundle/Resources/views/Project/issues.html.twig
{% extends "PMTWebBundle:Project:layout.html.twig" %} {% block tabContent %} <div class="row-fluid"> <div class="span12"> <div class="accordion"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" href="#accordion_description"> Issues </a> </div> <div id="accordion_description" class="accordion-body collapse in"> <div class="accordion-inner"> Issue list {#<a href="{{ path('issue_detail', {'project_code': issue.project.code, 'id': issue.id}) }}">issue detail</a>#} </div> </div> </div> </div> </div> </div> {% endblock %}
{% extends "PMTWebBundle:Project:layout.html.twig" %} {% block tabContent %} <div class="row-fluid"> <div class="span12"> <div class="accordion"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" href="#accordion_description"> Issues </a> </div> <div id="accordion_description" class="accordion-body collapse in"> <div class="accordion-inner"> Issue list <a href="{{ path('issue_detail', {'project_code': 'PRO', 'id': 5}) }}">issue detail</a> </div> </div> </div> </div> </div> </div> {% endblock %}
Add example issue detail link
Add example issue detail link
Twig
mit
NoUseFreak/PMT,NoUseFreak/PMT
twig
## Code Before: {% extends "PMTWebBundle:Project:layout.html.twig" %} {% block tabContent %} <div class="row-fluid"> <div class="span12"> <div class="accordion"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" href="#accordion_description"> Issues </a> </div> <div id="accordion_description" class="accordion-body collapse in"> <div class="accordion-inner"> Issue list {#<a href="{{ path('issue_detail', {'project_code': issue.project.code, 'id': issue.id}) }}">issue detail</a>#} </div> </div> </div> </div> </div> </div> {% endblock %} ## Instruction: Add example issue detail link ## Code After: {% extends "PMTWebBundle:Project:layout.html.twig" %} {% block tabContent %} <div class="row-fluid"> <div class="span12"> <div class="accordion"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" href="#accordion_description"> Issues </a> </div> <div id="accordion_description" class="accordion-body collapse in"> <div class="accordion-inner"> Issue list <a href="{{ path('issue_detail', {'project_code': 'PRO', 'id': 5}) }}">issue detail</a> </div> </div> </div> </div> </div> </div> {% endblock %}
6196c1fe13df88c1d9f1fe706120c175ab890a1d
gen_tone.py
gen_tone.py
import math import numpy from demodulate.cfg import * def gen_tone(pattern, WPM): cycles_per_sample = MORSE_FREQ/SAMPLE_FREQ radians_per_sample = cycles_per_sample * 2 * math.pi elements_per_second = WPM * 50.0 / 60.0 samples_per_element = int(SAMPLE_FREQ/elements_per_second) length = samples_per_element * len(pattern) # Empty returns array containing random stuff, so we NEED to overwrite it data = numpy.empty(length, dtype=numpy.float32) for i in xrange(length): keyed = pattern[int(i/samples_per_element)] #keyed = 1 data[i] = 0 if not keyed else (radians_per_sample * i) data = numpy.sin(data) return data
import math import numpy from demodulate.cfg import * def gen_tone(pattern, WPM): cycles_per_sample = MORSE_FREQ/SAMPLE_FREQ radians_per_sample = cycles_per_sample * 2 * math.pi elements_per_second = WPM * 50.0 / 60.0 samples_per_element = int(SAMPLE_FREQ/elements_per_second) length = samples_per_element * len(pattern) # Empty returns array containing random stuff, so we NEED to overwrite it data = numpy.empty(length, dtype=numpy.float32) for i in xrange(length): keyed = pattern[int(i/samples_per_element)] #keyed = 1 data[i] = 0 if not keyed else (radians_per_sample * i) data = numpy.sin(data) data *= 2**16-1 data = numpy.array(data, dtype=numpy.int16) return data
Use 16 bit samples instead of float
Use 16 bit samples instead of float
Python
mit
nickodell/morse-code
python
## Code Before: import math import numpy from demodulate.cfg import * def gen_tone(pattern, WPM): cycles_per_sample = MORSE_FREQ/SAMPLE_FREQ radians_per_sample = cycles_per_sample * 2 * math.pi elements_per_second = WPM * 50.0 / 60.0 samples_per_element = int(SAMPLE_FREQ/elements_per_second) length = samples_per_element * len(pattern) # Empty returns array containing random stuff, so we NEED to overwrite it data = numpy.empty(length, dtype=numpy.float32) for i in xrange(length): keyed = pattern[int(i/samples_per_element)] #keyed = 1 data[i] = 0 if not keyed else (radians_per_sample * i) data = numpy.sin(data) return data ## Instruction: Use 16 bit samples instead of float ## Code After: import math import numpy from demodulate.cfg import * def gen_tone(pattern, WPM): cycles_per_sample = MORSE_FREQ/SAMPLE_FREQ radians_per_sample = cycles_per_sample * 2 * math.pi elements_per_second = WPM * 50.0 / 60.0 samples_per_element = int(SAMPLE_FREQ/elements_per_second) length = samples_per_element * len(pattern) # Empty returns array containing random stuff, so we NEED to overwrite it data = numpy.empty(length, dtype=numpy.float32) for i in xrange(length): keyed = pattern[int(i/samples_per_element)] #keyed = 1 data[i] = 0 if not keyed else (radians_per_sample * i) data = numpy.sin(data) data *= 2**16-1 data = numpy.array(data, dtype=numpy.int16) return data
d6c0d9722ba5357fb06d86e18466b45e26a80d1d
templates/docs/php.html
templates/docs/php.html
<h1>PHP</h1> <p>Below is an example of making a HTTP request to SITE_NAME from PHP.</p> <div class="highlight"><pre><span></span><code><span class="x">file_get_contents(&#39;PING_URL&#39;);</span> </code></pre></div> <p>If you would like to setup timeout and retry options, as discussed in the <a href="../reliability_tips/">reliability tips section</a>, there is a <a href="https://www.phpcurlclass.com/">curl package</a> available that lets you do that easily:</p> <p>```php startinline=True use Curl\Curl;</p> <p>$curl = new Curl(); $curl-&gt;setRetry(20); $curl-&gt;setTimeout(5); $curl-&gt;get('PING_URL'); ```</p> <p>:::php use Curl\Curl; $curl = new Curl(); $curl-&gt;setRetry(20); $curl-&gt;setTimeout(5); $curl-&gt;get('PING_URL');</p> <p>Note: this code never throws any exception.</p>
<h1>PHP</h1> <p>Below is an example of making a HTTP request to SITE_NAME from PHP.</p> <div class="highlight"><pre><span></span><code><span class="x">file_get_contents(&#39;PING_URL&#39;);</span> </code></pre></div> <p>If you would like to setup timeout and retry options, as discussed in the <a href="../reliability_tips/">reliability tips section</a>, there is a <a href="https://www.phpcurlclass.com/">curl package</a> available that lets you do that easily:</p> <div class="highlight"><pre><span></span><code><span class="x">use Curl\Curl;</span> <span class="x">$curl = new Curl();</span> <span class="x">$curl-&gt;setRetry(20);</span> <span class="x">$curl-&gt;setTimeout(5);</span> <span class="x">$curl-&gt;get(&#39;PING_URL&#39;);</span> </code></pre></div> <p>Note: this code never throws any exception.</p>
Use PING_URL placeholder in the PHP example.
Use PING_URL placeholder in the PHP example.
HTML
bsd-3-clause
healthchecks/healthchecks,iphoting/healthchecks,healthchecks/healthchecks,iphoting/healthchecks,healthchecks/healthchecks,healthchecks/healthchecks,iphoting/healthchecks,iphoting/healthchecks
html
## Code Before: <h1>PHP</h1> <p>Below is an example of making a HTTP request to SITE_NAME from PHP.</p> <div class="highlight"><pre><span></span><code><span class="x">file_get_contents(&#39;PING_URL&#39;);</span> </code></pre></div> <p>If you would like to setup timeout and retry options, as discussed in the <a href="../reliability_tips/">reliability tips section</a>, there is a <a href="https://www.phpcurlclass.com/">curl package</a> available that lets you do that easily:</p> <p>```php startinline=True use Curl\Curl;</p> <p>$curl = new Curl(); $curl-&gt;setRetry(20); $curl-&gt;setTimeout(5); $curl-&gt;get('PING_URL'); ```</p> <p>:::php use Curl\Curl; $curl = new Curl(); $curl-&gt;setRetry(20); $curl-&gt;setTimeout(5); $curl-&gt;get('PING_URL');</p> <p>Note: this code never throws any exception.</p> ## Instruction: Use PING_URL placeholder in the PHP example. ## Code After: <h1>PHP</h1> <p>Below is an example of making a HTTP request to SITE_NAME from PHP.</p> <div class="highlight"><pre><span></span><code><span class="x">file_get_contents(&#39;PING_URL&#39;);</span> </code></pre></div> <p>If you would like to setup timeout and retry options, as discussed in the <a href="../reliability_tips/">reliability tips section</a>, there is a <a href="https://www.phpcurlclass.com/">curl package</a> available that lets you do that easily:</p> <div class="highlight"><pre><span></span><code><span class="x">use Curl\Curl;</span> <span class="x">$curl = new Curl();</span> <span class="x">$curl-&gt;setRetry(20);</span> <span class="x">$curl-&gt;setTimeout(5);</span> <span class="x">$curl-&gt;get(&#39;PING_URL&#39;);</span> </code></pre></div> <p>Note: this code never throws any exception.</p>
3b91adfb41bbd9f9f4f7112f47a68479c7261617
Cargo.toml
Cargo.toml
[package] name = "sort_str_to_sql" version = "0.0.3" authors = ["Pascal Hertleif <killercup@gmail.com>"] license = "MIT" readme = "README.md" repository = "https://github.com/killercup/rust-sortStringToSql" homepage = "https://github.com/killercup/rust-sortStringToSql" keywords = ["sql"] description = "Convert Sort Expression to SQL that can be used in 'ORDER BY' statement, e.g. '-aired,id' -> 'aird DESC NULLS LAST, id ASC NULLS LAST'." [dependencies] regex = "0.1.6"
[package] name = "sort_str_to_sql" version = "0.0.3" authors = ["Pascal Hertleif <killercup@gmail.com>"] license = "MIT" readme = "README.md" repository = "https://github.com/killercup/rust-sortStringToSql" homepage = "https://github.com/killercup/rust-sortStringToSql" keywords = ["sql"] description = "Convert Sort Expression to SQL that can be used in 'ORDER BY' statement, e.g. '-aired,id' -> 'aird DESC NULLS LAST, id ASC NULLS LAST'." [dependencies] regex = "0.1.8" regex_macros = "0.1.2"
Update regex, Specify regex_macros Dependency
Update regex, Specify regex_macros Dependency
TOML
mit
killercup/rust-sortStringToSql
toml
## Code Before: [package] name = "sort_str_to_sql" version = "0.0.3" authors = ["Pascal Hertleif <killercup@gmail.com>"] license = "MIT" readme = "README.md" repository = "https://github.com/killercup/rust-sortStringToSql" homepage = "https://github.com/killercup/rust-sortStringToSql" keywords = ["sql"] description = "Convert Sort Expression to SQL that can be used in 'ORDER BY' statement, e.g. '-aired,id' -> 'aird DESC NULLS LAST, id ASC NULLS LAST'." [dependencies] regex = "0.1.6" ## Instruction: Update regex, Specify regex_macros Dependency ## Code After: [package] name = "sort_str_to_sql" version = "0.0.3" authors = ["Pascal Hertleif <killercup@gmail.com>"] license = "MIT" readme = "README.md" repository = "https://github.com/killercup/rust-sortStringToSql" homepage = "https://github.com/killercup/rust-sortStringToSql" keywords = ["sql"] description = "Convert Sort Expression to SQL that can be used in 'ORDER BY' statement, e.g. '-aired,id' -> 'aird DESC NULLS LAST, id ASC NULLS LAST'." [dependencies] regex = "0.1.8" regex_macros = "0.1.2"
7a4a2e8d36e301e358d58f83c4dc1e74b672532f
lib/domain/placeToEat.js
lib/domain/placeToEat.js
"use strict"; // @param {object} _state - live _state see README for how to use. export default function placeToEat(_state) { _state.datesChoosen = _state.datesChoosen || []; let select = (date) => { _state.datesChoosen.push(date); }; return { select, get id() { return _state.id; }, get name() { return _state.name; }, get cuisine() { return _state.cuisine; }, get numOfTimesSelected() { return _state.datesChoosen.length; } }; }
"use strict"; // @param {object} _state - live _state see README for how to use. export default function placeToEat(_state) { _state.datesSelected = _state.datesSelected || []; let select = (date) => { _state.datesSelected.push(date); }; return { select, get id() { return _state.id; }, get name() { return _state.name; }, get cuisine() { return _state.cuisine; }, get numOfTimesSelected() { return _state.datesSelected.length; } }; }
Fix wrong state name for selected dates.
Fix wrong state name for selected dates.
JavaScript
mit
pbouzakis/hexy-ex
javascript
## Code Before: "use strict"; // @param {object} _state - live _state see README for how to use. export default function placeToEat(_state) { _state.datesChoosen = _state.datesChoosen || []; let select = (date) => { _state.datesChoosen.push(date); }; return { select, get id() { return _state.id; }, get name() { return _state.name; }, get cuisine() { return _state.cuisine; }, get numOfTimesSelected() { return _state.datesChoosen.length; } }; } ## Instruction: Fix wrong state name for selected dates. ## Code After: "use strict"; // @param {object} _state - live _state see README for how to use. export default function placeToEat(_state) { _state.datesSelected = _state.datesSelected || []; let select = (date) => { _state.datesSelected.push(date); }; return { select, get id() { return _state.id; }, get name() { return _state.name; }, get cuisine() { return _state.cuisine; }, get numOfTimesSelected() { return _state.datesSelected.length; } }; }
70ca30775159c7d213affcf47d727867e826f4a7
lib/emony/tag_matching/matcher.rb
lib/emony/tag_matching/matcher.rb
require 'emony/tag_matching/rules' require 'emony/tag_matching/cache' module Emony module TagMatching class Matcher def initialize(rules, cache: Cache.new) @rules = rules.map { |rule| rule.kind_of?(Rules::Base) ? rule : Rules.create(rule) } @cache = cache end def match?(tag) !!find(tag) end def find(tag_or_label) @cache.fetch(tag_or_label) do tag = tag_or_label.to_s.gsub(/(:.+)?(@\d+)?\z/, '') # XXX: TODO: use tag_parser r = nil @rules.each do |rule| if rule.match?(tag) r = rule.to_s break end end r end end end end end
require 'emony/tag_matching/rules' require 'emony/tag_matching/cache' require 'emony/tag_parser' module Emony module TagMatching class Matcher def initialize(rules, cache: Cache.new) @rules = rules.map { |rule| rule.kind_of?(Rules::Base) ? rule : Rules.create(rule) } @cache = cache end def match?(tag) !!find(tag) end def find(tag_or_label) tag = TagParser.parse(tag_or_label)[:tag] @cache.fetch(tag) do r = nil @rules.each do |rule| if rule.match?(tag) r = rule.to_s break end end r end end end end end
Use TagParser to earn tag part from label (or tag)
Use TagParser to earn tag part from label (or tag)
Ruby
mit
sorah/emony,sorah/emony
ruby
## Code Before: require 'emony/tag_matching/rules' require 'emony/tag_matching/cache' module Emony module TagMatching class Matcher def initialize(rules, cache: Cache.new) @rules = rules.map { |rule| rule.kind_of?(Rules::Base) ? rule : Rules.create(rule) } @cache = cache end def match?(tag) !!find(tag) end def find(tag_or_label) @cache.fetch(tag_or_label) do tag = tag_or_label.to_s.gsub(/(:.+)?(@\d+)?\z/, '') # XXX: TODO: use tag_parser r = nil @rules.each do |rule| if rule.match?(tag) r = rule.to_s break end end r end end end end end ## Instruction: Use TagParser to earn tag part from label (or tag) ## Code After: require 'emony/tag_matching/rules' require 'emony/tag_matching/cache' require 'emony/tag_parser' module Emony module TagMatching class Matcher def initialize(rules, cache: Cache.new) @rules = rules.map { |rule| rule.kind_of?(Rules::Base) ? rule : Rules.create(rule) } @cache = cache end def match?(tag) !!find(tag) end def find(tag_or_label) tag = TagParser.parse(tag_or_label)[:tag] @cache.fetch(tag) do r = nil @rules.each do |rule| if rule.match?(tag) r = rule.to_s break end end r end end end end end
ad61a935146c34e701b16ebc4262590143e8c702
packages/promise/.npm/package/npm-shrinkwrap.json
packages/promise/.npm/package/npm-shrinkwrap.json
{ "dependencies": { "asap": { "version": "2.0.4", "resolved": "file:node_shrinkwrap/asap-2.0.4.tgz", "from": "asap@>=2.0.3 <2.1.0" }, "meteor-promise": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/meteor-promise/-/meteor-promise-0.7.4.tgz", "from": "meteor-promise@0.7.4" }, "promise": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", "from": "promise@7.1.1" } } }
{ "dependencies": { "asap": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.4.tgz", "from": "asap@>=2.0.3 <2.1.0" }, "meteor-promise": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/meteor-promise/-/meteor-promise-0.7.4.tgz", "from": "meteor-promise@0.7.4" }, "promise": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", "from": "promise@7.1.1" } } }
Fix bizarre faulty shrinkwrapping of asap package.
Fix bizarre faulty shrinkwrapping of asap package.
JSON
mit
Hansoft/meteor,mjmasn/meteor,mjmasn/meteor,Hansoft/meteor,chasertech/meteor,chasertech/meteor,mjmasn/meteor,Hansoft/meteor,chasertech/meteor,chasertech/meteor,chasertech/meteor,Hansoft/meteor,Hansoft/meteor,chasertech/meteor,mjmasn/meteor,Hansoft/meteor,mjmasn/meteor,mjmasn/meteor,chasertech/meteor,Hansoft/meteor,mjmasn/meteor
json
## Code Before: { "dependencies": { "asap": { "version": "2.0.4", "resolved": "file:node_shrinkwrap/asap-2.0.4.tgz", "from": "asap@>=2.0.3 <2.1.0" }, "meteor-promise": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/meteor-promise/-/meteor-promise-0.7.4.tgz", "from": "meteor-promise@0.7.4" }, "promise": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", "from": "promise@7.1.1" } } } ## Instruction: Fix bizarre faulty shrinkwrapping of asap package. ## Code After: { "dependencies": { "asap": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.4.tgz", "from": "asap@>=2.0.3 <2.1.0" }, "meteor-promise": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/meteor-promise/-/meteor-promise-0.7.4.tgz", "from": "meteor-promise@0.7.4" }, "promise": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", "from": "promise@7.1.1" } } }
fbc757281aa6f0bdbba57fb21c89553a7274f58d
billjobs/tests/tests_model.py
billjobs/tests/tests_model.py
from django.test import TestCase, Client from django.contrib.auth.models import User from billjobs.models import Bill, Service from billjobs.settings import BILLJOBS_BILL_ISSUER class BillingTestCase(TestCase): ''' Test billing creation and modification ''' fixtures = ['dev_data.json'] def setUp(self): self.client = Client() self.client.login(username='bill', password='jobs') def tearDown(self): self.client.logout() def test_create_bill_with_one_line(self): ''' Test when user is created a bill with a single service ''' #response = self.client.get('/admin/billjobs/bill/add/', follow_redirect=True) #self.assertEqual(response.status_code, 200) self.assertTrue(True) def test_create_bill(self): user = User.objects.get(username='bill') bill = Bill(user=user) self.assertEqual(bill.user.username, 'bill') self.assertEqual(bill.issuer_address, BILLJOBS_BILL_ISSUER) self.assertEqual(bill.billing_address, user.billing_address)
from django.test import TestCase, Client from django.contrib.auth.models import User from billjobs.models import Bill, Service from billjobs.settings import BILLJOBS_BILL_ISSUER class BillingTestCase(TestCase): ''' Test billing creation and modification ''' fixtures = ['dev_data.json'] def setUp(self): self.client = Client() self.client.login(username='bill', password='jobs') def tearDown(self): self.client.logout() def test_create_bill_with_one_line(self): ''' Test when user is created a bill with a single service ''' #response = self.client.get('/admin/billjobs/bill/add/', follow_redirect=True) #self.assertEqual(response.status_code, 200) self.assertTrue(True) def test_create_bill(self): user = User.objects.get(username='bill') bill = Bill(user=user) bill.save() self.assertEqual(bill.user.username, 'bill') self.assertEqual(bill.issuer_address, BILLJOBS_BILL_ISSUER) self.assertEqual( bill.billing_address, user.userprofile.billing_address)
Save bill fixtures to test recorded values
Save bill fixtures to test recorded values
Python
mit
ioO/billjobs
python
## Code Before: from django.test import TestCase, Client from django.contrib.auth.models import User from billjobs.models import Bill, Service from billjobs.settings import BILLJOBS_BILL_ISSUER class BillingTestCase(TestCase): ''' Test billing creation and modification ''' fixtures = ['dev_data.json'] def setUp(self): self.client = Client() self.client.login(username='bill', password='jobs') def tearDown(self): self.client.logout() def test_create_bill_with_one_line(self): ''' Test when user is created a bill with a single service ''' #response = self.client.get('/admin/billjobs/bill/add/', follow_redirect=True) #self.assertEqual(response.status_code, 200) self.assertTrue(True) def test_create_bill(self): user = User.objects.get(username='bill') bill = Bill(user=user) self.assertEqual(bill.user.username, 'bill') self.assertEqual(bill.issuer_address, BILLJOBS_BILL_ISSUER) self.assertEqual(bill.billing_address, user.billing_address) ## Instruction: Save bill fixtures to test recorded values ## Code After: from django.test import TestCase, Client from django.contrib.auth.models import User from billjobs.models import Bill, Service from billjobs.settings import BILLJOBS_BILL_ISSUER class BillingTestCase(TestCase): ''' Test billing creation and modification ''' fixtures = ['dev_data.json'] def setUp(self): self.client = Client() self.client.login(username='bill', password='jobs') def tearDown(self): self.client.logout() def test_create_bill_with_one_line(self): ''' Test when user is created a bill with a single service ''' #response = self.client.get('/admin/billjobs/bill/add/', follow_redirect=True) #self.assertEqual(response.status_code, 200) self.assertTrue(True) def test_create_bill(self): user = User.objects.get(username='bill') bill = Bill(user=user) bill.save() self.assertEqual(bill.user.username, 'bill') self.assertEqual(bill.issuer_address, BILLJOBS_BILL_ISSUER) self.assertEqual( bill.billing_address, user.userprofile.billing_address)
295e8e430555d85dc19e5b5977e45b84b29be25e
src/main/java/starpunk/GameScreen.java
src/main/java/starpunk/GameScreen.java
package starpunk; import com.badlogic.gdx.Screen; public class GameScreen implements Screen { @Override public void render( final float delta ) { } @Override public void resize( int width, int height ) { } @Override public void show() { } @Override public void hide() { } @Override public void pause() { } @Override public void resume() { } @Override public void dispose() { } }
package starpunk; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL10; public class GameScreen implements Screen { @Override public void render( final float delta ) { Gdx.gl10.glClear( GL10.GL_COLOR_BUFFER_BIT ); } @Override public void resize( int width, int height ) { } @Override public void show() { } @Override public void hide() { } @Override public void pause() { } @Override public void resume() { } @Override public void dispose() { } }
Clear the screen on render
Clear the screen on render
Java
apache-2.0
realityforge-experiments/star-punk,realityforge-experiments/star-punk,realityforge-experiments/star-punk
java
## Code Before: package starpunk; import com.badlogic.gdx.Screen; public class GameScreen implements Screen { @Override public void render( final float delta ) { } @Override public void resize( int width, int height ) { } @Override public void show() { } @Override public void hide() { } @Override public void pause() { } @Override public void resume() { } @Override public void dispose() { } } ## Instruction: Clear the screen on render ## Code After: package starpunk; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL10; public class GameScreen implements Screen { @Override public void render( final float delta ) { Gdx.gl10.glClear( GL10.GL_COLOR_BUFFER_BIT ); } @Override public void resize( int width, int height ) { } @Override public void show() { } @Override public void hide() { } @Override public void pause() { } @Override public void resume() { } @Override public void dispose() { } }
80a940305765a22f96b0c0af0b0b46f1e3f5c377
tests/unit/models/listing/test_generator.py
tests/unit/models/listing/test_generator.py
"""Test praw.models.front.""" from praw.models.listing.generator import ListingGenerator from ... import UnitTest class TestListingGenerator(UnitTest): def test_params_are_not_modified(self): params = {"prawtest": "yes"} generator = ListingGenerator(None, None, params=params) assert "limit" in generator.params assert "limit" not in params assert ("prawtest", "yes") in generator.params.items()
"""Test praw.models.listing.generator.""" from praw.models.listing.generator import ListingGenerator from ... import UnitTest class TestListingGenerator(UnitTest): def test_params_are_not_modified(self): params = {"prawtest": "yes"} generator = ListingGenerator(None, None, params=params) assert "limit" in generator.params assert "limit" not in params assert ("prawtest", "yes") in generator.params.items()
Fix docstring typo in ListingGenerator unit tests
Fix docstring typo in ListingGenerator unit tests
Python
bsd-2-clause
praw-dev/praw,praw-dev/praw
python
## Code Before: """Test praw.models.front.""" from praw.models.listing.generator import ListingGenerator from ... import UnitTest class TestListingGenerator(UnitTest): def test_params_are_not_modified(self): params = {"prawtest": "yes"} generator = ListingGenerator(None, None, params=params) assert "limit" in generator.params assert "limit" not in params assert ("prawtest", "yes") in generator.params.items() ## Instruction: Fix docstring typo in ListingGenerator unit tests ## Code After: """Test praw.models.listing.generator.""" from praw.models.listing.generator import ListingGenerator from ... import UnitTest class TestListingGenerator(UnitTest): def test_params_are_not_modified(self): params = {"prawtest": "yes"} generator = ListingGenerator(None, None, params=params) assert "limit" in generator.params assert "limit" not in params assert ("prawtest", "yes") in generator.params.items()
0ccd1659f8e5b4999191cf1a8a1cd1960517c46c
client/app/js/core/view-switcher.js
client/app/js/core/view-switcher.js
import Model from '../base/model'; export default class ViewSwitcher { constructor(app, element) { this.app = app; this.element = element; this.currentView = null; } switchView(ViewClass, args) { if (this.currentView instanceof ViewClass) { this.currentView.model.replace(args); return; } if (this.currentView) { this.currentView.unbind(); this.element.removeChild(this.currentView.element); } const model = new Model(args); const view = new ViewClass({app: this.app, model: model}); this.element.appendChild(view.element) view.render(); this.currentView = view; } }
import Model from '../base/model'; export default class ViewSwitcher { constructor(app, element) { this.app = app; this.element = element; this.currentView = null; } switchView(ViewClass, args) { if (this.currentView instanceof ViewClass) { this.currentView.model.replace(args); return; } if (this.currentView) { this.currentView.unbind(); this.element.removeChild(this.currentView.element); } const model = new Model(args); const view = new ViewClass({app: this.app, model: model}); view.render(); this.element.appendChild(view.element); this.currentView = view; } }
Append view's element after rendering
Append view's element after rendering This makes no difference, but seem more logical
JavaScript
mit
despawnerer/theatrics,despawnerer/theatrics,despawnerer/theatrics
javascript
## Code Before: import Model from '../base/model'; export default class ViewSwitcher { constructor(app, element) { this.app = app; this.element = element; this.currentView = null; } switchView(ViewClass, args) { if (this.currentView instanceof ViewClass) { this.currentView.model.replace(args); return; } if (this.currentView) { this.currentView.unbind(); this.element.removeChild(this.currentView.element); } const model = new Model(args); const view = new ViewClass({app: this.app, model: model}); this.element.appendChild(view.element) view.render(); this.currentView = view; } } ## Instruction: Append view's element after rendering This makes no difference, but seem more logical ## Code After: import Model from '../base/model'; export default class ViewSwitcher { constructor(app, element) { this.app = app; this.element = element; this.currentView = null; } switchView(ViewClass, args) { if (this.currentView instanceof ViewClass) { this.currentView.model.replace(args); return; } if (this.currentView) { this.currentView.unbind(); this.element.removeChild(this.currentView.element); } const model = new Model(args); const view = new ViewClass({app: this.app, model: model}); view.render(); this.element.appendChild(view.element); this.currentView = view; } }
018e76e5aa2a7ca8652af008a3b658017b3f178d
thefederation/tests/factories.py
thefederation/tests/factories.py
import factory from django.utils.timezone import utc, now from thefederation.models import Node, Platform, Protocol, Stat class PlatformFactory(factory.DjangoModelFactory): name = factory.Faker('word') class Meta: model = Platform class ProtocolFactory(factory.DjangoModelFactory): name = factory.Faker('word') class Meta: model = Protocol class NodeFactory(factory.DjangoModelFactory): host = factory.Sequence(lambda n: 'node%s.local' % n) name = factory.Faker('company') open_signups = factory.Faker('pybool') platform = factory.SubFactory(PlatformFactory) class Meta: model = Node class Params: active = factory.Trait( last_success = factory.Faker('past_datetime', start_date='-1d', tzinfo=utc), ) @factory.post_generation def protocols(self, create, extracted, **kwargs): if not create: return if extracted: self.protocols.add(extracted) return self.protocols.add(ProtocolFactory()) class StatFactory(factory.DjangoModelFactory): date = now().date() node = factory.SubFactory(NodeFactory) users_total = factory.Faker('pyint') users_half_year = factory.Faker('pyint') users_monthly = factory.Faker('pyint') users_weekly = factory.Faker('pyint') class Meta: model = Stat
import factory from django.utils.timezone import utc, now from thefederation.models import Node, Platform, Protocol, Stat class PlatformFactory(factory.DjangoModelFactory): name = factory.Faker('pystr') class Meta: model = Platform class ProtocolFactory(factory.DjangoModelFactory): name = factory.Faker('pystr') class Meta: model = Protocol class NodeFactory(factory.DjangoModelFactory): host = factory.Sequence(lambda n: 'node%s.local' % n) name = factory.Faker('company') open_signups = factory.Faker('pybool') platform = factory.SubFactory(PlatformFactory) class Meta: model = Node class Params: active = factory.Trait( last_success = factory.Faker('past_datetime', start_date='-1d', tzinfo=utc), ) @factory.post_generation def protocols(self, create, extracted, **kwargs): if not create: return if extracted: self.protocols.add(extracted) return self.protocols.add(ProtocolFactory()) class StatFactory(factory.DjangoModelFactory): date = now().date() node = factory.SubFactory(NodeFactory) users_total = factory.Faker('pyint') users_half_year = factory.Faker('pyint') users_monthly = factory.Faker('pyint') users_weekly = factory.Faker('pyint') class Meta: model = Stat
Make factory random names a bit more random to avoid clashes
Make factory random names a bit more random to avoid clashes
Python
agpl-3.0
jaywink/the-federation.info,jaywink/diaspora-hub,jaywink/diaspora-hub,jaywink/diaspora-hub,jaywink/the-federation.info,jaywink/the-federation.info
python
## Code Before: import factory from django.utils.timezone import utc, now from thefederation.models import Node, Platform, Protocol, Stat class PlatformFactory(factory.DjangoModelFactory): name = factory.Faker('word') class Meta: model = Platform class ProtocolFactory(factory.DjangoModelFactory): name = factory.Faker('word') class Meta: model = Protocol class NodeFactory(factory.DjangoModelFactory): host = factory.Sequence(lambda n: 'node%s.local' % n) name = factory.Faker('company') open_signups = factory.Faker('pybool') platform = factory.SubFactory(PlatformFactory) class Meta: model = Node class Params: active = factory.Trait( last_success = factory.Faker('past_datetime', start_date='-1d', tzinfo=utc), ) @factory.post_generation def protocols(self, create, extracted, **kwargs): if not create: return if extracted: self.protocols.add(extracted) return self.protocols.add(ProtocolFactory()) class StatFactory(factory.DjangoModelFactory): date = now().date() node = factory.SubFactory(NodeFactory) users_total = factory.Faker('pyint') users_half_year = factory.Faker('pyint') users_monthly = factory.Faker('pyint') users_weekly = factory.Faker('pyint') class Meta: model = Stat ## Instruction: Make factory random names a bit more random to avoid clashes ## Code After: import factory from django.utils.timezone import utc, now from thefederation.models import Node, Platform, Protocol, Stat class PlatformFactory(factory.DjangoModelFactory): name = factory.Faker('pystr') class Meta: model = Platform class ProtocolFactory(factory.DjangoModelFactory): name = factory.Faker('pystr') class Meta: model = Protocol class NodeFactory(factory.DjangoModelFactory): host = factory.Sequence(lambda n: 'node%s.local' % n) name = factory.Faker('company') open_signups = factory.Faker('pybool') platform = factory.SubFactory(PlatformFactory) class Meta: model = Node class Params: active = factory.Trait( last_success = factory.Faker('past_datetime', start_date='-1d', tzinfo=utc), ) @factory.post_generation def protocols(self, create, extracted, **kwargs): if not create: return if extracted: self.protocols.add(extracted) return self.protocols.add(ProtocolFactory()) class StatFactory(factory.DjangoModelFactory): date = now().date() node = factory.SubFactory(NodeFactory) users_total = factory.Faker('pyint') users_half_year = factory.Faker('pyint') users_monthly = factory.Faker('pyint') users_weekly = factory.Faker('pyint') class Meta: model = Stat
ce7b19ffcd25923d083efb0b2e9f2a01a499556a
spec/numeric_ext_spec.rb
spec/numeric_ext_spec.rb
require 'spec_helper' describe Numeric do describe '#inches' do before :context do clear_defined_inches Dims.define(:inches) end shared_context 'returning expected' do |n| it 'returns the dimension class instance' do expect(n.inches).to be_a(Dims::Inches) expect(n.inches).to eq(Dims::Inches.new(n)) end end context 'with integer value' do include_context 'returning expected', 42 end context 'with float value' do include_context 'returning expected', 3.14 end end end
require 'spec_helper' describe Numeric do describe '#inches' do before :context do clear_defined_inches Dims.define(:inches) end shared_context 'returning expected' do |n| it 'returns the dimension class instance' do expect(n.inches).to be_a(Dims::Inches) expect(n.inches).to eq(Dims::Inches.new(n)) end end shared_context 'having correct precision' do |n| it 'sets default precision without an argument' do expect(n.inches).to have_precision(Dims::DEFAULT_PRECISION) end it 'sets the supplied precision' do expect(n.inches(2)).to have_precision(2) end end context 'with integer value' do n = 42 include_context 'returning expected', n include_context 'having correct precision', n end context 'with float value' do n = Math::PI include_context 'returning expected', n include_context 'having correct precision', n end end end
Add examples for testing precision is set
Add examples for testing precision is set
Ruby
mit
jfairbank/measurb
ruby
## Code Before: require 'spec_helper' describe Numeric do describe '#inches' do before :context do clear_defined_inches Dims.define(:inches) end shared_context 'returning expected' do |n| it 'returns the dimension class instance' do expect(n.inches).to be_a(Dims::Inches) expect(n.inches).to eq(Dims::Inches.new(n)) end end context 'with integer value' do include_context 'returning expected', 42 end context 'with float value' do include_context 'returning expected', 3.14 end end end ## Instruction: Add examples for testing precision is set ## Code After: require 'spec_helper' describe Numeric do describe '#inches' do before :context do clear_defined_inches Dims.define(:inches) end shared_context 'returning expected' do |n| it 'returns the dimension class instance' do expect(n.inches).to be_a(Dims::Inches) expect(n.inches).to eq(Dims::Inches.new(n)) end end shared_context 'having correct precision' do |n| it 'sets default precision without an argument' do expect(n.inches).to have_precision(Dims::DEFAULT_PRECISION) end it 'sets the supplied precision' do expect(n.inches(2)).to have_precision(2) end end context 'with integer value' do n = 42 include_context 'returning expected', n include_context 'having correct precision', n end context 'with float value' do n = Math::PI include_context 'returning expected', n include_context 'having correct precision', n end end end
63aa253e6559d5675f6214ea50c8b34cc2e71906
packages/storefront/addon/templates/components/yebo-details.hbs
packages/storefront/addon/templates/components/yebo-details.hbs
<form> <fieldset> <legend>Order Details</legend> <div class="row"> <div class="small-6 columns"> <h6>Item Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.itemTotal}}</h6> </div> </div> {{#if order.shipmentTotal}} <div class="row"> <div class="small-6 columns"> <h6>Shipping:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.shipmentTotal}}</h6> </div> </div> {{/if}} {{#if order.includedTaxTotal}} <div class="row"> <div class="small-6 columns"> <h6>Tax:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.includedTaxTotal}}</h6> </div> </div> {{/if}} <div class="row"> <div class="small-6 columns"> <h6>Order Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.total}}</h6> </div> </div> </fieldset> </form>
<form> <fieldset> <legend>Order Details</legend> <div class="row"> <div class="small-6 columns"> <h6>Item Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayItemTotal}}</h6> </div> </div> {{#if order.shipmentTotal}} <div class="row"> <div class="small-6 columns"> <h6>Shipping:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayShipmentTotal}}</h6> </div> </div> {{/if}} {{#if order.includedTaxTotal}} <div class="row"> <div class="small-6 columns"> <h6>Tax:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayIncludedTaxTotal}}</h6> </div> </div> {{/if}} <div class="row"> <div class="small-6 columns"> <h6>Order Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayTotal}}</h6> </div> </div> </fieldset> </form>
Change view methods to display
Change view methods to display
Handlebars
mit
yebo-ecommerce/ember,azclick/yebo-ember,azclick/yebo-ember,yebo-ecommerce/ember,yurifrl/yebo-ember,yebo-ecommerce/ember,azclick/yebo-ember,yurifrl/yebo-ember,yurifrl/yebo-ember
handlebars
## Code Before: <form> <fieldset> <legend>Order Details</legend> <div class="row"> <div class="small-6 columns"> <h6>Item Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.itemTotal}}</h6> </div> </div> {{#if order.shipmentTotal}} <div class="row"> <div class="small-6 columns"> <h6>Shipping:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.shipmentTotal}}</h6> </div> </div> {{/if}} {{#if order.includedTaxTotal}} <div class="row"> <div class="small-6 columns"> <h6>Tax:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.includedTaxTotal}}</h6> </div> </div> {{/if}} <div class="row"> <div class="small-6 columns"> <h6>Order Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.total}}</h6> </div> </div> </fieldset> </form> ## Instruction: Change view methods to display ## Code After: <form> <fieldset> <legend>Order Details</legend> <div class="row"> <div class="small-6 columns"> <h6>Item Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayItemTotal}}</h6> </div> </div> {{#if order.shipmentTotal}} <div class="row"> <div class="small-6 columns"> <h6>Shipping:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayShipmentTotal}}</h6> </div> </div> {{/if}} {{#if order.includedTaxTotal}} <div class="row"> <div class="small-6 columns"> <h6>Tax:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayIncludedTaxTotal}}</h6> </div> </div> {{/if}} <div class="row"> <div class="small-6 columns"> <h6>Order Total:</h6> </div> <div class="small-6 columns text-right"> <h6>{{order.displayTotal}}</h6> </div> </div> </fieldset> </form>
2d068388d23bdc19cca53d80f4bf5a4aec3decfb
source/_layouts/post.html
source/_layouts/post.html
--- layout: default slug: single post_class: post-template itemtype: BlogPosting --- <article role="article" class="post" itemprop="articleBody"> {% include post/post-content.html %} </article> <br/> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- ad --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4925097394354650" data-ad-slot="2907365250" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
--- layout: default slug: single post_class: post-template itemtype: BlogPosting --- <article role="article" class="post" itemprop="articleBody"> {% include post/post-content.html %} </article>
Remove another google ads insertion
Remove another google ads insertion
HTML
mit
Winbobob/winbobob.github.io,Winbobob/winbobob.github.io,Winbobob/winbobob.github.io,Winbobob/winbobob.github.io
html
## Code Before: --- layout: default slug: single post_class: post-template itemtype: BlogPosting --- <article role="article" class="post" itemprop="articleBody"> {% include post/post-content.html %} </article> <br/> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- ad --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4925097394354650" data-ad-slot="2907365250" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> ## Instruction: Remove another google ads insertion ## Code After: --- layout: default slug: single post_class: post-template itemtype: BlogPosting --- <article role="article" class="post" itemprop="articleBody"> {% include post/post-content.html %} </article>
b98b8e164c9b45a9cf68debb202560ded49dc4cf
saleor/static/dashboard-next/pages/index.tsx
saleor/static/dashboard-next/pages/index.tsx
import { parse as parseQs } from "qs"; import * as React from "react"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { WindowTitle } from "../components/WindowTitle"; import i18n from "../i18n"; import PageCreate from "./views/PageCreate"; import PageDetailsComponent from "./views/PageDetails"; import PageListComponent, { PageListQueryParams } from "./views/PageList"; const PageList: React.StatelessComponent<RouteComponentProps<any>> = ({ location }) => { const qs = parseQs(location.search.substr(1)); const params: PageListQueryParams = { after: qs.after, before: qs.before }; return <PageListComponent params={params} />; }; const PageDetails: React.StatelessComponent<RouteComponentProps<any>> = ({ match }) => { return <PageDetailsComponent id={match.params.id} />; }; const Component = ({ match }) => ( <> <WindowTitle title={i18n.t("Pages")} /> <Switch> <Route exact path={match.url} component={PageList} /> <Route exact path={`${match.url}/add/`} component={PageCreate} /> <Route exact path={`${match.url}/:id/`} component={PageDetails} /> </Switch> </> ); export default Component;
import { parse as parseQs } from "qs"; import * as React from "react"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { WindowTitle } from "../components/WindowTitle"; import i18n from "../i18n"; import { pageAddUrl, pageListUrl, pageUrl } from "./urls"; import PageCreate from "./views/PageCreate"; import PageDetailsComponent from "./views/PageDetails"; import PageListComponent, { PageListQueryParams } from "./views/PageList"; const PageList: React.StatelessComponent<RouteComponentProps<any>> = ({ location }) => { const qs = parseQs(location.search.substr(1)); const params: PageListQueryParams = { after: qs.after, before: qs.before }; return <PageListComponent params={params} />; }; const PageDetails: React.StatelessComponent<RouteComponentProps<any>> = ({ match }) => { return <PageDetailsComponent id={match.params.id} />; }; const Component = () => ( <> <WindowTitle title={i18n.t("Pages")} /> <Switch> <Route exact path={pageListUrl} component={PageList} /> <Route exact path={pageAddUrl} component={PageCreate} /> <Route exact path={pageUrl(":id")} component={PageDetails} /> </Switch> </> ); export default Component;
Use predefined paths in router
Use predefined paths in router
TypeScript
bsd-3-clause
mociepka/saleor,UITools/saleor,UITools/saleor,UITools/saleor,UITools/saleor,mociepka/saleor,maferelo/saleor,UITools/saleor,maferelo/saleor,maferelo/saleor,mociepka/saleor
typescript
## Code Before: import { parse as parseQs } from "qs"; import * as React from "react"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { WindowTitle } from "../components/WindowTitle"; import i18n from "../i18n"; import PageCreate from "./views/PageCreate"; import PageDetailsComponent from "./views/PageDetails"; import PageListComponent, { PageListQueryParams } from "./views/PageList"; const PageList: React.StatelessComponent<RouteComponentProps<any>> = ({ location }) => { const qs = parseQs(location.search.substr(1)); const params: PageListQueryParams = { after: qs.after, before: qs.before }; return <PageListComponent params={params} />; }; const PageDetails: React.StatelessComponent<RouteComponentProps<any>> = ({ match }) => { return <PageDetailsComponent id={match.params.id} />; }; const Component = ({ match }) => ( <> <WindowTitle title={i18n.t("Pages")} /> <Switch> <Route exact path={match.url} component={PageList} /> <Route exact path={`${match.url}/add/`} component={PageCreate} /> <Route exact path={`${match.url}/:id/`} component={PageDetails} /> </Switch> </> ); export default Component; ## Instruction: Use predefined paths in router ## Code After: import { parse as parseQs } from "qs"; import * as React from "react"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { WindowTitle } from "../components/WindowTitle"; import i18n from "../i18n"; import { pageAddUrl, pageListUrl, pageUrl } from "./urls"; import PageCreate from "./views/PageCreate"; import PageDetailsComponent from "./views/PageDetails"; import PageListComponent, { PageListQueryParams } from "./views/PageList"; const PageList: React.StatelessComponent<RouteComponentProps<any>> = ({ location }) => { const qs = parseQs(location.search.substr(1)); const params: PageListQueryParams = { after: qs.after, before: qs.before }; return <PageListComponent params={params} />; }; const PageDetails: React.StatelessComponent<RouteComponentProps<any>> = ({ match }) => { return <PageDetailsComponent id={match.params.id} />; }; const Component = () => ( <> <WindowTitle title={i18n.t("Pages")} /> <Switch> <Route exact path={pageListUrl} component={PageList} /> <Route exact path={pageAddUrl} component={PageCreate} /> <Route exact path={pageUrl(":id")} component={PageDetails} /> </Switch> </> ); export default Component;
5ca0ba40bba3d41cb5b23afea43b6d14bc4e4899
lib/versionator/detector/phpmyadmin.rb
lib/versionator/detector/phpmyadmin.rb
module Versionator module Detector # Detects {phpMyAdmin}[http://www.phpmyadmin.net]. class Phpmyadmin < Base set :app_name, "phpMyAdmin" set :project_url, "http://www.phpmyadmin.net" set :detect_dirs, %w{js libraries themes} set :detect_files, %w{export.php index.php main.php navigation.php README sql.php themes.php} set :installed_version_file, "README" set :installed_version_regexp, /^\s*Version (.+)$/ set :newest_version_url, 'http://www.phpmyadmin.net/home_page/index.php' set :newest_version_selector, '#body .rightbuttons .downloadbutton .dlname a' set :newest_version_regexp, /^Download (.+)$/ def project_url_for_version(version) if version < Versionomy.parse('3.3.9') "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}-notes.html/view" elsif Versionomy.parse('3.3.9') <= version && version < Versionomy.parse('3.4.7.1') "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}.html/view" else "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}-notes.html/view" end end end end end
module Versionator module Detector # Detects {phpMyAdmin}[http://www.phpmyadmin.net]. class Phpmyadmin < Base set :app_name, "phpMyAdmin" set :project_url, "http://www.phpmyadmin.net" set :detect_dirs, %w{js libraries themes} set :detect_files, %w{export.php index.php navigation.php README sql.php themes.php} set :installed_version_file, "README" set :installed_version_regexp, /^\s*Version (.+)$/ set :newest_version_url, 'http://www.phpmyadmin.net/home_page/index.php' set :newest_version_selector, '#body .rightbuttons .downloadbutton .dlname a' set :newest_version_regexp, /^Download (.+)$/ end end end
Make phpMyAdmin detector detect the upcoming 4.0
Make phpMyAdmin detector detect the upcoming 4.0
Ruby
mit
riyad/versionator,riyad/versionator,riyad/versionator
ruby
## Code Before: module Versionator module Detector # Detects {phpMyAdmin}[http://www.phpmyadmin.net]. class Phpmyadmin < Base set :app_name, "phpMyAdmin" set :project_url, "http://www.phpmyadmin.net" set :detect_dirs, %w{js libraries themes} set :detect_files, %w{export.php index.php main.php navigation.php README sql.php themes.php} set :installed_version_file, "README" set :installed_version_regexp, /^\s*Version (.+)$/ set :newest_version_url, 'http://www.phpmyadmin.net/home_page/index.php' set :newest_version_selector, '#body .rightbuttons .downloadbutton .dlname a' set :newest_version_regexp, /^Download (.+)$/ def project_url_for_version(version) if version < Versionomy.parse('3.3.9') "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}-notes.html/view" elsif Versionomy.parse('3.3.9') <= version && version < Versionomy.parse('3.4.7.1') "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}.html/view" else "http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/#{version}/phpMyAdmin-#{version}-notes.html/view" end end end end end ## Instruction: Make phpMyAdmin detector detect the upcoming 4.0 ## Code After: module Versionator module Detector # Detects {phpMyAdmin}[http://www.phpmyadmin.net]. class Phpmyadmin < Base set :app_name, "phpMyAdmin" set :project_url, "http://www.phpmyadmin.net" set :detect_dirs, %w{js libraries themes} set :detect_files, %w{export.php index.php navigation.php README sql.php themes.php} set :installed_version_file, "README" set :installed_version_regexp, /^\s*Version (.+)$/ set :newest_version_url, 'http://www.phpmyadmin.net/home_page/index.php' set :newest_version_selector, '#body .rightbuttons .downloadbutton .dlname a' set :newest_version_regexp, /^Download (.+)$/ end end end
ecf85264e8122dc978581666300337a22b8be8b5
spec/factories.rb
spec/factories.rb
FactoryGirl.define do factory :franchise do name "MyString" end sequence :email do |n| "user#{n}@example.com" end sequence :name do |n| "name #{n}" end factory :fantasy_league do division "A" year 2016 end factory :fantasy_player do name sports_league end factory :fantasy_team do name end factory :final_ranking do fantasy_player year 2016 trait :finished_first do rank 1 points 8 winnings 25 end end factory :roster_position do fantasy_player fantasy_team end factory :sports_league do name waiver_deadline "2016-11-11" trade_deadline "2016-11-20" championship_date "2017-02-01" end factory :user do email password "password" factory :admin do admin true end end end
FactoryGirl.define do factory :franchise do name "MyString" end sequence :email do |n| "user#{n}@example.com" end sequence :name do |n| "name #{n}" end factory :fantasy_league do division "A" year 2016 end factory :fantasy_player do name sports_league end factory :fantasy_team do name fantasy_league end factory :final_ranking do fantasy_player year 2016 trait :finished_first do rank 1 points 8 winnings 25 end end factory :roster_position do fantasy_player fantasy_team end factory :sports_league do name waiver_deadline "2016-11-11" trade_deadline "2016-11-20" championship_date "2017-02-01" end factory :user do email password "password" factory :admin do admin true end end end
Add fantasy league association to fantasy team factory
Add fantasy league association to fantasy team factory
Ruby
mit
axelclark/the-338-challenge,axelclark/the-338-challenge,axelclark/the-338-challenge,axelclark/the-338-challenge
ruby
## Code Before: FactoryGirl.define do factory :franchise do name "MyString" end sequence :email do |n| "user#{n}@example.com" end sequence :name do |n| "name #{n}" end factory :fantasy_league do division "A" year 2016 end factory :fantasy_player do name sports_league end factory :fantasy_team do name end factory :final_ranking do fantasy_player year 2016 trait :finished_first do rank 1 points 8 winnings 25 end end factory :roster_position do fantasy_player fantasy_team end factory :sports_league do name waiver_deadline "2016-11-11" trade_deadline "2016-11-20" championship_date "2017-02-01" end factory :user do email password "password" factory :admin do admin true end end end ## Instruction: Add fantasy league association to fantasy team factory ## Code After: FactoryGirl.define do factory :franchise do name "MyString" end sequence :email do |n| "user#{n}@example.com" end sequence :name do |n| "name #{n}" end factory :fantasy_league do division "A" year 2016 end factory :fantasy_player do name sports_league end factory :fantasy_team do name fantasy_league end factory :final_ranking do fantasy_player year 2016 trait :finished_first do rank 1 points 8 winnings 25 end end factory :roster_position do fantasy_player fantasy_team end factory :sports_league do name waiver_deadline "2016-11-11" trade_deadline "2016-11-20" championship_date "2017-02-01" end factory :user do email password "password" factory :admin do admin true end end end
88a4e281f8c3cba1d7e32a03cb5547b5ac21aada
lib/letsencrypt_webfaction/errors.rb
lib/letsencrypt_webfaction/errors.rb
module LetsencryptWebfaction class Error < StandardError; end class InvalidConfigValueError < Error; end end
module LetsencryptWebfaction class Error < StandardError; end class InvalidConfigValueError < Error; end class AppExitError < Error; end end
Add error for exiting the application
Add error for exiting the application
Ruby
mit
will-in-wi/letsencrypt-webfaction,will-in-wi/letsencrypt-webfaction
ruby
## Code Before: module LetsencryptWebfaction class Error < StandardError; end class InvalidConfigValueError < Error; end end ## Instruction: Add error for exiting the application ## Code After: module LetsencryptWebfaction class Error < StandardError; end class InvalidConfigValueError < Error; end class AppExitError < Error; end end
c152e5818708f72da73fba0014243c53b39a3a5e
buildout.cfg
buildout.cfg
[buildout] extends = versions.cfg newest = false parts = test develop = . extensions = mr.developer find-links = http://op:x9W3jZ@dist.quintagroup.com/op/ auto-checkout = * [sources] openprocurement.api = git https://github.com/openprocurement/openprocurement.api.git branch=dev openprocurement.tender.core = git https://github.com/openprocurement/openprocurement.tender.core.git branch=dev openprocurement.tender.openeu = git https://github.com/openprocurement/openprocurement.tender.openeu.git branch=dev openprocurement.tender.openua = git https://github.com/openprocurement/openprocurement.tender.openua.git branch=dev openprocurement.tender.belowthreshold = git https://github.com/openprocurement/openprocurement.tender.belowthreshold.git branch=dev esculator = git https://github.com/openprocurement/esculator.git branch=master barbecue = git https://github.com/openprocurement/barbecue.git branch=master [test] recipe = zc.recipe.egg:scripts dependent-scripts = true eggs = openprocurement.tender.esco [test] nose
[buildout] extends = versions.cfg newest = false parts = test develop = . extensions = mr.developer find-links = http://op:x9W3jZ@dist.quintagroup.com/op/ auto-checkout = * [sources] openprocurement.api = git https://github.com/openprocurement/openprocurement.api.git branch=master openprocurement.tender.core = git https://github.com/openprocurement/openprocurement.tender.core.git branch=master openprocurement.tender.openeu = git https://github.com/openprocurement/openprocurement.tender.openeu.git branch=master openprocurement.tender.openua = git https://github.com/openprocurement/openprocurement.tender.openua.git branch=master openprocurement.tender.belowthreshold = git https://github.com/openprocurement/openprocurement.tender.belowthreshold.git branch=master esculator = git https://github.com/openprocurement/esculator.git branch=master barbecue = git https://github.com/openprocurement/barbecue.git branch=master [test] recipe = zc.recipe.egg:scripts dependent-scripts = true eggs = openprocurement.tender.esco [test] nose
Change source branches to master
Change source branches to master
INI
apache-2.0
openprocurement/openprocurement.tender.esco
ini
## Code Before: [buildout] extends = versions.cfg newest = false parts = test develop = . extensions = mr.developer find-links = http://op:x9W3jZ@dist.quintagroup.com/op/ auto-checkout = * [sources] openprocurement.api = git https://github.com/openprocurement/openprocurement.api.git branch=dev openprocurement.tender.core = git https://github.com/openprocurement/openprocurement.tender.core.git branch=dev openprocurement.tender.openeu = git https://github.com/openprocurement/openprocurement.tender.openeu.git branch=dev openprocurement.tender.openua = git https://github.com/openprocurement/openprocurement.tender.openua.git branch=dev openprocurement.tender.belowthreshold = git https://github.com/openprocurement/openprocurement.tender.belowthreshold.git branch=dev esculator = git https://github.com/openprocurement/esculator.git branch=master barbecue = git https://github.com/openprocurement/barbecue.git branch=master [test] recipe = zc.recipe.egg:scripts dependent-scripts = true eggs = openprocurement.tender.esco [test] nose ## Instruction: Change source branches to master ## Code After: [buildout] extends = versions.cfg newest = false parts = test develop = . extensions = mr.developer find-links = http://op:x9W3jZ@dist.quintagroup.com/op/ auto-checkout = * [sources] openprocurement.api = git https://github.com/openprocurement/openprocurement.api.git branch=master openprocurement.tender.core = git https://github.com/openprocurement/openprocurement.tender.core.git branch=master openprocurement.tender.openeu = git https://github.com/openprocurement/openprocurement.tender.openeu.git branch=master openprocurement.tender.openua = git https://github.com/openprocurement/openprocurement.tender.openua.git branch=master openprocurement.tender.belowthreshold = git https://github.com/openprocurement/openprocurement.tender.belowthreshold.git branch=master esculator = git https://github.com/openprocurement/esculator.git branch=master barbecue = git https://github.com/openprocurement/barbecue.git branch=master [test] recipe = zc.recipe.egg:scripts dependent-scripts = true eggs = openprocurement.tender.esco [test] nose
935ae842b67a4f33342e4b0d0fc087d54a6f6a09
.travis.yml
.travis.yml
language: objective-c script: xctool -workspace Demo/NSManagedObject-ANDYNetworking.xcworkspace -scheme NSManagedObject-ANDYNetworking -sdk iphonesimulator build test
language: objective-c script: xctool -workspace Demo/NSManagedObject-ANDYNetworking.xcworkspace -scheme NSManagedObject-ANDYNetworking -sdk iphonesimulator build test before_install: - brew update - brew unlink xctool - brew install xctool
Revert "Changed deploy target, this is not needed anymore"
Revert "Changed deploy target, this is not needed anymore" This reverts commit 16cd43658247489f731b1000d5ede20ee0da7282.
YAML
mit
skywinder/Sync,hyperoslo/Sync,skywinder/Sync,hyperoslo/Sync,nbarnold01/Sync
yaml
## Code Before: language: objective-c script: xctool -workspace Demo/NSManagedObject-ANDYNetworking.xcworkspace -scheme NSManagedObject-ANDYNetworking -sdk iphonesimulator build test ## Instruction: Revert "Changed deploy target, this is not needed anymore" This reverts commit 16cd43658247489f731b1000d5ede20ee0da7282. ## Code After: language: objective-c script: xctool -workspace Demo/NSManagedObject-ANDYNetworking.xcworkspace -scheme NSManagedObject-ANDYNetworking -sdk iphonesimulator build test before_install: - brew update - brew unlink xctool - brew install xctool
c4a988b15e1380347258417e2b41d73dfaed7ac7
Speedcivilization/src/org/fountanio/juancode/out/IPWindow.java
Speedcivilization/src/org/fountanio/juancode/out/IPWindow.java
package org.fountanio.juancode.out; import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.*; import javax.swing.border.Border; import java.awt.event.*; public class IPWindow extends JFrame { private static final long serialVersionUID = 1L; private JButton gotoip = new JButton("Go"); private JButton gotoipf = new JButton("Go"); private Border topborder = BorderFactory.createTitledBorder("Connect"); private Border bottomborder = BorderFactory.createTitledBorder("Friends"); private JTextField ipinput = new JTextField(); private JList<String> friendlist = new JList(); public IPWindow() { super("Speed Civilization"); setSize(400, 340); setLayout(new BorderLayout()); ipinput.setBorder(topborder); gotoip.setBorder(topborder); gotoipf.setBorder(bottomborder); friendlist.setBorder(bottomborder); // actions } }
package org.fountanio.juancode.out; import java.awt.BorderLayout; import javax.swing.*; import javax.swing.border.Border; import org.fountanio.juancode.eng.Engine; import org.lwjgl.openal.AL; import org.lwjgl.opengl.Display; import java.awt.event.*; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.Reader; public class IPWindow extends JFrame { private static final long serialVersionUID = 1L; private JButton gotoip = new JButton("Go"); private JButton gotoipf = new JButton("Go"); private Border topborder = BorderFactory.createTitledBorder("Connect"); private Border bottomborder = BorderFactory.createTitledBorder("Friends"); private JTextField ipinput = new JTextField(); private JList<String> friendlist = new JList(); public IPWindow() { super("Speed Civilization"); setSize(400, 340); setLayout(new BorderLayout()); ipinput.setBorder(topborder); gotoip.setBorder(topborder); gotoipf.setBorder(bottomborder); friendlist.setBorder(bottomborder); // actions } void refreshList() { try { File file = new File(Engine.getAppDataDir() + "\\fountanio\\speedcivilization\\friends.fls"); Reader r = new FileReader(file); BufferedReader reader = new BufferedReader(r); } catch (FileNotFoundException e) { Main.getConsole().errorln("Data directory NOT found!\nPerhaps you may want to restart the game?"); } } }
Set up a few items
Set up a few items
Java
apache-2.0
JavaCakess/Speedcivilization
java
## Code Before: package org.fountanio.juancode.out; import java.awt.BorderLayout; import java.awt.GridLayout; import javax.swing.*; import javax.swing.border.Border; import java.awt.event.*; public class IPWindow extends JFrame { private static final long serialVersionUID = 1L; private JButton gotoip = new JButton("Go"); private JButton gotoipf = new JButton("Go"); private Border topborder = BorderFactory.createTitledBorder("Connect"); private Border bottomborder = BorderFactory.createTitledBorder("Friends"); private JTextField ipinput = new JTextField(); private JList<String> friendlist = new JList(); public IPWindow() { super("Speed Civilization"); setSize(400, 340); setLayout(new BorderLayout()); ipinput.setBorder(topborder); gotoip.setBorder(topborder); gotoipf.setBorder(bottomborder); friendlist.setBorder(bottomborder); // actions } } ## Instruction: Set up a few items ## Code After: package org.fountanio.juancode.out; import java.awt.BorderLayout; import javax.swing.*; import javax.swing.border.Border; import org.fountanio.juancode.eng.Engine; import org.lwjgl.openal.AL; import org.lwjgl.opengl.Display; import java.awt.event.*; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.Reader; public class IPWindow extends JFrame { private static final long serialVersionUID = 1L; private JButton gotoip = new JButton("Go"); private JButton gotoipf = new JButton("Go"); private Border topborder = BorderFactory.createTitledBorder("Connect"); private Border bottomborder = BorderFactory.createTitledBorder("Friends"); private JTextField ipinput = new JTextField(); private JList<String> friendlist = new JList(); public IPWindow() { super("Speed Civilization"); setSize(400, 340); setLayout(new BorderLayout()); ipinput.setBorder(topborder); gotoip.setBorder(topborder); gotoipf.setBorder(bottomborder); friendlist.setBorder(bottomborder); // actions } void refreshList() { try { File file = new File(Engine.getAppDataDir() + "\\fountanio\\speedcivilization\\friends.fls"); Reader r = new FileReader(file); BufferedReader reader = new BufferedReader(r); } catch (FileNotFoundException e) { Main.getConsole().errorln("Data directory NOT found!\nPerhaps you may want to restart the game?"); } } }
6741f6746fe24c91b791ed35048e750d9c52d5ce
scripts/utils.py
scripts/utils.py
import os import logging import datetime from website import settings def format_now(): return datetime.datetime.now().isoformat() def add_file_logger(logger, script_name, suffix=None): _, name = os.path.split(script_name) if suffix is not None: name = '{0}-{1}'.format(name, suffix) file_handler = logging.FileHandler( os.path.join( settings.LOG_PATH, '.'.join([name, format_now(), 'log']) ) ) logger.addHandler(file_handler)
import os import logging import datetime from website import settings def format_now(): return datetime.datetime.now().isoformat() def add_file_logger(logger, script_name, suffix=None): _, name = os.path.split(script_name) name = name.rstrip('c') if suffix is not None: name = '{0}-{1}'.format(name, suffix) file_handler = logging.FileHandler( os.path.join( settings.LOG_PATH, '.'.join([name, format_now(), 'log']) ) ) logger.addHandler(file_handler)
Make script log file names more consistent
Make script log file names more consistent ...by stripping c's of filenames, so that we get script_name.py-timestamp rather than script_name.pyc-timestamp
Python
apache-2.0
caneruguz/osf.io,kch8qx/osf.io,cwisecarver/osf.io,rdhyee/osf.io,crcresearch/osf.io,abought/osf.io,TomBaxter/osf.io,kwierman/osf.io,mluke93/osf.io,alexschiller/osf.io,laurenrevere/osf.io,DanielSBrown/osf.io,mluo613/osf.io,alexschiller/osf.io,crcresearch/osf.io,Nesiehr/osf.io,cslzchen/osf.io,leb2dg/osf.io,caseyrollins/osf.io,monikagrabowska/osf.io,jnayak1/osf.io,aaxelb/osf.io,abought/osf.io,kwierman/osf.io,amyshi188/osf.io,samchrisinger/osf.io,acshi/osf.io,hmoco/osf.io,doublebits/osf.io,DanielSBrown/osf.io,icereval/osf.io,doublebits/osf.io,doublebits/osf.io,chennan47/osf.io,abought/osf.io,brianjgeiger/osf.io,wearpants/osf.io,samchrisinger/osf.io,kch8qx/osf.io,TomHeatwole/osf.io,mluo613/osf.io,kch8qx/osf.io,mluo613/osf.io,rdhyee/osf.io,TomHeatwole/osf.io,brianjgeiger/osf.io,SSJohns/osf.io,cwisecarver/osf.io,RomanZWang/osf.io,chrisseto/osf.io,caseyrollins/osf.io,doublebits/osf.io,caneruguz/osf.io,TomBaxter/osf.io,brianjgeiger/osf.io,jnayak1/osf.io,TomHeatwole/osf.io,binoculars/osf.io,TomBaxter/osf.io,mattclark/osf.io,zachjanicki/osf.io,Nesiehr/osf.io,sloria/osf.io,CenterForOpenScience/osf.io,acshi/osf.io,cwisecarver/osf.io,erinspace/osf.io,adlius/osf.io,leb2dg/osf.io,icereval/osf.io,monikagrabowska/osf.io,monikagrabowska/osf.io,emetsger/osf.io,zachjanicki/osf.io,kwierman/osf.io,zachjanicki/osf.io,mfraezz/osf.io,zamattiac/osf.io,alexschiller/osf.io,wearpants/osf.io,icereval/osf.io,acshi/osf.io,zamattiac/osf.io,crcresearch/osf.io,leb2dg/osf.io,caneruguz/osf.io,mluke93/osf.io,chrisseto/osf.io,SSJohns/osf.io,amyshi188/osf.io,CenterForOpenScience/osf.io,acshi/osf.io,rdhyee/osf.io,mfraezz/osf.io,erinspace/osf.io,hmoco/osf.io,emetsger/osf.io,brianjgeiger/osf.io,cslzchen/osf.io,felliott/osf.io,felliott/osf.io,monikagrabowska/osf.io,mluke93/osf.io,HalcyonChimera/osf.io,samchrisinger/osf.io,zachjanicki/osf.io,adlius/osf.io,aaxelb/osf.io,HalcyonChimera/osf.io,jnayak1/osf.io,wearpants/osf.io,felliott/osf.io,TomHeatwole/osf.io,jnayak1/osf.io,emetsger/osf.io,RomanZWang/osf.io,sloria/osf.io,mfraezz/osf.io,acshi/osf.io,CenterForOpenScience/osf.io,adlius/osf.io,kch8qx/osf.io,mluo613/osf.io,amyshi188/osf.io,binoculars/osf.io,abought/osf.io,binoculars/osf.io,mluke93/osf.io,Nesiehr/osf.io,baylee-d/osf.io,RomanZWang/osf.io,DanielSBrown/osf.io,alexschiller/osf.io,RomanZWang/osf.io,Johnetordoff/osf.io,kwierman/osf.io,cwisecarver/osf.io,caneruguz/osf.io,amyshi188/osf.io,chennan47/osf.io,hmoco/osf.io,chennan47/osf.io,cslzchen/osf.io,aaxelb/osf.io,Johnetordoff/osf.io,SSJohns/osf.io,caseyrollins/osf.io,adlius/osf.io,laurenrevere/osf.io,leb2dg/osf.io,mattclark/osf.io,Nesiehr/osf.io,felliott/osf.io,chrisseto/osf.io,mattclark/osf.io,pattisdr/osf.io,mluo613/osf.io,HalcyonChimera/osf.io,aaxelb/osf.io,sloria/osf.io,DanielSBrown/osf.io,rdhyee/osf.io,laurenrevere/osf.io,wearpants/osf.io,baylee-d/osf.io,HalcyonChimera/osf.io,saradbowman/osf.io,cslzchen/osf.io,SSJohns/osf.io,monikagrabowska/osf.io,mfraezz/osf.io,pattisdr/osf.io,baylee-d/osf.io,emetsger/osf.io,hmoco/osf.io,Johnetordoff/osf.io,pattisdr/osf.io,Johnetordoff/osf.io,saradbowman/osf.io,RomanZWang/osf.io,chrisseto/osf.io,CenterForOpenScience/osf.io,kch8qx/osf.io,samchrisinger/osf.io,alexschiller/osf.io,erinspace/osf.io,zamattiac/osf.io,zamattiac/osf.io,doublebits/osf.io
python
## Code Before: import os import logging import datetime from website import settings def format_now(): return datetime.datetime.now().isoformat() def add_file_logger(logger, script_name, suffix=None): _, name = os.path.split(script_name) if suffix is not None: name = '{0}-{1}'.format(name, suffix) file_handler = logging.FileHandler( os.path.join( settings.LOG_PATH, '.'.join([name, format_now(), 'log']) ) ) logger.addHandler(file_handler) ## Instruction: Make script log file names more consistent ...by stripping c's of filenames, so that we get script_name.py-timestamp rather than script_name.pyc-timestamp ## Code After: import os import logging import datetime from website import settings def format_now(): return datetime.datetime.now().isoformat() def add_file_logger(logger, script_name, suffix=None): _, name = os.path.split(script_name) name = name.rstrip('c') if suffix is not None: name = '{0}-{1}'.format(name, suffix) file_handler = logging.FileHandler( os.path.join( settings.LOG_PATH, '.'.join([name, format_now(), 'log']) ) ) logger.addHandler(file_handler)
ac94aa22a02dce930ecceb8aa0d916b85f49d0aa
README.md
README.md
About ----- This repo is a holding area for recipes destined for a conda-forge feedstock repo. To find out more about conda-forge, see https://github.com/conda-forge/conda-smithy. Build status ------------ [![Circle CI](https://circleci.com/gh/conda-forge/staged-recipes/tree/master.svg?style=svg)](https://circleci.com/gh/conda-forge/staged-recipes/tree/master) [![Build Status](https://travis-ci.org/conda-forge/staged-recipes.svg?branch=master)](https://travis-ci.org/conda-forge/staged-recipes) [![Build status](https://ci.appveyor.com/api/projects/status/3lju80dibkmowsj5/branch/master?svg=true)](https://ci.appveyor.com/project/conda-forge/staged-recipes/branch/master)
About ----- This repo is a holding area for recipes destined for a conda-forge feedstock repo. To find out more about conda-forge, see https://github.com/conda-forge/conda-smithy. [![Join the chat at https://gitter.im/conda-forge/conda-forge.github.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/conda-forge/conda-forge.github.io) Build status ------------ [![Circle CI](https://circleci.com/gh/conda-forge/staged-recipes/tree/master.svg?style=svg)](https://circleci.com/gh/conda-forge/staged-recipes/tree/master) [![Build Status](https://travis-ci.org/conda-forge/staged-recipes.svg?branch=master)](https://travis-ci.org/conda-forge/staged-recipes) [![Build status](https://ci.appveyor.com/api/projects/status/3lju80dibkmowsj5/branch/master?svg=true)](https://ci.appveyor.com/project/conda-forge/staged-recipes/branch/master)
Add gitter link to github landing page
DOC: Add gitter link to github landing page
Markdown
bsd-3-clause
kwilcox/staged-recipes,bmabey/staged-recipes,hadim/staged-recipes,gqmelo/staged-recipes,Savvysherpa/staged-recipes,ocefpaf/staged-recipes,data-exp-lab/staged-recipes,Cashalow/staged-recipes,cpaulik/staged-recipes,SylvainCorlay/staged-recipes,koverholt/staged-recipes,mcs07/staged-recipes,OpenPIV/staged-recipes,pmlandwehr/staged-recipes,basnijholt/staged-recipes,conda-forge/staged-recipes,jakirkham/staged-recipes,pmlandwehr/staged-recipes,koverholt/staged-recipes,rvalieris/staged-recipes,sannykr/staged-recipes,shadowwalkersb/staged-recipes,blowekamp/staged-recipes,SylvainCorlay/staged-recipes,rvalieris/staged-recipes,jjhelmus/staged-recipes,jochym/staged-recipes,nicoddemus/staged-recipes,nicoddemus/staged-recipes,kwilcox/staged-recipes,grlee77/staged-recipes,birdsarah/staged-recipes,gqmelo/staged-recipes,sodre/staged-recipes,johanneskoester/staged-recipes,stuertz/staged-recipes,cpaulik/staged-recipes,barkls/staged-recipes,OpenPIV/staged-recipes,ocefpaf/staged-recipes,vamega/staged-recipes,mcs07/staged-recipes,Savvysherpa/staged-recipes,chohner/staged-recipes,johanneskoester/staged-recipes,blowekamp/staged-recipes,guillochon/staged-recipes,atedstone/staged-recipes,goanpeca/staged-recipes,isuruf/staged-recipes,jerowe/staged-recipes,hbredin/staged-recipes,chrisburr/staged-recipes,valgur/staged-recipes,pstjohn/staged-recipes,chohner/staged-recipes,jochym/staged-recipes,khallock/staged-recipes,rolando-contrib/staged-recipes,basnijholt/staged-recipes,patricksnape/staged-recipes,johannesring/staged-recipes,khallock/staged-recipes,birdsarah/staged-recipes,igortg/staged-recipes,richardotis/staged-recipes,NOAA-ORR-ERD/staged-recipes,caspervdw/staged-recipes,goanpeca/staged-recipes,glemaitre/staged-recipes,bmabey/staged-recipes,mariusvniekerk/staged-recipes,Cashalow/staged-recipes,mcernak/staged-recipes,larray-project/staged-recipes,tylere/staged-recipes,rmcgibbo/staged-recipes,stuertz/staged-recipes,pstjohn/staged-recipes,ReimarBauer/staged-recipes,mariusvniekerk/staged-recipes,mcernak/staged-recipes,hadim/staged-recipes,dschreij/staged-recipes,dschreij/staged-recipes,sannykr/staged-recipes,synapticarbors/staged-recipes,shadowwalkersb/staged-recipes,valgur/staged-recipes,benvandyke/staged-recipes,conda-forge/staged-recipes,ReimarBauer/staged-recipes,dfroger/staged-recipes,igortg/staged-recipes,larray-project/staged-recipes,grlee77/staged-recipes,jakirkham/staged-recipes,hbredin/staged-recipes,tylere/staged-recipes,hajapy/staged-recipes,jjhelmus/staged-recipes,hajapy/staged-recipes,guillochon/staged-recipes,jcb91/staged-recipes,rolando-contrib/staged-recipes,Juanlu001/staged-recipes,data-exp-lab/staged-recipes,caspervdw/staged-recipes,barkls/staged-recipes,planetarypy/staged-recipes,chrisburr/staged-recipes,richardotis/staged-recipes,NOAA-ORR-ERD/staged-recipes,petrushy/staged-recipes,asmeurer/staged-recipes,ceholden/staged-recipes,arokem/staged-recipes,arokem/staged-recipes,dfroger/staged-recipes,benvandyke/staged-recipes,planetarypy/staged-recipes,JohnGreeley/staged-recipes,dharhas/staged-recipes,jerowe/staged-recipes,rmcgibbo/staged-recipes,patricksnape/staged-recipes,dharhas/staged-recipes,scopatz/staged-recipes,asmeurer/staged-recipes,glemaitre/staged-recipes,Juanlu001/staged-recipes,isuruf/staged-recipes,synapticarbors/staged-recipes,sodre/staged-recipes,sodre/staged-recipes,atedstone/staged-recipes,scopatz/staged-recipes,jcb91/staged-recipes,johannesring/staged-recipes,JohnGreeley/staged-recipes,petrushy/staged-recipes,vamega/staged-recipes,ceholden/staged-recipes
markdown
## Code Before: About ----- This repo is a holding area for recipes destined for a conda-forge feedstock repo. To find out more about conda-forge, see https://github.com/conda-forge/conda-smithy. Build status ------------ [![Circle CI](https://circleci.com/gh/conda-forge/staged-recipes/tree/master.svg?style=svg)](https://circleci.com/gh/conda-forge/staged-recipes/tree/master) [![Build Status](https://travis-ci.org/conda-forge/staged-recipes.svg?branch=master)](https://travis-ci.org/conda-forge/staged-recipes) [![Build status](https://ci.appveyor.com/api/projects/status/3lju80dibkmowsj5/branch/master?svg=true)](https://ci.appveyor.com/project/conda-forge/staged-recipes/branch/master) ## Instruction: DOC: Add gitter link to github landing page ## Code After: About ----- This repo is a holding area for recipes destined for a conda-forge feedstock repo. To find out more about conda-forge, see https://github.com/conda-forge/conda-smithy. [![Join the chat at https://gitter.im/conda-forge/conda-forge.github.io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/conda-forge/conda-forge.github.io) Build status ------------ [![Circle CI](https://circleci.com/gh/conda-forge/staged-recipes/tree/master.svg?style=svg)](https://circleci.com/gh/conda-forge/staged-recipes/tree/master) [![Build Status](https://travis-ci.org/conda-forge/staged-recipes.svg?branch=master)](https://travis-ci.org/conda-forge/staged-recipes) [![Build status](https://ci.appveyor.com/api/projects/status/3lju80dibkmowsj5/branch/master?svg=true)](https://ci.appveyor.com/project/conda-forge/staged-recipes/branch/master)
730924633f7c77d6814e987f32667f29959ed0fd
test/AbstractVueTransitionController.spec.ts
test/AbstractVueTransitionController.spec.ts
import {} from 'mocha'; import { getApplication, getTransitionController } from './util/app/App'; describe('AbstractTransitionControllerSpec', () => { // TODO: Create tests });
import { TransitionDirection } from 'transition-controller'; import {} from 'mocha'; import { expect } from 'chai'; import { getMountedComponent } from './util/App'; import { getApplication, getTransitionController } from './util/app/App'; import ChildComponentA from './util/ChildComponentA/ChildComponentA'; import IAbstractTransitionComponent from 'lib/interface/IAbstractTransitionComponent'; describe('AbstractTransitionControllerSpec', () => { describe('getSubTimelineByComponent', () => { it('should get the subtimeline by the component reference', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent('ChildComponentB')) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the component instance', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent(component.$refs.ChildComponentB)) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the element', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent(component.$refs.ChildComponentB.$el)) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the component reference, in the in direction', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent('ChildComponentB', TransitionDirection.IN)) .then(component => expect(component).to.not.be.undefined) }); it('should try to get the subtimeline but fail because it does not exist', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => expect(() => component.transitionController.getSubTimelineByComponent('Foo')).to.throw(Error)) }); }); });
Add tests for the AbstractVueTransitionController
Add tests for the AbstractVueTransitionController
TypeScript
mit
larsvanbraam/vue-transition-component,larsvanbraam/vue-transition-component,larsvanbraam/vue-transition-component
typescript
## Code Before: import {} from 'mocha'; import { getApplication, getTransitionController } from './util/app/App'; describe('AbstractTransitionControllerSpec', () => { // TODO: Create tests }); ## Instruction: Add tests for the AbstractVueTransitionController ## Code After: import { TransitionDirection } from 'transition-controller'; import {} from 'mocha'; import { expect } from 'chai'; import { getMountedComponent } from './util/App'; import { getApplication, getTransitionController } from './util/app/App'; import ChildComponentA from './util/ChildComponentA/ChildComponentA'; import IAbstractTransitionComponent from 'lib/interface/IAbstractTransitionComponent'; describe('AbstractTransitionControllerSpec', () => { describe('getSubTimelineByComponent', () => { it('should get the subtimeline by the component reference', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent('ChildComponentB')) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the component instance', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent(component.$refs.ChildComponentB)) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the element', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent(component.$refs.ChildComponentB.$el)) .then(component => expect(component).to.not.be.undefined) }); it('should get the subtimeline by the component reference, in the in direction', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => component.transitionController.getSubTimelineByComponent('ChildComponentB', TransitionDirection.IN)) .then(component => expect(component).to.not.be.undefined) }); it('should try to get the subtimeline but fail because it does not exist', () => { const component = <IAbstractTransitionComponent>getMountedComponent(ChildComponentA); return component.$_allComponentsReady .then(() => expect(() => component.transitionController.getSubTimelineByComponent('Foo')).to.throw(Error)) }); }); });
257b186eb64638d6638be93633d4db02ce14d390
docker_log_es/storage.py
docker_log_es/storage.py
import socket from os import environ as env from tornado.netutil import Resolver from tornado import gen from tornado.httpclient import AsyncHTTPClient class UnixResolver(Resolver): def initialize(self, resolver): self.resolver = resolver def close(self): self.resolver.close() @gen.coroutine def resolve(self, host, port, *args, **kwargs): scheme, path = Storage.DOCKER.split('://') if host == 'docker': if scheme == 'unix': raise gen.Return([(socket.AF_UNIX, path)]) elif scheme == 'tcp' or scheme == 'http': t = path.split(":") if len(t) > 1: host, port = t port = int(port) else: host, port = t[0], 80 result = yield self.resolver.resolve(host, port, *args, **kwargs) raise gen.Return(result) AsyncHTTPClient.configure( None, resolver=UnixResolver(resolver=Resolver()), max_clients=20000 ) class Storage(object): CONTAINERS = set([]) DOCKER = env.get('DOCKER_HOST', 'unix:///var/run/docker.sock') ELASTICSEARCH = env.get('ELASTICSEARCH', 'http://127.0.0.1:9200') http = AsyncHTTPClient()
import socket from os import environ as env from tornado.netutil import Resolver from tornado import gen from tornado.httpclient import AsyncHTTPClient class UnixResolver(Resolver): def initialize(self, resolver): self.resolver = resolver def close(self): self.resolver.close() @gen.coroutine def resolve(self, host, port, *args, **kwargs): scheme, path = Storage.DOCKER.split('://') if host == 'docker': if scheme == 'unix': raise gen.Return([(socket.AF_UNIX, path)]) elif scheme == 'tcp' or scheme == 'http': t = path.split(":") if len(t) > 1: host, port = t port = int(port) else: host, port = t[0], 80 result = yield self.resolver.resolve(host, port, *args, **kwargs) raise gen.Return(result) AsyncHTTPClient.configure( None, resolver=UnixResolver(resolver=Resolver()), max_clients=20000 ) class Storage(object): CONTAINERS = set([]) DOCKER = env.get('DOCKER_HOST', 'unix:///var/run/docker.sock') ELASTICSEARCH = env.get('ELASTICSEARCH', 'http://elasticsearch:9200') http = AsyncHTTPClient()
Connect to the "elasticsearch" host by default
Connect to the "elasticsearch" host by default
Python
mit
ei-grad/docker-log-es
python
## Code Before: import socket from os import environ as env from tornado.netutil import Resolver from tornado import gen from tornado.httpclient import AsyncHTTPClient class UnixResolver(Resolver): def initialize(self, resolver): self.resolver = resolver def close(self): self.resolver.close() @gen.coroutine def resolve(self, host, port, *args, **kwargs): scheme, path = Storage.DOCKER.split('://') if host == 'docker': if scheme == 'unix': raise gen.Return([(socket.AF_UNIX, path)]) elif scheme == 'tcp' or scheme == 'http': t = path.split(":") if len(t) > 1: host, port = t port = int(port) else: host, port = t[0], 80 result = yield self.resolver.resolve(host, port, *args, **kwargs) raise gen.Return(result) AsyncHTTPClient.configure( None, resolver=UnixResolver(resolver=Resolver()), max_clients=20000 ) class Storage(object): CONTAINERS = set([]) DOCKER = env.get('DOCKER_HOST', 'unix:///var/run/docker.sock') ELASTICSEARCH = env.get('ELASTICSEARCH', 'http://127.0.0.1:9200') http = AsyncHTTPClient() ## Instruction: Connect to the "elasticsearch" host by default ## Code After: import socket from os import environ as env from tornado.netutil import Resolver from tornado import gen from tornado.httpclient import AsyncHTTPClient class UnixResolver(Resolver): def initialize(self, resolver): self.resolver = resolver def close(self): self.resolver.close() @gen.coroutine def resolve(self, host, port, *args, **kwargs): scheme, path = Storage.DOCKER.split('://') if host == 'docker': if scheme == 'unix': raise gen.Return([(socket.AF_UNIX, path)]) elif scheme == 'tcp' or scheme == 'http': t = path.split(":") if len(t) > 1: host, port = t port = int(port) else: host, port = t[0], 80 result = yield self.resolver.resolve(host, port, *args, **kwargs) raise gen.Return(result) AsyncHTTPClient.configure( None, resolver=UnixResolver(resolver=Resolver()), max_clients=20000 ) class Storage(object): CONTAINERS = set([]) DOCKER = env.get('DOCKER_HOST', 'unix:///var/run/docker.sock') ELASTICSEARCH = env.get('ELASTICSEARCH', 'http://elasticsearch:9200') http = AsyncHTTPClient()
8930dd0d676a41267791f4141e7f7293f4a0fb6f
ckanext/nrgi/templates/package/search.html
ckanext/nrgi/templates/package/search.html
{% ckan_extends %} {% block secondary_content %} <div class="filters"> <div> {% for facet in c.facet_titles %} {% if facet == 'question' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% else %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty=True, alternative_url=dataset_type) }} {% endif %} {% endfor %} </div> <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a> </div> {% endblock %}
{% ckan_extends %} {% block secondary_content %} <div class="filters"> <div> {% for facet in c.facet_titles %} {% if facet == 'question' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% elif facet == 'category' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_categories(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% else %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty=True, alternative_url=dataset_type) }} {% endif %} {% endfor %} </div> <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a> </div> {% endblock %}
Use a helper for category facet
Use a helper for category facet
HTML
agpl-3.0
derilinx/ckanext-nrgi-published,derilinx/ckanext-nrgi-published,derilinx/ckanext-nrgi-published
html
## Code Before: {% ckan_extends %} {% block secondary_content %} <div class="filters"> <div> {% for facet in c.facet_titles %} {% if facet == 'question' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% else %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty=True, alternative_url=dataset_type) }} {% endif %} {% endfor %} </div> <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a> </div> {% endblock %} ## Instruction: Use a helper for category facet ## Code After: {% ckan_extends %} {% block secondary_content %} <div class="filters"> <div> {% for facet in c.facet_titles %} {% if facet == 'question' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% elif facet == 'category' %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_categories(facet), name=facet, hide_empty=True, alternative_url=dataset_type) }} {% else %} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty=True, alternative_url=dataset_type) }} {% endif %} {% endfor %} </div> <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a> </div> {% endblock %}
d63993ecd985214723ad6974f2346ce678fa98b2
week-4/count-between/my_solution.rb
week-4/count-between/my_solution.rb
def count_between(list_of_integers, lower_bound, upper_bound) # Your code goes here! end
def count_between(list_of_integers, lower_bound, upper_bound) # Your code goes here! count = 0 i = 0 x = 0 print "array #{list_of_integers}" puts lower_bound puts upper_bound if (list_of_integers.length == 0) return 0 end list_of_integers.each do |x| if (x >= lower_bound and x <= upper_bound) count += 1 puts "count #{count}" end end return count end puts count_between([1,2,3], 0, 100) #puts count_between([-10, 1, 2], 7, 100) #count_between([], -100, 100)
Add 4.6.6 Count the Numbers in a Range
Add 4.6.6 Count the Numbers in a Range
Ruby
mit
kasper341/phase0,kasper341/phase0
ruby
## Code Before: def count_between(list_of_integers, lower_bound, upper_bound) # Your code goes here! end ## Instruction: Add 4.6.6 Count the Numbers in a Range ## Code After: def count_between(list_of_integers, lower_bound, upper_bound) # Your code goes here! count = 0 i = 0 x = 0 print "array #{list_of_integers}" puts lower_bound puts upper_bound if (list_of_integers.length == 0) return 0 end list_of_integers.each do |x| if (x >= lower_bound and x <= upper_bound) count += 1 puts "count #{count}" end end return count end puts count_between([1,2,3], 0, 100) #puts count_between([-10, 1, 2], 7, 100) #count_between([], -100, 100)
41c7d60556dff4be1c5f39cf694470d3af4869f0
qual/iso.py
qual/iso.py
from datetime import date, timedelta def iso_to_gregorian(year, week, weekday): jan_8 = date(year, 1, 8).isocalendar() offset = (week - jan_8[1]) * 7 + (weekday - jan_8[2]) return date(year, 1, 8) + timedelta(days=offset)
from datetime import date, timedelta def iso_to_gregorian(year, week, weekday): if week < 1 or week > 54: raise ValueError("Week number %d is invalid for an ISO calendar." % (week, )) jan_8 = date(year, 1, 8).isocalendar() offset = (week - jan_8[1]) * 7 + (weekday - jan_8[2]) d = date(year, 1, 8) + timedelta(days=offset) if d.isocalendar()[0] != year: raise ValueError("Week number %d is invalid for ISO year %d." % (week, year)) return d
Add checks for a reasonable week number.
Add checks for a reasonable week number.
Python
apache-2.0
jwg4/calexicon,jwg4/qual
python
## Code Before: from datetime import date, timedelta def iso_to_gregorian(year, week, weekday): jan_8 = date(year, 1, 8).isocalendar() offset = (week - jan_8[1]) * 7 + (weekday - jan_8[2]) return date(year, 1, 8) + timedelta(days=offset) ## Instruction: Add checks for a reasonable week number. ## Code After: from datetime import date, timedelta def iso_to_gregorian(year, week, weekday): if week < 1 or week > 54: raise ValueError("Week number %d is invalid for an ISO calendar." % (week, )) jan_8 = date(year, 1, 8).isocalendar() offset = (week - jan_8[1]) * 7 + (weekday - jan_8[2]) d = date(year, 1, 8) + timedelta(days=offset) if d.isocalendar()[0] != year: raise ValueError("Week number %d is invalid for ISO year %d." % (week, year)) return d
27aa6f2f292a632cd092aa7a00e24478c695102c
grub.cfg
grub.cfg
menuentry "Frogimine" { multiboot /boot/mine.bin }
set timeout=2 menuentry "Frogimine" { multiboot /boot/mine.bin }
Add a timeout for GRUB
Add a timeout for GRUB
INI
apache-2.0
IcebergOS/frogimine,satgo1546/frogimine,IcebergOS/Cryst,satgo1546/frogimine,IcebergOS/frogimine
ini
## Code Before: menuentry "Frogimine" { multiboot /boot/mine.bin } ## Instruction: Add a timeout for GRUB ## Code After: set timeout=2 menuentry "Frogimine" { multiboot /boot/mine.bin }
293f22d516da6da03cf4a4f09375d639399718b2
server/controllers/quotes.js
server/controllers/quotes.js
// Login Controller // ================ // Handles routing for logging into the pp 'use strict'; let express = require('express'), QuotesController = express.Router(), QClient = require('q-client'), quotes = new QClient(process.env.QClientID, process.env.QClientSecret); console.log(process.env.QClientID, process.env.QClientSecret); QuotesController.route('/?') // GET /quotes/ // ------------ // Render quoting page .get(function(req, res, next) { res.render('quotes/index', {}); }) // POST /quotes/ // ------------ // Gets quotes .post(function(req, res, next) { quotes.getSubsidy('none', req.body.zip_code, req.body, function(err, results) { if (err) return next(new Error(err)); res.json(JSON.parse(results)); }); }); module.exports = QuotesController;
// Login Controller // ================ // Handles routing for logging into the pp 'use strict'; let express = require('express'), QuotesController = express.Router(), QClient = require('q-client'), quotes = new QClient(process.env.QClientID, process.env.QClientSecret); console.log(process.env.QClientID, process.env.QClientSecret); QuotesController.route('/?') // GET /quotes/ // ------------ // Render quoting page .get(function(req, res, next) { res.render('quotes/index', {}); }) // POST /quotes/ // ------------ // Gets quotes .post(function(req, res, next) { quotes.getSubsidy('none', req.body.zip_code, req.body, function(err, results) { if (err) res.json({status: 'error', message: 'There was an error fetching quotes', details: err}); else res.json(JSON.parse(results)); }); }); module.exports = QuotesController;
Fix whitespace between conditional statement.
style(controllers): Fix whitespace between conditional statement. This commit makes it less likely that V8 will misinterpret where our if/else statement begins and ends. The error and success responses are easier to read for both machines and humans.
JavaScript
mit
billpatrianakos/coverage-web,billpatrianakos/coverage-web,billpatrianakos/coverage-web
javascript
## Code Before: // Login Controller // ================ // Handles routing for logging into the pp 'use strict'; let express = require('express'), QuotesController = express.Router(), QClient = require('q-client'), quotes = new QClient(process.env.QClientID, process.env.QClientSecret); console.log(process.env.QClientID, process.env.QClientSecret); QuotesController.route('/?') // GET /quotes/ // ------------ // Render quoting page .get(function(req, res, next) { res.render('quotes/index', {}); }) // POST /quotes/ // ------------ // Gets quotes .post(function(req, res, next) { quotes.getSubsidy('none', req.body.zip_code, req.body, function(err, results) { if (err) return next(new Error(err)); res.json(JSON.parse(results)); }); }); module.exports = QuotesController; ## Instruction: style(controllers): Fix whitespace between conditional statement. This commit makes it less likely that V8 will misinterpret where our if/else statement begins and ends. The error and success responses are easier to read for both machines and humans. ## Code After: // Login Controller // ================ // Handles routing for logging into the pp 'use strict'; let express = require('express'), QuotesController = express.Router(), QClient = require('q-client'), quotes = new QClient(process.env.QClientID, process.env.QClientSecret); console.log(process.env.QClientID, process.env.QClientSecret); QuotesController.route('/?') // GET /quotes/ // ------------ // Render quoting page .get(function(req, res, next) { res.render('quotes/index', {}); }) // POST /quotes/ // ------------ // Gets quotes .post(function(req, res, next) { quotes.getSubsidy('none', req.body.zip_code, req.body, function(err, results) { if (err) res.json({status: 'error', message: 'There was an error fetching quotes', details: err}); else res.json(JSON.parse(results)); }); }); module.exports = QuotesController;
9c02fcfd2c70299d7bb785e9ac2a299320bf83d1
src/components/ByLine.js
src/components/ByLine.js
/** * ByLine.js * Description: view component that makes up a news item preview * Modules: React and React Native Modules * Dependencies: styles.js SmallText * Author: Tiffany Tse */ //import modules import React, { PropTypes } from 'react'; import { StyleSheet, View } from 'react-native'; import SmallText from './SmallText.js'; import * as globalStyles from '../styles/global.js'; const Byline ({date, author, location}) => ( <View> <View style={style.row}> <SmallText> {date.toLocaleDateString()} </SmallText> <SmallText> {author} </SmallText> </View> </View> {location ? ( <View style={styles.row}> <SmallText style={styles.location}> {location} </SmallText> </View> ) : null} ); //define propTypes Byline.propTypes = { date: PropTypes.instanceOf(Date).isRequired, author: PropTypes.string.isRequired, location: PropTypes.string }; //define custom styles const styles = StyleSheet.create({ row: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 5 }, location: { color: globalStyles.MUTED_COLOR } }); //export Byline export default Byline;
/** * ByLine.js * Description: view component that makes up a news item preview * Modules: React and React Native Modules * Dependencies: styles.js SmallText * Author: Tiffany Tse */ //import modules import React, { PropTypes } from 'react'; import { StyleSheet, View } from 'react-native'; import SmallText from './SmallText.js'; import * as globalStyles from '../styles/global.js'; const Byline ({date, author, location}) => ( <View> <View style={style.row}> <SmallText> {date} </SmallText> <SmallText> {author} </SmallText> </View> </View> {location ? ( <View style={styles.row}> <SmallText style={styles.location}> {location} </SmallText> </View> ) : null} ); //define propTypes Byline.propTypes = { date: PropTypes.string.isRequired, author: PropTypes.string.isRequired, location: PropTypes.string }; //define custom styles const styles = StyleSheet.create({ row: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 5 }, location: { color: globalStyles.MUTED_COLOR } }); //export Byline export default Byline;
Refactor date in Byline to use string
Refactor date in Byline to use string
JavaScript
mit
titse/NYTimes-Clone,titse/NYTimes-Clone,titse/NYTimes-Clone
javascript
## Code Before: /** * ByLine.js * Description: view component that makes up a news item preview * Modules: React and React Native Modules * Dependencies: styles.js SmallText * Author: Tiffany Tse */ //import modules import React, { PropTypes } from 'react'; import { StyleSheet, View } from 'react-native'; import SmallText from './SmallText.js'; import * as globalStyles from '../styles/global.js'; const Byline ({date, author, location}) => ( <View> <View style={style.row}> <SmallText> {date.toLocaleDateString()} </SmallText> <SmallText> {author} </SmallText> </View> </View> {location ? ( <View style={styles.row}> <SmallText style={styles.location}> {location} </SmallText> </View> ) : null} ); //define propTypes Byline.propTypes = { date: PropTypes.instanceOf(Date).isRequired, author: PropTypes.string.isRequired, location: PropTypes.string }; //define custom styles const styles = StyleSheet.create({ row: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 5 }, location: { color: globalStyles.MUTED_COLOR } }); //export Byline export default Byline; ## Instruction: Refactor date in Byline to use string ## Code After: /** * ByLine.js * Description: view component that makes up a news item preview * Modules: React and React Native Modules * Dependencies: styles.js SmallText * Author: Tiffany Tse */ //import modules import React, { PropTypes } from 'react'; import { StyleSheet, View } from 'react-native'; import SmallText from './SmallText.js'; import * as globalStyles from '../styles/global.js'; const Byline ({date, author, location}) => ( <View> <View style={style.row}> <SmallText> {date} </SmallText> <SmallText> {author} </SmallText> </View> </View> {location ? ( <View style={styles.row}> <SmallText style={styles.location}> {location} </SmallText> </View> ) : null} ); //define propTypes Byline.propTypes = { date: PropTypes.string.isRequired, author: PropTypes.string.isRequired, location: PropTypes.string }; //define custom styles const styles = StyleSheet.create({ row: { flexDirection: 'row', justifyContent: 'space-between', marginBottom: 5 }, location: { color: globalStyles.MUTED_COLOR } }); //export Byline export default Byline;
939886e44fa1756f4e70a5ed0fdaf9d5af8c70bf
app/assets/javascripts/components/high_order/conditional.jsx
app/assets/javascripts/components/high_order/conditional.jsx
import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; // Enables DRY and simple conditional components // Renders items when 'show' prop is undefined const Conditional = function (Component) { return createReactClass({ propTypes: { show: PropTypes.bool }, render() { if (this.props.show === undefined || this.props.show) { return (<Component {...this.props} />); } return false; } }); }; export default Conditional;
import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; // Enables DRY and simple conditional components // Renders items when 'show' prop is undefined const Conditional = function (Component) { return createReactClass({ displayName: `Conditional${Component.displayName}`, propTypes: { show: PropTypes.bool }, render() { if (this.props.show === undefined || this.props.show) { return (<Component {...this.props} />); } return false; } }); }; export default Conditional;
Add displayName for Conditional HOC
Add displayName for Conditional HOC
JSX
mit
alpha721/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,alpha721/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,sejalkhatri/WikiEduDashboard,alpha721/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,alpha721/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard
jsx
## Code Before: import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; // Enables DRY and simple conditional components // Renders items when 'show' prop is undefined const Conditional = function (Component) { return createReactClass({ propTypes: { show: PropTypes.bool }, render() { if (this.props.show === undefined || this.props.show) { return (<Component {...this.props} />); } return false; } }); }; export default Conditional; ## Instruction: Add displayName for Conditional HOC ## Code After: import React from 'react'; import createReactClass from 'create-react-class'; import PropTypes from 'prop-types'; // Enables DRY and simple conditional components // Renders items when 'show' prop is undefined const Conditional = function (Component) { return createReactClass({ displayName: `Conditional${Component.displayName}`, propTypes: { show: PropTypes.bool }, render() { if (this.props.show === undefined || this.props.show) { return (<Component {...this.props} />); } return false; } }); }; export default Conditional;
323c92d02c8d5a3d201acc3a1ab1c8be626f22e7
src/services/api/auth.js
src/services/api/auth.js
import axios from '@/services/axios' import authUser from '@/services/api/authUser' let KEY, updateToken, clearToken if (CORDOVA) { const { localStorage } = window KEY = 'token' clearToken = () => { localStorage.removeItem(KEY) clearHeader() } updateToken = token => { localStorage.setItem(KEY, token) setHeader(token) } const initialize = () => { const token = localStorage.getItem(KEY) if (token) setHeader(token) } const setHeader = token => { axios.defaults.headers.common.Authorization = `TOKEN ${token}` } const clearHeader = () => { delete axios.defaults.headers.common.Authorization } initialize() } export default { async login ({ email, password }) { if (CORDOVA) { const { token } = (await axios.post('/api/auth/token/', { username: email, password })).data updateToken(token) return authUser.get() // return the user info to match what the /api/auth/ endpoints returns } else { return (await axios.post('/api/auth/', { email, password })).data } }, async logout () { if (CORDOVA) clearToken() return (await axios.post('/api/auth/logout/', {})).data }, getToken () { if (CORDOVA) { return localStorage.getItem(KEY) } }, }
import axios from '@/services/axios' import authUser from '@/services/api/authUser' let KEY, updateToken, clearToken if (CORDOVA) { const { localStorage } = window KEY = 'token' clearToken = () => { localStorage.removeItem(KEY) clearHeader() } updateToken = token => { localStorage.setItem(KEY, token) setHeader(token) } const initialize = () => { const token = localStorage.getItem(KEY) if (token) setHeader(token) } const setHeader = token => { axios.defaults.headers.common.Authorization = `TOKEN ${token}` } const clearHeader = () => { delete axios.defaults.headers.common.Authorization } initialize() } export default { async login ({ email, password }) { if (CORDOVA) { const { token } = (await axios.post('/api/auth/token/', { username: email, password })).data updateToken(token) return authUser.get() // return the user info to match what the /api/auth/ endpoints returns } else { return (await axios.post('/api/auth/', { email, password })).data } }, async logout () { if (CORDOVA) clearToken() return (await axios.post('/api/auth/logout/', {})).data }, getToken () { if (CORDOVA) { return localStorage.getItem(KEY) } else { throw new Error('getToken() is only available inside cordova environment') } }, }
Throw error if using getToken() outside cordova
Throw error if using getToken() outside cordova
JavaScript
mit
yunity/karrot-frontend,yunity/karrot-frontend,yunity/foodsaving-frontend,yunity/foodsaving-frontend,yunity/foodsaving-frontend,yunity/foodsaving-frontend,yunity/karrot-frontend,yunity/karrot-frontend
javascript
## Code Before: import axios from '@/services/axios' import authUser from '@/services/api/authUser' let KEY, updateToken, clearToken if (CORDOVA) { const { localStorage } = window KEY = 'token' clearToken = () => { localStorage.removeItem(KEY) clearHeader() } updateToken = token => { localStorage.setItem(KEY, token) setHeader(token) } const initialize = () => { const token = localStorage.getItem(KEY) if (token) setHeader(token) } const setHeader = token => { axios.defaults.headers.common.Authorization = `TOKEN ${token}` } const clearHeader = () => { delete axios.defaults.headers.common.Authorization } initialize() } export default { async login ({ email, password }) { if (CORDOVA) { const { token } = (await axios.post('/api/auth/token/', { username: email, password })).data updateToken(token) return authUser.get() // return the user info to match what the /api/auth/ endpoints returns } else { return (await axios.post('/api/auth/', { email, password })).data } }, async logout () { if (CORDOVA) clearToken() return (await axios.post('/api/auth/logout/', {})).data }, getToken () { if (CORDOVA) { return localStorage.getItem(KEY) } }, } ## Instruction: Throw error if using getToken() outside cordova ## Code After: import axios from '@/services/axios' import authUser from '@/services/api/authUser' let KEY, updateToken, clearToken if (CORDOVA) { const { localStorage } = window KEY = 'token' clearToken = () => { localStorage.removeItem(KEY) clearHeader() } updateToken = token => { localStorage.setItem(KEY, token) setHeader(token) } const initialize = () => { const token = localStorage.getItem(KEY) if (token) setHeader(token) } const setHeader = token => { axios.defaults.headers.common.Authorization = `TOKEN ${token}` } const clearHeader = () => { delete axios.defaults.headers.common.Authorization } initialize() } export default { async login ({ email, password }) { if (CORDOVA) { const { token } = (await axios.post('/api/auth/token/', { username: email, password })).data updateToken(token) return authUser.get() // return the user info to match what the /api/auth/ endpoints returns } else { return (await axios.post('/api/auth/', { email, password })).data } }, async logout () { if (CORDOVA) clearToken() return (await axios.post('/api/auth/logout/', {})).data }, getToken () { if (CORDOVA) { return localStorage.getItem(KEY) } else { throw new Error('getToken() is only available inside cordova environment') } }, }
a71a8badd7e7404daec7de325126d22a6192fd19
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this work for information regarding copyright ownership. */ package alluxio.underfs.cosn; import alluxio.Constants; import alluxio.underfs.hdfs.HdfsUnderFileSystemFactory; import alluxio.underfs.UnderFileSystemConfiguration; import javax.annotation.concurrent.ThreadSafe; /** * Factory for creating {@link HdfsUnderFileSystem}. * * It caches created {@link HdfsUnderFileSystem}s, using the scheme and authority pair as the key. */ @ThreadSafe public class CosNUnderFileSystemFactory extends HdfsUnderFileSystemFactory { @Override public boolean supportsPath(String path) { return path != null && path.startsWith(Constants.HEADER_COSN); } @Override public boolean supportsPath(String path, UnderFileSystemConfiguration conf) { return supportsPath(path); } }
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this work for information regarding copyright ownership. */ package alluxio.underfs.cosn; import alluxio.Constants; import alluxio.underfs.hdfs.HdfsUnderFileSystem; import alluxio.underfs.hdfs.HdfsUnderFileSystemFactory; import alluxio.underfs.UnderFileSystemConfiguration; import javax.annotation.concurrent.ThreadSafe; /** * Factory for creating {@link HdfsUnderFileSystem}. * * It caches created {@link HdfsUnderFileSystem}s, using the scheme and authority pair as the key. */ @ThreadSafe public class CosNUnderFileSystemFactory extends HdfsUnderFileSystemFactory { @Override public boolean supportsPath(String path) { return path != null && path.startsWith(Constants.HEADER_COSN); } @Override public boolean supportsPath(String path, UnderFileSystemConfiguration conf) { return supportsPath(path); } }
Add import statement to make link in Java doc workable
[SMALLFIX] Add import statement to make link in Java doc workable Add import statement to make link in Java doc workable pr-link: Alluxio/alluxio#12982 change-id: cid-b74e33f50b1ecfa5d859b2ce3a78929474c81e34
Java
apache-2.0
wwjiang007/alluxio,Alluxio/alluxio,calvinjia/tachyon,Alluxio/alluxio,Alluxio/alluxio,bf8086/alluxio,wwjiang007/alluxio,calvinjia/tachyon,bf8086/alluxio,maobaolong/alluxio,maobaolong/alluxio,calvinjia/tachyon,wwjiang007/alluxio,maobaolong/alluxio,calvinjia/tachyon,bf8086/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,calvinjia/tachyon,wwjiang007/alluxio,Alluxio/alluxio,maobaolong/alluxio,wwjiang007/alluxio,bf8086/alluxio,maobaolong/alluxio,bf8086/alluxio,calvinjia/tachyon,maobaolong/alluxio,calvinjia/tachyon,wwjiang007/alluxio,Alluxio/alluxio,Alluxio/alluxio,wwjiang007/alluxio,bf8086/alluxio,Alluxio/alluxio,bf8086/alluxio,bf8086/alluxio,Alluxio/alluxio,maobaolong/alluxio,Alluxio/alluxio,calvinjia/tachyon,maobaolong/alluxio,Alluxio/alluxio,wwjiang007/alluxio,maobaolong/alluxio,maobaolong/alluxio
java
## Code Before: /* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this work for information regarding copyright ownership. */ package alluxio.underfs.cosn; import alluxio.Constants; import alluxio.underfs.hdfs.HdfsUnderFileSystemFactory; import alluxio.underfs.UnderFileSystemConfiguration; import javax.annotation.concurrent.ThreadSafe; /** * Factory for creating {@link HdfsUnderFileSystem}. * * It caches created {@link HdfsUnderFileSystem}s, using the scheme and authority pair as the key. */ @ThreadSafe public class CosNUnderFileSystemFactory extends HdfsUnderFileSystemFactory { @Override public boolean supportsPath(String path) { return path != null && path.startsWith(Constants.HEADER_COSN); } @Override public boolean supportsPath(String path, UnderFileSystemConfiguration conf) { return supportsPath(path); } } ## Instruction: [SMALLFIX] Add import statement to make link in Java doc workable Add import statement to make link in Java doc workable pr-link: Alluxio/alluxio#12982 change-id: cid-b74e33f50b1ecfa5d859b2ce3a78929474c81e34 ## Code After: /* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied, as more fully set forth in the License. * * See the NOTICE file distributed with this work for information regarding copyright ownership. */ package alluxio.underfs.cosn; import alluxio.Constants; import alluxio.underfs.hdfs.HdfsUnderFileSystem; import alluxio.underfs.hdfs.HdfsUnderFileSystemFactory; import alluxio.underfs.UnderFileSystemConfiguration; import javax.annotation.concurrent.ThreadSafe; /** * Factory for creating {@link HdfsUnderFileSystem}. * * It caches created {@link HdfsUnderFileSystem}s, using the scheme and authority pair as the key. */ @ThreadSafe public class CosNUnderFileSystemFactory extends HdfsUnderFileSystemFactory { @Override public boolean supportsPath(String path) { return path != null && path.startsWith(Constants.HEADER_COSN); } @Override public boolean supportsPath(String path, UnderFileSystemConfiguration conf) { return supportsPath(path); } }
384eab108578d372c9755cf1a1a22738f7cd3dea
app/utils/__init__.py
app/utils/__init__.py
from utils.log import get_log BASE_PATH = '/var/www/images/kernel-ci' LOG = get_log()
from utils.log import get_log BASE_PATH = '/var/www/images/kernel-ci' LOG = get_log() def is_hidden(value): """Verify if a file name or dir name is hidden (starts with .). :param value: The value to verify. :return True or False. """ hidden = False if value.startswith('.'): hidden = True return hidden
Create function to test hidden files/dirs.
Create function to test hidden files/dirs. Change-Id: I67e8d69fc85dfe58e4f127007c73f6888deff3e0
Python
agpl-3.0
joyxu/kernelci-backend,joyxu/kernelci-backend,kernelci/kernelci-backend,joyxu/kernelci-backend,kernelci/kernelci-backend
python
## Code Before: from utils.log import get_log BASE_PATH = '/var/www/images/kernel-ci' LOG = get_log() ## Instruction: Create function to test hidden files/dirs. Change-Id: I67e8d69fc85dfe58e4f127007c73f6888deff3e0 ## Code After: from utils.log import get_log BASE_PATH = '/var/www/images/kernel-ci' LOG = get_log() def is_hidden(value): """Verify if a file name or dir name is hidden (starts with .). :param value: The value to verify. :return True or False. """ hidden = False if value.startswith('.'): hidden = True return hidden
257e8d2e6d1dc3c10eb7fc26c3deacaf4133bd9b
enactiveagents/view/agentevents.py
enactiveagents/view/agentevents.py
import events class AgentEvents(events.EventListener): """ View class """ def __init__(self, file_path): """ :param file_path: The path of the file to output the history to. """ self.file_path = file_path self.preparation_history = dict() self.enaction_history = dict() def notify(self, event): if isinstance(event, events.AgentPreparationEvent): if event.agent not in self.preparation_history: self.preparation_history[event.agent] = [] self.preparation_history[event.agent].append(event.action) elif isinstance(event, events.AgentEnactionEvent): if event.agent not in self.enaction_history: self.enaction_history[event.agent] = [] self.enaction_history[event.agent].append(event.action) elif isinstance(event, events.TickEvent): pass
import events import json class AgentEvents(events.EventListener): """ View class """ def __init__(self, file_path): """ :param file_path: The path of the file to output the history to. """ self.file_path = file_path self.preparation_history = dict() self.enaction_history = dict() def notify(self, event): if isinstance(event, events.AgentPreparationEvent): if str(event.agent) not in self.preparation_history: self.preparation_history[str(event.agent)] = [] self.preparation_history[str(event.agent)].append(str(event.action)) if len(self.preparation_history) > 20: self.preparation_history.pop(0) elif isinstance(event, events.AgentEnactionEvent): if str(event.agent) not in self.enaction_history: self.enaction_history[str(event.agent)] = [] self.enaction_history[str(event.agent)].append(str(event.action)) if len(self.enaction_history) > 20: self.enaction_history.pop(0) elif isinstance(event, events.TickEvent): self.write_to_file() def write_to_file(self): """ Write the history to the traces file. """ d = dict() d["preparation_history"] = self.preparation_history d["enaction_history"] = self.enaction_history with open(self.file_path,'w+') as f: json.dump(d, f)
Write agent events to a traces history file for the website.
Write agent events to a traces history file for the website.
Python
mit
Beskhue/enactive-agents,Beskhue/enactive-agents,Beskhue/enactive-agents
python
## Code Before: import events class AgentEvents(events.EventListener): """ View class """ def __init__(self, file_path): """ :param file_path: The path of the file to output the history to. """ self.file_path = file_path self.preparation_history = dict() self.enaction_history = dict() def notify(self, event): if isinstance(event, events.AgentPreparationEvent): if event.agent not in self.preparation_history: self.preparation_history[event.agent] = [] self.preparation_history[event.agent].append(event.action) elif isinstance(event, events.AgentEnactionEvent): if event.agent not in self.enaction_history: self.enaction_history[event.agent] = [] self.enaction_history[event.agent].append(event.action) elif isinstance(event, events.TickEvent): pass ## Instruction: Write agent events to a traces history file for the website. ## Code After: import events import json class AgentEvents(events.EventListener): """ View class """ def __init__(self, file_path): """ :param file_path: The path of the file to output the history to. """ self.file_path = file_path self.preparation_history = dict() self.enaction_history = dict() def notify(self, event): if isinstance(event, events.AgentPreparationEvent): if str(event.agent) not in self.preparation_history: self.preparation_history[str(event.agent)] = [] self.preparation_history[str(event.agent)].append(str(event.action)) if len(self.preparation_history) > 20: self.preparation_history.pop(0) elif isinstance(event, events.AgentEnactionEvent): if str(event.agent) not in self.enaction_history: self.enaction_history[str(event.agent)] = [] self.enaction_history[str(event.agent)].append(str(event.action)) if len(self.enaction_history) > 20: self.enaction_history.pop(0) elif isinstance(event, events.TickEvent): self.write_to_file() def write_to_file(self): """ Write the history to the traces file. """ d = dict() d["preparation_history"] = self.preparation_history d["enaction_history"] = self.enaction_history with open(self.file_path,'w+') as f: json.dump(d, f)
e02c5727af5b0514b3e64661b0e6d2513ef871f0
genealogio/templates/genealogio/person_snippet_pedigree.html
genealogio/templates/genealogio/person_snippet_pedigree.html
<span style="white-space: nowrap"><a href="{{ person.get_absolute_url }}"><span class="glyphicon glyphicon-info-sign control" style="font-size: 80%; margin-left: 10px; margin-right: 3px;"></a> <a href="{% url target person.pk %}" class="popoverlink-header">{{ person.get_primary_name }}</a></span>
{% if person %} <span style="white-space: nowrap"><a href="{{ person.get_absolute_url }}"><span class="glyphicon glyphicon-info-sign control" style="font-size: 80%; margin-left: 10px; margin-right: 3px;"></a> <a href="{% url target person.pk %}" class="popoverlink-header">{{ person.get_primary_name }}</a></span> {% else %}Unbekannt{% endif %}
Fix bug in descendants view if father/mother unknown.
Fix bug in descendants view if father/mother unknown.
HTML
bsd-3-clause
ugoertz/django-familio,ugoertz/django-familio,ugoertz/django-familio,ugoertz/django-familio
html
## Code Before: <span style="white-space: nowrap"><a href="{{ person.get_absolute_url }}"><span class="glyphicon glyphicon-info-sign control" style="font-size: 80%; margin-left: 10px; margin-right: 3px;"></a> <a href="{% url target person.pk %}" class="popoverlink-header">{{ person.get_primary_name }}</a></span> ## Instruction: Fix bug in descendants view if father/mother unknown. ## Code After: {% if person %} <span style="white-space: nowrap"><a href="{{ person.get_absolute_url }}"><span class="glyphicon glyphicon-info-sign control" style="font-size: 80%; margin-left: 10px; margin-right: 3px;"></a> <a href="{% url target person.pk %}" class="popoverlink-header">{{ person.get_primary_name }}</a></span> {% else %}Unbekannt{% endif %}
86f6191867141d7a7a165b227255d7b4406eb4f4
accounts/utils.py
accounts/utils.py
from django.core.exceptions import ObjectDoesNotExist def get_user_city(user): """Return the user's city. If unavailable, return an empty string.""" # If the profile is absent (i.e. superuser), return None. try: city = user.common_profile.city except ObjectDoesNotExist: city = '' return city def get_user_gender(user): """Return the user's city. If unavailable, return an empty string.""" # If either the profile (i.e. superuser) or the college # (i.e. non-student) are absent, return an empty string. try: gender = user.common_profile.college.gender except (ObjectDoesNotExist, AttributeError): gender = '' return gender
from django.core.exceptions import ObjectDoesNotExist def get_user_city(user): """Return the user's city. If unavailable, return an empty string.""" # If the profile is absent (i.e. superuser), return None. try: city = user.common_profile.city except (ObjectDoesNotExist, AttributeError): city = '' return city def get_user_gender(user): """Return the user's city. If unavailable, return an empty string.""" # If either the profile (i.e. superuser) or the college # (i.e. non-student) are absent, return an empty string. try: gender = user.common_profile.college.gender except (ObjectDoesNotExist, AttributeError): gender = '' return gender
Fix crash on non-logged in users.
Fix crash on non-logged in users.
Python
agpl-3.0
osamak/student-portal,osamak/student-portal,osamak/student-portal,osamak/student-portal,enjaz/enjaz,enjaz/enjaz,enjaz/enjaz,enjaz/enjaz,osamak/student-portal,enjaz/enjaz
python
## Code Before: from django.core.exceptions import ObjectDoesNotExist def get_user_city(user): """Return the user's city. If unavailable, return an empty string.""" # If the profile is absent (i.e. superuser), return None. try: city = user.common_profile.city except ObjectDoesNotExist: city = '' return city def get_user_gender(user): """Return the user's city. If unavailable, return an empty string.""" # If either the profile (i.e. superuser) or the college # (i.e. non-student) are absent, return an empty string. try: gender = user.common_profile.college.gender except (ObjectDoesNotExist, AttributeError): gender = '' return gender ## Instruction: Fix crash on non-logged in users. ## Code After: from django.core.exceptions import ObjectDoesNotExist def get_user_city(user): """Return the user's city. If unavailable, return an empty string.""" # If the profile is absent (i.e. superuser), return None. try: city = user.common_profile.city except (ObjectDoesNotExist, AttributeError): city = '' return city def get_user_gender(user): """Return the user's city. If unavailable, return an empty string.""" # If either the profile (i.e. superuser) or the college # (i.e. non-student) are absent, return an empty string. try: gender = user.common_profile.college.gender except (ObjectDoesNotExist, AttributeError): gender = '' return gender
c9762e591d0865bdedd36e48637dd081162e7319
_posts/2016-05-06-hello-world.md
_posts/2016-05-06-hello-world.md
--- layout: single title: Hello world and welcome! category: Bordel share: false --- ## My first post. Cool, you've stumbled upon my new post! Well.. there is nothing here, so you might as well just go somewhere else.
--- layout: single title: Hello world! category: Bordel share: false --- ## My first post. Cool, you've stumbled upon my new post! Well.. there is nothing here, so you might as well just go somewhere else.
Revert "Testing: making title longer"
Revert "Testing: making title longer" This reverts commit 03d883e860a3c073c9caff29fa6d9573b46502d3.
Markdown
mit
freedom26/freedom26.github.io,freedom26/freedom26.github.io
markdown
## Code Before: --- layout: single title: Hello world and welcome! category: Bordel share: false --- ## My first post. Cool, you've stumbled upon my new post! Well.. there is nothing here, so you might as well just go somewhere else. ## Instruction: Revert "Testing: making title longer" This reverts commit 03d883e860a3c073c9caff29fa6d9573b46502d3. ## Code After: --- layout: single title: Hello world! category: Bordel share: false --- ## My first post. Cool, you've stumbled upon my new post! Well.. there is nothing here, so you might as well just go somewhere else.
1941d4f197be123953a1b3a337e378235e710707
vue-webpack/docker-compose.yml
vue-webpack/docker-compose.yml
version: '2' services: frontend: build: context: . ports: - 8080:8080 volumes: - .:/src
version: '2' services: frontend: build: context: . ports: - 8080:8080 volumes: - .:/src - /src/node_modules
Add separate node_modules mounting to vue example
Add separate node_modules mounting to vue example
YAML
bsd-3-clause
jsalonen/docker-stack-examples,jsalonen/docker-stack-examples
yaml
## Code Before: version: '2' services: frontend: build: context: . ports: - 8080:8080 volumes: - .:/src ## Instruction: Add separate node_modules mounting to vue example ## Code After: version: '2' services: frontend: build: context: . ports: - 8080:8080 volumes: - .:/src - /src/node_modules
4c4f632c6286ebe09b68cb9d48760170f9bbeec2
setup.cfg
setup.cfg
[sdist] formats = gztar [flake8] max-line-length = 120
[sdist] formats = gztar [bdist_wheel] universal=1 [flake8] max-line-length = 120
Configure wheels to be universal by default
Configure wheels to be universal by default
INI
bsd-3-clause
jobec/rfc5424-logging-handler
ini
## Code Before: [sdist] formats = gztar [flake8] max-line-length = 120 ## Instruction: Configure wheels to be universal by default ## Code After: [sdist] formats = gztar [bdist_wheel] universal=1 [flake8] max-line-length = 120
2ef1ab53bf407d857f31504fd8233d9f8f293b4c
lib/WebSocketServer.js
lib/WebSocketServer.js
var ws = require('nodejs-websocket'); /** * Triggers when connections is established * @param connection * @private */ function _onConnection(connection) { connection.on('close', console.log.bind(console.log, 'Connection is closed -')); } /** * Returns Server * @param {String} port * @returns {Object} */ function WebSocketServer(port) { this._setServer(ws.createServer().listen(port)); this._getServer().on('connection', _onConnection); } /** * Get native server * @returns {*} * @private */ WebSocketServer.prototype._getServer = function () { return this._server; }; /** * Set new native server * @param server * @returns {WebSocketServer} * @private */ WebSocketServer.prototype._setServer = function (server) { this._server = server; return this; }; /** * Send message to all connections * @param {*} data * @returns {WebSocketServer} */ WebSocketServer.prototype.send = function (data) { this._getServer().connections.forEach(function (connection) { connection.sendText(JSON.stringify(data)); }); return this; }; module.exports = WebSocketServer;
var ws = require('nodejs-websocket'); /** * Triggers when connections is established * @param connection * @private */ function _onConnection(connection) { console.log('Connections is established'); connection.on('error', console.error.bind(console.error)); connection.on('close', console.log.bind(console.log, 'Connection is closed -')); } /** * Returns Server * @param {String} port * @returns {Object} */ function WebSocketServer(port) { this._setServer(ws.createServer().listen(port)); this._getServer().on('connection', _onConnection); this._getServer().on('error', console.error.bind(console.error)); } /** * Get native server * @returns {*} * @private */ WebSocketServer.prototype._getServer = function () { return this._server; }; /** * Set new native server * @param server * @returns {WebSocketServer} * @private */ WebSocketServer.prototype._setServer = function (server) { this._server = server; return this; }; /** * Send message to all connections * @param {*} data * @returns {WebSocketServer} */ WebSocketServer.prototype.send = function (data) { this._getServer().connections.forEach(function (connection) { connection.sendText(JSON.stringify(data)); }); return this; }; module.exports = WebSocketServer;
Add error listeners to socket server
Add error listeners to socket server
JavaScript
mit
ghaiklor/tessel-vesnasoft-2015
javascript
## Code Before: var ws = require('nodejs-websocket'); /** * Triggers when connections is established * @param connection * @private */ function _onConnection(connection) { connection.on('close', console.log.bind(console.log, 'Connection is closed -')); } /** * Returns Server * @param {String} port * @returns {Object} */ function WebSocketServer(port) { this._setServer(ws.createServer().listen(port)); this._getServer().on('connection', _onConnection); } /** * Get native server * @returns {*} * @private */ WebSocketServer.prototype._getServer = function () { return this._server; }; /** * Set new native server * @param server * @returns {WebSocketServer} * @private */ WebSocketServer.prototype._setServer = function (server) { this._server = server; return this; }; /** * Send message to all connections * @param {*} data * @returns {WebSocketServer} */ WebSocketServer.prototype.send = function (data) { this._getServer().connections.forEach(function (connection) { connection.sendText(JSON.stringify(data)); }); return this; }; module.exports = WebSocketServer; ## Instruction: Add error listeners to socket server ## Code After: var ws = require('nodejs-websocket'); /** * Triggers when connections is established * @param connection * @private */ function _onConnection(connection) { console.log('Connections is established'); connection.on('error', console.error.bind(console.error)); connection.on('close', console.log.bind(console.log, 'Connection is closed -')); } /** * Returns Server * @param {String} port * @returns {Object} */ function WebSocketServer(port) { this._setServer(ws.createServer().listen(port)); this._getServer().on('connection', _onConnection); this._getServer().on('error', console.error.bind(console.error)); } /** * Get native server * @returns {*} * @private */ WebSocketServer.prototype._getServer = function () { return this._server; }; /** * Set new native server * @param server * @returns {WebSocketServer} * @private */ WebSocketServer.prototype._setServer = function (server) { this._server = server; return this; }; /** * Send message to all connections * @param {*} data * @returns {WebSocketServer} */ WebSocketServer.prototype.send = function (data) { this._getServer().connections.forEach(function (connection) { connection.sendText(JSON.stringify(data)); }); return this; }; module.exports = WebSocketServer;
51c0e396e81444cdcad65b0c7eca34fdd25e43b4
README.md
README.md
This project implements [GORM](http://gorm.grails.org/latest/) for the Hibernate 5. For more information see the following links: * [Documentation](http://gorm.grails.org/latest/hibernate/manual) * [API](http://gorm.grails.org/latest/hibernate/api) * [Grails Plugin](https://grails.org/plugins.html#plugin/hibernate) * [![Build Status](https://travis-ci.org/grails/gorm-hibernate5.svg?branch=master)](https://travis-ci.org/grails/gorm-hibernate5) For the current development version see the following links: * [Beta Documentation](http://gorm.grails.org/snapshot/hibernate/manual) * [Beta API](http://gorm.grails.org/snapshot/hibernate/api)
This project implements [GORM](http://gorm.grails.org/latest/) for the Hibernate 5. For more information see the following links: * [Documentation](http://gorm.grails.org/latest/hibernate/manual) * [API](http://gorm.grails.org/latest/hibernate/api) * [Grails Plugin](https://grails.org/plugins.html#plugin/hibernate) * ![Java CI](https://github.com/grails/gorm-hibernate5/workflows/Java%20CI/badge.svg) For the current development version see the following links: * [Beta Documentation](http://gorm.grails.org/snapshot/hibernate/manual) * [Beta API](http://gorm.grails.org/snapshot/hibernate/api)
Replace Travis Badge with Java CI Workflow Badge
Replace Travis Badge with Java CI Workflow Badge
Markdown
apache-2.0
grails/gorm-hibernate5
markdown
## Code Before: This project implements [GORM](http://gorm.grails.org/latest/) for the Hibernate 5. For more information see the following links: * [Documentation](http://gorm.grails.org/latest/hibernate/manual) * [API](http://gorm.grails.org/latest/hibernate/api) * [Grails Plugin](https://grails.org/plugins.html#plugin/hibernate) * [![Build Status](https://travis-ci.org/grails/gorm-hibernate5.svg?branch=master)](https://travis-ci.org/grails/gorm-hibernate5) For the current development version see the following links: * [Beta Documentation](http://gorm.grails.org/snapshot/hibernate/manual) * [Beta API](http://gorm.grails.org/snapshot/hibernate/api) ## Instruction: Replace Travis Badge with Java CI Workflow Badge ## Code After: This project implements [GORM](http://gorm.grails.org/latest/) for the Hibernate 5. For more information see the following links: * [Documentation](http://gorm.grails.org/latest/hibernate/manual) * [API](http://gorm.grails.org/latest/hibernate/api) * [Grails Plugin](https://grails.org/plugins.html#plugin/hibernate) * ![Java CI](https://github.com/grails/gorm-hibernate5/workflows/Java%20CI/badge.svg) For the current development version see the following links: * [Beta Documentation](http://gorm.grails.org/snapshot/hibernate/manual) * [Beta API](http://gorm.grails.org/snapshot/hibernate/api)
71d335c3182ca548b5d293bf860f07390e189008
README.md
README.md
DoGet ===== Composes dockerfiles from traits like the one [here](https://github.com/thekid/gosu). Setup ----- Build the tool as follows: ```sh $ go build github.com/tueftler/doget ``` Usage ----- Start with this in a file called `Dockerfile.in`: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu CMD ["/bin/bash"] ``` Running the tool will give you this: ```sh $ doget > Fetching github.com/thekid/gosu: [####################] 0.74kB Done FROM debian:jessie # Included from github.com/thekid/gosu ENV GOSU_VERSION 1.9 RUN set -x \ && apt-get update && apt-get install -y ... && apt-get purge -y --auto-remove ca-certificates wget CMD ["/bin/bash"] ``` Versioning ---------- Versions can be added to includes just like tags in docker images: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu:v1.0.0 CMD ["/bin/bash"] ``` Including subdirectories ------------------------ The following will include the `Dockerfile` from the subdirectory `7.0` rather than from the repository root. ```dockerfile FROM debian:jessie INCLUDE github.com/docker-library/php/7.0 CMD /bin/bash ```
DoGet ===== Composes dockerfiles from traits like the one [here](https://github.com/thekid/gosu). Setup ----- Build the tool as follows: ```sh $ go build github.com/tueftler/doget ``` Usage ----- Start with this in a file called `Dockerfile.in`: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu CMD ["/bin/bash"] ``` Running the tool will give you this: ```sh $ doget > Fetching github.com/thekid/gosu: [####################] 0.74kB Done FROM debian:jessie # Included from github.com/thekid/gosu ENV GOSU_VERSION 1.9 RUN set -x \ && apt-get update && apt-get install -y ... && apt-get purge -y --auto-remove ca-certificates wget CMD ["/bin/bash"] ``` Versioning ---------- Versions can be added to includes just like tags in docker images: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu:v1.0.0 CMD ["/bin/bash"] ``` Including subdirectories ------------------------ The following will include the `Dockerfile` from the subdirectory `7.0` rather than from the repository root. ```dockerfile FROM debian:jessie INCLUDE github.com/docker-library/php/7.0 RUN docker-php-ext-install bcmath CMD /bin/bash ```
Install "bcmath" extension in example
Install "bcmath" extension in example
Markdown
bsd-3-clause
tueftler/doget,tueftler/doget
markdown
## Code Before: DoGet ===== Composes dockerfiles from traits like the one [here](https://github.com/thekid/gosu). Setup ----- Build the tool as follows: ```sh $ go build github.com/tueftler/doget ``` Usage ----- Start with this in a file called `Dockerfile.in`: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu CMD ["/bin/bash"] ``` Running the tool will give you this: ```sh $ doget > Fetching github.com/thekid/gosu: [####################] 0.74kB Done FROM debian:jessie # Included from github.com/thekid/gosu ENV GOSU_VERSION 1.9 RUN set -x \ && apt-get update && apt-get install -y ... && apt-get purge -y --auto-remove ca-certificates wget CMD ["/bin/bash"] ``` Versioning ---------- Versions can be added to includes just like tags in docker images: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu:v1.0.0 CMD ["/bin/bash"] ``` Including subdirectories ------------------------ The following will include the `Dockerfile` from the subdirectory `7.0` rather than from the repository root. ```dockerfile FROM debian:jessie INCLUDE github.com/docker-library/php/7.0 CMD /bin/bash ``` ## Instruction: Install "bcmath" extension in example ## Code After: DoGet ===== Composes dockerfiles from traits like the one [here](https://github.com/thekid/gosu). Setup ----- Build the tool as follows: ```sh $ go build github.com/tueftler/doget ``` Usage ----- Start with this in a file called `Dockerfile.in`: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu CMD ["/bin/bash"] ``` Running the tool will give you this: ```sh $ doget > Fetching github.com/thekid/gosu: [####################] 0.74kB Done FROM debian:jessie # Included from github.com/thekid/gosu ENV GOSU_VERSION 1.9 RUN set -x \ && apt-get update && apt-get install -y ... && apt-get purge -y --auto-remove ca-certificates wget CMD ["/bin/bash"] ``` Versioning ---------- Versions can be added to includes just like tags in docker images: ```dockerfile FROM debian:jessie INCLUDE github.com/thekid/gosu:v1.0.0 CMD ["/bin/bash"] ``` Including subdirectories ------------------------ The following will include the `Dockerfile` from the subdirectory `7.0` rather than from the repository root. ```dockerfile FROM debian:jessie INCLUDE github.com/docker-library/php/7.0 RUN docker-php-ext-install bcmath CMD /bin/bash ```
98ca37ed174e281542df2f1026a298387845b524
rmgpy/tools/data/generate/input.py
rmgpy/tools/data/generate/input.py
database( thermoLibraries = ['primaryThermoLibrary'], reactionLibraries = [], seedMechanisms = [], kineticsDepositories = 'default', #this section lists possible reaction families to find reactioons with kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'], kineticsEstimator = 'rate rules', ) # List all species you want reactions between species( label='ethane', reactive=True, structure=SMILES("CC"), ) species( label='H', reactive=True, structure=SMILES("[H]"), ) species( label='butane', reactive=True, structure=SMILES("CCCC"), ) # you must list reactor conditions (though this may not effect the output) simpleReactor( temperature=(650,'K'), pressure=(10.0,'bar'), initialMoleFractions={ "ethane": 1, }, terminationConversion={ 'butane': .99, }, terminationTime=(40,'s'), )
database( thermoLibraries = ['primaryThermoLibrary'], reactionLibraries = [], seedMechanisms = [], kineticsDepositories = 'default', #this section lists possible reaction families to find reactioons with kineticsFamilies = ['R_Recombination'], kineticsEstimator = 'rate rules', ) # List all species you want reactions between species( label='Propyl', reactive=True, structure=SMILES("CC[CH3]"), ) species( label='H', reactive=True, structure=SMILES("[H]"), ) # you must list reactor conditions (though this may not effect the output) simpleReactor( temperature=(650,'K'), pressure=(10.0,'bar'), initialMoleFractions={ "Propyl": 1, }, terminationConversion={ 'Propyl': .99, }, terminationTime=(40,'s'), )
Cut down on the loading of families in the normal GenerateReactionsTest
Cut down on the loading of families in the normal GenerateReactionsTest Change generateReactions input reactant to propyl
Python
mit
nickvandewiele/RMG-Py,nyee/RMG-Py,pierrelb/RMG-Py,chatelak/RMG-Py,pierrelb/RMG-Py,nickvandewiele/RMG-Py,chatelak/RMG-Py,nyee/RMG-Py
python
## Code Before: database( thermoLibraries = ['primaryThermoLibrary'], reactionLibraries = [], seedMechanisms = [], kineticsDepositories = 'default', #this section lists possible reaction families to find reactioons with kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'], kineticsEstimator = 'rate rules', ) # List all species you want reactions between species( label='ethane', reactive=True, structure=SMILES("CC"), ) species( label='H', reactive=True, structure=SMILES("[H]"), ) species( label='butane', reactive=True, structure=SMILES("CCCC"), ) # you must list reactor conditions (though this may not effect the output) simpleReactor( temperature=(650,'K'), pressure=(10.0,'bar'), initialMoleFractions={ "ethane": 1, }, terminationConversion={ 'butane': .99, }, terminationTime=(40,'s'), ) ## Instruction: Cut down on the loading of families in the normal GenerateReactionsTest Change generateReactions input reactant to propyl ## Code After: database( thermoLibraries = ['primaryThermoLibrary'], reactionLibraries = [], seedMechanisms = [], kineticsDepositories = 'default', #this section lists possible reaction families to find reactioons with kineticsFamilies = ['R_Recombination'], kineticsEstimator = 'rate rules', ) # List all species you want reactions between species( label='Propyl', reactive=True, structure=SMILES("CC[CH3]"), ) species( label='H', reactive=True, structure=SMILES("[H]"), ) # you must list reactor conditions (though this may not effect the output) simpleReactor( temperature=(650,'K'), pressure=(10.0,'bar'), initialMoleFractions={ "Propyl": 1, }, terminationConversion={ 'Propyl': .99, }, terminationTime=(40,'s'), )
d2702efedfda3ffdb944a8118befc5d6409e8741
lib/visualizer.js
lib/visualizer.js
'use strict' const visualizeBoardS = Symbol('visualizeBoard') const visualizeOrdersS = Symbol('visualizeOrders') module.exports = class Visualizer { constructor (mapSvg, visualizeBoard, visualizeOrders) { this.map = mapSvg this[visualizeBoardS] = visualizeBoard this[visualizeOrdersS] = visualizeOrders } visualizeBoard (board) { this[visualizeBoardS](board, this.map) } visualizeOrders (orders) { this[visualizeOrdersS](orders, this.map) } addEventListenerForUnits (event, listener) { const units = this.map.querySelectorAll('.vizdip-unit') if (units) { [...units].forEach(u => u.addEventListener(event, listener)) return () => [...units].forEach(u => u.removeEventListener(event, listener)) } else { return () => {} } } addEventListenerForProvinces (event, listener) { const provinces = this.map.querySelectorAll('.vizdip-province') if (provinces) { [...provinces].forEach(p => p.addEventListener(event, listener)) return () => [...provinces].forEach(p => p.removeEventListener(event, listener)) } else { return () => {} } } }
'use strict' module.exports = class Visualizer { constructor (mapSvg, visualizeBoard, visualizeOrders) { this.map = mapSvg } visualizeBoard (board) { } visualizeOrders (orders) { } addEventListenerForUnits (event, listener) { const units = this.map.querySelectorAll('.vizdip-unit') if (units) { [...units].forEach(u => u.addEventListener(event, listener)) return () => [...units].forEach(u => u.removeEventListener(event, listener)) } else { return () => {} } } addEventListenerForProvinces (event, listener) { const provinces = this.map.querySelectorAll('.vizdip-province') if (provinces) { [...provinces].forEach(p => p.addEventListener(event, listener)) return () => [...provinces].forEach(p => p.removeEventListener(event, listener)) } else { return () => {} } } }
Fix the signature of Visualizer
Fix the signature of Visualizer ref #1
JavaScript
mit
KarmaMi/vizdip,KarmaMi/vizdip,KarmaMi/vizdip,KarmaMi/vizdip
javascript
## Code Before: 'use strict' const visualizeBoardS = Symbol('visualizeBoard') const visualizeOrdersS = Symbol('visualizeOrders') module.exports = class Visualizer { constructor (mapSvg, visualizeBoard, visualizeOrders) { this.map = mapSvg this[visualizeBoardS] = visualizeBoard this[visualizeOrdersS] = visualizeOrders } visualizeBoard (board) { this[visualizeBoardS](board, this.map) } visualizeOrders (orders) { this[visualizeOrdersS](orders, this.map) } addEventListenerForUnits (event, listener) { const units = this.map.querySelectorAll('.vizdip-unit') if (units) { [...units].forEach(u => u.addEventListener(event, listener)) return () => [...units].forEach(u => u.removeEventListener(event, listener)) } else { return () => {} } } addEventListenerForProvinces (event, listener) { const provinces = this.map.querySelectorAll('.vizdip-province') if (provinces) { [...provinces].forEach(p => p.addEventListener(event, listener)) return () => [...provinces].forEach(p => p.removeEventListener(event, listener)) } else { return () => {} } } } ## Instruction: Fix the signature of Visualizer ref #1 ## Code After: 'use strict' module.exports = class Visualizer { constructor (mapSvg, visualizeBoard, visualizeOrders) { this.map = mapSvg } visualizeBoard (board) { } visualizeOrders (orders) { } addEventListenerForUnits (event, listener) { const units = this.map.querySelectorAll('.vizdip-unit') if (units) { [...units].forEach(u => u.addEventListener(event, listener)) return () => [...units].forEach(u => u.removeEventListener(event, listener)) } else { return () => {} } } addEventListenerForProvinces (event, listener) { const provinces = this.map.querySelectorAll('.vizdip-province') if (provinces) { [...provinces].forEach(p => p.addEventListener(event, listener)) return () => [...provinces].forEach(p => p.removeEventListener(event, listener)) } else { return () => {} } } }
b80c3ced94070b9162ffc7b21250043722b6b0f8
cluster/juju/layers/kubernetes-worker/registry-configmap.yaml
cluster/juju/layers/kubernetes-worker/registry-configmap.yaml
apiVersion: v1 data: body-size: 1024m kind: ConfigMap metadata: name: nginx-load-balancer-conf
apiVersion: v1 data: proxy-body-size: 1024m kind: ConfigMap metadata: name: nginx-configuration namespace: ingress-nginx-kubernetes-worker
Fix name, namespace and data in registry action.
Fix name, namespace and data in registry action. https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/721
YAML
apache-2.0
juju-solutions/kubernetes,juju-solutions/kubernetes,juju-solutions/kubernetes,juju-solutions/kubernetes,juju-solutions/kubernetes,juju-solutions/kubernetes
yaml
## Code Before: apiVersion: v1 data: body-size: 1024m kind: ConfigMap metadata: name: nginx-load-balancer-conf ## Instruction: Fix name, namespace and data in registry action. https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/721 ## Code After: apiVersion: v1 data: proxy-body-size: 1024m kind: ConfigMap metadata: name: nginx-configuration namespace: ingress-nginx-kubernetes-worker
43821ba4e535f75b47d8b652949165d35a7bb1dc
traveller/App/Navigation/NavigationRouter.js
traveller/App/Navigation/NavigationRouter.js
import React, { Component } from 'react' import { Scene, Router } from 'react-native-router-flux' import Styles from './Styles/NavigationContainerStyle' import NavigationDrawer from './NavigationDrawer' import NavItems from './NavItems' import CustomNavBar from '../Components/CustomNavBar' // Screens Identified By The Router import PresentationScreen from '../Containers/PresentationScreen' import LoginScreen from '../Containers/LoginScreen' import DeviceInfoScreen from '../Containers/DeviceInfoScreen' import TravContainer from '../Containers/TravContainer' // Documentation: https://github.com/aksonov/react-native-router-flux class NavigationRouter extends Component { render () { return ( <Router> <Scene key='drawer' component={NavigationDrawer} open={false}> <Scene key='drawerChildrenWrapper' navigationBarStyle={Styles.navBar} titleStyle={Styles.title} leftButtonIconStyle={Styles.leftButton} rightButtonTextStyle={Styles.rightButton}> <Scene initial key='presentationScreen' component={TravContainer} title='Traveller' renderLeftButton={NavItems.hamburgerButton} /> </Scene> </Scene> </Router> ) } } export default NavigationRouter
import React, { Component } from 'react' import { Scene, Router } from 'react-native-router-flux' import Styles from './Styles/NavigationContainerStyle' import NavigationDrawer from './NavigationDrawer' import NavItems from './NavItems' import CustomNavBar from '../Components/CustomNavBar' // Screens Identified By The Router import PresentationScreen from '../Containers/PresentationScreen' import LoginScreen from '../Containers/LoginScreen' import DeviceInfoScreen from '../Containers/DeviceInfoScreen' import TravContainer from '../Containers/TravContainer' // Documentation: https://github.com/aksonov/react-native-router-flux class NavigationRouter extends Component { render () { return ( <Router> <Scene key='drawer' component={NavigationDrawer} open={false}> <Scene key='drawerChildrenWrapper' navigationBarStyle={Styles.navBar} titleStyle={Styles.title} leftButtonIconStyle={Styles.leftButton} rightButtonTextStyle={Styles.rightButton}> <Scene initial key='presentationScreen' component={TravContainer} title='Traveller' renderLeftButton={NavItems.hamburgerButton} /> <Scene key='travContainer' component={TravContainer} title='Traveller' /> <Scene key='deviceInfo' component={DeviceInfoScreen} title='Device Info' navBar={CustomNavBar} /> </Scene> </Scene> </Router> ) } } export default NavigationRouter
Add scene items for hamburger menu
Add scene items for hamburger menu
JavaScript
mit
Alabaster-Aardvarks/traveller,Alabaster-Aardvarks/traveller,Alabaster-Aardvarks/traveller,Alabaster-Aardvarks/traveller,Alabaster-Aardvarks/traveller
javascript
## Code Before: import React, { Component } from 'react' import { Scene, Router } from 'react-native-router-flux' import Styles from './Styles/NavigationContainerStyle' import NavigationDrawer from './NavigationDrawer' import NavItems from './NavItems' import CustomNavBar from '../Components/CustomNavBar' // Screens Identified By The Router import PresentationScreen from '../Containers/PresentationScreen' import LoginScreen from '../Containers/LoginScreen' import DeviceInfoScreen from '../Containers/DeviceInfoScreen' import TravContainer from '../Containers/TravContainer' // Documentation: https://github.com/aksonov/react-native-router-flux class NavigationRouter extends Component { render () { return ( <Router> <Scene key='drawer' component={NavigationDrawer} open={false}> <Scene key='drawerChildrenWrapper' navigationBarStyle={Styles.navBar} titleStyle={Styles.title} leftButtonIconStyle={Styles.leftButton} rightButtonTextStyle={Styles.rightButton}> <Scene initial key='presentationScreen' component={TravContainer} title='Traveller' renderLeftButton={NavItems.hamburgerButton} /> </Scene> </Scene> </Router> ) } } export default NavigationRouter ## Instruction: Add scene items for hamburger menu ## Code After: import React, { Component } from 'react' import { Scene, Router } from 'react-native-router-flux' import Styles from './Styles/NavigationContainerStyle' import NavigationDrawer from './NavigationDrawer' import NavItems from './NavItems' import CustomNavBar from '../Components/CustomNavBar' // Screens Identified By The Router import PresentationScreen from '../Containers/PresentationScreen' import LoginScreen from '../Containers/LoginScreen' import DeviceInfoScreen from '../Containers/DeviceInfoScreen' import TravContainer from '../Containers/TravContainer' // Documentation: https://github.com/aksonov/react-native-router-flux class NavigationRouter extends Component { render () { return ( <Router> <Scene key='drawer' component={NavigationDrawer} open={false}> <Scene key='drawerChildrenWrapper' navigationBarStyle={Styles.navBar} titleStyle={Styles.title} leftButtonIconStyle={Styles.leftButton} rightButtonTextStyle={Styles.rightButton}> <Scene initial key='presentationScreen' component={TravContainer} title='Traveller' renderLeftButton={NavItems.hamburgerButton} /> <Scene key='travContainer' component={TravContainer} title='Traveller' /> <Scene key='deviceInfo' component={DeviceInfoScreen} title='Device Info' navBar={CustomNavBar} /> </Scene> </Scene> </Router> ) } } export default NavigationRouter
bd29128bfb2e0e5163778bbfc17affdc152a13fe
example_drops.yml
example_drops.yml
--- :drops: - :name: Avatars :url: https://gist.github.com/065d1dc1906c153e4edc :description: Adds avatars to friendly faces - :name: Cloud App :url: https://gist.github.com/431f7c803ddb0d751a40 :description: Adds support for Cloud.ly links - :name: Flickr :url: https://gist.github.com/6dcf1366df5203157fda :description: Adds support for Flickr links - :name: Instagram :url: https://gist.github.com/3258692 :description: Instagram support
--- :drops: - :name: Avatars :url: https://gist.github.com/065d1dc1906c153e4edc :description: Adds avatars to friendly faces - :name: Cloud App :url: https://gist.github.com/431f7c803ddb0d751a40 :description: Adds support for Cloud.ly links - :name: Flickr :url: https://gist.github.com/6dcf1366df5203157fda :description: Adds support for Flickr links - :name: Instagram :url: https://gist.github.com/3258692 :description: Instagram support - :name: SpeakerDeck :url: https://gist.github.com/4377786 :description: Adds support for SpeakerDeck links
Add SpeakerDeck gist to example drops.
Add SpeakerDeck gist to example drops.
YAML
mit
pjaspers/gasoline,pjaspers/gasoline
yaml
## Code Before: --- :drops: - :name: Avatars :url: https://gist.github.com/065d1dc1906c153e4edc :description: Adds avatars to friendly faces - :name: Cloud App :url: https://gist.github.com/431f7c803ddb0d751a40 :description: Adds support for Cloud.ly links - :name: Flickr :url: https://gist.github.com/6dcf1366df5203157fda :description: Adds support for Flickr links - :name: Instagram :url: https://gist.github.com/3258692 :description: Instagram support ## Instruction: Add SpeakerDeck gist to example drops. ## Code After: --- :drops: - :name: Avatars :url: https://gist.github.com/065d1dc1906c153e4edc :description: Adds avatars to friendly faces - :name: Cloud App :url: https://gist.github.com/431f7c803ddb0d751a40 :description: Adds support for Cloud.ly links - :name: Flickr :url: https://gist.github.com/6dcf1366df5203157fda :description: Adds support for Flickr links - :name: Instagram :url: https://gist.github.com/3258692 :description: Instagram support - :name: SpeakerDeck :url: https://gist.github.com/4377786 :description: Adds support for SpeakerDeck links
aaa751e2784c8b51c27f68bd15290707561081f2
features/step_definitions/audit_trail_steps.rb
features/step_definitions/audit_trail_steps.rb
Given(/^a document that has gone through many changes$/) do begin_drafting_publication('An frequently changed publication') click_on "Save and continue" assert page.has_content?('An frequently changed publication') @the_publication = Publication.find_by(title: 'An frequently changed publication') # fake it states = %w[draft submitted published superseded] 50.times do |i| Timecop.travel i.hours.from_now do @the_publication.versions.create event: 'update', whodunnit: @user, state: states.sample end end end When(/^I visit the document to see the audit trail$/) do visit admin_publication_path(@the_publication) end Then(/^I can traverse the audit trail with newer and older navigation$/) do click_on 'History' within '#history' do assert page.has_css?('.version', count: 30) assert page.has_no_link? '<< Newer' find('.audit-trail-nav', match: :first).click_link('Older >>') end within '#history' do # there are 51 versions (1 real via create 50 fake from step above) assert page.has_css?('.version', count: 21) assert page.has_no_link? 'Older >>' find('.audit-trail-nav', match: :first).click_link('<< Newer') end within '#history' do assert page.has_css?('.version', count: 30) end end
Given(/^a document that has gone through many changes$/) do begin_drafting_publication('An frequently changed publication') click_on "Save and continue" assert page.has_content?('An frequently changed publication') @the_publication = Publication.find_by(title: 'An frequently changed publication') # fake it states = %w[draft submitted published] 50.times do |i| Timecop.travel i.hours.from_now do @the_publication.versions.create event: 'update', whodunnit: @user, state: states.sample end end end When(/^I visit the document to see the audit trail$/) do visit admin_publication_path(@the_publication) end Then(/^I can traverse the audit trail with newer and older navigation$/) do click_on 'History' within '#history' do assert page.has_css?('.version', count: 30) assert page.has_no_link? '<< Newer' find('.audit-trail-nav', match: :first).click_link('Older >>') end within '#history' do # there are 51 versions (1 real via create 50 fake from step above) assert page.has_css?('.version', count: 21) assert page.has_no_link? 'Older >>' find('.audit-trail-nav', match: :first).click_link('<< Newer') end within '#history' do assert page.has_css?('.version', count: 30) end end
Fix broken Audit Trail feature test
Fix broken Audit Trail feature test
Ruby
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
ruby
## Code Before: Given(/^a document that has gone through many changes$/) do begin_drafting_publication('An frequently changed publication') click_on "Save and continue" assert page.has_content?('An frequently changed publication') @the_publication = Publication.find_by(title: 'An frequently changed publication') # fake it states = %w[draft submitted published superseded] 50.times do |i| Timecop.travel i.hours.from_now do @the_publication.versions.create event: 'update', whodunnit: @user, state: states.sample end end end When(/^I visit the document to see the audit trail$/) do visit admin_publication_path(@the_publication) end Then(/^I can traverse the audit trail with newer and older navigation$/) do click_on 'History' within '#history' do assert page.has_css?('.version', count: 30) assert page.has_no_link? '<< Newer' find('.audit-trail-nav', match: :first).click_link('Older >>') end within '#history' do # there are 51 versions (1 real via create 50 fake from step above) assert page.has_css?('.version', count: 21) assert page.has_no_link? 'Older >>' find('.audit-trail-nav', match: :first).click_link('<< Newer') end within '#history' do assert page.has_css?('.version', count: 30) end end ## Instruction: Fix broken Audit Trail feature test ## Code After: Given(/^a document that has gone through many changes$/) do begin_drafting_publication('An frequently changed publication') click_on "Save and continue" assert page.has_content?('An frequently changed publication') @the_publication = Publication.find_by(title: 'An frequently changed publication') # fake it states = %w[draft submitted published] 50.times do |i| Timecop.travel i.hours.from_now do @the_publication.versions.create event: 'update', whodunnit: @user, state: states.sample end end end When(/^I visit the document to see the audit trail$/) do visit admin_publication_path(@the_publication) end Then(/^I can traverse the audit trail with newer and older navigation$/) do click_on 'History' within '#history' do assert page.has_css?('.version', count: 30) assert page.has_no_link? '<< Newer' find('.audit-trail-nav', match: :first).click_link('Older >>') end within '#history' do # there are 51 versions (1 real via create 50 fake from step above) assert page.has_css?('.version', count: 21) assert page.has_no_link? 'Older >>' find('.audit-trail-nav', match: :first).click_link('<< Newer') end within '#history' do assert page.has_css?('.version', count: 30) end end
8326af7ee68417e9327f8b7d273fe24ef8f490ca
vagga.yaml
vagga.yaml
commands: make: !Command description: Build rotor library container: ubuntu run: [cargo, build] test: !Command description: Run unit tests container: ubuntu run: [cargo, test] cargo: !Command description: Run any cargo command container: ubuntu run: [cargo] doc: !Command description: Build sphinx documentation container: docs run: [make, html] work-dir: doc epilog: | -------------------------------------------------- Documentation is now at doc/_build/html/index.html doc-api: !Command description: Build API documentation (rustdoc) container: ubuntu run: [cargo, doc] epilog: | --------------------------------------------------- Documentation is now at target/doc/rotor/index.html containers: ubuntu: setup: - !Ubuntu trusty - !UbuntuUniverse ~ - !Install [make, checkinstall, wget, ca-certificates, libssl-dev, build-essential] - !TarInstall url: "http://static.rust-lang.org/dist/rust-1.5.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" environ: HOME: /work/target docs: setup: - !Alpine v3.2 - !Install [alpine-base, py-sphinx, make] - !Py2Requirements doc/requirements.txt
commands: make: !Command description: Build rotor library container: ubuntu run: [cargo, build] test: !Command description: Run unit tests container: ubuntu run: [cargo, test] cargo: !Command description: Run any cargo command container: ubuntu run: [cargo] containers: ubuntu: setup: - !Ubuntu trusty - !UbuntuUniverse ~ - !Install [make, checkinstall, wget, ca-certificates, libssl-dev, build-essential] - !TarInstall url: "http://static.rust-lang.org/dist/rust-1.6.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" environ: HOME: /work/target
Upgrade rust to 1.6, remove unused doc container
Upgrade rust to 1.6, remove unused doc container
YAML
mit
tailhook/rotor-stream
yaml
## Code Before: commands: make: !Command description: Build rotor library container: ubuntu run: [cargo, build] test: !Command description: Run unit tests container: ubuntu run: [cargo, test] cargo: !Command description: Run any cargo command container: ubuntu run: [cargo] doc: !Command description: Build sphinx documentation container: docs run: [make, html] work-dir: doc epilog: | -------------------------------------------------- Documentation is now at doc/_build/html/index.html doc-api: !Command description: Build API documentation (rustdoc) container: ubuntu run: [cargo, doc] epilog: | --------------------------------------------------- Documentation is now at target/doc/rotor/index.html containers: ubuntu: setup: - !Ubuntu trusty - !UbuntuUniverse ~ - !Install [make, checkinstall, wget, ca-certificates, libssl-dev, build-essential] - !TarInstall url: "http://static.rust-lang.org/dist/rust-1.5.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" environ: HOME: /work/target docs: setup: - !Alpine v3.2 - !Install [alpine-base, py-sphinx, make] - !Py2Requirements doc/requirements.txt ## Instruction: Upgrade rust to 1.6, remove unused doc container ## Code After: commands: make: !Command description: Build rotor library container: ubuntu run: [cargo, build] test: !Command description: Run unit tests container: ubuntu run: [cargo, test] cargo: !Command description: Run any cargo command container: ubuntu run: [cargo] containers: ubuntu: setup: - !Ubuntu trusty - !UbuntuUniverse ~ - !Install [make, checkinstall, wget, ca-certificates, libssl-dev, build-essential] - !TarInstall url: "http://static.rust-lang.org/dist/rust-1.6.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" environ: HOME: /work/target
19bdd4ba1804e0a309be072ae31dfbe92bc44afa
migrations/6_update_dates_existing_published_projects.js
migrations/6_update_dates_existing_published_projects.js
'use strict'; exports.up = function (knex, Promise) { return knex('publishedProjects') .whereNull('date_created') .orWhereNull('date_updated') .select('id', 'date_created', 'date_updated') .then(function(publishedProjects) { return Promise.map(publishedProjects, function(publishedProject) { var publishedProjectId = publishedProject.id; var dateUpdated = publishedProject.date_updated; // For existing published projects that have been updated since // date tracking has been added, they will have a date_updated // but not a date_created. Set the date_created to the date_updated if (dateUpdated) { return knex('publishedProjects').update('date_created', dateUpdated) .where('id', publishedProjectId); } // For existing published projects that have not been updated // since date tracking has been added - set both the dates // to the date_updated of the corresponding project return knex('projects') .where('published_id', publishedProjectId).select('date_updated') .then(function(projects) { var date = projects[0].date_updated; // Update the date_created and date_updated fields in the // publishedProjects table return knex('publishedProjects') .where('id', publishedProjectId) .update({ date_created: date, date_updated: date }); }); }); }); }; exports.down = function (knex, Promise) { // This is an "update once" migration so that we do not lose data return Promise.resolve(); };
'use strict'; exports.up = function (knex, Promise) { return knex('publishedProjects') .whereNull('date_created') .orWhereNull('date_updated') .select('id', 'date_created', 'date_updated') .then(function(publishedProjects) { if (!publishedProjects) { return; } return Promise.map(publishedProjects, function(publishedProject) { var publishedProjectId = publishedProject.id; var dateUpdated = publishedProject.date_updated; // For existing published projects that have been updated since // date tracking has been added, they will have a date_updated // but not a date_created. Set the date_created to the date_updated if (dateUpdated) { return knex('publishedProjects').update('date_created', dateUpdated) .where('id', publishedProjectId); } // For existing published projects that have not been updated // since date tracking has been added - set both the dates // to the date_updated of the corresponding project return knex('projects') .where('published_id', publishedProjectId).select('date_updated') .then(function(projects) { if (!projects || !projects[0]) { return; } var date = projects[0].date_updated; // Update the date_created and date_updated fields in the // publishedProjects table return knex('publishedProjects') .where('id', publishedProjectId) .update({ date_created: date, date_updated: date }); }); }); }); }; exports.down = function (knex, Promise) { // This is an "update once" migration so that we do not lose data return Promise.resolve(); };
Make sure that the select queries return records otherwise, bail
Make sure that the select queries return records otherwise, bail
JavaScript
mpl-2.0
sedge/publish.webmaker.org,sedge/publish.webmaker.org,mozilla/publish.webmaker.org,Pomax/publish.webmaker.org,Pomax/publish.webmaker.org,mozilla/publish.webmaker.org,mozilla/publish.webmaker.org,sedge/publish.webmaker.org,Pomax/publish.webmaker.org
javascript
## Code Before: 'use strict'; exports.up = function (knex, Promise) { return knex('publishedProjects') .whereNull('date_created') .orWhereNull('date_updated') .select('id', 'date_created', 'date_updated') .then(function(publishedProjects) { return Promise.map(publishedProjects, function(publishedProject) { var publishedProjectId = publishedProject.id; var dateUpdated = publishedProject.date_updated; // For existing published projects that have been updated since // date tracking has been added, they will have a date_updated // but not a date_created. Set the date_created to the date_updated if (dateUpdated) { return knex('publishedProjects').update('date_created', dateUpdated) .where('id', publishedProjectId); } // For existing published projects that have not been updated // since date tracking has been added - set both the dates // to the date_updated of the corresponding project return knex('projects') .where('published_id', publishedProjectId).select('date_updated') .then(function(projects) { var date = projects[0].date_updated; // Update the date_created and date_updated fields in the // publishedProjects table return knex('publishedProjects') .where('id', publishedProjectId) .update({ date_created: date, date_updated: date }); }); }); }); }; exports.down = function (knex, Promise) { // This is an "update once" migration so that we do not lose data return Promise.resolve(); }; ## Instruction: Make sure that the select queries return records otherwise, bail ## Code After: 'use strict'; exports.up = function (knex, Promise) { return knex('publishedProjects') .whereNull('date_created') .orWhereNull('date_updated') .select('id', 'date_created', 'date_updated') .then(function(publishedProjects) { if (!publishedProjects) { return; } return Promise.map(publishedProjects, function(publishedProject) { var publishedProjectId = publishedProject.id; var dateUpdated = publishedProject.date_updated; // For existing published projects that have been updated since // date tracking has been added, they will have a date_updated // but not a date_created. Set the date_created to the date_updated if (dateUpdated) { return knex('publishedProjects').update('date_created', dateUpdated) .where('id', publishedProjectId); } // For existing published projects that have not been updated // since date tracking has been added - set both the dates // to the date_updated of the corresponding project return knex('projects') .where('published_id', publishedProjectId).select('date_updated') .then(function(projects) { if (!projects || !projects[0]) { return; } var date = projects[0].date_updated; // Update the date_created and date_updated fields in the // publishedProjects table return knex('publishedProjects') .where('id', publishedProjectId) .update({ date_created: date, date_updated: date }); }); }); }); }; exports.down = function (knex, Promise) { // This is an "update once" migration so that we do not lose data return Promise.resolve(); };
30fedd32bc9e3ba3ec60c8235f63ab32bd9af0f7
config/prisons/GTI-gartree.yml
config/prisons/GTI-gartree.yml
--- name: Gartree nomis_id: GTI address: - Gallow Field Rd - Market Harborough - Leicestershire - LE16 7RP email: socialvisits.gartree@hmps.gsi.gov.uk enabled: true estate: Gartree phone: 01858 426 727 slots: tue: - 1400-1600 thu: - 1400-1600 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2014-04-18 - 2014-04-21 - 2014-12-25 - 2014-12-26 - 2015-01-01
--- name: Gartree nomis_id: GTI address: - Gallow Field Rd - Market Harborough - Leicestershire - LE16 7RP email: socialvisits.gartree@hmps.gsi.gov.uk enabled: true estate: Gartree phone: 01858 426 727 slot_anomalies: 2015-12-28: - 1400-1600 slots: tue: - 1400-1600 thu: - 1400-1600 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2014-04-18 - 2014-04-21 - 2014-12-25 - 2014-12-26 - 2015-01-01 - 2015-12-25 - 2015-12-26 - 2016-01-01
Update Gartree Christmas visit slots
Update Gartree Christmas visit slots Unbookable: - Christmas Day - Boxing Day - New Year's Day Slot anomaly: - 28th Dec 1400-1600
YAML
mit
ministryofjustice/prison-visits,ministryofjustice/prison-visits,ministryofjustice/prison-visits
yaml
## Code Before: --- name: Gartree nomis_id: GTI address: - Gallow Field Rd - Market Harborough - Leicestershire - LE16 7RP email: socialvisits.gartree@hmps.gsi.gov.uk enabled: true estate: Gartree phone: 01858 426 727 slots: tue: - 1400-1600 thu: - 1400-1600 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2014-04-18 - 2014-04-21 - 2014-12-25 - 2014-12-26 - 2015-01-01 ## Instruction: Update Gartree Christmas visit slots Unbookable: - Christmas Day - Boxing Day - New Year's Day Slot anomaly: - 28th Dec 1400-1600 ## Code After: --- name: Gartree nomis_id: GTI address: - Gallow Field Rd - Market Harborough - Leicestershire - LE16 7RP email: socialvisits.gartree@hmps.gsi.gov.uk enabled: true estate: Gartree phone: 01858 426 727 slot_anomalies: 2015-12-28: - 1400-1600 slots: tue: - 1400-1600 thu: - 1400-1600 sat: - 1400-1600 sun: - 1400-1600 unbookable: - 2014-04-18 - 2014-04-21 - 2014-12-25 - 2014-12-26 - 2015-01-01 - 2015-12-25 - 2015-12-26 - 2016-01-01
b6dcb4029d3bf4b402a6874c942c9e4a105f2a62
tracker_project/tracker_project/urls.py
tracker_project/tracker_project/urls.py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns( '', url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('django.contrib.auth.urls')), url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}, name='logout'), url(r'^', 'tracker_project.views.home', name='home') )
from django.conf.urls import patterns, include, url from django.contrib import admin from django.core.urlresolvers import reverse_lazy urlpatterns = patterns( '', url(r'^$', 'tracker_project.views.home', name='home'), url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('django.contrib.auth.urls')), url( r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': reverse_lazy('home')}, name='logout' ), url(r'^tracker/', include('tracker.urls', 'tracker')), )
Fix login and logout URLs
Fix login and logout URLs
Python
mit
abarto/tracker_project,abarto/tracker_project,abarto/tracker_project,vivek8943/tracker_project,vivek8943/tracker_project,vivek8943/tracker_project
python
## Code Before: from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns( '', url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('django.contrib.auth.urls')), url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}, name='logout'), url(r'^', 'tracker_project.views.home', name='home') ) ## Instruction: Fix login and logout URLs ## Code After: from django.conf.urls import patterns, include, url from django.contrib import admin from django.core.urlresolvers import reverse_lazy urlpatterns = patterns( '', url(r'^$', 'tracker_project.views.home', name='home'), url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('django.contrib.auth.urls')), url( r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': reverse_lazy('home')}, name='logout' ), url(r'^tracker/', include('tracker.urls', 'tracker')), )
15ed94891a088ce43f6e249e1b9c5442067727d1
apps/about/components/education_examples/index.jade
apps/about/components/education_examples/index.jade
.AboutPosts.PageNarrowBreakout a.AboutPost( href='https://www.are.na/lucy-siyao-liu/orthographies' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/1289511/large_e9633fb2e60304030f3bb831b30450b1.jpg")' ) h3.Type strong Orthographies p.Type | A fall 2017 course taught by Lucy Siyao Liu in MIT’s Arts, Culture, and Technology program. Exercises, projects, and references are all clearly organized into channels within the class channel. a.AboutPost( href='https://www.are.na/sfpc-arena/channels') .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/785357/large_a9b4ce77bf21d4fc76bb197462d7fdd9")' ) h3.Type strong SFPC p.Type | SFPC is an artist-run school in New York that explores intersections of code, design, hardware and theory. The school maintains channels for all kinds of information and resources. a.AboutPost( href='https://www.are.na/chris-collins/uic-nma-topics-in-new-media' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/438461/original_ed30ed66ea2e2fd780618bf4415aa9ee.gif")' ) h3.Type strong Topics in New Media p.Type | This was a fall 2015 course taught by Chris Collins at the University of Illinois, Chicago. This channel is an informal site where students all shared links relevant to their coursework.
.AboutPosts.PageNarrowBreakout a.AboutPost( href='https://www.are.na/lucy-siyao-liu/orthographies' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/1289511/large_e9633fb2e60304030f3bb831b30450b1.jpg")' ) h3.Type strong Orthographies p.Type | A fall 2017 course taught by Lucy Siyao Liu in the Art, Culture Technology Program (ACT) at MIT. Exercises, projects, and references are all clearly organized into channels within the class channel.
Remove uncofirmed examples for now
Remove uncofirmed examples for now
Jade
mit
aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell
jade
## Code Before: .AboutPosts.PageNarrowBreakout a.AboutPost( href='https://www.are.na/lucy-siyao-liu/orthographies' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/1289511/large_e9633fb2e60304030f3bb831b30450b1.jpg")' ) h3.Type strong Orthographies p.Type | A fall 2017 course taught by Lucy Siyao Liu in MIT’s Arts, Culture, and Technology program. Exercises, projects, and references are all clearly organized into channels within the class channel. a.AboutPost( href='https://www.are.na/sfpc-arena/channels') .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/785357/large_a9b4ce77bf21d4fc76bb197462d7fdd9")' ) h3.Type strong SFPC p.Type | SFPC is an artist-run school in New York that explores intersections of code, design, hardware and theory. The school maintains channels for all kinds of information and resources. a.AboutPost( href='https://www.are.na/chris-collins/uic-nma-topics-in-new-media' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/438461/original_ed30ed66ea2e2fd780618bf4415aa9ee.gif")' ) h3.Type strong Topics in New Media p.Type | This was a fall 2015 course taught by Chris Collins at the University of Illinois, Chicago. This channel is an informal site where students all shared links relevant to their coursework. ## Instruction: Remove uncofirmed examples for now ## Code After: .AboutPosts.PageNarrowBreakout a.AboutPost( href='https://www.are.na/lucy-siyao-liu/orthographies' ) .AboutPost__cover( style='background-image: url("https://d2w9rnfcy7mm78.cloudfront.net/1289511/large_e9633fb2e60304030f3bb831b30450b1.jpg")' ) h3.Type strong Orthographies p.Type | A fall 2017 course taught by Lucy Siyao Liu in the Art, Culture Technology Program (ACT) at MIT. Exercises, projects, and references are all clearly organized into channels within the class channel.
d63905158f5148b07534e823d271326262369d42
pavement.py
pavement.py
import os import re from paver.easy import * from paver.setuputils import setup def get_version(): """ Grab the version from irclib.py. """ here = os.path.dirname(__file__) irclib = os.path.join(here, 'irclib.py') with open(irclib) as f: content = f.read() VERSION = eval(re.search('VERSION = (.*)', content).group(1)) VERSION = '.'.join(map(str, VERSION)) return VERSION def read_long_description(): f = open('README') try: data = f.read() finally: f.close() return data setup( name="python-irclib", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), version=get_version(), py_modules=["irclib", "ircbot"], author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", ], ) @task @needs('generate_setup', 'minilib', 'distutils.command.sdist') def sdist(): "Override sdist to make sure the setup.py gets generated"
import os import re from paver.easy import * from paver.setuputils import setup def get_version(): """ Grab the version from irclib.py. """ here = os.path.dirname(__file__) irclib = os.path.join(here, 'irclib.py') with open(irclib) as f: content = f.read() VERSION = eval(re.search('VERSION = (.*)', content).group(1)) VERSION = '.'.join(map(str, VERSION)) return VERSION def read_long_description(): with open('README') as f: data = f.read() return data setup( name="python-irclib", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), version=get_version(), py_modules=["irclib", "ircbot"], author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", ], ) @task @needs('generate_setup', 'minilib', 'distutils.command.sdist') def sdist(): "Override sdist to make sure the setup.py gets generated"
Use context manager to read README
Use context manager to read README
Python
mit
jaraco/irc
python
## Code Before: import os import re from paver.easy import * from paver.setuputils import setup def get_version(): """ Grab the version from irclib.py. """ here = os.path.dirname(__file__) irclib = os.path.join(here, 'irclib.py') with open(irclib) as f: content = f.read() VERSION = eval(re.search('VERSION = (.*)', content).group(1)) VERSION = '.'.join(map(str, VERSION)) return VERSION def read_long_description(): f = open('README') try: data = f.read() finally: f.close() return data setup( name="python-irclib", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), version=get_version(), py_modules=["irclib", "ircbot"], author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", ], ) @task @needs('generate_setup', 'minilib', 'distutils.command.sdist') def sdist(): "Override sdist to make sure the setup.py gets generated" ## Instruction: Use context manager to read README ## Code After: import os import re from paver.easy import * from paver.setuputils import setup def get_version(): """ Grab the version from irclib.py. """ here = os.path.dirname(__file__) irclib = os.path.join(here, 'irclib.py') with open(irclib) as f: content = f.read() VERSION = eval(re.search('VERSION = (.*)', content).group(1)) VERSION = '.'.join(map(str, VERSION)) return VERSION def read_long_description(): with open('README') as f: data = f.read() return data setup( name="python-irclib", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), version=get_version(), py_modules=["irclib", "ircbot"], author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", ], ) @task @needs('generate_setup', 'minilib', 'distutils.command.sdist') def sdist(): "Override sdist to make sure the setup.py gets generated"
8c903382127ff9d5968cd8ba1258fdbe9190bedf
lib/postal_address/address.rb
lib/postal_address/address.rb
module Postal class Address Fields = %i(recipient street zip state city country country_code).freeze attr_accessor *Fields def initialize(**attrs) attrs.each { |k,v| public_send(:"#{k}=", v) if respond_to?(:"#{k}=") } end def country_code=(code) @country_code = Postal.sanitize(code) end def country Postal.country_names[country_code] end def values Fields.map(&method(:public_send)) end def to_h Fields.zip(values).to_h end def to_s(**params) AddressFormatter::Text.new(to_h).render(params) end def to_html(**params) AddressFormatter::HTML.new(to_h).render(params) end end end
module Postal class Address Fields = %i(recipient street zip state city country country_code).freeze attr_accessor(*Fields) def initialize(**attrs, &block) attrs.each { |k,v| public_send("#{k}=", v) if respond_to?("#{k}=") } yield self if block_given? end def country_code=(code) @country_code = Postal.sanitize(code) end def country Postal.country_names[country_code] end def values Fields.map(&method(:public_send)) end def to_h Fields.zip(values).to_h end def to_s(**params) AddressFormatter::Text.new(to_h).render(params) end def to_html(**params) AddressFormatter::HTML.new(to_h).render(params) end end end
Fix for warning: `*' interpreted as argument prefix
Fix for warning: `*' interpreted as argument prefix
Ruby
mit
max-power/postal_address
ruby
## Code Before: module Postal class Address Fields = %i(recipient street zip state city country country_code).freeze attr_accessor *Fields def initialize(**attrs) attrs.each { |k,v| public_send(:"#{k}=", v) if respond_to?(:"#{k}=") } end def country_code=(code) @country_code = Postal.sanitize(code) end def country Postal.country_names[country_code] end def values Fields.map(&method(:public_send)) end def to_h Fields.zip(values).to_h end def to_s(**params) AddressFormatter::Text.new(to_h).render(params) end def to_html(**params) AddressFormatter::HTML.new(to_h).render(params) end end end ## Instruction: Fix for warning: `*' interpreted as argument prefix ## Code After: module Postal class Address Fields = %i(recipient street zip state city country country_code).freeze attr_accessor(*Fields) def initialize(**attrs, &block) attrs.each { |k,v| public_send("#{k}=", v) if respond_to?("#{k}=") } yield self if block_given? end def country_code=(code) @country_code = Postal.sanitize(code) end def country Postal.country_names[country_code] end def values Fields.map(&method(:public_send)) end def to_h Fields.zip(values).to_h end def to_s(**params) AddressFormatter::Text.new(to_h).render(params) end def to_html(**params) AddressFormatter::HTML.new(to_h).render(params) end end end
5af5d6fa7b0309b9bd108c59ca26833db8b33f9c
docs/_data/translations.yml
docs/_data/translations.yml
- name: Chinese code: zh description: Bootstrap 中文文档 url: http://v3.bootcss.com/ - name: Danish code: da description: Bootstrap på Dansk url: http://getbootstrap.dk/ - name: French code: fr description: Bootstrap en Français url: http://www.oneskyapp.com/docs/bootstrap/fr - name: German code: de description: Bootstrap auf Deutsch url: http://holdirbootstrap.de/ - name: Italian code: it description: Bootstrap in Italiano url: http://www.hackerstribe.com/guide/IT-bootstrap-3.1.1/ - name: Korean code: ko description: Bootstrap 한국어 url: http://bootstrapk.com/BS3/ - name: Russian code: ru description: Bootstrap по-русски url: http://www.oneskyapp.com/docs/bootstrap/ru - name: Spanish code: es description: Bootstrap en Español url: http://www.oneskyapp.com/docs/bootstrap/es - name: Ukrainian code: uk description: Bootstrap українською url: http://twbs.docs.org.ua
- name: Chinese code: zh description: Bootstrap 中文文档 url: http://v3.bootcss.com/ - name: Danish code: da description: Bootstrap på Dansk url: http://getbootstrap.dk/ - name: French code: fr description: Bootstrap en Français url: http://www.oneskyapp.com/fr/docs/bootstrap/getting-started/ - name: German code: de description: Bootstrap auf Deutsch url: http://holdirbootstrap.de/ - name: Italian code: it description: Bootstrap in Italiano url: http://www.hackerstribe.com/guide/IT-bootstrap-3.1.1/ - name: Korean code: ko description: Bootstrap 한국어 url: http://bootstrapk.com/BS3/ - name: Russian code: ru description: Bootstrap по-русски url: http://www.oneskyapp.com/docs/bootstrap/ru - name: Spanish code: es description: Bootstrap en Español url: http://www.oneskyapp.com/docs/bootstrap/es - name: Ukrainian code: uk description: Bootstrap українською url: http://twbs.docs.org.ua
Fix link to French translation
Fix link to French translation
YAML
mit
taeguk/bootstrap,Maybe009/bootstrap,Sachin-Ganesh/bootstrap,ydmitry/bootstrap,Stanley-Tian/bootstrap,gustavolipi/teste,the-open-university/ouice-bootstrap,IChocolateKapa/bootstrap,para58/bootstrap,mdo/bootstrap,welloncn/bootstrap,Azeg/bootstrap,SaddySw/bootstrap,taibaiyifeng/bootstrap,dachaoisme/bootstrap,MiharuCommunications/bootstrap,aoimedia/bootstrap,AbhishekBiswal/bootstrap,slackero/bootstrap,Endika/bootstrap,bassjobsen/bootstrap,sdjsngs/bootstrap,owenchen93/bootstrap,zilihangjian/bootstrap,nuts373/bootstrap,hellonewman81/bs4,Harvey4431/bootstrap,carlosjuchoa/bootstrap,liuchungui/bootstrap,davethegr8/bootstrap,perdona/bootstrap,congljc/bootstrap,tingyuji/boots,sthashree/bootstrap,winlinvip/bootstrap-1,michael-brade/bootstrap,Kim1994/bootstrap,ubuntuvim/bootstrap,dotku/bootstrap,yulin626/bootstrap,jrpikong/bootstrap,jainilpatel/bootstrap,gabrielef/bootstrap,yitengruntu/bootstrap,viviluhui/bootstrap,liuliwork/bootstrap,bootstrapbrasil/bootstrap,RobertJGabriel/bootstrap,danny05881/bootstrap,Laurab-io/codeschoolGitDemo2,caleb/bootstrap,jesievans/bootstrap,Da-Hui/bootstrap,ShengCN/bootstrap,yan5845hao/bootstrap,guoxun/bootstrap,gijsbotje/bootstrap,gn0st1k4m/bootstrap,whalejasmine/bootstrap,shangguanecho/bootstrap,xyz3282836/bootstrap,para58/bootstrap,AbhishekBiswal/bootstrap,copynpaste/bootstrap,Jazzo/bootstrap,stone2310/bootstrap,danny05881/bootstrap,vejersele/bootstrap,congcongda/bootstrap,ncusoho/bootstrap,glizer/bootstrap,shuiyibu/bootstrap,lupk123/bootstrap,stevie-mayhew/bootstrap,bahruzabil/bootstrap,armezit/bootstrap,asandyz/bootstrap,r14r-work/fork_bootstrap_master,cytingini/bootstrap,kevinlisota/bootstrap,cqhuzeyu/bootstrap,gitdevlr/bootstrap,qiaxilamu/bootstrap,thorsteinsson/bootstrap,creativewebjp/bootstrap,Yuqiushi/bootstrap,paulirish/bootstrap,cutefrank/bootstrap,MarcosSegovia/bootstrap,LIBOTAO/bootstrap,meobyte/bootstrap,tylertadej/bootstrap,2947721120/Bootstrap,tyaslab/bootstrap,xiadc/bootstrap,mattez/bootstrap,logilab/bootstrap,Lessig2016/rootstrap,ZJsnowman/bootstrap,jkin8010/bootstrap,spfr/koncept-bootstrap,tyhappy/bootstrap,luppittegui/bootstrap,dengyaolong/bootstrap,buaayuanye/bootstrap,transferwise/bootstrap,TheFridayInstitute/bootstrap,jollylulu/bootstrap,november1943/bootstrap,Lyricalz/bootstrap,triggerThis/bootstrap,idreamingreen/bootstrap,gsanthosh91/bootstrap,wangcan2014/bootstrap,zhaosichao/bootstrap,292388900/bootstrap-1,easygrocers/sample2,abitdodgy/bootstrap,zoujuny/bootstrap,jeff235255/bootstrap,Aylchen/bootstrap,jackRogers/bootstrap-1,grady-lad/bootstrap,jiangjian-zh/bootstrap,kakuhiroshi/bootstrap,bestwpw/bootstrap,TidyHuang/bootstrap,jessiegibson/bootstrap,gcnonato/bootstrap,petrsouglobov/bootstrap,purna/bootstrap,CoreyHyllested/bootstrap,gcnonato/bootstrap,SivilTaram/bootstrap,mespana/bootstrap,mauricionr/bootstrap,dengyaolong/bootstrap,dingpf264/bootstrap,bailey-ann/bootstrap,paimanirani/bootstrap,hua98918/bootstrap,developmans/bootstrap,erhanpaker/bootstrap,evilebottnawi/bootstrap,Jeramian/bootstrap,lyxiaowangzi/bootstrap,hujianfei1989/bootstrap,Laurab-io/codeschoolGitDemo2,CallMeFabioo/bootstrap,huyqta/bootstrap,RyanChenLee/bootstrap-1,polarbird/bootstrap,m0000re/bootstrap,yfhu82/bootstrap,CatBakun/bootstrap,peterblazejewicz/bootstrap,seoulstore/ssss,gzush/mybootstrap,camilo86/bootstrap,wolfika/bootstrap,dodopeng/bootstrap,fschumann1211/bootstrap,Sailfishc/bootstrap,liuliwork/bootstrap,EspadaV8/bootstrap,southasia/bootstrap,kirning/bootstrap,zfdev/bootstrap,dsturley/bootstrap,splendido/bootstrap,YlJava110/bootstrap,rabbitcount/bootstrap,Sachin-Ganesh/bootstrap,copasetickid/bootstrap,arunkt1/bootstrap,Hemphill/bootstrap-docs,wbshm/bootstrap,fb2kfans/bootstrap,hansey/bootstrap,J861449197/bootstrap,calvintychan/bootstrap,andrewrdakers/bootstrap,zhangaiping1/bootstrap,floydzhang315/bootstrap,Cyz-C/bootstrap,westpsk/bootstrap,leomiranda92/bootstrap,rmsjr/bootstrap,347199174/bootstrap,Taskmaster23/bootstrap,dakele123/bootstrap,YinPeng29/bootstrap,snidima/bootstrap,BookingSync/styleguide,LYMelody/bootstrap,rsstation/bootstrap,trungtin/bootstrap,jimbick/bootstrap,davidjb/bootstrap,kkop233/bootstrap,lowyjoe/bootstrap,SwiftNynja/bootstrap,nmgwddj/bootstrap,James0tang/bootstrap,FerranSalguero/bootstrap-blog,huettner/bootstrap,mespana/bootstrap,seanwu99/bootstrap,yong1236/bootstrap,jiangjian-zh/bootstrap,sahabudin/bootstrap,TramizuZwoNull/bootstrap,kak-tus/bootstrap,Endika/bootstrap,ztepsic/bootstrap,kirning/bootstrap,reddit/snooboots,wxwxwwxxx/bootstrap,seoulstore/ssss,wang508x102/bootstrap,liveNo/bootstrap,zolfer/bootstrap,me-benni/bootstrap,yzhao1216/bootstrap,sahabudin/bootstrap,tofanelli/bootstrap,bkadowaki/innerbtsp,MikeHMF/bootstrap,Aliang2015/bootstrap,JanStevens/bootstrap,yzhao1216/bootstrap,rozisaacson/bootstrap,bahruzabil/bootstrap,Hightrack/bootstrap,prosenjit-itobuz/bootstrap,nanizx/bootstrap,benjifx/bootstrap,jczerwinski/bootstrap,Maybe009/bootstrap,BookingSync/styleguide,urbit/bootstrap,l0rd0fwar/bootstrap,JJay-ATT-WIT-Hack/bootstrap,nanizx/bootstrap,zengchenhuang/repos,LIBOTAO/bootstrap,michael-k/bootstrap,YinPeng29/bootstrap,raduraduica/bootstrap,alanhc/bootstrap,yzmin/bootstrap,benjifx/bootstrap,rob-meh/Xenostrap,gabrielgomesferraz/bootstrap,haBuu/bootstrap,MonkeyHans/bootstrap,Craigology/bootstrap,mukeshmugunthan/bootstrap,ngochuy13/bootstrap,TramizuZwoNull/bootstrap,jessiegibson/bootstrap,lanyingzhu/bootstrap,winlinvip/bootstrap-1,ncusoho/bootstrap,supergibbs/bootstrap,davidjb/bootstrap,stbraswell/bootstrap,ostree/bootstrap,wangzhe55/bootstrap,johnajacob/bootstrap,studiocraft/bootstrap,Tony1928/bootstrap,starckgates/bootstrap,simtom/bootstrap,ChaofengZhou/bootstrap,aDaiCode/bootstrap,berrychong/bootstrap,cqhuzeyu/bootstrap,sealocal/bootstrap,ridixcr/bootstrap,upyun-dev/bootstrap,copasetickid/bootstrap,wangxianzhe015/bootstrap,blackcs/bootstrap,MingxuanChen/bootstrap,zhaojianrun/bootstrap,ngochuy13/bootstrap,burakukula/bootstrap,Oiro/bootstrap,gujiman/bootstrap,FerranSalguero/bootstrap-blog,arigarcia/bootstrap,chiechie/bootstrap,owyowoo/bootstrap,zhangaiping1/bootstrap,gcrisis/bootstrap,johnajacob/bootstrap,Amoralyn/bootstrap,uniteddiversity/bootstrap,frostbitten/bootstrap,githuya/bootstrap,siddiqsazzad/bootstrap,glizer/bootstrap,Sharon312/bootstrap,Riokai/bootstrap,azkfrm/bootstrap,hgmin777/bootstrap,liveNo/bootstrap,brillantesmanuel/bootstrap,tci2015/bootstrap,Riokai/bootstrap,Vito2015/bootstrap,lraxue/bootstrap,thorsteinsson/bootstrap,antoniomorais360/bootstrap,victorzhang17/bootstrap,wangdewei/bootstrap,xt0rted/bootstrap,bitcoinapi/bootstrap,blackcs/bootstrap,NaSymbol/bootstrap,elkingtonmcb/bootstrap,bhamodi/bootstrap,purna/bootstrap,fanmingjun/bootstrap,AllanHao/bootstrap,seonwan/testCD,raoenhui/bootstrap,m0000re/bootstrap,rozisaacson/bootstrap,lemuelbarango/bootstrap,bingeng99/bootstrap,luohai3635/bootstrap,chacbumbum/bootstrap,nice-fungal/bootstrap,sylvesterwillis/bootstrap,aungcvt/bootstrap,sthashree/bootstrap,vitorgja/bootstrap,FerranSalguero/bootstrap-base,Loky1985/bootstrap,kkop233/bootstrap,unasuke/bootstrap,rjmcbdev/bs-temp,abiyug/bootstrap,kobeuu/bootstrap,kwangchin/bootstrap,newdeamon/bootstrap,luistelmocosta/bootstrap,Craigology/bootstrap,xiadc/bootstrap,cgvarela/bootstrap,panvagil/bootstrap,diyinqianchang/bootstrap,jiangbuting/bootstrap,littlebay/bootstrap,bernardogfilho/bootstrap,kuangbeibei/bootstrap,Nastarani1368/bootstrap,nmgwddj/bootstrap,scweekly/bootstrap,azmenak/bootstrap,prosenjit-itobuz/bootstrap,Binn-Jou/bootstrap,kshysius/bootstrap,taibaiyifeng/bootstrap,Microtrends/bootstrap,kzima/bootstrap,bokorir/bootstrap,jackiewung/bootstrap,zoujuny/bootstrap,Azeg/bootstrap,davidjb/bootstrap,yong1236/bootstrap,ypwanghh/bootstrap,kkop233/bootstrap,fifth5/Bootstrap,Aquafina99/bootstrap,ralphbean/bootstrap-fedora,andrewrdakers/bootstrap,ldwb/bootstrap,immovable-ladder/bootstrap,MikeHMF/bootstrap,raoenhui/bootstrap,kkirsche/bootstrap,aDaiCode/bootstrap,juedewang/bootstrap,ajacksified/bootstrap,drsounds/flatstrap,wangsai/bootstrap,yonedahiroshi/bootstrap,copasetickid/bootstrap,auyaauya/bootstrap,nikhyl/bootstrap,snidima/bootstrap,Pingendo/bootstrap,yanyon/bootstrap,136296634mn/bootstrap,rob-meh/Xenostrap,malux13/bootstrap,zuoyouyou/bootstrap,huangguozhen/bootstrap,udhayam/bootstrap,Hoolay-CN/bootstrap,wangyongshun98/bootstrap,threeday0905/bootstrap,xeronith/bootstrap,m358807551/bootstrap,sdjsngs/bootstrap,orzyang/bootstrap,siddiqsazzad/bootstrap,HITlilingzhi/bootstrap,jyothishchandran1992/bootstrap,esternocleidomastoideo/bootstrap,leftees/bootstrap,abvalentine/bootstrap,MissMiao/bootstrap,wswplay/bootstrap,DonCheetle/BootstrapTemplate,MiharuCommunications/bootstrap,LimetecBiotechnologies/bootstrap,Jonham/bootstrap,gaoxiaopang/bootstrap,stonegithubs/bootstrap,devsong/bootstrap,codedogfish/bootstrap,mattez/bootstrap,huangguozhen/bootstrap,simtom/bootstrap,Perkville/bootstrap,Shengs/bootstrap,realcrowd/bootstrap,glizer/bootstrap,abitdodgy/bootstrap,Shengs/bootstrap,huettner/bootstrap,buaayuanye/bootstrap,justincron/bootstrap,colinadamwebb/WebSite1,superfreeman/bootstrap,initaldk/initialdk,acemaster/bootstrap,Xerkus/bootstrap,Perkville/bootstrap,titiushko/bootstrap,ligson/bootstrap,justincron/bootstrap,smartassdesign/bootstrap,ChaofengZhou/bootstrap,srinivas2794/bootstrap,acemaster/bootstrap,xiejiulong/bootstrap,J861449197/bootstrap,Light-Thunder/bootstrap,andrewrdakers/bootstrap,dachaoisme/bootstrap,pat270/bootstrap,Pletron/bootstrap,gcnonato/bootstrap,KM-MFG/bootstrap,mievar/bootstrap,npvisual/bootstrap,developmans/bootstrap,lulusayhi/bootstrap,lesterhm/bootstrap,feisuo/bootstrap,Brunation11/bootstrap,tingyuji/boots,gaoxiaopang/bootstrap,aikvaneemeren/overheidsmngt,renesenses/bootstrap,sfdevgirl/bootstrap-1,rclai/bootstrap,mauricew/bootstrap,sylvesterwillis/bootstrap,algolia/bootstrap,jemmy655/bootstrap,rachidmrad/bootstrap,chouhan/bootstrap,rourrr/bootstrap,dreamauya/bootstrap,angelasigh/bootstrap,eric-stanley/bootstrap,zorca/bootstrap,RyanChenLee/bootstrap-1,realcrowd/bootstrap,p2akira/bootstrap,aungcvt/bootstrap,leftees/bootstrap,KentChun33333/bootstrap,mrginglymus/bootstrap,mrzzcn/bootstrap,liaolunhui/bootstrap,renebentes/bootstrap,pat270/bootstrap,lzz358191062/bootstrap,reddit/snooboots,scweekly/bootstrap,cgvarela/bootstrap,WaffleWolfy/bootstrap,gou7214309/bootstrap,luppittegui/bootstrap,zhangshaochen/bootstrap,bo01ean/bootstrap,Shadowcn/bootstrap,SwiftNynja/bootstrap,HITlilingzhi/bootstrap,easygrocers/sample2,biokillos/bootstrap,arifgursel/bootstrap,roderickwang/bootstrap,srinivas2794/bootstrap,wendelas/bootstrap,me6iaton/bootstrap,zhangshaochen/bootstrap,wjagodfrey/bootstrap,mynane/bootstrap,zilihangjian/bootstrap,luiseduardohdbackup/bootstrap,lesterhm/bootstrap,raoenhui/bootstrap,developmans/bootstrap,salamer/bootstrap,linecheng/cjt.bootstrap,DanteGintama/bootstrap,michael-k/bootstrap,IdanCo/bootstrap,codeclimate-testing/bootstrap,tianyangj/bootstrap,bxq2013/bootstrap,choumeiqishi/bootstrap,zbeiping/bootstrap,ThiagoGarciaAlves/bootstrap,hgmin777/bootstrap,Aliang2015/bootstrap,kkirsche/bootstrap,jhzhou1111/bootstrap,redbmk/bootstrap,rachidmrad/bootstrap,gsanthosh91/bootstrap,shisuzhiwai/bootstrap,dodopeng/bootstrap,xiaoniunwp/bootstrap,ngrash/bootstrap,xuxinxin/bootstrap,alessak655/bootstrap,zfdev/bootstrap,etyminas/Bootstrap-Test,gcrisis/bootstrap,littlebay/bootstrap,maxwhale/bootstrap,zhouwenbin/bootstrap,spikebachman/bootstrap,dxu/bootstrap,bootstrapbrasil/bootstrap,kab2512/bootstrap,dxu/bootstrap,Hamzaerbay/bootstrap,kidGodzilla/bootstrap,kasjolaj/bootstrap,jorge07/bootstrap,orzyang/bootstrap,seanwu99/bootstrap,loyalwind/bootstrap,xiaohanima/bootstrap,kobiak/bootstrap,zhouwenbin/bootstrap,yuhualingfeng/bootstrap,free-roaming-freelancer/test,eduvo/bootstrap,AlinaPoluykova/bootstrap,lpy411/bootstrap,acdgfh/bootstrap,zalog/bootstrap,bxq2013/bootstrap,jollylulu/bootstrap,ashukrishu/bootstrap,viviluhui/bootstrap,yuyokk/twbs-bootstrap,chunzj/bootstrap,Scoutski/bootstrap,vanderdennen/bootstrap,bkadowaki/innerbtsp,WaffleWolfy/bootstrap,hubert-zheng/bootstrap,danggui/bootstrap,caleb/bootstrap,seas521/repository1,Zekom/bootstrap-1,jerems02/bootstrap,southasia/bootstrap,thongredweb/bootstrap,jiashengc/bootstrap,xkzlx0523/bootstrap,karcc/bootstrap,wangdewei/bootstrap,Mo-chan/bootstrap,JasOXIII/bootstrap,xeronith/bootstrap,tjkohli/bootstrap,abhiShandy/bootstrap,drsounds/flatstrap,zhangaiping1/bootstrap,Da-Hui/bootstrap,zhaoe333/bootstrap,songjia2/bootstrap,corydorning/bootstrap,youprofit/bootstrap,SPikeVanz/bootstrap,jeezybrick/bootstrap,sunjian1/bootstrap,sajiang/bootstrap,IdanCo/bootstrap,kolonse/bootstrap,NaSymbol/bootstrap,brettle/bootstrap,xiaoping2367/bootstrap,Encore777/bootstrap,xiaogang196/bootstrap,wushuyi/bootstrap,catericy/bootstrap,121595113/bootstrap,ronnyhaase/bootstrap,ivanberry/bootstrap,hanmichael/bootstrap,kobeuu/bootstrap,RobertJGabriel/bootstrap,Lexxville/bootstrap,logesh-kumar/bootstrap,ghermans/bootstrap,NaSymbol/bootstrap,transferwise/bootstrap,MAubreyK/bootstrap,lowyjoe/bootstrap,mfolkeseth/bootstrap,tomirendo/bootstrap,amad4biz/bootstrap,seishei/bootstrap,SivilTaram/bootstrap,OneZenD/gr8alpha,lupk123/bootstrap,lraxue/bootstrap,cutefrank/bootstrap,alotoftype/bootstrap,jemmy655/bootstrap,jmgore75/bootstrap,petrsouglobov/bootstrap,spfr/koncept-bootstrap,hansey/bootstrap,mrzzcn/bootstrap,orzyang/bootstrap,Lessig2016/rootstrap,finron/bootstrap,zhaojianrun/bootstrap,kwangchin/bootstrap,luisfmsouza/bootstrap,vsn4ik/bootstrap,aaa7762437/bootstrap,h3xagram/bootstrappin,mmakademia/bootstrap-mmakademia,tingyuji/boots,dbkaplun/bootstrap,9-chirno/chirno,uedatakeshi/bootstrap,ZTR23/bootstrap,viviluhui/bootstrap,n054/bootstrap,felds/bootstrap,Encore777/bootstrap,superfreeman/bootstrap,IdanCo/bootstrap,jimbick/bootstrap,rdarioduarte/bootstrap,floydzhang315/bootstrap,kingmanspop/bootstrap,alfredwh/bootstrap,bahruzabil/bootstrap,lynnic26/bootstrap,luisvillasenor/bootstrap,sunjian1/bootstrap,347199174/bootstrap,qiaxilamu/bootstrap,williamfortunademoraes/bootstrap,SandersForPresident/bootstrap,hxnetgit/bootstrap,jiangbuting/bootstrap,berrychong/bootstrap,rohan07/bootstrap,ravins/bootstrap,idreamingreen/bootstrap,niushir/bootstrap,Just-D/bootstrap,NCARB/bootstrap,paimanirani/bootstrap,lonewolfyx/bootstrap,zhnlk/bootstrap,roderickwang/bootstrap,CallMeFabioo/bootstrap,jorge07/bootstrap,transferwise/bootstrap,NickyBleiel/bootstrap,jesievans/bootstrap,dylan2019/bootstrap,ralphbean/bootstrap-fedora,jcroot/bootstrap,0rangeT1ger/bootstrap,congcongda/bootstrap,ghermans/bootstrap,wswplay/bootstrap,adamwintle/bootstrap,yanheng/bootstrap,MiharuCommunications/bootstrap,caleb/bootstrap,Rafeh01/bootstrap,mauricionr/bootstrap,jiaohy/bootstrap,lfzyy/bootstrap,anasnakawa/bootstrap,kyroskoh/bootstrap,liuliwork/bootstrap,rob-meh/Xenostrap,tbryant/bootstrap,AugHu/bootstrap,guoxun/bootstrap,supermicah/bootstrap,heruan/bootstrap,scjang/ssss,Light-Thunder/bootstrap,hoangkien/bootstrap,gustavolavi/bootstrap,littlebay/bootstrap,jbushmaster007/bootstrap,ostree/bootstrap,stanleylin/bootstrap,sealocal/bootstrap,ejoful/bootstrap,Demesheo/bootstrap,Sailfishc/bootstrap,lupk123/bootstrap,shangguanecho/bootstrap,9-chirno/chirno,elkingtonmcb/bootstrap,gencer/bootstrap,augustofere/bootstrap,weltond/bootstrap,cnkmym/bootstrap,zonayedpca/bootstrap,dakshika/bootstrap,ivanberry/bootstrap,wangzhe55/bootstrap,calvintychan/bootstrap,redbmk/bootstrap,TidyHuang/bootstrap,thongredweb/bootstrap,Holism/bootstrap,claudelee/bootstrap,Maybe009/bootstrap,linalu1/bootstrap,ThiagoFerreir4/bootstrap,yky138495/bootstrap,niushir/bootstrap,5112n4/bootstrap,redbmk/bootstrap,dingpf264/bootstrap,mpharrigan/bootstrap,davidroyer/bootstrap,WildDogTeam/bootstrap,blockstack/blockstack-bootstrap,copasetickid/bootstrap,mariotristan/bootstrap,igoynawamreh/bootstrap,Klaudit/bootstrap,linjunmian/bootstrap,codefarmer-cyk/bootstrap,Laurab-io/codeschoolGitDemo2,krissihall/bootstrap,tombmax/bootstrap,CCOOOOLL/bootstrap,Sirlon/bootstrap,gaoxiaopang/bootstrap,timbrandin/bootstrap,aychentie/bootstrap,gianthat/bootstrap,2947721120/Bootstrap,James0tang/bootstrap,decayedcross/bootstrap,me-benni/bootstrap,xieyingdong/bootstrap,blockstack/blockstack-bootstrap,luigiDP/bootstrap,omeid/bootstrap,Codegereral/bootstrap,McJeremy/bootstrap,isathish/bootstrap,FerranSalguero/bootstrap-glimpse,huyqta/bootstrap,rsvip/BootStrap,cutefrank/bootstrap,jrpikong/bootstrap,kasjolaj/bootstrap,richardmarkhunt/bootstrap,hubert-zheng/bootstrap,winlinvip/bootstrap-1,changezhcyy/bootstrap,bitcoinapi/bootstrap,michael-gabenna/bootstrap,dakele123/bootstrap,kernel-alex/bootstrap,Taskmaster23/bootstrap,yangtao19850306/bootstrap,reis/bootstrap,Hemphill/bootstrap-docs,garrettjohnson/bootstrap,JasOXIII/bootstrap,catericy/bootstrap,Codegereral/bootstrap,jbrasher0623/bootstrap,flexbox/bootstrap,stewaoi/bootstrap,gsls1817/bootstrap,dawangjiaowolaixunshan/bootstrap,JoelXiao/bootstrap,Binn-Jou/bootstrap,kuldipem/bootstrap,Jonfurr/bootstrap,df2k2/bootstrap,alotoftype/bootstrap,davidenochk/bootstrap,leftees/bootstrap,feisuo/bootstrap,yangjunjie/bootstrap,Cyz-C/bootstrap,matthew-sochor/bootstrap,txh6634125/bootstrap,corydorning/bootstrap,Teank/bootstrap,yulin626/bootstrap,kumiau/bootstrap,simtom/bootstrap,hxnetgit/bootstrap,stupboy/bootstrap,jiashengc/bootstrap,ejoful/bootstrap,rjmcbdev/bs-temp,logesh-kumar/bootstrap,kak-tus/bootstrap,AyseAkr/bootstrap,unasuke/bootstrap,Jonham/bootstrap,haokevin/bootstrap,loyalwind/bootstrap,hnscbj/bootstrap,AuyaJackie/bootstrap,qayoub/bootstrap,JulienCabanes/bootstrap,2947721120/Bootstrap,WildDogTeam/bootstrap,nuts373/bootstrap,dianerdianer/bootstrap,JavaHu/test,bitcoinapi/bootstrap,initaldk/initialdk,ralphbean/bootstrap-fedora,xiaogang196/bootstrap,nanuclickity/bootstrap,Sapphire64/bootstrap,onenameio/rhythm-bootstrap,kobiak/bootstrap,kwangchin/bootstrap,chrisnicotera/bootstrap,yulunli/bootstrap,gabrielgomesferraz/bootstrap,yitengruntu/bootstrap,roppa/bootstrap,andresgalante/bootstrap,shamimhasan/bootstrap,rsstation/bootstrap,Johan08/bootstrap,yangchun0217/bootstrap,Pingendo/bootstrap,tombmax/bootstrap,zeropopular/bootstrap,Holism/bootstrap,DuanSuXia/bootstrap,songzheng741/bootstrap,vejersele/bootstrap,kvlsrg/bootstrap,webmusing/bootstrap,dachaoisme/bootstrap,initaldk/initialdk,gitboy123/bootstrap,dotku/bootstrap,bkadowaki/innerbtsp,chouhan/bootstrap,zhangwei900808/bootstrap,alfredwh/bootstrap,Just-D/bootstrap,iancampelo/bootstrap,NBSW/bootstrap,gitdevlr/bootstrap,3stack-software/bootstrap,TejaSedate/bootstrap,sebinsequira99/bootstrap,davidfurlong/bootstrap,juedewang/bootstrap,Mo-chan/bootstrap,blue2sky/bootstrap,AIML/bootstrap,NathanChan/bootstrap,tyn520215/bootstrap,dxu/bootstrap,polei/bootstrap,uedatakeshi/bootstrap,initc/bootstrap,FernandezR/bootstrap,fanmingjun/bootstrap,WaffleWolfy/bootstrap,gijsbotje/bootstrap,myyphp/bootstrap,ncusoho/bootstrap,Encore777/bootstrap,owenchen93/bootstrap,lgkonline/bootstrap,jmknoll/bootstrap,wangzhe55/bootstrap,EspadaV8/bootstrap,taibaiyifeng/bootstrap,me-benni/bootstrap,EMIAOZANG/bootstrap,xwpfullstack/bootstrap,acdgfh/bootstrap,Vontei/bootstrap,waywaaard/bootstrap,gitboy123/bootstrap,jiaohy/bootstrap,choumeiqishi/bootstrap,Aquafina99/bootstrap,githuya/bootstrap,bassjobsen/bootstrap,pranay22/bootstrap,zhangwei900808/bootstrap,immovable-ladder/bootstrap,zl352773277/bootstrap,langemike/bootstrap,slavanga/bootstrap,november1943/bootstrap,huangym2015/bootstrap,supergibbs/bootstrap,ronnyhaase/bootstrap,yfcydyf/bootstrap,codedogfish/bootstrap,aefly/bootstrap,santhosh17s/bootstrap,CapeSepias/bootstrap,longshenpan/bootstrap,dawangjiaowolaixunshan/bootstrap,ls2uper/bootstrap,hanhongyi/bootstrap,cqhuzeyu/bootstrap,grady-lad/bootstrap,rourrr/bootstrap,benedictpeng/bootstrap,santhosh17s/bootstrap,dianerdianer/bootstrap,pat270/bootstrap,aDaiCode/bootstrap,youchief/bootstrap,juliancrosss/bootstrap,decayedcross/bootstrap,jackiewung/bootstrap,iancampelo/bootstrap,zhaojianrun/bootstrap,Pingendo/bootstrap,zbeiping/bootstrap,petetnt/bootstrap,runnerchen/Mybootstrap,jeff235255/bootstrap,bhamodi/bootstrap,kidGodzilla/bootstrap,l0rd0fwar/bootstrap,Phonbopit/bootstrap,ldwb/bootstrap,michael-brade/bootstrap,wangdewei/bootstrap,AbhishekBiswal/bootstrap,FerranSalguero/bootstrap-base,tahins/rongdhonu,wjagodfrey/bootstrap,xiejiulong/bootstrap,liuchaopy/bootstrap,honorousjack/bootstrap,zhnlk/bootstrap,MiharuCommunications/bootstrap,hellonewman81/bs4,GeoffYoung/bootstrap,cytingini/bootstrap,yfhu82/bootstrap,laomaodegushi/bootstrap,cold-brew-coding/bootstrap,luiseduardohdbackup/bootstrap,m358807551/bootstrap,NaSymbol/bootstrap,Hoolay-CN/bootstrap,tangposmarvin/bootstrap,k8e/bootstrap-web1.5,heruan/bootstrap,BigRocky/bootstrap,jamez14/bootstrap,johnajacob/bootstrap,zonayedpca/bootstrap,lqqqqf/bootstrap,BlitheSun/bootstrap,titiushko/bootstrap,x740073529/bootstrap,immovable-ladder/bootstrap,yanzhuofu/bootstrap,longshenpan/bootstrap,qicaoyan/bootstrap,ZJsnowman/bootstrap,owl000/bootstrap,stone2310/bootstrap,likaiwalkman/bootstrap,shenxb/bootstrap,ZJsnowman/bootstrap,CavemanIV/bs-study,prantlf/bootstrap,dylan2019/bootstrap,thesobek/bootstrap,polarbird/bootstrap,floydzhang315/bootstrap,arigarcia/bootstrap,JasOXIII/bootstrap,xiadc/bootstrap,mfolkeseth/bootstrap,lowyjoe/bootstrap,JasOXIII/bootstrap,SweetProcess/bootstrap,vitaligent/4,ZTR23/bootstrap,langemike/bootstrap,EdwinChanYi/bootstrap,ls2uper/bootstrap,zaijianwutian/bootstrap,wswplay/bootstrap,waywaaard/bootstrap,dotku/bootstrap,YouthAndra/bootstrap,pkdevbox/bootstrap,glizer/bootstrap,r14r/fork_bootstrap_master,alonso134/bootstrap,kolorahl/bootstrap,ShellyCode/bootstrap,brillantesmanuel/bootstrap,FerranSalguero/bootstrap-motivate,ypwanghh/bootstrap,asanohideo/bootstrap,youprofit/bootstrap,dakele123/bootstrap,adairtaosy/bootstrap,jesievans/bootstrap,lufront/bootstrap,wangcan2014/bootstrap,stanwmusic/bootstrap,azmenak/bootstrap,ridixcr/bootstrap,arisecbf/bootstrap,swaincreates/bootstrap,Pavithra-olety/bootstrap,ThiagoFerreir4/bootstrap,LoQIStar/bootstrap,nikoz84/bootstrap,pearlisme/bootstrap,NBSW/bootstrap,corydorning/bootstrap,roppa/bootstrap,sajiang/bootstrap,jianguozhang/bootstrap,hiersekornc/bootstrap,MAubreyK/bootstrap,xiaogang196/bootstrap,hujianfei1989/bootstrap,quxian/bootstrap,hxnetgit/bootstrap,andresgalante/bootstrap,lesterhm/bootstrap,isathish/bootstrap,songjia2/bootstrap,Lessig2016/rootstrap,antonaavik/bootstrap,npvisual/bootstrap,steamit/bootstrap,whycode/bootstrap,payeldillip/bootstrap,ngrash/bootstrap,duocdo/bootstrap,kvlsrg/bootstrap,AlinaPoluykova/bootstrap,transferwise/bootstrap,shixiaomiaomiao/bootstrap,lonewolfyx/bootstrap,gijsbotje/bootstrap,yanheng/bootstrap,AndBicScadMedia/bootstrap,sfdevgirl/bootstrap-1,beni55/bootstrap,linjunmian/bootstrap,kolorahl/bootstrap,aychentie/bootstrap,xiejiulong/bootstrap,plutokan/bootstrap,bikong2/bootstrap,smc0210/bootstrap,unbug/bootstrap,RavenB/bootstrap,Quantumke/bootstrap,loyalwind/bootstrap,philip8728/bootstrap,jiangbuting/bootstrap,dreamauya/bootstrap,chenbo0302/bootstrap,igoynawamreh/bootstrap,RRides/bootstrap,yky138495/bootstrap,bertom/bootstrap,ShellyCode/bootstrap,mrginglymus/bootstrap,Albertzc/bootstrap,udhayam/bootstrap,fschumann1211/bootstrap,zhaoe333/bootstrap,yzmin/bootstrap,yonedahiroshi/bootstrap,chris-barry/bootstrap,abbasmhd/bootstrap,hanhongyi/bootstrap,copynpaste/bootstrap,YouthAndra/bootstrap,deadflowers/bootstrap,Jonham/bootstrap,DanielWorld/bootstrap,tangposmarvin/bootstrap,Scosentino/bootstrap,Lyricalz/bootstrap,xyz3282836/bootstrap,reqingdexiaomajia1/bootstrap,liubao19860416/bootstrap,zBMNForks/bootstrap,AuthentiqID/bootstrap,chenxiaoxing1992/bootstrap,changezhcyy/bootstrap,kernel-alex/bootstrap,ypchaudhary/bootstrap,minupalaniappan/bootstrap,seanwu99/bootstrap,SPikeVanz/bootstrap,FerranSalguero/bootstrap-glimpse,grahamaj/bootstrap,hiersekornc/bootstrap,bahruzabil/bootstrap,flexbox/bootstrap,lxbgit/bootstrap,hgl888/bootstrap,bugakm/bootstrap,jimbick/bootstrap,haBuu/bootstrap,redbmk/bootstrap,SampleLiao/bootstrap,duydb/bootstrap,mgenereu/bootstrap,Phonbopit/bootstrap,michael-gabenna/bootstrap,swaincreates/bootstrap,GerHobbelt/bootstrap,ProgramUY/tree,chiechie/bootstrap,Johann-S/bootstrap,logilab/bootstrap,felds/bootstrap,hryniu555/bootstrap,matthew-sochor/bootstrap,Xerkus/bootstrap,zombie9080/bootstrap,arigarcia/bootstrap,Kim1994/bootstrap,benedictpeng/bootstrap,thesobek/bootstrap,gcrisis/bootstrap,gzush/mybootstrap,arifgursel/bootstrap,Xerkus/bootstrap,gustavolavi/bootstrap,MaizerGomes/bootstrap,yulin626/bootstrap,09133695/bootstrap,jainilpatel/bootstrap,kidGodzilla/bootstrap,barbarajquinn/Unbounce,lufront/bootstrap,niushir/bootstrap,mattez/bootstrap,transferwise/bootstrap,tomlutzenberger/bootstrap,ShengCN/bootstrap,mynane/bootstrap,0rangeT1ger/bootstrap,codeclimate-testing/bootstrap,siddiqsazzad/bootstrap,hnscbj/bootstrap,shonderdos/bootstrap,sunhk25/bootstrap,fengyouchao/bootstrap,aguagua/bootstrap,abhiShandy/bootstrap,camilo86/bootstrap,tangposmarvin/bootstrap,zhcy/bootstrap,harbichidian/bootstrap,tyaslab/bootstrap,krissihall/bootstrap,dengyaolong/bootstrap,tyn520215/bootstrap,arthursllaw/bootstrap,vitaligent/4,MingxuanChen/bootstrap,gn0st1k4m/bootstrap,l0rd0fwar/bootstrap,highway2hell/bootstrap,YouthAndra/bootstrap,luluzero/bootstrap,transGLUKator/bootstrap,h3xagram/bootstrappin,ThiagoFerreir4/bootstrap,polei/bootstrap,jafjuliana/bootstrap,lynnic26/bootstrap,AlinaPoluykova/bootstrap,sealocal/bootstrap,twskipper/bootstrap,philip8728/bootstrap,aihua/bootstrap,Vito2015/bootstrap,renesenses/bootstrap,joblocal/bootstrap,Demesheo/bootstrap,jmknoll/bootstrap,rachidmrad/bootstrap,huanyufuchen/bootstrap,zbeiping/bootstrap,linecheng/cjt.bootstrap,andybenedict/bootstrap,jxnblk/bootstrap,barbarajquinn/Unbounce,deepjyotisaran/bootstrap,hr1992/bootstrap,gseregni/bootstrap,grady-lad/bootstrap,quxian/bootstrap,Stanley-Tian/bootstrap,swaincreates/bootstrap,yuandarili/bootstrap,dmbaughman/bootstrap,auyaauya/bootstrap,natnmikey/bootstrap,huyqta/bootstrap,5112n4/bootstrap,xiaohanima/bootstrap,luoxingbo/bootstrap,ubuntuvim/bootstrap,AndBicScadMedia/bootstrap,codercpf/bootstrap,feisuo/bootstrap,tss0823/bootstrap,luisvillasenor/bootstrap,andrescarceller/bootstrap,EspadaV8/bootstrap,it-tavis/bootstrap,chris-barry/bootstrap,webmusing/bootstrap,hdgjun/bootstrap,duocdo/bootstrap,bigfont/my-bootstrap,jason-zhangquan/bootstrap,jipexu/bootstrap,Endika/bootstrap,wangyouwen/bootstrap,eduvo/bootstrap,NCARB/bootstrap,luigiDP/bootstrap,maxwhale/bootstrap,wangyouwen/bootstrap,burakukula/bootstrap,laputaer/bootstrap,ubuntuvim/bootstrap,taibaiyifeng/bootstrap,zombie9080/bootstrap,jiangjiane/bootstrap,biokillos/bootstrap,hunannan/bootstrap,MaizerGomes/bootstrap,kolonse/bootstrap,jczerwinski/bootstrap,AndBicScadMedia/bootstrap,ldwb/bootstrap,GeoffYoung/bootstrap,yuhualingfeng/bootstrap,paulirish/bootstrap,iichenbf/bootstrap,Quantumke/bootstrap,stewaoi/bootstrap,Konaeu/bootstrap,Lexxville/bootstrap,renebentes/bootstrap,BlitheSun/bootstrap,stevie-mayhew/bootstrap,Kabele/bootstrap,bokorir/bootstrap,lonewolfyx/bootstrap,yamasy1549/bootstrap,bhamodi/bootstrap,camilo86/bootstrap,bingeng99/bootstrap,ThiagoGarciaAlves/bootstrap,danggui/bootstrap,alessak655/bootstrap,rosscdh/bootstrap,LYMelody/bootstrap,seanwu99/bootstrap,smartassdesign/bootstrap,edanbarak/bootstrap,hr1992/bootstrap,RyanChenLee/bootstrap-1,x740073529/bootstrap,lipis/bootstrap,bendroid/bootstrap,lmbano/bootstrap,HITlilingzhi/bootstrap,evilebottnawi/bootstrap,yanyon/bootstrap,paulirish/bootstrap,kyroskoh/bootstrap,Stanley-Tian/bootstrap,2947721120/Bootstrap,changezhcyy/bootstrap,zhaosichao/bootstrap,lpy411/bootstrap,highway2hell/bootstrap,dbkaplun/bootstrap,TORO-IO/bootstrap,bxq2013/bootstrap,136296634mn/bootstrap,JumpLinkNetwork/bootstrap-backward,cheewing/bootstrap,aihua/bootstrap,GerHobbelt/bootstrap,Ricardozhang/bootstrap,fifth5/Bootstrap,xkzlx0523/bootstrap,arthursllaw/bootstrap,iichenbf/bootstrap,xk-coco/bootstrap,xiaoying1990/bootstrap,smartassdesign/bootstrap,zhw88803/bootstrap,codefarmer-cyk/bootstrap,jeff235255/bootstrap,liaolunhui/bootstrap,zbeiping/bootstrap,n054/bootstrap,jinxiangjian/bootstrap,wendelas/bootstrap,bigfont/my-bootstrap,lizzlee/bootstrap,sthashree/bootstrap,alanhc/bootstrap,jbrasher0623/bootstrap,augustofere/bootstrap,lulusayhi/bootstrap,shamimhasan/bootstrap,DuanSuXia/bootstrap,waywaaard/bootstrap,logilab/bootstrap,tylertadej/bootstrap,arthursllaw/bootstrap,Harvey4431/bootstrap,MikeHMF/bootstrap,paulovieira/bootstrap,Aquafina99/bootstrap,PayneZ/bootstrap,behind2/bootstrap,azmenak/bootstrap,EMIAOZANG/bootstrap,seonwan/testCD,lfzyy/bootstrap,MonkeyHans/bootstrap,studiocraft/bootstrap,smc0210/bootstrap,logilab/bootstrap,wentixiaogege/bootstrap,paultyng/bootstrap,lijiap/bootstrap,Sailfishc/bootstrap,xy14581258/bootstrap,kolonse/bootstrap,Jaon95/bootstrap,lyxiaowangzi/bootstrap,bugakm/bootstrap,wm1991/bootstrap,gn0st1k4m/bootstrap,zilihangjian/bootstrap,ysy950803/bootstrap,mmakademia/bootstrap-mmakademia,reddit/snooboots,natnmikey/bootstrap,Johan08/bootstrap,duydb/bootstrap,qiruiyin/bootstrap,kgharaibeh/bootstrap,XtianB/bootstrap,wbshm/bootstrap,owyowoo/bootstrap,Anracle/bootstrap,yulin626/bootstrap,acconrad/bootstrap,coliff/bootstrap,rosscdh/bootstrap,auyaauya/bootstrap,m5o/bootstrap,luluzero/bootstrap,cornedor/bootstrap,azkfrm/bootstrap,Scosentino/bootstrap,caleb/bootstrap,yuyokk/bootstrap,lipis/bootstrap,wantstudy/bootstrap,AugHu/bootstrap,ralic/bootstrap,wm1991/bootstrap,liuyisiyisi/bootstrap,pashachee/bootstrap,laihua1001/bootstrap,jmknoll/bootstrap,Rafeh01/bootstrap,mysugr/bootstrap,abitdodgy/bootstrap,Shadowcn/bootstrap,alberto/bootstrap,camilo86/bootstrap,lmbano/bootstrap,pzw224/bootstrap,shangguanecho/bootstrap,arisecbf/bootstrap,elkingtonmcb/bootstrap,xiaohanima/bootstrap,yanzhuofu/bootstrap,kakuhiroshi/bootstrap,tss0823/bootstrap,runnerchen/Mybootstrap,patrickhlauke/bootstrap,normajs/bootstrap,mawen741/bootstrap,stonegithubs/bootstrap,qiaxilamu/bootstrap,m0000re/bootstrap,seoulstore/ssss,claudelee/bootstrap,gsls1817/bootstrap,AllanHao/bootstrap,MAubreyK/bootstrap,DonCheetle/BootstrapTemplate,RobertJGabriel/bootstrap,Konaeu/bootstrap,iamryandrake/bootstrap,xiaoying1990/bootstrap,jhzhou1111/bootstrap,lacvapps/bootstrap,stanwmusic/bootstrap,AlvinWei1024/bootstrap,codercpf/bootstrap,hifeeling/bootstrap,hdgjun/bootstrap,seishei/bootstrap,jrpikong/bootstrap,stanleylin/bootstrap,sravan-s/bootstrap,evilebottnawi/bootstrap,JumpLinkNetwork/bootstrap-backward,claudelee/bootstrap,jimbick/bootstrap,09133695/bootstrap,mzheng6/bootstrap,adamnbowen/bootstrap,wangxianzhe015/bootstrap,tibo66/bootstrap,xuzhaokui/bootstrap,TORO-IO/bootstrap,Riokai/bootstrap,EspadaV8/bootstrap,finron/bootstrap,wxwxwwxxx/bootstrap,scjang/ssss,reqingdexiaomajia1/bootstrap,pashachee/bootstrap,Da-Hui/bootstrap,gou7214309/bootstrap,alessak655/bootstrap,ebulay/bootstrap,J861449197/bootstrap,Processoriented/bootstrap,EmuxEvans/bootstrap,tahins/rongdhonu,ronnyhaase/bootstrap,krissihall/bootstrap,codedogfish/bootstrap,wnr/bootstrap,davidenochk/bootstrap,syejing/bootstrap,rabbitcount/bootstrap,gustavolipi/teste,igoynawamreh/bootstrap,Quy/bootstrap,Anracle/bootstrap,adairtaosy/bootstrap,floydzhang315/bootstrap,mgenereu/bootstrap,jipexu/bootstrap,altihou/bootstrap,Albertzc/bootstrap,LuoSpark/bootstrap,rozisaacson/bootstrap,chacbumbum/bootstrap,hr1992/bootstrap,jiaohy/bootstrap,LastyClementine/bootstrap,zacechola/bootstrap,halobaby/bootstrap,dublebuble/bootstrap,Nubuck/bootstrap,calbert1209/bootstrap,engrsandeep/bootstrap,zhaoe333/bootstrap,altihou/bootstrap,davidfurlong/bootstrap,dsturley/bootstrap,JJay-ATT-WIT-Hack/bootstrap,mespana/bootstrap,gzush/mybootstrap,jorge07/bootstrap,raduraduica/bootstrap,acdgfh/bootstrap,LeslieJane/aboutme,codercpf/bootstrap,JuanKiss/Prueba,pandoraui/bootstrap,chiechie/bootstrap,yangchun0217/bootstrap,ztepsic/bootstrap,nanizx/bootstrap,ypchaudhary/bootstrap,tomlutzenberger/bootstrap,SkyZH/bootstrap-sekai,aikvaneemeren/overheidsmngt,Victorgichohi/bootstrap,novakom-devel/bootstrap-nk,lfzyy/bootstrap,mariotristan/bootstrap,a3rd/bootstrap,garrettjohnson/bootstrap,jianguozhang/bootstrap,syejing/bootstrap,numb95/bootstrap,roppa/bootstrap,acemaster/bootstrap,p2akira/bootstrap,ashukrishu/bootstrap,tomirendo/bootstrap,AyseAkr/bootstrap,thorsteinsson/bootstrap,pravinhirmukhe/bootstrap,nozkok/bootstrap,maxbeatty/bootstrap,yulunli/bootstrap,Pavithra-olety/bootstrap,yuyokk/twbs-bootstrap,CoreyHyllested/bootstrap,NiuTanJie/bootstrap,EmuxEvans/bootstrap,vsn4ik/bootstrap,threeday0905/bootstrap,southasia/bootstrap,BookingSync/styleguide,lynnic26/bootstrap,rohan07/bootstrap,ralphbean/bootstrap-fedora,kingland/bootstrap,stupboy/bootstrap,yangjunjie/bootstrap,bailey-ann/bootstrap,scjang/ssss,feisuo/bootstrap,LastyClementine/bootstrap,shenxb/bootstrap,BigRocky/bootstrap,congcongda/bootstrap,erikasf/bootstrap,linuxthings/bootstrap,AugHu/bootstrap,yfcydyf/bootstrap,rjmcbdev/bs-temp,trungtin/bootstrap,luisvillasenor/bootstrap,BitCare/bootstrap,asandyz/bootstrap,yezhiqin/bootstrap,mingyaaaa/bootstrap,youchief/bootstrap,malux13/bootstrap,sanusart/bootstrap,alotoftype/bootstrap,wm1991/bootstrap,WangJie2/bootstrap,luigiDP/bootstrap,SandersForPresident/bootstrap,sfdevgirl/bootstrap-1,huangguozhen/bootstrap,a3rd/bootstrap,githuya/bootstrap,Keeg0222/keeg022200.github.io,ahbing/bootstrap,JJay-ATT-WIT-Hack/bootstrap,Scoutski/bootstrap,MissMiao/bootstrap,JulienCabanes/bootstrap,CallMeFabioo/bootstrap,saturnast/bootstrap,wangxianzhe015/bootstrap,SwiftNynja/bootstrap,ruiruiguo/bootstrap,kak-tus/bootstrap,dingpf264/bootstrap,free-roaming-freelancer/test,kasjolaj/bootstrap,mpharrigan/bootstrap,yunkai/bootstrap,joblocal/bootstrap,pravinhirmukhe/bootstrap,AuthentiqID/bootstrap,hbrls/bootstrap,NickyBleiel/bootstrap,elkingtonmcb/bootstrap,kevinlisota/bootstrap,aikvaneemeren/overheidsmngt,unasuke/bootstrap,zhaoe333/bootstrap,janseliger/bootstrap,steamit/bootstrap,RobertJGabriel/bootstrap,studiocraft/bootstrap,libbyyounh/bootstrap,nozkok/bootstrap,Albertzc/bootstrap,m10n/bootstrap,h3xagram/bootstrappin,minupalaniappan/bootstrap,rdarioduarte/bootstrap,the-open-university/ouice-bootstrap,rtorr/bootstrap-1,carlosjuchoa/bootstrap,songjia2/bootstrap,Processoriented/bootstrap,AlexKenbo/advercabinet,ShellyCode/bootstrap,TramizuZwoNull/bootstrap,meilixie/bootstrap,silverbux/bootstrap,natnmikey/bootstrap,asandyz/bootstrap,gianthat/bootstrap,zhcy/bootstrap,monoblaine/bootstrap,lynnic26/bootstrap,zhaosichao/bootstrap,CuteSephiroth/bootstrap,owl000/bootstrap,jehhynes/bootstrap,p2akira/bootstrap,daviYang/bootstrap,SaddySw/bootstrap,pashachee/bootstrap,initc/bootstrap,copynpaste/bootstrap,luoxingbo/bootstrap,rourrr/bootstrap,thesobek/bootstrap,MoreConsequence/bootstrap,RyanChenLee/bootstrap-1,AndBicScadMedia/bootstrap,biokillos/bootstrap,xuzhaokui/bootstrap,James0tang/bootstrap,fual/bootstrap,lxbgit/bootstrap,Konaeu/bootstrap,qiruiyin/bootstrap,creativewebjp/bootstrap,jrpikong/bootstrap,malux13/bootstrap,rmsjr/bootstrap,LeslieJane/aboutme,myyphp/bootstrap,davidjb/bootstrap,richardmarkhunt/bootstrap,Harvey4431/bootstrap,IdanCo/bootstrap,Vito2015/bootstrap,tbryant/bootstrap,libbyyounh/bootstrap,FerranSalguero/bootstrap-glimpse,udhayam/bootstrap,AyseAkr/bootstrap,FerranSalguero/bootstrap-motivate,kernel-alex/bootstrap,wl1729562821/bootstrap,supermicah/bootstrap,Zopieux/bootstrap,ngrash/bootstrap,zonayedpca/bootstrap,hifeeling/bootstrap,asanohideo/bootstrap,jinjiang2009/bootstrap,lowyjoe/bootstrap,aDaiCode/bootstrap,mingyaaaa/bootstrap,lufront/bootstrap,acbarbosa1964/bootstrap,bitcoinapi/bootstrap,hua98918/bootstrap,lzz358191062/bootstrap,EdwinChanYi/bootstrap,bendroid/bootstrap,runner525/bootstrap,logesh-kumar/bootstrap,reqingdexiaomajia1/bootstrap,maxbeatty/bootstrap,owl000/bootstrap,lxbgit/bootstrap,choumeiqishi/bootstrap,ligson/bootstrap,jjj117/bootstrap,haokevin/bootstrap,MingxuanChen/bootstrap,yuhangbest0317/bootstrap,dreamerisdoer/bootstrap,RRides/bootstrap,seishei/bootstrap,omeid/bootstrap,bayren820/bootstrap,hcgtv/bootstrap,silverbux/bootstrap,yuhao/mobitools-website,rtorr/bootstrap-1,DonCheetle/BootstrapTemplate,udhayam/bootstrap,wentixiaogege/bootstrap,laputaer/bootstrap,davidroyer/bootstrap,omeripek/bootstrap,kevinfng/bootstrap,wushuyi/bootstrap,unasuke/bootstrap,jbushmaster007/bootstrap,jxnblk/bootstrap,Galactix/bootstrap,slackero/bootstrap,copynpaste/bootstrap,caiminf/bootstrap,llinacont/bootstrap,ysy950803/bootstrap,Zopieux/bootstrap,zhangweiyu51/bootstrap,esparkman/bootstrap,smc0210/bootstrap,AmeyRuikar/bootstrap,jacklotusho/bootstrap,developmans/bootstrap,sanusart/bootstrap,behind2/bootstrap,Microtrends/bootstrap,owyowoo/bootstrap,sagarrayudu/bootstrap-formal,ZJsnowman/bootstrap,chrisnicotera/bootstrap,AlbertoBarrago/bootstrap,grahamaj/bootstrap,bkrukowski/bootstrap,DanielWorld/bootstrap,liuchaopy/bootstrap,jinjiang2009/bootstrap,wangyongshun98/bootstrap,JulienCabanes/bootstrap,aychentie/bootstrap,Binn-Jou/bootstrap,changezhcyy/bootstrap,Taskmaster23/bootstrap,luisvillasenor/bootstrap,sunjian1/bootstrap,hbj520/bootstrap,sebinsequira99/bootstrap,amad4biz/bootstrap,garrettjohnson/bootstrap,Johann-S/bootstrap,abiyug/bootstrap,Just-D/bootstrap,juliancrosss/bootstrap,howtolearntocode/bootstrap,dreamofei/bootstrap,FerranSalguero/bootstrap-base,linecheng/cjt.bootstrap,Hemphill/bootstrap-docs,zl352773277/bootstrap,Quy/bootstrap,fschumann1211/bootstrap,PayneZ/bootstrap,mpharrigan/bootstrap,rtorr/bootstrap-1,Sapphire64/bootstrap,grahamaj/bootstrap,ozzyogkush/bootstrap,JonFerrera/bootstrap,bkrukowski/bootstrap,xiaoying1990/bootstrap,twbs-savage/bootstrap,Ozarkexpeditions/bootstrap,liveNo/bootstrap,yitengruntu/bootstrap,h2o1k/bootstrap,woweijun123/bootstrap,lijiap/bootstrap,jjj117/bootstrap,a3rd/bootstrap,ozzyogkush/bootstrap,slavanga/bootstrap,MissMiao/bootstrap,xk-coco/bootstrap,armezit/bootstrap,rclai/bootstrap,lizzlee/bootstrap,bo01ean/bootstrap,mfolkeseth/bootstrap,Laurab-io/codeschoolGitDemo2,CoreyHyllested/bootstrap,gou7214309/bootstrap,Kabele/bootstrap,AndyGWood1/bootstrap,jipexu/bootstrap,AndyGWood1/bootstrap,hgmin777/bootstrap,bardiharborow/bootstrap,leftees/bootstrap,etyminas/Bootstrap-Test,omeid/bootstrap,wangxianzhe015/bootstrap,ypwanghh/bootstrap,ravins/bootstrap,para58/bootstrap,congljc/bootstrap,npvisual/bootstrap,lemuelbarango/bootstrap,chacbumbum/bootstrap,ngrash/bootstrap,hxnetgit/bootstrap,kumiau/bootstrap,Tony1928/bootstrap,pankaj-dhami/bootstrap,Maybe009/bootstrap,twbs/bootstrap,zhuzl/test,linjunmian/bootstrap,huangym2015/bootstrap,chenxiaoxing1992/bootstrap,PayneZ/bootstrap,jackiewung/bootstrap,Ozarkexpeditions/bootstrap,silverorange/bootstrap,qq22022/bootstrap,jehhynes/bootstrap,vanderdennen/bootstrap,williamfortunademoraes/bootstrap,calvintychan/bootstrap,nikoz84/bootstrap,hdgjun/bootstrap,AmeyRuikar/bootstrap,david-schopf/bootstrap,frostbitten/bootstrap,zuoyouyou/bootstrap,bernardogfilho/bootstrap,NathanChan/bootstrap,zeropopular/bootstrap,payeldillip/bootstrap,KentChun33333/bootstrap,Johann-S/bootstrap,hujianfei1989/bootstrap,onenameio/rhythm-bootstrap,joshreed/bootstrap,Hightrack/bootstrap,karcc/bootstrap,xiejiulong/bootstrap,FerranSalguero/bootstrap-base,jehhynes/bootstrap,shonderdos/bootstrap,jafjuliana/bootstrap,lieyike/bootstrap,erhanpaker/bootstrap,slackero/bootstrap,gitdevlr/bootstrap,ozzyogkush/bootstrap,urbit/bootstrap,leomiranda92/bootstrap,ydmitry/bootstrap,rafaelstz/bootstrap,ylong/bootstrap,yfcydyf/bootstrap,kobeuu/bootstrap,hr1992/bootstrap,deadflowers/bootstrap,shisuzhiwai/bootstrap,dmbaughman/bootstrap,baraamashaal/bootstrap,wbshm/bootstrap,zombie9080/bootstrap,yfhu82/bootstrap,Mo-chan/bootstrap,vsn4ik/bootstrap,shenxb/bootstrap,luistelmocosta/bootstrap,andrescarceller/bootstrap,Shengs/bootstrap,kingland/bootstrap,rabbitcount/bootstrap,JuanKiss/Prueba,renesenses/bootstrap,SPikeVanz/bootstrap,bootstrapbrasil/bootstrap,studiowangfei/bootstrap,joblocal/bootstrap,seonwan/testCD,ederfranco/bootstrap,121595113/bootstrap,biokillos/bootstrap,felds/bootstrap,yangjunjie/bootstrap,Binn-Jou/bootstrap,xuxinxin/bootstrap,sagarrayudu/bootstrap-formal,congcongda/bootstrap,hoangkien/bootstrap,wang508x102/bootstrap,ligson/bootstrap,jackRogers/bootstrap-1,starckgates/bootstrap,jafjuliana/bootstrap,bendroid/bootstrap,shamimhasan/bootstrap,qiaxilamu/bootstrap,kakuhiroshi/bootstrap,omeripek/bootstrap,barbarajquinn/Unbounce,cesarmarinhorj/bootstrap,kirning/bootstrap,matrix-stone/bootstrap,LastyClementine/bootstrap,DanielWorld/bootstrap,carlosjuchoa/bootstrap,santhosh17s/bootstrap,alanhc/bootstrap,engrsandeep/bootstrap,lmbano/bootstrap,parth9837/bootstrap,aguagua/bootstrap,xiaohanima/bootstrap,duydb/bootstrap,pankaj-dhami/bootstrap,mdo/bootstrap,Mo-chan/bootstrap,alonso134/bootstrap,rsvip/BootStrap,upyun-dev/bootstrap,davidroyer/bootstrap,myvnn/bootstrap,spikebachman/bootstrap,zhnlk/bootstrap,normajs/bootstrap,Encore777/bootstrap,ejoful/bootstrap,dreamerisdoer/bootstrap,vittal288/bootstrap,shuiyibu/bootstrap,shangguanecho/bootstrap,mawen741/bootstrap,r14r/fork_bootstrap_master,smartassdesign/bootstrap,iancampelo/bootstrap,mysugr/bootstrap,transGLUKator/bootstrap,sravan-s/bootstrap,rdarioduarte/bootstrap,rsstation/bootstrap,patrickhlauke/bootstrap,kuangbeibei/bootstrap,SivilTaram/bootstrap,linalu1/bootstrap,nozkok/bootstrap,ysy950803/bootstrap,youchief/bootstrap,polei/bootstrap,r14r/fork_bootstrap_master,perdona/bootstrap,FerranSalguero/bootstrap-blog,adamnbowen/bootstrap,hcgtv/bootstrap,juedewang/bootstrap,sam0516/bootstrap,gzush/mybootstrap,zacechola/bootstrap,Sachin-Ganesh/bootstrap,cornedor/bootstrap,qayoub/bootstrap,09133695/bootstrap,FerranSalguero/bootstrap-motivate,xieyingdong/bootstrap,zhangzeqiang/bootstrap,danggui/bootstrap,kzima/bootstrap,davidfurlong/bootstrap,ajacksified/bootstrap,zhcy/bootstrap,blackcs/bootstrap,mgenereu/bootstrap,linalu1/bootstrap,acbarbosa1964/bootstrap,zhqcelery/bootstrap,CCOOOOLL/bootstrap,MonkeyHans/bootstrap,FerranSalguero/bootstrap-glimpse,rmsjr/bootstrap,df2k2/bootstrap,whalejasmine/bootstrap,Ozarkexpeditions/bootstrap,easygrocers/sample2,Sirlon/bootstrap,dsturley/bootstrap,PayneZ/bootstrap,rob-meh/Xenostrap,colinadamwebb/WebSite1,lgkonline/bootstrap,yuhualingfeng/bootstrap,lqqqqf/bootstrap,wnr/bootstrap,iamryandrake/bootstrap,the-open-university/ouice-bootstrap,liuchaopy/bootstrap,ridixcr/bootstrap,zBMNForks/bootstrap,xuxinxin/bootstrap,numb95/bootstrap,creativewebjp/bootstrap,liuchungui/bootstrap,Kostersson/bootstrap,SandersForPresident/bootstrap,maxbeatty/bootstrap,altihou/bootstrap,owl000/bootstrap,SivilTaram/bootstrap,NickyBleiel/bootstrap,howtolearntocode/bootstrap,lanyingzhu/bootstrap,cesarmarinhorj/bootstrap,jesbin/bootstrapJME,laihua1001/bootstrap,kevinlisota/bootstrap,paimanirani/bootstrap,AlvinWei1024/bootstrap,stonegithubs/bootstrap,etreworgy/bootstrap,lxbgit/bootstrap,jbushmaster007/bootstrap,yky138495/bootstrap,myyphp/bootstrap,h3xagram/bootstrappin,luisfmsouza/bootstrap,dreamauya/bootstrap,jbrasher0623/bootstrap,AlexKenbo/advercabinet,stanwmusic/bootstrap,Holism/bootstrap,KM-MFG/bootstrap,hgl888/bootstrap,jafjuliana/bootstrap,RRides/bootstrap,Sharon312/bootstrap,polarbird/bootstrap,juliancrosss/bootstrap,kkop233/bootstrap,vlabunets/bootstrap,zuoyouyou/bootstrap,raduraduica/bootstrap,cnkmym/bootstrap,r14r-work/fork_bootstrap_master,rob-meh/Xenostrap,LeslieJane/aboutme,Zopieux/bootstrap,algolia/bootstrap,zfdev/bootstrap,seonwan/testCD,calbert1209/bootstrap,txh6634125/bootstrap,zeropopular/bootstrap,Processoriented/bootstrap,honorousjack/bootstrap,wangcan2014/bootstrap,121595113/bootstrap,danggui/bootstrap,eduvo/bootstrap,1993liang/bootstrap,wbshm/bootstrap,andrewrdakers/bootstrap,bardiharborow/bootstrap,openhardnudd/bootstrap,panvagil/bootstrap,wpxkm/bootstrap,iamryandrake/bootstrap,aungcvt/bootstrap,wxwxwwxxx/bootstrap,quinonez/bootstrap,sravan-s/bootstrap,claudelee/bootstrap,hgmin777/bootstrap,deadflowers/bootstrap,quxian/bootstrap,hbj520/bootstrap,baraamashaal/bootstrap,westpsk/bootstrap,halobaby/bootstrap,kshysius/bootstrap,xyz3282836/bootstrap,yuyokk/bootstrap,TejaSedate/bootstrap,burakukula/bootstrap,david-schopf/bootstrap,lijiap/bootstrap,NathanChan/bootstrap,mosesasia/bootstrap,jerems02/bootstrap,ChengChiongWah/bootstrap,Gbuomprisco/bootstrap,tyhappy/bootstrap,vitorgja/bootstrap,heruan/bootstrap,duanying0818/bootstrap,meilixie/bootstrap,songjia2/bootstrap,kvlsrg/bootstrap,jemmy655/bootstrap,alessak655/bootstrap,pandoraui/bootstrap,mrzzcn/bootstrap,txh6634125/bootstrap,sunjian1/bootstrap,acdgfh/bootstrap,sravan-s/bootstrap,wantstudy/bootstrap,jackRogers/bootstrap-1,tahins/rongdhonu,chenbo0302/bootstrap,pzw224/bootstrap,nmgwddj/bootstrap,tombmax/bootstrap,nuts373/bootstrap,transGLUKator/bootstrap,tomirendo/bootstrap,myyphp/bootstrap,Nastarani1368/bootstrap,initaldk/initialdk,xwpfullstack/bootstrap,gaojunling/bootstrap,RRides/bootstrap,JuanKiss/Prueba,frostbitten/bootstrap,lulusayhi/bootstrap,AlbertoBarrago/bootstrap,mauricew/bootstrap,azkfrm/bootstrap,tieyi0404/bootstrap,pandoraui/bootstrap,Loky1985/bootstrap,kab2512/bootstrap,09133695/bootstrap,stevie-mayhew/bootstrap,llinacont/bootstrap,janseliger/bootstrap,LimetecBiotechnologies/bootstrap,mynane/bootstrap,Gbuomprisco/bootstrap,supermicah/bootstrap,EmuxEvans/bootstrap,laomaodegushi/bootstrap,Shadowcn/bootstrap,EMIAOZANG/bootstrap,laputaer/bootstrap,lacvapps/bootstrap,songzheng741/bootstrap,Aylchen/bootstrap,chenfwind/bootstrap,Vontei/bootstrap,jesbin/bootstrapJME,titiushko/bootstrap,pkdevbox/bootstrap,kingland/bootstrap,lonewolfyx/bootstrap,Craigology/bootstrap,ZTR23/bootstrap,jollylulu/bootstrap,rdarioduarte/bootstrap,Klaudit/bootstrap,huettner/bootstrap,Shengs/bootstrap,hanmichael/bootstrap,tyhappy/bootstrap,etyminas/Bootstrap-Test,dmbaughman/bootstrap,jollylulu/bootstrap,xiaoying1990/bootstrap,chouhan/bootstrap,tyaslab/bootstrap,kobiak/bootstrap,Kim1994/bootstrap,numb95/bootstrap,victorzhang17/bootstrap,mingyaaaa/bootstrap,zhangzeqiang/bootstrap,hufengping/bootstrap,shixiaomiaomiao/bootstrap,AlvinWei1024/bootstrap,berrychong/bootstrap,LoQIStar/bootstrap,jyothishchandran1992/bootstrap,transGLUKator/bootstrap,zl352773277/bootstrap,upyun-dev/bootstrap,Nubuck/bootstrap,eric-stanley/bootstrap,sunhk25/bootstrap,liveNo/bootstrap,ChaofengZhou/bootstrap,Jeramian/bootstrap,renebentes/bootstrap,paulmolluzzo/bootstrap,paulovieira/bootstrap,brutella/bootstrap,omeripek/bootstrap,WangJie2/bootstrap,it-tavis/bootstrap,ProgramUY/tree,3stack-software/bootstrap,Amoralyn/bootstrap,erikasf/bootstrap,bokorir/bootstrap,liuchungui/bootstrap,bokorir/bootstrap,Delagen/bootstrap,jainilpatel/bootstrap,ThiagoFerreir4/bootstrap,asanohideo/bootstrap,hujianfei1989/bootstrap,MissMiao/bootstrap,pearlisme/bootstrap,newdeamon/bootstrap,JulienCabanes/bootstrap,acemaster/bootstrap,wjagodfrey/bootstrap,David-Nangong/bootstrap,kumaria/bootstrap,Rafeh01/bootstrap,shuiyibu/bootstrap,david-schopf/bootstrap,smileklvens/bootstrap,kshysius/bootstrap,welloncn/bootstrap,qiruiyin/bootstrap,kyroskoh/bootstrap,hbrls/bootstrap,yuhualingfeng/bootstrap,likaiwalkman/bootstrap,bhamodi/bootstrap,weltond/bootstrap,Jeramian/bootstrap,pkdevbox/bootstrap,tingyuji/boots,xy14581258/bootstrap,niushir/bootstrap,h2o1k/bootstrap,mievar/bootstrap,erhanpaker/bootstrap,SwiftNynja/bootstrap,Aliang2015/bootstrap,jackRogers/bootstrap-1,ylong/bootstrap,yuandarili/bootstrap,kak-tus/bootstrap,mespana/bootstrap,matrix-stone/bootstrap,dbkaplun/bootstrap,adamwintle/bootstrap,edanbarak/bootstrap,gustavolipi/teste,zhouwenbin/bootstrap,erikasf/bootstrap,studiowangfei/bootstrap,liuyisiyisi/bootstrap,fb2kfans/bootstrap,diyinqianchang/bootstrap,caiminf/bootstrap,jimmyamash/bootstrap,abvalentine/bootstrap,xyz3282836/bootstrap,howtolearntocode/bootstrap,kernel-alex/bootstrap,jkin8010/bootstrap,ahbing/bootstrap,openhardnudd/bootstrap,andresgalante/bootstrap,swaincreates/bootstrap,normajs/bootstrap,hbj520/bootstrap,RanHoNg/bootstrap,halobaby/bootstrap,drsounds/flatstrap,Sharon312/bootstrap,firewall5788/bootstrap,ravins/bootstrap,ShengCN/bootstrap,abhiShandy/bootstrap,seas521/repository1,llinacont/bootstrap,jason-zhangquan/bootstrap,codedogfish/bootstrap,AugHu/bootstrap,YinPeng29/bootstrap,superfreeman/bootstrap,xieyingdong/bootstrap,Klaudit/bootstrap,iancampelo/bootstrap,TejaSedate/bootstrap,Kostersson/bootstrap,ShellyCode/bootstrap,Riokai/bootstrap,trungtin/bootstrap,liubao19860416/bootstrap,lpy411/bootstrap,yuyokk/twbs-bootstrap,jamez14/bootstrap,sebinsequira99/bootstrap,MoreConsequence/bootstrap,Ricardozhang/bootstrap,NCARB/bootstrap,ZTR23/bootstrap,candybanana/bootstrap,vlabunets/bootstrap,wangsai/bootstrap,harbichidian/bootstrap,rob-meh/Xenostrap,rosscdh/bootstrap,mrginglymus/bootstrap,joshreed/bootstrap,AyseAkr/bootstrap,ajacksified/bootstrap,hyb628/bootstrap,sylvesterwillis/bootstrap,quxian/bootstrap,yanyon/bootstrap,Zearin/bootstrap,SweetProcess/bootstrap,ratul-saha/demo1,zfdev/bootstrap,CapeSepias/bootstrap,spikebachman/bootstrap,lipis/bootstrap,bestwpw/bootstrap,KentChun33333/bootstrap,Galactix/bootstrap,LYMelody/bootstrap,beni55/bootstrap,gianthat/bootstrap,wentixiaogege/bootstrap,rohan07/bootstrap,WaffleWolfy/bootstrap,SkyZH/bootstrap-sekai,EmuxEvans/bootstrap,afuno/bootstrap,triggerThis/bootstrap,vsn4ik/bootstrap,stanleylin/bootstrap,copperdesign/bootstrap,michael-brade/bootstrap,hansey/bootstrap,iichenbf/bootstrap,me-benni/bootstrap,BitCare/bootstrap,champsupertramp/bootstrap,Zearin/bootstrap,ngochuy13/bootstrap,salamer/bootstrap,mosesasia/bootstrap,splendido/bootstrap,silverorange/bootstrap,karcc/bootstrap,thongredweb/bootstrap,Microtrends/bootstrap,urbit/bootstrap,hunannan/bootstrap,wangyikai/bootstrap,omeripek/bootstrap,chacbumbum/bootstrap,matrix-stone/bootstrap,pranay22/bootstrap,kidGodzilla/bootstrap,dianerdianer/bootstrap,bikong2/bootstrap,jhzhou1111/bootstrap,FernandezR/bootstrap,AlbertoBarrago/bootstrap,copperdesign/bootstrap,cold-brew-coding/bootstrap,zhangwei900808/bootstrap,azkfrm/bootstrap,yangtao19850306/bootstrap,qicaoyan/bootstrap,lanyingzhu/bootstrap,linalu1/bootstrap,fb2kfans/bootstrap,Taskmaster23/bootstrap,justincron/bootstrap,nikoz84/bootstrap,Brunation11/bootstrap,payeldillip/bootstrap,Craigology/bootstrap,tieyi0404/bootstrap,kzima/bootstrap,studiowangfei/bootstrap,zhanMingming/bootstrap,jcroot/bootstrap,McJeremy/bootstrap,lieyike/bootstrap,hanhongyi/bootstrap,zalog/bootstrap,diyinqianchang/bootstrap,Jonfurr/bootstrap,zhaosichao/bootstrap,dharapvj/jq-ui-bootstrap4,superfreeman/bootstrap,andrescarceller/bootstrap,kevinfng/bootstrap,firewall5788/bootstrap,Jonham/bootstrap,AlinaPoluykova/bootstrap,ebulay/bootstrap,wpxkm/bootstrap,huanyufuchen/bootstrap,fengyouchao/bootstrap,wushuyi/bootstrap,wpxkm/bootstrap,plutokan/bootstrap,reqingdexiaomajia1/bootstrap,zonayedpca/bootstrap,duanying0818/bootstrap,rclai/bootstrap,creativewebjp/bootstrap,purna/bootstrap,cold-brew-coding/bootstrap,raduraduica/bootstrap,codeclimate-testing/bootstrap,l0rd0fwar/bootstrap,yanzhuofu/bootstrap,blue2sky/bootstrap,huanyufuchen/bootstrap,hansey/bootstrap,rclai/bootstrap,Kostersson/bootstrap,lgkonline/bootstrap,paulmolluzzo/bootstrap,zhangweiyu51/bootstrap,jmknoll/bootstrap,sajiang/bootstrap,Anracle/bootstrap,buaayuanye/bootstrap,Scosentino/bootstrap,ChengChiongWah/bootstrap,JanStevens/bootstrap,SweetProcess/bootstrap,stbraswell/bootstrap,Pavithra-olety/bootstrap,free-memory/bootstrap,qayoub/bootstrap,xiaoniunwp/bootstrap,yangchun0217/bootstrap,jasminhalkic/bootstrap,mzheng6/bootstrap,Kabele/bootstrap,Kim1994/bootstrap,kingmanspop/bootstrap,JuanKiss/Prueba,tianyangj/bootstrap,Sirlon/bootstrap,twskipper/bootstrap,jiangjiane/bootstrap,Yuqiushi/bootstrap,augustofere/bootstrap,zhangzeqiang/bootstrap,jerems02/bootstrap,renebentes/bootstrap,Delagen/bootstrap,hiersekornc/bootstrap,RanHoNg/bootstrap,huyqta/bootstrap,jxnblk/bootstrap,MikeHMF/bootstrap,jamez14/bootstrap,cchac0n/bootstrap,realcrowd/bootstrap,wolfika/bootstrap,littlebay/bootstrap,krissihall/bootstrap,idreamingreen/bootstrap,marcos8667/SuperT,xiaoping2367/bootstrap,MaizerGomes/bootstrap,syejing/bootstrap,GeoffYoung/bootstrap,Shadowcn/bootstrap,mmakademia/bootstrap-mmakademia,likaiwalkman/bootstrap,zilihangjian/bootstrap,zeropopular/bootstrap,n054/bootstrap,GeoffYoung/bootstrap,JoelXiao/bootstrap,huangym2015/bootstrap,quinonez/bootstrap,tangposmarvin/bootstrap,lieyike/bootstrap,hebbet/bootstrap,CCOOOOLL/bootstrap,janseliger/bootstrap,champsupertramp/bootstrap,MAubreyK/bootstrap,DanteGintama/bootstrap,dreamofei/bootstrap,tofanelli/bootstrap,MarcosSegovia/bootstrap,yuhangbest0317/bootstrap,sahabudin/bootstrap,jamez14/bootstrap,jinxiangjian/bootstrap,adamnbowen/bootstrap,gaojunling/bootstrap,zalog/bootstrap,jiangjiane/bootstrap,zhnlk/bootstrap,tagliala/bootstrap,danny05881/bootstrap,ypchaudhary/bootstrap,JobsUnited/bootstrap,meilixie/bootstrap,jeezybrick/bootstrap,benedictpeng/bootstrap,catericy/bootstrap,smileklvens/bootstrap,Zearin/bootstrap,yamasy1549/bootstrap,aguagua/bootstrap,gsls1817/bootstrap,linjunmian/bootstrap,welloncn/bootstrap,Johan08/bootstrap,tyhappy/bootstrap,NickyBleiel/bootstrap,m5o/bootstrap,gencer/bootstrap,andybenedict/bootstrap,esparkman/bootstrap,DonCheetle/BootstrapTemplate,bo01ean/bootstrap,richardmarkhunt/bootstrap,pravinhirmukhe/bootstrap,zhangweiyu51/bootstrap,dingpf264/bootstrap,sahabudin/bootstrap,Demesheo/bootstrap,ashukrishu/bootstrap,Quantumke/bootstrap,SalesforceSFDC/bootstrap,bestwpw/bootstrap,kuldipem/bootstrap,aihua/bootstrap,normajs/bootstrap,NiuTanJie/bootstrap,peterblazejewicz/bootstrap,ThemeSurgeon/bootstrap,bugakm/bootstrap,loyalwind/bootstrap,jackiewung/bootstrap,ChaofengZhou/bootstrap,saturnast/bootstrap,kobiak/bootstrap,Rafeh01/bootstrap,gujiman/bootstrap,dakele123/bootstrap,LoQIStar/bootstrap,igoynawamreh/bootstrap,salamer/bootstrap,daviYang/bootstrap,xiaoniunwp/bootstrap,m358807551/bootstrap,nationalparkservice/bootstrap,0rangeT1ger/bootstrap,hua98918/bootstrap,zorca/bootstrap,BitCare/bootstrap,chenfwind/bootstrap,liuyisiyisi/bootstrap,jessiegibson/bootstrap,antonaavik/bootstrap,ejoful/bootstrap,Loky1985/bootstrap,SaddySw/bootstrap,bernardogfilho/bootstrap,Nastarani1368/bootstrap,gitdevlr/bootstrap,ab5y/bootstrap,Brunation11/bootstrap,whycode/bootstrap,yonedahiroshi/bootstrap,Anracle/bootstrap,lemuelbarango/bootstrap,mosesasia/bootstrap,jimmyamash/bootstrap,etreworgy/bootstrap,spfr/koncept-bootstrap,adoster36/bootstrap,caiminf/bootstrap,sunhk25/bootstrap,fual/bootstrap,xy14581258/bootstrap,brutella/bootstrap,wisetips/bootstrap,BigRocky/bootstrap,roppa/bootstrap,shixiaomiaomiao/bootstrap,ghermans/bootstrap,ThemeSurgeon/bootstrap,weltond/bootstrap,sealocal/bootstrap,kuangbeibei/bootstrap,maxwhale/bootstrap,lacvapps/bootstrap,Keeg0222/keeg022200.github.io,roderickwang/bootstrap,laihua1001/bootstrap,gianthat/bootstrap,me6iaton/bootstrap,yky138495/bootstrap,winlinvip/bootstrap-1,wolfika/bootstrap,barbarajquinn/Unbounce,NBSW/bootstrap,wangcan2014/bootstrap,michael-gabenna/bootstrap,sylvesterwillis/bootstrap,liuchungui/bootstrap,rachidmrad/bootstrap,engrsandeep/bootstrap,adoster36/bootstrap,maxwhale/bootstrap,alfredwh/bootstrap,grahamaj/bootstrap,ivanberry/bootstrap,zhangzeqiang/bootstrap,brillantesmanuel/bootstrap,githuya/bootstrap,cgvarela/bootstrap,jasminhalkic/bootstrap,yonedahiroshi/bootstrap,ProtonMail/bootstrap,Jaon95/bootstrap,df2k2/bootstrap,nationalparkservice/bootstrap,mosoft521/bootstrap,arifgursel/bootstrap,ydmitry/bootstrap,finron/bootstrap,gcrisis/bootstrap,tbryant/bootstrap,fifth5/Bootstrap,SalesforceSFDC/bootstrap,alonso134/bootstrap,kingland/bootstrap,yfcydyf/bootstrap,sanusart/bootstrap,bassjobsen/bootstrap,antoniomorais360/bootstrap,luisfmsouza/bootstrap,luiseduardohdbackup/bootstrap,Lyricalz/bootstrap,gsls1817/bootstrap,studiocraft/bootstrap,jinxiangjian/bootstrap,fuyunliu/bootstrap,monoblaine/bootstrap,David-Nangong/bootstrap,fifth5/Bootstrap,beni55/bootstrap,npvisual/bootstrap,JonFerrera/bootstrap,hebbet/bootstrap,Keeg0222/keeg022200.github.io,silverbux/bootstrap,Hoolay-CN/bootstrap,jczerwinski/bootstrap,zhangshaochen/bootstrap,wesamco/bootstrap-rtl,bassjobsen/bootstrap,tss0823/bootstrap,nice-fungal/bootstrap,AIML/bootstrap,acbarbosa1964/bootstrap,gustavolipi/teste,wangyouwen/bootstrap,McJeremy/bootstrap,cornedor/bootstrap,JanStevens/bootstrap,zorca/bootstrap,joshreed/bootstrap,FerranSalguero/bootstrap-motivate,Amoralyn/bootstrap,adairtaosy/bootstrap,minupalaniappan/bootstrap,kingmanspop/bootstrap,haBuu/bootstrap,oldhawkcn/bootstrap,bikong2/bootstrap,auyaauya/bootstrap,sam0516/bootstrap,zhw88803/bootstrap,AuyaJackie/bootstrap,aungcvt/bootstrap,deadflowers/bootstrap,dotku/bootstrap,EdwinChanYi/bootstrap,SPikeVanz/bootstrap,Galactix/bootstrap,shixiaomiaomiao/bootstrap,qq22022/bootstrap,ncusoho/bootstrap,davethegr8/bootstrap,codercpf/bootstrap,inway/bootstrap,arifgursel/bootstrap,Lexxville/bootstrap,victorzhang17/bootstrap,Scosentino/bootstrap,choumeiqishi/bootstrap,acmetech/bootstrap,jczerwinski/bootstrap,kshysius/bootstrap,luppittegui/bootstrap,kobeuu/bootstrap,kevinlisota/bootstrap,tianyangj/bootstrap,m358807551/bootstrap,pankaj-dhami/bootstrap,uniteddiversity/bootstrap,firewall5788/bootstrap,Hamzaerbay/bootstrap,davidfurlong/bootstrap,fanmingjun/bootstrap,slavanga/bootstrap,Oiro/bootstrap,evilebottnawi/bootstrap,colinadamwebb/WebSite1,asandyz/bootstrap,lipis/bootstrap,matrix-stone/bootstrap,xeronith/bootstrap,runnerchen/Mybootstrap,gabrielef/bootstrap,Hemphill/bootstrap-docs,dengyaolong/bootstrap,malux13/bootstrap,shonderdos/bootstrap,yamasy1549/bootstrap,ShengCN/bootstrap,linecheng/cjt.bootstrap,CuteSephiroth/bootstrap,MaraxHere/bootstrap,supergibbs/bootstrap,ralic/bootstrap,codeclimate-testing/bootstrap,payeldillip/bootstrap,hgl888/bootstrap,Zearin/bootstrap,stupboy/bootstrap,rafaelstz/bootstrap,myvnn/bootstrap,laomaodegushi/bootstrap,chunzj/bootstrap,scweekly/bootstrap,fuyunliu/bootstrap,eric-stanley/bootstrap,harbichidian/bootstrap,adoster36/bootstrap,daviYang/bootstrap,wl1729562821/bootstrap,Ricardozhang/bootstrap,David-Nangong/bootstrap,Aylchen/bootstrap,mattez/bootstrap,mariotristan/bootstrap,gaojunling/bootstrap,quinonez/bootstrap,rsvip/BootStrap,Galactix/bootstrap,minupalaniappan/bootstrap,zaijianwutian/bootstrap,gaohaijiang/bootstrap,vittal288/bootstrap,yanheng/bootstrap,lyxiaowangzi/bootstrap,nanuclickity/bootstrap,AIML/bootstrap,jesbin/bootstrapJME,abiyug/bootstrap,garrettjohnson/bootstrap,pzw224/bootstrap,cnkmym/bootstrap,wang508x102/bootstrap,blue2sky/bootstrap,luistelmocosta/bootstrap,wpxkm/bootstrap,aoimedia/bootstrap,parth9837/bootstrap,CatBakun/bootstrap,paultyng/bootstrap,Pavithra-olety/bootstrap,yanyon/bootstrap,pearlisme/bootstrap,x740073529/bootstrap,Hamzaerbay/bootstrap,stone2310/bootstrap,Johan08/bootstrap,xiaoping2367/bootstrap,rafaelstz/bootstrap,bertom/bootstrap,tagliala/bootstrap,3stack-software/bootstrap,jesievans/bootstrap,zhangwei900808/bootstrap,wisetips/bootstrap,Stanley-Tian/bootstrap,Hamzaerbay/bootstrap,BlitheSun/bootstrap,chenxiaoxing1992/bootstrap,YlJava110/bootstrap,logesh-kumar/bootstrap,Pingendo/bootstrap,SweetProcess/bootstrap,SkyZH/bootstrap-sekai,zhqcelery/bootstrap,youprofit/bootstrap,gencer/bootstrap,BigRocky/bootstrap,ebulay/bootstrap,tieyi0404/bootstrap,hbj520/bootstrap,ghermans/bootstrap,adamwintle/bootstrap,r14r/fork_bootstrap_master,kingmanspop/bootstrap,Vito2015/bootstrap,aikvaneemeren/overheidsmngt,pkdevbox/bootstrap,easygrocers/sample2,Teank/bootstrap,youprofit/bootstrap,hoangkien/bootstrap,kwangchin/bootstrap,yangtao19850306/bootstrap,Sapphire64/bootstrap,ebulay/bootstrap,sagarrayudu/bootstrap-formal,AlvinWei1024/bootstrap,XtianB/bootstrap,RavenB/bootstrap,lmbano/bootstrap,webmusing/bootstrap,srinivas2794/bootstrap,luiseduardohdbackup/bootstrap,gabrielgomesferraz/bootstrap,Zekom/bootstrap-1,zhw88803/bootstrap,xkzlx0523/bootstrap,GerHobbelt/bootstrap,zolfer/bootstrap,danny05881/bootstrap,cheewing/bootstrap,aguagua/bootstrap,numb95/bootstrap,shisuzhiwai/bootstrap,stewaoi/bootstrap,aaa7762437/bootstrap,ravins/bootstrap,prosenjit-itobuz/bootstrap,free-memory/bootstrap,xy14581258/bootstrap,Mcsim182/bootstrap,dbkaplun/bootstrap,xkzlx0523/bootstrap,jiangjian-zh/bootstrap,bestwpw/bootstrap,nikoz84/bootstrap,zorca/bootstrap,LIBOTAO/bootstrap,ruiruiguo/bootstrap,jcroot/bootstrap,Jonfurr/bootstrap,zhqcelery/bootstrap,JobsUnited/bootstrap,McJeremy/bootstrap,Keeg0222/keeg022200.github.io,ypwanghh/bootstrap,smrity-ku/bootstrap,Gbuomprisco/bootstrap,wnr/bootstrap,Nubuck/bootstrap,acconrad/bootstrap,Tony1928/bootstrap,hyb628/bootstrap,langemike/bootstrap,tieyi0404/bootstrap,syejing/bootstrap,juliancrosss/bootstrap,RavenB/bootstrap,gustavolavi/bootstrap,df2k2/bootstrap,victorzhang17/bootstrap,yuhangbest0317/bootstrap,abiyug/bootstrap,guoxun/bootstrap,owyowoo/bootstrap,gcnonato/bootstrap,paulovieira/bootstrap,fuyunliu/bootstrap,Connectlegendary/bootstrap,WildDogTeam/bootstrap,linuxthings/bootstrap,sfdevgirl/bootstrap-1,pranay22/bootstrap,Light-Thunder/bootstrap,chenfwind/bootstrap,hyb628/bootstrap,zengchenhuang/repos,brettle/bootstrap,xwpfullstack/bootstrap,ls2uper/bootstrap,r14r-work/fork_bootstrap_master,m10n/bootstrap,taeguk/bootstrap,natnmikey/bootstrap,Cyz-C/bootstrap,bayren820/bootstrap,dodopeng/bootstrap,qq22022/bootstrap,wisetips/bootstrap,luluzero/bootstrap,colinadamwebb/WebSite1,Zekom/bootstrap-1,raoenhui/bootstrap,philip8728/bootstrap,fschumann1211/bootstrap,yan5845hao/bootstrap,hcgtv/bootstrap,lgkonline/bootstrap,AlexKenbo/advercabinet,psychobunny/bootstrap,owenchen93/bootstrap,ztepsic/bootstrap,tylerwgoza/bootstrap,ratul-saha/demo1,mrzzcn/bootstrap,ThiagoGarciaAlves/bootstrap,highway2hell/bootstrap,huangguozhen/bootstrap,dublebuble/bootstrap,altihou/bootstrap,matthew-sochor/bootstrap,runner525/bootstrap,alberto/bootstrap,codefarmer-cyk/bootstrap,kumaria/bootstrap,cnkmym/bootstrap,monoblaine/bootstrap,lupk123/bootstrap,wendelas/bootstrap,dawangjiaowolaixunshan/bootstrap,nuts373/bootstrap,Teank/bootstrap,mysugr/bootstrap,studiowangfei/bootstrap,jiangbuting/bootstrap,yuhao/mobitools-website,unbug/bootstrap,reis/bootstrap,AuyaJackie/bootstrap,alberto/bootstrap,SalesforceSFDC/bootstrap,smileklvens/bootstrap,JavaHu/test,ederfranco/bootstrap,richardmarkhunt/bootstrap,gujiman/bootstrap,calbert1209/bootstrap,andybenedict/bootstrap,JavaHu/test,acmetech/bootstrap,seoulstore/ssss,liuchaopy/bootstrap,mukeshmugunthan/bootstrap,myvnn/bootstrap,Softdocs/bootstrap,YinPeng29/bootstrap,heruan/bootstrap,Kostersson/bootstrap,lqqqqf/bootstrap,David-Nangong/bootstrap,polei/bootstrap,lulusayhi/bootstrap,petetnt/bootstrap,Connectlegendary/bootstrap,kumaria/bootstrap,gitboy123/bootstrap,aJayBold/ccdemo,tombmax/bootstrap,gaojunling/bootstrap,tylerwgoza/bootstrap,gsanthosh91/bootstrap,hcgtv/bootstrap,vlabunets/bootstrap,kuldipem/bootstrap,it-tavis/bootstrap,Pletron/bootstrap,ostree/bootstrap,gaohaijiang/bootstrap,andresgalante/bootstrap,Holism/bootstrap,hanmichael/bootstrap,haokevin/bootstrap,tibo66/bootstrap,dublebuble/bootstrap,tomirendo/bootstrap,nationalparkservice/bootstrap,twbs-savage/bootstrap,bugakm/bootstrap,SampleLiao/bootstrap,wantstudy/bootstrap,coliff/bootstrap,lpy411/bootstrap,hryniu555/bootstrap,parth9837/bootstrap,sthashree/bootstrap,aoimedia/bootstrap,lyxiaowangzi/bootstrap,omeid/bootstrap,jiangjiane/bootstrap,inway/bootstrap,ChengChiongWah/bootstrap,luppittegui/bootstrap,davidroyer/bootstrap,paimanirani/bootstrap,AllanHao/bootstrap,kolorahl/bootstrap,jcroot/bootstrap,reddit/snooboots,Lessig2016/rootstrap,jmgore75/bootstrap,splendido/bootstrap,CatBakun/bootstrap,YlJava110/bootstrap,Mcsim182/bootstrap,kgharaibeh/bootstrap,snidima/bootstrap,fual/bootstrap,vitorgja/bootstrap,kuangbeibei/bootstrap,yanzhuofu/bootstrap,triggerThis/bootstrap,zhaojianrun/bootstrap,purna/bootstrap,LastyClementine/bootstrap,aaa7762437/bootstrap,qiruiyin/bootstrap,Softdocs/bootstrap,cesarmarinhorj/bootstrap,titiushko/bootstrap,TORO-IO/bootstrap,mosesasia/bootstrap,caiminf/bootstrap,lanyingzhu/bootstrap,zhanMingming/bootstrap,dachaoisme/bootstrap,AmeyRuikar/bootstrap,nikhyl/bootstrap,spfr/koncept-bootstrap,duanying0818/bootstrap,9-chirno/chirno,Connectlegendary/bootstrap,r14r-work/fork_bootstrap_master,TheFridayInstitute/bootstrap,wangyongshun98/bootstrap,k8e/bootstrap-web1.5,saturnast/bootstrap,nationalparkservice/bootstrap,yfhu82/bootstrap,jinjiang2009/bootstrap,chiechie/bootstrap,blockstack/blockstack-bootstrap,wxwxwwxxx/bootstrap,tofanelli/bootstrap,BlitheSun/bootstrap,wantstudy/bootstrap,tibo66/bootstrap,gaoxiaopang/bootstrap,bingeng99/bootstrap,nmgwddj/bootstrap,champsupertramp/bootstrap,Sharon312/bootstrap,calvintychan/bootstrap,yuandarili/bootstrap,songzheng741/bootstrap,ruiruiguo/bootstrap,JanStevens/bootstrap,williamfortunademoraes/bootstrap,reis/bootstrap,Zekom/bootstrap-1,huanyufuchen/bootstrap,CavemanIV/bs-study,JoelXiao/bootstrap,ajacksified/bootstrap,LeslieJane/aboutme,chris-barry/bootstrap,luluzero/bootstrap,plutokan/bootstrap,antoniomorais360/bootstrap,cqhuzeyu/bootstrap,fuyunliu/bootstrap,JumpLinkNetwork/bootstrap-backward,nice-fungal/bootstrap,dharapvj/jq-ui-makeover,Sirlon/bootstrap,LuoSpark/bootstrap,mukeshmugunthan/bootstrap,LimetecBiotechnologies/bootstrap,simtom/bootstrap,vlabunets/bootstrap,felds/bootstrap,lijiap/bootstrap,mawen741/bootstrap,hufengping/bootstrap,splendido/bootstrap,whalejasmine/bootstrap,Ricardozhang/bootstrap,JobsUnited/bootstrap,jacklotusho/bootstrap,isathish/bootstrap,salamer/bootstrap,hryniu555/bootstrap,luoxingbo/bootstrap,jbushmaster007/bootstrap,Jeramian/bootstrap,yitengruntu/bootstrap,erikasf/bootstrap,petetnt/bootstrap,xt0rted/bootstrap,Light-Thunder/bootstrap,jainilpatel/bootstrap,quinonez/bootstrap,dakshika/bootstrap,5112n4/bootstrap,chris-barry/bootstrap,sajiang/bootstrap,ypchaudhary/bootstrap,xiaoniunwp/bootstrap,etyminas/Bootstrap-Test,Aylchen/bootstrap,amad4biz/bootstrap,devsong/bootstrap,kakuhiroshi/bootstrap,ivanberry/bootstrap,jmgore75/bootstrap,JonFerrera/bootstrap,silverorange/bootstrap,williamfortunademoraes/bootstrap,AIML/bootstrap,michael-k/bootstrap,etreworgy/bootstrap,algolia/bootstrap,erhanpaker/bootstrap,steamit/bootstrap,carlosjuchoa/bootstrap,pzw224/bootstrap,m10n/bootstrap,xk-coco/bootstrap,EdwinChanYi/bootstrap,davethegr8/bootstrap,zolfer/bootstrap,laihua1001/bootstrap,mievar/bootstrap,Amoralyn/bootstrap,jhzhou1111/bootstrap,rtorr/bootstrap-1,nozkok/bootstrap,hyb628/bootstrap,kevinfng/bootstrap,antoniomorais360/bootstrap,Scoutski/bootstrap,timbrandin/bootstrap,Tony1928/bootstrap,seas521/repository1,Jazzo/bootstrap,tci2015/bootstrap,ashukrishu/bootstrap,nikhyl/bootstrap,dylan2019/bootstrap,vitaligent/4,corydorning/bootstrap,eric-stanley/bootstrap,sam0516/bootstrap,Processoriented/bootstrap,RavenB/bootstrap,acconrad/bootstrap,threeday0905/bootstrap,bigfont/my-bootstrap,behind2/bootstrap,jiaohy/bootstrap,nanuclickity/bootstrap,esternocleidomastoideo/bootstrap,linuxthings/bootstrap,TidyHuang/bootstrap,edanbarak/bootstrap,juedewang/bootstrap,gsanthosh91/bootstrap,pearlisme/bootstrap,afuno/bootstrap,kevinfng/bootstrap,JJay-ATT-WIT-Hack/bootstrap,petrsouglobov/bootstrap,jianguozhang/bootstrap,arunkt1/bootstrap,EMIAOZANG/bootstrap,seishei/bootstrap,rsstation/bootstrap,asanohideo/bootstrap,AllanHao/bootstrap,zolfer/bootstrap,wjagodfrey/bootstrap,free-memory/bootstrap,mysugr/bootstrap,xwpfullstack/bootstrap,Pletron/bootstrap,Sailfishc/bootstrap,rmsjr/bootstrap,cytingini/bootstrap,bikong2/bootstrap,hryniu555/bootstrap,arunkt1/bootstrap,Jazzo/bootstrap,IChocolateKapa/bootstrap,NCARB/bootstrap,eduvo/bootstrap,xt0rted/bootstrap,wswplay/bootstrap,chenbo0302/bootstrap,perdona/bootstrap,zhqcelery/bootstrap,jeezybrick/bootstrap,Harvey4431/bootstrap,arigarcia/bootstrap,wm1991/bootstrap,chenxiaoxing1992/bootstrap,realcrowd/bootstrap,WildDogTeam/bootstrap,cgvarela/bootstrap,jipexu/bootstrap,Codegereral/bootstrap,yuhangbest0317/bootstrap,uedatakeshi/bootstrap,ralic/bootstrap,youchief/bootstrap,xt0rted/bootstrap,Phonbopit/bootstrap,wesamco/bootstrap-rtl,antonaavik/bootstrap,CatBakun/bootstrap,unbug/bootstrap,burakukula/bootstrap,chrisnicotera/bootstrap,nanizx/bootstrap,zhanMingming/bootstrap,acmetech/bootstrap,jyothishchandran1992/bootstrap,jjj117/bootstrap,woweijun123/bootstrap,HITlilingzhi/bootstrap,mdo/bootstrap,Jaon95/bootstrap,yan5845hao/bootstrap,jianguozhang/bootstrap,lzz358191062/bootstrap,whycode/bootstrap,alotoftype/bootstrap,lemuelbarango/bootstrap,psychobunny/bootstrap,joblocal/bootstrap,lraxue/bootstrap,rozisaacson/bootstrap,ThiagoGarciaAlves/bootstrap,longshenpan/bootstrap,ProtonMail/bootstrap,dylan2019/bootstrap,liubao19860416/bootstrap,fb2kfans/bootstrap,free-roaming-freelancer/test,IChocolateKapa/bootstrap,dakshika/bootstrap,openhardnudd/bootstrap,srinivas2794/bootstrap,openhardnudd/bootstrap,stevie-mayhew/bootstrap,jehhynes/bootstrap,perdona/bootstrap,paulirish/bootstrap,Xerkus/bootstrap,berrychong/bootstrap,jeff235255/bootstrap,decayedcross/bootstrap,sebinsequira99/bootstrap,jason-zhangquan/bootstrap,zaijianwutian/bootstrap,Konaeu/bootstrap,sanusart/bootstrap,cheewing/bootstrap,hanhongyi/bootstrap,gseregni/bootstrap,h2o1k/bootstrap,tbryant/bootstrap,wangzhe55/bootstrap,MaizerGomes/bootstrap,cchac0n/bootstrap,anasnakawa/bootstrap,wangyikai/bootstrap,jjj117/bootstrap,zoujuny/bootstrap,etreworgy/bootstrap,Victorgichohi/bootstrap,highway2hell/bootstrap,lfzyy/bootstrap,kgharaibeh/bootstrap,it-tavis/bootstrap,abvalentine/bootstrap,ylong/bootstrap,wushuyi/bootstrap,zhuzl/test,gustavolavi/bootstrap,onenameio/rhythm-bootstrap,ab5y/bootstrap,congljc/bootstrap,DanteGintama/bootstrap,hufengping/bootstrap,kzima/bootstrap,xiaogang196/bootstrap,yunkai/bootstrap,jmgore75/bootstrap,uedatakeshi/bootstrap,Just-D/bootstrap,meobyte/bootstrap,Sachin-Ganesh/bootstrap,yangjunjie/bootstrap,chouhan/bootstrap,armezit/bootstrap,luoxingbo/bootstrap,zhouwenbin/bootstrap,hiersekornc/bootstrap,SaddySw/bootstrap,liubao19860416/bootstrap,devsong/bootstrap,bailey-ann/bootstrap,jinjiang2009/bootstrap,Vontei/bootstrap,hufengping/bootstrap,runner525/bootstrap,duocdo/bootstrap,codefarmer-cyk/bootstrap,benedictpeng/bootstrap,yong1236/bootstrap,mingyaaaa/bootstrap,iamryandrake/bootstrap,JavaHu/test,9-chirno/chirno,hgl888/bootstrap,LuoSpark/bootstrap,alonso134/bootstrap,tyaslab/bootstrap,luohai3635/bootstrap,Klaudit/bootstrap,reis/bootstrap,wangdewei/bootstrap,qicaoyan/bootstrap,triggerThis/bootstrap,bxq2013/bootstrap,angelasigh/bootstrap,yuyokk/bootstrap,Kabele/bootstrap,136296634mn/bootstrap,1993liang/bootstrap,starckgates/bootstrap,meobyte/bootstrap,acbarbosa1964/bootstrap,James0tang/bootstrap,kolonse/bootstrap,ydmitry/bootstrap,yzhao1216/bootstrap,jorge07/bootstrap,pravinhirmukhe/bootstrap,antonaavik/bootstrap,ysy950803/bootstrap,davethegr8/bootstrap,stonegithubs/bootstrap,thorsteinsson/bootstrap,ronnyhaase/bootstrap,candybanana/bootstrap,abbasmhd/bootstrap,Sapphire64/bootstrap,1993liang/bootstrap,aJayBold/ccdemo,lieyike/bootstrap,Aliang2015/bootstrap,adamnbowen/bootstrap,cchac0n/bootstrap,acconrad/bootstrap,santhosh17s/bootstrap,txh6634125/bootstrap,ruiruiguo/bootstrap,laomaodegushi/bootstrap,ab5y/bootstrap,MarcosSegovia/bootstrap,bingeng99/bootstrap,zoujuny/bootstrap,brettle/bootstrap,edanbarak/bootstrap,upyun-dev/bootstrap,SandersForPresident/bootstrap,kuldipem/bootstrap,jasminhalkic/bootstrap,SkyZH/bootstrap-sekai,NathanChan/bootstrap,yanheng/bootstrap,andrescarceller/bootstrap,Nastarani1368/bootstrap,Codegereral/bootstrap,zhw88803/bootstrap,daviYang/bootstrap,saturnast/bootstrap,JonFerrera/bootstrap,dianerdianer/bootstrap,AuthentiqID/bootstrap,ostree/bootstrap,Teank/bootstrap,cesarmarinhorj/bootstrap,jimmyamash/bootstrap,llinacont/bootstrap,TheFridayInstitute/bootstrap,meobyte/bootstrap,lizzlee/bootstrap,marcos8667/SuperT,292388900/bootstrap-1,xuxinxin/bootstrap,jacklotusho/bootstrap,arisecbf/bootstrap,brutella/bootstrap,BookingSync/styleguide,MoreConsequence/bootstrap,kolorahl/bootstrap,Demesheo/bootstrap,XtianB/bootstrap,CallMeFabioo/bootstrap,136296634mn/bootstrap,benjifx/bootstrap,AuthentiqID/bootstrap,kumaria/bootstrap,supergibbs/bootstrap,champsupertramp/bootstrap,oldhawkcn/bootstrap,zhangweiyu51/bootstrap,yzmin/bootstrap,longshenpan/bootstrap,chunzj/bootstrap,siddiqsazzad/bootstrap,MarcosSegovia/bootstrap,samipjain/bootstrap,TidyHuang/bootstrap,kasjolaj/bootstrap,LYMelody/bootstrap,ligson/bootstrap,RanHoNg/bootstrap,luigiDP/bootstrap,vanderdennen/bootstrap,frostbitten/bootstrap,zombie9080/bootstrap,whycode/bootstrap,Loky1985/bootstrap,westpsk/bootstrap,tibo66/bootstrap,angelasigh/bootstrap,zhcy/bootstrap,yangchun0217/bootstrap,gabrielef/bootstrap,esternocleidomastoideo/bootstrap,stanwmusic/bootstrap,woweijun123/bootstrap,hellonewman81/bs4,JoelXiao/bootstrap,aJayBold/ccdemo,IChocolateKapa/bootstrap,ztepsic/bootstrap,deepjyotisaran/bootstrap,candybanana/bootstrap,hifeeling/bootstrap,yezhiqin/bootstrap,dxu/bootstrap,grady-lad/bootstrap,ls2uper/bootstrap,YouthAndra/bootstrap,tci2015/bootstrap,Victorgichohi/bootstrap,shenxb/bootstrap,wisetips/bootstrap,amad4biz/bootstrap,benjifx/bootstrap,sunhk25/bootstrap,bkadowaki/innerbtsp,sdjsngs/bootstrap,mzheng6/bootstrap,hnscbj/bootstrap,nikhyl/bootstrap,alfredwh/bootstrap,free-memory/bootstrap,patrickhlauke/bootstrap,xuzhaokui/bootstrap,chenbo0302/bootstrap,yunkai/bootstrap,mauricew/bootstrap,southasia/bootstrap,zBMNForks/bootstrap,idreamingreen/bootstrap,Delagen/bootstrap,zengchenhuang/repos,rabbitcount/bootstrap,Ozarkexpeditions/bootstrap,supermicah/bootstrap,Zopieux/bootstrap,dreamerisdoer/bootstrap,mosoft521/bootstrap,fengyouchao/bootstrap,orzyang/bootstrap,smc0210/bootstrap,hunannan/bootstrap,brillantesmanuel/bootstrap,wl1729562821/bootstrap,zl352773277/bootstrap,adamwintle/bootstrap,KM-MFG/bootstrap,Azeg/bootstrap,tss0823/bootstrap,esparkman/bootstrap,jbrasher0623/bootstrap,yuyokk/twbs-bootstrap,KentChun33333/bootstrap,MonkeyHans/bootstrap,liaolunhui/bootstrap,prantlf/bootstrap,FernandezR/bootstrap,vejersele/bootstrap,psychobunny/bootstrap,aihua/bootstrap,5112n4/bootstrap,Johann-S/bootstrap,likaiwalkman/bootstrap,samipjain/bootstrap,libbyyounh/bootstrap,para58/bootstrap,zacechola/bootstrap,gaohaijiang/bootstrap,DanteGintama/bootstrap,h2o1k/bootstrap,Scoutski/bootstrap,yezhiqin/bootstrap,jemmy655/bootstrap,immovable-ladder/bootstrap,jkin8010/bootstrap,dublebuble/bootstrap,xeronith/bootstrap,tylerwgoza/bootstrap,inway/bootstrap,meilixie/bootstrap,zengchenhuang/repos,stupboy/bootstrap,uniteddiversity/bootstrap,lufront/bootstrap,OneZenD/gr8alpha,x740073529/bootstrap,laputaer/bootstrap,hoangkien/bootstrap,mynane/bootstrap,honorousjack/bootstrap,tyn520215/bootstrap,ederfranco/bootstrap,SalesforceSFDC/bootstrap,yezhiqin/bootstrap,petetnt/bootstrap,Aquafina99/bootstrap,wangyongshun98/bootstrap,leomiranda92/bootstrap,chenfwind/bootstrap,alberto/bootstrap,vittal288/bootstrap,sdjsngs/bootstrap,abvalentine/bootstrap,OneZenD/gr8alpha,duydb/bootstrap,bayren820/bootstrap,Endika/bootstrap,gn0st1k4m/bootstrap,LIBOTAO/bootstrap,chrisnicotera/bootstrap,gujiman/bootstrap,flexbox/bootstrap,cchac0n/bootstrap,ahbing/bootstrap,Vontei/bootstrap,silverorange/bootstrap,BookingSync/styleguide,me6iaton/bootstrap,anasnakawa/bootstrap,jerems02/bootstrap,jacklotusho/bootstrap,newdeamon/bootstrap,timbrandin/bootstrap,mosoft521/bootstrap,songzheng741/bootstrap,ProgramUY/tree,LoQIStar/bootstrap,matthew-sochor/bootstrap,Yuqiushi/bootstrap,me6iaton/bootstrap,marcos8667/SuperT,CuteSephiroth/bootstrap,Lyricalz/bootstrap,initc/bootstrap,jxnblk/bootstrap,ratul-saha/demo1,aychentie/bootstrap,jkin8010/bootstrap,johnajacob/bootstrap,paultyng/bootstrap,Oiro/bootstrap,yamasy1549/bootstrap,bardiharborow/bootstrap,jinxiangjian/bootstrap,shamimhasan/bootstrap,petrsouglobov/bootstrap,baraamashaal/bootstrap,diyinqianchang/bootstrap,m0000re/bootstrap,kkirsche/bootstrap,kyroskoh/bootstrap,Quy/bootstrap,hebbet/bootstrap,Hoolay-CN/bootstrap,Connectlegendary/bootstrap,yuyokk/bootstrap,CCOOOOLL/bootstrap,deepjyotisaran/bootstrap,karcc/bootstrap,jyothishchandran1992/bootstrap,kirning/bootstrap,spikebachman/bootstrap,aefly/bootstrap,Azeg/bootstrap,1993liang/bootstrap,janseliger/bootstrap,CapeSepias/bootstrap,baraamashaal/bootstrap,luisfmsouza/bootstrap,howtolearntocode/bootstrap,NiuTanJie/bootstrap,yan5845hao/bootstrap,huangym2015/bootstrap,Yuqiushi/bootstrap,cytingini/bootstrap,k8e/bootstrap-web1.5,paulmolluzzo/bootstrap,esparkman/bootstrap,owenchen93/bootstrap,afuno/bootstrap,Nubuck/bootstrap,rafaelstz/bootstrap,ChengChiongWah/bootstrap,gitboy123/bootstrap,westpsk/bootstrap,luohai3635/bootstrap,davidenochk/bootstrap,azmenak/bootstrap,jiashengc/bootstrap,panvagil/bootstrap,decayedcross/bootstrap,bailey-ann/bootstrap,OneZenD/gr8alpha,ProtonMail/bootstrap,zhangshaochen/bootstrap,armezit/bootstrap,zBMNForks/bootstrap,scjang/ssss,brettle/bootstrap,3stack-software/bootstrap,michael-k/bootstrap,Softdocs/bootstrap,alanhc/bootstrap,kumiau/bootstrap,yulunli/bootstrap,november1943/bootstrap,tylertadej/bootstrap,Mcsim182/bootstrap,Lexxville/bootstrap,rsvip/BootStrap,pat270/bootstrap,bernardogfilho/bootstrap,vittal288/bootstrap,hunannan/bootstrap,angelasigh/bootstrap,qq22022/bootstrap,stanleylin/bootstrap,zhuzl/test,iichenbf/bootstrap,sam0516/bootstrap,firewall5788/bootstrap,wendelas/bootstrap,catericy/bootstrap,TheFridayInstitute/bootstrap,J861449197/bootstrap,ThemeSurgeon/bootstrap,davidenochk/bootstrap,Oiro/bootstrap,ProgramUY/tree,gseregni/bootstrap,finron/bootstrap,abitdodgy/bootstrap,prosenjit-itobuz/bootstrap,huettner/bootstrap,stbraswell/bootstrap,candybanana/bootstrap,gou7214309/bootstrap,NBSW/bootstrap,liuyisiyisi/bootstrap,tomlutzenberger/bootstrap,Pletron/bootstrap,rosscdh/bootstrap,xk-coco/bootstrap,TejaSedate/bootstrap,novakom-devel/bootstrap-nk,Victorgichohi/bootstrap,roderickwang/bootstrap,wangsai/bootstrap,CavemanIV/bs-study,weltond/bootstrap,tagliala/bootstrap,tylertadej/bootstrap,wesamco/bootstrap-rtl,ahbing/bootstrap,stbraswell/bootstrap,CoreyHyllested/bootstrap,hebbet/bootstrap,justincron/bootstrap,ederfranco/bootstrap,Cyz-C/bootstrap,shuiyibu/bootstrap,shonderdos/bootstrap,adoster36/bootstrap,viviluhui/bootstrap,dreamofei/bootstrap,lraxue/bootstrap,yzhao1216/bootstrap,unbug/bootstrap,SampleLiao/bootstrap,zhangaiping1/bootstrap,cold-brew-coding/bootstrap,waywaaard/bootstrap,tylerwgoza/bootstrap,prantlf/bootstrap,mauricionr/bootstrap,webmusing/bootstrap,timbrandin/bootstrap,gseregni/bootstrap,esternocleidomastoideo/bootstrap,kab2512/bootstrap,bardiharborow/bootstrap,hanmichael/bootstrap,fual/bootstrap,cornedor/bootstrap,aJayBold/ccdemo,vejersele/bootstrap,zhuzl/test,smrity-ku/bootstrap,347199174/bootstrap,mawen741/bootstrap,free-roaming-freelancer/test,isathish/bootstrap,yuandarili/bootstrap,wesamco/bootstrap-rtl,aaa7762437/bootstrap,taeguk/bootstrap,XtianB/bootstrap,hdgjun/bootstrap,Delagen/bootstrap,yulunli/bootstrap,tianyangj/bootstrap,congljc/bootstrap,vitorgja/bootstrap,duanying0818/bootstrap,myvnn/bootstrap,tci2015/bootstrap,welloncn/bootstrap,lzz358191062/bootstrap,mrginglymus/bootstrap,ldwb/bootstrap,behind2/bootstrap,michael-gabenna/bootstrap,deepjyotisaran/bootstrap,psychobunny/bootstrap,dakshika/bootstrap,ThemeSurgeon/bootstrap,p2akira/bootstrap,ylong/bootstrap,bendroid/bootstrap,bigfont/my-bootstrap,ngochuy13/bootstrap,mauricionr/bootstrap,abbasmhd/bootstrap,dawangjiaowolaixunshan/bootstrap,JuanKiss/Prueba,jiangjian-zh/bootstrap,MaraxHere/bootstrap,YlJava110/bootstrap,prantlf/bootstrap,ridixcr/bootstrap,dmbaughman/bootstrap,mgenereu/bootstrap,xuzhaokui/bootstrap,jasminhalkic/bootstrap,yangtao19850306/bootstrap,threeday0905/bootstrap,assgod/bootstrap,anasnakawa/bootstrap,hua98918/bootstrap,november1943/bootstrap,hubert-zheng/bootstrap,AbhishekBiswal/bootstrap,wangsai/bootstrap,jessiegibson/bootstrap,smrity-ku/bootstrap,augustofere/bootstrap,twskipper/bootstrap,taeguk/bootstrap,renesenses/bootstrap,wang508x102/bootstrap,Phonbopit/bootstrap,acmetech/bootstrap,samipjain/bootstrap,ubuntuvim/bootstrap,0rangeT1ger/bootstrap,pankaj-dhami/bootstrap,paulmolluzzo/bootstrap,jiashengc/bootstrap,arisecbf/bootstrap,assgod/bootstrap,haokevin/bootstrap,mukeshmugunthan/bootstrap,hubert-zheng/bootstrap,gaohaijiang/bootstrap,rjmcbdev/bs-temp,MaraxHere/bootstrap,luistelmocosta/bootstrap,parth9837/bootstrap,calbert1209/bootstrap,Gbuomprisco/bootstrap,sagarrayudu/bootstrap-formal,honorousjack/bootstrap,xieyingdong/bootstrap,wangyouwen/bootstrap,liuliwork/bootstrap,fanmingjun/bootstrap,afuno/bootstrap,ab5y/bootstrap,liaolunhui/bootstrap,MaraxHere/bootstrap,rourrr/bootstrap,mzheng6/bootstrap,lizzlee/bootstrap,samipjain/bootstrap,yzmin/bootstrap,qayoub/bootstrap,mmakademia/bootstrap-mmakademia,lqqqqf/bootstrap,JumpLinkNetwork/bootstrap-backward,twskipper/bootstrap,AndyGWood1/bootstrap,thesobek/bootstrap,kgharaibeh/bootstrap,Jaon95/bootstrap,yunkai/bootstrap,blackcs/bootstrap,libbyyounh/bootstrap,jason-zhangquan/bootstrap,rohan07/bootstrap,wnr/bootstrap,philip8728/bootstrap,tofanelli/bootstrap,Mcsim182/bootstrap,shisuzhiwai/bootstrap,abhiShandy/bootstrap,AlexKenbo/advercabinet,wl1729562821/bootstrap,arunkt1/bootstrap,tahins/rongdhonu,vanderdennen/bootstrap,zaijianwutian/bootstrap,ProtonMail/bootstrap,wangyikai/bootstrap,dreamerisdoer/bootstrap,AmeyRuikar/bootstrap,BitCare/bootstrap,lacvapps/bootstrap,dreamauya/bootstrap,cutefrank/bootstrap,paulovieira/bootstrap,twbs/bootstrap,whalejasmine/bootstrap,arthursllaw/bootstrap,luohai3635/bootstrap,newdeamon/bootstrap,gabrielef/bootstrap,jeezybrick/bootstrap,mariotristan/bootstrap,copperdesign/bootstrap,DuanSuXia/bootstrap,wolfika/bootstrap,flexbox/bootstrap,fengyouchao/bootstrap,AlbertoBarrago/bootstrap,runner525/bootstrap,jimmyamash/bootstrap,starckgates/bootstrap,woweijun123/bootstrap,plutokan/bootstrap,jesbin/bootstrapJME,smrity-ku/bootstrap,Hightrack/bootstrap,MingxuanChen/bootstrap,AndyGWood1/bootstrap,bertom/bootstrap,zuoyouyou/bootstrap,scweekly/bootstrap,m10n/bootstrap,mievar/bootstrap,Quantumke/bootstrap,wentixiaogege/bootstrap,chunzj/bootstrap,lesterhm/bootstrap,Albertzc/bootstrap,linuxthings/bootstrap,AuyaJackie/bootstrap,uniteddiversity/bootstrap,peterblazejewicz/bootstrap,haokevin/bootstrap,duocdo/bootstrap,zhanMingming/bootstrap,121595113/bootstrap,adairtaosy/bootstrap,dreamofei/bootstrap,wangyikai/bootstrap,runnerchen/Mybootstrap,ozzyogkush/bootstrap,NiuTanJie/bootstrap,MoreConsequence/bootstrap,gabrielgomesferraz/bootstrap,blue2sky/bootstrap,DanielWorld/bootstrap,trungtin/bootstrap,leomiranda92/bootstrap,FernandezR/bootstrap,guoxun/bootstrap,CuteSephiroth/bootstrap,beni55/bootstrap,buaayuanye/bootstrap,abbasmhd/bootstrap,xiadc/bootstrap,langemike/bootstrap,CavemanIV/bs-study,mfolkeseth/bootstrap,hbrls/bootstrap,brutella/bootstrap,pandoraui/bootstrap,slavanga/bootstrap,steamit/bootstrap,andybenedict/bootstrap,tjkohli/bootstrap,SampleLiao/bootstrap,aefly/bootstrap,copperdesign/bootstrap,assgod/bootstrap,paultyng/bootstrap,drsounds/flatstrap,347199174/bootstrap,joshreed/bootstrap,ratul-saha/demo1,oldhawkcn/bootstrap,dsturley/bootstrap,bayren820/bootstrap,stewaoi/bootstrap,seas521/repository1,assgod/bootstrap,gijsbotje/bootstrap,snidima/bootstrap,halobaby/bootstrap,aefly/bootstrap,bertom/bootstrap,Jonfurr/bootstrap,dodopeng/bootstrap,hbrls/bootstrap,tyn520215/bootstrap,engrsandeep/bootstrap,haBuu/bootstrap,yong1236/bootstrap,kumiau/bootstrap,Da-Hui/bootstrap,WangJie2/bootstrap,harbichidian/bootstrap,pranay22/bootstrap,pashachee/bootstrap,Brunation11/bootstrap,smileklvens/bootstrap,xiaoping2367/bootstrap,n054/bootstrap,cheewing/bootstrap,TramizuZwoNull/bootstrap,FerranSalguero/bootstrap-blog,twbs-savage/bootstrap,hifeeling/bootstrap,a3rd/bootstrap,kkirsche/bootstrap,hnscbj/bootstrap,DuanSuXia/bootstrap,kab2512/bootstrap,initc/bootstrap,qicaoyan/bootstrap,silverbux/bootstrap,marcos8667/SuperT,polarbird/bootstrap,mauricew/bootstrap,Quy/bootstrap
yaml
## Code Before: - name: Chinese code: zh description: Bootstrap 中文文档 url: http://v3.bootcss.com/ - name: Danish code: da description: Bootstrap på Dansk url: http://getbootstrap.dk/ - name: French code: fr description: Bootstrap en Français url: http://www.oneskyapp.com/docs/bootstrap/fr - name: German code: de description: Bootstrap auf Deutsch url: http://holdirbootstrap.de/ - name: Italian code: it description: Bootstrap in Italiano url: http://www.hackerstribe.com/guide/IT-bootstrap-3.1.1/ - name: Korean code: ko description: Bootstrap 한국어 url: http://bootstrapk.com/BS3/ - name: Russian code: ru description: Bootstrap по-русски url: http://www.oneskyapp.com/docs/bootstrap/ru - name: Spanish code: es description: Bootstrap en Español url: http://www.oneskyapp.com/docs/bootstrap/es - name: Ukrainian code: uk description: Bootstrap українською url: http://twbs.docs.org.ua ## Instruction: Fix link to French translation ## Code After: - name: Chinese code: zh description: Bootstrap 中文文档 url: http://v3.bootcss.com/ - name: Danish code: da description: Bootstrap på Dansk url: http://getbootstrap.dk/ - name: French code: fr description: Bootstrap en Français url: http://www.oneskyapp.com/fr/docs/bootstrap/getting-started/ - name: German code: de description: Bootstrap auf Deutsch url: http://holdirbootstrap.de/ - name: Italian code: it description: Bootstrap in Italiano url: http://www.hackerstribe.com/guide/IT-bootstrap-3.1.1/ - name: Korean code: ko description: Bootstrap 한국어 url: http://bootstrapk.com/BS3/ - name: Russian code: ru description: Bootstrap по-русски url: http://www.oneskyapp.com/docs/bootstrap/ru - name: Spanish code: es description: Bootstrap en Español url: http://www.oneskyapp.com/docs/bootstrap/es - name: Ukrainian code: uk description: Bootstrap українською url: http://twbs.docs.org.ua
31f5757421fba3e93d01fe101bb11a15ba355f91
src/site/app/lib/components/pioneer-tree-node/pioneer-tree-node.component.ts
src/site/app/lib/components/pioneer-tree-node/pioneer-tree-node.component.ts
import { Component, Input, TemplateRef } from '@angular/core'; import { PioneerTreeComponent } from '../pioneer-tree/pioneer-tree.component' import { IPioneerTreeExpandedNode } from "../../models/pioneer-tree-expanded-node.model" import { PioneerTreeService } from "../../services/pioneer-tree.service" @Component({ selector: '[pioneer-tree-node],[pt-node]', template: ` <div class="pioneer-tree-node" (click)="onClicked()" [ngClass]="{ 'pt-node-selected': this.treeService.currentSlectedNodeId === this.node.pioneerTreeNode.getId() }"> <ng-container [ngTemplateOutlet]="nodeTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> <div class="pioneer-tree-repeater"> <ng-container [ngTemplateOutlet]="repeaterTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> </div> ` }) export class PioneerTreeNodeComponent { @Input() node: IPioneerTreeExpandedNode; @Input() nodeTemplate: TemplateRef<any>; @Input() repeaterTemplate: TemplateRef<any>; constructor(private treeService: PioneerTreeService) { } onClicked() { this.treeService.currentSlectedNodeId = this.node.pioneerTreeNode.getId(); } }
import { Component, Input, TemplateRef } from '@angular/core'; import { PioneerTreeComponent } from '../pioneer-tree/pioneer-tree.component' import { IPioneerTreeExpandedNode } from "../../models/pioneer-tree-expanded-node.model" import { PioneerTreeService } from "../../services/pioneer-tree.service" @Component({ selector: '[pioneer-tree-node],[pt-node]', template: ` <div class="pioneer-tree-node" (click)="onClicked()"> <div class="pioneer-tree-node-content" [ngClass]="{ 'pt-node-selected': this.treeService.currentSlectedNodeId === this.node.pioneerTreeNode.getId() }"> <ng-container [ngTemplateOutlet]="nodeTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> <div class="pioneer-tree-repeater"> <ng-container [ngTemplateOutlet]="repeaterTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> </div> ` }) export class PioneerTreeNodeComponent { @Input() node: IPioneerTreeExpandedNode; @Input() nodeTemplate: TemplateRef<any>; @Input() repeaterTemplate: TemplateRef<any>; constructor(private treeService: PioneerTreeService) { } onClicked() { this.treeService.currentSlectedNodeId = this.node.pioneerTreeNode.getId(); } }
Add parent container to template in node
Add parent container to template in node
TypeScript
mit
PioneerCode/pioneer-tree,PioneerCode/pioneer-tree,PioneerCode/pioneer-tree
typescript
## Code Before: import { Component, Input, TemplateRef } from '@angular/core'; import { PioneerTreeComponent } from '../pioneer-tree/pioneer-tree.component' import { IPioneerTreeExpandedNode } from "../../models/pioneer-tree-expanded-node.model" import { PioneerTreeService } from "../../services/pioneer-tree.service" @Component({ selector: '[pioneer-tree-node],[pt-node]', template: ` <div class="pioneer-tree-node" (click)="onClicked()" [ngClass]="{ 'pt-node-selected': this.treeService.currentSlectedNodeId === this.node.pioneerTreeNode.getId() }"> <ng-container [ngTemplateOutlet]="nodeTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> <div class="pioneer-tree-repeater"> <ng-container [ngTemplateOutlet]="repeaterTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> </div> ` }) export class PioneerTreeNodeComponent { @Input() node: IPioneerTreeExpandedNode; @Input() nodeTemplate: TemplateRef<any>; @Input() repeaterTemplate: TemplateRef<any>; constructor(private treeService: PioneerTreeService) { } onClicked() { this.treeService.currentSlectedNodeId = this.node.pioneerTreeNode.getId(); } } ## Instruction: Add parent container to template in node ## Code After: import { Component, Input, TemplateRef } from '@angular/core'; import { PioneerTreeComponent } from '../pioneer-tree/pioneer-tree.component' import { IPioneerTreeExpandedNode } from "../../models/pioneer-tree-expanded-node.model" import { PioneerTreeService } from "../../services/pioneer-tree.service" @Component({ selector: '[pioneer-tree-node],[pt-node]', template: ` <div class="pioneer-tree-node" (click)="onClicked()"> <div class="pioneer-tree-node-content" [ngClass]="{ 'pt-node-selected': this.treeService.currentSlectedNodeId === this.node.pioneerTreeNode.getId() }"> <ng-container [ngTemplateOutlet]="nodeTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> <div class="pioneer-tree-repeater"> <ng-container [ngTemplateOutlet]="repeaterTemplate" [ngOutletContext]="{ $implicit: node }"> </ng-container> </div> </div> ` }) export class PioneerTreeNodeComponent { @Input() node: IPioneerTreeExpandedNode; @Input() nodeTemplate: TemplateRef<any>; @Input() repeaterTemplate: TemplateRef<any>; constructor(private treeService: PioneerTreeService) { } onClicked() { this.treeService.currentSlectedNodeId = this.node.pioneerTreeNode.getId(); } }
a5fd7493788a20e1175d66f23dde1fdde6ff7fd2
src/article/shared/BlockQuoteComponent.js
src/article/shared/BlockQuoteComponent.js
import { NodeComponent } from '../../kit' export default class BlockQuoteComponent extends NodeComponent { render ($$) { let node = this.props.node let el = $$('div') .addClass('sc-block-quote') .attr('data-id', node.id) el.append( this._renderValue($$, 'content').ref('content'), this._renderValue($$, 'attrib').ref('attrib') ) return el } }
import { NodeComponent } from '../../kit' export default class BlockQuoteComponent extends NodeComponent { render ($$) { let node = this.props.node let el = $$('div') .addClass('sc-block-quote') .attr('data-id', node.id) el.append( this._renderValue($$, 'content', { container: true }).ref('content'), this._renderValue($$, 'attrib').ref('attrib') ) return el } }
Make BlockQuote.content editable as container.
Make BlockQuote.content editable as container.
JavaScript
mit
substance/texture,substance/texture
javascript
## Code Before: import { NodeComponent } from '../../kit' export default class BlockQuoteComponent extends NodeComponent { render ($$) { let node = this.props.node let el = $$('div') .addClass('sc-block-quote') .attr('data-id', node.id) el.append( this._renderValue($$, 'content').ref('content'), this._renderValue($$, 'attrib').ref('attrib') ) return el } } ## Instruction: Make BlockQuote.content editable as container. ## Code After: import { NodeComponent } from '../../kit' export default class BlockQuoteComponent extends NodeComponent { render ($$) { let node = this.props.node let el = $$('div') .addClass('sc-block-quote') .attr('data-id', node.id) el.append( this._renderValue($$, 'content', { container: true }).ref('content'), this._renderValue($$, 'attrib').ref('attrib') ) return el } }
fb65fedbf60481d37e097ea9db290f53b84cae26
giveaminute/migrations/versions/001_Initial_models.py
giveaminute/migrations/versions/001_Initial_models.py
from sqlalchemy import * from migrate import * def upgrade(migrate_engine): # Upgrade operations go here. Don't create your own engine; bind migrate_engine # to your metadata import os with open(os.path.join(os.path.dirname(__file__), '000_Initial_models.sql')) as initial_file: sql = initial_file.read() migrate_engine.execute(sql) def downgrade(migrate_engine): # Operations to reverse the above upgrade go here. pass
from sqlalchemy import * from migrate import * def upgrade(migrate_engine): # Upgrade operations go here. Don't create your own engine; bind migrate_engine # to your metadata import os # Uncomment the following lines if you do not yet have a database to set up. # If you run this migration, it will blow away the data currently contained # in your database and start new. # # with open(os.path.join(os.path.dirname(__file__), '000_Initial_models.sql')) as initial_file: # sql = initial_file.read() # migrate_engine.execute(sql) def downgrade(migrate_engine): # Operations to reverse the above upgrade go here. pass
Comment out the initial migration step by default (so that we're not inadvertently blowing peoples databases away
Comment out the initial migration step by default (so that we're not inadvertently blowing peoples databases away
Python
agpl-3.0
codeforamerica/Change-By-Us,localprojects/Change-By-Us,watchcat/cbu-rotterdam,watchcat/cbu-rotterdam,localprojects/Change-By-Us,codeforeurope/Change-By-Us,codeforeurope/Change-By-Us,codeforamerica/Change-By-Us,watchcat/cbu-rotterdam,watchcat/cbu-rotterdam,localprojects/Change-By-Us,localprojects/Change-By-Us,watchcat/cbu-rotterdam,codeforeurope/Change-By-Us,codeforamerica/Change-By-Us,codeforamerica/Change-By-Us,codeforeurope/Change-By-Us
python
## Code Before: from sqlalchemy import * from migrate import * def upgrade(migrate_engine): # Upgrade operations go here. Don't create your own engine; bind migrate_engine # to your metadata import os with open(os.path.join(os.path.dirname(__file__), '000_Initial_models.sql')) as initial_file: sql = initial_file.read() migrate_engine.execute(sql) def downgrade(migrate_engine): # Operations to reverse the above upgrade go here. pass ## Instruction: Comment out the initial migration step by default (so that we're not inadvertently blowing peoples databases away ## Code After: from sqlalchemy import * from migrate import * def upgrade(migrate_engine): # Upgrade operations go here. Don't create your own engine; bind migrate_engine # to your metadata import os # Uncomment the following lines if you do not yet have a database to set up. # If you run this migration, it will blow away the data currently contained # in your database and start new. # # with open(os.path.join(os.path.dirname(__file__), '000_Initial_models.sql')) as initial_file: # sql = initial_file.read() # migrate_engine.execute(sql) def downgrade(migrate_engine): # Operations to reverse the above upgrade go here. pass
5285f1b6a39cc42eb4767a3306c4c77850883e4b
spec/shared/flags_shared_spec.rb
spec/shared/flags_shared_spec.rb
share_examples_for "A property with flags" do before :all do %w[ @property_klass ].each do |ivar| raise "+#{ivar}+ should be defined in before block" unless instance_variable_defined?(ivar) end @flags = [ :one, :two, :three ] class ::User include DataMapper::Resource end @property = User.property :item, @property_klass[@flags] end describe ".generated_classes" do it "should cache the generated class" do @property_klass.generated_classes[@flags].should_not be_nil end end it "should include :flags in accepted_options" do @property_klass.accepted_options.should include(:flags) end it "should respond to :generated_classes" do @property_klass.should respond_to(:generated_classes) end it "should respond to :flag_map" do @property.should respond_to(:flag_map) end it "should be custom" do @property.custom?.should be(true) end end
share_examples_for "A property with flags" do before :all do %w[ @property_klass ].each do |ivar| raise "+#{ivar}+ should be defined in before block" unless instance_variable_defined?(ivar) end @flags = [ :one, :two, :three ] class ::User include DataMapper::Resource end @property = User.property :item, @property_klass[@flags], :key => true end describe ".generated_classes" do it "should cache the generated class" do @property_klass.generated_classes[@flags].should_not be_nil end end it "should include :flags in accepted_options" do @property_klass.accepted_options.should include(:flags) end it "should respond to :generated_classes" do @property_klass.should respond_to(:generated_classes) end it "should respond to :flag_map" do @property.should respond_to(:flag_map) end it "should be custom" do @property.custom?.should be(true) end end
Make sure the User model has a key
Make sure the User model has a key
Ruby
mit
engineyard/dm-types,ar-dm/ardm-types,datamapper/dm-types,lgierth/dm-types,troygnichols/dm-types
ruby
## Code Before: share_examples_for "A property with flags" do before :all do %w[ @property_klass ].each do |ivar| raise "+#{ivar}+ should be defined in before block" unless instance_variable_defined?(ivar) end @flags = [ :one, :two, :three ] class ::User include DataMapper::Resource end @property = User.property :item, @property_klass[@flags] end describe ".generated_classes" do it "should cache the generated class" do @property_klass.generated_classes[@flags].should_not be_nil end end it "should include :flags in accepted_options" do @property_klass.accepted_options.should include(:flags) end it "should respond to :generated_classes" do @property_klass.should respond_to(:generated_classes) end it "should respond to :flag_map" do @property.should respond_to(:flag_map) end it "should be custom" do @property.custom?.should be(true) end end ## Instruction: Make sure the User model has a key ## Code After: share_examples_for "A property with flags" do before :all do %w[ @property_klass ].each do |ivar| raise "+#{ivar}+ should be defined in before block" unless instance_variable_defined?(ivar) end @flags = [ :one, :two, :three ] class ::User include DataMapper::Resource end @property = User.property :item, @property_klass[@flags], :key => true end describe ".generated_classes" do it "should cache the generated class" do @property_klass.generated_classes[@flags].should_not be_nil end end it "should include :flags in accepted_options" do @property_klass.accepted_options.should include(:flags) end it "should respond to :generated_classes" do @property_klass.should respond_to(:generated_classes) end it "should respond to :flag_map" do @property.should respond_to(:flag_map) end it "should be custom" do @property.custom?.should be(true) end end
fb6ab5221512beb5462a943ba2788333e6d0b31a
portal/server.js
portal/server.js
"use strict"; var express = require('express'); var app = express(); // Routes app.get('/', function(req, res){ console.dir(req.user); res.sendfile('index.html', {root: __dirname }) }); app.use(express.static(__dirname + '/js')); module.exports = app;
"use strict"; var express = require('express'); var app = express(); // Routes app.get('/', function(req, res){ if(req.isAuthenticated()){ console.dir(req.user); res.sendfile('index.html', {root: __dirname }); } else { res.redirect('/login'); } }); app.use(express.static(__dirname + '/js')); module.exports = app;
Check user is authenticated when accessing the portal
Check user is authenticated when accessing the portal
JavaScript
apache-2.0
with-regard/regard-website
javascript
## Code Before: "use strict"; var express = require('express'); var app = express(); // Routes app.get('/', function(req, res){ console.dir(req.user); res.sendfile('index.html', {root: __dirname }) }); app.use(express.static(__dirname + '/js')); module.exports = app; ## Instruction: Check user is authenticated when accessing the portal ## Code After: "use strict"; var express = require('express'); var app = express(); // Routes app.get('/', function(req, res){ if(req.isAuthenticated()){ console.dir(req.user); res.sendfile('index.html', {root: __dirname }); } else { res.redirect('/login'); } }); app.use(express.static(__dirname + '/js')); module.exports = app;
a1877b8124a5dc86d6d8c159d1bbdaf250898af3
app/views/tenants/_account_group_sheet.html.haml
app/views/tenants/_account_group_sheet.html.haml
%tr %th{:colspan => "2"} %h3= t(group, :scope => 'bookyt') -for @date in @dates %th{:style => "text-align: right"} %h3= currency_fmt(Account.by_type(group).saldo(@date)) = render :partial => 'account', :collection => Account.by_type(group).all.select{|a| a.bookings.by_value_period(@dates.first, @dates.last).exists?}
%tr %th{:colspan => "2"} %h3= t(group, :scope => 'bookyt') -for @date in @dates %th{:style => "text-align: right"} %h3= currency_fmt(Account.by_type(group).saldo(@date)) = render :partial => 'account', :collection => Account.by_type(group)
Fix bail in profit sheet.
Fix bail in profit sheet.
Haml
agpl-3.0
gaapt/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,silvermind/bookyt,gaapt/bookyt,gaapt/bookyt,xuewenfei/bookyt,wtag/bookyt,silvermind/bookyt,wtag/bookyt,hauledev/bookyt,hauledev/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,hauledev/bookyt,xuewenfei/bookyt,huerlisi/bookyt,silvermind/bookyt,silvermind/bookyt
haml
## Code Before: %tr %th{:colspan => "2"} %h3= t(group, :scope => 'bookyt') -for @date in @dates %th{:style => "text-align: right"} %h3= currency_fmt(Account.by_type(group).saldo(@date)) = render :partial => 'account', :collection => Account.by_type(group).all.select{|a| a.bookings.by_value_period(@dates.first, @dates.last).exists?} ## Instruction: Fix bail in profit sheet. ## Code After: %tr %th{:colspan => "2"} %h3= t(group, :scope => 'bookyt') -for @date in @dates %th{:style => "text-align: right"} %h3= currency_fmt(Account.by_type(group).saldo(@date)) = render :partial => 'account', :collection => Account.by_type(group)
d74f1b9ef5c92b9d316a5a44739d8badcec6bf68
blog/posts/omdbpy-release-v031.rst
blog/posts/omdbpy-release-v031.rst
.. title: omdb.py: Release v0.3.1 .. slug: omdbpy-release-v031 .. date: 2015-01-27 18:51:43 UTC-05:00 .. tags: .. category: .. link: .. description: .. type: text .. author: Derrick Gilland `Omdb.py v0.3.1 <https://github.com/dgilland/omdb.py/tree/v0.3.0>`_ has been released. It was something of a brown bag release that added some missing metadata to the main module. .. TEASER_END .. include:: snippets/what-is-omdbpy.rst .. include:: snippets/download-omdbpy.rst Changes ------- Features ++++++++ None Bugfixes ++++++++ - Add metadata to main module: - ``__title__`` - ``__summary__`` - ``__url__`` - ``__version__`` - ``__author__`` - ``__email__`` - ``__license__``
.. title: omdb.py: Release v0.3.1 .. slug: omdbpy-release-v031 .. date: 2015-01-27 18:51:43 UTC-05:00 .. tags: omdb.py, python, release .. category: .. link: .. description: .. type: text .. author: Derrick Gilland `Omdb.py v0.3.1 <https://github.com/dgilland/omdb.py/tree/v0.3.1>`_ has been released. It was something of a brown bag release that added some missing metadata to the main module. .. TEASER_END .. include:: snippets/what-is-omdbpy.rst .. include:: snippets/download-omdbpy.rst Changes ------- Features ++++++++ None Bugfixes ++++++++ - Add metadata to main module: - ``__title__`` - ``__summary__`` - ``__url__`` - ``__version__`` - ``__author__`` - ``__email__`` - ``__license__``
Fix typo in version number.
Fix typo in version number.
reStructuredText
mit
dgilland/blog
restructuredtext
## Code Before: .. title: omdb.py: Release v0.3.1 .. slug: omdbpy-release-v031 .. date: 2015-01-27 18:51:43 UTC-05:00 .. tags: .. category: .. link: .. description: .. type: text .. author: Derrick Gilland `Omdb.py v0.3.1 <https://github.com/dgilland/omdb.py/tree/v0.3.0>`_ has been released. It was something of a brown bag release that added some missing metadata to the main module. .. TEASER_END .. include:: snippets/what-is-omdbpy.rst .. include:: snippets/download-omdbpy.rst Changes ------- Features ++++++++ None Bugfixes ++++++++ - Add metadata to main module: - ``__title__`` - ``__summary__`` - ``__url__`` - ``__version__`` - ``__author__`` - ``__email__`` - ``__license__`` ## Instruction: Fix typo in version number. ## Code After: .. title: omdb.py: Release v0.3.1 .. slug: omdbpy-release-v031 .. date: 2015-01-27 18:51:43 UTC-05:00 .. tags: omdb.py, python, release .. category: .. link: .. description: .. type: text .. author: Derrick Gilland `Omdb.py v0.3.1 <https://github.com/dgilland/omdb.py/tree/v0.3.1>`_ has been released. It was something of a brown bag release that added some missing metadata to the main module. .. TEASER_END .. include:: snippets/what-is-omdbpy.rst .. include:: snippets/download-omdbpy.rst Changes ------- Features ++++++++ None Bugfixes ++++++++ - Add metadata to main module: - ``__title__`` - ``__summary__`` - ``__url__`` - ``__version__`` - ``__author__`` - ``__email__`` - ``__license__``
ad282d4bafab7fae0ff16c4569cc2097e3768c6a
CHANGELOG.md
CHANGELOG.md
* Add control message support. * Add `IsClosed` to Session. ## 2017-02-10 * Return errors for some exposed methods. * Add `HandleRequestWithKeys`. * Add `HandleSentMessage` and `HandleSentMessageBinary`. ## 2017-01-20 * Add `Len()` to fetch number of connected sessions. ## 2016-12-09 * Add metadata management for sessions. ## 2016-05-09 * Add method `HandlePong` to melody instance. ## 2015-10-07 * Add broadcast methods for binary messages. ## 2015-09-03 * Add `Close` method to melody instance. ### 2015-06-10 * Support for binary messages. * BroadcastOthers method.
* Allow any origin by default. * Add `BroadcastMultiple`. ## 2017-04-09 * Add control message support. * Add `IsClosed` to Session. ## 2017-02-10 * Return errors for some exposed methods. * Add `HandleRequestWithKeys`. * Add `HandleSentMessage` and `HandleSentMessageBinary`. ## 2017-01-20 * Add `Len()` to fetch number of connected sessions. ## 2016-12-09 * Add metadata management for sessions. ## 2016-05-09 * Add method `HandlePong` to melody instance. ## 2015-10-07 * Add broadcast methods for binary messages. ## 2015-09-03 * Add `Close` method to melody instance. ### 2015-06-10 * Support for binary messages. * BroadcastOthers method.
Update changelog with `BroadcastMultiple` and allowing any origin by default.
Update changelog with `BroadcastMultiple` and allowing any origin by default.
Markdown
bsd-2-clause
olahol/melody
markdown
## Code Before: * Add control message support. * Add `IsClosed` to Session. ## 2017-02-10 * Return errors for some exposed methods. * Add `HandleRequestWithKeys`. * Add `HandleSentMessage` and `HandleSentMessageBinary`. ## 2017-01-20 * Add `Len()` to fetch number of connected sessions. ## 2016-12-09 * Add metadata management for sessions. ## 2016-05-09 * Add method `HandlePong` to melody instance. ## 2015-10-07 * Add broadcast methods for binary messages. ## 2015-09-03 * Add `Close` method to melody instance. ### 2015-06-10 * Support for binary messages. * BroadcastOthers method. ## Instruction: Update changelog with `BroadcastMultiple` and allowing any origin by default. ## Code After: * Allow any origin by default. * Add `BroadcastMultiple`. ## 2017-04-09 * Add control message support. * Add `IsClosed` to Session. ## 2017-02-10 * Return errors for some exposed methods. * Add `HandleRequestWithKeys`. * Add `HandleSentMessage` and `HandleSentMessageBinary`. ## 2017-01-20 * Add `Len()` to fetch number of connected sessions. ## 2016-12-09 * Add metadata management for sessions. ## 2016-05-09 * Add method `HandlePong` to melody instance. ## 2015-10-07 * Add broadcast methods for binary messages. ## 2015-09-03 * Add `Close` method to melody instance. ### 2015-06-10 * Support for binary messages. * BroadcastOthers method.