Skip to content

Instantly share code, notes, and snippets.

@beci
beci / convert-and-split.sh
Created July 1, 2021 05:59 — forked from a-r-d/convert-and-split.sh
How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu.
#first install all the things:
sudo apt-get install flac ffmpeg mp3splt libav-tools shntool
# Okay first lets do an MP3:
# input files:
# --> cd.ape
# --> cp.cue
# (there are other options, like bitrate, but this is just the bare bones)
avconv -i cd.ape cd.mp3
@beci
beci / 256 colors.md
Created March 11, 2019 11:57 — forked from limingjie/256 colors.md
256 colors in putty, tmux/screen and vim

#256 colors in putty, tmux/screen and vim There is a detailed answer on stackoverflow. If you are looking for a short one, here it is.

  • putty

    Set Connection -> Data -> Terminal-type string to xterm-256color

  • tmux

Add this line to ~/.tmux.conf

@beci
beci / sudo_without_password
Last active October 7, 2015 12:00 — forked from etissieres/sudo_without_password
Sudo without password
my_name ALL = (ALL) NOPASSWD: ALL