Skip to content

Instantly share code, notes, and snippets.

View projectweekend's full-sized avatar

Brian Hines projectweekend

View GitHub Profile
@foresmac
foresmac / get_instagram_tag.py
Last active December 28, 2021 08:09
Download a particular hashtag from InstagramThis script will download all the images with a particular hashtag from Instagram. It's not very clever, and will try to suck down every image it can find; if you use a particularly popular tag, it will take a **long time** to run. Simply run it from the command line like so:`./get_instagram_tag.py <ta…
#! /usr/bin/python
## get_instagram_tag
## by Chris Foresman
## @foresmac
##
## Instagram API: http://instagram.com/developer/
## Requires the requests Python library
## (sudo) pip install requests
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active June 18, 2024 18:27
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh