Skip to content

Instantly share code, notes, and snippets.

@dobsondev
dobsondev / .bash_profile
Last active July 23, 2019 14:42
My personal .bash_profile file on my Mac. It styles my bash prompt in a way I like and also adds some useful alias.
# ~/.bash_profile
[[ -s ~/.bashrc ]] && source ~/.bashrc
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
alias ls='ls -GFh'
alias ll='ls -l'
@astanin
astanin / rmtweets.py
Created November 13, 2012 16:31
Delete tweets older than X days.
#!/usr/bin/env python2
"""Delete tweets older than X days.
Usage:
rmtweets.py [at_least_days_old (default=365)]
"""
# Twitter gives access to only the last 3200 tweets, but if you delete
# more recent tweets, then after some time (a week? a month?) the