####lsauer.com
###Overview of all chrome://
pages.
- List by calling
chrome://about/
- Following is a direct dump from the 'about' page for reference
###List of Pages as per v20.xxx
// Console arguments testing | |
var apc = [].slice; | |
(function(){ | |
console.log( apc.call(arguments) ); | |
})( "false", 1, undefined, null, ["foo","bar","baz"], {a:1,b:2}, false ); | |
(function(){ | |
console.log.call( console, apc.call(arguments) ); |
$(document).ready(function() { | |
window.disqus_no_style = true; | |
$.getScript('http://sitename.disqus.com/embed.js', function() { | |
var loader = setInterval(function() { | |
if($('#disqus_thread').html().length) { | |
clearInterval(loader); | |
disqusReady(); | |
} | |
}, 1000); |
var pubsub = {}; | |
(function(q) { | |
var topics = {}, subUid = -1; | |
q.subscribe = function(topic, func) { | |
if (!topics[topic]) { | |
topics[topic] = []; | |
} | |
var token = (++subUid).toString(); | |
topics[topic].push({ | |
token: token, |
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
####lsauer.com
###Overview of all chrome://
pages.
chrome://about/
###List of Pages as per v20.xxx
Navigate to http://nodejs.org/download/ and on the Linux Binaries (.tar.gz) row click to download the 64-bit version of the current latest release.
Say you've downloaded node-v0.10.7-linux-x64.tar.gz
into the Downloads
directory. Then, open the terminal and type the following:
$ cd ~/Downloads
$ mkdir -p ~/local/node
$ tar xzf node-v0.10.7-linux-x64.tar.gz -C ~/local/node --strip-components=1
$ echo '# Node Enviroment Setup' >> ~/.bashrc
$ echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc
license: gpl-3.0 |
= IMAGEMAGICK | |
Working with images, PDFs and the command line | |
# convert from one format to another | |
convert image.gif image.jpg | |
# convert specific PDF page to image |
/** | |
* A simple object for creating pre-rendered Canvas elements on the fly without | |
* creating a mess in your files. | |
* @author Ash Blue [email protected] | |
* @link http://blueashes.com | |
* | |
* @example | |
* // Create a new pre-renderd Canvas and draw on it (width, height, drawLogic) | |
* var myPreRender = new PreRender(50, 50, function (ctx) { | |
* ctx.fillStyle = '#000'; |
(function(angular) { | |
'use strict'; | |
var directives = angular.module('app.directives', []); | |
directives.directive('ngTap', function() { | |
return function(scope, element, attrs) { | |
var tapping; | |
tapping = false; | |
element.bind('touchstart', function(e) { |