Skip to content

Instantly share code, notes, and snippets.

@getify
getify / gist:80c8c68276dbda50bfc7
Created August 11, 2014 14:59
articulate the differences in these two snippets. which one is "easier"? which one is "simpler"?
function XYZ() {
X();
}
function X() {
// do X
Y();
}
function Y() {
@dive
dive / skype_history.sh
Created January 29, 2012 20:08
open Skype DB with history and remove some items (Mac OS)
# shutdown Skype
# Skype username - it's a login at Skype
# Mac username - it's a short username of Mac OS X (ex.: dive)
# <...> should be entered without brackets <>
#copy this one, paste to Terminal.app and hit Enter
sqlite3 "$HOME/Library/Application Support/Skype/<your_skype_username>/main.db"
#then copy this one, paste to Terminal.app where sqlite3 running and hit Enter
delete from Messages where dialog_partner = '<delete_history_of_conversation_with_particurarly_username>';