sed -n

I've decided that sed -n is my new best friend 11:29

for example, sed -n '130,170p' node_widget.form.inc 11:29

prints lines 130-170 from that file 11:29

makes debugging a bit faster XD

Panels with views, blocks vs panes

A pretty good advice thread for panels-views integration with panels display panes.

Drupal Internationalization Setup Step by Step

http://ao2.it/wiki/How_to_setup_a_multi-site,_multi-lingual,_multi-user_Drupal_blog

Helpful Tools

I'm starting to accumulate a LOT of tools, so here's a central location.

Python

HTTPie - HTTPie is a CLI, cURL-like tool for humans.

Pip - A tool for installing and managing Python packages.

distribute - Easily download, build, install, upgrade, and uninstall Python packages.

https://code.google.com/p/daisydiff/

https://gist.github.com/c4rl/5385704

Useful Git branch commands

Rename branch

git branch -m old_branch new_branch

Hex codes for common HTML elements

When adding HTML elements in content via CSS, you need to add the hexademical code instead of the HTML code. I'll list new ones as I need them.

(») » = "\00BB"
( )   = "\00A0"

The actual hex would be %BB, %A0, etc. But when putting that in CSS you use \00 instead of %. Example:

a:after{
  content:"\00A0\00BB";
}

This produces " »" after the link.

Long list of HTML and hexadecimal character codes

Customize Your Shell Command Prompt

Colors, context-based symbols, working directory, all sorts of awesome jazz.

For some additional fun, add emoji if you're on a Mac