Instantly share code, notes, and snippets.

What would you like to do?
Music For Hackers
Music For Hackers
To a hacker, there's something distracting about booting up a GUI to listen to your tunes. You live your life in the terminal, you treat the mouse like a high voltage tap.
So give these commands a run in the terminal, and toss on your headphones.
sudo apt-get install mplayer
echo "alias defcon-start='nohup mplayer > /dev/null 1>&2 &'" >> ~/.bashrc
echo "alias defcon-stop='killall -9 mplayer'" >> ~/.bashrc
source ~/.bashrc
Now you can start and stop DefCon Radio with `defcon-start` and `defcon-stop`.
DefCon Radio is brought to you by [SomaFM]( If you like what you hear, [please donate](
If you'd like to switch up the station, SomaFM has a wide range of different genres, all underground! Just swap the stream URL into the second echo command above. **Groove Salad**: A nicely chilled plate of ambient/downtempo beats and grooves. **Drone Zone**: Served best chilled, safe with most medications. Atmospheric textures with minimal beats. **Space Station Soma**: Tune in, turn on, space out. Spaced-out ambient and mid-tempo electronica. **Indie Pop Rocks!**: New and classic favorite indie pop tracks. **Christmas Lounge**: Chilled holiday grooves and classic winter lounge tracks. (Kid and Parent safe!) **Secret Agent**: The soundtrack for your stylish, mysterious, dangerous life. For Spies and PIs too! **Lush**: Sensuous and mellow vocals, mostly female, with an electronic influence. **Underground 80s**: Early 80s UK Synthpop and a bit of New Wave. **Beat Blender**: A late night blend of deep-house and downtempo chill. **Boot Liquor**: Americana Roots music for Cowhands, Cowpokes and Cowtippers **PopTron**: Electropop and indie dance rock with sparkle and pop. **Suburbs of Goa**: Desi-influenced Asian world beats and beyond. **Sonic Universe**: Transcending the world of jazz with eclectic, avant-garde takes on tradition. **Deep Space One**: Deep ambient electronic, experimental and space music. A soundtrack for inner and outer space exploration. **Illinois Street Lounge**: Classic bachelor pad, playful exotica and vintage music of tomorrow. **The Trip**: Progressive house / trance. Tip top tunes. **cliqhop idm**: Blips'n'beeps backed mostly w/beats. Intelligent Dance Music. **Dub Step Beyond**: Dubstep, Dub and Deep Bass. May damage speakers at high volume. **BAGeL Radio**: What alternative rock radio should sound like. **Xmas in Frisko**: SomaFM's wacky and eclectic holiday mix. Not for the easily offended. **Digitalis**: Digitally affected analog rock to calm the agitated heart. **Folk Forward**: Indie Folk, Alt-folk and the occasional folk classics. **DEF CON Radio**: Music for Hacking. From DEF CON 21 in Las Vegas. **Christmas Rocks**!: Have your self an indie/alternative holiday season! **Doomed**: Dark industrial/ambient music for tortured souls. **Black Rock FM**: From the Playa to the world, for the 2013 Burning Man festival. **Covers**: Just covers. Songs you know by artists you don't. We've got you covered. **SF 10-33**: Ambient music mixed with the sounds of San Francisco public safety radio traffic. **Earwaves**: Spanning the history of electronic and experimental music from the early pioneers to the latest innovators. **Iceland Airwaves**: Music from bands who will be performing at Iceland Airwaves [explicit]
Maybe you could fork [this Gist]( and pass a station as a parameter. Enjoy.

This comment has been minimized.

MarxBro commented Sep 16, 2015

Nice, I had some bash aliases for somafm radios; just saw this gist, made this :


This comment has been minimized.

arturmamedov commented May 17, 2016

And for electro music lovers i suggest this resource:


This comment has been minimized.

canrosss commented May 31, 2017

Thanks, recently has found this repo because take time to think and put music in youtube is distraction and waste of time, breaking my concentration loop.

So soma radio stations have cool music i like especially the Defcon and others. I hope make some to contribute maybe a cool script to play this stations. Anyway thanks for help to meet this radios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment