michaelfox + zsh 42
del.icio.us info for URL: a Mac OS X system service
september 2011 by michaelfox
This is a service that, given a URL as input, will open the del.icio.us info page for the URL in your favorite browser. Here's an example of an info page.
The service was written in zsh shell-script and turned into a service with ThisService.
service
osx
automation
url
info
delicious
zsh
shell
script
The service was written in zsh shell-script and turned into a service with ThisService.
september 2011 by michaelfox
Zsh Tips, Tricks and Examples by zzapper
august 2011 by michaelfox
# start a "clean" version of zsh (without your startup files)
linux
zsh
osx
terminal
shell
august 2011 by michaelfox
Nate Stedman • Terminal titles with ssh
december 2010 by michaelfox
I wanted titles in my terminal windows/tabs to show which computer that terminal was for. Here's how I did it for zsh (it wouldn't be hard to port it to bash, I'm sure):
# set the terminal title
settitle() {
echo -n -e "\033]0;"`hostname -s`"\007"
}
settitle
# nice ssh with titles
ssh() {
/usr/bin/ssh $*
settitle
}
The ssh function is required so that the hostname of the original computer is put back in the title when the ssh session is exited. I've tested it in gnome-terminal, xterm, and Apple Terminal, and it works in all of them.
zsh
shell
dotfiles
ssh
terminal
# set the terminal title
settitle() {
echo -n -e "\033]0;"`hostname -s`"\007"
}
settitle
# nice ssh with titles
ssh() {
/usr/bin/ssh $*
settitle
}
The ssh function is required so that the hostname of the original computer is put back in the title when the ssh session is exited. I've tested it in gnome-terminal, xterm, and Apple Terminal, and it works in all of them.
december 2010 by michaelfox
git.grml.org Git
december 2010 by michaelfox
aamath.git - ASCII art mathematics renderer
advchk.git - monitor the security of instal
afflib.git - utils for the Advanced Forensi
anytun.git - secure anycast tunneling protocol
base64.git - encode and decode base64 files
cdrtools.git - command line CD writing tool
cmospwd.git - a cmos/bios password recovery
ctris.git - colorized, small and flexible
dd-rhelp.git - dd_rescue hard disk rescue
ddrescue.git - copies data from one file
dupmerge.git - reclaim disk space by linking
elizatalk.git - simple autoresponder
espeakup.git - use espeak software synthesize
fai-stable.git - FAI stable branch (git-svn
fvwm-crystal-minimal.git - Pretty Desktop Environment
gatling.git - a high performance web server
gddrescue.git - the GNU data recovery tool
glipper-nognome.git - clipboard manager
grml-api.git - API for the grml live system
grml-autoconfig.git - main bootup process of a grml
grml-btnet.git - server and client to quickly
grml-buildd.git - buildd related stuff
grml-core.git - core files for the grml live
grml-crypt.git - wrapper arround cryptsetup
grml-debian-keyring.git - GnuPG archive key of the grml
grml-debootstrap.git - wrapper around debootstrap
grml-debugtools.git - various debug related tools
grml-desktop.git - configuration files for grml
grml-docs.git - documentation for grml (grml
grml-etc-core.git - core configuration files of
grml-etc.git - ecetera files for the grml
grml-files.git - some misc files for grml
grml-files64.git - some misc files for grml64
grml-firefox.git - configuration for firefox
grml-gen-zshrefcard.git - generate zsh reference card
grml-git-doc.git - Documentation of git at grml
grml-git-tools.git - Useful addons for work with git
grml-homepage.git - website of grml (WIP)
grml-hwinfo.git - collect hardware information
grml-infrastructure.git - documentation of grml-infrastr
grml-kernel.git - patches, configuration and
grml-laptop.git - optimize system for specific
grml-live.git - build system for creating
grml-lsb.git - lsb function definitions for
grml-mercurial-utils.git - some scripts for easier work
grml-mirrors.git - policies/guidelines/howto
grml-network.git - network related helper scripts
grml-paste.git - command line interface for
grml-policy.git - the grml policy documentation
grml-policyrcd.git - wrapper for and around invoke
grml-pylib.git - python wrappers arround differ
grml-quickconfig.git - fast access to some basic
grml-rebuildfstab.git - fstab-rebuilder for grml
grml-rescueboot.git - Bootloader integration of
grml-roadmap.git - Roadmap for grml (tracking
grml-runit.git - Grmls idea of runit service
grml-saveconfig.git - utilities and documentation
grml-scanpartitions.git - fstab-helper for grml
grml-scripts.git - some small scripts which shoul
grml-sectools.git - collection of small in-/securi
grml-shlib.git - generic shell library
grml-shred-disk.git - utility to securely shred
grml-small.git - virtual package for main grml
grml-templates.git - templates for LaTeX, c, cpp
grml-terminalserver-data.git - data package for grml-terminal
grml-terminalserver.git - terminalserver for grml
grml-tips.git - search for tips and hints
grml-twitter-tips.git - grml related tips for http
grml-udev-config.git - custom udev configurations
grml-unittests.git - unittests for the Grml live
grml-usleep.git - sleeps for a number of microse
grml-vpn.git - wrapper around setkey / IPsec
grml-x.git - X configuration tool for grml
grml.git - virtual package for main grml
grml2hd-utils.git - utilities for a grml system
grml2hd.git - make a harddisk installation
grml2usb.git - install grml-system to usb
grml64.git - virtual package for main grml6
guymager.git - Forensic imaging tool based
heirloom-sh.git - Heirloom Bourne Shell - derive
hg-doc.git - documentation of hg
hg-to-git.git - Migration utils for migrating
histring.git - highlight strings using ANSI
i855-crt.git - enable crt out on i855GM based
incron.git - inotify cron system
initramfs-tools.git - tools for generating an initra
ipw-firmware.git - Intel PRO/Wireless 2100 and
iscsitarget.git - iSCSI Enterprise Target
iwatch.git - realtime filesystem monitoring
kantan.git - simple test suite for autotest
latextug.git - German documentation on LaTeX
lcdtest.git - a utility to display LCD monit
libgebi-dev.git - a C++ library of generic desig
libguytools.git - libguytools is a small program
linux-kernel-headers-grml.git - virtual package to replace
live-boot-grml.git - grml's version of live-boot
live-initramfs-grml.git - grml's version of live-initramfs
md5deep.git - compute MD5, SHA-1, or SHA
minised.git - a smaller, cheaper, faster
nat-traverse.git - establish connections between
nntpview.git - small and fast nntp thread
nozomi-source.git - source for GlobeTrotter HSDPA
op.git - sudo like controlled privilege
pip.git - http://membled.com/work/apps
prism54-firmware.git - firmware images for prism54
python-axon.git - Asynchronous Isolated Generato
python-axon.mq.git - Asynchronous Isolated Generato
rainbowcrack.git - time-memory trade-off password
rephrase.git - A specialized passphrase recov
sbd.git - One-time cipher based back
shmux.git - execute the same command on
sitar.git - System InformaTion At Runtime
smap.git - nmap like SIP scanner
squashfs-lzma-tools.git - tool to create and append
squashfs-lzma.git - squashfs-tools with support
squashfs.git - tool to create and append
stressapptest.git - stress test application for
thc-ipv6.git - Tools to play with IPv6
tuitest.git - run automated tests of text
uanytun.git - tiny implementation of the
udev.git - udev package for grml
unsorted-patches.git - patches without an own package
w3bfukk0r.git - Scan webservers for hidden
xmount.git - tool to crossmount between
zfs-fuse.git - ZFS on FUSE/Linux
zsh-lovers.git tips, tricks and examples
zsh
shell
bash
etc
core
tools
scripts
docs
resources
repository
git
reference
advchk.git - monitor the security of instal
afflib.git - utils for the Advanced Forensi
anytun.git - secure anycast tunneling protocol
base64.git - encode and decode base64 files
cdrtools.git - command line CD writing tool
cmospwd.git - a cmos/bios password recovery
ctris.git - colorized, small and flexible
dd-rhelp.git - dd_rescue hard disk rescue
ddrescue.git - copies data from one file
dupmerge.git - reclaim disk space by linking
elizatalk.git - simple autoresponder
espeakup.git - use espeak software synthesize
fai-stable.git - FAI stable branch (git-svn
fvwm-crystal-minimal.git - Pretty Desktop Environment
gatling.git - a high performance web server
gddrescue.git - the GNU data recovery tool
glipper-nognome.git - clipboard manager
grml-api.git - API for the grml live system
grml-autoconfig.git - main bootup process of a grml
grml-btnet.git - server and client to quickly
grml-buildd.git - buildd related stuff
grml-core.git - core files for the grml live
grml-crypt.git - wrapper arround cryptsetup
grml-debian-keyring.git - GnuPG archive key of the grml
grml-debootstrap.git - wrapper around debootstrap
grml-debugtools.git - various debug related tools
grml-desktop.git - configuration files for grml
grml-docs.git - documentation for grml (grml
grml-etc-core.git - core configuration files of
grml-etc.git - ecetera files for the grml
grml-files.git - some misc files for grml
grml-files64.git - some misc files for grml64
grml-firefox.git - configuration for firefox
grml-gen-zshrefcard.git - generate zsh reference card
grml-git-doc.git - Documentation of git at grml
grml-git-tools.git - Useful addons for work with git
grml-homepage.git - website of grml (WIP)
grml-hwinfo.git - collect hardware information
grml-infrastructure.git - documentation of grml-infrastr
grml-kernel.git - patches, configuration and
grml-laptop.git - optimize system for specific
grml-live.git - build system for creating
grml-lsb.git - lsb function definitions for
grml-mercurial-utils.git - some scripts for easier work
grml-mirrors.git - policies/guidelines/howto
grml-network.git - network related helper scripts
grml-paste.git - command line interface for
grml-policy.git - the grml policy documentation
grml-policyrcd.git - wrapper for and around invoke
grml-pylib.git - python wrappers arround differ
grml-quickconfig.git - fast access to some basic
grml-rebuildfstab.git - fstab-rebuilder for grml
grml-rescueboot.git - Bootloader integration of
grml-roadmap.git - Roadmap for grml (tracking
grml-runit.git - Grmls idea of runit service
grml-saveconfig.git - utilities and documentation
grml-scanpartitions.git - fstab-helper for grml
grml-scripts.git - some small scripts which shoul
grml-sectools.git - collection of small in-/securi
grml-shlib.git - generic shell library
grml-shred-disk.git - utility to securely shred
grml-small.git - virtual package for main grml
grml-templates.git - templates for LaTeX, c, cpp
grml-terminalserver-data.git - data package for grml-terminal
grml-terminalserver.git - terminalserver for grml
grml-tips.git - search for tips and hints
grml-twitter-tips.git - grml related tips for http
grml-udev-config.git - custom udev configurations
grml-unittests.git - unittests for the Grml live
grml-usleep.git - sleeps for a number of microse
grml-vpn.git - wrapper around setkey / IPsec
grml-x.git - X configuration tool for grml
grml.git - virtual package for main grml
grml2hd-utils.git - utilities for a grml system
grml2hd.git - make a harddisk installation
grml2usb.git - install grml-system to usb
grml64.git - virtual package for main grml6
guymager.git - Forensic imaging tool based
heirloom-sh.git - Heirloom Bourne Shell - derive
hg-doc.git - documentation of hg
hg-to-git.git - Migration utils for migrating
histring.git - highlight strings using ANSI
i855-crt.git - enable crt out on i855GM based
incron.git - inotify cron system
initramfs-tools.git - tools for generating an initra
ipw-firmware.git - Intel PRO/Wireless 2100 and
iscsitarget.git - iSCSI Enterprise Target
iwatch.git - realtime filesystem monitoring
kantan.git - simple test suite for autotest
latextug.git - German documentation on LaTeX
lcdtest.git - a utility to display LCD monit
libgebi-dev.git - a C++ library of generic desig
libguytools.git - libguytools is a small program
linux-kernel-headers-grml.git - virtual package to replace
live-boot-grml.git - grml's version of live-boot
live-initramfs-grml.git - grml's version of live-initramfs
md5deep.git - compute MD5, SHA-1, or SHA
minised.git - a smaller, cheaper, faster
nat-traverse.git - establish connections between
nntpview.git - small and fast nntp thread
nozomi-source.git - source for GlobeTrotter HSDPA
op.git - sudo like controlled privilege
pip.git - http://membled.com/work/apps
prism54-firmware.git - firmware images for prism54
python-axon.git - Asynchronous Isolated Generato
python-axon.mq.git - Asynchronous Isolated Generato
rainbowcrack.git - time-memory trade-off password
rephrase.git - A specialized passphrase recov
sbd.git - One-time cipher based back
shmux.git - execute the same command on
sitar.git - System InformaTion At Runtime
smap.git - nmap like SIP scanner
squashfs-lzma-tools.git - tool to create and append
squashfs-lzma.git - squashfs-tools with support
squashfs.git - tool to create and append
stressapptest.git - stress test application for
thc-ipv6.git - Tools to play with IPv6
tuitest.git - run automated tests of text
uanytun.git - tiny implementation of the
udev.git - udev package for grml
unsorted-patches.git - patches without an own package
w3bfukk0r.git - Scan webservers for hidden
xmount.git - tool to crossmount between
zfs-fuse.git - ZFS on FUSE/Linux
zsh-lovers.git tips, tricks and examples
december 2010 by michaelfox
Dotfiles Are Meant to Be Forked
september 2010 by michaelfox
I’m a big fan of customizing your dotfiles. “Dotfiles” are the funky little files in your *nix-based home directory that allow you to customize your nerdery: change how your prompt looks, set up your $PATH, adjust settings for Ruby’s IRB, completely change everything about Vim, and about a billion and a half other things. They’re fun.
In many ways, this loose framework is one of the most important tools you’ll use as a developer. It dictates how you use every other tool in your software arsenal. And everyone has different tastes, which I find fascinating: sit down at a crafty programmer’s shell for a minute and you’ll find that out pretty quick.
github
dotfiles
shell
bash
zsh
cli
config
setup
environment
In many ways, this loose framework is one of the most important tools you’ll use as a developer. It dictates how you use every other tool in your software arsenal. And everyone has different tastes, which I find fascinating: sit down at a crafty programmer’s shell for a minute and you’ll find that out pretty quick.
september 2010 by michaelfox
related tags
*todo ⊕ app ⊕ apps ⊕ autocomplete ⊕ automation ⊕ bash ⊕ brew ⊕ browser ⊕ c ⊕ character ⊕ cli ⊕ cocoa ⊕ collection ⊕ color ⊕ command ⊕ commandline ⊕ commands ⊕ completion ⊕ config ⊕ core ⊕ customization ⊕ delicious ⊕ dialog ⊕ docs ⊕ documentation ⊕ dotfiles ⊕ environment ⊕ etc ⊕ firefox ⊕ git ⊕ github ⊕ guide ⊕ hack ⊕ hacks ⊕ howto ⊕ info ⊕ inspiration ⊕ inspiration:dotfiles ⊕ interactive ⊕ irc ⊕ keychain ⊕ line ⊕ linux ⊕ list ⊕ mac ⊕ macosx ⊕ macvim ⊕ manual ⊕ objective-c ⊕ oh-my-zsh ⊕ oop ⊕ optimization ⊕ options ⊕ osx ⊕ passwords ⊕ pastie ⊕ pastie-325104 ⊕ pentadactyl ⊕ performance ⊕ php ⊕ phpsh ⊕ plugin ⊕ plugins ⊕ profile ⊕ programming ⊕ prompt ⊕ prompts ⊕ reference ⊕ repository ⊕ resources ⊕ ruby ⊕ script ⊕ scripting ⊕ scripts ⊕ security ⊕ service ⊕ setup ⊕ shell ⊕ shopt ⊕ ssh ⊕ symbol ⊕ sysadmin ⊕ terminal ⊕ tips ⊕ tmux ⊕ tools ⊕ tutorial ⊕ unicode ⊕ unix ⊕ url ⊕ vim ⊕ wiki ⊕ zsh ⊖ ★ ⊕Copy this bookmark: