This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
Authored by Peter Rybin , Chrome DevTools team
In this short guide we'll review some new Chrome DevTools features for "function scope" and "internal properties" by exploring some base JavaScript language concepts.
Let's start with closures – one of the most famous things in JS. A closure is a function, that uses variables from outside. See an example:
rsync (Everyone seems to like -z, but it is much slower for me)
###################################################################### | |
# CURRENT AWARE LOCAL DATETIME | |
###################################################################### | |
from datetime import datetime | |
from tzlocal import get_localzone | |
local_tz = get_localzone() | |
local_dt = datetime.now(local_tz) |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include /home/t/nginx/conf/mime.types; | |
default_type application/octet-stream; |
/* | |
backbone_auth.js | |
Provides bi-directional HMAC hooked in to Model and Collection. | |
Author: github.com/adoc | |
Location: https://gist.github.com/adoc/8613376 | |
*/ | |
define(['underscore', 'backbone', 'config', 'events', 'auth_client', 'persist'], |
{ | |
"ETHNIC / FOLK / SPIRITUAL MUSIC": [ | |
{ | |
"url": "http://radcap.ru/indian.html", | |
"title": "INDIAN", | |
"name": "Indian Folk/Ethnic", | |
"img": "http://radcap.ru/stylegraf/indian1.jpg", | |
"asx": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.asx", | |
"m3u": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.m3u", | |
"pls": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.pls", |
set-option -g default-terminal "xterm-256color" | |
set-window-option -g xterm-keys on | |
run-shell "tmux setenv -g TMUX_VERSION $(tmux -V | cut -c 6-)" | |
setw -g mode-keys vi | |
unbind C-b | |
# remap prefix to Control + Space |