Skip to content

Instantly share code, notes, and snippets.


Michał Moroz dragonee

View GitHub Profile
dragonee / .bashrc
Last active Mar 5, 2019
startenv for gnome-terminal
View .bashrc
# stub implementation of for gnome-terminal
# using bash and nodejs
# this code should be put at the end of your .bashrc
# usage:
# put
# as .startenv.js in your project root directory
# modify it to your needs
dragonee / .bashrc
Last active Aug 19, 2017
A command to convert album with separate FLAC files and import it to iTunes
View .bashrc
# adds three functions to your Bash terminal:
# flac2mp3 DIRECTORY - converts a directory with .flac files to .mp3 format
# itunesadd DIRECTORY - moves MP3 files to iTunes "Add Automatically" folder
# flac2itunes DIRECTORY - converts files to mp3 and adds them to iTunes in one step
# options can be modified below
# requires from
export FLAC2MP3_APP="/Users/dragonee/Kod/flac2mp3/"
export FLAC2MP3_OPTIONS="--processes=5 --preset=320"