A timeline of the last four years of detecting good old window.localStorage.
October 2009: 5059daa
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| /* The API controller | |
| Exports 3 methods: | |
| * post - Creates a new thread | |
| * list - Returns a list of threads | |
| * show - Displays a thread and its posts | |
| */ | |
| var Thread = require('../models/thread.js'); | |
| var Post = require('../models/post.js'); |
| define(['require', 'exports'], function(require, exports) { | |
| exports.GATrackingHelper = function(settings) { | |
| // MEMBERS & DEFAULTS | |
| var urchinId = settings.gaqId || false, | |
| devId = settings.devId || 'UA-3172639-5', | |
| page = settings.page || null, | |
| trackingLabel = settings.label || false, | |
| domainName = settings.domainName || '.defencejobs.gov.au', |
| sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
| # or... | |
| sudo killall coreaudiod |
A timeline of the last four years of detecting good old window.localStorage.
October 2009: 5059daa
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # Assuming an Ubuntu Docker image | |
| $ docker run -it <image> /bin/bash |
| /** | |
| * Simple node_acl example with mongoDB and expressjs | |
| * | |
| * Usage: | |
| * 1. Start this as server | |
| * 2. Play with the resoures | |
| * | |
| * Show all permissions (as JSON) | |
| * http://localhost:3500/info | |
| * |
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |