Skip to content

Instantly share code, notes, and snippets.

@osteotek
osteotek / mongo-dump-csv.sh
Created July 14, 2016 11:45 — forked from mderazon/mongo-dump-csv.sh
Export all of Mongodb collections as csv without the need to specify fields
OIFS=$IFS;
IFS=",";
# fill in your details here
dbname=DBNAME
user=USERNAME
pass=PASSWORD
host=HOSTNAME:PORT
# first get all collections in the database
@osteotek
osteotek / itunes.sh
Created July 13, 2016 20:25 — forked from palladius/itunes.sh
control iTunes from command line (fichissimo!)
#!/bin/bash
#
####################################
# iTunes Command Line Control v1.0
# originally written by David Schlosnagle
# created 2001.11.08
# edit 2010.06.01 rahul kumar
# edit 2011.12.11 Riccardo Carlesso
####################################
@osteotek
osteotek / README.md
Created August 24, 2012 20:16 — forked from Tarrasch/README.md
Unity plus xmonad configuration (Ubuntu 12.04)

What

This is my xmonad+unity panel config. With this config, you'll have a well integrated panel from unity but still have xmonad as your window manager with your gnome apps, including the pretty gnome-terminal (for those too lazy to learn xmoobar).

This config doesn't have the unity launcher, mainly becuse it causes windows to be unfloatable, besides I'm not fond of it anymore.

How

Copy and paste these lines (or understand what it does and do it manually).