Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| <div id="shim"></div> | |
| <div class="textHolder"><h1>Try to scroll</h1><div class="sticky">Java script</div>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | |
| </div><div class="textHolde |
| tell application "System Events" | |
| set frontmostProcess to name of first item of (processes whose frontmost is true) | |
| tell process frontmostProcess | |
| tell window 1 | |
| set oldSize to get size | |
| -- change + to - for shrinking | |
| -- change 100 to 5 for fine-tune mode | |
| set newWidth to (item 1 of oldSize) + 100 | |
| set size to {newWidth, item 2 of oldSize} | |
| end tell |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| $sprites: sprite-map("sprites/*.png"); | |
| $sprites-retina: sprite-map("sprites-retina/*.png"); | |
| @mixin sprite-background($name) { | |
| background-image: sprite-url($sprites); | |
| background-position: sprite-position($sprites, $name); | |
| background-repeat: no-repeat; | |
| display: block; | |
| height: image-height(sprite-file($sprites, $name)); | |
| width: image-width(sprite-file($sprites, $name)); |
| group :assets do | |
| gem 'sass-rails', '~> 3.1.0' | |
| gem 'coffee-rails', '~> 3.1.0' | |
| gem 'uglifier' | |
| gem 'compass' | |
| end |
| /* JS carousel instantiated as - | |
| function newsTickerAnimation(activeID, stagedObj, callback) { | |
| var activeObj = $(activeID); | |
| activeObj.animate({ | |
| left: '-=100px', | |
| opacity: 0 | |
| }, 250, function() { | |
| $(this).css({ |
| #!/bin/sh | |
| #################################### | |
| # Output file for HTML5 video # | |
| # Requirements: # | |
| # - handbrakecli # | |
| # - ffmpeg # | |
| # - ffmpeg2theora # | |
| # # | |
| # usage: # |
| // ==UserScript== | |
| // @name UTM param stripper | |
| // @author Paul Irish | |
| // @namespace http://github.com/paulirish | |
| // @version 1.2 | |
| // @description Drop the UTM params from a URL when the page loads. | |
| // @extra Cuz you know they're all ugly n shit. | |
| // @include http*://* | |
| // ==/UserScript== |