Post tagged: Terminal

Termux for Android

Wherein Termux for Android lets me build my website on my phone.

Level Up

Archived here, for posterity: repeating the last command you typed into bash.

Filesystem Events on Mac OS X

inotifywait is a Linux thang, but if you need similar functionality on Mac OS X, check out wait_on. Available via homebrew.

Drawing ACS-mode boxes in the terminal with Ruby

VT100 included an alternate character set (ACS) that enabled box drawing within the terminal. Here's a script from StackOverflow to test support for ACS.

iTerm 2 Skinny Fonts: Solution

For reasons that were unknown to me, iTerm 2 would display a nice, thick font when the laptop was the primary screen, but a very thin font when the Acer was primary.

Locked Files in Mac OS X

You may observe files with the correct ownership (chown) and permissions (chmod u+rw) that are write-locked. In my experience, the files were editable with sudo, and modification via the Finder would prompt for an administrator password. In these situations, you may be dealing with additional file attributes.

Upgrading to Snow Leopard

I've just upgraded to Mac OS X 10.6 "Snow Leopard," and had one problem along the way.

Removing All Partitions in Mac OS X

Here's now to "remove" all partitions on a disk under Mac OS X by clobbering the partition map.

Abusing screen(1)'s Default Shell

Three other people will find this useful.