I like to read books, here are my thoughts about them.
- John Scalzi is thankfully prolific. If you haven't read anything by him, [Redshirts] is a meta exploration of Star-Trek-like shows. If you liked Galaxy Quest, you'll love it.
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>acme frontend</title> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="/js/main.js"></script> | |
</body> |
(I wrote a bit about why Emacs and Vim on my blog and thought it might be nice to give some starting point for people that want to try it.)
If you just want to play around with Emacs & Evil mode do the following:
mkdir ~/.emacs.d/
init.el
into ~/.emacs.d/
var BVT = function(width, depth, init, elems) { | |
this._width = width; | |
this._depth = depth; | |
this._leaf = depth === 1; | |
this._shift = (this._depth - 1) * Math.round(Math.log(width) / Math.log(2)); | |
this._himask = this._width - 1; | |
this._lomask = Math.pow(2, this._shift) - 1; | |
this._elems = elems; | |
#Connects to the Socrata search API and loads data describing the tabular datasets in the catalog for use by D3 tree map | |
#This version connects to a list of existing Socrata instances and loops through the ones categorized as city | |
#Use: python dataportalapi.py > portaldata.json | |
import requests, json, math, re | |
def check_categories(d,category): | |
for i in range(len(d)): | |
if d[i]['name'] == category: return i | |
return -1 |
let g:ScreenImpl = 'Tmux' | |
function! CustomScreenSend() | |
silent! %s/\s\+$//e | |
silent! g/^$/d | |
ScreenSend | |
silent! normal! ggdG | |
endfunction |
Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf
using homebrew.
➜ openssl genrsa -des3 -out server.key 1024 | |
Generating RSA private key, 1024 bit long modulus | |
................++++++ | |
...............++++++ | |
e is 65537 (0x10001) | |
Enter pass phrase for server.key: | |
Verifying - Enter pass phrase for server.key: | |
➜ openssl req -new -key server.key -out server.csr | |
Enter pass phrase for server.key: | |
You are about to be asked to enter information that will be incorporated |
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
# |