This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const connect = (mapStateToProps, mapDispatchToProps) => magic ... | |
const MegaLopolos = (props) => | |
<div> | |
Stuff.... | |
</div> | |
export defaults connect(mapStateToProps, mapDispatchToProps)(cssModules(styles)(MegaLopolos)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- TC electronics ditto looper (mini) | |
- TC electronics hall of fame mini | |
- Ibanes tube screamer mini | |
- addict a ball http://www.addictaball.com.au | |
- fitbit hr large black |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom-text-editor.is-focused::shadow .cursors { | |
.cursor { | |
transition: opacity .2s ease-out; | |
opacity: 0.7; | |
background: gray; | |
border: none; | |
border-radius: 1px; | |
} | |
&.blink-off .cursor { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wetsuit, size M/MT (height 182cm, weight 77kg), thickness 3/2mm, colors black/red/yellow | |
Climbing shoes (size 44.5) | |
Manly surfing school | |
Longboard, mini cruiser skateboard (not a penny board), something with a kicktail, ~27" long, something like this one http://i.ebayimg.com/00/s/NTA0WDUwNA==/z/QD0AAMXQ1d1TGjaH/$_12.JPG | |
Cheezburger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function random_hex(size) { | |
return Array.apply(null, Array(size)).map(function() { | |
return (Math.random()*16|0).toString(16); | |
}).join(""); | |
} | |
console.log(random_hex(128)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE t_random AS SELECT s, md5(random()::text) FROM generate_Series(1,5) s; | |
INSERT INTO t_random VALUES (generate_series(1,1000000000), md5(random()::text)); | |
SELECT pg_size_pretty(pg_relation_size('t_random')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.editor.is-focused { | |
.cursor { | |
transition: opacity .25s ease-in-out; | |
opacity: 0.7; | |
background: gray; | |
border: none; | |
&.blink-off { | |
visibility: visible; | |
opacity: 0.2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplicationController | |
before_fitler :autfind_stuff | |
def self.autofinders | |
@autofinders ||= [] | |
end | |
def self.autofind(param, &block) | |
autofinders << [param, block] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'livereload' do | |
watch(%r{app/views/.+\.(erb|haml|slim)$}) | |
watch(%r{app/helpers/.+\.rb}) | |
watch(%r{public/.+\.(css|js|html)}) | |
watch(%r{config/locales/.+\.yml}) | |
# Rails Assets Pipeline | |
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|coffee|less|html|png|jpg|hbs|emblem))).*}) { |m| "/assets/#{m[3]}" } | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zeus: echo "Spawining Zeus..." && zeus start &> /dev/null | |
resque1: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
resque2: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
resque3: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
web: sleep 2 && zeus server |