This is my homepage

This is where Rey Dhuny posts internet things.

About + archives

Random commands

Random commands that have no other home :(

OS X

Replace the default, garish 3D dock with a nice, simple 2D dock

defaults write com.apple.dock no-glass -boolean YES; killall Dock

Resize an image

sips --resampleWidth 500 your-image.jpg

Terminal

Get the distro/version/etc of the operating system you’re running

cat /proc/version

ffmpeg

Encode MP3 at 192k bit rate

ffmpeg -i [input] -ab 192k [output.mp3]