Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
user rails; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
;; See https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html | |
(server-start) | |
;; See http://rinari.rubyforge.org/nXhtml_002dMode.html | |
;;; nxml (HTML ERB template support) | |
(load "~/.emacs.d/nxhtml/autostart.el") |
Here are all the patterns a beginning Rails programmer needs to know about Gem and RVM. Once you have the few steps of the workflow memorised, they will be second nature to you.
First we have to be able to confidently use gems. But it is safer never to install gems until RVM is set to use a gemset. These commands are listed before any RVM commands because they can be used without RVM -- but if you are going to do much Ruby work, you will be better off using these only after creating gemsets to hold the gems you install.
$ gem install foo
You will need a VPS/Unix Shell account on a remote machine sitting in a country with some sane laws.
from your local machine, do:
$ ssh -D 1080 user@host
On your browser (or other applications), go to the network connection settings, select the option to use a proxy and leave everything blank except the SOCKS option, where you fill in hostname as localhost or 127.0.0.1 and port number as 1080 (or whatever you filled in above). That is all!
If you don't know what Chrome's omnibox is, see Chrome support.
Go to www.google.com/cse and add a Custom Search Engine with all your favorite web sites for one topic of interest to you. Let's suppose the topic of interest is JavaScript.
Do a search on your Custom Search Engine and save the URL of the finished search.
In Google Chrome, go to 'Settings', then (under 'Search') 'Manage Search Engines...'.
;;;; In this Lisp tree, leaves are atoms and children with children are lists. | |
(a | |
(b | |
c | |
(d | |
(e f)) | |
g | |
h)) |
(x point) ; access the x coordinate of a point |
st = zen.createSubtree([["dijit.TitlePane", | |
{ | |
id:"testRendering", | |
title:"Toolbar (click to expand) - Zen Notebook", | |
style:{top:"30px",right:"30px"}, | |
closable:true, | |
open:false | |
} | |
], | |
[[["CENTER", {}], |