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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| body { | |
| background: #f06; | |
| background: white; | |
| min-height: 100%; | |
| } | |
| .icon { |
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
| To have launchd start mongodb at login: | |
| ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents | |
| Then to load mongodb now: | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
| Or, if you don't want/need launchctl, you can just run: | |
| mongod |
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
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |
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
| // remember the QUERIES | |
| // no predefined query for small ( < 768px ), cause you should design mobile first! | |
| @media #{$retina-small} { /* retina < 768px */ } | |
| @media #{$small} { /* > 768px (medium) */ } | |
| @media #{$retina-medium} { /* > 768px (retina-medium) */ } | |
| @media #{$medium} { /* > 1280px (large) */ } | |
| @media #{$retina-large} { /* > 1280px (retina-large) */ } | |
| @media #{$large} { /* > 1440px (xlarge) */ } |
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
| $("div.check_boxes label").each(function() { | |
| attrId = $(this).find(">:first-child").attr("id"); | |
| $(this).attr("for", attrId); | |
| }); | |
| $("div.radio_buttons label").each(function() { | |
| attrId = $(this).find(">:first-child").attr("id"); | |
| $(this).attr("for", attrId); | |
| }); | |
NewerOlder