Aug 31
A Unix machine’s hostname appears at the shell prompt, and is also the name used many of the networking pro-grams to identify the machine.
- To see what the hostname is set to:
- And to change it:
written by Judd Muir
\\ tags: shell
Aug 08
Adding folding to CSS blocks in TextMate
(From http://stefan.sofa-rockers.org/2010/07/14/adding-sections-folding-css-textmate/)
Top tip for folding CSS according to comments such as:
/* start ContentBlock */
/* end ContentBlock */
- Added snippet called “sectionfold” to the Textmate CSS bundle:
- Bundles -> Bundle Editor -> Show Bundle Editor
- New Snippet, then paste in the following:
- /* start ${1:section} */
$0
/* end $1 */
- It gets activated by the tab trigger “sec” (or as you like), and set the scope selector to source.css.

- Modify the CSS language definition:
written by Judd Muir
\\ tags: textmate