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
49229ffa00ad3dd6d868506309f2a5a872312baf
lib/hyperclient/resource.rb
lib/hyperclient/resource.rb
require 'hyperclient/attributes' require 'hyperclient/link_collection' require 'hyperclient/resource_collection' module Hyperclient # Public: Represents a resource from your API. Its responsability is to # ease the way you access its attributes, links and embedded resources. class Resource extend Forwardable # Public: Returns the attributes of the Resource as Attributes. attr_reader :attributes # Public: Returns the links of the Resource as a LinkCollection. attr_reader :links # Public: Returns the embedded resource of the Resource as a # ResourceCollection. attr_reader :embedded # Public: Delegate all HTTP methods (get, post, put, delete, options and # head) to its self link. def_delegators :self_link, :get, :post, :put, :delete, :options, :head # Public: Initializes a Resource. # # representation - The hash with the HAL representation of the Resource. # entry_point - The EntryPoint object to inject the configutation. def initialize(representation, entry_point) @links = LinkCollection.new(representation['_links'], entry_point) @embedded = ResourceCollection.new(representation['_embedded'], entry_point) @attributes = Attributes.new(representation) @entry_point = entry_point end def inspect "#<#{self.class.name} self_link:#{self_link.inspect} attributes:#{@attributes.inspect}>" end private # Internal: Returns the self Link of the Resource. Used to handle the HTTP # methods. def self_link @links['self'] end end end
require 'forwardable' require 'hyperclient/attributes' require 'hyperclient/link_collection' require 'hyperclient/resource_collection' module Hyperclient # Public: Represents a resource from your API. Its responsability is to # ease the way you access its attributes, links and embedded resources. class Resource extend Forwardable # Public: Returns the attributes of the Resource as Attributes. attr_reader :attributes # Public: Returns the links of the Resource as a LinkCollection. attr_reader :links # Public: Returns the embedded resource of the Resource as a # ResourceCollection. attr_reader :embedded # Public: Delegate all HTTP methods (get, post, put, delete, options and # head) to its self link. def_delegators :self_link, :get, :post, :put, :delete, :options, :head # Public: Initializes a Resource. # # representation - The hash with the HAL representation of the Resource. # entry_point - The EntryPoint object to inject the configutation. def initialize(representation, entry_point) @links = LinkCollection.new(representation['_links'], entry_point) @embedded = ResourceCollection.new(representation['_embedded'], entry_point) @attributes = Attributes.new(representation) @entry_point = entry_point end def inspect "#<#{self.class.name} self_link:#{self_link.inspect} attributes:#{@attributes.inspect}>" end private # Internal: Returns the self Link of the Resource. Used to handle the HTTP # methods. def self_link @links['self'] end end end
Make sure the class that uses Forwardable requires it.
Make sure the class that uses Forwardable requires it.
Ruby
mit
alabeduarte/hyperclient,codegram/hyperclient,dblock/hyperclient,jufemaiz/hyperclient
ruby
## Code Before: require 'hyperclient/attributes' require 'hyperclient/link_collection' require 'hyperclient/resource_collection' module Hyperclient # Public: Represents a resource from your API. Its responsability is to # ease the way you access its attributes, links and embedded resources. class Resource extend Forwardable # Public: Returns the attributes of the Resource as Attributes. attr_reader :attributes # Public: Returns the links of the Resource as a LinkCollection. attr_reader :links # Public: Returns the embedded resource of the Resource as a # ResourceCollection. attr_reader :embedded # Public: Delegate all HTTP methods (get, post, put, delete, options and # head) to its self link. def_delegators :self_link, :get, :post, :put, :delete, :options, :head # Public: Initializes a Resource. # # representation - The hash with the HAL representation of the Resource. # entry_point - The EntryPoint object to inject the configutation. def initialize(representation, entry_point) @links = LinkCollection.new(representation['_links'], entry_point) @embedded = ResourceCollection.new(representation['_embedded'], entry_point) @attributes = Attributes.new(representation) @entry_point = entry_point end def inspect "#<#{self.class.name} self_link:#{self_link.inspect} attributes:#{@attributes.inspect}>" end private # Internal: Returns the self Link of the Resource. Used to handle the HTTP # methods. def self_link @links['self'] end end end ## Instruction: Make sure the class that uses Forwardable requires it. ## Code After: require 'forwardable' require 'hyperclient/attributes' require 'hyperclient/link_collection' require 'hyperclient/resource_collection' module Hyperclient # Public: Represents a resource from your API. Its responsability is to # ease the way you access its attributes, links and embedded resources. class Resource extend Forwardable # Public: Returns the attributes of the Resource as Attributes. attr_reader :attributes # Public: Returns the links of the Resource as a LinkCollection. attr_reader :links # Public: Returns the embedded resource of the Resource as a # ResourceCollection. attr_reader :embedded # Public: Delegate all HTTP methods (get, post, put, delete, options and # head) to its self link. def_delegators :self_link, :get, :post, :put, :delete, :options, :head # Public: Initializes a Resource. # # representation - The hash with the HAL representation of the Resource. # entry_point - The EntryPoint object to inject the configutation. def initialize(representation, entry_point) @links = LinkCollection.new(representation['_links'], entry_point) @embedded = ResourceCollection.new(representation['_embedded'], entry_point) @attributes = Attributes.new(representation) @entry_point = entry_point end def inspect "#<#{self.class.name} self_link:#{self_link.inspect} attributes:#{@attributes.inspect}>" end private # Internal: Returns the self Link of the Resource. Used to handle the HTTP # methods. def self_link @links['self'] end end end
e091d8dae12cfcab9a28747ab81f20afc41aa1d3
Casks/4k-youtube-to-mp3.rb
Casks/4k-youtube-to-mp3.rb
cask :v1 => '4k-youtube-to-mp3' do # note: "3" is not a version number, but an intrinsic part of the product name version '2.9' sha256 '07a558e3dddc957386d12f1a13880e6d02e86ccdabc64e3ac66c78eccde8fe09' url "http://downloads.4kdownload.com/app/4kyoutubetomp3_#{version}.dmg" name '4K Youtube to MP3' homepage 'http://www.4kdownload.com/products/product-youtubetomp3' license :oss app '4K YouTube to MP3.app' end
cask :v1 => '4k-youtube-to-mp3' do # note: "3" is not a version number, but an intrinsic part of the product name version '2.9' sha256 '8f62dead99131f7cb6936f07d95020f81fca6472d2a4d6bdd3ea37aefb5749ce' url "http://downloads.4kdownload.com/app/4kyoutubetomp3_#{version}.dmg" name '4K Youtube to MP3' homepage 'http://www.4kdownload.com/products/product-youtubetomp3' license :oss app '4K YouTube to MP3.app' end
Fix checksum in "4K YouTube to MP3.app" Cask
Fix checksum in "4K YouTube to MP3.app" Cask It seems that the download package has recently been changed, although the version number has not been bumped. This commit corrects the sha256 hash.
Ruby
bsd-2-clause
johan/homebrew-cask,gord1anknot/homebrew-cask,dlovitch/homebrew-cask,ninjahoahong/homebrew-cask,sebcode/homebrew-cask,troyxmccall/homebrew-cask,nathancahill/homebrew-cask,ayohrling/homebrew-cask,mAAdhaTTah/homebrew-cask,SamiHiltunen/homebrew-cask,napaxton/homebrew-cask,singingwolfboy/homebrew-cask,usami-k/homebrew-cask,kamilboratynski/homebrew-cask,lukeadams/homebrew-cask,skatsuta/homebrew-cask,gerrypower/homebrew-cask,fkrone/homebrew-cask,nathanielvarona/homebrew-cask,xyb/homebrew-cask,CameronGarrett/homebrew-cask,afdnlw/homebrew-cask,frapposelli/homebrew-cask,underyx/homebrew-cask,sjackman/homebrew-cask,maxnordlund/homebrew-cask,zeusdeux/homebrew-cask,dspeckhard/homebrew-cask,guylabs/homebrew-cask,Bombenleger/homebrew-cask,renard/homebrew-cask,mariusbutuc/homebrew-cask,ptb/homebrew-cask,kingthorin/homebrew-cask,jangalinski/homebrew-cask,nysthee/homebrew-cask,FredLackeyOfficial/homebrew-cask,bkono/homebrew-cask,johndbritton/homebrew-cask,brianshumate/homebrew-cask,lumaxis/homebrew-cask,robbiethegeek/homebrew-cask,mchlrmrz/homebrew-cask,deiga/homebrew-cask,patresi/homebrew-cask,rickychilcott/homebrew-cask,lukasbestle/homebrew-cask,kei-yamazaki/homebrew-cask,uetchy/homebrew-cask,fharbe/homebrew-cask,gyndav/homebrew-cask,kryhear/homebrew-cask,adriweb/homebrew-cask,lukasbestle/homebrew-cask,jellyfishcoder/homebrew-cask,bsiddiqui/homebrew-cask,shorshe/homebrew-cask,uetchy/homebrew-cask,markthetech/homebrew-cask,nivanchikov/homebrew-cask,sohtsuka/homebrew-cask,dwkns/homebrew-cask,spruceb/homebrew-cask,rhendric/homebrew-cask,lvicentesanchez/homebrew-cask,nightscape/homebrew-cask,wolflee/homebrew-cask,astorije/homebrew-cask,alloy/homebrew-cask,joschi/homebrew-cask,mlocher/homebrew-cask,yurrriq/homebrew-cask,bcomnes/homebrew-cask,brianshumate/homebrew-cask,ericbn/homebrew-cask,lauantai/homebrew-cask,andrewdisley/homebrew-cask,deanmorin/homebrew-cask,onlynone/homebrew-cask,anbotero/homebrew-cask,feigaochn/homebrew-cask,garborg/homebrew-cask,crzrcn/homebrew-cask,hackhandslabs/homebrew-cask,cobyism/homebrew-cask,timsutton/homebrew-cask,elyscape/homebrew-cask,xakraz/homebrew-cask,stevenmaguire/homebrew-cask,mchlrmrz/homebrew-cask,lieuwex/homebrew-cask,neil-ca-moore/homebrew-cask,pablote/homebrew-cask,Ibuprofen/homebrew-cask,MisumiRize/homebrew-cask,nightscape/homebrew-cask,elnappo/homebrew-cask,flada-auxv/homebrew-cask,xalep/homebrew-cask,dictcp/homebrew-cask,moonboots/homebrew-cask,uetchy/homebrew-cask,m3nu/homebrew-cask,mattfelsen/homebrew-cask,djakarta-trap/homebrew-myCask,dieterdemeyer/homebrew-cask,cedwardsmedia/homebrew-cask,shanonvl/homebrew-cask,samnung/homebrew-cask,xiongchiamiov/homebrew-cask,yutarody/homebrew-cask,patresi/homebrew-cask,stephenwade/homebrew-cask,usami-k/homebrew-cask,ebraminio/homebrew-cask,Philosoft/homebrew-cask,a-x-/homebrew-cask,qbmiller/homebrew-cask,paour/homebrew-cask,phpwutz/homebrew-cask,Nitecon/homebrew-cask,cblecker/homebrew-cask,mwek/homebrew-cask,retrography/homebrew-cask,cprecioso/homebrew-cask,andyli/homebrew-cask,cprecioso/homebrew-cask,andersonba/homebrew-cask,psibre/homebrew-cask,tolbkni/homebrew-cask,robertgzr/homebrew-cask,wickles/homebrew-cask,gilesdring/homebrew-cask,athrunsun/homebrew-cask,theoriginalgri/homebrew-cask,JosephViolago/homebrew-cask,tjt263/homebrew-cask,toonetown/homebrew-cask,linc01n/homebrew-cask,malford/homebrew-cask,tolbkni/homebrew-cask,tan9/homebrew-cask,seanzxx/homebrew-cask,samdoran/homebrew-cask,FranklinChen/homebrew-cask,ksylvan/homebrew-cask,imgarylai/homebrew-cask,gerrymiller/homebrew-cask,zorosteven/homebrew-cask,Fedalto/homebrew-cask,jgarber623/homebrew-cask,unasuke/homebrew-cask,ericbn/homebrew-cask,ebraminio/homebrew-cask,tranc99/homebrew-cask,kkdd/homebrew-cask,aki77/homebrew-cask,fkrone/homebrew-cask,pkq/homebrew-cask,jrwesolo/homebrew-cask,kiliankoe/homebrew-cask,okket/homebrew-cask,JosephViolago/homebrew-cask,frapposelli/homebrew-cask,lcasey001/homebrew-cask,flaviocamilo/homebrew-cask,codeurge/homebrew-cask,mkozjak/homebrew-cask,segiddins/homebrew-cask,schneidmaster/homebrew-cask,thii/homebrew-cask,ddm/homebrew-cask,blogabe/homebrew-cask,shishi/homebrew-cask,jamesmlees/homebrew-cask,lucasmezencio/homebrew-cask,esebastian/homebrew-cask,victorpopkov/homebrew-cask,lantrix/homebrew-cask,SentinelWarren/homebrew-cask,Labutin/homebrew-cask,sanyer/homebrew-cask,mwilmer/homebrew-cask,supriyantomaftuh/homebrew-cask,asbachb/homebrew-cask,moonboots/homebrew-cask,ksylvan/homebrew-cask,koenrh/homebrew-cask,joaocc/homebrew-cask,wmorin/homebrew-cask,jbeagley52/homebrew-cask,nrlquaker/homebrew-cask,rhendric/homebrew-cask,BenjaminHCCarr/homebrew-cask,ninjahoahong/homebrew-cask,stephenwade/homebrew-cask,cobyism/homebrew-cask,danielbayley/homebrew-cask,farmerchris/homebrew-cask,bendoerr/homebrew-cask,lifepillar/homebrew-cask,jayshao/homebrew-cask,wizonesolutions/homebrew-cask,stonehippo/homebrew-cask,exherb/homebrew-cask,hristozov/homebrew-cask,blainesch/homebrew-cask,gyndav/homebrew-cask,Ephemera/homebrew-cask,adrianchia/homebrew-cask,johnste/homebrew-cask,MerelyAPseudonym/homebrew-cask,tjnycum/homebrew-cask,michelegera/homebrew-cask,norio-nomura/homebrew-cask,mjgardner/homebrew-cask,opsdev-ws/homebrew-cask,puffdad/homebrew-cask,adrianchia/homebrew-cask,jppelteret/homebrew-cask,nickpellant/homebrew-cask,vitorgalvao/homebrew-cask,adelinofaria/homebrew-cask,mazehall/homebrew-cask,bkono/homebrew-cask,dictcp/homebrew-cask,zmwangx/homebrew-cask,julionc/homebrew-cask,dwihn0r/homebrew-cask,gguillotte/homebrew-cask,fly19890211/homebrew-cask,sparrc/homebrew-cask,kassi/homebrew-cask,jeroenseegers/homebrew-cask,Ibuprofen/homebrew-cask,yuhki50/homebrew-cask,jacobdam/homebrew-cask,gmkey/homebrew-cask,6uclz1/homebrew-cask,hakamadare/homebrew-cask,Fedalto/homebrew-cask,AnastasiaSulyagina/homebrew-cask,JacopKane/homebrew-cask,alebcay/homebrew-cask,MoOx/homebrew-cask,chrisfinazzo/homebrew-cask,janlugt/homebrew-cask,underyx/homebrew-cask,vmrob/homebrew-cask,d/homebrew-cask,englishm/homebrew-cask,RogerThiede/homebrew-cask,wastrachan/homebrew-cask,kiliankoe/homebrew-cask,leonmachadowilcox/homebrew-cask,timsutton/homebrew-cask,RJHsiao/homebrew-cask,inz/homebrew-cask,CameronGarrett/homebrew-cask,mazehall/homebrew-cask,aktau/homebrew-cask,cclauss/homebrew-cask,iAmGhost/homebrew-cask,unasuke/homebrew-cask,shorshe/homebrew-cask,sjackman/homebrew-cask,bric3/homebrew-cask,shoichiaizawa/homebrew-cask,hvisage/homebrew-cask,BahtiyarB/homebrew-cask,0xadada/homebrew-cask,danielbayley/homebrew-cask,mrmachine/homebrew-cask,y00rb/homebrew-cask,mjgardner/homebrew-cask,kievechua/homebrew-cask,drostron/homebrew-cask,johndbritton/homebrew-cask,malford/homebrew-cask,mkozjak/homebrew-cask,doits/homebrew-cask,Ephemera/homebrew-cask,sysbot/homebrew-cask,gyugyu/homebrew-cask,akiomik/homebrew-cask,muan/homebrew-cask,forevergenin/homebrew-cask,malob/homebrew-cask,amatos/homebrew-cask,shonjir/homebrew-cask,wuman/homebrew-cask,xtian/homebrew-cask,drostron/homebrew-cask,aktau/homebrew-cask,ctrevino/homebrew-cask,hanxue/caskroom,chadcatlett/caskroom-homebrew-cask,delphinus35/homebrew-cask,blogabe/homebrew-cask,ldong/homebrew-cask,ianyh/homebrew-cask,jasmas/homebrew-cask,jellyfishcoder/homebrew-cask,bsiddiqui/homebrew-cask,FinalDes/homebrew-cask,dwihn0r/homebrew-cask,Nitecon/homebrew-cask,RJHsiao/homebrew-cask,stigkj/homebrew-caskroom-cask,skyyuan/homebrew-cask,AnastasiaSulyagina/homebrew-cask,vigosan/homebrew-cask,huanzhang/homebrew-cask,a-x-/homebrew-cask,mindriot101/homebrew-cask,zerrot/homebrew-cask,singingwolfboy/homebrew-cask,iamso/homebrew-cask,kingthorin/homebrew-cask,MircoT/homebrew-cask,atsuyim/homebrew-cask,stevehedrick/homebrew-cask,thehunmonkgroup/homebrew-cask,qnm/homebrew-cask,dcondrey/homebrew-cask,kevyau/homebrew-cask,mattfelsen/homebrew-cask,huanzhang/homebrew-cask,johntrandall/homebrew-cask,dunn/homebrew-cask,arronmabrey/homebrew-cask,athrunsun/homebrew-cask,mauricerkelly/homebrew-cask,rcuza/homebrew-cask,lantrix/homebrew-cask,miccal/homebrew-cask,jonathanwiesel/homebrew-cask,hovancik/homebrew-cask,afdnlw/homebrew-cask,chrisRidgers/homebrew-cask,arronmabrey/homebrew-cask,Cottser/homebrew-cask,deiga/homebrew-cask,hristozov/homebrew-cask,Saklad5/homebrew-cask,colindean/homebrew-cask,kingthorin/homebrew-cask,katoquro/homebrew-cask,retbrown/homebrew-cask,mishari/homebrew-cask,theoriginalgri/homebrew-cask,SamiHiltunen/homebrew-cask,decrement/homebrew-cask,esebastian/homebrew-cask,jtriley/homebrew-cask,fazo96/homebrew-cask,joshka/homebrew-cask,reelsense/homebrew-cask,jconley/homebrew-cask,nathanielvarona/homebrew-cask,sysbot/homebrew-cask,atsuyim/homebrew-cask,optikfluffel/homebrew-cask,cliffcotino/homebrew-cask,wKovacs64/homebrew-cask,scribblemaniac/homebrew-cask,wayou/homebrew-cask,m3nu/homebrew-cask,moimikey/homebrew-cask,nicolas-brousse/homebrew-cask,rajiv/homebrew-cask,pgr0ss/homebrew-cask,13k/homebrew-cask,jeroenj/homebrew-cask,mwilmer/homebrew-cask,tjnycum/homebrew-cask,axodys/homebrew-cask,sanchezm/homebrew-cask,mgryszko/homebrew-cask,sirodoht/homebrew-cask,MoOx/homebrew-cask,mikem/homebrew-cask,n0ts/homebrew-cask,zorosteven/homebrew-cask,0rax/homebrew-cask,psibre/homebrew-cask,leipert/homebrew-cask,coeligena/homebrew-customized,MatzFan/homebrew-cask,reitermarkus/homebrew-cask,johnjelinek/homebrew-cask,wmorin/homebrew-cask,helloIAmPau/homebrew-cask,jppelteret/homebrew-cask,gibsjose/homebrew-cask,jamesmlees/homebrew-cask,skyyuan/homebrew-cask,ianyh/homebrew-cask,paulbreslin/homebrew-cask,singingwolfboy/homebrew-cask,ywfwj2008/homebrew-cask,bgandon/homebrew-cask,JacopKane/homebrew-cask,hakamadare/homebrew-cask,robertgzr/homebrew-cask,nathancahill/homebrew-cask,kesara/homebrew-cask,lvicentesanchez/homebrew-cask,flaviocamilo/homebrew-cask,feniix/homebrew-cask,arranubels/homebrew-cask,winkelsdorf/homebrew-cask,christer155/homebrew-cask,scribblemaniac/homebrew-cask,sanyer/homebrew-cask,gabrielizaias/homebrew-cask,nathansgreen/homebrew-cask,jen20/homebrew-cask,farmerchris/homebrew-cask,williamboman/homebrew-cask,christophermanning/homebrew-cask,franklouwers/homebrew-cask,tranc99/homebrew-cask,stephenwade/homebrew-cask,jeanregisser/homebrew-cask,leipert/homebrew-cask,tedbundyjr/homebrew-cask,coeligena/homebrew-customized,hvisage/homebrew-cask,gibsjose/homebrew-cask,mahori/homebrew-cask,onlynone/homebrew-cask,napaxton/homebrew-cask,AndreTheHunter/homebrew-cask,neverfox/homebrew-cask,giannitm/homebrew-cask,jspahrsummers/homebrew-cask,nysthee/homebrew-cask,dictcp/homebrew-cask,exherb/homebrew-cask,andrewdisley/homebrew-cask,jaredsampson/homebrew-cask,zerrot/homebrew-cask,syscrusher/homebrew-cask,howie/homebrew-cask,victorpopkov/homebrew-cask,puffdad/homebrew-cask,mingzhi22/homebrew-cask,slnovak/homebrew-cask,jpodlech/homebrew-cask,jmeridth/homebrew-cask,stonehippo/homebrew-cask,mathbunnyru/homebrew-cask,reitermarkus/homebrew-cask,ajbw/homebrew-cask,rickychilcott/homebrew-cask,alexg0/homebrew-cask,tsparber/homebrew-cask,bdhess/homebrew-cask,epardee/homebrew-cask,guerrero/homebrew-cask,Hywan/homebrew-cask,freeslugs/homebrew-cask,sosedoff/homebrew-cask,crmne/homebrew-cask,alebcay/homebrew-cask,englishm/homebrew-cask,jspahrsummers/homebrew-cask,yutarody/homebrew-cask,coneman/homebrew-cask,hyuna917/homebrew-cask,csmith-palantir/homebrew-cask,optikfluffel/homebrew-cask,malob/homebrew-cask,tjt263/homebrew-cask,malob/homebrew-cask,fharbe/homebrew-cask,joaoponceleao/homebrew-cask,albertico/homebrew-cask,koenrh/homebrew-cask,genewoo/homebrew-cask,JosephViolago/homebrew-cask,illusionfield/homebrew-cask,shanonvl/homebrew-cask,troyxmccall/homebrew-cask,blogabe/homebrew-cask,kievechua/homebrew-cask,Ephemera/homebrew-cask,squid314/homebrew-cask,esebastian/homebrew-cask,mattrobenolt/homebrew-cask,mattrobenolt/homebrew-cask,lcasey001/homebrew-cask,adelinofaria/homebrew-cask,mokagio/homebrew-cask,inta/homebrew-cask,catap/homebrew-cask,gabrielizaias/homebrew-cask,djmonta/homebrew-cask,kostasdizas/homebrew-cask,tangestani/homebrew-cask,coeligena/homebrew-customized,yurrriq/homebrew-cask,xcezx/homebrew-cask,jalaziz/homebrew-cask,gord1anknot/homebrew-cask,xyb/homebrew-cask,JacopKane/homebrew-cask,crzrcn/homebrew-cask,lolgear/homebrew-cask,stevehedrick/homebrew-cask,sgnh/homebrew-cask,jmeridth/homebrew-cask,antogg/homebrew-cask,kongslund/homebrew-cask,fly19890211/homebrew-cask,janlugt/homebrew-cask,antogg/homebrew-cask,jacobbednarz/homebrew-cask,nickpellant/homebrew-cask,nrlquaker/homebrew-cask,n0ts/homebrew-cask,zmwangx/homebrew-cask,astorije/homebrew-cask,devmynd/homebrew-cask,3van/homebrew-cask,dustinblackman/homebrew-cask,hackhandslabs/homebrew-cask,yuhki50/homebrew-cask,otaran/homebrew-cask,alexg0/homebrew-cask,ch3n2k/homebrew-cask,remko/homebrew-cask,gwaldo/homebrew-cask,sebcode/homebrew-cask,giannitm/homebrew-cask,yurikoles/homebrew-cask,elseym/homebrew-cask,joshka/homebrew-cask,a1russell/homebrew-cask,pacav69/homebrew-cask,sscotth/homebrew-cask,delphinus35/homebrew-cask,sideci-sample/sideci-sample-homebrew-cask,freeslugs/homebrew-cask,jalaziz/homebrew-cask,Hywan/homebrew-cask,taherio/homebrew-cask,mahori/homebrew-cask,vuquoctuan/homebrew-cask,skatsuta/homebrew-cask,Dremora/homebrew-cask,carlmod/homebrew-cask,mindriot101/homebrew-cask,cblecker/homebrew-cask,jacobdam/homebrew-cask,mahori/homebrew-cask,axodys/homebrew-cask,arranubels/homebrew-cask,tangestani/homebrew-cask,mjdescy/homebrew-cask,scribblemaniac/homebrew-cask,tmoreira2020/homebrew,danielbayley/homebrew-cask,epardee/homebrew-cask,opsdev-ws/homebrew-cask,fwiesel/homebrew-cask,phpwutz/homebrew-cask,rajiv/homebrew-cask,d/homebrew-cask,djmonta/homebrew-cask,sirodoht/homebrew-cask,retbrown/homebrew-cask,lieuwex/homebrew-cask,MerelyAPseudonym/homebrew-cask,pkq/homebrew-cask,bdhess/homebrew-cask,mhubig/homebrew-cask,klane/homebrew-cask,boecko/homebrew-cask,xight/homebrew-cask,wesen/homebrew-cask,bric3/homebrew-cask,SentinelWarren/homebrew-cask,josa42/homebrew-cask,Saklad5/homebrew-cask,jen20/homebrew-cask,toonetown/homebrew-cask,kongslund/homebrew-cask,diguage/homebrew-cask,mariusbutuc/homebrew-cask,squid314/homebrew-cask,kesara/homebrew-cask,sparrc/homebrew-cask,JikkuJose/homebrew-cask,santoshsahoo/homebrew-cask,jeroenseegers/homebrew-cask,akiomik/homebrew-cask,ahundt/homebrew-cask,franklouwers/homebrew-cask,cedwardsmedia/homebrew-cask,kolomiichenko/homebrew-cask,andersonba/homebrew-cask,Amorymeltzer/homebrew-cask,jpmat296/homebrew-cask,sanyer/homebrew-cask,faun/homebrew-cask,xiongchiamiov/homebrew-cask,buo/homebrew-cask,gurghet/homebrew-cask,jgarber623/homebrew-cask,asins/homebrew-cask,caskroom/homebrew-cask,pacav69/homebrew-cask,afh/homebrew-cask,a1russell/homebrew-cask,ohammersmith/homebrew-cask,rkJun/homebrew-cask,flada-auxv/homebrew-cask,xcezx/homebrew-cask,pkq/homebrew-cask,buo/homebrew-cask,thomanq/homebrew-cask,santoshsahoo/homebrew-cask,julienlavergne/homebrew-cask,FredLackeyOfficial/homebrew-cask,paulombcosta/homebrew-cask,dieterdemeyer/homebrew-cask,mgryszko/homebrew-cask,kpearson/homebrew-cask,neverfox/homebrew-cask,diogodamiani/homebrew-cask,ptb/homebrew-cask,miguelfrde/homebrew-cask,FinalDes/homebrew-cask,sscotth/homebrew-cask,tedski/homebrew-cask,christophermanning/homebrew-cask,gurghet/homebrew-cask,retrography/homebrew-cask,tan9/homebrew-cask,kteru/homebrew-cask,xtian/homebrew-cask,sosedoff/homebrew-cask,jeanregisser/homebrew-cask,y00rb/homebrew-cask,jgarber623/homebrew-cask,markhuber/homebrew-cask,corbt/homebrew-cask,guylabs/homebrew-cask,hanxue/caskroom,julienlavergne/homebrew-cask,optikfluffel/homebrew-cask,scottsuch/homebrew-cask,fazo96/homebrew-cask,paour/homebrew-cask,chadcatlett/caskroom-homebrew-cask,kuno/homebrew-cask,casidiablo/homebrew-cask,nathansgreen/homebrew-cask,codeurge/homebrew-cask,slack4u/homebrew-cask,ldong/homebrew-cask,cblecker/homebrew-cask,gwaldo/homebrew-cask,cclauss/homebrew-cask,casidiablo/homebrew-cask,iAmGhost/homebrew-cask,shonjir/homebrew-cask,maxnordlund/homebrew-cask,qbmiller/homebrew-cask,renard/homebrew-cask,stigkj/homebrew-caskroom-cask,tangestani/homebrew-cask,okket/homebrew-cask,rogeriopradoj/homebrew-cask,feigaochn/homebrew-cask,andyli/homebrew-cask,tjnycum/homebrew-cask,MicTech/homebrew-cask,moogar0880/homebrew-cask,jangalinski/homebrew-cask,vmrob/homebrew-cask,sohtsuka/homebrew-cask,hellosky806/homebrew-cask,dspeckhard/homebrew-cask,danielgomezrico/homebrew-cask,mathbunnyru/homebrew-cask,RickWong/homebrew-cask,fanquake/homebrew-cask,jasmas/homebrew-cask,kronicd/homebrew-cask,goxberry/homebrew-cask,sanchezm/homebrew-cask,chuanxd/homebrew-cask,RickWong/homebrew-cask,askl56/homebrew-cask,jiashuw/homebrew-cask,shonjir/homebrew-cask,lumaxis/homebrew-cask,JoelLarson/homebrew-cask,tedbundyjr/homebrew-cask,csmith-palantir/homebrew-cask,danielgomezrico/homebrew-cask,ch3n2k/homebrew-cask,chrisRidgers/homebrew-cask,My2ndAngelic/homebrew-cask,feniix/homebrew-cask,samnung/homebrew-cask,wKovacs64/homebrew-cask,perfide/homebrew-cask,Gasol/homebrew-cask,alloy/homebrew-cask,tedski/homebrew-cask,xyb/homebrew-cask,elseym/homebrew-cask,Ketouem/homebrew-cask,lucasmezencio/homebrew-cask,fwiesel/homebrew-cask,joschi/homebrew-cask,vin047/homebrew-cask,rcuza/homebrew-cask,BahtiyarB/homebrew-cask,corbt/homebrew-cask,AndreTheHunter/homebrew-cask,rubenerd/homebrew-cask,aguynamedryan/homebrew-cask,kassi/homebrew-cask,yurikoles/homebrew-cask,katoquro/homebrew-cask,mjdescy/homebrew-cask,morganestes/homebrew-cask,boydj/homebrew-cask,mingzhi22/homebrew-cask,kamilboratynski/homebrew-cask,chuanxd/homebrew-cask,dvdoliveira/homebrew-cask,muan/homebrew-cask,ftiff/homebrew-cask,riyad/homebrew-cask,haha1903/homebrew-cask,zchee/homebrew-cask,Labutin/homebrew-cask,kirikiriyamama/homebrew-cask,afh/homebrew-cask,guerrero/homebrew-cask,sideci-sample/sideci-sample-homebrew-cask,seanzxx/homebrew-cask,artdevjs/homebrew-cask,KosherBacon/homebrew-cask,coneman/homebrew-cask,miguelfrde/homebrew-cask,kTitan/homebrew-cask,xalep/homebrew-cask,aki77/homebrew-cask,mathbunnyru/homebrew-cask,dustinblackman/homebrew-cask,qnm/homebrew-cask,ponychicken/homebrew-customcask,enriclluelles/homebrew-cask,catap/homebrew-cask,vuquoctuan/homebrew-cask,michelegera/homebrew-cask,johntrandall/homebrew-cask,thomanq/homebrew-cask,greg5green/homebrew-cask,blainesch/homebrew-cask,Philosoft/homebrew-cask,dcondrey/homebrew-cask,reitermarkus/homebrew-cask,larseggert/homebrew-cask,jpmat296/homebrew-cask,pablote/homebrew-cask,FranklinChen/homebrew-cask,jiashuw/homebrew-cask,johnste/homebrew-cask,bric3/homebrew-cask,kTitan/homebrew-cask,a1russell/homebrew-cask,diogodamiani/homebrew-cask,jpodlech/homebrew-cask,spruceb/homebrew-cask,daften/homebrew-cask,0rax/homebrew-cask,neverfox/homebrew-cask,nshemonsky/homebrew-cask,Ngrd/homebrew-cask,miku/homebrew-cask,jtriley/homebrew-cask,asbachb/homebrew-cask,forevergenin/homebrew-cask,faun/homebrew-cask,jacobbednarz/homebrew-cask,artdevjs/homebrew-cask,jaredsampson/homebrew-cask,amatos/homebrew-cask,boecko/homebrew-cask,Ngrd/homebrew-cask,pinut/homebrew-cask,imgarylai/homebrew-cask,tyage/homebrew-cask,nicolas-brousse/homebrew-cask,chino/homebrew-cask,ayohrling/homebrew-cask,hanxue/caskroom,mAAdhaTTah/homebrew-cask,mchlrmrz/homebrew-cask,af/homebrew-cask,shoichiaizawa/homebrew-cask,leonmachadowilcox/homebrew-cask,tmoreira2020/homebrew,vitorgalvao/homebrew-cask,williamboman/homebrew-cask,mwek/homebrew-cask,daften/homebrew-cask,mattrobenolt/homebrew-cask,deiga/homebrew-cask,linc01n/homebrew-cask,reelsense/homebrew-cask,supriyantomaftuh/homebrew-cask,devmynd/homebrew-cask,miku/homebrew-cask,xakraz/homebrew-cask,ahundt/homebrew-cask,johnjelinek/homebrew-cask,scottsuch/homebrew-cask,moogar0880/homebrew-cask,slack4u/homebrew-cask,bcomnes/homebrew-cask,dlovitch/homebrew-cask,Amorymeltzer/homebrew-cask,pinut/homebrew-cask,claui/homebrew-cask,dunn/homebrew-cask,remko/homebrew-cask,samdoran/homebrew-cask,epmatsw/homebrew-cask,n8henrie/homebrew-cask,RogerThiede/homebrew-cask,bendoerr/homebrew-cask,lauantai/homebrew-cask,imgarylai/homebrew-cask,alebcay/homebrew-cask,vin047/homebrew-cask,nathanielvarona/homebrew-cask,howie/homebrew-cask,BenjaminHCCarr/homebrew-cask,mikem/homebrew-cask,LaurentFough/homebrew-cask,sgnh/homebrew-cask,jawshooah/homebrew-cask,klane/homebrew-cask,JikkuJose/homebrew-cask,wmorin/homebrew-cask,boydj/homebrew-cask,jonathanwiesel/homebrew-cask,yutarody/homebrew-cask,yurikoles/homebrew-cask,nshemonsky/homebrew-cask,riyad/homebrew-cask,bosr/homebrew-cask,MisumiRize/homebrew-cask,MatzFan/homebrew-cask,kostasdizas/homebrew-cask,andrewschleifer/homebrew-cask,lalyos/homebrew-cask,elyscape/homebrew-cask,Cottser/homebrew-cask,lukeadams/homebrew-cask,jalaziz/homebrew-cask,syscrusher/homebrew-cask,gerrymiller/homebrew-cask,mwean/homebrew-cask,jayshao/homebrew-cask,barravi/homebrew-cask,christer155/homebrew-cask,robbiethegeek/homebrew-cask,carlmod/homebrew-cask,timsutton/homebrew-cask,iamso/homebrew-cask,cohei/homebrew-cask,goxberry/homebrew-cask,markhuber/homebrew-cask,kpearson/homebrew-cask,n8henrie/homebrew-cask,helloIAmPau/homebrew-cask,epmatsw/homebrew-cask,kolomiichenko/homebrew-cask,cohei/homebrew-cask,tyage/homebrew-cask,KosherBacon/homebrew-cask,Keloran/homebrew-cask,enriclluelles/homebrew-cask,jawshooah/homebrew-cask,wickles/homebrew-cask,Dremora/homebrew-cask,genewoo/homebrew-cask,haha1903/homebrew-cask,renaudguerin/homebrew-cask,lolgear/homebrew-cask,adriweb/homebrew-cask,samshadwell/homebrew-cask,yumitsu/homebrew-cask,MichaelPei/homebrew-cask,chrisfinazzo/homebrew-cask,cfillion/homebrew-cask,samshadwell/homebrew-cask,Whoaa512/homebrew-cask,jconley/homebrew-cask,tarwich/homebrew-cask,alexg0/homebrew-cask,chrisfinazzo/homebrew-cask,kei-yamazaki/homebrew-cask,kesara/homebrew-cask,deanmorin/homebrew-cask,zchee/homebrew-cask,inta/homebrew-cask,kirikiriyamama/homebrew-cask,scottsuch/homebrew-cask,nivanchikov/homebrew-cask,wastrachan/homebrew-cask,miccal/homebrew-cask,joaoponceleao/homebrew-cask,wickedsp1d3r/homebrew-cask,joshka/homebrew-cask,bcaceiro/homebrew-cask,zeusdeux/homebrew-cask,bosr/homebrew-cask,kronicd/homebrew-cask,colindunn/homebrew-cask,jbeagley52/homebrew-cask,Bombenleger/homebrew-cask,gguillotte/homebrew-cask,hyuna917/homebrew-cask,wolflee/homebrew-cask,13k/homebrew-cask,taherio/homebrew-cask,3van/homebrew-cask,decrement/homebrew-cask,nrlquaker/homebrew-cask,stonehippo/homebrew-cask,royalwang/homebrew-cask,Keloran/homebrew-cask,kkdd/homebrew-cask,thii/homebrew-cask,wizonesolutions/homebrew-cask,Whoaa512/homebrew-cask,gyndav/homebrew-cask,hovancik/homebrew-cask,tarwich/homebrew-cask,zhuzihhhh/homebrew-cask,BenjaminHCCarr/homebrew-cask,claui/homebrew-cask,royalwang/homebrew-cask,wickedsp1d3r/homebrew-cask,fanquake/homebrew-cask,askl56/homebrew-cask,inz/homebrew-cask,xight/homebrew-cask,tsparber/homebrew-cask,barravi/homebrew-cask,LaurentFough/homebrew-cask,paour/homebrew-cask,morganestes/homebrew-cask,neil-ca-moore/homebrew-cask,mfpierre/homebrew-cask,ksato9700/homebrew-cask,lalyos/homebrew-cask,yumitsu/homebrew-cask,JoelLarson/homebrew-cask,winkelsdorf/homebrew-cask,asins/homebrew-cask,githubutilities/homebrew-cask,shoichiaizawa/homebrew-cask,0xadada/homebrew-cask,ponychicken/homebrew-customcask,ddm/homebrew-cask,winkelsdorf/homebrew-cask,cliffcotino/homebrew-cask,mrmachine/homebrew-cask,ajbw/homebrew-cask,MircoT/homebrew-cask,bcaceiro/homebrew-cask,perfide/homebrew-cask,greg5green/homebrew-cask,chino/homebrew-cask,m3nu/homebrew-cask,ctrevino/homebrew-cask,lifepillar/homebrew-cask,zhuzihhhh/homebrew-cask,stevenmaguire/homebrew-cask,githubutilities/homebrew-cask,kryhear/homebrew-cask,slnovak/homebrew-cask,julionc/homebrew-cask,paulombcosta/homebrew-cask,af/homebrew-cask,scw/homebrew-cask,6uclz1/homebrew-cask,jrwesolo/homebrew-cask,mhubig/homebrew-cask,My2ndAngelic/homebrew-cask,antogg/homebrew-cask,gmkey/homebrew-cask,vigosan/homebrew-cask,mishari/homebrew-cask,mlocher/homebrew-cask,joaocc/homebrew-cask,bgandon/homebrew-cask,wuman/homebrew-cask,Ketouem/homebrew-cask,dwkns/homebrew-cask,MicTech/homebrew-cask,bchatard/homebrew-cask,tdsmith/homebrew-cask,Gasol/homebrew-cask,segiddins/homebrew-cask,kevyau/homebrew-cask,mfpierre/homebrew-cask,claui/homebrew-cask,rogeriopradoj/homebrew-cask,doits/homebrew-cask,seanorama/homebrew-cask,gilesdring/homebrew-cask,gyugyu/homebrew-cask,albertico/homebrew-cask,djakarta-trap/homebrew-myCask,tdsmith/homebrew-cask,wayou/homebrew-cask,garborg/homebrew-cask,pgr0ss/homebrew-cask,gerrypower/homebrew-cask,jhowtan/homebrew-cask,mokagio/homebrew-cask,jedahan/homebrew-cask,caskroom/homebrew-cask,jedahan/homebrew-cask,rubenerd/homebrew-cask,rogeriopradoj/homebrew-cask,jeroenj/homebrew-cask,wesen/homebrew-cask,illusionfield/homebrew-cask,crmne/homebrew-cask,ahvigil/homebrew-cask,cobyism/homebrew-cask,scw/homebrew-cask,kteru/homebrew-cask,rkJun/homebrew-cask,mwean/homebrew-cask,ohammersmith/homebrew-cask,mjgardner/homebrew-cask,diguage/homebrew-cask,julionc/homebrew-cask,rajiv/homebrew-cask,elnappo/homebrew-cask,shishi/homebrew-cask,markthetech/homebrew-cask,paulbreslin/homebrew-cask,joschi/homebrew-cask,Amorymeltzer/homebrew-cask,dvdoliveira/homebrew-cask,sscotth/homebrew-cask,ericbn/homebrew-cask,norio-nomura/homebrew-cask,renaudguerin/homebrew-cask,j13k/homebrew-cask,ahvigil/homebrew-cask,josa42/homebrew-cask,andrewschleifer/homebrew-cask,seanorama/homebrew-cask,colindunn/homebrew-cask,colindean/homebrew-cask,ftiff/homebrew-cask,larseggert/homebrew-cask,jhowtan/homebrew-cask,ywfwj2008/homebrew-cask,schneidmaster/homebrew-cask,adrianchia/homebrew-cask,andrewdisley/homebrew-cask,moimikey/homebrew-cask,mauricerkelly/homebrew-cask,hellosky806/homebrew-cask,miccal/homebrew-cask,kuno/homebrew-cask,cfillion/homebrew-cask,otaran/homebrew-cask,johan/homebrew-cask,josa42/homebrew-cask,bchatard/homebrew-cask,j13k/homebrew-cask,anbotero/homebrew-cask,xight/homebrew-cask,aguynamedryan/homebrew-cask,thehunmonkgroup/homebrew-cask,MichaelPei/homebrew-cask,moimikey/homebrew-cask,ksato9700/homebrew-cask
ruby
## Code Before: cask :v1 => '4k-youtube-to-mp3' do # note: "3" is not a version number, but an intrinsic part of the product name version '2.9' sha256 '07a558e3dddc957386d12f1a13880e6d02e86ccdabc64e3ac66c78eccde8fe09' url "http://downloads.4kdownload.com/app/4kyoutubetomp3_#{version}.dmg" name '4K Youtube to MP3' homepage 'http://www.4kdownload.com/products/product-youtubetomp3' license :oss app '4K YouTube to MP3.app' end ## Instruction: Fix checksum in "4K YouTube to MP3.app" Cask It seems that the download package has recently been changed, although the version number has not been bumped. This commit corrects the sha256 hash. ## Code After: cask :v1 => '4k-youtube-to-mp3' do # note: "3" is not a version number, but an intrinsic part of the product name version '2.9' sha256 '8f62dead99131f7cb6936f07d95020f81fca6472d2a4d6bdd3ea37aefb5749ce' url "http://downloads.4kdownload.com/app/4kyoutubetomp3_#{version}.dmg" name '4K Youtube to MP3' homepage 'http://www.4kdownload.com/products/product-youtubetomp3' license :oss app '4K YouTube to MP3.app' end
9a0d4e25cf232aead05ae4d6728d51946244a382
test/rbbt/annotations/test_util.rb
test/rbbt/annotations/test_util.rb
require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb') require 'rbbt/annotations' class TestAnnotation < Test::Unit::TestCase def test_marshal a = "STRING" a.extend Annotated assert !(Annotated === Marshal.load(Marshal.dump(a))) assert_equal a, Marshal.load(Marshal.dump(a)) end end
require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb') require 'rbbt/annotations' module TestEntityString extend Entity self.annotation :code end class TestAnnotation < Test::Unit::TestCase def test_marshal a = "STRING" a.extend Annotated assert !(Annotated === Marshal.load(Marshal.dump(a))) assert_equal a, Marshal.load(Marshal.dump(a)) end def test_hash e = TestEntityString.setup("TEST", :code => 10) assert_equal "TEST", Annotated.to_hash(e)[:literal] assert_equal 10, Annotated.to_hash(e)[:info][:code] end end
Test hash loading and saving of annotations
Test hash loading and saving of annotations
Ruby
mit
mikisvaz/rbbt-util,mikisvaz/rbbt-util,mikisvaz/rbbt-util,mikisvaz/rbbt-util,mikisvaz/rbbt-util
ruby
## Code Before: require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb') require 'rbbt/annotations' class TestAnnotation < Test::Unit::TestCase def test_marshal a = "STRING" a.extend Annotated assert !(Annotated === Marshal.load(Marshal.dump(a))) assert_equal a, Marshal.load(Marshal.dump(a)) end end ## Instruction: Test hash loading and saving of annotations ## Code After: require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb') require 'rbbt/annotations' module TestEntityString extend Entity self.annotation :code end class TestAnnotation < Test::Unit::TestCase def test_marshal a = "STRING" a.extend Annotated assert !(Annotated === Marshal.load(Marshal.dump(a))) assert_equal a, Marshal.load(Marshal.dump(a)) end def test_hash e = TestEntityString.setup("TEST", :code => 10) assert_equal "TEST", Annotated.to_hash(e)[:literal] assert_equal 10, Annotated.to_hash(e)[:info][:code] end end
ffc220106050b27c514db5b89f3bbeb1d72d1107
app/templates/demo/index.html
app/templates/demo/index.html
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Bespoke.js</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1><%= pluginFullName %></h1> <article> <section> <p>Slide 1</p> </section> <section> <p>Slide 2</p> </section> <section> <p>Slide 3</p> </section> <section> <p>Slide 4</p> </section> <section> <p>Slide 5</p> </section> </article> <script src="../bower_components/bespoke.js/dist/bespoke.js"></script> <script src="../src/<%= pluginFullName %>.js"></script> <script src="demo.js"></script> </body> </html>
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <title><%= pluginFullName %> demo</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1><%= pluginFullName %></h1> <article> <section> <p>Slide 1</p> </section> <section> <p>Slide 2</p> </section> <section> <p>Slide 3</p> </section> <section> <p>Slide 4</p> </section> <section> <p>Slide 5</p> </section> </article> <script src="../bower_components/bespoke.js/dist/bespoke.js"></script> <script src="../src/<%= pluginFullName %>.js"></script> <script src="demo.js"></script> </body> </html>
Add plugin name to title of demo page
Add plugin name to title of demo page
HTML
mit
bespokejs/generator-bespokeplugin,mbasanta/generator-bespokeplugin,markdalgleish/generator-bespokeplugin,mbasanta/generator-bespokeplugin
html
## Code Before: <!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Bespoke.js</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1><%= pluginFullName %></h1> <article> <section> <p>Slide 1</p> </section> <section> <p>Slide 2</p> </section> <section> <p>Slide 3</p> </section> <section> <p>Slide 4</p> </section> <section> <p>Slide 5</p> </section> </article> <script src="../bower_components/bespoke.js/dist/bespoke.js"></script> <script src="../src/<%= pluginFullName %>.js"></script> <script src="demo.js"></script> </body> </html> ## Instruction: Add plugin name to title of demo page ## Code After: <!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <title><%= pluginFullName %> demo</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1><%= pluginFullName %></h1> <article> <section> <p>Slide 1</p> </section> <section> <p>Slide 2</p> </section> <section> <p>Slide 3</p> </section> <section> <p>Slide 4</p> </section> <section> <p>Slide 5</p> </section> </article> <script src="../bower_components/bespoke.js/dist/bespoke.js"></script> <script src="../src/<%= pluginFullName %>.js"></script> <script src="demo.js"></script> </body> </html>
78bd04f1e9bf526a47e2695eabd93a2c369a2c5b
lib/modules/hide_downvote.js
lib/modules/hide_downvote.js
HNSpecial.settings.registerModule("hide_downvote", function () { function hideDownvoteButton () { var arrows = _.toArray(document.getElementsByClassName('votearrow')); arrows.forEach(function(arrow) { if (arrow.classList.contains('rotate180')) { arrow.parentElement.remove(); } }); } hideDownvoteButton(); });
HNSpecial.settings.registerModule("hide_downvote", function hideDownvotes() { var arrows = _.toArray(document.getElementsByClassName('votearrow')); arrows.forEach(function(arrow) { if (arrow.classList.contains('rotate180')) { arrow.parentElement.remove(); } }); });
Remove function definition for brevity
Remove function definition for brevity
JavaScript
mit
gabrielecirulli/hn-special,gabrielecirulli/hn-special,gabrielecirulli/hn-special
javascript
## Code Before: HNSpecial.settings.registerModule("hide_downvote", function () { function hideDownvoteButton () { var arrows = _.toArray(document.getElementsByClassName('votearrow')); arrows.forEach(function(arrow) { if (arrow.classList.contains('rotate180')) { arrow.parentElement.remove(); } }); } hideDownvoteButton(); }); ## Instruction: Remove function definition for brevity ## Code After: HNSpecial.settings.registerModule("hide_downvote", function hideDownvotes() { var arrows = _.toArray(document.getElementsByClassName('votearrow')); arrows.forEach(function(arrow) { if (arrow.classList.contains('rotate180')) { arrow.parentElement.remove(); } }); });
70c33ced375baeccbb500446a861c7a61d04abc2
tools/regression/bpf/bpf_filter/tests/test0083.h
tools/regression/bpf/bpf_filter/tests/test0083.h
/*- * Test 0083: Check that the last instruction is BPF_RET. * * $FreeBSD$ */ /* BPF program */ struct bpf_insn pc[] = { BPF_JUMP(BPF_JMP+BPF_JA, 0, 0, 0), }; /* Packet */ u_char pkt[] = { 0x00, }; /* Packet length seen on wire */ u_int wirelen = sizeof(pkt); /* Packet length passed on buffer */ u_int buflen = sizeof(pkt); /* Invalid instruction */ int invalid = 1; /* Expected return value */ u_int expect = 0; /* Expected signal */ #ifdef BPF_JIT_COMPILER int expect_signal = SIGSEGV; #else int expect_signal = SIGABRT; #endif
/*- * Test 0083: Check that the last instruction is BPF_RET. * * $FreeBSD$ */ /* BPF program */ struct bpf_insn pc[] = { BPF_STMT(BPF_LD|BPF_IMM, 0), }; /* Packet */ u_char pkt[] = { 0x00, }; /* Packet length seen on wire */ u_int wirelen = sizeof(pkt); /* Packet length passed on buffer */ u_int buflen = sizeof(pkt); /* Invalid instruction */ int invalid = 1; /* Expected return value */ u_int expect = 0; /* Expected signal */ #ifdef BPF_JIT_COMPILER int expect_signal = SIGSEGV; #else int expect_signal = SIGABRT; #endif
Adjust a test case and make it more jump optimization neutral for JIT case.
Adjust a test case and make it more jump optimization neutral for JIT case.
C
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
c
## Code Before: /*- * Test 0083: Check that the last instruction is BPF_RET. * * $FreeBSD$ */ /* BPF program */ struct bpf_insn pc[] = { BPF_JUMP(BPF_JMP+BPF_JA, 0, 0, 0), }; /* Packet */ u_char pkt[] = { 0x00, }; /* Packet length seen on wire */ u_int wirelen = sizeof(pkt); /* Packet length passed on buffer */ u_int buflen = sizeof(pkt); /* Invalid instruction */ int invalid = 1; /* Expected return value */ u_int expect = 0; /* Expected signal */ #ifdef BPF_JIT_COMPILER int expect_signal = SIGSEGV; #else int expect_signal = SIGABRT; #endif ## Instruction: Adjust a test case and make it more jump optimization neutral for JIT case. ## Code After: /*- * Test 0083: Check that the last instruction is BPF_RET. * * $FreeBSD$ */ /* BPF program */ struct bpf_insn pc[] = { BPF_STMT(BPF_LD|BPF_IMM, 0), }; /* Packet */ u_char pkt[] = { 0x00, }; /* Packet length seen on wire */ u_int wirelen = sizeof(pkt); /* Packet length passed on buffer */ u_int buflen = sizeof(pkt); /* Invalid instruction */ int invalid = 1; /* Expected return value */ u_int expect = 0; /* Expected signal */ #ifdef BPF_JIT_COMPILER int expect_signal = SIGSEGV; #else int expect_signal = SIGABRT; #endif
07085060ddcb0fd9776183d534bdbd26d745309a
README.md
README.md
This is C++11 based library and HAL for STM32 It include: 1) CMake build system for simplifier create, build and upload to target 2) Linker script to separate and simplified your code. 3) Vector table for Cortex-M3,4 for simplified create interrupt handers. 4) Startup code for Cortex-M3,4 cpu with initialization of data & bss sections. 5) Setup C++ static objects 6) Template library and types for stm32 mcus. 7) Prototype of startup and run code for stm32 mcus. 8) RCC, GPIO, PWR, LCD, TIM, RTC, EXTI, ADC, DMA, Core structures and helpers to simplified operations with hardware. 9) stm32l152c-discovery hex lcd bsp to simplified operation with hardware modules 10) stm32l152c-disco, stm32f3disco, stm32f4-black examples proto
This is C++11 based library and HAL for STM32 It include: 1) CMake build system for simplifier create, build and upload to target 2) Linker script to separate and simplified your code. 3) Vector table for Cortex-M3,4 for simplified create interrupt handers. 4) Startup code for Cortex-M3,4 cpu with initialization of data & bss sections. 5) Setup C++ static objects 6) Template library and types for stm32 mcus. 7) Prototype of startup and run code for stm32 mcus. 8) Low level template style defines and helpers to commonize work with hardware. 1) RCC 2) GPIO 3) PWR 4) LCD 5) TIM 6) RTC 7) EXTI 8) ADC 9) DMA 10) USART 11) Core structures & interrupts 12) Device structures & interrups 9) High lelev template style and helpers to simplified operations with hardware. 1) Interrupts 2) Systick 3) GPIO 4) EXTI 5) USART 10) stm32l152c-discovery hex lcd bsp to simplified operation with hardware modules 11) stm32l152c-disco, stm32f3disco, stm32f4-black examples proto
Update project description - split functions
Update project description - split functions
Markdown
apache-2.0
no111u3/stm32cclib
markdown
## Code Before: This is C++11 based library and HAL for STM32 It include: 1) CMake build system for simplifier create, build and upload to target 2) Linker script to separate and simplified your code. 3) Vector table for Cortex-M3,4 for simplified create interrupt handers. 4) Startup code for Cortex-M3,4 cpu with initialization of data & bss sections. 5) Setup C++ static objects 6) Template library and types for stm32 mcus. 7) Prototype of startup and run code for stm32 mcus. 8) RCC, GPIO, PWR, LCD, TIM, RTC, EXTI, ADC, DMA, Core structures and helpers to simplified operations with hardware. 9) stm32l152c-discovery hex lcd bsp to simplified operation with hardware modules 10) stm32l152c-disco, stm32f3disco, stm32f4-black examples proto ## Instruction: Update project description - split functions ## Code After: This is C++11 based library and HAL for STM32 It include: 1) CMake build system for simplifier create, build and upload to target 2) Linker script to separate and simplified your code. 3) Vector table for Cortex-M3,4 for simplified create interrupt handers. 4) Startup code for Cortex-M3,4 cpu with initialization of data & bss sections. 5) Setup C++ static objects 6) Template library and types for stm32 mcus. 7) Prototype of startup and run code for stm32 mcus. 8) Low level template style defines and helpers to commonize work with hardware. 1) RCC 2) GPIO 3) PWR 4) LCD 5) TIM 6) RTC 7) EXTI 8) ADC 9) DMA 10) USART 11) Core structures & interrupts 12) Device structures & interrups 9) High lelev template style and helpers to simplified operations with hardware. 1) Interrupts 2) Systick 3) GPIO 4) EXTI 5) USART 10) stm32l152c-discovery hex lcd bsp to simplified operation with hardware modules 11) stm32l152c-disco, stm32f3disco, stm32f4-black examples proto
c7456edf3bf0056a9f807c5cc6925533a9ed4c2a
src/main/java/ca/earthgrazer/codereviewer/service/ReviewManagementServiceImpl.java
src/main/java/ca/earthgrazer/codereviewer/service/ReviewManagementServiceImpl.java
package ca.earthgrazer.codereviewer.service; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ca.earthgrazer.codereviewer.model.ReviewFile; import ca.earthgrazer.codereviewer.repository.ReviewRepository; @Service public class ReviewManagementServiceImpl implements ReviewManagementService { @Autowired private ReviewRepository reviewRepo; Map<String, List<ReviewFile>> reviewMap = new HashMap<>(); @Override public String createReviewUnit(List<ReviewFile> fileList) { return reviewRepo.createReviewUnit(fileList); } @Override public List<ReviewFile> getReviewUnit(String refId) { return reviewRepo.getReviewUnit(refId); } }
package ca.earthgrazer.codereviewer.service; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ca.earthgrazer.codereviewer.model.ReviewFile; import ca.earthgrazer.codereviewer.repository.ReviewRepository; @Service public class ReviewManagementServiceImpl implements ReviewManagementService { @Autowired private ReviewRepository reviewRepo; Map<String, List<ReviewFile>> reviewMap = new HashMap<>(); @Override public String createReviewUnit(List<ReviewFile> fileList) { // filter out empty files List<ReviewFile> filteredList = fileList.stream() .filter(f -> !f.fileName.isEmpty() || !f.fileContent.isEmpty() || !f.fileDiff.isEmpty() || !f.fileComment.isEmpty()) .collect(Collectors.toList()); return reviewRepo.createReviewUnit(filteredList); } @Override public List<ReviewFile> getReviewUnit(String refId) { return reviewRepo.getReviewUnit(refId); } }
Add filtering for empty review files
Add filtering for empty review files Resolves issue #4
Java
apache-2.0
earthgrazer/codereviewer,earthgrazer/codereviewer,earthgrazer/codereviewer
java
## Code Before: package ca.earthgrazer.codereviewer.service; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ca.earthgrazer.codereviewer.model.ReviewFile; import ca.earthgrazer.codereviewer.repository.ReviewRepository; @Service public class ReviewManagementServiceImpl implements ReviewManagementService { @Autowired private ReviewRepository reviewRepo; Map<String, List<ReviewFile>> reviewMap = new HashMap<>(); @Override public String createReviewUnit(List<ReviewFile> fileList) { return reviewRepo.createReviewUnit(fileList); } @Override public List<ReviewFile> getReviewUnit(String refId) { return reviewRepo.getReviewUnit(refId); } } ## Instruction: Add filtering for empty review files Resolves issue #4 ## Code After: package ca.earthgrazer.codereviewer.service; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import ca.earthgrazer.codereviewer.model.ReviewFile; import ca.earthgrazer.codereviewer.repository.ReviewRepository; @Service public class ReviewManagementServiceImpl implements ReviewManagementService { @Autowired private ReviewRepository reviewRepo; Map<String, List<ReviewFile>> reviewMap = new HashMap<>(); @Override public String createReviewUnit(List<ReviewFile> fileList) { // filter out empty files List<ReviewFile> filteredList = fileList.stream() .filter(f -> !f.fileName.isEmpty() || !f.fileContent.isEmpty() || !f.fileDiff.isEmpty() || !f.fileComment.isEmpty()) .collect(Collectors.toList()); return reviewRepo.createReviewUnit(filteredList); } @Override public List<ReviewFile> getReviewUnit(String refId) { return reviewRepo.getReviewUnit(refId); } }
c833f55999f6fd9029626d1b794c86b2b5b11256
post_office/test_settings.py
post_office/test_settings.py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', }, } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', }, 'post_office': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'post_office', ) SECRET_KEY = 'a' ROOT_URLCONF = 'post_office.test_urls' DEFAULT_FROM_EMAIL = 'webmaster@example.com'
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', }, } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', }, 'post_office': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'post_office', ) SECRET_KEY = 'a' ROOT_URLCONF = 'post_office.test_urls' DEFAULT_FROM_EMAIL = 'webmaster@example.com' TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner'
Use "DjangoTestSuiteRunner" to in Django 1.6.
Use "DjangoTestSuiteRunner" to in Django 1.6.
Python
mit
CasherWest/django-post_office,carrerasrodrigo/django-post_office,fapelhanz/django-post_office,RafRaf/django-post_office,ui/django-post_office,jrief/django-post_office,yprez/django-post_office,JostCrow/django-post_office,ui/django-post_office,LeGast00n/django-post_office,CasherWest/django-post_office,ekohl/django-post_office
python
## Code Before: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', }, } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', }, 'post_office': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'post_office', ) SECRET_KEY = 'a' ROOT_URLCONF = 'post_office.test_urls' DEFAULT_FROM_EMAIL = 'webmaster@example.com' ## Instruction: Use "DjangoTestSuiteRunner" to in Django 1.6. ## Code After: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', }, } CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', }, 'post_office': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 36000, 'KEY_PREFIX': 'post-office', } } INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'post_office', ) SECRET_KEY = 'a' ROOT_URLCONF = 'post_office.test_urls' DEFAULT_FROM_EMAIL = 'webmaster@example.com' TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner'
cb1bd722d61fd289eca8e5d5a9bedbdc422f6349
.github/workflows/ci-workflow.yml
.github/workflows/ci-workflow.yml
name: "CI Tests" on: push: branches: - master pull_request: branches: - master jobs: test: runs-on: ubuntu-latest name: "[${{matrix.otp}}/${{matrix.elixir}}] CI Tests on Credo [OTP/Elixir]" strategy: matrix: otp: [20.3, 21.3, 22.2, 23] elixir: [1.7.4, 1.8.2, 1.9.4, 1.10.4] exclude: - otp: 23 elixir: 1.7.4 - otp: 23 elixir: 1.8.2 - otp: 23 elixir: 1.9.4 - otp: 20.3 elixir: 1.10.4 - otp: 23 elixir: 1.11.0 steps: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - uses: actions/setup-elixir@v1.3 with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - run: mix deps.get - run: mix deps.compile - run: mix compile --warnings-as-errors - run: mix test - run: ./test/smoke_test.sh
name: "CI Tests" on: push: branches: - master pull_request: branches: - master jobs: test: runs-on: ubuntu-latest name: "[${{matrix.otp}}/${{matrix.elixir}}] CI Tests on Credo [OTP/Elixir]" strategy: matrix: otp: [20.3, 21.3, 22.2, 23] elixir: [1.7.4, 1.8.2, 1.9.4, 1.10.4, 1.11.0] exclude: - otp: 23 elixir: 1.7.4 - otp: 23 elixir: 1.8.2 - otp: 23 elixir: 1.9.4 - otp: 20.3 elixir: 1.10.4 - otp: 20.3 elixir: 1.11.0 steps: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - uses: actions/setup-elixir@v1.3 with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - run: mix deps.get - run: mix deps.compile - run: mix compile --warnings-as-errors - run: mix test - run: ./test/smoke_test.sh
Update workflow for Elixir 1.11
Update workflow for Elixir 1.11
YAML
mit
rrrene/credo,rrrene/credo
yaml
## Code Before: name: "CI Tests" on: push: branches: - master pull_request: branches: - master jobs: test: runs-on: ubuntu-latest name: "[${{matrix.otp}}/${{matrix.elixir}}] CI Tests on Credo [OTP/Elixir]" strategy: matrix: otp: [20.3, 21.3, 22.2, 23] elixir: [1.7.4, 1.8.2, 1.9.4, 1.10.4] exclude: - otp: 23 elixir: 1.7.4 - otp: 23 elixir: 1.8.2 - otp: 23 elixir: 1.9.4 - otp: 20.3 elixir: 1.10.4 - otp: 23 elixir: 1.11.0 steps: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - uses: actions/setup-elixir@v1.3 with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - run: mix deps.get - run: mix deps.compile - run: mix compile --warnings-as-errors - run: mix test - run: ./test/smoke_test.sh ## Instruction: Update workflow for Elixir 1.11 ## Code After: name: "CI Tests" on: push: branches: - master pull_request: branches: - master jobs: test: runs-on: ubuntu-latest name: "[${{matrix.otp}}/${{matrix.elixir}}] CI Tests on Credo [OTP/Elixir]" strategy: matrix: otp: [20.3, 21.3, 22.2, 23] elixir: [1.7.4, 1.8.2, 1.9.4, 1.10.4, 1.11.0] exclude: - otp: 23 elixir: 1.7.4 - otp: 23 elixir: 1.8.2 - otp: 23 elixir: 1.9.4 - otp: 20.3 elixir: 1.10.4 - otp: 20.3 elixir: 1.11.0 steps: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 - uses: actions/setup-elixir@v1.3 with: otp-version: ${{matrix.otp}} elixir-version: ${{matrix.elixir}} - run: mix deps.get - run: mix deps.compile - run: mix compile --warnings-as-errors - run: mix test - run: ./test/smoke_test.sh
c8973f091676d30a38f9c82fb85a6b96d296e885
application/Crawler/Flickr/Flickr.php
application/Crawler/Flickr/Flickr.php
<?php namespace Crawler\Flickr; use Crawler\Crawler; use Console\Console; use Console\Progressbar; class Flickr extends Crawler { public function getOriginalImageUrls($images) { $original_images = []; Console::info("Getting original image urls for " . count($images) . " flickr links..."); $progress = new Progressbar(); $counter = 0; foreach ($images as $url) { $percent = (++$counter / count($images)) * 100; $original_images[] = $this->getOriginalImageUrl($url); $progress->setProgress($percent); } return array_unique($original_images); } public function getOriginalImageUrl($url) { $url = $this->getSizesUrl($url); $contents = $this->fetchUrl($url); $url = $this->findOriginalImage($contents); if ($url === false) { Console::warning('No flickr image found on url ' . $url); } return $url; } private function getSizesUrl($url) { return trim($url, '/') . '/sizes/o'; } private function findOriginalImage($content) { preg_match('#<img src="(http://[^\.]*.staticflickr.[^"]*)">#', $content, $matches); if (!isset($matches[1])) { return false; } return $matches[1]; } }
<?php namespace Crawler\Flickr; use Crawler\Crawler; use Console\Console; use Console\Progressbar; class Flickr extends Crawler { public function getOriginalImageUrls($images) { $original_images = []; Console::info("Getting original image urls for " . count($images) . " flickr links..."); $progress = new Progressbar(count($images)); foreach ($images as $url) { $original_url = $this->getOriginalImageUrl($url); if ($original_url) { $original_images[] = $original_url; } $progress->increase(); } return array_unique($original_images); } public function getOriginalImageUrl($url) { $url = $this->getSizesUrl($url); $contents = $this->fetchUrl($url, false, true); $original_url = $this->findOriginalImage($contents); if ($original_url === false) { Console::notice('No flickr image found for ' . $url); } return $original_url; } private function getSizesUrl($url) { return trim($url, '/') . '/sizes/o'; } private function findOriginalImage($content) { preg_match('#<img src="(http://[^\.]*.staticflickr.[^"]*)">#', $content, $matches); if (!isset($matches[1])) { return false; } return $matches[1]; } }
Use new progressba interface, fixed console error, changed severity to notice, fixed error which caused empty urls to get fetched
Use new progressba interface, fixed console error, changed severity to notice, fixed error which caused empty urls to get fetched
PHP
mit
queicherius/stockphoto-crawler
php
## Code Before: <?php namespace Crawler\Flickr; use Crawler\Crawler; use Console\Console; use Console\Progressbar; class Flickr extends Crawler { public function getOriginalImageUrls($images) { $original_images = []; Console::info("Getting original image urls for " . count($images) . " flickr links..."); $progress = new Progressbar(); $counter = 0; foreach ($images as $url) { $percent = (++$counter / count($images)) * 100; $original_images[] = $this->getOriginalImageUrl($url); $progress->setProgress($percent); } return array_unique($original_images); } public function getOriginalImageUrl($url) { $url = $this->getSizesUrl($url); $contents = $this->fetchUrl($url); $url = $this->findOriginalImage($contents); if ($url === false) { Console::warning('No flickr image found on url ' . $url); } return $url; } private function getSizesUrl($url) { return trim($url, '/') . '/sizes/o'; } private function findOriginalImage($content) { preg_match('#<img src="(http://[^\.]*.staticflickr.[^"]*)">#', $content, $matches); if (!isset($matches[1])) { return false; } return $matches[1]; } } ## Instruction: Use new progressba interface, fixed console error, changed severity to notice, fixed error which caused empty urls to get fetched ## Code After: <?php namespace Crawler\Flickr; use Crawler\Crawler; use Console\Console; use Console\Progressbar; class Flickr extends Crawler { public function getOriginalImageUrls($images) { $original_images = []; Console::info("Getting original image urls for " . count($images) . " flickr links..."); $progress = new Progressbar(count($images)); foreach ($images as $url) { $original_url = $this->getOriginalImageUrl($url); if ($original_url) { $original_images[] = $original_url; } $progress->increase(); } return array_unique($original_images); } public function getOriginalImageUrl($url) { $url = $this->getSizesUrl($url); $contents = $this->fetchUrl($url, false, true); $original_url = $this->findOriginalImage($contents); if ($original_url === false) { Console::notice('No flickr image found for ' . $url); } return $original_url; } private function getSizesUrl($url) { return trim($url, '/') . '/sizes/o'; } private function findOriginalImage($content) { preg_match('#<img src="(http://[^\.]*.staticflickr.[^"]*)">#', $content, $matches); if (!isset($matches[1])) { return false; } return $matches[1]; } }
73f60945bca9a6990f6e6b2d5c4e974def0dc5f2
resources/vagrant/windows/README.md
resources/vagrant/windows/README.md
``` bash cd /path/to/uuid/resources/vagrant/windows vagrant up vagrant ssh ``` Once inside the VM: ``` bash cd uuid composer install composer run-script --timeout=0 test ```
``` bash cd /path/to/uuid/resources/vagrant/windows vagrant up vagrant ssh ``` Once inside the VM: ``` bash refreshenv cd uuid composer install composer run-script --timeout=0 test ```
Add `refreshenv` command to Windows instructions
Add `refreshenv` command to Windows instructions [ci skip]
Markdown
mit
michabbb-backup/uuid,michabbb-backup/uuid,ramsey/uuid
markdown
## Code Before: ``` bash cd /path/to/uuid/resources/vagrant/windows vagrant up vagrant ssh ``` Once inside the VM: ``` bash cd uuid composer install composer run-script --timeout=0 test ``` ## Instruction: Add `refreshenv` command to Windows instructions [ci skip] ## Code After: ``` bash cd /path/to/uuid/resources/vagrant/windows vagrant up vagrant ssh ``` Once inside the VM: ``` bash refreshenv cd uuid composer install composer run-script --timeout=0 test ```
26b07bafec285d68529f209bf37a6caffa71d356
.travis.yml
.travis.yml
language: clojure notifications: irc: "jcsi.ms#qualityclj"
language: clojure notifications: irc: channels: - "jcsi.ms#qualityclj" use_notice: true
Use a notice instead of join/message.
Use a notice instead of join/message.
YAML
epl-1.0
quality-clojure/qualityclj
yaml
## Code Before: language: clojure notifications: irc: "jcsi.ms#qualityclj" ## Instruction: Use a notice instead of join/message. ## Code After: language: clojure notifications: irc: channels: - "jcsi.ms#qualityclj" use_notice: true
5363f3ee15f567729dfdf47e9616778c6a720fa6
spec/factories/nufs_accounts.rb
spec/factories/nufs_accounts.rb
overridable_factory :nufs_account do sequence(:account_number) do |n| "9#{'%02d' % n}-7777777" # fund3-dept7 end sequence(:description, 'aaaaaaaa') { |n| "nufs account #{n}" } expires_at { Time.zone.now + 1.month } created_by 0 trait :with_order do transient do product nil owner { FactoryGirl.create(:user) } end account_users_attributes { [FactoryGirl.attributes_for(:account_user, user: owner)] } after(:create) do |account, evaluator| order = FactoryGirl.create( :order, user: evaluator.owner, created_by: evaluator.owner.id, facility: evaluator.product.facility, ) FactoryGirl.create( :order_detail, product: evaluator.product, order: order, account: account, ) end end end FactoryGirl.define do factory :setup_account, :class => NufsAccount, :parent => :nufs_account do transient do owner { FactoryGirl.create(:user) } end account_users_attributes { account_users_attributes_hash(:user => owner) } after(:build) do |model| define_open_account '42345', model.account_number end end end
overridable_factory :nufs_account do sequence(:account_number) do |n| "9#{'%02d' % n}-7777777" # fund3-dept7 end sequence(:description, 'aaaaaaaa') { |n| "nufs account #{n}" } expires_at { Time.zone.now + 1.month } created_by 0 end FactoryGirl.modify do factory :nufs_account do trait :with_order do transient do product nil owner { FactoryGirl.create(:user) } end account_users_attributes { [FactoryGirl.attributes_for(:account_user, user: owner)] } after(:create) do |account, evaluator| order = FactoryGirl.create( :order, user: evaluator.owner, created_by: evaluator.owner.id, facility: evaluator.product.facility, ) FactoryGirl.create( :order_detail, product: evaluator.product, order: order, account: account, ) end end end end FactoryGirl.define do factory :setup_account, :class => NufsAccount, :parent => :nufs_account do transient do owner { FactoryGirl.create(:user) } end account_users_attributes { account_users_attributes_hash(:user => owner) } after(:build) do |model| define_open_account '42345', model.account_number end end end
Fix "missing trait :with_order" in NU
Fix "missing trait :with_order" in NU NU overrides the `nufs_account` factory, and it doesn’t actually override the individual attributes and traits it actually replaces it.
Ruby
mit
tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open
ruby
## Code Before: overridable_factory :nufs_account do sequence(:account_number) do |n| "9#{'%02d' % n}-7777777" # fund3-dept7 end sequence(:description, 'aaaaaaaa') { |n| "nufs account #{n}" } expires_at { Time.zone.now + 1.month } created_by 0 trait :with_order do transient do product nil owner { FactoryGirl.create(:user) } end account_users_attributes { [FactoryGirl.attributes_for(:account_user, user: owner)] } after(:create) do |account, evaluator| order = FactoryGirl.create( :order, user: evaluator.owner, created_by: evaluator.owner.id, facility: evaluator.product.facility, ) FactoryGirl.create( :order_detail, product: evaluator.product, order: order, account: account, ) end end end FactoryGirl.define do factory :setup_account, :class => NufsAccount, :parent => :nufs_account do transient do owner { FactoryGirl.create(:user) } end account_users_attributes { account_users_attributes_hash(:user => owner) } after(:build) do |model| define_open_account '42345', model.account_number end end end ## Instruction: Fix "missing trait :with_order" in NU NU overrides the `nufs_account` factory, and it doesn’t actually override the individual attributes and traits it actually replaces it. ## Code After: overridable_factory :nufs_account do sequence(:account_number) do |n| "9#{'%02d' % n}-7777777" # fund3-dept7 end sequence(:description, 'aaaaaaaa') { |n| "nufs account #{n}" } expires_at { Time.zone.now + 1.month } created_by 0 end FactoryGirl.modify do factory :nufs_account do trait :with_order do transient do product nil owner { FactoryGirl.create(:user) } end account_users_attributes { [FactoryGirl.attributes_for(:account_user, user: owner)] } after(:create) do |account, evaluator| order = FactoryGirl.create( :order, user: evaluator.owner, created_by: evaluator.owner.id, facility: evaluator.product.facility, ) FactoryGirl.create( :order_detail, product: evaluator.product, order: order, account: account, ) end end end end FactoryGirl.define do factory :setup_account, :class => NufsAccount, :parent => :nufs_account do transient do owner { FactoryGirl.create(:user) } end account_users_attributes { account_users_attributes_hash(:user => owner) } after(:build) do |model| define_open_account '42345', model.account_number end end end
0194eb1e95c56faccc03f4864d7add7146c1745a
README.md
README.md
[![Build Status](https://travis-ci.org/st3v/waitfor.svg?branch=master)](https://travis-ci.org/st3v/waitfor) # waitfor
[![Build Status](https://travis-ci.org/st3v/waitfor.svg?branch=master)](https://travis-ci.org/st3v/waitfor) [![Coverage Status](https://coveralls.io/repos/st3v/waitfor/badge.svg?branch=master&service=github)](https://coveralls.io/github/st3v/waitfor?branch=master) # waitfor
Add coverall badge to readme
Add coverall badge to readme
Markdown
apache-2.0
st3v/waitfor
markdown
## Code Before: [![Build Status](https://travis-ci.org/st3v/waitfor.svg?branch=master)](https://travis-ci.org/st3v/waitfor) # waitfor ## Instruction: Add coverall badge to readme ## Code After: [![Build Status](https://travis-ci.org/st3v/waitfor.svg?branch=master)](https://travis-ci.org/st3v/waitfor) [![Coverage Status](https://coveralls.io/repos/st3v/waitfor/badge.svg?branch=master&service=github)](https://coveralls.io/github/st3v/waitfor?branch=master) # waitfor
573ad1d871ee1e0ac40ea1ce5a9028a89a8f91b8
metadata/com.katiearose.sobriety.yml
metadata/com.katiearose.sobriety.yml
Categories: - Sports & Health - Time License: GPL-3.0-only AuthorName: Katherine Rose AuthorEmail: katiearose@protonmail.com SourceCode: https://github.com/KiARC/Sobriety IssueTracker: https://github.com/KiARC/Sobriety/issues Changelog: https://github.com/KiARC/Sobriety/releases AutoName: Sobriety RepoType: git Repo: https://github.com/KiARC/Sobriety.git Builds: - versionName: v5.1.4 versionCode: 10 commit: v5.1.4 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v5.1.4 CurrentVersionCode: 10
Categories: - Sports & Health - Time License: GPL-3.0-only AuthorName: Katherine Rose AuthorEmail: katiearose@protonmail.com SourceCode: https://github.com/KiARC/Sobriety IssueTracker: https://github.com/KiARC/Sobriety/issues Changelog: https://github.com/KiARC/Sobriety/releases AutoName: Sobriety RepoType: git Repo: https://github.com/KiARC/Sobriety.git Builds: - versionName: v5.1.4 versionCode: 10 commit: v5.1.4 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle - versionName: v5.2.1 versionCode: 12 commit: e3db4c21af1c60cf29b82288cdcbcd1274103487 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v5.2.1 CurrentVersionCode: 12
Update Sobriety to v5.2.1 (12)
Update Sobriety to v5.2.1 (12)
YAML
agpl-3.0
f-droid/fdroiddata,f-droid/fdroiddata
yaml
## Code Before: Categories: - Sports & Health - Time License: GPL-3.0-only AuthorName: Katherine Rose AuthorEmail: katiearose@protonmail.com SourceCode: https://github.com/KiARC/Sobriety IssueTracker: https://github.com/KiARC/Sobriety/issues Changelog: https://github.com/KiARC/Sobriety/releases AutoName: Sobriety RepoType: git Repo: https://github.com/KiARC/Sobriety.git Builds: - versionName: v5.1.4 versionCode: 10 commit: v5.1.4 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v5.1.4 CurrentVersionCode: 10 ## Instruction: Update Sobriety to v5.2.1 (12) ## Code After: Categories: - Sports & Health - Time License: GPL-3.0-only AuthorName: Katherine Rose AuthorEmail: katiearose@protonmail.com SourceCode: https://github.com/KiARC/Sobriety IssueTracker: https://github.com/KiARC/Sobriety/issues Changelog: https://github.com/KiARC/Sobriety/releases AutoName: Sobriety RepoType: git Repo: https://github.com/KiARC/Sobriety.git Builds: - versionName: v5.1.4 versionCode: 10 commit: v5.1.4 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle - versionName: v5.2.1 versionCode: 12 commit: e3db4c21af1c60cf29b82288cdcbcd1274103487 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes prebuild: sed -i -e 's/VERSION_17/VERSION_11/g' build.gradle AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: v5.2.1 CurrentVersionCode: 12
d97a9fd92ae2f787fd79788fff71aa584b019222
SurgSim/Input/CMakeLists.txt
SurgSim/Input/CMakeLists.txt
include_directories( ${EIGEN3_INCLUDE_DIR} ) set(SURGSIM_INPUT_SOURCES CommonDevice.cpp InputManager.cpp InputComponent.cpp OutputComponent.cpp ) set(SURGSIM_INPUT_HEADERS CommonDevice.h DeviceInterface.h InputComponent.h InputConsumerInterface.h InputManager.h OutputComponent.h OutputProducerInterface.h ) add_library(SurgSimInput ${SURGSIM_INPUT_SOURCES} ${SURGSIM_INPUT_HEADERS}) if(SURGSIM_TESTS_BUILD) add_subdirectory(UnitTests) endif()
include_directories( ${EIGEN3_INCLUDE_DIR} ) set(SURGSIM_INPUT_SOURCES CommonDevice.cpp InputComponent.cpp InputManager.cpp OutputComponent.cpp ) set(SURGSIM_INPUT_HEADERS CommonDevice.h DeviceInterface.h InputComponent.h InputConsumerInterface.h InputManager.h OutputComponent.h OutputProducerInterface.h ) add_library(SurgSimInput ${SURGSIM_INPUT_SOURCES} ${SURGSIM_INPUT_HEADERS}) if(SURGSIM_TESTS_BUILD) add_subdirectory(UnitTests) endif()
Correct ordering in make file
Correct ordering in make file
Text
apache-2.0
simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim
text
## Code Before: include_directories( ${EIGEN3_INCLUDE_DIR} ) set(SURGSIM_INPUT_SOURCES CommonDevice.cpp InputManager.cpp InputComponent.cpp OutputComponent.cpp ) set(SURGSIM_INPUT_HEADERS CommonDevice.h DeviceInterface.h InputComponent.h InputConsumerInterface.h InputManager.h OutputComponent.h OutputProducerInterface.h ) add_library(SurgSimInput ${SURGSIM_INPUT_SOURCES} ${SURGSIM_INPUT_HEADERS}) if(SURGSIM_TESTS_BUILD) add_subdirectory(UnitTests) endif() ## Instruction: Correct ordering in make file ## Code After: include_directories( ${EIGEN3_INCLUDE_DIR} ) set(SURGSIM_INPUT_SOURCES CommonDevice.cpp InputComponent.cpp InputManager.cpp OutputComponent.cpp ) set(SURGSIM_INPUT_HEADERS CommonDevice.h DeviceInterface.h InputComponent.h InputConsumerInterface.h InputManager.h OutputComponent.h OutputProducerInterface.h ) add_library(SurgSimInput ${SURGSIM_INPUT_SOURCES} ${SURGSIM_INPUT_HEADERS}) if(SURGSIM_TESTS_BUILD) add_subdirectory(UnitTests) endif()
be438aeaf94f85d26802fba01205b895fa8f9ac3
public/stylesheets/sessions/new.css
public/stylesheets/sessions/new.css
a { color: #ccc; text-decoration: none; } body, td { color: #ddd; font-family: Helvetica, Arial, sans-serif; } body { background: #1d1d1d; margin: 0; padding: 0; } form { margin: 0; } table { border-collapse: collapse; height: 100%; } td { padding: 0 30px; } #left_col { background-color: #000; background-image: url(../../images/home_background.png); border-right: 1px solid #303030; } #left_col img { display: block; }
a { color: #ccc; text-decoration: none; } body, td { color: #ddd; font-family: Helvetica, Arial, sans-serif; } body { background: #1d1d1d; margin: 0; padding: 0; } form { margin: 0; } table { border-collapse: collapse; height: 100%; } td { padding: 0 30px; } #left_col { background-color: #000; border-right: 1px solid #303030; } #left_col img { display: block; }
Remove reference to missing background
Remove reference to missing background Change-Id: Id7472ad7255d40195002ddaeacf61d2f59d1f476 Reviewed-on: https://gerrit.causes.com/5122 Reviewed-by: Adam Derewecki <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@causes.com> Tested-by: Adam Derewecki <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@causes.com>
CSS
mit
causes/mockr,causes/mockr,causes/mockr
css
## Code Before: a { color: #ccc; text-decoration: none; } body, td { color: #ddd; font-family: Helvetica, Arial, sans-serif; } body { background: #1d1d1d; margin: 0; padding: 0; } form { margin: 0; } table { border-collapse: collapse; height: 100%; } td { padding: 0 30px; } #left_col { background-color: #000; background-image: url(../../images/home_background.png); border-right: 1px solid #303030; } #left_col img { display: block; } ## Instruction: Remove reference to missing background Change-Id: Id7472ad7255d40195002ddaeacf61d2f59d1f476 Reviewed-on: https://gerrit.causes.com/5122 Reviewed-by: Adam Derewecki <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@causes.com> Tested-by: Adam Derewecki <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@causes.com> ## Code After: a { color: #ccc; text-decoration: none; } body, td { color: #ddd; font-family: Helvetica, Arial, sans-serif; } body { background: #1d1d1d; margin: 0; padding: 0; } form { margin: 0; } table { border-collapse: collapse; height: 100%; } td { padding: 0 30px; } #left_col { background-color: #000; border-right: 1px solid #303030; } #left_col img { display: block; }
6de4b0b9ae9bac3f1463e831e0e09435df5a8ca9
vim/vundle.vim
vim/vundle.vim
" vundle.vim " ---------- " Config file for Vundle bundles. This file also sources all " Vundle-installed plugins. So this file should be sourced " in the vimrc before attempting to use any of those plugins. " note: comments after Bundle commands are not allowed. filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " Start bundle list ----------------------------- " let Vundle manage Vundle (required) Bundle 'gmarik/vundle' " My bundles Bundle 'altercation/vim-colors-solarized' Bundle 'jelera/vim-javascript-syntax' Bundle 'digitaltoad/vim-jade' Bundle 'wavded/vim-stylus' " End bundle list ------------------------------- filetype plugin indent on " required! " Brief help " :BundleList - list configured bundles " :BundleInstall(!) - install (update) bundles " :BundleSearch(!) foo - search (or refresh cache first) for foo " :BundleClean(!) - confirm (or auto-approve) removal of unused bundles " " see :h vundle for more details or the Vundle wiki for FAQ
" vundle.vim " ---------- " Config file for Vundle bundles. This file also sources all " Vundle-installed plugins. So this file should be sourced " in the vimrc before attempting to use any of those plugins. " note: comments after Bundle commands are not allowed. filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " Start bundle list ----------------------------- " let Vundle manage Vundle (required) Bundle 'gmarik/vundle' " My bundles Bundle 'altercation/vim-colors-solarized' Bundle 'jelera/vim-javascript-syntax' Bundle 'digitaltoad/vim-jade' Bundle 'wavded/vim-stylus' Bundle 'walm/jshint.vim' Bundle 'eyuelt/vim-whitespace' " End bundle list ------------------------------- filetype plugin indent on " required! " Brief help " :BundleList - list configured bundles " :BundleInstall(!) - install (update) bundles " :BundleSearch(!) foo - search (or refresh cache first) for foo " :BundleClean(!) - confirm (or auto-approve) removal of unused bundles " " see :h vundle for more details or the Vundle wiki for FAQ
Add vim plugins for JSHint and for fixing whitespace in vim
Add vim plugins for JSHint and for fixing whitespace in vim
VimL
mit
eyuelt/dotfiles,eyuelt/dotfiles
viml
## Code Before: " vundle.vim " ---------- " Config file for Vundle bundles. This file also sources all " Vundle-installed plugins. So this file should be sourced " in the vimrc before attempting to use any of those plugins. " note: comments after Bundle commands are not allowed. filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " Start bundle list ----------------------------- " let Vundle manage Vundle (required) Bundle 'gmarik/vundle' " My bundles Bundle 'altercation/vim-colors-solarized' Bundle 'jelera/vim-javascript-syntax' Bundle 'digitaltoad/vim-jade' Bundle 'wavded/vim-stylus' " End bundle list ------------------------------- filetype plugin indent on " required! " Brief help " :BundleList - list configured bundles " :BundleInstall(!) - install (update) bundles " :BundleSearch(!) foo - search (or refresh cache first) for foo " :BundleClean(!) - confirm (or auto-approve) removal of unused bundles " " see :h vundle for more details or the Vundle wiki for FAQ ## Instruction: Add vim plugins for JSHint and for fixing whitespace in vim ## Code After: " vundle.vim " ---------- " Config file for Vundle bundles. This file also sources all " Vundle-installed plugins. So this file should be sourced " in the vimrc before attempting to use any of those plugins. " note: comments after Bundle commands are not allowed. filetype off " required! set rtp+=~/.vim/bundle/vundle/ call vundle#rc() " Start bundle list ----------------------------- " let Vundle manage Vundle (required) Bundle 'gmarik/vundle' " My bundles Bundle 'altercation/vim-colors-solarized' Bundle 'jelera/vim-javascript-syntax' Bundle 'digitaltoad/vim-jade' Bundle 'wavded/vim-stylus' Bundle 'walm/jshint.vim' Bundle 'eyuelt/vim-whitespace' " End bundle list ------------------------------- filetype plugin indent on " required! " Brief help " :BundleList - list configured bundles " :BundleInstall(!) - install (update) bundles " :BundleSearch(!) foo - search (or refresh cache first) for foo " :BundleClean(!) - confirm (or auto-approve) removal of unused bundles " " see :h vundle for more details or the Vundle wiki for FAQ
ce32738221dcdd7f1a23d30bcfc21f6ceda9c82e
.travis.yml
.travis.yml
sudo: required dist: trusty language: python python: - "2.7" services: - docker # command to install dependencies install: - "pip install tox-travis" - pip install codecov #run tests script: - docker version - docker info - tox after_success: - codecov
sudo: required dist: trusty language: python python: - "2.7" services: - docker env: global: - DOCKER_VERSION=1.10.1-0~trusty before_install: # list docker-engine versions - apt-cache madison docker-engine # upgrade docker-engine to specific version - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} # command to install dependencies install: - pip install tox-travis - pip install codecov #run tests script: - docker version - docker info - tox after_success: - codecov
Update docker-engine to ersion 1.10.1 to fix issue with ARG in test Dockerfile
Update docker-engine to ersion 1.10.1 to fix issue with ARG in test Dockerfile
YAML
apache-2.0
charlesvardeman/smartcontainers,crcresearch/smartcontainers,Omegaice/smartcontainers,Omegaice/smartcontainers,crcresearch/smartcontainers,Omegaice/smartcontainers,crcresearch/smartcontainers
yaml
## Code Before: sudo: required dist: trusty language: python python: - "2.7" services: - docker # command to install dependencies install: - "pip install tox-travis" - pip install codecov #run tests script: - docker version - docker info - tox after_success: - codecov ## Instruction: Update docker-engine to ersion 1.10.1 to fix issue with ARG in test Dockerfile ## Code After: sudo: required dist: trusty language: python python: - "2.7" services: - docker env: global: - DOCKER_VERSION=1.10.1-0~trusty before_install: # list docker-engine versions - apt-cache madison docker-engine # upgrade docker-engine to specific version - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} # command to install dependencies install: - pip install tox-travis - pip install codecov #run tests script: - docker version - docker info - tox after_success: - codecov
7f7e5eb39d2863da3908d9b0a92ae8e819b35335
app/controllers/api/users_controller.rb
app/controllers/api/users_controller.rb
class Api::UsersController < Api::BaseController load_permissions_and_authorize_resource def update @user = current_user if @user.update(user_params) render json: {}, status: :ok else render json: { errors: @user.errors.full_messages }, status: 422 end end def accept_terms current_user.update!(terms_version: Versions.get(:terms)) end private def user_params params.require(:user).permit(:firstname, :lastname, :program, :start_year, :avatar, :student_id, :phone, :display_phone, :remove_avatar, :food_custom, :notify_messages, :notify_event_users, :notify_event_closing, food_preferences: []) end end
class Api::UsersController < Api::BaseController load_permissions_and_authorize_resource def update @user = current_user if @user.update(user_params) render json: {}, status: :ok else render json: { errors: @user.errors.full_messages }, status: 422 end end def accept_terms current_user.update!(terms_version: Versions.get(:terms)) end private def user_params params.require(:user).permit(:firstname, :lastname, :program, :start_year, :avatar, :student_id, :phone, :display_phone, :remove_avatar, :food_custom, :notify_messages, :notify_event_users, :notify_event_closing, :notify_event_open, food_preferences: []) end end
Fix bug where notification setting could not be updated via the API
Fix bug where notification setting could not be updated via the API
Ruby
mit
fsek/web,fsek/web,fsek/web
ruby
## Code Before: class Api::UsersController < Api::BaseController load_permissions_and_authorize_resource def update @user = current_user if @user.update(user_params) render json: {}, status: :ok else render json: { errors: @user.errors.full_messages }, status: 422 end end def accept_terms current_user.update!(terms_version: Versions.get(:terms)) end private def user_params params.require(:user).permit(:firstname, :lastname, :program, :start_year, :avatar, :student_id, :phone, :display_phone, :remove_avatar, :food_custom, :notify_messages, :notify_event_users, :notify_event_closing, food_preferences: []) end end ## Instruction: Fix bug where notification setting could not be updated via the API ## Code After: class Api::UsersController < Api::BaseController load_permissions_and_authorize_resource def update @user = current_user if @user.update(user_params) render json: {}, status: :ok else render json: { errors: @user.errors.full_messages }, status: 422 end end def accept_terms current_user.update!(terms_version: Versions.get(:terms)) end private def user_params params.require(:user).permit(:firstname, :lastname, :program, :start_year, :avatar, :student_id, :phone, :display_phone, :remove_avatar, :food_custom, :notify_messages, :notify_event_users, :notify_event_closing, :notify_event_open, food_preferences: []) end end
73628ef6acb75c8df19a3e42fd56decaa2b06570
.teamcity/src/main/kotlin/util/WarmupEc2Agent.kt
.teamcity/src/main/kotlin/util/WarmupEc2Agent.kt
package util import common.Os import common.buildToolGradleParameters import common.gradleWrapper import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.Requirement import jetbrains.buildServer.configs.kotlin.v2019_2.RequirementType import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.freeDiskSpace import vcsroots.gradleMasterVersionedSettings import vcsroots.useAbsoluteVcs object WarmupEc2Agent : BuildType({ name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(gradleMasterVersionedSettings) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" } } params { param("defaultBranchName", "master") param("env.JAVA_HOME", Os.LINUX.javaHomeForGradle()) } steps { gradleWrapper { name = "Resolve all dependencies" tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) ).joinToString(separator = " ") } } requirements { requirement(Requirement(RequirementType.EQUALS, "teamcity.agent.name", "ec2-agent1")) } })
package util import common.Os import common.buildToolGradleParameters import common.gradleWrapper import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.Requirement import jetbrains.buildServer.configs.kotlin.v2019_2.RequirementType import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.freeDiskSpace import vcsroots.gradleMasterVersionedSettings import vcsroots.useAbsoluteVcs object WarmupEc2Agent : BuildType({ name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(gradleMasterVersionedSettings) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" } } params { param("defaultBranchName", "master") param("env.JAVA_HOME", Os.LINUX.javaHomeForGradle()) } steps { gradleWrapper { name = "Resolve all dependencies" tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) + listOf("--dependency-verification", "lenient") ).joinToString(separator = " ") } } requirements { requirement(Requirement(RequirementType.EQUALS, "teamcity.agent.name", "ec2-agent1")) } })
Use lenient dependency verification for EC2 warmup builds
Use lenient dependency verification for EC2 warmup builds We run a `resolveAllDependencies` build to warm up the EC2 agent image. However, sometimes the build fails with dependency verification failures, which is not required because we just want to download all artifacts.
Kotlin
apache-2.0
blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle
kotlin
## Code Before: package util import common.Os import common.buildToolGradleParameters import common.gradleWrapper import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.Requirement import jetbrains.buildServer.configs.kotlin.v2019_2.RequirementType import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.freeDiskSpace import vcsroots.gradleMasterVersionedSettings import vcsroots.useAbsoluteVcs object WarmupEc2Agent : BuildType({ name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(gradleMasterVersionedSettings) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" } } params { param("defaultBranchName", "master") param("env.JAVA_HOME", Os.LINUX.javaHomeForGradle()) } steps { gradleWrapper { name = "Resolve all dependencies" tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) ).joinToString(separator = " ") } } requirements { requirement(Requirement(RequirementType.EQUALS, "teamcity.agent.name", "ec2-agent1")) } }) ## Instruction: Use lenient dependency verification for EC2 warmup builds We run a `resolveAllDependencies` build to warm up the EC2 agent image. However, sometimes the build fails with dependency verification failures, which is not required because we just want to download all artifacts. ## Code After: package util import common.Os import common.buildToolGradleParameters import common.gradleWrapper import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.Requirement import jetbrains.buildServer.configs.kotlin.v2019_2.RequirementType import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.freeDiskSpace import vcsroots.gradleMasterVersionedSettings import vcsroots.useAbsoluteVcs object WarmupEc2Agent : BuildType({ name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(gradleMasterVersionedSettings) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" } } params { param("defaultBranchName", "master") param("env.JAVA_HOME", Os.LINUX.javaHomeForGradle()) } steps { gradleWrapper { name = "Resolve all dependencies" tasks = "resolveAllDependencies" gradleParams = ( buildToolGradleParameters(isContinue = false) + listOf("--dependency-verification", "lenient") ).joinToString(separator = " ") } } requirements { requirement(Requirement(RequirementType.EQUALS, "teamcity.agent.name", "ec2-agent1")) } })
cb192f3b98bcfc5d8363924c5be1f2be37a2dbb5
admin/scripts/default.js
admin/scripts/default.js
$(document).ready(function () { /*Navigation initialization*/ var navigation = $('#navigation'); var navShown = false; $('#nav-controller').on('click', function () { if (navShown) { navigation.removeClass('show-nav'); navigation.addClass('hide-nav'); navShown = false; } else { navigation.removeClass('hide-nav'); navigation.addClass('show-nav'); navShown = true; } }); /*Bootstrap Popover initialization*/ $(function () { $('[data-toggle="popover"]').popover() }); /*Verical scorlling*/ $(function () { function scrollHorizontally(e) { e = window.event || e; var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); document.getElementById('horizontal-scrolling').scrollLeft -= (delta * 40); // Multiplied by 40 e.preventDefault(); } if (document.getElementById('horizontal-scrolling').addEventListener) { // IE9, Chrome, Safari, Opera document.getElementById('horizontal-scrolling').addEventListener("mousewheel", scrollHorizontally, false); // Firefox document.getElementById('horizontal-scrolling').addEventListener("DOMMouseScroll", scrollHorizontally, false); } else { // IE 6/7/8 document.getElementById('horizontal-scrolling').attachEvent("onmousewheel", scrollHorizontally); } }); /*File uplad button*/ document.getElementById("uploadBtn").onchange = function () { document.getElementById("uploadFile").value = this.value; }; });
$(document).ready(function () { /*Navigation initialization*/ var navigation = $('#navigation'); var navShown = false; var navController = $('#nav-controller'); if (navController) { navController.on('click', function () { if (navShown) { navigation.removeClass('show-nav'); navigation.addClass('hide-nav'); navShown = false; } else { navigation.removeClass('hide-nav'); navigation.addClass('show-nav'); navShown = true; } }); } /*Bootstrap Popover initialization*/ $(function () { $('[data-toggle="popover"]').popover() }); /*Verical scorlling*/ $(function () { function scrollHorizontally(e) { e = window.event || e; var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); document.getElementById('horizontal-scrolling').scrollLeft -= (delta * 40); // Multiplied by 40 e.preventDefault(); } var horizontalScrolling = document.getElementById('horizontal-scrolling'); if (horizontalScrolling) { if (horizontalScrolling.addEventListener) { // IE9, Chrome, Safari, Opera horizontalScrolling.addEventListener("mousewheel", scrollHorizontally, false); // Firefox horizontalScrolling.addEventListener("DOMMouseScroll", scrollHorizontally, false); } else { // IE 6/7/8 horizontalScrolling.attachEvent("onmousewheel", scrollHorizontally); } } }); /*File uplad button*/ document.getElementById("uploadBtn").onchange = function () { document.getElementById("uploadFile").value = this.value; }; });
Resolve all the JS errors
Resolve all the JS errors
JavaScript
mit
UoG-Libraries/Adshow,UoG-Libraries/Adshow,UoG-Libraries/Adshow
javascript
## Code Before: $(document).ready(function () { /*Navigation initialization*/ var navigation = $('#navigation'); var navShown = false; $('#nav-controller').on('click', function () { if (navShown) { navigation.removeClass('show-nav'); navigation.addClass('hide-nav'); navShown = false; } else { navigation.removeClass('hide-nav'); navigation.addClass('show-nav'); navShown = true; } }); /*Bootstrap Popover initialization*/ $(function () { $('[data-toggle="popover"]').popover() }); /*Verical scorlling*/ $(function () { function scrollHorizontally(e) { e = window.event || e; var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); document.getElementById('horizontal-scrolling').scrollLeft -= (delta * 40); // Multiplied by 40 e.preventDefault(); } if (document.getElementById('horizontal-scrolling').addEventListener) { // IE9, Chrome, Safari, Opera document.getElementById('horizontal-scrolling').addEventListener("mousewheel", scrollHorizontally, false); // Firefox document.getElementById('horizontal-scrolling').addEventListener("DOMMouseScroll", scrollHorizontally, false); } else { // IE 6/7/8 document.getElementById('horizontal-scrolling').attachEvent("onmousewheel", scrollHorizontally); } }); /*File uplad button*/ document.getElementById("uploadBtn").onchange = function () { document.getElementById("uploadFile").value = this.value; }; }); ## Instruction: Resolve all the JS errors ## Code After: $(document).ready(function () { /*Navigation initialization*/ var navigation = $('#navigation'); var navShown = false; var navController = $('#nav-controller'); if (navController) { navController.on('click', function () { if (navShown) { navigation.removeClass('show-nav'); navigation.addClass('hide-nav'); navShown = false; } else { navigation.removeClass('hide-nav'); navigation.addClass('show-nav'); navShown = true; } }); } /*Bootstrap Popover initialization*/ $(function () { $('[data-toggle="popover"]').popover() }); /*Verical scorlling*/ $(function () { function scrollHorizontally(e) { e = window.event || e; var delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); document.getElementById('horizontal-scrolling').scrollLeft -= (delta * 40); // Multiplied by 40 e.preventDefault(); } var horizontalScrolling = document.getElementById('horizontal-scrolling'); if (horizontalScrolling) { if (horizontalScrolling.addEventListener) { // IE9, Chrome, Safari, Opera horizontalScrolling.addEventListener("mousewheel", scrollHorizontally, false); // Firefox horizontalScrolling.addEventListener("DOMMouseScroll", scrollHorizontally, false); } else { // IE 6/7/8 horizontalScrolling.attachEvent("onmousewheel", scrollHorizontally); } } }); /*File uplad button*/ document.getElementById("uploadBtn").onchange = function () { document.getElementById("uploadFile").value = this.value; }; });
16edf8f236790e9b843e21d8c4eb09cefebb3cae
WarpSDK.podspec
WarpSDK.podspec
Pod::Spec.new do |s| s.name = "WarpSDK" s.version = "1.0.6" s.summary = "The Warp iOS SDK is a library designed to work with projects built on-top of the Warp Server." s.homepage = "https://github.com/dividedbyzeroco/warp-server" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Zonily Jame Pesquera" => "zonilyjame@gmail.com" } s.social_media_url = "http://twitter.com/kuyazee" s.platform = :ios, "8.0" s.requires_arc = true s.source = { :git => "https://github.com/kuyazee/WarpSDK-iOS.git", :tag => "#{s.version}" } s.source_files = "WarpSDK", "WarpSDK/**/*.{h,swift}" s.dependency "Alamofire", "~> 4.3" s.dependency "EVReflection", "~> 4.2.0" s.dependency "SwiftyJSON", "~> 3.1.4" end
Pod::Spec.new do |s| s.name = "WarpSDK" s.version = "1.0.6" s.summary = "The Warp iOS SDK is a library designed to work with projects built on-top of the Warp Server." s.homepage = "https://github.com/dividedbyzeroco/warp-server" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Zonily Jame Pesquera" => "zonilyjame@gmail.com" } s.social_media_url = "http://twitter.com/kuyazee" s.platform = :ios, "8.0" s.requires_arc = true s.source = { :git => "https://github.com/kuyazee/WarpSDK-iOS.git", :tag => "#{s.version}" } s.source_files = "WarpSDK", "WarpSDK/**/*.{h,swift}" s.dependency "Alamofire", "4.4.0" s.dependency "EVReflection", "4.2.0" s.dependency "SwiftyJSON", "3.1.4" end
Set Specified Versions for Alamofire, EVReflection and SwiftyJSON on PodSpec
Set Specified Versions for Alamofire, EVReflection and SwiftyJSON on PodSpec
Ruby
mit
kuyazee/WarpSDK-iOS,kuyazee/WarpSDK-iOS
ruby
## Code Before: Pod::Spec.new do |s| s.name = "WarpSDK" s.version = "1.0.6" s.summary = "The Warp iOS SDK is a library designed to work with projects built on-top of the Warp Server." s.homepage = "https://github.com/dividedbyzeroco/warp-server" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Zonily Jame Pesquera" => "zonilyjame@gmail.com" } s.social_media_url = "http://twitter.com/kuyazee" s.platform = :ios, "8.0" s.requires_arc = true s.source = { :git => "https://github.com/kuyazee/WarpSDK-iOS.git", :tag => "#{s.version}" } s.source_files = "WarpSDK", "WarpSDK/**/*.{h,swift}" s.dependency "Alamofire", "~> 4.3" s.dependency "EVReflection", "~> 4.2.0" s.dependency "SwiftyJSON", "~> 3.1.4" end ## Instruction: Set Specified Versions for Alamofire, EVReflection and SwiftyJSON on PodSpec ## Code After: Pod::Spec.new do |s| s.name = "WarpSDK" s.version = "1.0.6" s.summary = "The Warp iOS SDK is a library designed to work with projects built on-top of the Warp Server." s.homepage = "https://github.com/dividedbyzeroco/warp-server" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Zonily Jame Pesquera" => "zonilyjame@gmail.com" } s.social_media_url = "http://twitter.com/kuyazee" s.platform = :ios, "8.0" s.requires_arc = true s.source = { :git => "https://github.com/kuyazee/WarpSDK-iOS.git", :tag => "#{s.version}" } s.source_files = "WarpSDK", "WarpSDK/**/*.{h,swift}" s.dependency "Alamofire", "4.4.0" s.dependency "EVReflection", "4.2.0" s.dependency "SwiftyJSON", "3.1.4" end
dbcd019a65b67299b9e1d33145ef90d1b02a3c4b
TODO.txt
TODO.txt
- Input/output headers - Cookie jar - "No session" session - Use setUpClass/tearDownClass for starting and stopping bottle servers - Generic memoization for attributes on response, forms, etc. - Multiple selection select support for form params - Handle multiple submit form tags in form params - Checkboxes, checked and unchecked - str() for FormElements and FormParams - Textareas are not handled correctly at all - Should form.method be uppercased? - Add a case-insensitive api to header_list - Add tests for header_dict case insensitivity on keys (broken in py3) - Document or remove DEFAULT_NETLOC - Rename self.config to self.owebunit_config - tests are likely to have their own configuration - Investigate response body decoding further; respect encoding declared in content type, add tests
- Input/output headers - Cookie jar - "No session" session - Use setUpClass/tearDownClass for starting and stopping bottle servers - Generic memoization for attributes on response, forms, etc. - Multiple selection select support for form params - Handle multiple submit form tags in form params - Checkboxes, checked and unchecked - str() for FormElements and FormParams - Textareas are not handled correctly at all - Should form.method be uppercased? - Add a case-insensitive api to header_list - Add tests for header_dict case insensitivity on keys (broken in py3) - Document or remove DEFAULT_NETLOC - Rename self.config to self.owebunit_config - tests are likely to have their own configuration - Investigate response body decoding further; respect encoding declared in content type, add tests - Support specifying a user agent for sessions and owebunit config
Add user agent to todo
Add user agent to todo
Text
bsd-2-clause
p/webracer
text
## Code Before: - Input/output headers - Cookie jar - "No session" session - Use setUpClass/tearDownClass for starting and stopping bottle servers - Generic memoization for attributes on response, forms, etc. - Multiple selection select support for form params - Handle multiple submit form tags in form params - Checkboxes, checked and unchecked - str() for FormElements and FormParams - Textareas are not handled correctly at all - Should form.method be uppercased? - Add a case-insensitive api to header_list - Add tests for header_dict case insensitivity on keys (broken in py3) - Document or remove DEFAULT_NETLOC - Rename self.config to self.owebunit_config - tests are likely to have their own configuration - Investigate response body decoding further; respect encoding declared in content type, add tests ## Instruction: Add user agent to todo ## Code After: - Input/output headers - Cookie jar - "No session" session - Use setUpClass/tearDownClass for starting and stopping bottle servers - Generic memoization for attributes on response, forms, etc. - Multiple selection select support for form params - Handle multiple submit form tags in form params - Checkboxes, checked and unchecked - str() for FormElements and FormParams - Textareas are not handled correctly at all - Should form.method be uppercased? - Add a case-insensitive api to header_list - Add tests for header_dict case insensitivity on keys (broken in py3) - Document or remove DEFAULT_NETLOC - Rename self.config to self.owebunit_config - tests are likely to have their own configuration - Investigate response body decoding further; respect encoding declared in content type, add tests - Support specifying a user agent for sessions and owebunit config
6d7432f99fb7ed8874c1f271a266f13d1ae48ac2
app/services/error_dumper.rb
app/services/error_dumper.rb
class ErrorDumper include Callee UNDEFINED_EXCEPTION = ''.freeze option :exception, optional: true, default: -> { UNDEFINED_EXCEPTION } option :file_name, optional: true, default: -> { location.try(:path).to_s } option :label, optional: true, default: -> { location.try(:label).to_s } option :line_number, optional: true, default: -> { location.try(:lineno) } option :occured_at, optional: true, default: -> { DateTime.now } option :target, optional: true, default: -> { nil } option :context, optional: true, default: -> { {} } option( :message, optional: true, default: -> { exception.try(:message) || exception.to_s } ) def call Error.create!( backtrace: backtrace, context: context, exception: exception_name, file_name: file_name, label: label, line_number: line_number, message: message, occured_at: occured_at, status: ErrorStatus.pending, target: target ) end def location exception.try(:locations).try(:first) end def backtrace exception.try(:backtrace) || [] end def exception_name return exception.try(:class).try(:name) if exception.is_a?(Exception) exception.to_s end end
class ErrorDumper include Callee UNDEFINED_EXCEPTION = ''.freeze option :exception, optional: true, default: -> { UNDEFINED_EXCEPTION } option :file_name, optional: true, default: -> { location.try(:path).to_s } option :label, optional: true, default: -> { location.try(:label).to_s } option :line_number, optional: true, default: -> { location.try(:lineno) } option :occured_at, optional: true, default: -> { DateTime.now } option :target, optional: true, default: -> { nil } option :context, optional: true, default: -> { {} } option( :message, optional: true, default: -> { exception.try(:message) || exception.to_s } ) def call persist_error notify_honeybadger end def persist_error Error.create!( backtrace: backtrace, context: context, exception: exception_name, file_name: file_name, label: label, line_number: line_number, message: message, occured_at: occured_at, status: ErrorStatus.pending, target: target ) end def notify_honeybadger Honeybadger.notify(exception, error_message: message) end def location exception.try(:locations).try(:first) end def backtrace exception.try(:backtrace) || [] end def exception_name return exception.try(:class).try(:name) if exception.is_a?(Exception) exception.to_s end end
Make ErrorDumper to notify Honeybadger
Make ErrorDumper to notify Honeybadger
Ruby
mit
dreikanter/feeder,dreikanter/feeder,dreikanter/feeder
ruby
## Code Before: class ErrorDumper include Callee UNDEFINED_EXCEPTION = ''.freeze option :exception, optional: true, default: -> { UNDEFINED_EXCEPTION } option :file_name, optional: true, default: -> { location.try(:path).to_s } option :label, optional: true, default: -> { location.try(:label).to_s } option :line_number, optional: true, default: -> { location.try(:lineno) } option :occured_at, optional: true, default: -> { DateTime.now } option :target, optional: true, default: -> { nil } option :context, optional: true, default: -> { {} } option( :message, optional: true, default: -> { exception.try(:message) || exception.to_s } ) def call Error.create!( backtrace: backtrace, context: context, exception: exception_name, file_name: file_name, label: label, line_number: line_number, message: message, occured_at: occured_at, status: ErrorStatus.pending, target: target ) end def location exception.try(:locations).try(:first) end def backtrace exception.try(:backtrace) || [] end def exception_name return exception.try(:class).try(:name) if exception.is_a?(Exception) exception.to_s end end ## Instruction: Make ErrorDumper to notify Honeybadger ## Code After: class ErrorDumper include Callee UNDEFINED_EXCEPTION = ''.freeze option :exception, optional: true, default: -> { UNDEFINED_EXCEPTION } option :file_name, optional: true, default: -> { location.try(:path).to_s } option :label, optional: true, default: -> { location.try(:label).to_s } option :line_number, optional: true, default: -> { location.try(:lineno) } option :occured_at, optional: true, default: -> { DateTime.now } option :target, optional: true, default: -> { nil } option :context, optional: true, default: -> { {} } option( :message, optional: true, default: -> { exception.try(:message) || exception.to_s } ) def call persist_error notify_honeybadger end def persist_error Error.create!( backtrace: backtrace, context: context, exception: exception_name, file_name: file_name, label: label, line_number: line_number, message: message, occured_at: occured_at, status: ErrorStatus.pending, target: target ) end def notify_honeybadger Honeybadger.notify(exception, error_message: message) end def location exception.try(:locations).try(:first) end def backtrace exception.try(:backtrace) || [] end def exception_name return exception.try(:class).try(:name) if exception.is_a?(Exception) exception.to_s end end
b97fd14bba5d45a6e4e3caa02bd947bddfd0ba8b
tools/sniper_stats_jobid.py
tools/sniper_stats_jobid.py
import sniper_stats, intelqueue, iqclient class SniperStatsJobid(sniper_stats.SniperStatsBase): def __init__(self, jobid): self.jobid = jobid self.ic = iqclient.IntelClient() def read_metricnames(self): return self.ic.graphite_dbresults(self.jobid, 'read_metricnames') def get_snapshots(self): return self.ic.graphite_dbresults(self.jobid, 'get_snapshots') def read_snapshot(self, prefix, metrics = None): return self.ic.graphite_dbresults(self.jobid, 'read_snapshot', {'prefix': prefix, 'metrics': metrics}) def get_topology(self): return self.ic.graphite_dbresults(self.jobid, 'get_topology') def get_markers(self): return self.ic.graphite_dbresults(self.jobid, 'get_markers') def get_events(self): return self.ic.graphite_dbresults(self.jobid, 'get_events')
import sniper_stats, intelqueue, iqclient class SniperStatsJobid(sniper_stats.SniperStatsBase): def __init__(self, jobid): self.jobid = jobid self.ic = iqclient.IntelClient() self.names = self.read_metricnames() def read_metricnames(self): return self.ic.graphite_dbresults(self.jobid, 'read_metricnames') def get_snapshots(self): return self.ic.graphite_dbresults(self.jobid, 'get_snapshots') def read_snapshot(self, prefix, metrics = None): return self.ic.graphite_dbresults(self.jobid, 'read_snapshot', {'prefix': prefix, 'metrics': metrics}) def get_topology(self): return self.ic.graphite_dbresults(self.jobid, 'get_topology') def get_markers(self): return self.ic.graphite_dbresults(self.jobid, 'get_markers') def get_events(self): return self.ic.graphite_dbresults(self.jobid, 'get_events')
Read metric names on startup for jobid-based stats so self.names is available as expected
[sniper_stats] Read metric names on startup for jobid-based stats so self.names is available as expected
Python
mit
abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper
python
## Code Before: import sniper_stats, intelqueue, iqclient class SniperStatsJobid(sniper_stats.SniperStatsBase): def __init__(self, jobid): self.jobid = jobid self.ic = iqclient.IntelClient() def read_metricnames(self): return self.ic.graphite_dbresults(self.jobid, 'read_metricnames') def get_snapshots(self): return self.ic.graphite_dbresults(self.jobid, 'get_snapshots') def read_snapshot(self, prefix, metrics = None): return self.ic.graphite_dbresults(self.jobid, 'read_snapshot', {'prefix': prefix, 'metrics': metrics}) def get_topology(self): return self.ic.graphite_dbresults(self.jobid, 'get_topology') def get_markers(self): return self.ic.graphite_dbresults(self.jobid, 'get_markers') def get_events(self): return self.ic.graphite_dbresults(self.jobid, 'get_events') ## Instruction: [sniper_stats] Read metric names on startup for jobid-based stats so self.names is available as expected ## Code After: import sniper_stats, intelqueue, iqclient class SniperStatsJobid(sniper_stats.SniperStatsBase): def __init__(self, jobid): self.jobid = jobid self.ic = iqclient.IntelClient() self.names = self.read_metricnames() def read_metricnames(self): return self.ic.graphite_dbresults(self.jobid, 'read_metricnames') def get_snapshots(self): return self.ic.graphite_dbresults(self.jobid, 'get_snapshots') def read_snapshot(self, prefix, metrics = None): return self.ic.graphite_dbresults(self.jobid, 'read_snapshot', {'prefix': prefix, 'metrics': metrics}) def get_topology(self): return self.ic.graphite_dbresults(self.jobid, 'get_topology') def get_markers(self): return self.ic.graphite_dbresults(self.jobid, 'get_markers') def get_events(self): return self.ic.graphite_dbresults(self.jobid, 'get_events')
24a91e3249379e3e6696b1751edbb0414827bd18
.travis.yml
.travis.yml
dist: trusty language: ruby rvm: - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - 2.5.3 - 2.6.3 - jruby-9.1.17.0 - jruby-head - rbx-3 - ruby-head jdk: - openjdk8 # for jruby matrix: allow_failures: - rvm: rbx-3 - rvm: ruby-head addons: apt: packages: - libpcre3 - libpcre3-dev before_install: rvm list notifications: irc: "irc.freenode.org#adhearsion"
dist: xenial language: ruby rvm: - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.3 - jruby-9.1.17.0 - jruby-head - rbx-3 - ruby-head jdk: - openjdk8 # for jruby matrix: allow_failures: - rvm: rbx-3 - rvm: ruby-head addons: apt: packages: - libpcre3 - libpcre3-dev before_install: rvm list notifications: irc: "irc.freenode.org#adhearsion"
Use Xenial with pre-installed Ruby 2.3 and 2.4 versions
Use Xenial with pre-installed Ruby 2.3 and 2.4 versions
YAML
mit
adhearsion/ruby_speech,adhearsion/ruby_speech,adhearsion/ruby_speech
yaml
## Code Before: dist: trusty language: ruby rvm: - 2.1.10 - 2.2.7 - 2.3.4 - 2.4.1 - 2.5.3 - 2.6.3 - jruby-9.1.17.0 - jruby-head - rbx-3 - ruby-head jdk: - openjdk8 # for jruby matrix: allow_failures: - rvm: rbx-3 - rvm: ruby-head addons: apt: packages: - libpcre3 - libpcre3-dev before_install: rvm list notifications: irc: "irc.freenode.org#adhearsion" ## Instruction: Use Xenial with pre-installed Ruby 2.3 and 2.4 versions ## Code After: dist: xenial language: ruby rvm: - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.3 - jruby-9.1.17.0 - jruby-head - rbx-3 - ruby-head jdk: - openjdk8 # for jruby matrix: allow_failures: - rvm: rbx-3 - rvm: ruby-head addons: apt: packages: - libpcre3 - libpcre3-dev before_install: rvm list notifications: irc: "irc.freenode.org#adhearsion"
342b5f050ff43f1b5aeb162eac48f728590987a5
NOTES.md
NOTES.md
https://robots.thoughtbot.com/middleman-bourbon-walkthrough
--- This will be my first project using a stack consiting of Ruby, Middleman and Bourbon, Neat & Bitters. I am keeping a log of lessons learned, tools used and issues encountered for future reference. ## Log Lessons Learned and Issues Encountered --- ### Saturday - July 8th * Learned how to deal with varying versions of Ruby i.e. global vs local. * Ran into issues with moving to rbenv as it relates to Ruby version. I ran into an issue where the local Ruby was set to 2.4.0 as was the config.rb However when trying to run the middle man build 2.4.1 was being recogized as the configured Ruby version. Netlify does not currently support 2.4.1 so watch out for that in the future. * Currently having issues rendering the Segment partial, event though it is configured per the documentations. ## Resources Used Along the Way --- * https://robots.thoughtbot.com/middleman-bourbon-walkthrough * thoughbot laptop ## Questions ---
Update lessons learnd notes from July 8th
Update lessons learnd notes from July 8th
Markdown
mit
jasonhalbig/jasonhalbig.github.io,jasonhalbig/jasonhalbig.github.io,jasonhalbig/jasonhalbig.github.io,jasonhalbig/jasonhalbig.github.io
markdown
## Code Before: https://robots.thoughtbot.com/middleman-bourbon-walkthrough ## Instruction: Update lessons learnd notes from July 8th ## Code After: --- This will be my first project using a stack consiting of Ruby, Middleman and Bourbon, Neat & Bitters. I am keeping a log of lessons learned, tools used and issues encountered for future reference. ## Log Lessons Learned and Issues Encountered --- ### Saturday - July 8th * Learned how to deal with varying versions of Ruby i.e. global vs local. * Ran into issues with moving to rbenv as it relates to Ruby version. I ran into an issue where the local Ruby was set to 2.4.0 as was the config.rb However when trying to run the middle man build 2.4.1 was being recogized as the configured Ruby version. Netlify does not currently support 2.4.1 so watch out for that in the future. * Currently having issues rendering the Segment partial, event though it is configured per the documentations. ## Resources Used Along the Way --- * https://robots.thoughtbot.com/middleman-bourbon-walkthrough * thoughbot laptop ## Questions ---
66e88adbf119283b44c6d11121b806d879efcb32
.travis.yml
.travis.yml
language: scala scala: - 2.10.3 before_script: - npm install bower - npm install grunt-cli - gem install sass - cd public - npm install - bower install - cd .. script: - sbt test - cd public - grunt test deploy: provider: heroku api_key: "mgc+E/IvRsGjPfLNDJjXwTmuG+Rbptin3vU7M8ebYzd0QuMF+Jakj72GhRTiFVxcaNB80FJ6Su4jft4ytr33czM+26VOBOHruFccxs4iLELGUvv5UYrzeeB3A3DxKKD/CfxFipZYcxrPXpN6ZG0FodL2xmuq0vf8hTUGge7lK6k=" app: develop: bridge-development
language: scala scala: - 2.10.3 before_script: - npm install bower - npm install grunt-cli - gem install sass - cd public - npm install - bower install - cd .. script: - sbt test - cd public - grunt test deploy: provider: heroku api_key: "mgc+E/IvRsGjPfLNDJjXwTmuG+Rbptin3vU7M8ebYzd0QuMF+Jakj72GhRTiFVxcaNB80FJ6Su4jft4ytr33czM+26VOBOHruFccxs4iLELGUvv5UYrzeeB3A3DxKKD/CfxFipZYcxrPXpN6ZG0FodL2xmuq0vf8hTUGge7lK6k=" skip_cleanup: true app: develop: bridge-development
Add skip_cleanup to keep the artifacts.
Add skip_cleanup to keep the artifacts.
YAML
apache-2.0
alxdarksage/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF
yaml
## Code Before: language: scala scala: - 2.10.3 before_script: - npm install bower - npm install grunt-cli - gem install sass - cd public - npm install - bower install - cd .. script: - sbt test - cd public - grunt test deploy: provider: heroku api_key: "mgc+E/IvRsGjPfLNDJjXwTmuG+Rbptin3vU7M8ebYzd0QuMF+Jakj72GhRTiFVxcaNB80FJ6Su4jft4ytr33czM+26VOBOHruFccxs4iLELGUvv5UYrzeeB3A3DxKKD/CfxFipZYcxrPXpN6ZG0FodL2xmuq0vf8hTUGge7lK6k=" app: develop: bridge-development ## Instruction: Add skip_cleanup to keep the artifacts. ## Code After: language: scala scala: - 2.10.3 before_script: - npm install bower - npm install grunt-cli - gem install sass - cd public - npm install - bower install - cd .. script: - sbt test - cd public - grunt test deploy: provider: heroku api_key: "mgc+E/IvRsGjPfLNDJjXwTmuG+Rbptin3vU7M8ebYzd0QuMF+Jakj72GhRTiFVxcaNB80FJ6Su4jft4ytr33czM+26VOBOHruFccxs4iLELGUvv5UYrzeeB3A3DxKKD/CfxFipZYcxrPXpN6ZG0FodL2xmuq0vf8hTUGge7lK6k=" skip_cleanup: true app: develop: bridge-development
f231f8425810de5d024ab124250c6ca9a47e6c27
android/KMAPro/kMAPro/src/main/res/xml/file_paths.xml
android/KMAPro/kMAPro/src/main/res/xml/file_paths.xml
<?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com.apk/res/android"> <!-- path is relative to app_data/files/ --> <files-path name="packages" path="../app_data/packages/" /> </paths>
<?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com.apk/res/android"> <!-- path is relative to /data/data/com.tavultesoft.kmapro/files/ --> <files-path name="packages" path="../app_data/packages/" /> </paths>
Clarify comment to fileProvider path
Clarify comment to fileProvider path
XML
apache-2.0
tavultesoft/keymanweb,tavultesoft/keymanweb
xml
## Code Before: <?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com.apk/res/android"> <!-- path is relative to app_data/files/ --> <files-path name="packages" path="../app_data/packages/" /> </paths> ## Instruction: Clarify comment to fileProvider path ## Code After: <?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com.apk/res/android"> <!-- path is relative to /data/data/com.tavultesoft.kmapro/files/ --> <files-path name="packages" path="../app_data/packages/" /> </paths>
b7f170ece0e65099d1353510a6e7a617c4dc349f
README.md
README.md
Ruby implementation of BBC News Chintz
Ruby implementation of [BBC News Chintz](https://github.com/BBC-News/chintz)
Add link to original chintz
Add link to original chintz Reduces the steps required for a user to go and see the original library and learn about what it is
Markdown
apache-2.0
BBC-News/chintz-ruby
markdown
## Code Before: Ruby implementation of BBC News Chintz ## Instruction: Add link to original chintz Reduces the steps required for a user to go and see the original library and learn about what it is ## Code After: Ruby implementation of [BBC News Chintz](https://github.com/BBC-News/chintz)
b25a78818503cbd02c39da7a0dd9abb3f2e3cb76
app/actions/LoginActions.js
app/actions/LoginActions.js
/** * LoginActions * Actions for helping with login */ import { browserHistory } from 'react-router'; import Parse from 'parse'; import AuthService from '../middleware/api/Authentication'; export const LOGIN_REQUEST = "LOGIN_REQUEST"; export const LOGIN_SUCCESS = "LOGIN_SUCCESS"; export const LOGIN_FAIL = "LOGIN_FAIL"; export const LOGOUT_REQUEST = "LOGOUT_REQUEST"; export const SIGNUP_USER = "SIGNUP_USER"; function requestLogin (username) { return { type: LOGIN_REQUEST, username, isLoggedIn: true } } function loginSuccess (username) { return { type: LOGIN_SUCCESS, username, isLoggedIn: true } } function logoutUser (username) { return { type: LOGOUT_REQUEST, username, isLoggedIn: false } } function signupUser (username) { return { type: SIGNUP_USER, username, isLoggedIn: true } } export function loginRequest (username, password) { AuthService.login(username, password) return requestLogin(username) } export function success (username) { browserHistory.push('/home') return loginSuccess(username) } export function userLogout () { let username = Parse.User.current() browserHistory.push('/login') return logoutUser(username) } export function signup (username, password) { AuthService.signup (username, password) browserHistory.push('/home') return signupUser(username) }
/** * LoginActions * Actions for helping with login */ import { browserHistory } from 'react-router'; import Parse from 'parse'; import AuthService from '../middleware/api/Authentication'; export const LOGIN_REQUEST = "LOGIN_REQUEST"; export const LOGIN_SUCCESS = "LOGIN_SUCCESS"; export const LOGIN_FAIL = "LOGIN_FAIL"; export const LOGOUT_REQUEST = "LOGOUT_REQUEST"; export const SIGNUP_USER = "SIGNUP_USER"; function requestLogin (username) { return { type: LOGIN_REQUEST, username, isLoggedIn: true } } function loginSuccess (username) { return { type: LOGIN_SUCCESS, username, isLoggedIn: true } } function logoutUser (username) { return { type: LOGOUT_REQUEST, username, isLoggedIn: false } } function signupUser (username) { return { type: SIGNUP_USER, username, isLoggedIn: true } } export function loginRequest (username, password) { AuthService.login(username, password) return requestLogin(username) } export function success (username) { browserHistory.push('/home') return loginSuccess(username) } export function userLogout () { let username = Parse.User.current() AuthService.logout() browserHistory.push('/login') return logoutUser(username) } export function signup (username, password) { AuthService.signup (username, password) browserHistory.push('/home') return signupUser(username) }
Add call to AuthService for logout
Add call to AuthService for logout
JavaScript
mit
bspride/ModernCookbook,bspride/ModernCookbook,bspride/ModernCookbook
javascript
## Code Before: /** * LoginActions * Actions for helping with login */ import { browserHistory } from 'react-router'; import Parse from 'parse'; import AuthService from '../middleware/api/Authentication'; export const LOGIN_REQUEST = "LOGIN_REQUEST"; export const LOGIN_SUCCESS = "LOGIN_SUCCESS"; export const LOGIN_FAIL = "LOGIN_FAIL"; export const LOGOUT_REQUEST = "LOGOUT_REQUEST"; export const SIGNUP_USER = "SIGNUP_USER"; function requestLogin (username) { return { type: LOGIN_REQUEST, username, isLoggedIn: true } } function loginSuccess (username) { return { type: LOGIN_SUCCESS, username, isLoggedIn: true } } function logoutUser (username) { return { type: LOGOUT_REQUEST, username, isLoggedIn: false } } function signupUser (username) { return { type: SIGNUP_USER, username, isLoggedIn: true } } export function loginRequest (username, password) { AuthService.login(username, password) return requestLogin(username) } export function success (username) { browserHistory.push('/home') return loginSuccess(username) } export function userLogout () { let username = Parse.User.current() browserHistory.push('/login') return logoutUser(username) } export function signup (username, password) { AuthService.signup (username, password) browserHistory.push('/home') return signupUser(username) } ## Instruction: Add call to AuthService for logout ## Code After: /** * LoginActions * Actions for helping with login */ import { browserHistory } from 'react-router'; import Parse from 'parse'; import AuthService from '../middleware/api/Authentication'; export const LOGIN_REQUEST = "LOGIN_REQUEST"; export const LOGIN_SUCCESS = "LOGIN_SUCCESS"; export const LOGIN_FAIL = "LOGIN_FAIL"; export const LOGOUT_REQUEST = "LOGOUT_REQUEST"; export const SIGNUP_USER = "SIGNUP_USER"; function requestLogin (username) { return { type: LOGIN_REQUEST, username, isLoggedIn: true } } function loginSuccess (username) { return { type: LOGIN_SUCCESS, username, isLoggedIn: true } } function logoutUser (username) { return { type: LOGOUT_REQUEST, username, isLoggedIn: false } } function signupUser (username) { return { type: SIGNUP_USER, username, isLoggedIn: true } } export function loginRequest (username, password) { AuthService.login(username, password) return requestLogin(username) } export function success (username) { browserHistory.push('/home') return loginSuccess(username) } export function userLogout () { let username = Parse.User.current() AuthService.logout() browserHistory.push('/login') return logoutUser(username) } export function signup (username, password) { AuthService.signup (username, password) browserHistory.push('/home') return signupUser(username) }
a41de0b4024fb7b18c4191bfb20c6481203ffcfe
README.md
README.md
Rewrite in progress ... documentation online currently out of sync with master. If you would like to deploy, checkout the last release at https://github.com/untoldone/bloomapi/tree/v0.1.6 An open source library for maintaining an updated mirror of the [NPI Data Dissemination](http://nppes.viva-it.com/NPI_Files.html) and making it queriable via API. A public deployment of BloomAPI can be seen at http://www.bloomapi.com/ For **documentation** see http://www.bloomapi.com/documentation For details on **contributing** see http://www.bloomapi.com/contribute
BloomAPI ======== BloomAPI is a set of libraries and executables to translate existing datasources into performant APIs. A public deployment of BloomAPI as well as more information can be found at http://www.bloomapi.com. The public deployment of BloomAPI currently hosts an updated mirror of the [NPI Data Dissemination](http://nppes.viva-it.com/NPI_Files.html) as an example, but production ready, datasource. For **documentation** see http://www.bloomapi.com/documentation For details on **contributing** see http://www.bloomapi.com/contribute ### Roadmap - Improve API search capabilities based on existing needs and usage - Improve libraries to make introducing new datasources an easy, well documented, process - Include easy to use, data documentation tools - Include useful public datasets out of the box such as NUCC Taxonomy Codes, Geo-coded locations in existing data sets (E.g. NPI), ICD-9/10 codes, UPIN crosswalk, and FDA's NDC. - Also include data loading code for datasets with licensing restrictions such as AHRQ's HCUP data and CPT codes.
Update Readme.md for version 0.2.0
Update Readme.md for version 0.2.0
Markdown
mit
untoldone/bloomapi,untoldone/bloomapi
markdown
## Code Before: Rewrite in progress ... documentation online currently out of sync with master. If you would like to deploy, checkout the last release at https://github.com/untoldone/bloomapi/tree/v0.1.6 An open source library for maintaining an updated mirror of the [NPI Data Dissemination](http://nppes.viva-it.com/NPI_Files.html) and making it queriable via API. A public deployment of BloomAPI can be seen at http://www.bloomapi.com/ For **documentation** see http://www.bloomapi.com/documentation For details on **contributing** see http://www.bloomapi.com/contribute ## Instruction: Update Readme.md for version 0.2.0 ## Code After: BloomAPI ======== BloomAPI is a set of libraries and executables to translate existing datasources into performant APIs. A public deployment of BloomAPI as well as more information can be found at http://www.bloomapi.com. The public deployment of BloomAPI currently hosts an updated mirror of the [NPI Data Dissemination](http://nppes.viva-it.com/NPI_Files.html) as an example, but production ready, datasource. For **documentation** see http://www.bloomapi.com/documentation For details on **contributing** see http://www.bloomapi.com/contribute ### Roadmap - Improve API search capabilities based on existing needs and usage - Improve libraries to make introducing new datasources an easy, well documented, process - Include easy to use, data documentation tools - Include useful public datasets out of the box such as NUCC Taxonomy Codes, Geo-coded locations in existing data sets (E.g. NPI), ICD-9/10 codes, UPIN crosswalk, and FDA's NDC. - Also include data loading code for datasets with licensing restrictions such as AHRQ's HCUP data and CPT codes.
075e66b35e268ef4d79e87e3fac703f598770d24
test-inkwell/Cargo.toml
test-inkwell/Cargo.toml
[package] name = "test-inkwell" version = "0.1.0" authors = ["Shaked Flur <fshaked@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = "2.33" # inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm10-0"] } # inkwell = { features = ["llvm10-0"] } inkwell = { git = "https://github.com/dylanede/inkwell", branch = "section_null", features = ["llvm10-0"] }
[package] name = "test-inkwell" version = "0.1.0" authors = ["Shaked Flur <fshaked@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = "2.33" # inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm10-0"] } # inkwell = { features = ["llvm10-0"] } # inkwell = { git = "https://github.com/dylanede/inkwell", branch = "section_null", features = ["llvm10-0"] } inkwell = { git = "https://github.com/alastairreid/inkwell", features = ["llvm10-0"] }
Switch to our local copy of inkwell
Switch to our local copy of inkwell
TOML
apache-2.0
project-oak/rust-verification-tools,project-oak/rust-verification-tools,project-oak/rust-verification-tools,project-oak/rust-verification-tools
toml
## Code Before: [package] name = "test-inkwell" version = "0.1.0" authors = ["Shaked Flur <fshaked@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = "2.33" # inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm10-0"] } # inkwell = { features = ["llvm10-0"] } inkwell = { git = "https://github.com/dylanede/inkwell", branch = "section_null", features = ["llvm10-0"] } ## Instruction: Switch to our local copy of inkwell ## Code After: [package] name = "test-inkwell" version = "0.1.0" authors = ["Shaked Flur <fshaked@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = "2.33" # inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "master", features = ["llvm10-0"] } # inkwell = { features = ["llvm10-0"] } # inkwell = { git = "https://github.com/dylanede/inkwell", branch = "section_null", features = ["llvm10-0"] } inkwell = { git = "https://github.com/alastairreid/inkwell", features = ["llvm10-0"] }
f053f33de1c7180df497979f5d993c951ad60297
repository/CargoPackageManager-Tests.package/CGOVcsSerializedProjectTest.class/instance/testCanSerializeAPackageDependencyOnExternalCargoProject.st
repository/CargoPackageManager-Tests.package/CGOVcsSerializedProjectTest.class/instance/testCanSerializeAPackageDependencyOnExternalCargoProject.st
tests testCanSerializeAPackageDependencyOnExternalCargoProject | project projectStonString | project := self counterUiProject. projectStonString := STON toStringPretty: project asVcsSerializedCargoProject. self assert: projectStonString equals: 'OngoingProject { #name : #Counter-UI, #description : ''Small UI for the counter model.'', #externalProjects : [ CGOCargoProjectDependency { #repository : CGOGitRepository { #repositoryUrl : ''git://git@github.com/demarey/pharo-counter-ui.git'', #version : ''master'' } } ], #units : [ OngoingPackageUnit { #name : #Counter-UI-Spec, #description : ''Core package with the counter UI based on Spec.'', #dependencies : [ #''Counter::Counter-Core'' ] } ] }'
tests testCanSerializeAPackageDependencyOnExternalCargoProject | project projectStonString | project := self counterUiProject. projectStonString := STON toStringPretty: project asVcsSerializedCargoProject. self assert: projectStonString equals: 'OngoingProject { #name : #Counter-UI, #description : ''Small UI for the counter model.'', #externalProjects : [ CGOCargoProjectDependency { #repository : CGOGitRepository { #repositoryUrl : ''git://git@github.com/demarey/pharo-counter-ui.git'', #version : ''master'' }, #name : ''pharo-counter'', #version : '''' } ], #units : [ OngoingPackageUnit { #name : #Counter-UI-Spec, #description : ''Core package with the counter UI based on Spec.'', #dependencies : [ #''Counter::Counter-Core'' ] } ] }'
Fix test broken due to merge
Fix test broken due to merge
Smalltalk
mit
demarey/cargo
smalltalk
## Code Before: tests testCanSerializeAPackageDependencyOnExternalCargoProject | project projectStonString | project := self counterUiProject. projectStonString := STON toStringPretty: project asVcsSerializedCargoProject. self assert: projectStonString equals: 'OngoingProject { #name : #Counter-UI, #description : ''Small UI for the counter model.'', #externalProjects : [ CGOCargoProjectDependency { #repository : CGOGitRepository { #repositoryUrl : ''git://git@github.com/demarey/pharo-counter-ui.git'', #version : ''master'' } } ], #units : [ OngoingPackageUnit { #name : #Counter-UI-Spec, #description : ''Core package with the counter UI based on Spec.'', #dependencies : [ #''Counter::Counter-Core'' ] } ] }' ## Instruction: Fix test broken due to merge ## Code After: tests testCanSerializeAPackageDependencyOnExternalCargoProject | project projectStonString | project := self counterUiProject. projectStonString := STON toStringPretty: project asVcsSerializedCargoProject. self assert: projectStonString equals: 'OngoingProject { #name : #Counter-UI, #description : ''Small UI for the counter model.'', #externalProjects : [ CGOCargoProjectDependency { #repository : CGOGitRepository { #repositoryUrl : ''git://git@github.com/demarey/pharo-counter-ui.git'', #version : ''master'' }, #name : ''pharo-counter'', #version : '''' } ], #units : [ OngoingPackageUnit { #name : #Counter-UI-Spec, #description : ''Core package with the counter UI based on Spec.'', #dependencies : [ #''Counter::Counter-Core'' ] } ] }'
3f330a4faf2736e9952521e82dc9796312a676f3
.travis.yml
.travis.yml
--- language: python python: - "2.6" - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov
--- language: python python: - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov
Drop testing for Python 2.6
Drop testing for Python 2.6 It's no longer support by Python core team anyway
YAML
bsd-3-clause
jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor,jamesoff/simplemonitor
yaml
## Code Before: --- language: python python: - "2.6" - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov ## Instruction: Drop testing for Python 2.6 It's no longer support by Python core team anyway ## Code After: --- language: python python: - "2.7" - "3.5" script: - pip install codecov - coverage run monitor.py -1 -v -f tests/monitor.ini - TEST_VALUE=myenv python monitor.py -t -f tests/monitor-env.ini - codecov
f81e9472c05197da73a9f4caae7635e57aa460e2
spec/features/main_spec.rb
spec/features/main_spec.rb
describe 'main process', type: :feature, js: true do it "html includes content 'Listing buckets' and 'my-bucket'" do Aws.config[:s3] = { stub_responses: { list_buckets: { buckets: [{ name: 'my-bucket' }] } } } visit '/buckets' expect(page).to have_content 'Listing buckets' expect(page).to have_content 'my-bucket' click_on 'my-bucket' click_on 'Back' end end
describe 'main process', type: :feature, js: true do before do FakeS3Server.restart s3 = Aws::S3::Client.new s3.create_bucket(bucket: 'my-bucket') Tempfile.open('file') do |file| file.puts 'body' file.flush s3.put_object( bucket: 'my-bucket', key: 'my-folder/my-file', body: file ) end end it "html includes content 'Listing buckets' and 'my-bucket'" do visit '/buckets' expect(page).to have_content 'Listing buckets' expect(page).to have_content 'my-bucket' click_on 'my-bucket' click_on 'Back' end end
Modify feature spec to use FakeS3Server
Modify feature spec to use FakeS3Server
Ruby
mit
hoshinotsuyoshi/s3_explorer,hoshinotsuyoshi/s3_explorer,hoshinotsuyoshi/s3_explorer
ruby
## Code Before: describe 'main process', type: :feature, js: true do it "html includes content 'Listing buckets' and 'my-bucket'" do Aws.config[:s3] = { stub_responses: { list_buckets: { buckets: [{ name: 'my-bucket' }] } } } visit '/buckets' expect(page).to have_content 'Listing buckets' expect(page).to have_content 'my-bucket' click_on 'my-bucket' click_on 'Back' end end ## Instruction: Modify feature spec to use FakeS3Server ## Code After: describe 'main process', type: :feature, js: true do before do FakeS3Server.restart s3 = Aws::S3::Client.new s3.create_bucket(bucket: 'my-bucket') Tempfile.open('file') do |file| file.puts 'body' file.flush s3.put_object( bucket: 'my-bucket', key: 'my-folder/my-file', body: file ) end end it "html includes content 'Listing buckets' and 'my-bucket'" do visit '/buckets' expect(page).to have_content 'Listing buckets' expect(page).to have_content 'my-bucket' click_on 'my-bucket' click_on 'Back' end end
44685b4cd69e9159bf309a9a08db2db7e32309c5
src/helpers/ApiClient.js
src/helpers/ApiClient.js
import superagent from 'superagent'; import config from '../config'; const methods = ['get', 'post', 'put', 'patch', 'del']; function formatUrl(path) { const adjustedPath = path[0] !== '/' ? '/' + path : path; if (__SERVER__) { // Prepend host and port of the API server to the path. return 'http://localhost:' + config.apiPort + adjustedPath; } // Prepend `/api` to relative URL, to proxy to API server. return '/api' + adjustedPath; } export default class ApiClient { constructor(req) { methods.forEach((method) => this[method] = (path, { params, data } = {}) => new Promise((resolve, reject) => { const request = superagent[method](formatUrl(path)); if (params) { request.query(params); } if (__SERVER__ && req.get('cookie')) { request.set('cookie', req.get('cookie')); } if (data) { request.send(data); } request.end((err, { body } = {}) => err ? reject(body || err) : resolve(body)); })); } }
import superagent from 'superagent'; import config from '../config'; const methods = ['get', 'post', 'put', 'patch', 'del']; function formatUrl(path) { const adjustedPath = path[0] !== '/' ? '/' + path : path; if (__SERVER__) { // Prepend host and port of the API server to the path. return 'http://localhost:' + config.apiPort + adjustedPath; } // Prepend `/api` to relative URL, to proxy to API server. return '/api' + adjustedPath; } /* * This silly underscore is here to avoid a mysterious "ReferenceError: ApiClient is not defined" error. * See Issue #14. https://github.com/erikras/react-redux-universal-hot-example/issues/14 * * Remove it at your own risk. */ class _ApiClient { constructor(req) { methods.forEach((method) => this[method] = (path, { params, data } = {}) => new Promise((resolve, reject) => { const request = superagent[method](formatUrl(path)); if (params) { request.query(params); } if (__SERVER__ && req.get('cookie')) { request.set('cookie', req.get('cookie')); } if (data) { request.send(data); } request.end((err, { body } = {}) => err ? reject(body || err) : resolve(body)); })); } } const ApiClient = _ApiClient; export default ApiClient;
Revert changes to client masking
Revert changes to client masking
JavaScript
mit
Boelensman1/championpick2
javascript
## Code Before: import superagent from 'superagent'; import config from '../config'; const methods = ['get', 'post', 'put', 'patch', 'del']; function formatUrl(path) { const adjustedPath = path[0] !== '/' ? '/' + path : path; if (__SERVER__) { // Prepend host and port of the API server to the path. return 'http://localhost:' + config.apiPort + adjustedPath; } // Prepend `/api` to relative URL, to proxy to API server. return '/api' + adjustedPath; } export default class ApiClient { constructor(req) { methods.forEach((method) => this[method] = (path, { params, data } = {}) => new Promise((resolve, reject) => { const request = superagent[method](formatUrl(path)); if (params) { request.query(params); } if (__SERVER__ && req.get('cookie')) { request.set('cookie', req.get('cookie')); } if (data) { request.send(data); } request.end((err, { body } = {}) => err ? reject(body || err) : resolve(body)); })); } } ## Instruction: Revert changes to client masking ## Code After: import superagent from 'superagent'; import config from '../config'; const methods = ['get', 'post', 'put', 'patch', 'del']; function formatUrl(path) { const adjustedPath = path[0] !== '/' ? '/' + path : path; if (__SERVER__) { // Prepend host and port of the API server to the path. return 'http://localhost:' + config.apiPort + adjustedPath; } // Prepend `/api` to relative URL, to proxy to API server. return '/api' + adjustedPath; } /* * This silly underscore is here to avoid a mysterious "ReferenceError: ApiClient is not defined" error. * See Issue #14. https://github.com/erikras/react-redux-universal-hot-example/issues/14 * * Remove it at your own risk. */ class _ApiClient { constructor(req) { methods.forEach((method) => this[method] = (path, { params, data } = {}) => new Promise((resolve, reject) => { const request = superagent[method](formatUrl(path)); if (params) { request.query(params); } if (__SERVER__ && req.get('cookie')) { request.set('cookie', req.get('cookie')); } if (data) { request.send(data); } request.end((err, { body } = {}) => err ? reject(body || err) : resolve(body)); })); } } const ApiClient = _ApiClient; export default ApiClient;
0bde03c00d22092e3707318675e87fe9ea2110ba
docs/acme-issuer.yaml
docs/acme-issuer.yaml
kind: Issuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging.api.letsencrypt.org/directory # Email address used for ACME registration email: user@example.com # Name of a secret used to store the ACME account private key privateKey: letsncrypt-staging # ACME dns-01 provider configurations dns-01: # Here we define a list of DNS-01 providers that can solve DNS challenges providers: # We define a provider named 'clouddns', with configuration for the # clouddns challenge provider. - name: clouddns clouddns: # A secretKeyRef to a the google cloud json service account serviceAccount: name: clouddns-service-account key: service-account.json # The project in which to update the DNS zone project: gcloud-project # We define a provider named 'cloudflare', with configuration for the # cloudflare challenge provider. - name: cloudflare cloudflare: # A secretKeyRef to a the cloudflare api key apiKey: name: cloudflare-config key: api-key # The cloudflare user account email email: cloudflare-user@example.com
apiVersion: certmanager.k8s.io/v1alpha1 kind: Issuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging.api.letsencrypt.org/directory # Email address used for ACME registration email: user@example.com # Name of a secret used to store the ACME account private key privateKey: letsncrypt-staging # ACME dns-01 provider configurations dns-01: # Here we define a list of DNS-01 providers that can solve DNS challenges providers: # We define a provider named 'clouddns', with configuration for the # clouddns challenge provider. - name: clouddns clouddns: # A secretKeyRef to a the google cloud json service account serviceAccount: name: clouddns-service-account key: service-account.json # The project in which to update the DNS zone project: gcloud-project # We define a provider named 'cloudflare', with configuration for the # cloudflare challenge provider. - name: cloudflare cloudflare: # A secretKeyRef to a the cloudflare api key apiKey: name: cloudflare-config key: api-key # The cloudflare user account email email: cloudflare-user@example.com
Add missing apiVersion to Issuer
Add missing apiVersion to Issuer
YAML
apache-2.0
dippynark/cert-manager,cert-manager/cert-manager,jetstack/cert-manager,cert-manager/cert-manager,dippynark/cert-manager,dippynark/cert-manager,jetstack-experimental/cert-manager,jetstack/cert-manager,jetstack-experimental/cert-manager,jetstack-experimental/cert-manager,cert-manager/cert-manager,jetstack/cert-manager
yaml
## Code Before: kind: Issuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging.api.letsencrypt.org/directory # Email address used for ACME registration email: user@example.com # Name of a secret used to store the ACME account private key privateKey: letsncrypt-staging # ACME dns-01 provider configurations dns-01: # Here we define a list of DNS-01 providers that can solve DNS challenges providers: # We define a provider named 'clouddns', with configuration for the # clouddns challenge provider. - name: clouddns clouddns: # A secretKeyRef to a the google cloud json service account serviceAccount: name: clouddns-service-account key: service-account.json # The project in which to update the DNS zone project: gcloud-project # We define a provider named 'cloudflare', with configuration for the # cloudflare challenge provider. - name: cloudflare cloudflare: # A secretKeyRef to a the cloudflare api key apiKey: name: cloudflare-config key: api-key # The cloudflare user account email email: cloudflare-user@example.com ## Instruction: Add missing apiVersion to Issuer ## Code After: apiVersion: certmanager.k8s.io/v1alpha1 kind: Issuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging.api.letsencrypt.org/directory # Email address used for ACME registration email: user@example.com # Name of a secret used to store the ACME account private key privateKey: letsncrypt-staging # ACME dns-01 provider configurations dns-01: # Here we define a list of DNS-01 providers that can solve DNS challenges providers: # We define a provider named 'clouddns', with configuration for the # clouddns challenge provider. - name: clouddns clouddns: # A secretKeyRef to a the google cloud json service account serviceAccount: name: clouddns-service-account key: service-account.json # The project in which to update the DNS zone project: gcloud-project # We define a provider named 'cloudflare', with configuration for the # cloudflare challenge provider. - name: cloudflare cloudflare: # A secretKeyRef to a the cloudflare api key apiKey: name: cloudflare-config key: api-key # The cloudflare user account email email: cloudflare-user@example.com
73464c8f531da3aa082f681fc263c1debcc7ad3f
app/reducers/modal/index.test.js
app/reducers/modal/index.test.js
import reducer from './'; describe('Modal reducer', () => { let initialState; let state; let actionType; let payload; const callReducer = () => reducer(state, { type: actionType, payload }); beforeEach(() => { initialState = { isOpen: false, modalName: '', modalOptions: {} }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); context('when state is present', () => { beforeEach(() => { state = initialState; payload = { name: 'Awesome Modal', someOption: 'Some option value' }; }); describe('OPEN_MODAL', () => { beforeEach(() => { actionType = 'OPEN_MODAL'; }); it('returns new state', () => { expect(callReducer()).toEqual({ isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }); }); }); describe('CLOSE_MODAL', () => { beforeEach(() => { actionType = 'CLOSE_MODAL'; state = { isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }; }); it('returns initial state', () => { expect(callReducer()).toEqual({ isOpen: false, modalName: '', modalOptions: {} }); }); }); }); });
import reducer from './'; describe('Modal reducer', () => { let initialState; let state; let actionType; let payload; const callReducer = () => reducer(state, { type: actionType, payload }); beforeEach(() => { initialState = { isOpen: false, modalName: '', modalOptions: {} }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); context('when state is present', () => { beforeEach(() => { state = initialState; payload = { name: 'Awesome Modal', someOption: 'Some option value' }; }); describe('OPEN_MODAL', () => { beforeEach(() => { actionType = 'OPEN_MODAL'; }); it('returns new state', () => { expect(callReducer()).toEqual({ isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }); }); }); describe('CLOSE_MODAL', () => { beforeEach(() => { actionType = 'CLOSE_MODAL'; state = { isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); }); }); });
Use initialState in Modal reducer spec
Use initialState in Modal reducer spec
JavaScript
mit
fs/react-base,fs/react-base,fs/react-base
javascript
## Code Before: import reducer from './'; describe('Modal reducer', () => { let initialState; let state; let actionType; let payload; const callReducer = () => reducer(state, { type: actionType, payload }); beforeEach(() => { initialState = { isOpen: false, modalName: '', modalOptions: {} }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); context('when state is present', () => { beforeEach(() => { state = initialState; payload = { name: 'Awesome Modal', someOption: 'Some option value' }; }); describe('OPEN_MODAL', () => { beforeEach(() => { actionType = 'OPEN_MODAL'; }); it('returns new state', () => { expect(callReducer()).toEqual({ isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }); }); }); describe('CLOSE_MODAL', () => { beforeEach(() => { actionType = 'CLOSE_MODAL'; state = { isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }; }); it('returns initial state', () => { expect(callReducer()).toEqual({ isOpen: false, modalName: '', modalOptions: {} }); }); }); }); }); ## Instruction: Use initialState in Modal reducer spec ## Code After: import reducer from './'; describe('Modal reducer', () => { let initialState; let state; let actionType; let payload; const callReducer = () => reducer(state, { type: actionType, payload }); beforeEach(() => { initialState = { isOpen: false, modalName: '', modalOptions: {} }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); context('when state is present', () => { beforeEach(() => { state = initialState; payload = { name: 'Awesome Modal', someOption: 'Some option value' }; }); describe('OPEN_MODAL', () => { beforeEach(() => { actionType = 'OPEN_MODAL'; }); it('returns new state', () => { expect(callReducer()).toEqual({ isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }); }); }); describe('CLOSE_MODAL', () => { beforeEach(() => { actionType = 'CLOSE_MODAL'; state = { isOpen: true, modalName: 'Awesome Modal', modalOptions: { someOption: 'Some option value' } }; }); it('returns initial state', () => { expect(callReducer()).toEqual(initialState); }); }); }); });
48a17dc27daeadbe73ef1e85e2f0dd6efa5576f0
views/editInventory.html
views/editInventory.html
<form ng-submit="addInventory()"> <fieldset> <span> <label for="name">Name:</label> <input type="text" ng-model="inventory.name" placeholder="Character/Shop Name" required /> </span> <span> <label for="coin.gp">GP:</label> <input type="number" ng-model="inventory.coin.gp" value="0" placeholder="gold pieces" required /> </span> <span> <label for="coin.sp">SP:</label> <input type="number" ng-model="inventory.coin.sp" value="0" placeholder="silver pieces" required /> </span> <span> <label for="coin.cp">CP:</label> <input type="number" ng-model="inventory.coin.cp" value="0" placeholder="copper pieces" required /> </span> </fieldset> <input type="submit" id="addBtn" value="Done" /> </form>
<form ng-submit="addInventory()"> <fieldset> <span> <label for="name">Name:</label> <input type="text" ng-model="inventory.name" placeholder="Character/Shop Name" autofocus required /> </span> <span> <label for="coin.gp">GP:</label> <input type="number" ng-model="inventory.coin.gp" value="0" placeholder="gold pieces" required /> </span> <span> <label for="coin.sp">SP:</label> <input type="number" ng-model="inventory.coin.sp" value="0" placeholder="silver pieces" required /> </span> <span> <label for="coin.cp">CP:</label> <input type="number" ng-model="inventory.coin.cp" value="0" placeholder="copper pieces" required /> </span> </fieldset> <input type="submit" id="addBtn" value="Done" /> </form>
Add autofocus to name input
Add autofocus to name input
HTML
cc0-1.0
zcdunn/inventory,zcdunn/inventory
html
## Code Before: <form ng-submit="addInventory()"> <fieldset> <span> <label for="name">Name:</label> <input type="text" ng-model="inventory.name" placeholder="Character/Shop Name" required /> </span> <span> <label for="coin.gp">GP:</label> <input type="number" ng-model="inventory.coin.gp" value="0" placeholder="gold pieces" required /> </span> <span> <label for="coin.sp">SP:</label> <input type="number" ng-model="inventory.coin.sp" value="0" placeholder="silver pieces" required /> </span> <span> <label for="coin.cp">CP:</label> <input type="number" ng-model="inventory.coin.cp" value="0" placeholder="copper pieces" required /> </span> </fieldset> <input type="submit" id="addBtn" value="Done" /> </form> ## Instruction: Add autofocus to name input ## Code After: <form ng-submit="addInventory()"> <fieldset> <span> <label for="name">Name:</label> <input type="text" ng-model="inventory.name" placeholder="Character/Shop Name" autofocus required /> </span> <span> <label for="coin.gp">GP:</label> <input type="number" ng-model="inventory.coin.gp" value="0" placeholder="gold pieces" required /> </span> <span> <label for="coin.sp">SP:</label> <input type="number" ng-model="inventory.coin.sp" value="0" placeholder="silver pieces" required /> </span> <span> <label for="coin.cp">CP:</label> <input type="number" ng-model="inventory.coin.cp" value="0" placeholder="copper pieces" required /> </span> </fieldset> <input type="submit" id="addBtn" value="Done" /> </form>
6749189ed2f354ed91a9ffd725a08f4fd657251c
app/decorators/collection_decorator.rb
app/decorators/collection_decorator.rb
class CollectionDecorator < BaseDecorator include Enumerable attr_reader :collection, :decorator delegate :exists?, :empty?, to: :collection def initialize(collection, decorator: nil) @collection = collection @decorator = decorator end def each(&block) @collection.each do |item| block.call(@decorator.try(:new, item) || item) end end end
class CollectionDecorator < BaseDecorator include Enumerable attr_reader :collection, :decorator delegate :exists?, :empty?, to: :collection def initialize(collection, decorator: nil, opts: {}) @collection = collection @decorator = decorator @opts = opts end def each @collection.each do |item| if @opts.blank? yield(@decorator.try(:new, item) || item) else yield(@decorator.try(:new, item, opts: @opts) || item) end end end end
Allow collection decorator to receive arguments to be passed to each decorator
Allow collection decorator to receive arguments to be passed to each decorator
Ruby
agpl-3.0
PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev
ruby
## Code Before: class CollectionDecorator < BaseDecorator include Enumerable attr_reader :collection, :decorator delegate :exists?, :empty?, to: :collection def initialize(collection, decorator: nil) @collection = collection @decorator = decorator end def each(&block) @collection.each do |item| block.call(@decorator.try(:new, item) || item) end end end ## Instruction: Allow collection decorator to receive arguments to be passed to each decorator ## Code After: class CollectionDecorator < BaseDecorator include Enumerable attr_reader :collection, :decorator delegate :exists?, :empty?, to: :collection def initialize(collection, decorator: nil, opts: {}) @collection = collection @decorator = decorator @opts = opts end def each @collection.each do |item| if @opts.blank? yield(@decorator.try(:new, item) || item) else yield(@decorator.try(:new, item, opts: @opts) || item) end end end end
a08fb84be93610ecd7851e16daeaeb1d175df74c
Sources/HTMLRange.h
Sources/HTMLRange.h
// // HTMLRange.h // HTMLKit // // Created by Iska on 20/11/16. // Copyright © 2016 BrainCookie. All rights reserved. // #import <Foundation/Foundation.h> @interface HTMLRange : NSObject @end
// // HTMLRange.h // HTMLKit // // Created by Iska on 20/11/16. // Copyright © 2016 BrainCookie. All rights reserved. // #import "HTMLNode.h" /** A HTML Range, represents a sequence of content within a node tree. Each range has a start and an end which are boundary points. A boundary point is a tuple consisting of a node and a non-negative numeric offset. https://dom.spec.whatwg.org/#ranges */ @interface HTMLRange : NSObject /** The node of the start boundary point. */ @property (nonatomic, readonly, strong) HTMLNode *startContainer; /** The offset of the start boundary point. */ @property (nonatomic, readonly, assign) NSUInteger startOffset; /** The node of the end boundary point. */ @property (nonatomic, readonly, strong) HTMLNode *endContainer; /** The offset of the end boundary point. */ @property (nonatomic, readonly, assign) NSUInteger endOffset; /** Checks whether the range is collapsed, i.e. if start is the same as end. @return `YES` if the range is collapsed, `NO` otherwise. */ @property (nonatomic, readonly, assign, getter=isCollapsed) BOOL collapsed; /** The common container node that contains both start and end nodes. */ @property (nonatomic, readonly, weak) HTMLNode *commonAncestorContainer; @end
Add properties to HTML Range interface
Add properties to HTML Range interface See: https://dom.spec.whatwg.org/#range
C
mit
iabudiab/HTMLKit,iabudiab/HTMLKit,iabudiab/HTMLKit,iabudiab/HTMLKit,iabudiab/HTMLKit
c
## Code Before: // // HTMLRange.h // HTMLKit // // Created by Iska on 20/11/16. // Copyright © 2016 BrainCookie. All rights reserved. // #import <Foundation/Foundation.h> @interface HTMLRange : NSObject @end ## Instruction: Add properties to HTML Range interface See: https://dom.spec.whatwg.org/#range ## Code After: // // HTMLRange.h // HTMLKit // // Created by Iska on 20/11/16. // Copyright © 2016 BrainCookie. All rights reserved. // #import "HTMLNode.h" /** A HTML Range, represents a sequence of content within a node tree. Each range has a start and an end which are boundary points. A boundary point is a tuple consisting of a node and a non-negative numeric offset. https://dom.spec.whatwg.org/#ranges */ @interface HTMLRange : NSObject /** The node of the start boundary point. */ @property (nonatomic, readonly, strong) HTMLNode *startContainer; /** The offset of the start boundary point. */ @property (nonatomic, readonly, assign) NSUInteger startOffset; /** The node of the end boundary point. */ @property (nonatomic, readonly, strong) HTMLNode *endContainer; /** The offset of the end boundary point. */ @property (nonatomic, readonly, assign) NSUInteger endOffset; /** Checks whether the range is collapsed, i.e. if start is the same as end. @return `YES` if the range is collapsed, `NO` otherwise. */ @property (nonatomic, readonly, assign, getter=isCollapsed) BOOL collapsed; /** The common container node that contains both start and end nodes. */ @property (nonatomic, readonly, weak) HTMLNode *commonAncestorContainer; @end
80da1759c8d133aabc3bb9f73f4a6c54451e7aad
aeron-system-tests/src/test/java/io/aeron/PrintEnvInfo.java
aeron-system-tests/src/test/java/io/aeron/PrintEnvInfo.java
package io.aeron; import org.junit.jupiter.api.Test; class PrintEnvInfo { @Test void test() { System.out.println("========================="); System.out.println("[PrintEnvInfo] System properties:"); System.out.println("========================="); System.getProperties().entrySet().stream() .filter(e -> ((String)e.getKey()).contains("java.")) .forEach(e -> System.out.println("- " + e.getKey() + ": " + e.getValue())); System.out.println("\n========================="); System.out.println("[PrintEnvInfo] ENV variables:"); System.out.println("========================="); for (final String env : new String[]{ "JAVA_HOME", "BUILD_JAVA_HOME", "BUILD_JAVA_VERSION", "PATH" }) { System.out.println("- " + env + ": " + System.getenv(env)); } } }
/* * Copyright 2014-2021 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.aeron; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; class PrintEnvInfo { @Disabled @Test void test() { System.out.println("========================="); System.out.println("[PrintEnvInfo] System properties:"); System.out.println("========================="); System.getProperties().entrySet().stream() .filter((e) -> ((String)e.getKey()).contains("java.")) .forEach((e) -> System.out.println("- " + e.getKey() + ": " + e.getValue())); System.out.println("\n========================="); System.out.println("[PrintEnvInfo] ENV variables:"); System.out.println("========================="); for (final String env : new String[]{ "JAVA_HOME", "BUILD_JAVA_HOME", "BUILD_JAVA_VERSION", "PATH" }) { System.out.println("- " + env + ": " + System.getenv(env)); } } }
Disable the printing of env information.
[Java] Disable the printing of env information.
Java
apache-2.0
mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron,mikeb01/Aeron
java
## Code Before: package io.aeron; import org.junit.jupiter.api.Test; class PrintEnvInfo { @Test void test() { System.out.println("========================="); System.out.println("[PrintEnvInfo] System properties:"); System.out.println("========================="); System.getProperties().entrySet().stream() .filter(e -> ((String)e.getKey()).contains("java.")) .forEach(e -> System.out.println("- " + e.getKey() + ": " + e.getValue())); System.out.println("\n========================="); System.out.println("[PrintEnvInfo] ENV variables:"); System.out.println("========================="); for (final String env : new String[]{ "JAVA_HOME", "BUILD_JAVA_HOME", "BUILD_JAVA_VERSION", "PATH" }) { System.out.println("- " + env + ": " + System.getenv(env)); } } } ## Instruction: [Java] Disable the printing of env information. ## Code After: /* * Copyright 2014-2021 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.aeron; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; class PrintEnvInfo { @Disabled @Test void test() { System.out.println("========================="); System.out.println("[PrintEnvInfo] System properties:"); System.out.println("========================="); System.getProperties().entrySet().stream() .filter((e) -> ((String)e.getKey()).contains("java.")) .forEach((e) -> System.out.println("- " + e.getKey() + ": " + e.getValue())); System.out.println("\n========================="); System.out.println("[PrintEnvInfo] ENV variables:"); System.out.println("========================="); for (final String env : new String[]{ "JAVA_HOME", "BUILD_JAVA_HOME", "BUILD_JAVA_VERSION", "PATH" }) { System.out.println("- " + env + ": " + System.getenv(env)); } } }
671b054079c2c9d3b95011b5d7336c5c16fa8dfc
pom.xml
pom.xml
<project> <modelVersion>4.0.0</modelVersion> <groupId>com.truesighpulse</groupId> <artifactId>cassandra-plugin</artifactId> <version>0.9.0</version> <dependencies> <dependency> <groupId>com.boundary</groupId> <artifactId>java-plugin-sdk</artifactId> <version>0.6.0</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/resources/java-plugin-sdk-0.6.0-jar-with-dependencies.jar</systemPath> </dependency> </dependencies> </project>
<project> <modelVersion>4.0.0</modelVersion> <groupId>com.truesighpulse</groupId> <artifactId>cassandra-plugin</artifactId> <version>0.9.0</version> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <configuration> <classpathScope>compile</classpathScope> <mainClass>com.truesightpulse.plugin.Cassandra</mainClass> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.boundary</groupId> <artifactId>java-plugin-sdk</artifactId> <version>0.6.0</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/resources/java-plugin-sdk-0.6.0-jar-with-dependencies.jar</systemPath> </dependency> </dependencies> </project>
Allow to run plugin with exec:java for testing.
Allow to run plugin with exec:java for testing. Signed-off-by: GabrielNicolasAvellaneda <83a8591a9a34d9745961eaad83d1d871cc3e5445@gmail.com>
XML
apache-2.0
GabrielNicolasAvellaneda/boundary-plugin-cassandra,boundary/truesightpulse-plugin-cassandra,boundary/boundary-plugin-cassandra,boundary/meter-plugin-cassandra
xml
## Code Before: <project> <modelVersion>4.0.0</modelVersion> <groupId>com.truesighpulse</groupId> <artifactId>cassandra-plugin</artifactId> <version>0.9.0</version> <dependencies> <dependency> <groupId>com.boundary</groupId> <artifactId>java-plugin-sdk</artifactId> <version>0.6.0</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/resources/java-plugin-sdk-0.6.0-jar-with-dependencies.jar</systemPath> </dependency> </dependencies> </project> ## Instruction: Allow to run plugin with exec:java for testing. Signed-off-by: GabrielNicolasAvellaneda <83a8591a9a34d9745961eaad83d1d871cc3e5445@gmail.com> ## Code After: <project> <modelVersion>4.0.0</modelVersion> <groupId>com.truesighpulse</groupId> <artifactId>cassandra-plugin</artifactId> <version>0.9.0</version> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.4.0</version> <configuration> <classpathScope>compile</classpathScope> <mainClass>com.truesightpulse.plugin.Cassandra</mainClass> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.boundary</groupId> <artifactId>java-plugin-sdk</artifactId> <version>0.6.0</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/resources/java-plugin-sdk-0.6.0-jar-with-dependencies.jar</systemPath> </dependency> </dependencies> </project>
24fa5e3cfdf41b6d948aa7627651b6f95ada83e2
week-6/guessing-game/my_solution.rb
week-6/guessing-game/my_solution.rb
class GuessingGame def initialize(answer) # Your initialization code goes here end # Make sure you define the other required methods, too end # Refactored Solution # Reflection
class GuessingGame def initialize(answer) # Your initialization code goes here @answer = answer end def guess(integer) @guess = integer if integer < @answer :low elsif integer > @answer :high else :correct end end def solved? if @answer == @guess return true else return false end end end # Refactored Solution class GuessingGame def initialize(answer) # Your initialization code goes here @answer = answer end def guess(integer) @guess = integer if integer < @answer :low elsif integer > @answer :high else :correct end end def solved? if @answer == @guess return true else return false end end end # Reflection =begin 1. How do instance variables and methods represent the characteristics and behaviors (actions) of a real-world object? The instance variable represents attributes of an object in real the real world. Instance methods represent the behavior of an object in the real world. 2. When should you use instance variables? What do they do for you? Instance variables should be used when accessing information in the same class. The allow you specify methods to specific variables. As mentioned above, this allows you to call methods on variables with different attributes. 3. Explain how to use flow control. Did you have any trouble using it in this challenge? If so, what did you struggle with? Control flow is using branches to determine the output of a given input. Depending on the input, control flow can guide the output to be numerous different results. I used if-else statements within my code to determine if the input was too low, too high, or the correct answer. Then in my .solved? method, I used control flow to either return true or false depending on if the solution was correct or incorrect. 4. Why do you think this code requires you to return symbols? What are the benefits of using symbols? I think this code requires us to use symbols because they are easier to utilize. The symbol outputs can be called upon in additional code to make it easier to translate and process the data. Symbols are also permanent and can't be changed. Outputting a permanent result challenge is necessary as the user cannot manipulate the result once entered. =end
Add guessing-game solution & reflection
Add guessing-game solution & reflection
Ruby
mit
Kunal57/phase-0,Kunal57/phase-0
ruby
## Code Before: class GuessingGame def initialize(answer) # Your initialization code goes here end # Make sure you define the other required methods, too end # Refactored Solution # Reflection ## Instruction: Add guessing-game solution & reflection ## Code After: class GuessingGame def initialize(answer) # Your initialization code goes here @answer = answer end def guess(integer) @guess = integer if integer < @answer :low elsif integer > @answer :high else :correct end end def solved? if @answer == @guess return true else return false end end end # Refactored Solution class GuessingGame def initialize(answer) # Your initialization code goes here @answer = answer end def guess(integer) @guess = integer if integer < @answer :low elsif integer > @answer :high else :correct end end def solved? if @answer == @guess return true else return false end end end # Reflection =begin 1. How do instance variables and methods represent the characteristics and behaviors (actions) of a real-world object? The instance variable represents attributes of an object in real the real world. Instance methods represent the behavior of an object in the real world. 2. When should you use instance variables? What do they do for you? Instance variables should be used when accessing information in the same class. The allow you specify methods to specific variables. As mentioned above, this allows you to call methods on variables with different attributes. 3. Explain how to use flow control. Did you have any trouble using it in this challenge? If so, what did you struggle with? Control flow is using branches to determine the output of a given input. Depending on the input, control flow can guide the output to be numerous different results. I used if-else statements within my code to determine if the input was too low, too high, or the correct answer. Then in my .solved? method, I used control flow to either return true or false depending on if the solution was correct or incorrect. 4. Why do you think this code requires you to return symbols? What are the benefits of using symbols? I think this code requires us to use symbols because they are easier to utilize. The symbol outputs can be called upon in additional code to make it easier to translate and process the data. Symbols are also permanent and can't be changed. Outputting a permanent result challenge is necessary as the user cannot manipulate the result once entered. =end
6170db9aabaf549097ba572c4294c285fd052679
appveyor.yml
appveyor.yml
configuration: Release os: Visual Studio 2015 CTP install: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% before_build: - nuget restore Nine.Graphics.sln build: parallel: true publish_nuget: true publish_nuget_symbols: true
configuration: Release os: Visual Studio 2015 CTP install: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% before_build: - nuget restore Nine.Graphics.sln build: parallel: true publish_nuget: true version: 1.0.{build} assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' deploy: - provider: NuGet api_key: secure: /Aez/maYDiX55BgGX9EkbhXBaBySsfdKifgB9SZxqySOrwtMVgPf7jOwS2XwKYJR skip_symbols: true on: branch: master
Deploy to nuget on master has changed
Deploy to nuget on master has changed
YAML
mit
yufeih/Nine.Graphics,studio-nine/Nine.Graphics
yaml
## Code Before: configuration: Release os: Visual Studio 2015 CTP install: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% before_build: - nuget restore Nine.Graphics.sln build: parallel: true publish_nuget: true publish_nuget_symbols: true ## Instruction: Deploy to nuget on master has changed ## Code After: configuration: Release os: Visual Studio 2015 CTP install: - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% before_build: - nuget restore Nine.Graphics.sln build: parallel: true publish_nuget: true version: 1.0.{build} assembly_info: patch: true file: '**\AssemblyInfo.*' assembly_version: '{version}' assembly_file_version: '{version}' assembly_informational_version: '{version}' deploy: - provider: NuGet api_key: secure: /Aez/maYDiX55BgGX9EkbhXBaBySsfdKifgB9SZxqySOrwtMVgPf7jOwS2XwKYJR skip_symbols: true on: branch: master
d48320a593e0055d4a95df0a3f664c6054e4b5f3
src/routes/Gavin/components/SelectedPhenotypes.js
src/routes/Gavin/components/SelectedPhenotypes.js
import React, { Component, PropTypes } from 'react' import { FormGroup, Checkbox, Glyphicon } from 'react-bootstrap' const propTypes = { phenotypes : PropTypes.array, togglePhenotype : PropTypes.func, removePhenotype : PropTypes.func } class SelectedPhenotypes extends Component { render () { const { phenotypes, togglePhenotype, removePhenotype } = this.props return <div> Selected phenotypes: <form> <FormGroup> {phenotypes.map((pheno, index) => <Checkbox inline checked={pheno.active} onClick={() => togglePhenotype(index)}> {pheno.value.name} <Glyphicon glyph='remove' onClick={() => removePhenotype(index)} /> </Checkbox>)} </FormGroup> </form> </div> } } SelectedPhenotypes.propTypes = propTypes export default SelectedPhenotypes
import React, { Component, PropTypes } from 'react' import { FormGroup, Checkbox, Glyphicon } from 'react-bootstrap' const propTypes = { phenotypes : PropTypes.array, togglePhenotype : PropTypes.func, removePhenotype : PropTypes.func } class SelectedPhenotypes extends Component { render () { const { phenotypes, togglePhenotype, removePhenotype } = this.props return <div> Selected phenotypes: <form> <FormGroup> {phenotypes.map((pheno, index) => <Checkbox key={index} inline checked={pheno.active} onChange={() => togglePhenotype(index)}> {pheno.value.name} <Glyphicon glyph='remove' onClick={() => removePhenotype(index)} /> </Checkbox>)} </FormGroup> </form> </div> } } SelectedPhenotypes.propTypes = propTypes export default SelectedPhenotypes
Fix warning: checkbox without onChange attribute
Fix warning: checkbox without onChange attribute
JavaScript
mit
fdlk/gavin,fdlk/gavin
javascript
## Code Before: import React, { Component, PropTypes } from 'react' import { FormGroup, Checkbox, Glyphicon } from 'react-bootstrap' const propTypes = { phenotypes : PropTypes.array, togglePhenotype : PropTypes.func, removePhenotype : PropTypes.func } class SelectedPhenotypes extends Component { render () { const { phenotypes, togglePhenotype, removePhenotype } = this.props return <div> Selected phenotypes: <form> <FormGroup> {phenotypes.map((pheno, index) => <Checkbox inline checked={pheno.active} onClick={() => togglePhenotype(index)}> {pheno.value.name} <Glyphicon glyph='remove' onClick={() => removePhenotype(index)} /> </Checkbox>)} </FormGroup> </form> </div> } } SelectedPhenotypes.propTypes = propTypes export default SelectedPhenotypes ## Instruction: Fix warning: checkbox without onChange attribute ## Code After: import React, { Component, PropTypes } from 'react' import { FormGroup, Checkbox, Glyphicon } from 'react-bootstrap' const propTypes = { phenotypes : PropTypes.array, togglePhenotype : PropTypes.func, removePhenotype : PropTypes.func } class SelectedPhenotypes extends Component { render () { const { phenotypes, togglePhenotype, removePhenotype } = this.props return <div> Selected phenotypes: <form> <FormGroup> {phenotypes.map((pheno, index) => <Checkbox key={index} inline checked={pheno.active} onChange={() => togglePhenotype(index)}> {pheno.value.name} <Glyphicon glyph='remove' onClick={() => removePhenotype(index)} /> </Checkbox>)} </FormGroup> </form> </div> } } SelectedPhenotypes.propTypes = propTypes export default SelectedPhenotypes
e019355e2f1c2679b5ea772cbaed1eec42c1e117
README.md
README.md
linux-driver-management ======================= Linux Driver Management (LDM) provides the core functionality required for integration of drivers into modern Linux distributions. It provides centralised tooling for detection and configuration for drivers, with a specific focus currently on display drivers. Linux Driver Management is a [Solus project](https://solus-project.com/) ![logo](https://build.solus-project.com/logo.png) NOTE: LDM is currently under heavy development, and should not be used yet. Basic core design ----------------- The initial core design will focus solely on the detection API before we bring in vtable based driver management for the agnostic distro-installation bits. Right now the focus is a sane API for backend detection. LdmManager { /* private */ } ldm_manager_get_devices(manager, CONSTRAINT); ldm_manager_get_all_devices(manager); LdmDevice { type: str vendor: str } /* Hybrid configurations merged internally */ LdmHybridDevice { { LdmDevice .type = HYBRID } devices: LdmDevice[] } License ------- Copyright © 2016 Ikey Doherty <ikey@solus-project.com> `linux-driver-management` is available under the terms of the `LGPL-2.1`
linux-driver-management ======================= Linux Driver Management (LDM) provides the core functionality required for integration of drivers into modern Linux distributions. It provides centralised tooling for detection and configuration for drivers, with a specific focus currently on display drivers. Linux Driver Management is a [Solus project](https://solus-project.com/) ![logo](https://build.solus-project.com/logo.png) NOTE: LDM is currently under heavy development, and should not be used yet. Please also note that the name is only a *working name*. We're actively seeking a replacement and when a suitable name is found, it'll be replaced. The working name was chosen so that the project could be started quickly without further delays. If you have a suggestion, open an issue please :) Basic core design ----------------- The initial core design will focus solely on the detection API before we bring in vtable based driver management for the agnostic distro-installation bits. Right now the focus is a sane API for backend detection. LdmManager { /* private */ } ldm_manager_get_devices(manager, CONSTRAINT); ldm_manager_get_all_devices(manager); LdmDevice { type: str vendor: str } /* Hybrid configurations merged internally */ LdmHybridDevice { { LdmDevice .type = HYBRID } devices: LdmDevice[] } License ------- Copyright © 2016 Ikey Doherty <ikey@solus-project.com> `linux-driver-management` is available under the terms of the `LGPL-2.1`
Make it crystal clear the name is only a working-name, nothing more
Make it crystal clear the name is only a working-name, nothing more Signed-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>
Markdown
lgpl-2.1
solus-project/linux-driver-management,solus-project/linux-driver-management
markdown
## Code Before: linux-driver-management ======================= Linux Driver Management (LDM) provides the core functionality required for integration of drivers into modern Linux distributions. It provides centralised tooling for detection and configuration for drivers, with a specific focus currently on display drivers. Linux Driver Management is a [Solus project](https://solus-project.com/) ![logo](https://build.solus-project.com/logo.png) NOTE: LDM is currently under heavy development, and should not be used yet. Basic core design ----------------- The initial core design will focus solely on the detection API before we bring in vtable based driver management for the agnostic distro-installation bits. Right now the focus is a sane API for backend detection. LdmManager { /* private */ } ldm_manager_get_devices(manager, CONSTRAINT); ldm_manager_get_all_devices(manager); LdmDevice { type: str vendor: str } /* Hybrid configurations merged internally */ LdmHybridDevice { { LdmDevice .type = HYBRID } devices: LdmDevice[] } License ------- Copyright © 2016 Ikey Doherty <ikey@solus-project.com> `linux-driver-management` is available under the terms of the `LGPL-2.1` ## Instruction: Make it crystal clear the name is only a working-name, nothing more Signed-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com> ## Code After: linux-driver-management ======================= Linux Driver Management (LDM) provides the core functionality required for integration of drivers into modern Linux distributions. It provides centralised tooling for detection and configuration for drivers, with a specific focus currently on display drivers. Linux Driver Management is a [Solus project](https://solus-project.com/) ![logo](https://build.solus-project.com/logo.png) NOTE: LDM is currently under heavy development, and should not be used yet. Please also note that the name is only a *working name*. We're actively seeking a replacement and when a suitable name is found, it'll be replaced. The working name was chosen so that the project could be started quickly without further delays. If you have a suggestion, open an issue please :) Basic core design ----------------- The initial core design will focus solely on the detection API before we bring in vtable based driver management for the agnostic distro-installation bits. Right now the focus is a sane API for backend detection. LdmManager { /* private */ } ldm_manager_get_devices(manager, CONSTRAINT); ldm_manager_get_all_devices(manager); LdmDevice { type: str vendor: str } /* Hybrid configurations merged internally */ LdmHybridDevice { { LdmDevice .type = HYBRID } devices: LdmDevice[] } License ------- Copyright © 2016 Ikey Doherty <ikey@solus-project.com> `linux-driver-management` is available under the terms of the `LGPL-2.1`
31f4b41a2ea1f9e38285c15d8fc119145874112e
test/TestSites/project.json
test/TestSites/project.json
{ "version": "1.0.0-*", "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.WebListener": "0.1.0-*", "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "frameworks": { "dnx451": {}, "dnxcore50": { "dependencies": { "System.Net.Primitives": "4.0.11-*", "System.Runtime": "4.0.21-*" } } }, "commands": { "web": "TestSites" }, "compilationOptions": { "emitEntryPoint": true }, "publishExclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ], "exclude": [ "wwwroot", "node_modules", "bower_components" ] }
{ "version": "1.0.0-*", "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "frameworks": { "dnx451": {}, "dnxcore50": { "dependencies": { "System.Net.Primitives": "4.0.11-*", "System.Runtime": "4.0.21-*" } } }, "commands": { "web": "TestSites" }, "compilationOptions": { "emitEntryPoint": true }, "publishExclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ], "exclude": [ "wwwroot", "node_modules", "bower_components" ] }
Remove unused broken WebListener dependency.
Remove unused broken WebListener dependency.
JSON
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
json
## Code Before: { "version": "1.0.0-*", "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.WebListener": "0.1.0-*", "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "frameworks": { "dnx451": {}, "dnxcore50": { "dependencies": { "System.Net.Primitives": "4.0.11-*", "System.Runtime": "4.0.21-*" } } }, "commands": { "web": "TestSites" }, "compilationOptions": { "emitEntryPoint": true }, "publishExclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ], "exclude": [ "wwwroot", "node_modules", "bower_components" ] } ## Instruction: Remove unused broken WebListener dependency. ## Code After: { "version": "1.0.0-*", "dependencies": { "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.WebUtilities": "1.0.0-*", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0-*", "Microsoft.Extensions.Configuration.Json": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*" }, "frameworks": { "dnx451": {}, "dnxcore50": { "dependencies": { "System.Net.Primitives": "4.0.11-*", "System.Runtime": "4.0.21-*" } } }, "commands": { "web": "TestSites" }, "compilationOptions": { "emitEntryPoint": true }, "publishExclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ], "exclude": [ "wwwroot", "node_modules", "bower_components" ] }
907202bf9e55afa6dc8c076cb92a003695708200
docs/developer_docs.rst
docs/developer_docs.rst
Developer Docs ============== Documentation for all the under-the-hood classes and functions that most users won't need to interact with. Classes ------------- .. autoclass:: parameter.UVParameter :members: .. autoclass:: parameter.AntPositionParameter :members: .. autoclass:: parameter.AngleParameter :members: .. autoclass:: parameter.LocationParameter :members: .. autoclass:: uvbase.UVBase :members: .. autoclass:: uvfits.UVFITS :members: .. autoclass:: miriad.Miriad :members: .. autoclass:: fhd.FHD :members: .. autoclass:: calfits.CALFITS :members: .. autoclass:: telescopes.Telescope :members: Functions ---------- .. autofunction:: telescopes.known_telescopes .. autofunction:: telescopes.get_telescope Utility Functions ----------------- .. automodule:: utils :members:
Developer Docs ============== Documentation for all the under-the-hood classes and functions that most users won't need to interact with. Classes ------------- .. autoclass:: parameter.UVParameter :members: .. autoclass:: parameter.AntPositionParameter :members: .. autoclass:: parameter.AngleParameter :members: .. autoclass:: parameter.LocationParameter :members: .. autoclass:: uvbase.UVBase :members: .. autoclass:: uvdata.UVData :members: .. autoclass:: uvfits.UVFITS :members: .. autoclass:: miriad.Miriad :members: .. autoclass:: fhd.FHD :members: .. autoclass:: calfits.CALFITS :members: .. autoclass:: telescopes.Telescope :members: Functions ---------- .. autofunction:: telescopes.known_telescopes .. autofunction:: telescopes.get_telescope Utility Functions ----------------- .. automodule:: utils :members:
Add UVData class to developer docs
Add UVData class to developer docs
reStructuredText
bsd-2-clause
HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata,HERA-Team/pyuvdata
restructuredtext
## Code Before: Developer Docs ============== Documentation for all the under-the-hood classes and functions that most users won't need to interact with. Classes ------------- .. autoclass:: parameter.UVParameter :members: .. autoclass:: parameter.AntPositionParameter :members: .. autoclass:: parameter.AngleParameter :members: .. autoclass:: parameter.LocationParameter :members: .. autoclass:: uvbase.UVBase :members: .. autoclass:: uvfits.UVFITS :members: .. autoclass:: miriad.Miriad :members: .. autoclass:: fhd.FHD :members: .. autoclass:: calfits.CALFITS :members: .. autoclass:: telescopes.Telescope :members: Functions ---------- .. autofunction:: telescopes.known_telescopes .. autofunction:: telescopes.get_telescope Utility Functions ----------------- .. automodule:: utils :members: ## Instruction: Add UVData class to developer docs ## Code After: Developer Docs ============== Documentation for all the under-the-hood classes and functions that most users won't need to interact with. Classes ------------- .. autoclass:: parameter.UVParameter :members: .. autoclass:: parameter.AntPositionParameter :members: .. autoclass:: parameter.AngleParameter :members: .. autoclass:: parameter.LocationParameter :members: .. autoclass:: uvbase.UVBase :members: .. autoclass:: uvdata.UVData :members: .. autoclass:: uvfits.UVFITS :members: .. autoclass:: miriad.Miriad :members: .. autoclass:: fhd.FHD :members: .. autoclass:: calfits.CALFITS :members: .. autoclass:: telescopes.Telescope :members: Functions ---------- .. autofunction:: telescopes.known_telescopes .. autofunction:: telescopes.get_telescope Utility Functions ----------------- .. automodule:: utils :members:
ee649468df406877ccc51a1042e5657f11caa57d
oauthenticator/tests/test_openshift.py
oauthenticator/tests/test_openshift.py
from pytest import fixture, mark from ..openshift import OpenShiftOAuthenticator from .mocks import setup_oauth_mock def user_model(username): """Return a user model""" return { 'metadata': { 'name': username, } } @fixture def openshift_client(client): setup_oauth_mock(client, host=['localhost'], access_token_path='/oauth/token', user_path='/oapi/v1/users/~', ) return client async def test_openshift(openshift_client): authenticator = OpenShiftOAuthenticator() handler = openshift_client.handler_for_user(user_model('wash')) user_info = await authenticator.authenticate(handler) assert sorted(user_info) == ['auth_state', 'name'] name = user_info['name'] assert name == 'wash' auth_state = user_info['auth_state'] assert 'access_token' in auth_state assert 'openshift_user' in auth_state
from pytest import fixture, mark from ..openshift import OpenShiftOAuthenticator from .mocks import setup_oauth_mock def user_model(username): """Return a user model""" return { 'metadata': { 'name': username, } } @fixture def openshift_client(client): setup_oauth_mock(client, host=['localhost'], access_token_path='/oauth/token', user_path='/apis/user.openshift.io/v1/users/~', ) return client async def test_openshift(openshift_client): authenticator = OpenShiftOAuthenticator() handler = openshift_client.handler_for_user(user_model('wash')) user_info = await authenticator.authenticate(handler) assert sorted(user_info) == ['auth_state', 'name'] name = user_info['name'] assert name == 'wash' auth_state = user_info['auth_state'] assert 'access_token' in auth_state assert 'openshift_user' in auth_state
Update test harness to use new REST API path for OpenShift.
Update test harness to use new REST API path for OpenShift.
Python
bsd-3-clause
minrk/oauthenticator,NickolausDS/oauthenticator,jupyter/oauthenticator,jupyter/oauthenticator,maltevogl/oauthenticator,jupyterhub/oauthenticator
python
## Code Before: from pytest import fixture, mark from ..openshift import OpenShiftOAuthenticator from .mocks import setup_oauth_mock def user_model(username): """Return a user model""" return { 'metadata': { 'name': username, } } @fixture def openshift_client(client): setup_oauth_mock(client, host=['localhost'], access_token_path='/oauth/token', user_path='/oapi/v1/users/~', ) return client async def test_openshift(openshift_client): authenticator = OpenShiftOAuthenticator() handler = openshift_client.handler_for_user(user_model('wash')) user_info = await authenticator.authenticate(handler) assert sorted(user_info) == ['auth_state', 'name'] name = user_info['name'] assert name == 'wash' auth_state = user_info['auth_state'] assert 'access_token' in auth_state assert 'openshift_user' in auth_state ## Instruction: Update test harness to use new REST API path for OpenShift. ## Code After: from pytest import fixture, mark from ..openshift import OpenShiftOAuthenticator from .mocks import setup_oauth_mock def user_model(username): """Return a user model""" return { 'metadata': { 'name': username, } } @fixture def openshift_client(client): setup_oauth_mock(client, host=['localhost'], access_token_path='/oauth/token', user_path='/apis/user.openshift.io/v1/users/~', ) return client async def test_openshift(openshift_client): authenticator = OpenShiftOAuthenticator() handler = openshift_client.handler_for_user(user_model('wash')) user_info = await authenticator.authenticate(handler) assert sorted(user_info) == ['auth_state', 'name'] name = user_info['name'] assert name == 'wash' auth_state = user_info['auth_state'] assert 'access_token' in auth_state assert 'openshift_user' in auth_state
d79f97ff4cee592dcfa73c6d36b1850042932498
lib/browserNative.js
lib/browserNative.js
"use strict"; /*global window*/ exports.encode = window.btoa; exports.decode = window.atob;
"use strict"; /*global window*/ exports.encode = window.btoa.bind(window); exports.decode = window.atob.bind(window);
Use `bind` to give context to `atob` and `btoa`.
Use `bind` to give context to `atob` and `btoa`.
JavaScript
mit
YuzuJS/base64it
javascript
## Code Before: "use strict"; /*global window*/ exports.encode = window.btoa; exports.decode = window.atob; ## Instruction: Use `bind` to give context to `atob` and `btoa`. ## Code After: "use strict"; /*global window*/ exports.encode = window.btoa.bind(window); exports.decode = window.atob.bind(window);
711dec86960bb73a30fef3e19f7fe099f2c08ba0
Sources/ApodidaeCore/Command.swift
Sources/ApodidaeCore/Command.swift
import Foundation public enum Command { case search(String) case info(String) case home(String) case add(String) public static var exampleUsage: String { return """ Commands: apo search <query> Search for the query on all available sources. apo info <package_name> Get additional info to a package. apo home <package_name> Open the homepage of a package in your browser. apo add <package_name> Add the given package to your Package.swift's dependencies. """ } public init?(from strings: [String]) { guard strings.count > 0, let first = strings.first else { return nil } switch first.lowercased() { case "search", "s": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .search(package) case "info", "i": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .info(package) case "home", "h": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .home(package) case "add", "a": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .add(package) default: return nil } } }
import Foundation public enum Command { case search(String) case info(String) case home(String) case add(String) public static var exampleUsage: String { return """ Commands: apo search <query> Search for packages matching query. apo info <package_name> Get additional info to a package. apo home <package_name> Open the homepage of a package in your browser. apo add <package_name> Add the given package to your Package.swift's dependencies. """ } public init?(from strings: [String]) { guard strings.count > 0, let first = strings.first else { return nil } switch first.lowercased() { case "search", "s": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .search(package) case "info", "i": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .info(package) case "home", "h": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .home(package) case "add", "a": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .add(package) default: return nil } } }
Update old `apo search` command helper
Update old `apo search` command helper
Swift
mit
kiliankoe/apodidae,kiliankoe/apodidae
swift
## Code Before: import Foundation public enum Command { case search(String) case info(String) case home(String) case add(String) public static var exampleUsage: String { return """ Commands: apo search <query> Search for the query on all available sources. apo info <package_name> Get additional info to a package. apo home <package_name> Open the homepage of a package in your browser. apo add <package_name> Add the given package to your Package.swift's dependencies. """ } public init?(from strings: [String]) { guard strings.count > 0, let first = strings.first else { return nil } switch first.lowercased() { case "search", "s": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .search(package) case "info", "i": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .info(package) case "home", "h": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .home(package) case "add", "a": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .add(package) default: return nil } } } ## Instruction: Update old `apo search` command helper ## Code After: import Foundation public enum Command { case search(String) case info(String) case home(String) case add(String) public static var exampleUsage: String { return """ Commands: apo search <query> Search for packages matching query. apo info <package_name> Get additional info to a package. apo home <package_name> Open the homepage of a package in your browser. apo add <package_name> Add the given package to your Package.swift's dependencies. """ } public init?(from strings: [String]) { guard strings.count > 0, let first = strings.first else { return nil } switch first.lowercased() { case "search", "s": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .search(package) case "info", "i": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .info(package) case "home", "h": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .home(package) case "add", "a": guard strings.count >= 2 else { return nil } let package = strings.dropFirst().joined(separator: " ") self = .add(package) default: return nil } } }
b00c4e57d2728ece556791d9604c7dd8be92b0e1
metadata/org.blockinger.game.txt
metadata/org.blockinger.game.txt
Category:Games License:GPLv3+ Web Site: Source Code:https://github.com/vocollapse/Blockinger Issue Tracker:https://github.com/vocollapse/Blockinger/issues Donate:https://www.paypal.com/de/cgi-bin/webscr?cmd=_flow&SESSION=EZMfv9YIOooYMruwVhQNql39Sp8MNFgPbf11YpRpF8JamhkVUdIJ1sfnKBu&dispatch=5885d80a13c0db1f8e263663d3faee8d5348ead9d61c709ee8c979deef3ea735 Summary:Tetris clone Description: Clone of the classic Tetris game for Android. Includes many levels of difficulty and a clean, intuitive user interface. . Repo Type:git Repo:https://github.com/vocollapse/Blockinger Build Version:1.0,1,v1.0,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Auto Update Mode:None Update Check Mode:Tags Current Version:1.4.2 Current Version Code:6
Category:Games License:GPLv3+ Web Site: Source Code:https://github.com/vocollapse/Blockinger Issue Tracker:https://github.com/vocollapse/Blockinger/issues Donate:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H6VS9SNRHMJSS Summary:Tetris clone Description: Clone of the classic Tetris game for Android. Includes many levels of difficulty and a clean, intuitive user interface. . Repo Type:git Repo:https://github.com/vocollapse/Blockinger Build Version:1.0,1,v1.0,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.4,7,v1.4.4-nomusic,target=android-17,prebuild=rm -rf gen bin .settings Auto Update Mode:None Update Check Mode:Tags Current Version:1.4.4 Current Version Code:7
Fix blockinger donate link, update to 1.4.4
Fix blockinger donate link, update to 1.4.4
Text
agpl-3.0
f-droid/fdroid-data,f-droid/fdroiddata,f-droid/fdroiddata
text
## Code Before: Category:Games License:GPLv3+ Web Site: Source Code:https://github.com/vocollapse/Blockinger Issue Tracker:https://github.com/vocollapse/Blockinger/issues Donate:https://www.paypal.com/de/cgi-bin/webscr?cmd=_flow&SESSION=EZMfv9YIOooYMruwVhQNql39Sp8MNFgPbf11YpRpF8JamhkVUdIJ1sfnKBu&dispatch=5885d80a13c0db1f8e263663d3faee8d5348ead9d61c709ee8c979deef3ea735 Summary:Tetris clone Description: Clone of the classic Tetris game for Android. Includes many levels of difficulty and a clean, intuitive user interface. . Repo Type:git Repo:https://github.com/vocollapse/Blockinger Build Version:1.0,1,v1.0,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Auto Update Mode:None Update Check Mode:Tags Current Version:1.4.2 Current Version Code:6 ## Instruction: Fix blockinger donate link, update to 1.4.4 ## Code After: Category:Games License:GPLv3+ Web Site: Source Code:https://github.com/vocollapse/Blockinger Issue Tracker:https://github.com/vocollapse/Blockinger/issues Donate:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H6VS9SNRHMJSS Summary:Tetris clone Description: Clone of the classic Tetris game for Android. Includes many levels of difficulty and a clean, intuitive user interface. . Repo Type:git Repo:https://github.com/vocollapse/Blockinger Build Version:1.0,1,v1.0,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.1,5,v1.4.1,target=android-17,prebuild=rm -rf gen bin .settings Build Version:1.4.4,7,v1.4.4-nomusic,target=android-17,prebuild=rm -rf gen bin .settings Auto Update Mode:None Update Check Mode:Tags Current Version:1.4.4 Current Version Code:7
a1ddc7eaaece604f1a162e13da9c1b6d0aa1a438
app/views/posts/_comment_form.html.erb
app/views/posts/_comment_form.html.erb
<h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %>
<h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment, cols: 20, rows: 5 %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %>
Change comment dimensions to display a bigger box
Change comment dimensions to display a bigger box
HTML+ERB
mit
maebeale/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch,maebeale/doublehranch,maebeale/doublehranch
html+erb
## Code Before: <h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %> ## Instruction: Change comment dimensions to display a bigger box ## Code After: <h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment, cols: 20, rows: 5 %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %>
eead05bea93c4dd621eb8a9fb23d01ed4753e376
data-scripts/download-and-convert-diffs.sh
data-scripts/download-and-convert-diffs.sh
cd "$(dirname $0)" source utils.sh while read line; do args=$(jq .id,.diff_url <<<$line | tr '"' ' ') id=$(awk '{ print $1 }' <<<$args) if [ -f "data/$id.diff" ]; then error "Skipping already downloaded diff for ID: $id" continue else success "Beginning processing on ID: $id" fi diff_url=$(awk '{ print $2 }' <<<$args) wget -O - "$diff_url" | node line-to-word-diff/index.js > "data/$id.diff" done
cd "$(dirname $0)" source utils.sh while read line; do args=$(jq .id,.diff_url <<<$line | tr '"' ' ') id=$(awk '{ print $1 }' <<<$args) if [ -f "data/$id.diff" ]; then error "Skipping already downloaded diff for ID: $id" continue fi success "Beginning processing on ID: $id" diff_url=$(awk '{ print $2 }' <<<$args) wget -O - "$diff_url" | node line-to-word-diff/index.js > "data/$id.diff" done
Simplify logic in download script
Simplify logic in download script
Shell
apache-2.0
JohnStarich/github-code-recommendations,JohnStarich/github-code-recommendations,JohnStarich/github-code-recommendations
shell
## Code Before: cd "$(dirname $0)" source utils.sh while read line; do args=$(jq .id,.diff_url <<<$line | tr '"' ' ') id=$(awk '{ print $1 }' <<<$args) if [ -f "data/$id.diff" ]; then error "Skipping already downloaded diff for ID: $id" continue else success "Beginning processing on ID: $id" fi diff_url=$(awk '{ print $2 }' <<<$args) wget -O - "$diff_url" | node line-to-word-diff/index.js > "data/$id.diff" done ## Instruction: Simplify logic in download script ## Code After: cd "$(dirname $0)" source utils.sh while read line; do args=$(jq .id,.diff_url <<<$line | tr '"' ' ') id=$(awk '{ print $1 }' <<<$args) if [ -f "data/$id.diff" ]; then error "Skipping already downloaded diff for ID: $id" continue fi success "Beginning processing on ID: $id" diff_url=$(awk '{ print $2 }' <<<$args) wget -O - "$diff_url" | node line-to-word-diff/index.js > "data/$id.diff" done
6e34f748864feb04a84ceb1e0d79c916fbaf1322
src/app/Hits/index.js
src/app/Hits/index.js
import React from 'react' import {Hits} from 'react-instantsearch' import Pagination from '../Pagination' import Stats from '../Stats' import Hit from '../Hit' function CustomHits ({hits}) { return ( <div data-app='hits'> <Stats /> <div className='pv3 pv4-l ph3 ph5-l'> {hits.map((hit, idx) => <Hit item={hit} key={idx} />)} <Pagination /> </div> </div> ) } export default Hits.connect(CustomHits)
import React from 'react' import {Hits} from 'react-instantsearch' import Pagination from '../Pagination' import Stats from '../Stats' import Hit from '../Hit' function CustomHits ({hits, hitsPerPage}) { const hasPagination = hits.length > hitsPerPage return ( <div data-app='hits'> <Stats /> <div className='pv3 pv4-l ph3 ph5-l'> {hits.map((hit, idx) => <Hit item={hit} key={idx} />)} {hasPagination && <Pagination /> } </div> </div> ) } export default Hits.connect(CustomHits)
Hide pagination when is not necessary
Hide pagination when is not necessary
JavaScript
mit
windtoday/windtoday-marketplace,windtoday/windtoday-app,windtoday/windtoday-marketplace
javascript
## Code Before: import React from 'react' import {Hits} from 'react-instantsearch' import Pagination from '../Pagination' import Stats from '../Stats' import Hit from '../Hit' function CustomHits ({hits}) { return ( <div data-app='hits'> <Stats /> <div className='pv3 pv4-l ph3 ph5-l'> {hits.map((hit, idx) => <Hit item={hit} key={idx} />)} <Pagination /> </div> </div> ) } export default Hits.connect(CustomHits) ## Instruction: Hide pagination when is not necessary ## Code After: import React from 'react' import {Hits} from 'react-instantsearch' import Pagination from '../Pagination' import Stats from '../Stats' import Hit from '../Hit' function CustomHits ({hits, hitsPerPage}) { const hasPagination = hits.length > hitsPerPage return ( <div data-app='hits'> <Stats /> <div className='pv3 pv4-l ph3 ph5-l'> {hits.map((hit, idx) => <Hit item={hit} key={idx} />)} {hasPagination && <Pagination /> } </div> </div> ) } export default Hits.connect(CustomHits)
0ff7e9aac3876066ce92cd5b7adadcdb46c1efad
lib/tty/test_prompt.rb
lib/tty/test_prompt.rb
require_relative 'prompt' module TTY # Used for initializing test cases class TestPrompt < Prompt def initialize(**options) @input = StringIO.new @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color) { true } }) super(**options) end end # TestPrompt end # TTY
require "stringio" require_relative 'prompt' module TTY # Used for initializing test cases class TestPrompt < Prompt def initialize(**options) @input = StringIO.new @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color) { true } }) super(**options) end end # TestPrompt end # TTY
Change to ensure dependency is loaded
Change to ensure dependency is loaded
Ruby
mit
piotrmurach/tty-prompt,peter-murach/tty-prompt
ruby
## Code Before: require_relative 'prompt' module TTY # Used for initializing test cases class TestPrompt < Prompt def initialize(**options) @input = StringIO.new @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color) { true } }) super(**options) end end # TestPrompt end # TTY ## Instruction: Change to ensure dependency is loaded ## Code After: require "stringio" require_relative 'prompt' module TTY # Used for initializing test cases class TestPrompt < Prompt def initialize(**options) @input = StringIO.new @output = StringIO.new options.merge!({ input: @input, output: @output, env: { "TTY_TEST" => true }, enable_color: options.fetch(:enable_color) { true } }) super(**options) end end # TestPrompt end # TTY
b448f8f99b8084ed56cb757d4ba2a212ab9501bb
spec/features/ordering_spec.rb
spec/features/ordering_spec.rb
require 'rails_helper' describe 'Customizing and ordering a card' do let(:template) { CardTemplate.create(greeting: "nevermind", image_file: "123.gif") } describe 'Viewing the customization page' do it 'has the greeting for the template selected' do visit "/card_templates/#{template.id}" expect(page).to have_content template.greeting end end end
require 'rails_helper' describe 'Customizing and ordering a card' do let(:template) { CardTemplate.create(greeting: "nevermind", image_file: "123.gif") } describe 'Viewing the customization page' do it 'has the greeting for the template selected' do visit "/card_templates/#{template.id}" expect(page).to have_content template.greeting end end describe 'Customizing and ordering a card' do xit 'Can create a card with all of the relevant fields' do visit "/card_templates/#{template.id}" fill_in_card_form( message: 'Not having the sorry', signature: 'Kindly, James', recipient_name: 'Bad Friend', street_address: '123 Main Street', city: 'Oakland', state: 'CA', zip_code: '94607' ) click_on 'Send Card' expect(page).to have_content 'Your card has been ordered' end end def fill_in_card_form(message:, signature:, recipient_name:, street_address:, city:, state:, zip_code:) fill_in 'Custom Message', with: message fill_in 'Signature', with: signature fill_in 'Recipient Name', with: recipient_name fill_in 'Street Address', with: street_address fill_in 'City', with: city fill_in 'State', with: state fill_in 'Zip Code', with: zip_code end end
Add test for new card form
Add test for new card form
Ruby
mit
rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway,rasnom/sorryyoufeelthatway
ruby
## Code Before: require 'rails_helper' describe 'Customizing and ordering a card' do let(:template) { CardTemplate.create(greeting: "nevermind", image_file: "123.gif") } describe 'Viewing the customization page' do it 'has the greeting for the template selected' do visit "/card_templates/#{template.id}" expect(page).to have_content template.greeting end end end ## Instruction: Add test for new card form ## Code After: require 'rails_helper' describe 'Customizing and ordering a card' do let(:template) { CardTemplate.create(greeting: "nevermind", image_file: "123.gif") } describe 'Viewing the customization page' do it 'has the greeting for the template selected' do visit "/card_templates/#{template.id}" expect(page).to have_content template.greeting end end describe 'Customizing and ordering a card' do xit 'Can create a card with all of the relevant fields' do visit "/card_templates/#{template.id}" fill_in_card_form( message: 'Not having the sorry', signature: 'Kindly, James', recipient_name: 'Bad Friend', street_address: '123 Main Street', city: 'Oakland', state: 'CA', zip_code: '94607' ) click_on 'Send Card' expect(page).to have_content 'Your card has been ordered' end end def fill_in_card_form(message:, signature:, recipient_name:, street_address:, city:, state:, zip_code:) fill_in 'Custom Message', with: message fill_in 'Signature', with: signature fill_in 'Recipient Name', with: recipient_name fill_in 'Street Address', with: street_address fill_in 'City', with: city fill_in 'State', with: state fill_in 'Zip Code', with: zip_code end end
f2b1a6aa935400df53728f54dfa5737e8a056df6
keymaps/atom-latex.cson
keymaps/atom-latex.cson
'atom-text-editor[data-grammar~="latex"]': 'ctrl-alt-b': 'Atom-LaTeX:build' 'ctrl-alt-h': 'atom-latex:build-here' 'ctrl-alt-p': 'Atom-LaTeX:preview' 'ctrl-alt-t': 'Atom-LaTeX:preview-tab' 'ctrl-alt-k': 'Atom-LaTeX:kill' 'ctrl-alt-s': 'atom-latex:synctex' 'ctrl-alt-l': 'Atom-LaTeX:show-log'
'atom-text-editor[data-grammar="text tex latex"]': 'ctrl-alt-b': 'atom-latex:build' 'ctrl-alt-h': 'atom-latex:build-here' 'ctrl-alt-p': 'atom-latex:preview' 'ctrl-alt-t': 'atom-latex:preview-tab' 'ctrl-alt-k': 'atom-latex:kill' 'ctrl-alt-s': 'atom-latex:synctex' 'ctrl-alt-l': 'atom-latex:show-log'
Fix keymap not binding problem
Fix keymap not binding problem
CoffeeScript
mit
ashthespy/Atom-LaTeX,James-Yu/Atom-LaTeX,ashthespy/Atom-LaTeX,James-Yu/Atom-LaTeX
coffeescript
## Code Before: 'atom-text-editor[data-grammar~="latex"]': 'ctrl-alt-b': 'Atom-LaTeX:build' 'ctrl-alt-h': 'atom-latex:build-here' 'ctrl-alt-p': 'Atom-LaTeX:preview' 'ctrl-alt-t': 'Atom-LaTeX:preview-tab' 'ctrl-alt-k': 'Atom-LaTeX:kill' 'ctrl-alt-s': 'atom-latex:synctex' 'ctrl-alt-l': 'Atom-LaTeX:show-log' ## Instruction: Fix keymap not binding problem ## Code After: 'atom-text-editor[data-grammar="text tex latex"]': 'ctrl-alt-b': 'atom-latex:build' 'ctrl-alt-h': 'atom-latex:build-here' 'ctrl-alt-p': 'atom-latex:preview' 'ctrl-alt-t': 'atom-latex:preview-tab' 'ctrl-alt-k': 'atom-latex:kill' 'ctrl-alt-s': 'atom-latex:synctex' 'ctrl-alt-l': 'atom-latex:show-log'
fc4c5df7902fa37834233e20392418bf64ebdc64
app/views/questions/tagged.html.erb
app/views/questions/tagged.html.erb
<div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> </div> </div> <div id="sidebar"> <h4><%= @count %> questions tagged <a class="btn btn-default tag"><%= params[:tag] %></a></h4> <h5>related tags</h5> <ul class="sidebar-tags"> <% @related_tags.each do |tag| %> <li><%= link_to tag.name, questions_tagged_url(tag: tag.name), class: 'btn btn-default tag' %></li> <% end %> </ul> </div> </div> <%= paginate @questions %>
<div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> </div> <%= paginate @questions %> </div> <div id="sidebar"> <h4><%= @count %> questions tagged <a class="btn btn-default tag"><%= params[:tag] %></a></h4> <h5>related tags</h5> <ul class="sidebar-tags"> <% @related_tags.each do |tag| %> <li><%= link_to tag.name, questions_tagged_url(tag: tag.name), class: 'btn btn-default tag' %></li> <% end %> </ul> </div> </div>
Add question pagination to the body div on tagged
Add question pagination to the body div on tagged
HTML+ERB
mit
thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa
html+erb
## Code Before: <div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> </div> </div> <div id="sidebar"> <h4><%= @count %> questions tagged <a class="btn btn-default tag"><%= params[:tag] %></a></h4> <h5>related tags</h5> <ul class="sidebar-tags"> <% @related_tags.each do |tag| %> <li><%= link_to tag.name, questions_tagged_url(tag: tag.name), class: 'btn btn-default tag' %></li> <% end %> </ul> </div> </div> <%= paginate @questions %> ## Instruction: Add question pagination to the body div on tagged ## Code After: <div id="page-wrap"> <div id="body"> <div class="question-list"> <%= render partial: 'question-summary', collection: @questions, as: 'question' %> </div> <%= paginate @questions %> </div> <div id="sidebar"> <h4><%= @count %> questions tagged <a class="btn btn-default tag"><%= params[:tag] %></a></h4> <h5>related tags</h5> <ul class="sidebar-tags"> <% @related_tags.each do |tag| %> <li><%= link_to tag.name, questions_tagged_url(tag: tag.name), class: 'btn btn-default tag' %></li> <% end %> </ul> </div> </div>
01bd59e2037ac0aa1ffa5d8b8fa1b02b714e085e
server.js
server.js
/** * ActiveRules implemented on top of Koa. * * @module arkoa * @copyright 2015 - Brian Winkers * @license MIT */ "use strict"; /** * System wide settings, most settings will be in ActiveRules sites * File-based Configuration support, using nconf for bow * * Setup nconf to use (in-order): * 1. Command-line arguments * 2. Environment variables * 3. A file located at 'path/to/config.json' * * @type {exports} */ var settings = require('nconf'); settings.argv() .env() .file({ file: './config/settings.json' }); /** * Koala provides a Koa app with good default middleware * * @type {function(): app|exports} */ var koa = require('koala'); /** * Create the Koa app with Koala middleware */ var app = koa(); /** * Include the controller routes and handlers */ var router = require('./lib/controllers'); /** * Load the service controllers and their configured routes */ router.loadControllers(settings.get('services')); /** * Use the routes in our app */ app .use(router.routes()) .use(router.allowedMethods()); /** * Have the App accept Requests */ app.listen(3000);
/** * ActiveRules implemented on top of Koa. * * @module arkoa * @copyright 2015 - Brian Winkers * @license MIT */ "use strict"; /** * System wide settings, most settings will be in ActiveRules sites * File-based Configuration support, using nconf for bow * * Setup nconf to use (in-order): * 1. Command-line arguments * 2. Environment variables * 3. A file located at 'path/to/config.json' * * @type {exports} */ var settings = require('nconf'); settings.argv() .env() .file({ file: './config/settings.json' }); // Add the app root to the settings settings.add('app', { type: 'literal', store: { 'rootDir': __dirname} }); /** * Koala provides a Koa app with good default middleware * * @type {function(): app|exports} */ var koa = require('koala'); /** * Create the Koa app with Koala middleware */ var app = koa(); /** * Include the controller routes and handlers */ var router = require('./lib/controllers'); /** * Load the service controllers and their configured routes */ router.loadControllers(settings); /** * Use the routes in our app */ app .use(router.routes()) .use(router.allowedMethods()); /** * Have the App accept Requests */ app.listen(3000);
Add app root dir to settings.
Add app root dir to settings.
JavaScript
mit
bwinkers/arkoa
javascript
## Code Before: /** * ActiveRules implemented on top of Koa. * * @module arkoa * @copyright 2015 - Brian Winkers * @license MIT */ "use strict"; /** * System wide settings, most settings will be in ActiveRules sites * File-based Configuration support, using nconf for bow * * Setup nconf to use (in-order): * 1. Command-line arguments * 2. Environment variables * 3. A file located at 'path/to/config.json' * * @type {exports} */ var settings = require('nconf'); settings.argv() .env() .file({ file: './config/settings.json' }); /** * Koala provides a Koa app with good default middleware * * @type {function(): app|exports} */ var koa = require('koala'); /** * Create the Koa app with Koala middleware */ var app = koa(); /** * Include the controller routes and handlers */ var router = require('./lib/controllers'); /** * Load the service controllers and their configured routes */ router.loadControllers(settings.get('services')); /** * Use the routes in our app */ app .use(router.routes()) .use(router.allowedMethods()); /** * Have the App accept Requests */ app.listen(3000); ## Instruction: Add app root dir to settings. ## Code After: /** * ActiveRules implemented on top of Koa. * * @module arkoa * @copyright 2015 - Brian Winkers * @license MIT */ "use strict"; /** * System wide settings, most settings will be in ActiveRules sites * File-based Configuration support, using nconf for bow * * Setup nconf to use (in-order): * 1. Command-line arguments * 2. Environment variables * 3. A file located at 'path/to/config.json' * * @type {exports} */ var settings = require('nconf'); settings.argv() .env() .file({ file: './config/settings.json' }); // Add the app root to the settings settings.add('app', { type: 'literal', store: { 'rootDir': __dirname} }); /** * Koala provides a Koa app with good default middleware * * @type {function(): app|exports} */ var koa = require('koala'); /** * Create the Koa app with Koala middleware */ var app = koa(); /** * Include the controller routes and handlers */ var router = require('./lib/controllers'); /** * Load the service controllers and their configured routes */ router.loadControllers(settings); /** * Use the routes in our app */ app .use(router.routes()) .use(router.allowedMethods()); /** * Have the App accept Requests */ app.listen(3000);
027178a21083ceaa4151806e877a58ec7792f625
pysswords/__main__.py
pysswords/__main__.py
import argparse from getpass import getpass from pysswords.db import Database from pysswords.crypt import CryptOptions def get_args(): parser = argparse.ArgumentParser() parser.add_argument('path') parser.add_argument('--create', action='store_true') parser.add_argument('--password', default=None) parser.add_argument('--salt', default=None) parser.add_argument('--iterations', default=100000) return parser.parse_args() def main(args=None): if not args: args = get_args() if not args.password: args.password = getpass() crypt_options = CryptOptions( password=args.password, salt=args.salt, iterations=args.iterations ) if args.create: Database.create(args.path, crypt_options) elif args.add: database = Database(args.path, crypt_options) database.add_credential(args.path, crypt_options) if __name__ == "__main__": main()
import argparse from getpass import getpass from pysswords.db import Database from pysswords.crypt import CryptOptions def get_args(): parser = argparse.ArgumentParser() main_group = parser.add_argument_group('Main options') main_group.add_argument('path', help='Path to database file') main_group.add_argument('--create', action='store_true', help='Create a new encrypted password database') crypt_group = parser.add_argument_group('Encryption options') crypt_group.add_argument('--password', default=None, help='Password to open database') crypt_group.add_argument('--salt', default=None, help='Salt for encryption') crypt_group.add_argument('--iterations', default=100000, help='Number of iterations for encryption') return parser.parse_args() def main(args=None): if not args: args = get_args() if not args.password: args.password = getpass() crypt_options = CryptOptions( password=args.password, salt=args.salt, iterations=args.iterations ) if args.create: Database.create(args.path, crypt_options) elif args.add: database = Database(args.path, crypt_options) database.add_credential(args.path, crypt_options) if __name__ == "__main__": main()
Refactor get args function from console interface
Refactor get args function from console interface
Python
mit
eiginn/passpie,scorphus/passpie,marcwebbie/passpie,scorphus/passpie,marcwebbie/pysswords,eiginn/passpie,marcwebbie/passpie
python
## Code Before: import argparse from getpass import getpass from pysswords.db import Database from pysswords.crypt import CryptOptions def get_args(): parser = argparse.ArgumentParser() parser.add_argument('path') parser.add_argument('--create', action='store_true') parser.add_argument('--password', default=None) parser.add_argument('--salt', default=None) parser.add_argument('--iterations', default=100000) return parser.parse_args() def main(args=None): if not args: args = get_args() if not args.password: args.password = getpass() crypt_options = CryptOptions( password=args.password, salt=args.salt, iterations=args.iterations ) if args.create: Database.create(args.path, crypt_options) elif args.add: database = Database(args.path, crypt_options) database.add_credential(args.path, crypt_options) if __name__ == "__main__": main() ## Instruction: Refactor get args function from console interface ## Code After: import argparse from getpass import getpass from pysswords.db import Database from pysswords.crypt import CryptOptions def get_args(): parser = argparse.ArgumentParser() main_group = parser.add_argument_group('Main options') main_group.add_argument('path', help='Path to database file') main_group.add_argument('--create', action='store_true', help='Create a new encrypted password database') crypt_group = parser.add_argument_group('Encryption options') crypt_group.add_argument('--password', default=None, help='Password to open database') crypt_group.add_argument('--salt', default=None, help='Salt for encryption') crypt_group.add_argument('--iterations', default=100000, help='Number of iterations for encryption') return parser.parse_args() def main(args=None): if not args: args = get_args() if not args.password: args.password = getpass() crypt_options = CryptOptions( password=args.password, salt=args.salt, iterations=args.iterations ) if args.create: Database.create(args.path, crypt_options) elif args.add: database = Database(args.path, crypt_options) database.add_credential(args.path, crypt_options) if __name__ == "__main__": main()
0bd469751034c9a9bc9c3b6f396885670722a692
manage.py
manage.py
import os from flask_script import Manager, Server from flask_script.commands import ShowUrls, Clean from mothership import create_app from mothership.models import db # default to dev config because no one should use this in # production anyway env = os.environ.get('MOTHERSHIP_ENV', 'dev') app = create_app('mothership.settings.%sConfig' % env.capitalize()) manager = Manager(app) manager.add_command("server", Server()) manager.add_command("show-urls", ShowUrls()) manager.add_command("clean", Clean()) @manager.shell def make_shell_context(): """ Creates a python REPL with several default imports in the context of the app """ return dict(app=app, db=db) # return dict(app=app, db=db, User=User) @manager.command def createdb(): """ Creates a database with all of the tables defined in your SQLAlchemy models """ db.create_all() if __name__ == "__main__": manager.run() # ./venv/bin/uwsgi --http 0.0.0.0:8000 --home venv --wsgi-file manage.py --callable app --master --catch-exceptions
import os from flask_script import Manager, Server from flask_script.commands import ShowUrls, Clean from mothership import create_app from mothership.models import db # default to dev config because no one should use this in # production anyway env = os.environ.get('MOTHERSHIP_ENV', 'dev') app = create_app('mothership.settings.%sConfig' % env.capitalize()) manager = Manager(app) manager.add_command("server", Server()) manager.add_command("show-urls", ShowUrls()) manager.add_command("clean", Clean()) @manager.shell def make_shell_context(): """ Creates a python REPL with several default imports in the context of the app """ return dict(app=app, db=db) # return dict(app=app, db=db, User=User) @manager.command def createdb(): """ Creates a database with all of the tables defined in your SQLAlchemy models """ db.create_all() if __name__ == "__main__": manager.run()
Remove comment for running under uwsgi
Remove comment for running under uwsgi
Python
mit
afl-mothership/afl-mothership,afl-mothership/afl-mothership,afl-mothership/afl-mothership,afl-mothership/afl-mothership
python
## Code Before: import os from flask_script import Manager, Server from flask_script.commands import ShowUrls, Clean from mothership import create_app from mothership.models import db # default to dev config because no one should use this in # production anyway env = os.environ.get('MOTHERSHIP_ENV', 'dev') app = create_app('mothership.settings.%sConfig' % env.capitalize()) manager = Manager(app) manager.add_command("server", Server()) manager.add_command("show-urls", ShowUrls()) manager.add_command("clean", Clean()) @manager.shell def make_shell_context(): """ Creates a python REPL with several default imports in the context of the app """ return dict(app=app, db=db) # return dict(app=app, db=db, User=User) @manager.command def createdb(): """ Creates a database with all of the tables defined in your SQLAlchemy models """ db.create_all() if __name__ == "__main__": manager.run() # ./venv/bin/uwsgi --http 0.0.0.0:8000 --home venv --wsgi-file manage.py --callable app --master --catch-exceptions ## Instruction: Remove comment for running under uwsgi ## Code After: import os from flask_script import Manager, Server from flask_script.commands import ShowUrls, Clean from mothership import create_app from mothership.models import db # default to dev config because no one should use this in # production anyway env = os.environ.get('MOTHERSHIP_ENV', 'dev') app = create_app('mothership.settings.%sConfig' % env.capitalize()) manager = Manager(app) manager.add_command("server", Server()) manager.add_command("show-urls", ShowUrls()) manager.add_command("clean", Clean()) @manager.shell def make_shell_context(): """ Creates a python REPL with several default imports in the context of the app """ return dict(app=app, db=db) # return dict(app=app, db=db, User=User) @manager.command def createdb(): """ Creates a database with all of the tables defined in your SQLAlchemy models """ db.create_all() if __name__ == "__main__": manager.run()
01d02c52ed3e7b8a9ac5f845de9a8bd7076aa426
README.md
README.md
Wrap eslint and esformatter to format and pretty-print javascript via stdio. ## Installation ```shell npm install -g eslint-pretty ``` ## Usage ```shell cat uglylinty.js | eslint-pretty > uglylinty_pretty.js ``` ## Why After carefully building your `.eslintrc.js` file, wouldn't it be nice to quickly format code according to those rules? ## How This project is merely a thin wrapper around two very excellent projects: [esformatter](https://github.com/millermedeiros/esformatter) and [eslint](https://github.com/eslint/eslint). It does a couple of passes over the linty code. First it uses esformatter to fix the basic stuff like indenting. Then it uses eslint to apply any rules that are "fixable". It may pass through eslint a few times. This can be slow. All the rules detected from your local `.eslintrc.js` and `.esformatter` will apply. If anything goes wrong, eslint-pretty will fail open and return your original input.
Wrap eslint and esformatter to format and pretty-print javascript via stdio. ## Installation ```shell npm install -g eslint-pretty ``` ## Usage ```shell cat uglylinty.js | eslint-pretty > uglylinty_pretty.js ``` ## Why After carefully building your `.eslintrc.js` file, wouldn't it be nice to quickly format code according to those rules? ## How This project is merely a thin wrapper around two very excellent projects: [esformatter](https://github.com/millermedeiros/esformatter) and [eslint](https://github.com/eslint/eslint). It does a couple of passes over the linty code. First it uses esformatter to fix the basic stuff like indenting. Then it uses eslint to apply any rules that are "fixable". It may pass through eslint a few times. This can be slow. All the rules detected from your local `.eslintrc.js` and `.esformatter` will apply. If anything goes wrong, eslint-pretty will fail open and return your original input. ## Usage in Vim / Neovim Add this to your vimrc: ```vimscript autocmd FileType javascript setlocal equalprg=eslint-pretty ``` Now visually select some nasty code and hit `=`. Bam! Nice and pretty. Run `:help equalprg` to see why this works.
Add vim section to readme
Add vim section to readme
Markdown
mit
bugeats/eslint-pretty
markdown
## Code Before: Wrap eslint and esformatter to format and pretty-print javascript via stdio. ## Installation ```shell npm install -g eslint-pretty ``` ## Usage ```shell cat uglylinty.js | eslint-pretty > uglylinty_pretty.js ``` ## Why After carefully building your `.eslintrc.js` file, wouldn't it be nice to quickly format code according to those rules? ## How This project is merely a thin wrapper around two very excellent projects: [esformatter](https://github.com/millermedeiros/esformatter) and [eslint](https://github.com/eslint/eslint). It does a couple of passes over the linty code. First it uses esformatter to fix the basic stuff like indenting. Then it uses eslint to apply any rules that are "fixable". It may pass through eslint a few times. This can be slow. All the rules detected from your local `.eslintrc.js` and `.esformatter` will apply. If anything goes wrong, eslint-pretty will fail open and return your original input. ## Instruction: Add vim section to readme ## Code After: Wrap eslint and esformatter to format and pretty-print javascript via stdio. ## Installation ```shell npm install -g eslint-pretty ``` ## Usage ```shell cat uglylinty.js | eslint-pretty > uglylinty_pretty.js ``` ## Why After carefully building your `.eslintrc.js` file, wouldn't it be nice to quickly format code according to those rules? ## How This project is merely a thin wrapper around two very excellent projects: [esformatter](https://github.com/millermedeiros/esformatter) and [eslint](https://github.com/eslint/eslint). It does a couple of passes over the linty code. First it uses esformatter to fix the basic stuff like indenting. Then it uses eslint to apply any rules that are "fixable". It may pass through eslint a few times. This can be slow. All the rules detected from your local `.eslintrc.js` and `.esformatter` will apply. If anything goes wrong, eslint-pretty will fail open and return your original input. ## Usage in Vim / Neovim Add this to your vimrc: ```vimscript autocmd FileType javascript setlocal equalprg=eslint-pretty ``` Now visually select some nasty code and hit `=`. Bam! Nice and pretty. Run `:help equalprg` to see why this works.
14c5f82116a97b1489c0c36144342cb133d887e3
.travis.yml
.travis.yml
language: node_js node_js: - "4.1" - '0.12' before_script: - npm install -g mocha codeclimate-test-reporter istanbul - git config --global push.default matching - git config --global user.email "dancrumb@gmail.com" - git config --global user.name "Travis-CI" after_success: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 05a55726d63eb4eec33d902ae30d365ddd6ca092a36daadf91648429604749d4
language: node_js node_js: - '4.1' - '0.12' - 'iojs' before_script: - npm install -g mocha codeclimate-test-reporter istanbul - git config --global push.default matching - git config --global user.email "dancrumb@gmail.com" - git config --global user.name "Travis-CI" after_success: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 05a55726d63eb4eec33d902ae30d365ddd6ca092a36daadf91648429604749d4
Add iojs testing to Travis CI
Add iojs testing to Travis CI
YAML
mit
dancrumb/operation-tree
yaml
## Code Before: language: node_js node_js: - "4.1" - '0.12' before_script: - npm install -g mocha codeclimate-test-reporter istanbul - git config --global push.default matching - git config --global user.email "dancrumb@gmail.com" - git config --global user.name "Travis-CI" after_success: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 05a55726d63eb4eec33d902ae30d365ddd6ca092a36daadf91648429604749d4 ## Instruction: Add iojs testing to Travis CI ## Code After: language: node_js node_js: - '4.1' - '0.12' - 'iojs' before_script: - npm install -g mocha codeclimate-test-reporter istanbul - git config --global push.default matching - git config --global user.email "dancrumb@gmail.com" - git config --global user.name "Travis-CI" after_success: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 05a55726d63eb4eec33d902ae30d365ddd6ca092a36daadf91648429604749d4
62ea69faf070e9a3f237136a56ad4e775cd743ca
addon/fx-package.json
addon/fx-package.json
{ "author": "Typhos", "description": "View Reddit ponymotes across the site", "fullName": "BetterPonymotes", "id": "jid1-tHrhDJXsKvsiCw", "license": "MPL 2.0", "name": "betterponymotes", "preferences": [ { "label": "Preferences", "name": "openPrefs", "title": "Open prefs", "type": "control" } ], "version": "/*{{version}}*/" }
{ "author": "Typhos", "description": "View Reddit ponymotes across the site", "fullName": "BetterPonymotes", "id": "jid1-tHrhDJXsKvsiCw", "license": "MPL 2.0", "name": "betterponymotes", "permissions": {"private-browsing": true}, "preferences": [ { "label": "Preferences", "name": "openPrefs", "title": "Open prefs", "type": "control" } ], "version": "/*{{version}}*/" }
Make BPM work on private browsing Firefox tabs
Make BPM work on private browsing Firefox tabs
JSON
agpl-3.0
Ajedi32/bpm,ByzantineFailure/bpm,ByzantineFailure/BPM-for-Discord,ILikePizza555/BPM-for-Discord,ByzantineFailure/bpm,ILikePizza555/BPM-for-Discord,Carson-Shook/bpm,ByzantineFailure/BPM-for-Discord,ByzantineFailure/bpm,Rothera/bpm,Rothera/bpm,ILikePizza555/BPM-for-Discord,ByzantineFailure/BPM-for-Discord,Carson-Shook/bpm,Ajedi32/bpm,ILikePizza555/BPM-for-Discord,Ajedi32/bpm,ByzantineFailure/bpm,Carson-Shook/bpm,Rothera/bpm,ByzantineFailure/BPM-for-Discord
json
## Code Before: { "author": "Typhos", "description": "View Reddit ponymotes across the site", "fullName": "BetterPonymotes", "id": "jid1-tHrhDJXsKvsiCw", "license": "MPL 2.0", "name": "betterponymotes", "preferences": [ { "label": "Preferences", "name": "openPrefs", "title": "Open prefs", "type": "control" } ], "version": "/*{{version}}*/" } ## Instruction: Make BPM work on private browsing Firefox tabs ## Code After: { "author": "Typhos", "description": "View Reddit ponymotes across the site", "fullName": "BetterPonymotes", "id": "jid1-tHrhDJXsKvsiCw", "license": "MPL 2.0", "name": "betterponymotes", "permissions": {"private-browsing": true}, "preferences": [ { "label": "Preferences", "name": "openPrefs", "title": "Open prefs", "type": "control" } ], "version": "/*{{version}}*/" }
e87629683bbb798611f28e5db45857a7dde5fa7d
pagination/index.js
pagination/index.js
module.exports = Pagination; function Pagination() {} Pagination.prototype.view = __dirname + '/views'; Pagination.prototype.style = __dirname + '/styles'; Pagination.prototype.name = 'pagination'; Pagination.prototype.components = []; require('./operations'); require('./actions'); require('./viewhelpers'); Pagination.prototype.init = function(model) { model.start('visibleNumbers', 'activePage', 'pages', this.getVisibleNumbers); };
var _ = require('lodash'); module.exports = Pagination; function Pagination() {} Pagination.prototype.view = __dirname + '/views'; Pagination.prototype.style = __dirname + '/styles'; Pagination.prototype.name = 'pagination'; Pagination.prototype.components = []; require('./operations'); require('./actions'); require('./viewhelpers'); Pagination.prototype.init = function(model) { if(typeof model.get('end') !== 'undefined') this.initPages(); model.start('visibleNumbers', 'activePage', 'pages', this.getVisibleNumbers); }; Pagination.prototype.initPages = function () { this.model.fn('pages', function (end) { return _.range(1, end + 1); }); this.model.start('pages', 'end', 'pages'); this.model.get('pages'); };
Add support for end attribute within pagination component
Add support for end attribute within pagination component
JavaScript
mit
BBWeb/d-md-components,BBWeb/d-md-components
javascript
## Code Before: module.exports = Pagination; function Pagination() {} Pagination.prototype.view = __dirname + '/views'; Pagination.prototype.style = __dirname + '/styles'; Pagination.prototype.name = 'pagination'; Pagination.prototype.components = []; require('./operations'); require('./actions'); require('./viewhelpers'); Pagination.prototype.init = function(model) { model.start('visibleNumbers', 'activePage', 'pages', this.getVisibleNumbers); }; ## Instruction: Add support for end attribute within pagination component ## Code After: var _ = require('lodash'); module.exports = Pagination; function Pagination() {} Pagination.prototype.view = __dirname + '/views'; Pagination.prototype.style = __dirname + '/styles'; Pagination.prototype.name = 'pagination'; Pagination.prototype.components = []; require('./operations'); require('./actions'); require('./viewhelpers'); Pagination.prototype.init = function(model) { if(typeof model.get('end') !== 'undefined') this.initPages(); model.start('visibleNumbers', 'activePage', 'pages', this.getVisibleNumbers); }; Pagination.prototype.initPages = function () { this.model.fn('pages', function (end) { return _.range(1, end + 1); }); this.model.start('pages', 'end', 'pages'); this.model.get('pages'); };
9387ea6745e1d16fb9db4bde8ea3907775ac1ca1
src/websocket-client.js
src/websocket-client.js
/** * @module src/websocket-client */ 'use strict' const Base = require('./base') const payload = 'a'.repeat(process.env.PB_PAYLOAD_BYTES) // ~1kb payload var count = 0 const limit = 5000 var start class WebsocketClient extends Base { constructor () { super() this._initWebsocketClient() start = new Date() this._sendMessage() } _sendMessage () { this._ws.emit('message', { payload: payload }, (responseData) => { console.log('Response from server #', count) count++ if (count < limit) { this._sendMessage() } else { let totalTime = new Date() - start console.log('total time', totalTime) console.log('average RTT', totalTime / limit) } }) } } new WebsocketClient()
/** * @module src/websocket-client */ 'use strict' const Base = require('./base') const payload = 'a'.repeat(process.env.PB_PAYLOAD_BYTES) // ~1kb payload var count = 0 const limit = 5000 var start class WebsocketClient extends Base { constructor () { super() this._initWebsocketClient() this._ws.on('connect', () => { start = new Date() console.log('connect') this._sendMessage() }) } _sendMessage () { this._ws.emit('message', { payload: payload }, (responseData) => { console.log('Response from server #', count) count++ if (count < limit) { this._sendMessage() } else { let totalTime = new Date() - start console.log('total time', totalTime) console.log('average RTT', totalTime / limit) } }) } } new WebsocketClient()
Set start time after socket client connect event fires
Set start time after socket client connect event fires
JavaScript
mit
cflynn07/http-websockets-rabbitmq-perf-battle
javascript
## Code Before: /** * @module src/websocket-client */ 'use strict' const Base = require('./base') const payload = 'a'.repeat(process.env.PB_PAYLOAD_BYTES) // ~1kb payload var count = 0 const limit = 5000 var start class WebsocketClient extends Base { constructor () { super() this._initWebsocketClient() start = new Date() this._sendMessage() } _sendMessage () { this._ws.emit('message', { payload: payload }, (responseData) => { console.log('Response from server #', count) count++ if (count < limit) { this._sendMessage() } else { let totalTime = new Date() - start console.log('total time', totalTime) console.log('average RTT', totalTime / limit) } }) } } new WebsocketClient() ## Instruction: Set start time after socket client connect event fires ## Code After: /** * @module src/websocket-client */ 'use strict' const Base = require('./base') const payload = 'a'.repeat(process.env.PB_PAYLOAD_BYTES) // ~1kb payload var count = 0 const limit = 5000 var start class WebsocketClient extends Base { constructor () { super() this._initWebsocketClient() this._ws.on('connect', () => { start = new Date() console.log('connect') this._sendMessage() }) } _sendMessage () { this._ws.emit('message', { payload: payload }, (responseData) => { console.log('Response from server #', count) count++ if (count < limit) { this._sendMessage() } else { let totalTime = new Date() - start console.log('total time', totalTime) console.log('average RTT', totalTime / limit) } }) } } new WebsocketClient()
3343eca5456da80a855a8ab749558c7305299b44
lib/views/analysis_status_view.coffee
lib/views/analysis_status_view.coffee
{View} = require 'atom' React = require 'react-atom-fork' {_} = require 'lodash' {a, div, span} = require 'reactionary-atom-fork' module.exports = class AnalysisStatusView extends View Object.defineProperty @::, 'analysisCount', get: -> @items.length items: [] @content: -> @div class: 'inline-block' initialize: (@statusBar) => @subscribe atom.workspace, 'dart-tools:analysis', (result) => @items.push(result) @updateState() return null @subscribe atom.workspace, 'dart-tools:refresh', (fullPath) => _.remove @items, (item) => item.fullpath == fullPath @updateState() return null attach: -> @statusBar.appendLeft(this) afterAttach: -> @component = React.renderComponent (StatusBar {items: @items }), @element updateState: -> @component.setState({ items: @items }) StatusBar = React.createClass showAnalysis: (e) -> atom.workspaceView.trigger('dart-tools:problems:show') e.preventDefault() return false render: -> length = @props.items.length className = if length > 0 then 'icon icon-x' else 'icon icon-check' statusText = if length > 0 then "#{length} problems" else 'No problems' div {}, a { href: '#', onClick: @showAnalysis }, span className: className span className: 'status-text', @props.items.length, " problems"
{View} = require 'atom' {_} = require 'lodash' module.exports = class AnalysisStatusView extends View Object.defineProperty @::, 'analysisCount', get: -> @items.length items: [] @content: -> @div class: 'inline-block', => @a href: '#', click: 'showAnalysis', => @span class: 'dart-tools-status icon' @span class: 'dart-tools-status-text' initialize: (@statusBar) => @subscribe atom.workspace, 'dart-tools:analysis', (result) => @items.push(result) @updateState() @subscribe atom.workspace, 'dart-tools:refresh', (fullPath) => _.remove @items, (item) => item.location.file == fullPath @updateState() attach: -> @updateState() atom.workspaceView.statusBar?.appendLeft(this) updateState: -> length = @items.length className = if length > 0 then 'icon-x' else 'icon-check' statusText = if length > 0 then "#{length} issues" else 'No issues' @find('.dart-tools-status') .removeClass('icon-x icon-check') .addClass(className) @find('.dart-tools-status-text').text(statusText) showAnalysis: (e) -> atom.workspaceView.trigger('dart-tools:problems:show') e.preventDefault()
Clean up implementation of status view.
[REFACTOR] Clean up implementation of status view. The previous status view was based on React and unnecessarily complex. I've replaced it with Spacepen.
CoffeeScript
mit
radicaled/dart-tools
coffeescript
## Code Before: {View} = require 'atom' React = require 'react-atom-fork' {_} = require 'lodash' {a, div, span} = require 'reactionary-atom-fork' module.exports = class AnalysisStatusView extends View Object.defineProperty @::, 'analysisCount', get: -> @items.length items: [] @content: -> @div class: 'inline-block' initialize: (@statusBar) => @subscribe atom.workspace, 'dart-tools:analysis', (result) => @items.push(result) @updateState() return null @subscribe atom.workspace, 'dart-tools:refresh', (fullPath) => _.remove @items, (item) => item.fullpath == fullPath @updateState() return null attach: -> @statusBar.appendLeft(this) afterAttach: -> @component = React.renderComponent (StatusBar {items: @items }), @element updateState: -> @component.setState({ items: @items }) StatusBar = React.createClass showAnalysis: (e) -> atom.workspaceView.trigger('dart-tools:problems:show') e.preventDefault() return false render: -> length = @props.items.length className = if length > 0 then 'icon icon-x' else 'icon icon-check' statusText = if length > 0 then "#{length} problems" else 'No problems' div {}, a { href: '#', onClick: @showAnalysis }, span className: className span className: 'status-text', @props.items.length, " problems" ## Instruction: [REFACTOR] Clean up implementation of status view. The previous status view was based on React and unnecessarily complex. I've replaced it with Spacepen. ## Code After: {View} = require 'atom' {_} = require 'lodash' module.exports = class AnalysisStatusView extends View Object.defineProperty @::, 'analysisCount', get: -> @items.length items: [] @content: -> @div class: 'inline-block', => @a href: '#', click: 'showAnalysis', => @span class: 'dart-tools-status icon' @span class: 'dart-tools-status-text' initialize: (@statusBar) => @subscribe atom.workspace, 'dart-tools:analysis', (result) => @items.push(result) @updateState() @subscribe atom.workspace, 'dart-tools:refresh', (fullPath) => _.remove @items, (item) => item.location.file == fullPath @updateState() attach: -> @updateState() atom.workspaceView.statusBar?.appendLeft(this) updateState: -> length = @items.length className = if length > 0 then 'icon-x' else 'icon-check' statusText = if length > 0 then "#{length} issues" else 'No issues' @find('.dart-tools-status') .removeClass('icon-x icon-check') .addClass(className) @find('.dart-tools-status-text').text(statusText) showAnalysis: (e) -> atom.workspaceView.trigger('dart-tools:problems:show') e.preventDefault()
126a68e2619384f54d5459799d44661cbc1a025e
scripts/image_epouta_constants.sh
scripts/image_epouta_constants.sh
DIB_LOCAL_IMAGE="" DIB_OPTIONS="--no-tmpfs --qemu-img-options compat=0.10" IMAGE_SIZE="10" IMAGE_FORMAT="qcow2" IMAGE_VISIBILITY="$IMAGE_VISIBILITY" IMAGE_KEEP_COUNT="25" TMP_IMAGE_NAME="_tmp_$IMAGE_NAME" SECURITY_GROUPS="default" TEST_INSTANCE_NAME="_test_$IMAGE_NAME-$(date +%F)" TEST_FLAVOR="hpc.mini" TEST_NET_ID="$OS_NETWORK_ID" PYTHONIOENCODING="utf-8"
DIB_LOCAL_IMAGE="" DIB_OPTIONS="--no-tmpfs --qemu-img-options compat=0.10" IMAGE_SIZE="10" IMAGE_FORMAT="qcow2" IMAGE_VISIBILITY="$IMAGE_VISIBILITY" IMAGE_KEEP_COUNT="25" TMP_IMAGE_NAME="_tmp_$IMAGE_NAME" SECURITY_GROUPS="default" TEST_INSTANCE_NAME="_test_$IMAGE_NAME-$(date +%F)" TEST_FLAVOR="standard.tiny" TEST_NET_ID="$OS_NETWORK_ID" PYTHONIOENCODING="utf-8"
Use standard.tiny instead of deprecated flavor
Use standard.tiny instead of deprecated flavor - #CCCP-2274
Shell
mit
CSC-IT-Center-for-Science/diskimage-builder-csc-automation
shell
## Code Before: DIB_LOCAL_IMAGE="" DIB_OPTIONS="--no-tmpfs --qemu-img-options compat=0.10" IMAGE_SIZE="10" IMAGE_FORMAT="qcow2" IMAGE_VISIBILITY="$IMAGE_VISIBILITY" IMAGE_KEEP_COUNT="25" TMP_IMAGE_NAME="_tmp_$IMAGE_NAME" SECURITY_GROUPS="default" TEST_INSTANCE_NAME="_test_$IMAGE_NAME-$(date +%F)" TEST_FLAVOR="hpc.mini" TEST_NET_ID="$OS_NETWORK_ID" PYTHONIOENCODING="utf-8" ## Instruction: Use standard.tiny instead of deprecated flavor - #CCCP-2274 ## Code After: DIB_LOCAL_IMAGE="" DIB_OPTIONS="--no-tmpfs --qemu-img-options compat=0.10" IMAGE_SIZE="10" IMAGE_FORMAT="qcow2" IMAGE_VISIBILITY="$IMAGE_VISIBILITY" IMAGE_KEEP_COUNT="25" TMP_IMAGE_NAME="_tmp_$IMAGE_NAME" SECURITY_GROUPS="default" TEST_INSTANCE_NAME="_test_$IMAGE_NAME-$(date +%F)" TEST_FLAVOR="standard.tiny" TEST_NET_ID="$OS_NETWORK_ID" PYTHONIOENCODING="utf-8"
1bbe0e23a4e418cde7a25ec933a23426f46fe7aa
packagereader.go
packagereader.go
package gomposer import ( "os" "encoding/json" ) type Reader interface { Read(filename string) *Version } type PackageReader struct { } func (pr PackageReader) Read(filename string) (*Version, error) { buf, err := os.Open(filename) if err != nil { return nil, err } output := &Version{} json.NewDecoder(buf).Decode(output) return output, nil }
package gomposer import ( "os" "encoding/json" ) type Reader interface { Read(filename string) *Version } type PackageReader struct { } func (pr PackageReader) Read(filename string) (*Version, error) { buf, err := os.Open(filename) if err != nil { return nil, err } output := &Version{} json.NewDecoder(buf).Decode(output) return output, nil }
Refactor dependency resolver + add test for later on
Refactor dependency resolver + add test for later on
Go
mit
icambridge/gomposer
go
## Code Before: package gomposer import ( "os" "encoding/json" ) type Reader interface { Read(filename string) *Version } type PackageReader struct { } func (pr PackageReader) Read(filename string) (*Version, error) { buf, err := os.Open(filename) if err != nil { return nil, err } output := &Version{} json.NewDecoder(buf).Decode(output) return output, nil } ## Instruction: Refactor dependency resolver + add test for later on ## Code After: package gomposer import ( "os" "encoding/json" ) type Reader interface { Read(filename string) *Version } type PackageReader struct { } func (pr PackageReader) Read(filename string) (*Version, error) { buf, err := os.Open(filename) if err != nil { return nil, err } output := &Version{} json.NewDecoder(buf).Decode(output) return output, nil }
4a63a6cc586be9a9acf7d2374eb5d1030ad71792
doc/change-log.md
doc/change-log.md
--- layout: default currentMenu: change-log --- # Change Log ## 1.4.0 * Features * Make Elasticsearch configurable in IntegrationEngine.json * Chores * Rename IElasticSearchJob.cs file to IElasticsearchJob.cs * Rename project to InEngine.NET * Documentation * Getting started * Web API * Integration jobs * IntegrationEngine.json configuration file ## 1.3.2 * Features * Load jobs from an external assembly that implement IIntegrationJob. * Develop EngineHost, start engine and load jobs from an external assembly. * Add repository layer for persisting jobs to a data store. * Create REST API for creating standard jobs. * Chores * Publish packages on NuGet.
--- layout: default currentMenu: change-log --- # Change Log ## 1.4.1 * Chores * Add link to change log in NuGet package release notes. ## 1.4.0 * Features * Make Elasticsearch configurable in IntegrationEngine.json * Chores * Rename IElasticSearchJob.cs file to IElasticsearchJob.cs * Rename project to InEngine.NET * Documentation * Getting started * Web API * Integration jobs * IntegrationEngine.json configuration file ## 1.3.2 * Features * Load jobs from an external assembly that implement IIntegrationJob. * Develop EngineHost, start engine and load jobs from an external assembly. * Add repository layer for persisting jobs to a data store. * Create REST API for creating standard jobs. * Chores * Publish packages on NuGet.
Update change log for 1.4.1
Update change log for 1.4.1
Markdown
mit
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
markdown
## Code Before: --- layout: default currentMenu: change-log --- # Change Log ## 1.4.0 * Features * Make Elasticsearch configurable in IntegrationEngine.json * Chores * Rename IElasticSearchJob.cs file to IElasticsearchJob.cs * Rename project to InEngine.NET * Documentation * Getting started * Web API * Integration jobs * IntegrationEngine.json configuration file ## 1.3.2 * Features * Load jobs from an external assembly that implement IIntegrationJob. * Develop EngineHost, start engine and load jobs from an external assembly. * Add repository layer for persisting jobs to a data store. * Create REST API for creating standard jobs. * Chores * Publish packages on NuGet. ## Instruction: Update change log for 1.4.1 ## Code After: --- layout: default currentMenu: change-log --- # Change Log ## 1.4.1 * Chores * Add link to change log in NuGet package release notes. ## 1.4.0 * Features * Make Elasticsearch configurable in IntegrationEngine.json * Chores * Rename IElasticSearchJob.cs file to IElasticsearchJob.cs * Rename project to InEngine.NET * Documentation * Getting started * Web API * Integration jobs * IntegrationEngine.json configuration file ## 1.3.2 * Features * Load jobs from an external assembly that implement IIntegrationJob. * Develop EngineHost, start engine and load jobs from an external assembly. * Add repository layer for persisting jobs to a data store. * Create REST API for creating standard jobs. * Chores * Publish packages on NuGet.
61ec36bbe1fdfe3eb9471a84a1598f95a101b357
Library/Homebrew/extend/ENV.rb
Library/Homebrew/extend/ENV.rb
require 'hardware' require 'extend/ENV/shared' require 'extend/ENV/std' require 'extend/ENV/super' def superenv? return false if MacOS::Xcode.without_clt? && MacOS.sdk_path.nil? return false unless Superenv.bin && Superenv.bin.directory? return false if ARGV.env == "std" true end module EnvActivation def activate_extensions! if superenv? extend(Superenv) else extend(Stdenv) end end def with_build_environment old_env = to_hash.dup tmp_env = to_hash.dup.extend(EnvActivation) tmp_env.activate_extensions! tmp_env.setup_build_environment replace(tmp_env) yield ensure replace(old_env) end end ENV.extend(EnvActivation)
require 'hardware' require 'extend/ENV/shared' require 'extend/ENV/std' require 'extend/ENV/super' def superenv? Superenv.bin && Superenv.bin.directory? && ARGV.env != "std" end module EnvActivation def activate_extensions! if superenv? extend(Superenv) else extend(Stdenv) end end def with_build_environment old_env = to_hash.dup tmp_env = to_hash.dup.extend(EnvActivation) tmp_env.activate_extensions! tmp_env.setup_build_environment replace(tmp_env) yield ensure replace(old_env) end end ENV.extend(EnvActivation)
Simplify conditions for superenv activation
Simplify conditions for superenv activation `MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?` should never be true. In its earliest form, this would raise a bare RuntimeError in an effort to have the bug reported. Later, it was changed to silently disable superenv. But we don't want to do that. If there's a bug, or the user's system is misconfigured, we want to know, so that we can fix the bug, or the user can fix their system. So let's remove the condition.
Ruby
bsd-2-clause
hanxue/homebrew,caijinyan/homebrew,lvicentesanchez/homebrew,apjanke/homebrew,xanderlent/homebrew,georgschoelly/homebrew,ebouaziz/linuxbrew,amarshall/homebrew,apjanke/homebrew,rhunter/homebrew,ahihi/tigerbrew,kgb4000/homebrew,gicmo/homebrew,dkotvan/homebrew,wfarr/homebrew,wadejong/homebrew,imjerrybao/homebrew,feelpp/homebrew,n8henrie/homebrew,bjlxj2008/homebrew,s6stuc/homebrew,egentry/homebrew,pigri/homebrew,kashif/homebrew,yangj1e/homebrew,englishm/homebrew,elig/homebrew,dickeyxxx/homebrew,alexethan/homebrew,jsjohnst/homebrew,aguynamedryan/homebrew,swallat/homebrew,dstndstn/homebrew,justjoheinz/homebrew,davidcelis/homebrew,davidmalcolm/homebrew,RadicalZephyr/homebrew,kvs/homebrew,jonafato/homebrew,kikuchy/homebrew,rneatherway/homebrew,syhw/homebrew,ilidar/homebrew,alindeman/homebrew,bkonosky/homebrew,sometimesfood/homebrew,bcwaldon/homebrew,youprofit/homebrew,boneskull/homebrew,ilidar/homebrew,odekopoon/homebrew,giffels/homebrew,petemcw/homebrew,ear/homebrew,ahihi/tigerbrew,gyaresu/homebrew,indrajitr/homebrew,mattfarina/homebrew,dai0304/homebrew,cooltheo/homebrew,ianbrandt/homebrew,Cottser/homebrew,tjt263/homebrew,bl1nk/homebrew,dalguji/homebrew,ls2uper/homebrew,quantumsteve/homebrew,jsjohnst/homebrew,QuinnyPig/homebrew,LinusU/homebrew,higanworks/homebrew,ingmarv/homebrew,iblueer/homebrew,sock-puppet/homebrew,dholm/linuxbrew,oschwald/homebrew,khwon/homebrew,thuai/boxen,gijzelaerr/homebrew,quantumsteve/homebrew,TrevorSayre/homebrew,cffk/homebrew,CNA-Bld/homebrew,bluca/homebrew,mhartington/homebrew,vinicius5581/homebrew,mbrevda/homebrew,cjheath/homebrew,verdurin/homebrew,dmarkrollins/homebrew,princeofdarkness76/homebrew,liuquansheng47/Homebrew,bright-sparks/homebrew,pgr0ss/homebrew,jbarker/homebrew,slyphon/homebrew,peteristhegreat/homebrew,saketkc/linuxbrew,Chilledheart/homebrew,changzuozhen/homebrew,tavisto/homebrew,erezny/homebrew,qskycolor/homebrew,hermansc/homebrew,afdnlw/linuxbrew,gawbul/homebrew,kmiscia/homebrew,utzig/homebrew,frickler01/homebrew,ened/homebrew,yyn835314557/homebrew,jesboat/homebrew,mapbox/homebrew,saketkc/homebrew,sugryo/homebrew,andy12530/homebrew,yumitsu/homebrew,iamcharp/homebrew,cmvelo/homebrew,mavimo/homebrew,ralic/homebrew,lvicentesanchez/homebrew,RadicalZephyr/homebrew,dai0304/homebrew,lvicentesanchez/linuxbrew,wrunnery/homebrew,guoxiao/homebrew,drewwells/homebrew,phrase/homebrew,nysthee/homebrew,hongkongkiwi/homebrew,dconnolly/homebrew,tjnycum/homebrew,tomekr/homebrew,megahall/homebrew,drewpc/homebrew,theeternalsw0rd/homebrew,akshayvaidya/homebrew,sitexa/homebrew,kimhunter/homebrew,guidomb/homebrew,mciantyre/homebrew,dreid93/homebrew,hyuni/homebrew,onlynone/homebrew,bigbes/homebrew,woodruffw/homebrew-test,nkolomiec/homebrew,ybott/homebrew,ryanfb/homebrew,fabianschuiki/homebrew,chfast/homebrew,indrajitr/homebrew,will/homebrew,Chilledheart/homebrew,exicon/homebrew,ctate/autocode-homebrew,thebyrd/homebrew,zoidbergwill/homebrew,danielmewes/homebrew,ssgelm/homebrew,mattfritz/homebrew,josa42/homebrew,jbpionnier/homebrew,mxk1235/homebrew,elasticdog/homebrew,tkelman/homebrew,pcottle/homebrew,esalling23/homebrew,hmalphettes/homebrew,julienXX/homebrew,slnovak/homebrew,moltar/homebrew,vigo/homebrew,thejustinwalsh/homebrew,torgartor21/homebrew,alexbukreev/homebrew,francaguilar/homebrew,pnorman/homebrew,cHoco/homebrew,Red54/homebrew,swallat/homebrew,frozzare/homebrew,jimmy906/homebrew,lvh/homebrew,pedromaltez-forks/homebrew,ehamberg/homebrew,galaxy001/homebrew,buzzedword/homebrew,afh/homebrew,6100590/homebrew,henry0312/homebrew,dongcarl/homebrew,arrowcircle/homebrew,drewpc/homebrew,manphiz/homebrew,mapbox/homebrew,chkuendig/homebrew,bigbes/homebrew,ilidar/homebrew,mavimo/homebrew,jack-and-rozz/linuxbrew,dlo/homebrew,galaxy001/homebrew,coldeasy/homebrew,tomas/homebrew,nju520/homebrew,bitrise-io/homebrew,outcoldman/homebrew,hyokosdeveloper/linuxbrew,Russell91/homebrew,oncletom/homebrew,mattfritz/homebrew,brianmhunt/homebrew,drewpc/homebrew,alexethan/homebrew,linjunpop/homebrew,sideci-sample/sideci-sample-homebrew,jmstacey/homebrew,stevenjack/homebrew,recruit-tech/homebrew,bbahrami/homebrew,SteveClement/homebrew,elasticdog/homebrew,retrography/homebrew,dlo/homebrew,kgb4000/homebrew,rhendric/homebrew,tghs/linuxbrew,sje30/homebrew,sachiketi/homebrew,ainstushar/homebrew,jeffmo/homebrew,miry/homebrew,gcstang/homebrew,tehmaze-labs/homebrew,BrewTestBot/homebrew,ssgelm/homebrew,jose-cieni-movile/homebrew,kmiscia/homebrew,lrascao/homebrew,TaylorMonacelli/homebrew,thrifus/homebrew,buzzedword/homebrew,klazuka/homebrew,bright-sparks/homebrew,pinkpolygon/homebrew,ralic/homebrew,tylerball/homebrew,geometrybase/homebrew,guoxiao/homebrew,RSamokhin/homebrew,xuebinglee/homebrew,bjorand/homebrew,mattbostock/homebrew,anarchivist/homebrew,yyn835314557/homebrew,dmarkrollins/homebrew,dpalmer93/homebrew,yazuuchi/homebrew,treyharris/homebrew,verbitan/homebrew,slyphon/homebrew,QuinnyPig/homebrew,vihangm/homebrew,tuedan/homebrew,Angeldude/linuxbrew,jeromeheissler/homebrew,frozzare/homebrew,tomguiter/homebrew,dardo82/homebrew,cristobal/homebrew,anjackson/homebrew,evanrs/homebrew,pcottle/homebrew,telamonian/linuxbrew,YOTOV-LIMITED/homebrew,erkolson/homebrew,jasonm23/homebrew,dconnolly/homebrew,ablyler/homebrew,akupila/homebrew,tpot/homebrew,craig5/homebrew,mroth/homebrew,amjith/homebrew,boneskull/homebrew,kvs/homebrew,3van/homebrew,tomekr/homebrew,lnr0626/homebrew,kimhunter/homebrew,ctate/autocode-homebrew,wfalkwallace/homebrew,jbeezley/homebrew,1zaman/homebrew,mapbox/homebrew,hermansc/homebrew,hongkongkiwi/homebrew,pigri/homebrew,mjbshaw/homebrew,benjaminfrank/homebrew,auvi/homebrew,klatys/homebrew,esalling23/homebrew,mndrix/homebrew,bbahrami/homebrew,xcezx/homebrew,DarthGandalf/homebrew,romejoe/linuxbrew,teslamint/homebrew,pwnall/homebrew,zj568/homebrew,2inqui/homebrew,theopolis/homebrew,MoSal/homebrew,5zzang/homebrew,mindrones/homebrew,gonzedge/homebrew,codeout/homebrew,jwillemsen/linuxbrew,reelsense/linuxbrew,pitatensai/homebrew,dambrisco/homebrew,totalvoidness/homebrew,paour/homebrew,jspahrsummers/homebrew,influxdb/homebrew,missingcharacter/homebrew,jab/homebrew,DoomHammer/linuxbrew,justjoheinz/homebrew,amarshall/homebrew,davidcelis/homebrew,Redth/homebrew,mobileoverlord/homebrew-1,tomekr/homebrew,alanthing/homebrew,dickeyxxx/homebrew,sdebnath/homebrew,wfalkwallace/homebrew,koraktor/homebrew,haf/homebrew,notDavid/homebrew,ndimiduk/homebrew,blairham/homebrew,MrChen2015/homebrew,amjith/homebrew,Red54/homebrew,jbarker/homebrew,rcombs/homebrew,tuxu/homebrew,ablyler/homebrew,megahall/homebrew,pitatensai/homebrew,alex-zhang/homebrew,trskop/linuxbrew,youtux/homebrew,xyproto/homebrew,Dreysman/homebrew,jmagnusson/homebrew,OlivierParent/homebrew,MoSal/homebrew,Ivanopalas/homebrew,SnoringFrog/homebrew,bjlxj2008/homebrew,barn/homebrew,KevinSjoberg/homebrew,AICIDNN/homebrew,jehutymax/homebrew,lrascao/homebrew,miketheman/homebrew,msurovcak/homebrew,MartinDelille/homebrew,lewismc/homebrew,frodeaa/homebrew,JerroldLee/homebrew,carlmod/homebrew,moltar/homebrew,ktheory/homebrew,wolfd/homebrew,mapbox/homebrew,frickler01/homebrew,yangj1e/homebrew,mttrb/homebrew,adamliter/linuxbrew,psibre/homebrew,gildegoma/homebrew,polamjag/homebrew,JerroldLee/homebrew,gcstang/homebrew,kimhunter/homebrew,youprofit/homebrew,zachmayer/homebrew,sakra/homebrew,kevinastone/homebrew,dambrisco/homebrew,theopolis/homebrew,sjackman/linuxbrew,filcab/homebrew,hyuni/homebrew,sje30/homebrew,mndrix/homebrew,Moisan/homebrew,jamer/homebrew,Monits/homebrew,pvrs12/homebrew,mtfelix/homebrew,ieure/homebrew,alanthing/homebrew,adriancole/homebrew,reelsense/linuxbrew,southwolf/homebrew,andyshinn/homebrew,dlo/homebrew,jiashuw/homebrew,nelstrom/homebrew,vladshablinsky/homebrew,dolfly/homebrew,ssgelm/homebrew,AtnNn/homebrew,e-jigsaw/homebrew,cosmo0920/homebrew,asparagui/homebrew,aguynamedryan/homebrew,thinker0/homebrew,yoshida-mediba/homebrew,OlivierParent/homebrew,cscetbon/homebrew,craigbrad/homebrew,tbetbetbe/linuxbrew,Originate/homebrew,lemaiyan/homebrew,rcombs/homebrew,ingmarv/homebrew,antogg/homebrew,joshua-rutherford/homebrew,crystal/autocode-homebrew,frodeaa/homebrew,kilojoules/homebrew,summermk/homebrew,sdebnath/homebrew,malmaud/homebrew,elyscape/homebrew,cmvelo/homebrew,alfasapy/homebrew,rs/homebrew,IsmailM/linuxbrew,jiaoyigui/homebrew,tschoonj/homebrew,redpen-cc/homebrew,baldwicc/homebrew,gildegoma/homebrew,heinzf/homebrew,packetcollision/homebrew,mbi/homebrew,mrkn/homebrew,cbenhagen/homebrew,miketheman/homebrew,WangGL1985/homebrew,ssp/homebrew,onlynone/homebrew,lnr0626/homebrew,wangranche/homebrew,lewismc/homebrew,mrkn/homebrew,adriancole/homebrew,oubiwann/homebrew,manphiz/homebrew,AtkinsChang/homebrew,ryanmt/homebrew,arnested/homebrew,dstftw/homebrew,tsaeger/homebrew,kawanet/homebrew,qiruiyin/homebrew,romejoe/linuxbrew,jwatzman/homebrew,amjith/homebrew,boshnivolo/homebrew,dreid93/homebrew,Lywangwenbin/homebrew,lucas-clemente/homebrew,iandennismiller/homebrew,alex-courtis/homebrew,jacobsa/homebrew,skinny-framework/homebrew,nshemonsky/homebrew,tstack/homebrew,Originate/homebrew,akupila/homebrew,TrevorSayre/homebrew,creack/homebrew,scardetto/homebrew,mciantyre/homebrew,IsmailM/linuxbrew,asparagui/homebrew,ericfischer/homebrew,woodruffw/homebrew-test,galaxy001/homebrew,odekopoon/homebrew,samplecount/homebrew,tavisto/homebrew,arcivanov/linuxbrew,stoshiya/homebrew,ariscop/homebrew,pcottle/homebrew,elgertam/homebrew,gcstang/linuxbrew,egentry/homebrew,johanhammar/homebrew,kazuho/homebrew,danieroux/homebrew,Chilledheart/homebrew,scpeters/homebrew,alexreg/homebrew,kilojoules/homebrew,cmvelo/homebrew,zebMcCorkle/homebrew,odekopoon/homebrew,anjackson/homebrew,sportngin/homebrew,waj/homebrew,AtnNn/homebrew,bbhoss/homebrew,freedryk/homebrew,geoff-codes/homebrew,pwnall/homebrew,davidmalcolm/homebrew,tbeckham/homebrew,filcab/homebrew,marcusandre/homebrew,dkotvan/homebrew,bwmcadams/homebrew,zachmayer/homebrew,auvi/homebrew,tobz-nz/homebrew,nathancahill/homebrew,Monits/homebrew,mndrix/homebrew,LeoCavaille/homebrew,jeremiahyan/homebrew,Red54/homebrew,nysthee/homebrew,maxhope/homebrew,ryanshaw/homebrew,cprecioso/homebrew,booi/homebrew,feuvan/homebrew,wangranche/homebrew,cffk/homebrew,mathieubolla/homebrew,zoidbergwill/homebrew,tseven/homebrew,tonyghita/homebrew,ericzhou2008/homebrew,xyproto/homebrew,rhoffman3621/learn-rails,eighthave/homebrew,yidongliu/homebrew,alex-courtis/homebrew,felixonmars/homebrew,francaguilar/homebrew,danabrand/linuxbrew,rgbkrk/homebrew,gunnaraasen/homebrew,boyanpenkov/homebrew,AtkinsChang/homebrew,verbitan/homebrew,sugryo/homebrew,ieure/homebrew,jamer/homebrew,Asuranceturix/homebrew,will/homebrew,kyanny/homebrew,ngoyal/homebrew,princeofdarkness76/linuxbrew,bukzor/linuxbrew,thebyrd/homebrew,tkelman/homebrew,dirn/homebrew,jconley/homebrew,michaKFromParis/homebrew-sparks,dalinaum/homebrew,whistlerbrk/homebrew,tzudot/homebrew,danielmewes/homebrew,pinkpolygon/homebrew,Red54/homebrew,thrifus/homebrew,MrChen2015/homebrew,catap/homebrew,dgageot/homebrew,RadicalZephyr/homebrew,vigo/homebrew,adamchainz/homebrew,virtuald/homebrew,royalwang/homebrew,hvnsweeting/homebrew,bcomnes/homebrew,AtnNn/homebrew,jehutymax/homebrew,peteristhegreat/homebrew,mjbshaw/homebrew,dplarson/homebrew,cooltheo/homebrew,jmtd/homebrew,kodabb/homebrew,windoze/homebrew,alebcay/homebrew,jonas/homebrew,razamatan/homebrew,sdebnath/homebrew,rhunter/homebrew,eugenesan/homebrew,vihangm/homebrew,mtfelix/homebrew,josa42/homebrew,mavimo/homebrew,hakamadare/homebrew,southwolf/homebrew,khwon/homebrew,Noctem/homebrew,FiMka/homebrew,raphaelcohn/homebrew,jsallis/homebrew,cprecioso/homebrew,atsjj/homebrew,nshemonsky/homebrew,grepnull/homebrew,endelwar/homebrew,haosdent/homebrew,haihappen/homebrew,kvs/homebrew,jeromeheissler/homebrew,kidaa/homebrew,tseven/homebrew,boshnivolo/homebrew,YOTOV-LIMITED/homebrew,amarshall/homebrew,cjheath/homebrew,calmez/homebrew,NRauh/homebrew,oubiwann/homebrew,tzudot/homebrew,dongcarl/homebrew,mjc-/homebrew,grob3/homebrew,markpeek/homebrew,rgbkrk/homebrew,sptramer/homebrew,SnoringFrog/homebrew,totalvoidness/homebrew,jonas/homebrew,colindean/homebrew,lvh/homebrew,mbrevda/homebrew,2inqui/homebrew,pullreq/homebrew,voxxit/homebrew,jessamynsmith/homebrew,SampleLiao/homebrew,chfast/homebrew,djun-kim/homebrew,paour/homebrew,timomeinen/homebrew,andrew-regan/homebrew,knpwrs/homebrew,booi/homebrew,ehogberg/homebrew,phatblat/homebrew,marcwebbie/homebrew,sjackman/linuxbrew,rlhh/homebrew,englishm/homebrew,wadejong/homebrew,tjschuck/homebrew,marcwebbie/homebrew,kkirsche/homebrew,morevalily/homebrew,mtigas/homebrew,sigma-random/homebrew,dholm/homebrew,ilovezfs/homebrew,denvazh/homebrew,msurovcak/homebrew,OlivierParent/homebrew,flysonic10/homebrew,indrajitr/homebrew,hikaruworld/homebrew,okuramasafumi/homebrew,yonglehou/homebrew,influxdb/homebrew,miry/homebrew,nysthee/homebrew,LonnyGomes/homebrew,Gutek/homebrew,protomouse/homebrew,hongkongkiwi/homebrew,marcwebbie/homebrew,fabianfreyer/homebrew,stoshiya/homebrew,clemensg/homebrew,jkarneges/homebrew,tjschuck/homebrew,zeha/homebrew,dconnolly/homebrew,boneskull/homebrew,hakamadare/homebrew,yangj1e/homebrew,geometrybase/homebrew,saketkc/homebrew,ryanfb/homebrew,jamesdphillips/homebrew,rstacruz/homebrew,princeofdarkness76/linuxbrew,heinzf/homebrew,erkolson/homebrew,ptolemarch/homebrew,songjizu001/homebrew,nkolomiec/homebrew,jbarker/homebrew,akshayvaidya/homebrew,hakamadare/homebrew,packetcollision/homebrew,dalanmiller/homebrew,gunnaraasen/homebrew,teslamint/homebrew,tobz-nz/homebrew,freedryk/homebrew,theopolis/homebrew,tobz-nz/homebrew,bitrise-io/homebrew,apjanke/homebrew,afdnlw/linuxbrew,winordie-47/linuxbrew1,bruno-/homebrew,scorphus/homebrew,ento/homebrew,rhendric/homebrew,ptolemarch/homebrew,xb123456456/homebrew,andrew-regan/homebrew,gnawhleinad/homebrew,dutchcoders/homebrew,Asuranceturix/homebrew,samthor/homebrew,razamatan/homebrew,okuramasafumi/homebrew,bukzor/homebrew,jpascal/homebrew,geoff-codes/homebrew,3van/homebrew,vihangm/homebrew,danabrand/linuxbrew,MrChen2015/homebrew,imjerrybao/homebrew,mroth/homebrew,n8henrie/homebrew,harsha-mudi/homebrew,grob3/homebrew,changzuozhen/homebrew,thinker0/homebrew,docwhat/homebrew,durka/homebrew,craig5/homebrew,ericfischer/homebrew,lvicentesanchez/linuxbrew,Firefishy/homebrew,Linuxbrew/linuxbrew,denvazh/homebrew,grmartin/homebrew,dambrisco/homebrew,danpalmer/homebrew,ajshort/homebrew,sferik/homebrew,AntonioMeireles/homebrew,crystal/autocode-homebrew,pnorman/homebrew,alexbukreev/homebrew,seegno-forks/homebrew,harelba/homebrew,craigbrad/homebrew,rgbkrk/homebrew,ariscop/homebrew,jwillemsen/linuxbrew,mindrones/homebrew,marcusandre/homebrew,nelstrom/homebrew,10sr/linuxbrew,RSamokhin/homebrew,whitej125/homebrew,jspahrsummers/homebrew,marcoceppi/homebrew,summermk/homebrew,JerroldLee/homebrew,imjerrybao/homebrew,davydden/homebrew,LonnyGomes/homebrew,elasticdog/homebrew,a1dutch/homebrew,benesch/homebrew,jf647/homebrew,utzig/homebrew,ened/homebrew,klatys/homebrew,ryanfb/homebrew,jbaum98/linuxbrew,grepnull/homebrew,jkarneges/homebrew,stoshiya/homebrew,Cottser/homebrew,ekmett/homebrew,harsha-mudi/homebrew,jpsim/homebrew,MoSal/homebrew,Hs-Yeah/homebrew,dstftw/homebrew,187j3x1/homebrew,5zzang/homebrew,sock-puppet/homebrew,zeha/homebrew,sidhart/homebrew,mroch/homebrew,lewismc/homebrew,morevalily/homebrew,emilyst/homebrew,sideci-sample/sideci-sample-homebrew,hyokosdeveloper/linuxbrew,wkentaro/homebrew,reelsense/linuxbrew,frozzare/homebrew,liamstask/homebrew,osimola/homebrew,Gutek/homebrew,andy12530/homebrew,ryanmt/homebrew,anarchivist/homebrew,reelsense/homebrew,ralic/homebrew,jonafato/homebrew,robotblake/homebrew,coldeasy/homebrew,jamer/homebrew,erezny/homebrew,cbenhagen/homebrew,jbaum98/linuxbrew,RandyMcMillan/homebrew,johanhammar/homebrew,samplecount/homebrew,pitatensai/homebrew,MartinSeeler/homebrew,totalvoidness/homebrew,shazow/homebrew,Noctem/homebrew,bendemaree/homebrew,Ivanopalas/homebrew,eagleflo/homebrew,robotblake/homebrew,sitexa/homebrew,lemaiyan/homebrew,MonCoder/homebrew,theckman/homebrew,bchatard/homebrew,jconley/homebrew,adamliter/homebrew,SuperNEMO-DBD/cadfaelbrew,MSch/homebrew,influxdata/homebrew,int3h/homebrew,ngoyal/homebrew,elig/homebrew,thuai/boxen,afb/homebrew,chiefy/homebrew,dutchcoders/homebrew,flysonic10/homebrew,torgartor21/homebrew,ngoldbaum/homebrew,kim0/homebrew,iostat/homebrew2,MartinDelille/homebrew,alanthing/homebrew,dunn/linuxbrew,mactkg/homebrew,emilyst/homebrew,blairham/homebrew,cristobal/homebrew,seeden/homebrew,calmez/homebrew,iostat/homebrew2,johanhammar/homebrew,KenanSulayman/homebrew,number5/homebrew,avnit/EGroovy,tdsmith/linuxbrew,nathancahill/homebrew,tomyun/homebrew,whitej125/homebrew,oubiwann/homebrew,tylerball/homebrew,sportngin/homebrew,cesar2535/homebrew,rcombs/homebrew,skinny-framework/homebrew,verbitan/homebrew,valkjsaaa/homebrew,sidhart/homebrew,yidongliu/homebrew,cscetbon/homebrew,mroth/homebrew,kwadade/LearnRuby,redpen-cc/homebrew,rneatherway/homebrew,influxdb/homebrew,blogabe/homebrew,pdxdan/homebrew,thos37/homebrew,sachiketi/homebrew,cchacin/homebrew,dalanmiller/homebrew,LeoCavaille/homebrew,robrix/homebrew,s6stuc/homebrew,hanxue/homebrew,zhipeng-jia/homebrew,slnovak/homebrew,dtan4/homebrew,keithws/homebrew,gawbul/homebrew,manphiz/homebrew,blairham/homebrew,tuedan/homebrew,Gasol/homebrew,brotbert/homebrew,carlmod/homebrew,dholm/linuxbrew,petercm/homebrew,optikfluffel/homebrew,dreid93/homebrew,jlisic/linuxbrew,esamson/homebrew,thuai/boxen,haf/homebrew,hikaruworld/homebrew,feugenix/homebrew,jgelens/homebrew,dholm/linuxbrew,onlynone/homebrew,dirn/homebrew,yazuuchi/homebrew,Austinpb/homebrew,sideci-sample/sideci-sample-homebrew,kenips/homebrew,reelsense/homebrew,morevalily/homebrew,alanthing/homebrew,Russell91/homebrew,dholm/homebrew,xyproto/homebrew,emcrisostomo/homebrew,base10/homebrew,Ferrari-lee/homebrew,Drewshg312/homebrew,jedahan/homebrew,peteristhegreat/homebrew,arcivanov/linuxbrew,ctate/autocode-homebrew,qskycolor/homebrew,rhoffman3621/learn-rails,oliviertilmans/homebrew,wkentaro/homebrew,ldiqual/homebrew,darknessomi/homebrew,valkjsaaa/homebrew,lemaiyan/homebrew,dickeyxxx/homebrew,yumitsu/homebrew,feelpp/homebrew,dgageot/homebrew,rosalsm/homebrew,silentbicycle/homebrew,lhahne/homebrew,johanhammar/homebrew,zoltansx/homebrew,bukzor/linuxbrew,zj568/homebrew,andrew-regan/homebrew,LucyShapiro/before-after,gabelevi/homebrew,kbrock/homebrew,bruno-/homebrew,ssp/homebrew,vladshablinsky/homebrew,ear/homebrew,GeekHades/homebrew,AtkinsChang/homebrew,mkrapp/homebrew,tyrchen/homebrew,rcombs/homebrew,tdsmith/linuxbrew,glowe/homebrew,AlexejK/homebrew,guidomb/homebrew,cHoco/homebrew,MartinSeeler/homebrew,xanderlent/homebrew,huitseeker/homebrew,cbeck88/linuxbrew,bigbes/homebrew,sachiketi/homebrew,epixa/homebrew,soleo/homebrew,khwon/homebrew,xcezx/homebrew,klazuka/homebrew,danpalmer/homebrew,virtuald/homebrew,andreyto/homebrew,h3r2on/homebrew,poindextrose/homebrew,alex-courtis/homebrew,haosdent/homebrew,bkonosky/homebrew,brotbert/homebrew,koenrh/homebrew,silentbicycle/homebrew,crystal/autocode-homebrew,Drewshg312/homebrew,thebyrd/homebrew,zchee/homebrew,tany-ovcharenko/depot,codeout/homebrew,sdebnath/homebrew,KenanSulayman/homebrew,NRauh/homebrew,tyrchen/homebrew,vinodkone/homebrew,winordie-47/linuxbrew1,changzuozhen/homebrew,brotbert/homebrew,iblueer/homebrew,RandyMcMillan/homebrew,mjbshaw/homebrew,sferik/homebrew,torgartor21/homebrew,bl1nk/homebrew,mpfz0r/homebrew,zoltansx/homebrew,tsaeger/homebrew,rgbkrk/homebrew,skinny-framework/homebrew,shawndellysse/homebrew,jose-cieni-movile/homebrew,eighthave/homebrew,PikachuEXE/homebrew,markpeek/homebrew,liamstask/homebrew,sachiketi/homebrew,asparagui/homebrew,joeyhoer/homebrew,rtyley/homebrew,hkwan003/homebrew,dplarson/homebrew,zoltansx/homebrew,princeofdarkness76/homebrew,reelsense/homebrew,kim0/homebrew,AlexejK/homebrew,joshua-rutherford/homebrew,halloleo/homebrew,cristobal/homebrew,jacobsa/homebrew,mbi/homebrew,skatsuta/homebrew,changzuozhen/homebrew,finde/homebrew,tonyghita/homebrew,ebardsley/homebrew,kad/homebrew,Kentzo/homebrew,bidle/homebrew,polishgeeks/homebrew,timsutton/homebrew,guoxiao/homebrew,brotbert/homebrew,klazuka/homebrew,omriiluz/homebrew,tjnycum/homebrew,kyanny/homebrew,Linuxbrew/linuxbrew,joshfriend/homebrew,tbetbetbe/linuxbrew,julienXX/homebrew,alexbukreev/homebrew,elgertam/homebrew,jmagnusson/homebrew,sakra/homebrew,TaylorMonacelli/homebrew,ericfischer/homebrew,SampleLiao/homebrew,seeden/homebrew,asparagui/homebrew,benswift404/homebrew,brunchboy/homebrew,wolfd/homebrew,tomyun/homebrew,prasincs/homebrew,tjhei/linuxbrew,quantumsteve/homebrew,ngoldbaum/homebrew,tomguiter/homebrew,nicowilliams/homebrew,jmstacey/homebrew,voxxit/homebrew,pgr0ss/homebrew,bchatard/homebrew,drewwells/homebrew,raphaelcohn/homebrew,caijinyan/homebrew,zhimsel/homebrew,ktaragorn/homebrew,georgschoelly/homebrew,haf/homebrew,endelwar/homebrew,dambrisco/homebrew,jsjohnst/homebrew,flysonic10/homebrew,heinzf/homebrew,francaguilar/homebrew,Klozz/homebrew,Gutek/homebrew,dalinaum/homebrew,trajano/homebrew,barn/homebrew,jingweno/homebrew,tdsmith/linuxbrew,Gui13/linuxbrew,cbeck88/linuxbrew,bitrise-io/homebrew,ehamberg/homebrew,timomeinen/homebrew,jose-cieni-movile/homebrew,kikuchy/homebrew,miketheman/homebrew,julienXX/homebrew,bettyDes/homebrew,dholm/homebrew,tbeckham/homebrew,dstndstn/homebrew,ehogberg/homebrew,joeyhoer/homebrew,helloworld-zh/homebrew,iggyvolz/linuxbrew,keith/homebrew,supriyantomaftuh/homebrew,chabhishek123/homebrew,pitatensai/homebrew,bigbes/homebrew,kawanet/homebrew,adevress/homebrew,Homebrew/homebrew,slyphon/homebrew,vinicius5581/homebrew,KenanSulayman/homebrew,pigoz/homebrew,arnested/homebrew,wolfd/homebrew,kilojoules/homebrew,zfarrell/homebrew,bchatard/homebrew,aaronwolen/homebrew,nju520/homebrew,caijinyan/homebrew,superlukas/homebrew,antst/homebrew,rlister/homebrew,davidcelis/homebrew,dickeyxxx/homebrew,oliviertilmans/homebrew,kkirsche/homebrew,iostat/homebrew2,tjschuck/homebrew,rlhh/homebrew,hvnsweeting/homebrew,mattbostock/homebrew,Krasnyanskiy/homebrew,hmalphettes/homebrew,jkarneges/homebrew,alfasapy/homebrew,benesch/homebrew,ExtremeMan/homebrew,winordie-47/linuxbrew1,kbinani/homebrew,ingmarv/homebrew,jbeezley/homebrew,chabhishek123/homebrew,cosmo0920/homebrew,187j3x1/homebrew,godu/homebrew,andreyto/homebrew,mgiglia/homebrew,ericzhou2008/homebrew,tjt263/homebrew,SnoringFrog/homebrew,dtrebbien/homebrew,jasonm23/homebrew,jmstacey/homebrew,mjc-/homebrew,benswift404/homebrew,calmez/homebrew,rneatherway/homebrew,zchee/homebrew,codeout/homebrew,princeofdarkness76/homebrew,LinusU/homebrew,tomyun/homebrew,liuquansheng47/Homebrew,sometimesfood/homebrew,saketkc/linuxbrew,jarrettmeyer/homebrew,rnh/homebrew,tseven/homebrew,dunn/linuxbrew,seegno-forks/homebrew,joschi/homebrew,drbenmorgan/linuxbrew,paour/homebrew,prasincs/homebrew,anders/homebrew,manphiz/homebrew,virtuald/homebrew,feuvan/homebrew,phrase/homebrew,odekopoon/homebrew,jf647/homebrew,YOTOV-LIMITED/homebrew,alfasapy/homebrew,moltar/homebrew,ericzhou2008/homebrew,alexandrecormier/homebrew,QuinnyPig/homebrew,sometimesfood/homebrew,deployable/homebrew,nathancahill/homebrew,thejustinwalsh/homebrew,adevress/homebrew,dalguji/homebrew,antst/homebrew,tonyghita/homebrew,jf647/homebrew,Cottser/homebrew,ebardsley/homebrew,feugenix/homebrew,vinicius5581/homebrew,mattprowse/homebrew,gicmo/homebrew,goodcodeguy/homebrew,torgartor21/homebrew,dalguji/homebrew,sorin-ionescu/homebrew,linkinpark342/homebrew,oneillkza/linuxbrew,jmagnusson/homebrew,aristiden7o/homebrew,mobileoverlord/homebrew-1,mattfritz/homebrew,chiefy/homebrew,benjaminfrank/homebrew,eugenesan/homebrew,jiashuw/homebrew,influxdata/homebrew,princeofdarkness76/linuxbrew,alexethan/homebrew,stevenjack/homebrew,baob/homebrew,jconley/homebrew,djun-kim/homebrew,ajshort/homebrew,hwhelchel/homebrew,sjackman/linuxbrew,zachmayer/homebrew,barn/homebrew,michaKFromParis/homebrew-sparks,Homebrew/linuxbrew,antogg/homebrew,elgertam/homebrew,grepnull/homebrew,eighthave/homebrew,petercm/homebrew,mciantyre/homebrew,brianmhunt/homebrew,mgiglia/homebrew,theeternalsw0rd/homebrew,flysonic10/homebrew,crystal/autocode-homebrew,outcoldman/homebrew,xyproto/homebrew,lvicentesanchez/linuxbrew,theeternalsw0rd/homebrew,jonafato/homebrew,tuxu/homebrew,ento/homebrew,jack-and-rozz/linuxbrew,zfarrell/homebrew,dplarson/homebrew,filcab/homebrew,callahad/homebrew,adamliter/homebrew,dalinaum/homebrew,aristiden7o/homebrew,ls2uper/homebrew,grmartin/homebrew,jf647/homebrew,dunn/linuxbrew,nelstrom/homebrew,jedahan/homebrew,alebcay/homebrew,Hasimir/homebrew,brendanator/linuxbrew,pigoz/homebrew,nicowilliams/homebrew,oncletom/homebrew,ened/homebrew,xb123456456/homebrew,wrunnery/homebrew,eugenesan/homebrew,godu/homebrew,paulbakker/homebrew,decors/homebrew,oschwald/homebrew,MSch/homebrew,jiaoyigui/homebrew,h3r2on/homebrew,kenips/homebrew,oschwald/homebrew,simsicon/homebrew,outcoldman/homebrew,rillian/homebrew,GeekHades/homebrew,oubiwann/homebrew,yonglehou/homebrew,gcstang/homebrew,okuramasafumi/homebrew,dardo82/homebrew,wfalkwallace/homebrew,rillian/homebrew,sublimino/linuxbrew,verbitan/homebrew,freedryk/homebrew,linse073/homebrew,tjschuck/homebrew,rneatherway/homebrew,rs/homebrew,superlukas/homebrew,frozzare/homebrew,mhartington/homebrew,LaurentFough/homebrew,AlexejK/homebrew,kevinastone/homebrew,hwhelchel/homebrew,ahihi/tigerbrew,kimhunter/homebrew,menivaitsi/homebrew,kgb4000/homebrew,Drewshg312/homebrew,mathieubolla/homebrew,gnawhleinad/homebrew,qiruiyin/homebrew,supriyantomaftuh/homebrew,TrevorSayre/homebrew,anders/homebrew,lucas-clemente/homebrew,cchacin/homebrew,dtrebbien/homebrew,mattfritz/homebrew,vigo/homebrew,andy12530/homebrew,pdxdan/homebrew,mpfz0r/homebrew,saketkc/linuxbrew,kenips/homebrew,tdsmith/linuxbrew,jgelens/homebrew,swallat/homebrew,elasticdog/homebrew,ebouaziz/linuxbrew,yyn835314557/homebrew,chfast/homebrew,arg/homebrew,thejustinwalsh/homebrew,bruno-/homebrew,paulbakker/homebrew,virtuald/homebrew,nandub/homebrew,alexandrecormier/homebrew,callahad/homebrew,qskycolor/homebrew,avnit/EGroovy,e-jigsaw/homebrew,erezny/homebrew,vinodkone/homebrew,elamc/homebrew,boshnivolo/homebrew,trajano/homebrew,ExtremeMan/homebrew,yidongliu/homebrew,afb/homebrew,keithws/homebrew,JerroldLee/homebrew,jbpionnier/homebrew,fabianfreyer/homebrew,Gui13/linuxbrew,bruno-/homebrew,marcelocantos/homebrew,mbi/homebrew,mindrones/homebrew,feugenix/homebrew,sigma-random/homebrew,deorth/homebrew,adevress/homebrew,jiaoyigui/homebrew,kad/homebrew,jtrag/homebrew,sje30/homebrew,a-b/homebrew,jehutymax/homebrew,shazow/homebrew,creack/homebrew,alfasapy/homebrew,lousama/homebrew,jehutymax/homebrew,mmizutani/homebrew,dkotvan/homebrew,koraktor/homebrew,jimmy906/homebrew,jpscaletti/homebrew,dolfly/homebrew,ffleming/homebrew,tomas/linuxbrew,OJFord/homebrew,harsha-mudi/homebrew,lmontrieux/homebrew,menivaitsi/homebrew,scpeters/homebrew,callahad/homebrew,bluca/homebrew,gawbul/homebrew,jeremiahyan/homebrew,base10/homebrew,harsha-mudi/homebrew,tehmaze-labs/homebrew,nshemonsky/homebrew,Russell91/homebrew,vigo/homebrew,syhw/homebrew,gvangool/homebrew,Krasnyanskiy/homebrew,pcottle/homebrew,msurovcak/homebrew,ortho/homebrew,baldwicc/homebrew,ldiqual/homebrew,bwmcadams/homebrew,dericed/homebrew,malmaud/homebrew,digiter/linuxbrew,patrickmckenna/homebrew,bjorand/homebrew,thrifus/homebrew,dstndstn/homebrew,bidle/homebrew,osimola/homebrew,bcwaldon/homebrew,gabelevi/homebrew,hanxue/homebrew,danpalmer/homebrew,emilyst/homebrew,cnbin/homebrew,Hs-Yeah/homebrew,jessamynsmith/homebrew,atsjj/homebrew,totalvoidness/homebrew,ehamberg/homebrew,lousama/homebrew,yoshida-mediba/homebrew,ryanshaw/homebrew,dalanmiller/homebrew,waynegraham/homebrew,kodabb/homebrew,gnawhleinad/homebrew,lmontrieux/homebrew,rosalsm/homebrew,WangGL1985/homebrew,osimola/homebrew,amenk/linuxbrew,marcoceppi/homebrew,ortho/homebrew,justjoheinz/homebrew,dstndstn/homebrew,hanlu-chen/homebrew,cvrebert/homebrew,andreyto/homebrew,qorelanguage/homebrew,tghs/linuxbrew,tomas/homebrew,martinklepsch/homebrew,bright-sparks/homebrew,ericzhou2008/homebrew,NfNitLoop/homebrew,kazuho/homebrew,bcwaldon/homebrew,iandennismiller/homebrew,ear/homebrew,stevenjack/homebrew,antst/homebrew,phatblat/homebrew,tutumcloud/homebrew,mattfarina/homebrew,elyscape/homebrew,bendoerr/homebrew,epixa/homebrew,chadcatlett/homebrew,kyanny/homebrew,Angeldude/linuxbrew,DarthGandalf/homebrew,malmaud/homebrew,LonnyGomes/homebrew,coldeasy/homebrew,mxk1235/homebrew,Asuranceturix/homebrew,SteveClement/homebrew,feuvan/homebrew,alebcay/homebrew,jingweno/homebrew,bbhoss/homebrew,julienXX/homebrew,mtfelix/homebrew,xuebinglee/homebrew,keithws/homebrew,AntonioMeireles/homebrew,Klozz/homebrew,dericed/homebrew,protomouse/homebrew,John-Colvin/homebrew,Originate/homebrew,benswift404/homebrew,jack-and-rozz/linuxbrew,craig5/homebrew,mprobst/homebrew,petemcw/homebrew,IsmailM/linuxbrew,pinkpolygon/homebrew,wfarr/homebrew,scorphus/homebrew,ened/homebrew,Originate/homebrew,jimmy906/homebrew,clemensg/homebrew,wolfd/homebrew,3van/homebrew,amenk/linuxbrew,LaurentFough/homebrew,Habbie/homebrew,bbahrami/homebrew,karlhigley/homebrew,tsaeger/homebrew,yyn835314557/homebrew,arg/homebrew,jarrettmeyer/homebrew,sakra/homebrew,AlexejK/homebrew,tuxu/homebrew,mtigas/homebrew,harelba/homebrew,simsicon/homebrew,MSch/homebrew,mroth/homebrew,ldiqual/homebrew,BrewTestBot/homebrew,LegNeato/homebrew,jeremiahyan/homebrew,zchee/homebrew,jwillemsen/linuxbrew,catap/homebrew,lemaiyan/homebrew,sometimesfood/homebrew,haihappen/homebrew,dtan4/homebrew,Homebrew/homebrew,int3h/homebrew,telamonian/linuxbrew,dmarkrollins/homebrew,arg/homebrew,idolize/homebrew,eugenesan/homebrew,jcassiojr/homebrew,oliviertilmans/homebrew,kbinani/homebrew,valkjsaaa/homebrew,retrography/homebrew,scardetto/homebrew,docwhat/homebrew,supriyantomaftuh/homebrew,bitrise-io/homebrew,adamliter/homebrew,TaylorMonacelli/homebrew,ajshort/homebrew,andreyto/homebrew,jbpionnier/homebrew,Noctem/homebrew,jbaum98/linuxbrew,woodruffw/homebrew-test,tylerball/homebrew,chabhishek123/homebrew,mindrones/homebrew,finde/homebrew,geometrybase/homebrew,number5/homebrew,linjunpop/homebrew,dpalmer93/homebrew,booi/homebrew,max-horvath/homebrew,MonCoder/homebrew,jackmcgreevy/homebrew,tobz-nz/homebrew,KevinSjoberg/homebrew,aaronwolen/homebrew,giffels/homebrew,sjackman/linuxbrew,rlister/homebrew,a1dutch/homebrew,pdxdan/homebrew,kwilczynski/homebrew,tutumcloud/homebrew,creack/homebrew,catap/homebrew,mattbostock/homebrew,jeffmo/homebrew,LeoCavaille/homebrew,davidcelis/homebrew,sugryo/homebrew,thebyrd/homebrew,cosmo0920/homebrew,3van/homebrew,sptramer/homebrew,dlesaca/homebrew,yazuuchi/homebrew,mttrb/homebrew,royalwang/homebrew,plattenschieber/homebrew,heinzf/homebrew,redpen-cc/homebrew,chkuendig/homebrew,xcezx/homebrew,whitej125/homebrew,thuai/boxen,deorth/homebrew,boyanpenkov/homebrew,mjc-/homebrew,dalanmiller/homebrew,rosalsm/homebrew,anders/homebrew,felixonmars/homebrew,Redth/homebrew,jwatzman/homebrew,RandyMcMillan/homebrew,youtux/homebrew,martinklepsch/homebrew,MartinDelille/homebrew,SnoringFrog/homebrew,cooltheo/homebrew,davydden/homebrew,daviddavis/homebrew,anarchivist/homebrew,tavisto/homebrew,menivaitsi/homebrew,ryanshaw/homebrew,kikuchy/homebrew,alex/homebrew,danielfariati/homebrew,ktheory/homebrew,reelsense/linuxbrew,alexandrecormier/homebrew,BrewTestBot/homebrew,anarchivist/homebrew,denvazh/homebrew,SteveClement/homebrew,markpeek/homebrew,sigma-random/homebrew,Angeldude/linuxbrew,plattenschieber/homebrew,ryanshaw/homebrew,missingcharacter/homebrew,Cottser/homebrew,QuinnyPig/homebrew,ge11232002/homebrew,rs/homebrew,mindrones/homebrew,ahihi/tigerbrew,nandub/homebrew,hwhelchel/homebrew,cjheath/homebrew,karlhigley/homebrew,mroth/homebrew,pwnall/homebrew,bluca/homebrew,southwolf/homebrew,LegNeato/homebrew,helloworld-zh/homebrew,rillian/homebrew,ybott/homebrew,hyokosdeveloper/linuxbrew,danieroux/homebrew,miry/homebrew,dambrisco/homebrew,whistlerbrk/homebrew,lmontrieux/homebrew,drewwells/homebrew,jonafato/homebrew,tyrchen/homebrew,tseven/homebrew,John-Colvin/homebrew,cesar2535/homebrew,arrowcircle/homebrew,kalbasit/homebrew,kashif/homebrew,will/homebrew,mgiglia/homebrew,ktaragorn/homebrew,alindeman/homebrew,mattfarina/homebrew,afdnlw/linuxbrew,xuebinglee/homebrew,danieroux/homebrew,danielfariati/homebrew,a1dutch/homebrew,dreid93/homebrew,antst/homebrew,vinodkone/homebrew,jpascal/homebrew,number5/homebrew,galaxy001/homebrew,neronplex/homebrew,davydden/linuxbrew,lvicentesanchez/linuxbrew,5zzang/homebrew,liamstask/homebrew,zoltansx/homebrew,durka/homebrew,max-horvath/homebrew,swallat/homebrew,menivaitsi/homebrew,hwhelchel/homebrew,dunn/homebrew,marcelocantos/homebrew,Monits/homebrew,Kentzo/homebrew,paour/homebrew,elamc/homebrew,dirn/homebrew,trombonehero/homebrew,adriancole/homebrew,hakamadare/homebrew,1zaman/homebrew,royhodgman/homebrew,zfarrell/homebrew,iblueer/homebrew,kgb4000/homebrew,Govinda-Fichtner/homebrew,tzudot/homebrew,jeromeheissler/homebrew,tomas/homebrew,6100590/homebrew,grob3/homebrew,a-b/homebrew,Klozz/homebrew,dongcarl/homebrew,mathieubolla/homebrew,SteveClement/homebrew,dardo82/homebrew,protomouse/homebrew,jianjin/homebrew,nju520/homebrew,alex-zhang/homebrew,RandyMcMillan/homebrew,zeezey/homebrew,esalling23/homebrew,influxdata/homebrew,rhendric/homebrew,ssgelm/homebrew,kkirsche/homebrew,godu/homebrew,drbenmorgan/linuxbrew,SiegeLord/homebrew,alanthing/homebrew,pullreq/homebrew,AlekSi/homebrew,gyaresu/homebrew,indrajitr/homebrew,boyanpenkov/homebrew,akupila/homebrew,Gutek/homebrew,ento/homebrew,waynegraham/homebrew,AGWA-forks/homebrew,raphaelcohn/homebrew,wadejong/homebrew,higanworks/homebrew,alindeman/homebrew,davydden/linuxbrew,huitseeker/homebrew,kyanny/homebrew,joshfriend/homebrew,brendanator/linuxbrew,sarvex/linuxbrew,mbi/homebrew,aaronwolen/homebrew,marcelocantos/homebrew,tylerball/homebrew,rosalsm/homebrew,anjackson/homebrew,caputomarcos/linuxbrew,MoSal/homebrew,bcwaldon/homebrew,ktaragorn/homebrew,benjaminfrank/homebrew,ptolemarch/homebrew,calmez/homebrew,craigbrad/homebrew,tehmaze-labs/homebrew,linjunpop/homebrew,sitexa/homebrew,BlackFrog1/homebrew,mobileoverlord/homebrew-1,ybott/homebrew,erkolson/homebrew,hmalphettes/homebrew,xinlehou/homebrew,sptramer/homebrew,rs/homebrew,dstndstn/homebrew,vihangm/homebrew,AICIDNN/homebrew,mattprowse/homebrew,petemcw/homebrew,adamchainz/homebrew,yonglehou/homebrew,AtnNn/homebrew,nju520/homebrew,scpeters/homebrew,Cutehacks/homebrew,polishgeeks/homebrew,onlynone/homebrew,OJFord/homebrew,caijinyan/homebrew,otaran/homebrew,smarek/homebrew,hyuni/homebrew,treyharris/homebrew,gildegoma/homebrew,mattfarina/homebrew,fabianschuiki/homebrew,xinlehou/homebrew,darknessomi/homebrew,tonyghita/homebrew,cosmo0920/homebrew,emcrisostomo/homebrew,lhahne/homebrew,jwillemsen/homebrew,theckman/homebrew,Linuxbrew/linuxbrew,ndimiduk/homebrew,kwadade/LearnRuby,jconley/homebrew,polishgeeks/homebrew,ianbrandt/homebrew,rcombs/homebrew,antogg/homebrew,marcoceppi/homebrew,gijzelaerr/homebrew,rstacruz/homebrew,feelpp/homebrew,pampata/homebrew,decors/homebrew,ehamberg/homebrew,rnh/homebrew,xanderlent/homebrew,barn/homebrew,calmez/homebrew,skatsuta/homebrew,zoidbergwill/homebrew,pdpi/homebrew,mroch/homebrew,protomouse/homebrew,lhahne/homebrew,iggyvolz/linuxbrew,shawndellysse/homebrew,zfarrell/homebrew,chadcatlett/homebrew,a-b/homebrew,10sr/linuxbrew,alexethan/homebrew,ktheory/homebrew,qiruiyin/homebrew,afh/homebrew,jlisic/linuxbrew,francaguilar/homebrew,bbahrami/homebrew,thuai/boxen,bettyDes/homebrew,akupila/homebrew,mattbostock/homebrew,brevilo/linuxbrew,sarvex/linuxbrew,esamson/homebrew,DarthGandalf/homebrew,cvrebert/homebrew,paulbakker/homebrew,ssp/homebrew,mtigas/homebrew,cesar2535/homebrew,bendemaree/homebrew,gabelevi/homebrew,2inqui/homebrew,redpen-cc/homebrew,jesboat/homebrew,Noctem/homebrew,sferik/homebrew,dunn/homebrew,evanrs/homebrew,boshnivolo/homebrew,skinny-framework/homebrew,yangj1e/homebrew,mattprowse/homebrew,brunchboy/homebrew,wfarr/homebrew,malmaud/homebrew,theckman/homebrew,endelwar/homebrew,bettyDes/homebrew,ebouaziz/linuxbrew,cnbin/homebrew,xurui3762791/homebrew,Hasimir/homebrew,esamson/homebrew,ryanfb/homebrew,linse073/homebrew,djun-kim/homebrew,brianmhunt/homebrew,dtan4/homebrew,samplecount/homebrew,shazow/homebrew,thos37/homebrew,tjnycum/homebrew,mattprowse/homebrew,pnorman/homebrew,bidle/homebrew,FiMka/homebrew,eagleflo/homebrew,Austinpb/homebrew,alexreg/homebrew,hermansc/homebrew,ilovezfs/homebrew,5zzang/homebrew,LucyShapiro/before-after,decors/homebrew,muellermartin/homebrew,ajshort/homebrew,Firefishy/homebrew,DDShadoww/homebrew,ebardsley/homebrew,Redth/homebrew,poindextrose/homebrew,TaylorMonacelli/homebrew,darknessomi/homebrew,maxhope/homebrew,cHoco/homebrew,jbeezley/homebrew,chiefy/homebrew,timsutton/homebrew,dplarson/homebrew,Austinpb/homebrew,royhodgman/homebrew,jmtd/homebrew,lvh/homebrew,windoze/homebrew,princeofdarkness76/homebrew,e-jigsaw/homebrew,Lywangwenbin/homebrew,alexreg/homebrew,mrkn/homebrew,dlesaca/homebrew,SuperNEMO-DBD/cadfaelbrew,tbeckham/homebrew,zebMcCorkle/homebrew,bbhoss/homebrew,khwon/homebrew,razamatan/homebrew,tschoonj/homebrew,sportngin/homebrew,knpwrs/homebrew,jose-cieni-movile/homebrew,AGWA-forks/homebrew,guidomb/homebrew,zenazn/homebrew,voxxit/homebrew,arnested/homebrew,ilovezfs/homebrew,tomas/linuxbrew,tjt263/homebrew,cmvelo/homebrew,mcolic/homebrew,tany-ovcharenko/depot,jspahrsummers/homebrew,LeonB/linuxbrew,exicon/homebrew,Dreysman/homebrew,bcomnes/homebrew,kawanet/homebrew,craig5/homebrew,ngoyal/homebrew,jamesdphillips/homebrew,klazuka/homebrew,cbeck88/linuxbrew,qorelanguage/homebrew,bkonosky/homebrew,LegNeato/homebrew,tghs/linuxbrew,ngoldbaum/homebrew,Ivanopalas/homebrew,Sachin-Ganesh/homebrew,paulbakker/homebrew,getgauge/homebrew,fabianschuiki/homebrew,jmtd/homebrew,simsicon/homebrew,LaurentFough/homebrew,qskycolor/homebrew,jpascal/homebrew,vinicius5581/homebrew,valkjsaaa/homebrew,sock-puppet/homebrew,jingweno/homebrew,bwmcadams/homebrew,kad/homebrew,scardetto/homebrew,alex/homebrew,jpsim/homebrew,keith/homebrew,joshua-rutherford/homebrew,n8henrie/homebrew,sigma-random/homebrew,koenrh/homebrew,ianbrandt/homebrew,utzig/homebrew,ingmarv/homebrew,QuinnyPig/homebrew,feugenix/homebrew,Govinda-Fichtner/homebrew,mroch/homebrew,supriyantomaftuh/homebrew,tschoonj/homebrew,arg/homebrew,mttrb/homebrew,Firefishy/homebrew,s6stuc/homebrew,huitseeker/homebrew,baob/homebrew,sferik/homebrew,rnh/homebrew,tomguiter/homebrew,anders/homebrew,oliviertoupin/homebrew,kbinani/homebrew,xurui3762791/homebrew,hkwan003/homebrew,higanworks/homebrew,Gasol/homebrew,neronplex/homebrew,sublimino/linuxbrew,a-b/homebrew,tany-ovcharenko/depot,cvrebert/homebrew,mxk1235/homebrew,whistlerbrk/homebrew,vladshablinsky/homebrew,bright-sparks/homebrew,zorosteven/homebrew,mxk1235/homebrew,mpfz0r/homebrew,smarek/homebrew,optikfluffel/homebrew,jpscaletti/homebrew,ehogberg/homebrew,alexbukreev/homebrew,linkinpark342/homebrew,rstacruz/homebrew,pvrs12/homebrew,creack/homebrew,andyshinn/homebrew,ento/homebrew,jbeezley/homebrew,rhunter/homebrew,hanlu-chen/homebrew,lnr0626/homebrew,zabawaba99/homebrew,haihappen/homebrew,benjaminfrank/homebrew,goodcodeguy/homebrew,gcstang/linuxbrew,YOTOV-LIMITED/homebrew,zabawaba99/homebrew,linjunpop/homebrew,keith/homebrew,phrase/homebrew,elig/homebrew,danabrand/linuxbrew,smarek/homebrew,DDShadoww/homebrew,rstacruz/homebrew,kwilczynski/homebrew,pampata/homebrew,BlackFrog1/homebrew,nshemonsky/homebrew,poindextrose/homebrew,nandub/homebrew,dpalmer93/homebrew,jonafato/homebrew,lousama/homebrew,petere/homebrew,verdurin/homebrew,mroch/homebrew,brevilo/linuxbrew,martinklepsch/homebrew,kodabb/homebrew,cnbin/homebrew,docwhat/homebrew,gunnaraasen/homebrew,optikfluffel/homebrew,joshfriend/homebrew,outcoldman/homebrew,koraktor/homebrew,jsallis/homebrew,gvangool/homebrew,joschi/homebrew,oneillkza/linuxbrew,AlekSi/homebrew,bluca/homebrew,wkentaro/homebrew,DoomHammer/linuxbrew,polishgeeks/homebrew,kashif/homebrew,bendemaree/homebrew,adriancole/homebrew,GeekHades/homebrew,bendoerr/homebrew,godu/homebrew,cbenhagen/homebrew,youtux/homebrew,yonglehou/homebrew,silentbicycle/homebrew,felixonmars/homebrew,klatys/homebrew,dtan4/homebrew,zebMcCorkle/homebrew,RSamokhin/homebrew,jacobsa/homebrew,tkelman/homebrew,soleo/homebrew,dolfly/homebrew,marcelocantos/homebrew,schuyler/homebrew,polamjag/homebrew,mapbox/homebrew,bukzor/linuxbrew,2inqui/homebrew,colindean/homebrew,recruit-tech/homebrew,hvnsweeting/homebrew,Zearin/homebrew,packetcollision/homebrew,jab/homebrew,samthor/homebrew,omriiluz/homebrew,goodcodeguy/homebrew,jab/homebrew,moyogo/homebrew,simsicon/homebrew,youprofit/homebrew,atsjj/homebrew,kad/homebrew,creationix/homebrew,ehogberg/homebrew,GeekHades/homebrew,idolize/homebrew,fabianfreyer/homebrew,blogabe/homebrew,Cutehacks/homebrew,nnutter/homebrew,hmalphettes/homebrew,TrevorSayre/homebrew,tjt263/homebrew,ge11232002/homebrew,kevmoo/homebrew,coldeasy/homebrew,pdpi/homebrew,blogabe/homebrew,buzzedword/homebrew,Lywangwenbin/homebrew,royalwang/homebrew,tstack/homebrew,lucas-clemente/homebrew,chadcatlett/homebrew,geoff-codes/homebrew,kyanny/homebrew,bmroberts1987/homebrew,e-jigsaw/homebrew,freedryk/homebrew,jcassiojr/homebrew,andyshinn/homebrew,Homebrew/linuxbrew,gonzedge/homebrew,zabawaba99/homebrew,benswift404/homebrew,jessamynsmith/homebrew,apjanke/homebrew,hanlu-chen/homebrew,phatblat/homebrew,henry0312/homebrew,elyscape/homebrew,MonCoder/homebrew,Drewshg312/homebrew,LaurentFough/homebrew,Ivanopalas/homebrew,tdsmith/linuxbrew,sakra/homebrew,danpalmer/homebrew,trajano/homebrew,psibre/homebrew,mgiglia/homebrew,Angeldude/linuxbrew,iamcharp/homebrew,chenflat/homebrew,songjizu001/homebrew,OJFord/homebrew,xcezx/homebrew,bkonosky/homebrew,songjizu001/homebrew,ear/homebrew,jwillemsen/homebrew,henry0312/homebrew,tpot/homebrew,imjerrybao/homebrew,LucyShapiro/before-after,zoidbergwill/homebrew,h3r2on/homebrew,sitexa/homebrew,polamjag/homebrew,sarvex/linuxbrew,ebardsley/homebrew,afh/homebrew,Homebrew/linuxbrew,megahall/homebrew,10sr/linuxbrew,kawanet/homebrew,superlukas/homebrew,mciantyre/homebrew,stevenjack/homebrew,zebMcCorkle/homebrew,caputomarcos/linuxbrew,pigoz/homebrew,Monits/homebrew,eagleflo/homebrew,DDShadoww/homebrew,ge11232002/homebrew,moyogo/homebrew,dlesaca/homebrew,drbenmorgan/linuxbrew,avnit/EGroovy,MartinSeeler/homebrew,cffk/homebrew,markpeek/homebrew,youprofit/homebrew,patrickmckenna/homebrew,indera/homebrew,alindeman/homebrew,srikalyan/homebrew,rstacruz/homebrew,yazuuchi/homebrew,arcivanov/linuxbrew,notDavid/homebrew,elasticdog/homebrew,zhipeng-jia/homebrew,whitej125/homebrew,dgageot/homebrew,romejoe/linuxbrew,jedahan/homebrew,drbenmorgan/linuxbrew,kevmoo/homebrew,woodruffw/homebrew-test,grmartin/homebrew,frickler01/homebrew,dstftw/homebrew,indera/homebrew,e-jigsaw/homebrew,Moisan/homebrew,jwatzman/homebrew,amjith/homebrew,gicmo/homebrew,mokkun/homebrew,amenk/linuxbrew,martinklepsch/homebrew,mommel/homebrew,guoxiao/homebrew,digiter/linuxbrew,Homebrew/homebrew,liuquansheng47/Homebrew,linkinpark342/homebrew,tstack/homebrew,elyscape/homebrew,bendemaree/homebrew,kazuho/homebrew,recruit-tech/homebrew,chkuendig/homebrew,frozzare/homebrew,anjackson/homebrew,dlo/homebrew,psibre/homebrew,keithws/homebrew,kevmoo/homebrew,jab/homebrew,kevmoo/homebrew,deorth/homebrew,phrase/homebrew,dunn/linuxbrew,glowe/homebrew,LinusU/homebrew,PikachuEXE/homebrew,CNA-Bld/homebrew,hikaruworld/homebrew,Gui13/linuxbrew,drewwells/homebrew,giffels/homebrew,Asuranceturix/homebrew,scardetto/homebrew,bjlxj2008/homebrew,AICIDNN/homebrew,sorin-ionescu/homebrew,number5/homebrew,Dreysman/homebrew,petercm/homebrew,number5/homebrew,jarrettmeyer/homebrew,danielmewes/homebrew,akshayvaidya/homebrew,jkarneges/homebrew,kodabb/homebrew,scorphus/homebrew,muellermartin/homebrew,FiMka/homebrew,ieure/homebrew,ls2uper/homebrew,kevinastone/homebrew,tbeckham/homebrew,zorosteven/homebrew,bidle/homebrew,cprecioso/homebrew,mkrapp/homebrew,jsallis/homebrew,jiaoyigui/homebrew,jgelens/homebrew,pedromaltez-forks/homebrew,bl1nk/homebrew,idolize/homebrew,notDavid/homebrew,huitseeker/homebrew,quantumsteve/homebrew,mokkun/homebrew,hyokosdeveloper/linuxbrew,keith/homebrew,pdpi/homebrew,oliviertilmans/homebrew,pigri/homebrew,mtigas/homebrew,rwstauner/homebrew,influxdb/homebrew,rhoffman3621/learn-rails,timsutton/homebrew,emilyst/homebrew,omriiluz/homebrew,linse073/homebrew,petercm/homebrew,daviddavis/homebrew,otaran/homebrew,danpalmer/homebrew,tomas/linuxbrew,BlackFrog1/homebrew,dtan4/homebrew,trajano/homebrew,razamatan/homebrew,davidmalcolm/homebrew,packetcollision/homebrew,aristiden7o/homebrew,nnutter/homebrew,qorelanguage/homebrew,rwstauner/homebrew,jpsim/homebrew,timomeinen/homebrew,digiter/linuxbrew,catap/homebrew,dericed/homebrew,samthor/homebrew,andy12530/homebrew,LegNeato/homebrew,gyaresu/homebrew,lmontrieux/homebrew,BlackFrog1/homebrew,ngoyal/homebrew,aguynamedryan/homebrew,jamer/homebrew,caijinyan/homebrew,royhodgman/homebrew,Homebrew/homebrew,chfast/homebrew,cooltheo/homebrew,elamc/homebrew,miketheman/homebrew,tyrchen/homebrew,jcassiojr/homebrew,robotblake/homebrew,fabianfreyer/homebrew,sptramer/homebrew,bertjwregeer/homebrew,kashif/homebrew,kidaa/homebrew,theopolis/homebrew,sidhart/homebrew,jbaum98/linuxbrew,retrography/homebrew,treyharris/homebrew,zhimsel/homebrew,sje30/homebrew,gvangool/homebrew,henry0312/homebrew,NfNitLoop/homebrew,afh/homebrew,kalbasit/homebrew,kawanet/homebrew,rtyley/homebrew,jmtd/homebrew,adamchainz/homebrew,tomyun/homebrew,exicon/homebrew,harelba/homebrew,prasincs/homebrew,otaran/homebrew,mbrevda/homebrew,AtkinsChang/homebrew,alexandrecormier/homebrew,auvi/homebrew,yidongliu/homebrew,arrowcircle/homebrew,tjhei/linuxbrew,polamjag/homebrew,baob/homebrew,jsallis/homebrew,rwstauner/homebrew,seeden/homebrew,MartinDelille/homebrew,egentry/homebrew,ryanshaw/homebrew,chfast/homebrew,Gasol/homebrew,bmroberts1987/homebrew,southwolf/homebrew,theopolis/homebrew,petere/homebrew,liamstask/homebrew,petere/homebrew,brevilo/linuxbrew,iostat/homebrew2,cbenhagen/homebrew,shazow/homebrew,lrascao/homebrew,teslamint/homebrew,Ferrari-lee/homebrew,tutumcloud/homebrew,utzig/homebrew,mhartington/homebrew,h3r2on/homebrew,caputomarcos/linuxbrew,finde/homebrew,muellermartin/homebrew,soleo/homebrew,SampleLiao/homebrew,kwilczynski/homebrew,kkirsche/homebrew,dirn/homebrew,osimola/homebrew,kalbasit/homebrew,moyogo/homebrew,dmarkrollins/homebrew,jpscaletti/homebrew,elgertam/homebrew,bl1nk/homebrew,MartinSeeler/homebrew,megahall/homebrew,kmiscia/homebrew,plattenschieber/homebrew,alex-zhang/homebrew,silentbicycle/homebrew,schuyler/homebrew,wangranche/homebrew,pinkpolygon/homebrew,knpwrs/homebrew,timomeinen/homebrew,SuperNEMO-DBD/cadfaelbrew,tomguiter/homebrew,tzudot/homebrew,jpascal/homebrew,kwadade/LearnRuby,AntonioMeireles/homebrew,davidmalcolm/homebrew,s6stuc/homebrew,cvrebert/homebrew,outcoldman/homebrew,iblueer/homebrew,jesboat/homebrew,digiter/linuxbrew,cnbin/homebrew,mactkg/homebrew,brianmhunt/homebrew,DDShadoww/homebrew,pgr0ss/homebrew,hvnsweeting/homebrew,youtux/homebrew,wrunnery/homebrew,josa42/homebrew,influxdata/homebrew,iandennismiller/homebrew,liuquansheng47/Homebrew,mcolic/homebrew,boneskull/homebrew,notDavid/homebrew,nelstrom/homebrew,akupila/homebrew,Habbie/homebrew,iamcharp/homebrew,jwatzman/homebrew,haihappen/homebrew,jeremiahyan/homebrew,clemensg/homebrew,SiegeLord/homebrew,tkelman/homebrew,karlhigley/homebrew,xurui3762791/homebrew,hongkongkiwi/homebrew,blairham/homebrew,gcstang/linuxbrew,baldwicc/homebrew,adamchainz/homebrew,joshua-rutherford/homebrew,LinusU/homebrew,tavisto/homebrew,esamson/homebrew,tpot/homebrew,yoshida-mediba/homebrew,jianjin/homebrew,bendoerr/homebrew,Moisan/homebrew,georgschoelly/homebrew,ndimiduk/homebrew,Hasimir/homebrew,amenk/linuxbrew,jianjin/homebrew,creationix/homebrew,ericfischer/homebrew,drewpc/homebrew,Hasimir/homebrew,Moisan/homebrew,deployable/homebrew,bukzor/homebrew,AICIDNN/homebrew,sock-puppet/homebrew,rnh/homebrew,koraktor/homebrew,samthor/homebrew,poindextrose/homebrew,zabawaba99/homebrew,Krasnyanskiy/homebrew,AGWA-forks/homebrew,oneillkza/linuxbrew,superlukas/homebrew,shawndellysse/homebrew,srikalyan/homebrew,tehmaze-labs/homebrew,dkotvan/homebrew,auvi/homebrew,thinker0/homebrew,joschi/homebrew,ge11232002/homebrew,eagleflo/homebrew,wadejong/homebrew,qorelanguage/homebrew,jlisic/linuxbrew,codeout/homebrew,dtrebbien/homebrew,ktheory/homebrew,pigoz/homebrew,ainstushar/homebrew,haosdent/homebrew,colindean/homebrew,waj/homebrew,sorin-ionescu/homebrew,xinlehou/homebrew,sorin-ionescu/homebrew,esalling23/homebrew,Chilledheart/homebrew,zorosteven/homebrew,kevmoo/homebrew,Zearin/homebrew,georgschoelly/homebrew,sorin-ionescu/homebrew,dholm/homebrew,blairham/homebrew,kbrock/homebrew,ainstushar/homebrew,bukzor/homebrew,maxhope/homebrew,dpalmer93/homebrew,ekmett/homebrew,cesar2535/homebrew,robrix/homebrew,sdebnath/homebrew,gunnaraasen/homebrew,seegno-forks/homebrew,exicon/homebrew,kidaa/homebrew,kikuchy/homebrew,cchacin/homebrew,BrewTestBot/homebrew,grob3/homebrew,optikfluffel/homebrew,knpwrs/homebrew,retrography/homebrew,RadicalZephyr/homebrew,jessamynsmith/homebrew,felixonmars/homebrew,moltar/homebrew,klatys/homebrew,thinker0/homebrew,patrickmckenna/homebrew,docwhat/homebrew,smarek/homebrew,michaKFromParis/homebrew-sparks,lucas-clemente/homebrew,alex/homebrew,pdxdan/homebrew,int3h/homebrew,zeezey/homebrew,jwillemsen/homebrew,srikalyan/homebrew,Monits/homebrew,feuvan/homebrew,mommel/homebrew,scpeters/homebrew,robrix/homebrew,mcolic/homebrew,ndimiduk/homebrew,winordie-47/linuxbrew1,durka/homebrew,FiMka/homebrew,slnovak/homebrew,ffleming/homebrew,eighthave/homebrew,miry/homebrew,harelba/homebrew,moyogo/homebrew,Krasnyanskiy/homebrew,PikachuEXE/homebrew,jacobsa/homebrew,dtrebbien/homebrew,187j3x1/homebrew,lvicentesanchez/homebrew,Zearin/homebrew,halloleo/homebrew,Habbie/homebrew,jtrag/homebrew,creationix/homebrew,soleo/homebrew,zhipeng-jia/homebrew,rlhh/homebrew,baob/homebrew,AGWA-forks/homebrew,tbetbetbe/linuxbrew,xinlehou/homebrew,int3h/homebrew,jpsim/homebrew,treyharris/homebrew,bjlxj2008/homebrew,chkuendig/homebrew,dutchcoders/homebrew,adamliter/homebrew,dongcarl/homebrew,LonnyGomes/homebrew,hyuni/homebrew,pdpi/homebrew,muellermartin/homebrew,bettyDes/homebrew,zachmayer/homebrew,akshayvaidya/homebrew,bukzor/linuxbrew,gnawhleinad/homebrew,pullreq/homebrew,getgauge/homebrew,mbi/homebrew,kevinastone/homebrew,royalwang/homebrew,danabrand/linuxbrew,pampata/homebrew,bcomnes/homebrew,tsaeger/homebrew,petere/homebrew,brunchboy/homebrew,adamliter/linuxbrew,zenazn/homebrew,mndrix/homebrew,tbetbetbe/linuxbrew,CNA-Bld/homebrew,hkwan003/homebrew,mprobst/homebrew,mobileoverlord/homebrew-1,psibre/homebrew,Spacecup/homebrew,max-horvath/homebrew,mmizutani/homebrew,darknessomi/homebrew,ExtremeMan/homebrew,koenrh/homebrew,daviddavis/homebrew,rlhh/homebrew,ybott/homebrew,rhoffman3621/learn-rails,AlekSi/homebrew,mokkun/homebrew,missingcharacter/homebrew,1zaman/homebrew,gnubila-france/linuxbrew,antogg/homebrew,kbinani/homebrew,hikaruworld/homebrew,AntonioMeireles/homebrew,marcwebbie/homebrew,wrunnery/homebrew,jbarker/homebrew,robotblake/homebrew,denvazh/homebrew,ffleming/homebrew,mroch/homebrew,rhunter/homebrew,adamliter/linuxbrew,benesch/homebrew,gonzedge/homebrew,kbrock/homebrew,justjoheinz/homebrew,afb/homebrew,kimhunter/homebrew,outcoldman/linuxbrew,mbrevda/homebrew,ryanmt/homebrew,tylerball/homebrew,emcrisostomo/homebrew,waynegraham/homebrew,teslamint/homebrew,dai0304/homebrew,ianbrandt/homebrew,bcomnes/homebrew,brendanator/linuxbrew,reelsense/homebrew,iggyvolz/linuxbrew,summermk/homebrew,tomas/homebrew,tuedan/homebrew,gcstang/homebrew,kwilczynski/homebrew,cjheath/homebrew,adamchainz/homebrew,jeffmo/homebrew,saketkc/linuxbrew,brunchboy/homebrew,Kentzo/homebrew,jcassiojr/homebrew,ilovezfs/homebrew,yoshida-mediba/homebrew,pgr0ss/homebrew,jmagnusson/homebrew,lewismc/homebrew,kazuho/homebrew,ptolemarch/homebrew,sublimino/linuxbrew,asparagui/homebrew,alindeman/homebrew,sideci-sample/sideci-sample-homebrew,jamesdphillips/homebrew,kvs/homebrew,AlekSi/homebrew,ablyler/homebrew,skatsuta/homebrew,joeyhoer/homebrew,oliviertilmans/homebrew,finde/homebrew,glowe/homebrew,gunnaraasen/homebrew,karlhigley/homebrew,trskop/linuxbrew,baldwicc/homebrew,base10/homebrew,zchee/homebrew,summermk/homebrew,marcusandre/homebrew,zenazn/homebrew,dardo82/homebrew,pcottle/homebrew,ened/homebrew,Russell91/homebrew,slnovak/homebrew,missingcharacter/homebrew,will/homebrew,Krasnyanskiy/homebrew,mkrapp/homebrew,mcolic/homebrew,Spacecup/homebrew,bl1nk/homebrew,pvrs12/homebrew,epixa/homebrew,linkinpark342/homebrew,jsjohnst/homebrew,benswift404/homebrew,xuebinglee/homebrew,oncletom/homebrew,dutchcoders/homebrew,sarvex/linuxbrew,Cutehacks/homebrew,egentry/homebrew,elamc/homebrew,filcab/homebrew,skatsuta/homebrew,MSch/homebrew,thos37/homebrew,slyphon/homebrew,6100590/homebrew,cvrebert/homebrew,thos37/homebrew,prasincs/homebrew,schuyler/homebrew,kilojoules/homebrew,vladshablinsky/homebrew,marcoceppi/homebrew,jingweno/homebrew,jimmy906/homebrew,Cottser/homebrew,carlmod/homebrew,Sachin-Ganesh/homebrew,zhimsel/homebrew,zhimsel/homebrew,bertjwregeer/homebrew,bertjwregeer/homebrew,oliviertoupin/homebrew,jiashuw/homebrew,colindean/homebrew,halloleo/homebrew,zj568/homebrew,wfalkwallace/homebrew,nnutter/homebrew,chenflat/homebrew,1zaman/homebrew,mpfz0r/homebrew,robrix/homebrew,chenflat/homebrew,blogabe/homebrew,davydden/linuxbrew,jmstacey/homebrew,ffleming/homebrew,srikalyan/homebrew,tpot/homebrew,NfNitLoop/homebrew,feelpp/homebrew,recruit-tech/homebrew,cscetbon/homebrew,geoff-codes/homebrew,mattfarina/homebrew,jianjin/homebrew,mmizutani/homebrew,bidle/homebrew,bbhoss/homebrew,verbitan/homebrew,Gui13/linuxbrew,thrifus/homebrew,dai0304/homebrew,Redth/homebrew,SuperNEMO-DBD/cadfaelbrew,tghs/linuxbrew,Klozz/homebrew,dstftw/homebrew,lvicentesanchez/homebrew,Cutehacks/homebrew,thejustinwalsh/homebrew,creack/homebrew,ssp/homebrew,neronplex/homebrew,jonas/homebrew,schuyler/homebrew,grepnull/homebrew,joschi/homebrew,oliviertoupin/homebrew,rhunter/homebrew,Homebrew/linuxbrew,cHoco/homebrew,alex/homebrew,boyanpenkov/homebrew,OlivierParent/homebrew,Gui13/linuxbrew,stevenjack/homebrew,Habbie/homebrew,max-horvath/homebrew,yumitsu/homebrew,waj/homebrew,decors/homebrew,DarthGandalf/homebrew,zorosteven/homebrew,gyaresu/homebrew,bendemaree/homebrew,dolfly/homebrew,Spacecup/homebrew,sidhart/homebrew,callahad/homebrew,caputomarcos/linuxbrew,PikachuEXE/homebrew,DoomHammer/linuxbrew,fabianschuiki/homebrew,omriiluz/homebrew,deployable/homebrew,ryanmt/homebrew,rlister/homebrew,hanlu-chen/homebrew,iamcharp/homebrew,nicowilliams/homebrew,Govinda-Fichtner/homebrew,zachmayer/homebrew,oliviertoupin/homebrew,zhipeng-jia/homebrew,whistlerbrk/homebrew,mttrb/homebrew,scorphus/homebrew,mommel/homebrew,karlhigley/homebrew,gvangool/homebrew,outcoldman/linuxbrew,glowe/homebrew,jonas/homebrew,rhendric/homebrew,zeha/homebrew,erkolson/homebrew,oneillkza/linuxbrew,tkelman/homebrew,sigma-random/homebrew,samplecount/homebrew,epixa/homebrew,rtyley/homebrew,jackmcgreevy/homebrew,creationix/homebrew,nysthee/homebrew,jeromeheissler/homebrew,getgauge/homebrew,gnubila-france/linuxbrew,SiegeLord/homebrew,guidomb/homebrew,pwnall/homebrew,polamjag/homebrew,jwillemsen/homebrew,bchatard/homebrew,paour/homebrew,iandennismiller/homebrew,sugryo/homebrew,helloworld-zh/homebrew,ingmarv/homebrew,ablyler/homebrew,jackmcgreevy/homebrew,hanxue/homebrew,mactkg/homebrew,kim0/homebrew,neronplex/homebrew,danieroux/homebrew,SteveClement/homebrew,msurovcak/homebrew,jarrettmeyer/homebrew,theeternalsw0rd/homebrew,mhartington/homebrew,mactkg/homebrew,bmroberts1987/homebrew,trskop/linuxbrew,qiruiyin/homebrew,dai0304/homebrew,tomas/linuxbrew,outcoldman/linuxbrew,marcusandre/homebrew,raphaelcohn/homebrew,nkolomiec/homebrew,waj/homebrew,stoshiya/homebrew,xb123456456/homebrew,vinodkone/homebrew,tomekr/homebrew,lnr0626/homebrew,englishm/homebrew,mommel/homebrew,kenips/homebrew,alebcay/homebrew,peteristhegreat/homebrew,adevress/homebrew,IsmailM/linuxbrew,cprecioso/homebrew,ldiqual/homebrew,SampleLiao/homebrew,mjc-/homebrew,syhw/homebrew,saketkc/homebrew,LeonB/linuxbrew,ldiqual/homebrew,pedromaltez-forks/homebrew,windoze/homebrew,jiashuw/homebrew,base10/homebrew,gicmo/homebrew,ngoldbaum/homebrew,windoze/homebrew,davydden/linuxbrew,royhodgman/homebrew,Asuranceturix/homebrew,deployable/homebrew,dconnolly/homebrew,chiefy/homebrew,jasonm23/homebrew,atsjj/homebrew,ekmett/homebrew,andyshinn/homebrew,kbrock/homebrew,helloworld-zh/homebrew,robrix/homebrew,Sachin-Ganesh/homebrew,dunn/homebrew,nandub/homebrew,Ferrari-lee/homebrew,afdnlw/linuxbrew,bjorand/homebrew,gnubila-france/linuxbrew,trombonehero/homebrew,DoomHammer/linuxbrew,phatblat/homebrew,gnubila-france/linuxbrew,aaronwolen/homebrew,cchacin/homebrew,ilidar/homebrew,timomeinen/homebrew,giffels/homebrew,barn/homebrew,trombonehero/homebrew,arnested/homebrew,patrickmckenna/homebrew,jtrag/homebrew,tschoonj/homebrew,jpsim/homebrew,gijzelaerr/homebrew,getgauge/homebrew,ralic/homebrew,evanrs/homebrew,gonzedge/homebrew,craigbrad/homebrew,danielfariati/homebrew,NRauh/homebrew,ieure/homebrew,zeezey/homebrew,avnit/EGroovy,Hs-Yeah/homebrew,telamonian/linuxbrew,dtrebbien/homebrew,WangGL1985/homebrew,mokkun/homebrew,John-Colvin/homebrew,ariscop/homebrew,tutumcloud/homebrew,frodeaa/homebrew,chabhishek123/homebrew,danielmewes/homebrew,dgageot/homebrew,tghs/linuxbrew,sublimino/linuxbrew,Ferrari-lee/homebrew,jamesdphillips/homebrew,ExtremeMan/homebrew,dlesaca/homebrew,LeoCavaille/homebrew,zj568/homebrew,hkwan003/homebrew,LegNeato/homebrew,davydden/homebrew,mgiglia/homebrew,wfarr/homebrew,jingweno/homebrew,alex-zhang/homebrew,Austinpb/homebrew,songjizu001/homebrew,ctate/autocode-homebrew,buzzedword/homebrew,RSamokhin/homebrew,wolfd/homebrew,zeha/homebrew,jehutymax/homebrew,arrowcircle/homebrew,bendoerr/homebrew,KevinSjoberg/homebrew,verdurin/homebrew,Govinda-Fichtner/homebrew,antst/homebrew,afb/homebrew,mprobst/homebrew,morevalily/homebrew,haosdent/homebrew,LeonB/linuxbrew,cristobal/homebrew,digiter/linuxbrew,shawndellysse/homebrew,okuramasafumi/homebrew,ebouaziz/linuxbrew,pampata/homebrew,PikachuEXE/homebrew,rlister/homebrew,Gasol/homebrew,emcrisostomo/homebrew,dericed/homebrew,jpscaletti/homebrew,sportngin/homebrew,Linuxbrew/linuxbrew,tstack/homebrew,amarshall/homebrew,Sachin-Ganesh/homebrew,jedahan/homebrew,ktaragorn/homebrew,frickler01/homebrew,tuxu/homebrew,dunn/homebrew,jbpionnier/homebrew,mmizutani/homebrew,tjhei/linuxbrew,OJFord/homebrew,lvh/homebrew,danielfariati/homebrew,frodeaa/homebrew,bertjwregeer/homebrew,adamliter/linuxbrew,englishm/homebrew,xanderlent/homebrew,linse073/homebrew,ainstushar/homebrew,WangGL1985/homebrew,idolize/homebrew,endelwar/homebrew,erezny/homebrew,ortho/homebrew,voxxit/homebrew,higanworks/homebrew,pedromaltez-forks/homebrew,aristiden7o/homebrew,mtfelix/homebrew,indera/homebrew,theckman/homebrew,pnorman/homebrew
ruby
## Code Before: require 'hardware' require 'extend/ENV/shared' require 'extend/ENV/std' require 'extend/ENV/super' def superenv? return false if MacOS::Xcode.without_clt? && MacOS.sdk_path.nil? return false unless Superenv.bin && Superenv.bin.directory? return false if ARGV.env == "std" true end module EnvActivation def activate_extensions! if superenv? extend(Superenv) else extend(Stdenv) end end def with_build_environment old_env = to_hash.dup tmp_env = to_hash.dup.extend(EnvActivation) tmp_env.activate_extensions! tmp_env.setup_build_environment replace(tmp_env) yield ensure replace(old_env) end end ENV.extend(EnvActivation) ## Instruction: Simplify conditions for superenv activation `MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?` should never be true. In its earliest form, this would raise a bare RuntimeError in an effort to have the bug reported. Later, it was changed to silently disable superenv. But we don't want to do that. If there's a bug, or the user's system is misconfigured, we want to know, so that we can fix the bug, or the user can fix their system. So let's remove the condition. ## Code After: require 'hardware' require 'extend/ENV/shared' require 'extend/ENV/std' require 'extend/ENV/super' def superenv? Superenv.bin && Superenv.bin.directory? && ARGV.env != "std" end module EnvActivation def activate_extensions! if superenv? extend(Superenv) else extend(Stdenv) end end def with_build_environment old_env = to_hash.dup tmp_env = to_hash.dup.extend(EnvActivation) tmp_env.activate_extensions! tmp_env.setup_build_environment replace(tmp_env) yield ensure replace(old_env) end end ENV.extend(EnvActivation)
f6454cf80f90b6e6debaecce39f247f195ed2461
less/components/currency-dropdown.less
less/components/currency-dropdown.less
.currency-dropdown { width: 80px; font-size: 14px; text-transform: uppercase; padding: 0; text-align: center; option { padding: 0; } }
.currency-dropdown { font-size: 14px; text-transform: uppercase; text-align: center; padding: 0 20px; option { padding: 0; } }
Fix dropdown weird position on Chrome
Fix dropdown weird position on Chrome This annoys me a bit that in Chrome the currency dropdown looks really weird
Less
mpl-2.0
ScottDowne/donate.mozilla.org,jbuck/donate.mozilla.org,alicoding/donate.mozilla.org,mozilla/donate.mozilla.org
less
## Code Before: .currency-dropdown { width: 80px; font-size: 14px; text-transform: uppercase; padding: 0; text-align: center; option { padding: 0; } } ## Instruction: Fix dropdown weird position on Chrome This annoys me a bit that in Chrome the currency dropdown looks really weird ## Code After: .currency-dropdown { font-size: 14px; text-transform: uppercase; text-align: center; padding: 0 20px; option { padding: 0; } }
593dafefaa8c26cf4a5364c59a5198ff45095072
ckanext/ioos_theme/templates/header.html
ckanext/ioos_theme/templates/header.html
{% ckan_extends %} {% block header_account %} <div id="center-logo"> <a href="https://ioos.us"> <img src="/img/top-ioos-logo.png" alt="IOOS Logo" id="header-logo" title="IOOS Logo"> </a> </div> {{super()}} {% endblock %} <a href="https://ioos.us"><img src="img/IOOS.png" alt="IOOS alt logo"></a> {% block header_site_navigation %} <nav class="section navigation"> <ul class="nav nav-pills"> {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('home.about', _('About')) ) }} {% endblock %} </ul> </nav> {% endblock %} {% block header_logo %} {% if g.site_logo %} <a class="logo" href="https://ioos.us"><img src="{{ h.url_for_static_or_external(g.site_logo) }}" alt="{{ g.site_title }}" title="{{ g.site_title }}" /></a> {% else %} <h1> <a href="{{ h.url('home') }}">{{ g.site_title }}</a> </h1> {% if g.site_description %}<h2>{{ g.site_description }}</h2>{% endif %} {% endif %} {% endblock %}
{% ckan_extends %} {% block header_account %} <div id="center-logo"> <a href="https://ioos.us"> <img src="/img/top-ioos-logo.png" alt="IOOS Logo" id="header-logo" title="IOOS Logo"> </a> </div> {{super()}} {% endblock %} <a href="https://ioos.us"><img src="img/IOOS.png" alt="IOOS alt logo"></a> {% block header_site_navigation %} <nav class="section navigation"> <ul class="nav nav-pills"> {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('home', _('Home')), ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('home.about', _('About')) ) }} {% endblock %} </ul> </nav> {% endblock %} {% block header_logo %} {% if g.site_logo %} <a class="logo" href="https://ioos.us"><img src="{{ h.url_for_static_or_external(g.site_logo) }}" alt="{{ g.site_title }}" title="{{ g.site_title }}" /></a> {% else %} <h1> <a href="{{ h.url('home') }}">{{ g.site_title }}</a> </h1> {% if g.site_description %}<h2>{{ g.site_description }}</h2>{% endif %} {% endif %} {% endblock %}
Add home page reference to top nav menu
Add home page reference to top nav menu
HTML
agpl-3.0
ioos/catalog-ckan,ioos/catalog-ckan,ioos/catalog-ckan
html
## Code Before: {% ckan_extends %} {% block header_account %} <div id="center-logo"> <a href="https://ioos.us"> <img src="/img/top-ioos-logo.png" alt="IOOS Logo" id="header-logo" title="IOOS Logo"> </a> </div> {{super()}} {% endblock %} <a href="https://ioos.us"><img src="img/IOOS.png" alt="IOOS alt logo"></a> {% block header_site_navigation %} <nav class="section navigation"> <ul class="nav nav-pills"> {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('home.about', _('About')) ) }} {% endblock %} </ul> </nav> {% endblock %} {% block header_logo %} {% if g.site_logo %} <a class="logo" href="https://ioos.us"><img src="{{ h.url_for_static_or_external(g.site_logo) }}" alt="{{ g.site_title }}" title="{{ g.site_title }}" /></a> {% else %} <h1> <a href="{{ h.url('home') }}">{{ g.site_title }}</a> </h1> {% if g.site_description %}<h2>{{ g.site_description }}</h2>{% endif %} {% endif %} {% endblock %} ## Instruction: Add home page reference to top nav menu ## Code After: {% ckan_extends %} {% block header_account %} <div id="center-logo"> <a href="https://ioos.us"> <img src="/img/top-ioos-logo.png" alt="IOOS Logo" id="header-logo" title="IOOS Logo"> </a> </div> {{super()}} {% endblock %} <a href="https://ioos.us"><img src="img/IOOS.png" alt="IOOS alt logo"></a> {% block header_site_navigation %} <nav class="section navigation"> <ul class="nav nav-pills"> {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('home', _('Home')), ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('home.about', _('About')) ) }} {% endblock %} </ul> </nav> {% endblock %} {% block header_logo %} {% if g.site_logo %} <a class="logo" href="https://ioos.us"><img src="{{ h.url_for_static_or_external(g.site_logo) }}" alt="{{ g.site_title }}" title="{{ g.site_title }}" /></a> {% else %} <h1> <a href="{{ h.url('home') }}">{{ g.site_title }}</a> </h1> {% if g.site_description %}<h2>{{ g.site_description }}</h2>{% endif %} {% endif %} {% endblock %}
21ba74abf9d31e3399c39b194273850689edf1e7
lib/cli.js
lib/cli.js
const cli = require('commander') const pkg = require('../package') const apiCall = require('./apiCall') cli.name('ur-cli') cli .version(pkg.version).usage('<command> <args> [options]') .command('create [projectIds]', 'Make a request to queue up for project submissions.') .command('get [id]', 'Get assignment requests.') .command('update [projectIds]', 'Update an assignment request.') .command('delete', 'Delete an assignment request.') .command('refresh', 'Refresh the current assignment request.') .command('position', 'Get your position in the queues.') .command('assign', 'Place requests in the queue.') .command('token [token]', 'Save a token.') .command('certs', 'Save certifications.') .parse(process.argv) // Help if no command was input: if (!cli.args.length) { cli.parse([process.argv[0], process.argv[1], '-h']) process.exit(0) } // exit on SIGHUP // exit on SIGTERM process.on('SIGTERM', function () { console.log('SIGTERM') process.exit(0); }); process.on('uncaughtException', function(e){ console.error('CLI Error:', e, e.stack); process.exit(0) })
const cli = require('commander') const pkg = require('../package') cli.name('ur-cli') cli .version(pkg.version).usage('<command> <args> [options]') .command('create [projectIds]', 'Make a request to queue up for project submissions.') .command('get [id]', 'Get assignment requests.') .command('update [projectIds]', 'Update an assignment request.') .command('delete', 'Delete an assignment request.') .command('refresh', 'Refresh the current assignment request.') .command('position', 'Get your position in the queues.') .command('assign', 'Place requests in the queue.') .command('token [token]', 'Save a token.') .command('certs', 'Save certifications.') .parse(process.argv) // Help if no command was input: if (!cli.args.length) { cli.parse([process.argv[0], process.argv[1], '-h']) process.exit(0) } process.on('uncaughtException', function(e){ console.error('CLI Error:', e, e.stack); process.exit(0) })
Clean up unused error handling.
Clean up unused error handling.
JavaScript
mit
trolster/ur-cli,trolster/urcli,gabraganca/ur-cli
javascript
## Code Before: const cli = require('commander') const pkg = require('../package') const apiCall = require('./apiCall') cli.name('ur-cli') cli .version(pkg.version).usage('<command> <args> [options]') .command('create [projectIds]', 'Make a request to queue up for project submissions.') .command('get [id]', 'Get assignment requests.') .command('update [projectIds]', 'Update an assignment request.') .command('delete', 'Delete an assignment request.') .command('refresh', 'Refresh the current assignment request.') .command('position', 'Get your position in the queues.') .command('assign', 'Place requests in the queue.') .command('token [token]', 'Save a token.') .command('certs', 'Save certifications.') .parse(process.argv) // Help if no command was input: if (!cli.args.length) { cli.parse([process.argv[0], process.argv[1], '-h']) process.exit(0) } // exit on SIGHUP // exit on SIGTERM process.on('SIGTERM', function () { console.log('SIGTERM') process.exit(0); }); process.on('uncaughtException', function(e){ console.error('CLI Error:', e, e.stack); process.exit(0) }) ## Instruction: Clean up unused error handling. ## Code After: const cli = require('commander') const pkg = require('../package') cli.name('ur-cli') cli .version(pkg.version).usage('<command> <args> [options]') .command('create [projectIds]', 'Make a request to queue up for project submissions.') .command('get [id]', 'Get assignment requests.') .command('update [projectIds]', 'Update an assignment request.') .command('delete', 'Delete an assignment request.') .command('refresh', 'Refresh the current assignment request.') .command('position', 'Get your position in the queues.') .command('assign', 'Place requests in the queue.') .command('token [token]', 'Save a token.') .command('certs', 'Save certifications.') .parse(process.argv) // Help if no command was input: if (!cli.args.length) { cli.parse([process.argv[0], process.argv[1], '-h']) process.exit(0) } process.on('uncaughtException', function(e){ console.error('CLI Error:', e, e.stack); process.exit(0) })
a89e32c1f149ba3d023e03b066a967d0ff243e3a
server/lua/updateNick.lua
server/lua/updateNick.lua
-- -- Copyright 2015 Ilkka Oksanen <iao@iki.fi> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, -- software distributed under the License is distributed on an "AS -- IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -- express or implied. See the License for the specific language -- governing permissions and limitations under the License. -- local userId = ARGV[1] local network = ARGV[2] local oldNick = ARGV[3] local newNick = ARGV[4] local userId = redis.call('HGET', 'index:currentnick', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:currentnick', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'networks:' .. userId .. ':' .. network, 'currentnick', newNick) redis.call('HSET', 'index:currentnick', network .. ':' .. string.lower(newNick), userId) else userId = redis.call('HGET', 'index:ircuser', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:ircuser', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'ircuser:' .. userId, 'nick', newNick) redis.call('HSET', 'index:ircuser', network .. ':' .. string.lower(newNick), userId) end end return userId
-- -- Copyright 2015 Ilkka Oksanen <iao@iki.fi> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, -- software distributed under the License is distributed on an "AS -- IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -- express or implied. See the License for the specific language -- governing permissions and limitations under the License. -- local userId = ARGV[1] local network = ARGV[2] local oldNick = ARGV[3] local newNick = ARGV[4] userId = redis.call('HGET', 'index:ircuser', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:ircuser', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'ircuser:' .. userId, 'nick', newNick) redis.call('HSET', 'index:ircuser', network .. ':' .. string.lower(newNick), userId) end return userId
Use lua only to track irc users
Use lua only to track irc users
Lua
apache-2.0
ilkkao/mas,ilkkao/mas,ilkkao/mas,ilkkao/mas
lua
## Code Before: -- -- Copyright 2015 Ilkka Oksanen <iao@iki.fi> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, -- software distributed under the License is distributed on an "AS -- IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -- express or implied. See the License for the specific language -- governing permissions and limitations under the License. -- local userId = ARGV[1] local network = ARGV[2] local oldNick = ARGV[3] local newNick = ARGV[4] local userId = redis.call('HGET', 'index:currentnick', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:currentnick', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'networks:' .. userId .. ':' .. network, 'currentnick', newNick) redis.call('HSET', 'index:currentnick', network .. ':' .. string.lower(newNick), userId) else userId = redis.call('HGET', 'index:ircuser', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:ircuser', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'ircuser:' .. userId, 'nick', newNick) redis.call('HSET', 'index:ircuser', network .. ':' .. string.lower(newNick), userId) end end return userId ## Instruction: Use lua only to track irc users ## Code After: -- -- Copyright 2015 Ilkka Oksanen <iao@iki.fi> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, -- software distributed under the License is distributed on an "AS -- IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -- express or implied. See the License for the specific language -- governing permissions and limitations under the License. -- local userId = ARGV[1] local network = ARGV[2] local oldNick = ARGV[3] local newNick = ARGV[4] userId = redis.call('HGET', 'index:ircuser', network .. ':' .. string.lower(oldNick)) if userId then redis.call('HDEL', 'index:ircuser', network .. ':' .. string.lower(oldNick)) redis.call('HSET', 'ircuser:' .. userId, 'nick', newNick) redis.call('HSET', 'index:ircuser', network .. ':' .. string.lower(newNick), userId) end return userId
c1edce660721df096c289f79f35056c191e47a81
lib/travis/build/appliances/disable_sudo.rb
lib/travis/build/appliances/disable_sudo.rb
require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG1 = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.\n" MSG2 = "See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.\n" CMD = 'sudo -n sh -c "sed -e \'s/^%.*//\' -i.bak /etc/sudoers && rm -f /etc/sudoers.d/travis && find / -perm -4000 -exec chmod a-s {} \; 2>/dev/null"' def apply sh.echo MSG1, ansi: :yellow sh.echo MSG2, ansi: :yellow sh.cmd CMD end def apply? data.disable_sudo? end end end end end
require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG1 = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.\n" MSG2 = "If you require sudo, add 'sudo: required' to your .travis.yml\n" MSG3 = "See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.\n" CMD = 'sudo -n sh -c "sed -e \'s/^%.*//\' -i.bak /etc/sudoers && rm -f /etc/sudoers.d/travis && find / -perm -4000 -exec chmod a-s {} \; 2>/dev/null"' def apply sh.echo MSG1, ansi: :yellow sh.echo MSG2, ansi: :yellow sh.echo MSG3, ansi: :yellow sh.cmd CMD end def apply? data.disable_sudo? end end end end end
Add `sudo: required` note to container-based infra header
Add `sudo: required` note to container-based infra header
Ruby
mit
final-ci/travis-build,Tiger66639/travis-build,akoeplinger/travis-build,akoeplinger/travis-build,lrowe/travis-build,kevmoo/travis-build,wereHamster/travis-build,Tiger66639/travis-build,Distelli/travis-build,will/travis-build,wereHamster/travis-build,Joshua-Anderson/travis-build,will/travis-build,JuliaCI/travis-build,Acidburn0zzz/travis-build,gavioto/travis-build,vlamanna/travis-build,paultcochrane/travis-build,dirk/travis-build,luoqii/travis-build,tmccombs/travis-build,aceofspades/travis-build,final-ci/travis-build,jhass/travis-build,aceofspades/travis-build,kevmoo/travis-build,tianon/travis-build,jhass/travis-build,Joshua-Anderson/travis-build,aceofspades/travis-build,gavioto/travis-build,Distelli/travis-build,tmccombs/travis-build,wereHamster/travis-build,kidaa/travis-build,Acidburn0zzz/travis-build,vlamanna/travis-build,will/travis-build,andyli/travis-build,vinaykaradia/travisBuild-clone,whip112/travis-build,paultcochrane/travis-build,vinaykaradia/travisBuild-clone,paultcochrane/travis-build,Joshua-Anderson/travis-build,kidaa/travis-build,final-ci/travis-build,tianon/travis-build,vlamanna/travis-build,craigcitro/travis-build,craigcitro/travis-build,dirk/travis-build,luoqii/travis-build,andyli/travis-build,vinaykaradia/travisBuild-clone,whip112/travis-build,lrowe/travis-build,JuliaCI/travis-build
ruby
## Code Before: require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG1 = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.\n" MSG2 = "See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.\n" CMD = 'sudo -n sh -c "sed -e \'s/^%.*//\' -i.bak /etc/sudoers && rm -f /etc/sudoers.d/travis && find / -perm -4000 -exec chmod a-s {} \; 2>/dev/null"' def apply sh.echo MSG1, ansi: :yellow sh.echo MSG2, ansi: :yellow sh.cmd CMD end def apply? data.disable_sudo? end end end end end ## Instruction: Add `sudo: required` note to container-based infra header ## Code After: require 'travis/build/appliances/base' module Travis module Build module Appliances class DisableSudo < Base MSG1 = "\nThis job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.\n" MSG2 = "If you require sudo, add 'sudo: required' to your .travis.yml\n" MSG3 = "See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.\n" CMD = 'sudo -n sh -c "sed -e \'s/^%.*//\' -i.bak /etc/sudoers && rm -f /etc/sudoers.d/travis && find / -perm -4000 -exec chmod a-s {} \; 2>/dev/null"' def apply sh.echo MSG1, ansi: :yellow sh.echo MSG2, ansi: :yellow sh.echo MSG3, ansi: :yellow sh.cmd CMD end def apply? data.disable_sudo? end end end end end
83887b413c1b07107de68c70e53a1cb192cfd021
roles/hadoop/vars/main.yml
roles/hadoop/vars/main.yml
--- hadoop_version: "2.8.0" hadoop_mirror: "http://apache.xl-mirror.nl/hadoop/common/" hadoop_dir: "/data/local/hadoop" hadoop_conf_dir: "/etc/hadoop/conf" hadoop_src_dir: "/usr/local/src" hadoop_usr_parent_dir: "/usr/lib" #this is the folder where the hadoop archive will be extracted hadoop_usr_dir: "/usr/lib/hadoop" #this is the symlink to the extracted/installed hadoop hadoop_lib_dir: "/var/lib/hadoop" hadoop_log_dir: "/var/log/hadoop" hadoop_run_dir: "/run/hadoop" hadoop_users: [ hadoop ] # the name of the (OS)user created for hadoop hadoop_user: "{{ hadoop_users[0] }}" hadoop_user_groups: [ users ] # Optional list of (OS)groups the new hadoop user should belong to
--- hadoop_version: "2.8.0" hadoop_mirror: "http://apache.xl-mirror.nl/hadoop/common/" hadoop_dir: "/data/local/hadoop" hadoop_conf_dir: "/etc/hadoop/conf" hadoop_src_dir: "/usr/local/src" hadoop_usr_parent_dir: "/usr/lib" #this is the folder where the hadoop archive will be extracted hadoop_usr_dir: "/usr/lib/hadoop" #this is the symlink to the extracted/installed hadoop hadoop_lib_dir: "/var/lib/hadoop" hadoop_log_dir: "/var/log/hadoop" hadoop_run_dir: "/run/hadoop" hadoop_users: [ hadoop, spark, ubuntu ] # the name of the (OS)user created for hadoop hadoop_user: "{{ hadoop_users[0] }}" hadoop_user_groups: [ users ] # Optional list of (OS)groups the new hadoop user should belong to
Add spark and ubuntu as Hadoop users
Add spark and ubuntu as Hadoop users
YAML
apache-2.0
nlesc-sherlock/emma,nlesc-sherlock/emma,nlesc-sherlock/emma
yaml
## Code Before: --- hadoop_version: "2.8.0" hadoop_mirror: "http://apache.xl-mirror.nl/hadoop/common/" hadoop_dir: "/data/local/hadoop" hadoop_conf_dir: "/etc/hadoop/conf" hadoop_src_dir: "/usr/local/src" hadoop_usr_parent_dir: "/usr/lib" #this is the folder where the hadoop archive will be extracted hadoop_usr_dir: "/usr/lib/hadoop" #this is the symlink to the extracted/installed hadoop hadoop_lib_dir: "/var/lib/hadoop" hadoop_log_dir: "/var/log/hadoop" hadoop_run_dir: "/run/hadoop" hadoop_users: [ hadoop ] # the name of the (OS)user created for hadoop hadoop_user: "{{ hadoop_users[0] }}" hadoop_user_groups: [ users ] # Optional list of (OS)groups the new hadoop user should belong to ## Instruction: Add spark and ubuntu as Hadoop users ## Code After: --- hadoop_version: "2.8.0" hadoop_mirror: "http://apache.xl-mirror.nl/hadoop/common/" hadoop_dir: "/data/local/hadoop" hadoop_conf_dir: "/etc/hadoop/conf" hadoop_src_dir: "/usr/local/src" hadoop_usr_parent_dir: "/usr/lib" #this is the folder where the hadoop archive will be extracted hadoop_usr_dir: "/usr/lib/hadoop" #this is the symlink to the extracted/installed hadoop hadoop_lib_dir: "/var/lib/hadoop" hadoop_log_dir: "/var/log/hadoop" hadoop_run_dir: "/run/hadoop" hadoop_users: [ hadoop, spark, ubuntu ] # the name of the (OS)user created for hadoop hadoop_user: "{{ hadoop_users[0] }}" hadoop_user_groups: [ users ] # Optional list of (OS)groups the new hadoop user should belong to
1b9641b3d0c27a587ef9b34fe055ecc3c52eb7de
.travis.yml
.travis.yml
--- language: node_js sudo: false cache: directories: - node_modules install: - npm install -g bower - npm install - bower install script: - npm test deploy: provider: heroku strategy: api buildpack: https://github.com/tonycoco/heroku-buildpack-ember-cli.git api_key: secure: SdUfMZVRlmaZNST1rvzm7uX3g5zhGlaIL1DHKYB5QClfVg8V+MzQhe1jgTmAxBD2fWZklSOd8tNeLyiBrX+x6+bFY1lAFtZysKQdZwBq9DdNeCoT4u65xshuN2KvlcVtPwH88VvLKuSN7JwEqkBIVkntKIEEY3tG/4Yu1iuK/kE= app: liveband
--- language: node_js compiler: - gcc node_js: - "0.10" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; - sudo apt-get update; - sudo apt-get install gcc-4.8 g++-4.8; - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - sudo g++ --version; - sudo apt-get update -qq; sudo: false cache: directories: - node_modules install: - npm install -g bower - npm install - bower install script: - npm test deploy: provider: heroku strategy: api buildpack: https://github.com/tonycoco/heroku-buildpack-ember-cli.git api_key: secure: SdUfMZVRlmaZNST1rvzm7uX3g5zhGlaIL1DHKYB5QClfVg8V+MzQhe1jgTmAxBD2fWZklSOd8tNeLyiBrX+x6+bFY1lAFtZysKQdZwBq9DdNeCoT4u65xshuN2KvlcVtPwH88VvLKuSN7JwEqkBIVkntKIEEY3tG/4Yu1iuK/kE= app: liveband
Use GCC 4.8 compiler with Travis CI
Use GCC 4.8 compiler with Travis CI
YAML
mit
liveband/liveband
yaml
## Code Before: --- language: node_js sudo: false cache: directories: - node_modules install: - npm install -g bower - npm install - bower install script: - npm test deploy: provider: heroku strategy: api buildpack: https://github.com/tonycoco/heroku-buildpack-ember-cli.git api_key: secure: SdUfMZVRlmaZNST1rvzm7uX3g5zhGlaIL1DHKYB5QClfVg8V+MzQhe1jgTmAxBD2fWZklSOd8tNeLyiBrX+x6+bFY1lAFtZysKQdZwBq9DdNeCoT4u65xshuN2KvlcVtPwH88VvLKuSN7JwEqkBIVkntKIEEY3tG/4Yu1iuK/kE= app: liveband ## Instruction: Use GCC 4.8 compiler with Travis CI ## Code After: --- language: node_js compiler: - gcc node_js: - "0.10" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; - sudo apt-get update; - sudo apt-get install gcc-4.8 g++-4.8; - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; - sudo g++ --version; - sudo apt-get update -qq; sudo: false cache: directories: - node_modules install: - npm install -g bower - npm install - bower install script: - npm test deploy: provider: heroku strategy: api buildpack: https://github.com/tonycoco/heroku-buildpack-ember-cli.git api_key: secure: SdUfMZVRlmaZNST1rvzm7uX3g5zhGlaIL1DHKYB5QClfVg8V+MzQhe1jgTmAxBD2fWZklSOd8tNeLyiBrX+x6+bFY1lAFtZysKQdZwBq9DdNeCoT4u65xshuN2KvlcVtPwH88VvLKuSN7JwEqkBIVkntKIEEY3tG/4Yu1iuK/kE= app: liveband
82feef7a684164e2d985368b96cf58abe86ab203
test/projects/less-project/source/styles/style.less
test/projects/less-project/source/styles/style.less
@import "_styleguide_variables"; @test-variable: 10px; // First section // // Markup: // <div class="section">Section markup</div> // // Styleguide 1.0 .section { color: @color-red; } .section:hover { color: @color-green; } .section:active { color: @color-blue; } // Section with modifiers // // $color-red - Red test color // $color-green - Green test color // $color-blue - Blue test color // .other-modifier - Other modifier // // Markup: // <div style="background: {$modifiers};"></div> // // Styleguide 2.0 // Subsection // // Styleguide 2.1 // Another subsection // // Styleguide 2.1.1 // Section without markup // // Styleguide 3.0 .test-css {color: purple;} // Section with multiple variables // // Markup: // <div class="section">Section markup</div> // // Styleguide 4.0 .section1 { color: @color-red; } .section2 { background-color: @color-green; } .section3 { border: 1px solid @color-blue; } // One more subsection // // Styleguide 4.1.0
@import "_styleguide_variables"; @test-variable: 10px; // First section // // Markup: // <div class="section">Section markup</div> // // Styleguide 1.0 .section { color: @color-red; } .section:hover { color: @color-green; } .section:active { color: @color-blue; } // Section with modifiers // // $color-red - Red test color // $color-green - Green test color // $color-blue - Blue test color // .other-modifier - Other modifier // // Markup: // <div style="background: {$modifiers};"></div> // // Styleguide 2.0 // Section without markup // // Styleguide 3.0 .test-css {color: purple;} // Section with multiple variables // // Markup: // <div class="section">Section markup</div> // // Styleguide 4.0 .section1 { color: @color-red; } .section2 { background-color: @color-green; } .section3 { border: 1px solid @color-blue; }
Remove extra sections from LESS test project
Remove extra sections from LESS test project
Less
mit
varya/sc5-styleguide,soulfresh/sc5-styleguide,junaidrsd/sc5-styleguide,junaidrsd/sc5-styleguide,SC5/sc5-styleguide,varya/sc5-styleguide,patriziosotgiu/sc5-styleguide,SC5/sc5-styleguide,soulfresh/sc5-styleguide,patriziosotgiu/sc5-styleguide
less
## Code Before: @import "_styleguide_variables"; @test-variable: 10px; // First section // // Markup: // <div class="section">Section markup</div> // // Styleguide 1.0 .section { color: @color-red; } .section:hover { color: @color-green; } .section:active { color: @color-blue; } // Section with modifiers // // $color-red - Red test color // $color-green - Green test color // $color-blue - Blue test color // .other-modifier - Other modifier // // Markup: // <div style="background: {$modifiers};"></div> // // Styleguide 2.0 // Subsection // // Styleguide 2.1 // Another subsection // // Styleguide 2.1.1 // Section without markup // // Styleguide 3.0 .test-css {color: purple;} // Section with multiple variables // // Markup: // <div class="section">Section markup</div> // // Styleguide 4.0 .section1 { color: @color-red; } .section2 { background-color: @color-green; } .section3 { border: 1px solid @color-blue; } // One more subsection // // Styleguide 4.1.0 ## Instruction: Remove extra sections from LESS test project ## Code After: @import "_styleguide_variables"; @test-variable: 10px; // First section // // Markup: // <div class="section">Section markup</div> // // Styleguide 1.0 .section { color: @color-red; } .section:hover { color: @color-green; } .section:active { color: @color-blue; } // Section with modifiers // // $color-red - Red test color // $color-green - Green test color // $color-blue - Blue test color // .other-modifier - Other modifier // // Markup: // <div style="background: {$modifiers};"></div> // // Styleguide 2.0 // Section without markup // // Styleguide 3.0 .test-css {color: purple;} // Section with multiple variables // // Markup: // <div class="section">Section markup</div> // // Styleguide 4.0 .section1 { color: @color-red; } .section2 { background-color: @color-green; } .section3 { border: 1px solid @color-blue; }
826b9e1b91b82b7b8b33bbdad6083d1618d248ec
bower.json
bower.json
{ "name": "delite", "version": "0.1.7-dev", "dependencies": { "dcl": "1.1.x", "decor": "#master", "dojo": ">=1.9.1", "dpointer": ">=0.1.0-dev", "requirejs": "2.1.x", "requirejs-domready": ">=2.0.1", "requirejs-dplugins": ">=0.2.2-dev", "requirejs-text": ">=2.0.11", "decor": "#master" }, "devDependencies": { "dstore" : ">=0.1.0-dev", "platform": "Polymer/platform#~0.1.4", "dijit": ">=1.9.1" }, "ignore": [ ".jshintrc", ".gitattributes", ".travis.yml", "tests", "CONTRIBUTING.md" ] }
{ "name": "delite", "version": "0.1.7-dev", "dependencies": { "dcl": "1.1.x", "decor": "#master", "dojo": ">=1.9.1", "dpointer": ">=0.1.0-dev", "requirejs": "2.1.x", "requirejs-domready": ">=2.0.1", "requirejs-dplugins": ">=0.2.2-dev", "requirejs-text": ">=2.0.11" }, "devDependencies": { "dstore" : ">=0.1.0-dev", "platform": "Polymer/platform#~0.1.4", "dijit": ">=1.9.1" }, "ignore": [ ".jshintrc", ".gitattributes", ".travis.yml", "tests", "CONTRIBUTING.md" ] }
Remove duplicated dependency on decor
Remove duplicated dependency on decor
JSON
bsd-3-clause
kitsonk/delite,harbalk/delite,Sam-Cummins/delite,harbalk/delite,kitsonk/delite,Sam-Cummins/delite
json
## Code Before: { "name": "delite", "version": "0.1.7-dev", "dependencies": { "dcl": "1.1.x", "decor": "#master", "dojo": ">=1.9.1", "dpointer": ">=0.1.0-dev", "requirejs": "2.1.x", "requirejs-domready": ">=2.0.1", "requirejs-dplugins": ">=0.2.2-dev", "requirejs-text": ">=2.0.11", "decor": "#master" }, "devDependencies": { "dstore" : ">=0.1.0-dev", "platform": "Polymer/platform#~0.1.4", "dijit": ">=1.9.1" }, "ignore": [ ".jshintrc", ".gitattributes", ".travis.yml", "tests", "CONTRIBUTING.md" ] } ## Instruction: Remove duplicated dependency on decor ## Code After: { "name": "delite", "version": "0.1.7-dev", "dependencies": { "dcl": "1.1.x", "decor": "#master", "dojo": ">=1.9.1", "dpointer": ">=0.1.0-dev", "requirejs": "2.1.x", "requirejs-domready": ">=2.0.1", "requirejs-dplugins": ">=0.2.2-dev", "requirejs-text": ">=2.0.11" }, "devDependencies": { "dstore" : ">=0.1.0-dev", "platform": "Polymer/platform#~0.1.4", "dijit": ">=1.9.1" }, "ignore": [ ".jshintrc", ".gitattributes", ".travis.yml", "tests", "CONTRIBUTING.md" ] }
b9914eb30a009af6ae7bf1bc7b3f28598bfbed39
conda/faiss/meta.yaml
conda/faiss/meta.yaml
package: name: faiss-cpu version: "{{ FAISS_BUILD_VERSION }}" source: git_url: ../../ requirements: build: - {{ compiler('cxx') }} - llvm-openmp # [osx] - setuptools - swig host: - python {{ python }} - intel-openmp # [osx] - numpy 1.11.* - mkl >=2018 run: - python {{ python }} - intel-openmp # [osx] - numpy >=1.11 - blas=*=mkl - mkl >=2018 build: number: {{ FAISS_BUILD_NUMBER }} about: home: https://github.com/facebookresearch/faiss license: MIT license_family: MIT license_file: LICENSE summary: A library for efficient similarity search and clustering of dense vectors.
package: name: faiss-cpu version: "{{ FAISS_BUILD_VERSION }}" source: git_url: ../../ requirements: build: - {{ compiler('cxx') }} - python {{ python }} - llvm-openmp # [osx] - setuptools - swig - mkl >=2018 host: - python {{ python }} - intel-openmp # [osx] - numpy 1.11.* - blas=*=mkl - mkl >=2018 run: - python {{ python }} - intel-openmp # [osx] - numpy >=1.11 - blas=*=mkl - mkl >=2018 build: number: {{ FAISS_BUILD_NUMBER }} about: home: https://github.com/facebookresearch/faiss license: MIT license_family: MIT license_file: LICENSE summary: A library for efficient similarity search and clustering of dense vectors.
Fix conda packages build reqs.
Fix conda packages build reqs.
YAML
mit
facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss
yaml
## Code Before: package: name: faiss-cpu version: "{{ FAISS_BUILD_VERSION }}" source: git_url: ../../ requirements: build: - {{ compiler('cxx') }} - llvm-openmp # [osx] - setuptools - swig host: - python {{ python }} - intel-openmp # [osx] - numpy 1.11.* - mkl >=2018 run: - python {{ python }} - intel-openmp # [osx] - numpy >=1.11 - blas=*=mkl - mkl >=2018 build: number: {{ FAISS_BUILD_NUMBER }} about: home: https://github.com/facebookresearch/faiss license: MIT license_family: MIT license_file: LICENSE summary: A library for efficient similarity search and clustering of dense vectors. ## Instruction: Fix conda packages build reqs. ## Code After: package: name: faiss-cpu version: "{{ FAISS_BUILD_VERSION }}" source: git_url: ../../ requirements: build: - {{ compiler('cxx') }} - python {{ python }} - llvm-openmp # [osx] - setuptools - swig - mkl >=2018 host: - python {{ python }} - intel-openmp # [osx] - numpy 1.11.* - blas=*=mkl - mkl >=2018 run: - python {{ python }} - intel-openmp # [osx] - numpy >=1.11 - blas=*=mkl - mkl >=2018 build: number: {{ FAISS_BUILD_NUMBER }} about: home: https://github.com/facebookresearch/faiss license: MIT license_family: MIT license_file: LICENSE summary: A library for efficient similarity search and clustering of dense vectors.
e93f2b8dc148ec795e5c99ca5751b9501c8a3b9f
.github/workflows/javalib.yml
.github/workflows/javalib.yml
name: Java Lib CI on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Build with Gradle run: ./gradlew assemble - name: Run unit tests run: ./gradlew test
name: Java Lib CI on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Dummy gradle.properties shell: bash run: | mkdir -p ~/.gradle/ echo "::set-env name=GRADLE_USER_HOME::$HOME/.gradle" echo ossrhUsername=dummy > ~/.gradle/gradle.properties echo ossrhPassword=dummy >> ~/.gradle/gradle.properties - name: Build with Gradle run: ./gradlew assemble - name: Run unit tests run: ./gradlew test
Create dummy gradle.properties for CI
Create dummy gradle.properties for CI
YAML
mit
simonpoole/OpeningHoursParser
yaml
## Code Before: name: Java Lib CI on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Build with Gradle run: ./gradlew assemble - name: Run unit tests run: ./gradlew test ## Instruction: Create dummy gradle.properties for CI ## Code After: name: Java Lib CI on: push: branches: - master pull_request: branches: - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 - name: Dummy gradle.properties shell: bash run: | mkdir -p ~/.gradle/ echo "::set-env name=GRADLE_USER_HOME::$HOME/.gradle" echo ossrhUsername=dummy > ~/.gradle/gradle.properties echo ossrhPassword=dummy >> ~/.gradle/gradle.properties - name: Build with Gradle run: ./gradlew assemble - name: Run unit tests run: ./gradlew test
5788ffd548b436e3d11b7075dfed390826ff98b2
lib/Devel/Cover/Report/Codecov/Service/Snap.pm
lib/Devel/Cover/Report/Codecov/Service/Snap.pm
package Devel::Cover::Report::Codecov::Service::Snap; use strict; use warnings; use utf8; sub detect { return $ENV{SNAP_CI}; } sub configuration { return { service => 'snap', build => $ENV{SNAP_PIPELINE_COUNTER}, commit => $ENV{SNAP_COMMIT} // $ENV{SNAP_UPSTREAM_COMMIT}, branch => $ENV{SNAP_BRANCH} // $ENV{SNAP_UPSTREAM_BRANCH}, pull_request => $ENV{SNAP_PULL_REQUEST_NUMBER}, }; } 1; __END__
package Devel::Cover::Report::Codecov::Service::Snap; use strict; use warnings; use utf8; sub detect { return $ENV{SNAP_CI}; } sub configuration { my $commit = defined $ENV{SNAP_COMMIT} ? $ENV{SNAP_COMMIT} : $ENV{SNAP_UPSTREAM_COMMIT}; my $branch = defined $ENV{SNAP_BRANCH} ? $ENV{SNAP_BRANCH} : $ENV{SNAP_UPSTREAM_BRANCH}; return { service => 'snap', build => $ENV{SNAP_PIPELINE_COUNTER}, commit => $commit, branch => $branch, pull_request => $ENV{SNAP_PULL_REQUEST_NUMBER}, }; } 1; __END__
Fix bug (remove // expr)
Fix bug (remove // expr)
Perl
mit
pine613/codecov-perl,codecov/codecov-perl,pine613/codecov-perl,codecov/codecov-perl,pine613/codecov-perl
perl
## Code Before: package Devel::Cover::Report::Codecov::Service::Snap; use strict; use warnings; use utf8; sub detect { return $ENV{SNAP_CI}; } sub configuration { return { service => 'snap', build => $ENV{SNAP_PIPELINE_COUNTER}, commit => $ENV{SNAP_COMMIT} // $ENV{SNAP_UPSTREAM_COMMIT}, branch => $ENV{SNAP_BRANCH} // $ENV{SNAP_UPSTREAM_BRANCH}, pull_request => $ENV{SNAP_PULL_REQUEST_NUMBER}, }; } 1; __END__ ## Instruction: Fix bug (remove // expr) ## Code After: package Devel::Cover::Report::Codecov::Service::Snap; use strict; use warnings; use utf8; sub detect { return $ENV{SNAP_CI}; } sub configuration { my $commit = defined $ENV{SNAP_COMMIT} ? $ENV{SNAP_COMMIT} : $ENV{SNAP_UPSTREAM_COMMIT}; my $branch = defined $ENV{SNAP_BRANCH} ? $ENV{SNAP_BRANCH} : $ENV{SNAP_UPSTREAM_BRANCH}; return { service => 'snap', build => $ENV{SNAP_PIPELINE_COUNTER}, commit => $commit, branch => $branch, pull_request => $ENV{SNAP_PULL_REQUEST_NUMBER}, }; } 1; __END__
82ea7227a4cfc12f2986513a2470de9980f809f6
.travis.yml
.travis.yml
language: generic sudo: required script: swift test matrix: include: - os: osx osx_image: xcode9 - os: linux dist: trusty install: - wget https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz - tar xzf swift-4.0-RELEASE-ubuntu14.04.tar.gz - export PATH=`pwd`/swift-4.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}" - name: Code Quality Checks os: osx osx_image: xcode10 install: - brew update - brew upgrade swiftlint || true addons: sonarcloud: organization: bouke-github script: - swiftlint --strict - sonar-scanner
language: generic sudo: required script: swift test matrix: include: - os: osx osx_image: xcode11 - os: linux dist: trusty install: - wget https://swift.org/builds/swift-5.1.3-release/ubuntu1404/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu14.04.tar.gz - tar xzf swift-5.1.3-RELEASE-ubuntu14.04.tar.gz - export PATH=`pwd`/swift-5.1.3-RELEASE-ubuntu14.04/usr/bin:"${PATH}" - name: Code Quality Checks os: osx osx_image: xcode11 install: - brew update - brew upgrade swiftlint || true addons: sonarcloud: organization: bouke-github script: - swiftlint --strict - sonar-scanner
Test against Swift 5 with Travis CI
Test against Swift 5 with Travis CI
YAML
mit
Bouke/DNS
yaml
## Code Before: language: generic sudo: required script: swift test matrix: include: - os: osx osx_image: xcode9 - os: linux dist: trusty install: - wget https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz - tar xzf swift-4.0-RELEASE-ubuntu14.04.tar.gz - export PATH=`pwd`/swift-4.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}" - name: Code Quality Checks os: osx osx_image: xcode10 install: - brew update - brew upgrade swiftlint || true addons: sonarcloud: organization: bouke-github script: - swiftlint --strict - sonar-scanner ## Instruction: Test against Swift 5 with Travis CI ## Code After: language: generic sudo: required script: swift test matrix: include: - os: osx osx_image: xcode11 - os: linux dist: trusty install: - wget https://swift.org/builds/swift-5.1.3-release/ubuntu1404/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu14.04.tar.gz - tar xzf swift-5.1.3-RELEASE-ubuntu14.04.tar.gz - export PATH=`pwd`/swift-5.1.3-RELEASE-ubuntu14.04/usr/bin:"${PATH}" - name: Code Quality Checks os: osx osx_image: xcode11 install: - brew update - brew upgrade swiftlint || true addons: sonarcloud: organization: bouke-github script: - swiftlint --strict - sonar-scanner
cc917a0753b50779c84f5f5e075b455d3859da75
salt/roots/salt/multimedia/medibuntu/init.sls
salt/roots/salt/multimedia/medibuntu/init.sls
{%if grains['os'] == 'Ubuntu' %} include: - medibuntu.apt medibuntu: pkg: - latest - names: - non-free-codecs - libdvdcss2 - require: - cmd: apt-update {% endif %}
{%if grains['os'] == 'Ubuntu' %} include: - multimedia.medibuntu.apt medibuntu: pkg: - latest - names: - non-free-codecs - libdvdcss2 - require: - cmd: apt-update {% endif %}
Fix package include path for medibuntu.
Fix package include path for medibuntu.
SaltStack
mit
tony/salt-states-configs,tony/salt-states-configs
saltstack
## Code Before: {%if grains['os'] == 'Ubuntu' %} include: - medibuntu.apt medibuntu: pkg: - latest - names: - non-free-codecs - libdvdcss2 - require: - cmd: apt-update {% endif %} ## Instruction: Fix package include path for medibuntu. ## Code After: {%if grains['os'] == 'Ubuntu' %} include: - multimedia.medibuntu.apt medibuntu: pkg: - latest - names: - non-free-codecs - libdvdcss2 - require: - cmd: apt-update {% endif %}
5f1eeaf8e69ec187e85491b94059b83ebca5aabd
app/controllers/gobierto_budgets/budget_lines_controller.rb
app/controllers/gobierto_budgets/budget_lines_controller.rb
module GobiertoBudgets class BudgetLinesController < GobiertoBudgets::ApplicationController layout :choose_layout before_action :load_params def show end def feedback @question_id = params[:question_id].to_i render_404 and return unless [1,2].include?(@question_id) render 'show' end private def load_params @place = INE::Places::Place.find_by_slug params[:slug] @year = params[:year] @code = params[:code] if @code.include?('-') redirect_to gobierto_budgets_budget_line_path(params[:slug], @year, @code.tr('-0', ''), params[:kind], params[:area]) and return end @kind = ( %w{income i}.include?(params[:kind].downcase) ? GobiertoBudgets::BudgetLine::INCOME : GobiertoBudgets::BudgetLine::EXPENSE ) @area_name = params[:area] || 'economic' options = { ine_code: @place.id, year: @year, kind: @kind, type: @area_name } @budget_line = BudgetLine.new year: @year, kind: @kind, place_id: @place.id, area_name: @area_name, code: @code @parent_line = BudgetLine.find(options.merge(code: @code)) render_404 and return if @parent_line.nil? @budget_lines = BudgetLine.search(options.merge(parent_code: @code)) end end end
module GobiertoBudgets class BudgetLinesController < GobiertoBudgets::ApplicationController layout :choose_layout before_action :load_params def show end def feedback @question_id = params[:question_id].to_i render_404 and return unless [1,2].include?(@question_id) render 'show' end private def load_params @place = INE::Places::Place.find_by_slug params[:slug] @year = params[:year] @code = params[:code] @kind = ( %w{income i}.include?(params[:kind].downcase) ? GobiertoBudgets::BudgetLine::INCOME : GobiertoBudgets::BudgetLine::EXPENSE ) @area_name = params[:area] || 'economic' options = { ine_code: @place.id, year: @year, kind: @kind, type: @area_name } @budget_line = BudgetLine.new year: @year, kind: @kind, place_id: @place.id, area_name: @area_name, code: @code @parent_line = BudgetLine.find(options.merge(code: @code)) render_404 and return if @parent_line.nil? @budget_lines = BudgetLine.search(options.merge(parent_code: @code)) end end end
Fix redirect for level 4 category
Fix redirect for level 4 category
Ruby
agpl-3.0
PopulateTools/gobierto-comparador-presupuestos,PopulateTools/gobierto-comparador-presupuestos,PopulateTools/gobierto-comparador-presupuestos,PopulateTools/gobierto-comparador-presupuestos
ruby
## Code Before: module GobiertoBudgets class BudgetLinesController < GobiertoBudgets::ApplicationController layout :choose_layout before_action :load_params def show end def feedback @question_id = params[:question_id].to_i render_404 and return unless [1,2].include?(@question_id) render 'show' end private def load_params @place = INE::Places::Place.find_by_slug params[:slug] @year = params[:year] @code = params[:code] if @code.include?('-') redirect_to gobierto_budgets_budget_line_path(params[:slug], @year, @code.tr('-0', ''), params[:kind], params[:area]) and return end @kind = ( %w{income i}.include?(params[:kind].downcase) ? GobiertoBudgets::BudgetLine::INCOME : GobiertoBudgets::BudgetLine::EXPENSE ) @area_name = params[:area] || 'economic' options = { ine_code: @place.id, year: @year, kind: @kind, type: @area_name } @budget_line = BudgetLine.new year: @year, kind: @kind, place_id: @place.id, area_name: @area_name, code: @code @parent_line = BudgetLine.find(options.merge(code: @code)) render_404 and return if @parent_line.nil? @budget_lines = BudgetLine.search(options.merge(parent_code: @code)) end end end ## Instruction: Fix redirect for level 4 category ## Code After: module GobiertoBudgets class BudgetLinesController < GobiertoBudgets::ApplicationController layout :choose_layout before_action :load_params def show end def feedback @question_id = params[:question_id].to_i render_404 and return unless [1,2].include?(@question_id) render 'show' end private def load_params @place = INE::Places::Place.find_by_slug params[:slug] @year = params[:year] @code = params[:code] @kind = ( %w{income i}.include?(params[:kind].downcase) ? GobiertoBudgets::BudgetLine::INCOME : GobiertoBudgets::BudgetLine::EXPENSE ) @area_name = params[:area] || 'economic' options = { ine_code: @place.id, year: @year, kind: @kind, type: @area_name } @budget_line = BudgetLine.new year: @year, kind: @kind, place_id: @place.id, area_name: @area_name, code: @code @parent_line = BudgetLine.find(options.merge(code: @code)) render_404 and return if @parent_line.nil? @budget_lines = BudgetLine.search(options.merge(parent_code: @code)) end end end
bfd8d1126e771702dfe4869923927b8f4fb81ef1
openstack/tests/functional/network/v2/test_extension.py
openstack/tests/functional/network/v2/test_extension.py
import six from openstack.tests.functional import base class TestExtension(base.BaseFunctionalTest): def test_list_and_find(self): extensions = list(self.conn.network.extensions()) self.assertGreater(len(extensions), 0) for ext in extensions: self.assertIsInstance(ext.name, six.string_types) self.assertIsInstance(ext.namespace, six.string_types) self.assertIsInstance(ext.alias, six.string_types)
import six from openstack.tests.functional import base class TestExtension(base.BaseFunctionalTest): def test_list_and_find(self): extensions = list(self.conn.network.extensions()) self.assertGreater(len(extensions), 0) for ext in extensions: self.assertIsInstance(ext.name, six.string_types) self.assertIsInstance(ext.alias, six.string_types)
Remove namespace from network ext test
Remove namespace from network ext test Change-Id: Id9b97d67ac6745fe962a76ccd9c0e4f7cbed4a89
Python
apache-2.0
mtougeron/python-openstacksdk,briancurtin/python-openstacksdk,stackforge/python-openstacksdk,stackforge/python-openstacksdk,dudymas/python-openstacksdk,dtroyer/python-openstacksdk,dtroyer/python-openstacksdk,mtougeron/python-openstacksdk,briancurtin/python-openstacksdk,openstack/python-openstacksdk,openstack/python-openstacksdk,dudymas/python-openstacksdk
python
## Code Before: import six from openstack.tests.functional import base class TestExtension(base.BaseFunctionalTest): def test_list_and_find(self): extensions = list(self.conn.network.extensions()) self.assertGreater(len(extensions), 0) for ext in extensions: self.assertIsInstance(ext.name, six.string_types) self.assertIsInstance(ext.namespace, six.string_types) self.assertIsInstance(ext.alias, six.string_types) ## Instruction: Remove namespace from network ext test Change-Id: Id9b97d67ac6745fe962a76ccd9c0e4f7cbed4a89 ## Code After: import six from openstack.tests.functional import base class TestExtension(base.BaseFunctionalTest): def test_list_and_find(self): extensions = list(self.conn.network.extensions()) self.assertGreater(len(extensions), 0) for ext in extensions: self.assertIsInstance(ext.name, six.string_types) self.assertIsInstance(ext.alias, six.string_types)
fd045c4353fd897c886822844a0b4ad68419bc9d
.jshint.airbnb.json
.jshint.airbnb.json
{ "browser": true, "jquery": true, "node": true, "esnext": true, "camelcase": true, "eqeqeq": true, "indent": 2, "latedef": true, "maxlen": 80, "newcap": true, "quotmark": "single", "strict": true, "undef": true, "unused": true, "eqnull": true }
{ "browser": true, "jquery": true, "node": true, "jasmine": true, "mocha": true, "esnext": true, "camelcase": true, "eqeqeq": true, "indent": 2, "latedef": true, "maxlen": 80, "newcap": true, "quotmark": "single", "strict": true, "undef": true, "unused": true, "eqnull": true }
Add jasmine and mocha to jshint conf
Add jasmine and mocha to jshint conf
JSON
mit
MitocGroup/deep-microservices-todo-app,MitocGroup/deep-microservices-todo-app,MitocGroup/deep-microservices-todo-app,MitocGroup/deep-microservices-todomvc,MitocGroup/deep-microservices-todomvc,MitocGroup/deep-microservices-todomvc,MitocGroup/deep-microservices-todomvc
json
## Code Before: { "browser": true, "jquery": true, "node": true, "esnext": true, "camelcase": true, "eqeqeq": true, "indent": 2, "latedef": true, "maxlen": 80, "newcap": true, "quotmark": "single", "strict": true, "undef": true, "unused": true, "eqnull": true } ## Instruction: Add jasmine and mocha to jshint conf ## Code After: { "browser": true, "jquery": true, "node": true, "jasmine": true, "mocha": true, "esnext": true, "camelcase": true, "eqeqeq": true, "indent": 2, "latedef": true, "maxlen": 80, "newcap": true, "quotmark": "single", "strict": true, "undef": true, "unused": true, "eqnull": true }
887bee6ff3200cb11c6983b09f446ae054684aef
articles/_posts/2009-09-01-hsl-rgb-and-alpha-transparency.md
articles/_posts/2009-09-01-hsl-rgb-and-alpha-transparency.md
--- title: Color in Opera 10 — HSL, RGB and Alpha Transparency authors: - molly-holzschlag layout: article ---
--- title: Color in Opera 10 — HSL, RGB and Alpha Transparency authors: - molly-holzschlag intro: 'This guide explains how the RGB (Red, Green, Blue) and HSL (Hue, Saturation, Lightness) color models work, and how web designers can make clever use of them in CSS to improve their designs, and make more logical color scheme choices. It also looks at the alpha channel, and how that can also be beneficial.' layout: article ---
Add intro for article “Color in Opera 10 — HSL, RGB and Alpha Transparency”
Add intro for article “Color in Opera 10 — HSL, RGB and Alpha Transparency” Ref. #19.
Markdown
apache-2.0
Jasenpan1987/devopera,initaldk/devopera,Jasenpan1987/devopera,operasoftware/devopera,shwetank/devopera,simevidas/devopera,payeldillip/devopera,erikmaarten/devopera,michaelstewart/devopera,operasoftware/devopera,erikmaarten/devopera,Jasenpan1987/devopera,initaldk/devopera,Mtmotahar/devopera,michaelstewart/devopera,paulirish/devopera,paulirish/devopera,payeldillip/devopera,cvan/devopera,SelenIT/devopera,operasoftware/devopera,kenarai/devopera,payeldillip/devopera,initaldk/devopera,Mtmotahar/devopera,Jasenpan1987/devopera,operasoftware/devopera,andreasbovens/devopera,Mtmotahar/devopera,payeldillip/devopera,paulirish/devopera,kenarai/devopera,simevidas/devopera,shwetank/devopera,simevidas/devopera,erikmaarten/devopera,michaelstewart/devopera,cvan/devopera,andreasbovens/devopera,michaelstewart/devopera,Mtmotahar/devopera,SelenIT/devopera,cvan/devopera,SelenIT/devopera,andreasbovens/devopera,paulirish/devopera,SelenIT/devopera,shwetank/devopera,cvan/devopera,erikmaarten/devopera,simevidas/devopera,initaldk/devopera,kenarai/devopera,kenarai/devopera
markdown
## Code Before: --- title: Color in Opera 10 — HSL, RGB and Alpha Transparency authors: - molly-holzschlag layout: article --- ## Instruction: Add intro for article “Color in Opera 10 — HSL, RGB and Alpha Transparency” Ref. #19. ## Code After: --- title: Color in Opera 10 — HSL, RGB and Alpha Transparency authors: - molly-holzschlag intro: 'This guide explains how the RGB (Red, Green, Blue) and HSL (Hue, Saturation, Lightness) color models work, and how web designers can make clever use of them in CSS to improve their designs, and make more logical color scheme choices. It also looks at the alpha channel, and how that can also be beneficial.' layout: article ---
55d6db4013930bd3731425ef1d5334cb81c9482c
views/widgets/menu.blade.php
views/widgets/menu.blade.php
<div class="navbar"> <div class="navbar-inner"> <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target="#cellonav"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> {{ HTML::link(handles('orchestra::manages/melody.themes'), 'Themes Manager', array('class' => 'brand')) }} <div id="cellonav" class="collapse nav-collapse"> <ul class="nav"> <li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Frontend') }} </li> <li class="{{ URI::is('*/manages/melody.themes/backend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/backend'), 'Backend') }} </li> </ul> </div> </div> </div>
@section('melody::primary_menu') <ul class="nav"> <li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Frontend') }} </li> <li class="{{ URI::is('*/manages/melody.themes/backend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/backend'), 'Backend') }} </li> </ul> @endsection <?php $navbar = new Orchestra\Fluent(array( 'id' => 'melody', 'title' => 'Theme Manager', 'url' => handles('orchestra::manages/melody.themes'), 'primary_menu' => Laravel\Section::yield('melody::primary_menu'), )); ?> {{ Orchestra\Decorator::navbar($navbar) }}
Update navigation to use Orchestra\Decorator::navbar()
Update navigation to use Orchestra\Decorator::navbar() Signed-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com>
PHP
mit
orchestral/melody
php
## Code Before: <div class="navbar"> <div class="navbar-inner"> <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target="#cellonav"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> {{ HTML::link(handles('orchestra::manages/melody.themes'), 'Themes Manager', array('class' => 'brand')) }} <div id="cellonav" class="collapse nav-collapse"> <ul class="nav"> <li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Frontend') }} </li> <li class="{{ URI::is('*/manages/melody.themes/backend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/backend'), 'Backend') }} </li> </ul> </div> </div> </div> ## Instruction: Update navigation to use Orchestra\Decorator::navbar() Signed-off-by: crynobone <e1a543840a942eb68427510a8a483282a7bfeddf@gmail.com> ## Code After: @section('melody::primary_menu') <ul class="nav"> <li class="{{ URI::is('*/manages/melody.themes/frontend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/frontend'), 'Frontend') }} </li> <li class="{{ URI::is('*/manages/melody.themes/backend*') ? 'active' : '' }}"> {{ HTML::link(handles('orchestra::manages/melody.themes/backend'), 'Backend') }} </li> </ul> @endsection <?php $navbar = new Orchestra\Fluent(array( 'id' => 'melody', 'title' => 'Theme Manager', 'url' => handles('orchestra::manages/melody.themes'), 'primary_menu' => Laravel\Section::yield('melody::primary_menu'), )); ?> {{ Orchestra\Decorator::navbar($navbar) }}
df342fe730d44c0141bd169d90df7202f0d3a571
app.js
app.js
'use strict'; /** * Module dependencies. */ const express = require('express'); const compression = require('compression'); const bodyParser = require('body-parser'); const router = require('./routes/routes'); /** * Express configuration. */ const app = express(); app.use(compression()); // parse application/json app.use(bodyParser.json()); // support encoded bodies app.use(bodyParser.urlencoded({ extended: true })); app.use(router); /** * Express configuration. */ app.set('port', process.env.PORT || 3000); /** * Catch all error requests */ app.use(function(err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); /** * Start Express server. */ app.listen(app.get('port'), () => { console.log('Express server listening on port %d in %s mode', app.get('port'), app.get('env')); }); module.exports = app;
'use strict'; /** * Module dependencies. */ const express = require('express'); const compression = require('compression'); const bodyParser = require('body-parser'); const router = require('./routes/routes'); /** * Express configuration. */ const app = express(); app.use(compression()); // parse application/json app.use(bodyParser.json()); // support encoded bodies app.use(bodyParser.urlencoded({ extended: true })); app.use(router); /** * Express configuration. */ app.set('port', process.env.PORT || 3000); /** * Catch all error requests */ app.use((err, req, res, next) => { console.error(err.stack); res.status(500).send('Something broke!'); }); /** * Start Express server. */ app.listen(app.get('port'), () => { console.log('Express server listening on port %d in %s mode', app.get('port'), app.get('env')); }); module.exports = app;
Update error function to arrow function
Update error function to arrow function
JavaScript
mit
lostatseajoshua/Challenger
javascript
## Code Before: 'use strict'; /** * Module dependencies. */ const express = require('express'); const compression = require('compression'); const bodyParser = require('body-parser'); const router = require('./routes/routes'); /** * Express configuration. */ const app = express(); app.use(compression()); // parse application/json app.use(bodyParser.json()); // support encoded bodies app.use(bodyParser.urlencoded({ extended: true })); app.use(router); /** * Express configuration. */ app.set('port', process.env.PORT || 3000); /** * Catch all error requests */ app.use(function(err, req, res, next) { console.error(err.stack); res.status(500).send('Something broke!'); }); /** * Start Express server. */ app.listen(app.get('port'), () => { console.log('Express server listening on port %d in %s mode', app.get('port'), app.get('env')); }); module.exports = app; ## Instruction: Update error function to arrow function ## Code After: 'use strict'; /** * Module dependencies. */ const express = require('express'); const compression = require('compression'); const bodyParser = require('body-parser'); const router = require('./routes/routes'); /** * Express configuration. */ const app = express(); app.use(compression()); // parse application/json app.use(bodyParser.json()); // support encoded bodies app.use(bodyParser.urlencoded({ extended: true })); app.use(router); /** * Express configuration. */ app.set('port', process.env.PORT || 3000); /** * Catch all error requests */ app.use((err, req, res, next) => { console.error(err.stack); res.status(500).send('Something broke!'); }); /** * Start Express server. */ app.listen(app.get('port'), () => { console.log('Express server listening on port %d in %s mode', app.get('port'), app.get('env')); }); module.exports = app;
4fcc489ad3c8e6c61778d7be6949d7bbef4c8ad5
tests/validators/format/alpha.js
tests/validators/format/alpha.js
// Load dependencies var amanda = require('../../../src/amanda.js'); /** * Test #1 */ exports['Test #1'] = function(test) { var count = 0; var schema = { required: true, format: 'alpha' }; [ 'abc', 'ABC', 'Abc', 'aBc' ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.equal(error, undefined); }); }); [ '123', '+@#$~^*{}', 'lorem ipsum', ' ', 123, null, [], {}, function() {}, null, undefined ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.ok(error); }); }); test.equal(count, 15); test.done(); };
// Load dependencies var amanda = require('../../../dist/latest.js'); /** * Test #1 */ exports['Test #1'] = function(test) { var count = 0; var schema = { required: true, format: 'alpha' }; [ 'abc', 'ABC', 'Abc', 'aBc' ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.equal(error, undefined); }); }); [ '123', '+@#$~^*{}', 'lorem ipsum', ' ', 123, null, [], {}, function() {}, null, undefined ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.ok(error); }); }); test.equal(count, 15); test.done(); };
Update the path to Amanda in the ‘amanda.js’ file
Update the path to Amanda in the ‘amanda.js’ file
JavaScript
mit
apiaryio/Amanda,apiaryio/Amanda,Baggz/Amanda
javascript
## Code Before: // Load dependencies var amanda = require('../../../src/amanda.js'); /** * Test #1 */ exports['Test #1'] = function(test) { var count = 0; var schema = { required: true, format: 'alpha' }; [ 'abc', 'ABC', 'Abc', 'aBc' ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.equal(error, undefined); }); }); [ '123', '+@#$~^*{}', 'lorem ipsum', ' ', 123, null, [], {}, function() {}, null, undefined ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.ok(error); }); }); test.equal(count, 15); test.done(); }; ## Instruction: Update the path to Amanda in the ‘amanda.js’ file ## Code After: // Load dependencies var amanda = require('../../../dist/latest.js'); /** * Test #1 */ exports['Test #1'] = function(test) { var count = 0; var schema = { required: true, format: 'alpha' }; [ 'abc', 'ABC', 'Abc', 'aBc' ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.equal(error, undefined); }); }); [ '123', '+@#$~^*{}', 'lorem ipsum', ' ', 123, null, [], {}, function() {}, null, undefined ].forEach(function(data) { amanda.validate(data, schema, function(error) { count += 1; test.ok(error); }); }); test.equal(count, 15); test.done(); };
fbf012325a24f3b86fc54fd9a47a42172249c120
app/views/layouts/application.html.haml
app/views/layouts/application.html.haml
!!! %html %head %title Welcome to Funnies! = stylesheet_link_tag :all = javascript_include_tag :defaults = csrf_meta_tag %body = yield
!!! %html %head %title Welcome to Funnies! = stylesheet_link_tag :all = javascript_include_tag :defaults = csrf_meta_tag %body - if flash[:notice] || flash[:alert] %div{:class => "notice #{'alert' if flash[:alert]}"} = flash[:notice] || flash[:alert] #header.group #header-inner.group #logo = link_to root_path do = image_tag("logo-lowres.gif", :alt => "Funnies") #account - if user_signed_in? Signed in as #{current_user.username}. Not you? #{link_to "Sign out", destroy_user_session_path} - else #{link_to "Sign up", new_user_registration_path} or #{link_to "Sign in", new_user_session_path} #wrap #wrap-inner #content = yield
Update app layout, use flashes and account info
Update app layout, use flashes and account info
Haml
apache-2.0
martinisoft/funnies,martinisoft/funnies
haml
## Code Before: !!! %html %head %title Welcome to Funnies! = stylesheet_link_tag :all = javascript_include_tag :defaults = csrf_meta_tag %body = yield ## Instruction: Update app layout, use flashes and account info ## Code After: !!! %html %head %title Welcome to Funnies! = stylesheet_link_tag :all = javascript_include_tag :defaults = csrf_meta_tag %body - if flash[:notice] || flash[:alert] %div{:class => "notice #{'alert' if flash[:alert]}"} = flash[:notice] || flash[:alert] #header.group #header-inner.group #logo = link_to root_path do = image_tag("logo-lowres.gif", :alt => "Funnies") #account - if user_signed_in? Signed in as #{current_user.username}. Not you? #{link_to "Sign out", destroy_user_session_path} - else #{link_to "Sign up", new_user_registration_path} or #{link_to "Sign in", new_user_session_path} #wrap #wrap-inner #content = yield
48754bb1c7ca83163091da61f07abca7cbc5e37e
ophir-core/src/main/scala/ophir/search/Search.scala
ophir-core/src/main/scala/ophir/search/Search.scala
package ophir.search import ophir.model.Def import ophir.db.DefRepo import ophir.parser.SigParser object Search { type Result = Either[String, Iterator[Def]] private val mixedRegex = """^([^\:]+)\:(.+)$""".r def find(query: String): Result = query match { case mixedRegex(text, tpe) => MixedEngine find (text, tpe) case tpe if tpe contains "=>" => TypeEngine find tpe case text => TextEngine find text } object TextEngine { def find(text: String): Result = tokenize(text).right map DefRepo.findByTokens def tokenize(text: String): Either[String, List[String]] = Def nameToTokens text match { case Nil => Left("Empty text") case tokens => Right(tokens) } } object TypeEngine { def find(tpe: String): Result = normalize(tpe).right map DefRepo.findBySig def normalize(tpe: String): Either[String, String] = SigParser(tpe).right map (_.normalize.toString) } object MixedEngine { def find(text: String, tpe: String): Result = for { tokens <- (TextEngine tokenize text).right normalized <- (TypeEngine normalize tpe).right } yield DefRepo.findByTokensAndSig(tokens, normalized) } }
package ophir.search import ophir.model.Def import ophir.db.DefRepo import ophir.parser.SigParser object Search { type Result = Either[String, Iterator[Def]] private val mixedRegex = """^([^\:]*)\:(.+)$""".r def find(query: String): Result = query match { case mixedRegex("", tpe) => TypeEngine find tpe case mixedRegex(text, tpe) => MixedEngine find (text, tpe) case tpe if tpe contains "=>" => TypeEngine find tpe case text => TextEngine find text } object TextEngine { def find(text: String): Result = tokenize(text).right map DefRepo.findByTokens def tokenize(text: String): Either[String, List[String]] = Def nameToTokens text match { case Nil => Left("Empty text") case tokens => Right(tokens) } } object TypeEngine { def find(tpe: String): Result = normalize(tpe).right map DefRepo.findBySig def normalize(tpe: String): Either[String, String] = SigParser(tpe).right map (_.normalize.toString) } object MixedEngine { def find(text: String, tpe: String): Result = for { tokens <- (TextEngine tokenize text).right normalized <- (TypeEngine normalize tpe).right } yield DefRepo.findByTokensAndSig(tokens, normalized) } }
Fix searches starting with ":"
Fix searches starting with ":"
Scala
mit
ornicar/scalex,kzys/scalex
scala
## Code Before: package ophir.search import ophir.model.Def import ophir.db.DefRepo import ophir.parser.SigParser object Search { type Result = Either[String, Iterator[Def]] private val mixedRegex = """^([^\:]+)\:(.+)$""".r def find(query: String): Result = query match { case mixedRegex(text, tpe) => MixedEngine find (text, tpe) case tpe if tpe contains "=>" => TypeEngine find tpe case text => TextEngine find text } object TextEngine { def find(text: String): Result = tokenize(text).right map DefRepo.findByTokens def tokenize(text: String): Either[String, List[String]] = Def nameToTokens text match { case Nil => Left("Empty text") case tokens => Right(tokens) } } object TypeEngine { def find(tpe: String): Result = normalize(tpe).right map DefRepo.findBySig def normalize(tpe: String): Either[String, String] = SigParser(tpe).right map (_.normalize.toString) } object MixedEngine { def find(text: String, tpe: String): Result = for { tokens <- (TextEngine tokenize text).right normalized <- (TypeEngine normalize tpe).right } yield DefRepo.findByTokensAndSig(tokens, normalized) } } ## Instruction: Fix searches starting with ":" ## Code After: package ophir.search import ophir.model.Def import ophir.db.DefRepo import ophir.parser.SigParser object Search { type Result = Either[String, Iterator[Def]] private val mixedRegex = """^([^\:]*)\:(.+)$""".r def find(query: String): Result = query match { case mixedRegex("", tpe) => TypeEngine find tpe case mixedRegex(text, tpe) => MixedEngine find (text, tpe) case tpe if tpe contains "=>" => TypeEngine find tpe case text => TextEngine find text } object TextEngine { def find(text: String): Result = tokenize(text).right map DefRepo.findByTokens def tokenize(text: String): Either[String, List[String]] = Def nameToTokens text match { case Nil => Left("Empty text") case tokens => Right(tokens) } } object TypeEngine { def find(tpe: String): Result = normalize(tpe).right map DefRepo.findBySig def normalize(tpe: String): Either[String, String] = SigParser(tpe).right map (_.normalize.toString) } object MixedEngine { def find(text: String, tpe: String): Result = for { tokens <- (TextEngine tokenize text).right normalized <- (TypeEngine normalize tpe).right } yield DefRepo.findByTokensAndSig(tokens, normalized) } }
ba562b89fd8da5f91b7b40a2c43c5f91b90af437
rakefile.rb
rakefile.rb
DOMAIN = 'code2d.net'.freeze REGION = 'us-east-1'.freeze TERRAFORM_VARS = "-var domain=#{DOMAIN} -var region=#{REGION}".freeze task :build do cd 'app' do sh 'rake build' end end task :deploy do sh 'terraform init' sh 'terraform get' sh "terraform apply #{TERRAFORM_VARS}" cd 'app' do sh "BUCKET=#{DOMAIN} rake deploy" end end task :withdraw do sh "terraform destroy #{TERRAFORM_VARS}" end task :clean do cd 'app' do sh 'rake clean' end end
DOMAIN = 'code2d.net'.freeze REGION = 'us-east-1'.freeze TERRAFORM_VARS = "-var domain=#{DOMAIN} -var region=#{REGION}".freeze task :build do cd 'app' do sh 'rake build' end end task :deploy do sh 'terraform init' sh 'terraform get' sh "terraform apply #{TERRAFORM_VARS}" cd 'app' do sh "BUCKET=#{DOMAIN} rake deploy" end name_servers = `terraform output name_servers` .split(/[,\s]+/) .map { |s| 'Name=' + s } .join ' ' sh %W[ aws route53domains update-domain-nameservers --domain #{DOMAIN} --nameservers #{name_servers} ].join ' ' end task :withdraw do sh "terraform destroy #{TERRAFORM_VARS}" end task :clean do cd 'app' do sh 'rake clean' end end
Update name servers on deployment
Update name servers on deployment
Ruby
mit
raviqqe/code2d,raviqqe/code2d,raviqqe/code2d,raviqqe/code2d
ruby
## Code Before: DOMAIN = 'code2d.net'.freeze REGION = 'us-east-1'.freeze TERRAFORM_VARS = "-var domain=#{DOMAIN} -var region=#{REGION}".freeze task :build do cd 'app' do sh 'rake build' end end task :deploy do sh 'terraform init' sh 'terraform get' sh "terraform apply #{TERRAFORM_VARS}" cd 'app' do sh "BUCKET=#{DOMAIN} rake deploy" end end task :withdraw do sh "terraform destroy #{TERRAFORM_VARS}" end task :clean do cd 'app' do sh 'rake clean' end end ## Instruction: Update name servers on deployment ## Code After: DOMAIN = 'code2d.net'.freeze REGION = 'us-east-1'.freeze TERRAFORM_VARS = "-var domain=#{DOMAIN} -var region=#{REGION}".freeze task :build do cd 'app' do sh 'rake build' end end task :deploy do sh 'terraform init' sh 'terraform get' sh "terraform apply #{TERRAFORM_VARS}" cd 'app' do sh "BUCKET=#{DOMAIN} rake deploy" end name_servers = `terraform output name_servers` .split(/[,\s]+/) .map { |s| 'Name=' + s } .join ' ' sh %W[ aws route53domains update-domain-nameservers --domain #{DOMAIN} --nameservers #{name_servers} ].join ' ' end task :withdraw do sh "terraform destroy #{TERRAFORM_VARS}" end task :clean do cd 'app' do sh 'rake clean' end end