Skip to content

Instantly share code, notes, and snippets.

View emcek's full-sized avatar

Michal Plichta emcek

View GitHub Profile
@emcek
emcek / tmerge
Last active August 29, 2015 14:10
tmerge
#!/bin/bash
MEMSIZE=$1
mounted=false
RC=1
PRETEND=0
WORLD=0
. /etc/portage/make.conf
. /etc/init.d/functions.sh

Moved

Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.

Why it was moved

Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!

@r35krag0th
r35krag0th / Get-TLS-Fingerprint.sh
Created November 30, 2012 02:10
Get Pandora TLS Fingerprint
#!/bin/bash
##
## A simple little shell script that will return the current
## fingerprint on the SSL certificate. It's crude but works :D
##
## Author: Bob Saska (r35krag0th) <git@r35.net>
openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | \
openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2