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
| <script type="text/javascript"> | |
| $(function() { if($.browser.mozilla){ $('.equalize').removeClass('equalize'); } }); | |
| </script> |
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
| $ npm update npm --loglevel verbose | |
| npm info it worked if it ends with ok | |
| npm verb cli [ 'update', 'npm', '--loglevel', 'verbose' ] | |
| npm info version 0.2.1 | |
| npm verb config file /Users/ginader/.npmrc | |
| npm verb config file /usr/local/Cellar/node/0.2.2/etc/npmrc | |
| npm info update Nothing to update | |
| npm not ok |
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
| $ npm install npm | |
| npm info it worked if it ends with ok | |
| npm info version 0.2.1 | |
| npm info fetch http://registry.npmjs.org/npm/-/npm@0.2.3-2.tgz | |
| npm info install npm@0.2.3-2 | |
| npm WARN npm@0.2.3-2 linkMans It seems /usr/local/Cellar/node/0.2.2/share/man might not be visible to man | |
| npm WARN npm@0.2.3-2 linkMans For greater justice, please add it to your man path | |
| npm WARN npm@0.2.3-2 linkMans See: `man man` | |
| npm info activate npm@0.2.3-2 | |
| npm info build Success: npm@0.2.3-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
| <label for="fname"> | |
| First Name <img src="required-icon.png" alt="required" role="presentation"> | |
| </label> | |
| <input type="text" aria-required="true" required id="fname" name="fname" > |
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
| /** | |
| * fade in from display:none(ish) | |
| * taken from http://jsfiddle.net/Schepp/KFja4/ | |
| */ | |
| body{ | |
| margin-top:3em; | |
| } | |
| span { | |
| display: inline-block; | |
| overflow: hidden; |
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
| /** | |
| * aligning labels across multiple blocks | |
| */ | |
| table { | |
| background:white; | |
| margin:20px; | |
| border:none; | |
| border-spacing: 0; | |
| } |
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
| include("ringo/subprocess"); | |
| var log = require("ringo/logging").getLogger(module.id); | |
| exports.app = function(req) { | |
| log.info("Incoming request."); | |
| if (req.method !== "POST") { | |
| log.info("Not a valid POST request."); |
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
| # 1. in case you haven't installed the latest SASS | |
| $ sudo gem install sass | |
| # 2. now let's symlink the system Sass into the Livereload bundle | |
| cd /Applications/LiveReload.app/Contents/Resources/SASS.lrplugin/lib | |
| sudo mv sass sass-bundled | |
| sudo ln -s /Library/Ruby/Gems/1.8/gems/sass-3.2.1/ sass | |
| # 3. done. enjoy the lovely new features like @content for awesome @media support :-) |
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
| @import "compass"; | |
| $flags-spacing: 50px; | |
| $flags-position: 50%; | |
| $flags-sprite-base-class: ".flags li"; | |
| @import "flags/*.png"; | |
| $sprites: sprite-map("flags/*.png"); |
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
| // taken from this article: | |
| // http://www.brettjankord.com/2012/11/28/cross-browser-retinahigh-resolution-media-queries/ | |
| @media | |
| only screen and (-webkit-min-device-pixel-ratio: 2), | |
| only screen and (min-resolution: 192dpi) { | |
| /* Retina-specific stuff here */ | |
| } |
OlderNewer