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
| .row { margin-left: -2.12766%; } | |
| /* [1] – px: 60 pct: 6.38298% */ | |
| .span1 { width: 6.38298%; margin-left: 2.12766%; } | |
| /* [2] – px: 140 pct: 14.89362% */ | |
| .span2 { width: 14.89362%; margin-left: 2.12766%; } | |
| .span2 .span1 { width: 42.85714%; margin-left: 14.28571%; } /* 60px */ | |
| /* [3] – px: 220 pct: 23.40426% */ |
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
| // inspired by Lea Verou's vendor-prefix detection: http://goo.gl/vl9mh | |
| var VENDOR_PREFIX=(function () { | |
| var r = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/, | |
| s = document.getElementsByTagName('script')[0].style; | |
| for(var p in s) { if(r.test(p)) { return p.match(r)[0]; } } | |
| if('WebkitOpacity' in s) return 'Webkit'; | |
| if('KhtmlOpacity' in s) return 'Khtml'; |
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($, window) { | |
| var $win = $(window), | |
| $doc = $(document), | |
| winHeight = $(window).height(), | |
| preloadGroups = {}, | |
| preloadGroupHeight = 200; | |
| $win.on({ | |
| load: function() { |
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
| export PATH=/Users/martins/bin:/opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |
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
| export PATH=/Users/martins/bin:/opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:$PATH | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace | |
| # append to the history file, don't overwrite it |
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
| var arDrone = require('ar-drone'); | |
| var client = arDrone.createClient(); | |
| client.takeoff(); | |
| client.config('general:navdata_demo', 'TRUE'); | |
| client.on('navdata', console.log); | |
| client | |
| .after(8000, function() { | |
| this.clockwise(0.5); |
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
| /** | |
| * content-box shadows part I | |
| */ | |
| body { | |
| background-color: #666; } | |
| .container { | |
| width: 80%; height: 800px; | |
| border-radius: 50px; | |
| 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
| /** | |
| * content-box shadows part I | |
| */ | |
| body { | |
| background-color: #666; } | |
| .container { | |
| width: 80%; height: 800px; | |
| border-radius: 50px; | |
| 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
| /** | |
| * content-box shadows part II | |
| */ | |
| body { | |
| background-color: #666; } | |
| .container { | |
| width: 80%; height: 800px; | |
| border-radius: 20px; | |
| box-shadow: 0 0 20px 0 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
| /** | |
| * content-box shadows part II | |
| */ | |
| body { | |
| background-color: #666; } | |
| .container { | |
| width: 80%; height: 800px; | |
| border-radius: 20px; | |
| box-shadow: 0 0 20px 0 black; |