Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Daro adaro

  • Los Angeles, CA
View GitHub Profile
@paulallies
paulallies / gist:0052fab554b14bbfa3ef
Last active September 1, 2023 21:32
Remove node_modules from git repo
View gist:0052fab554b14bbfa3ef
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin <branch-name>
@davej
davej / delete_all_tweets.py
Last active September 21, 2023 23:30
This script will delete all of the tweets in a specified account.
View delete_all_tweets.py
# -*- coding: utf-8 -*-
"""
This script will delete all of the tweets in the specified account.
You may need to hit the "more" button on the bottom of your twitter profile
page every now and then as the script runs, this is due to a bug in twitter.
You will need to get a consumer key and consumer secret token to use this
script, you can do so by registering a twitter application at https://dev.twitter.com/apps
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1)