Skip to content

Instantly share code, notes, and snippets.

View skyl's full-sized avatar

Skylar Saveland skyl

View GitHub Profile
@skyl
skyl / unfollow.py
Created October 3, 2014 18:30
Selectively unfollow people who don't follow you on twitter with gruesome and gory confirmation
import time
import sys
import tweepy
consumer_key = ""
consumer_secret = ""
key = ""
secret = ""
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
@skyl
skyl / install.rb
Last active October 28, 2024 14:17
Homebrew without sudo
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
# SET YOUR_HOME TO THE ABSOLUTE PATH OF YOUR HOME DIRECTORY
# chmod +x install.rb
# ./install.rb
YOUR_HOME = ''
HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local"
HOMEBREW_CACHE = '/Library/Caches/Homebrew'
HOMEBREW_REPO = 'https://github.com/Homebrew/homebrew'
@skyl
skyl / django_hasher.py
Last active February 25, 2022 06:01 — forked from steve-chavez/django_hasher.py
Use django hasher to make password
# you have to have a django project to do it this way
# You can run this in a `./manage.py shell`
from django.contrib.auth.hashers import make_password
make_password("youreverysecuresuperpass")
# this will output something that looks like this:
# 'pbkdf2_sha256$260000$rgjSFB3xwsxkfcL1iE8wq6$bDtiRY0+gtE4ahFdfDeHwy0tzLb8McDRnppS8kD8QJs='
# by default in Django 4.0

You can find the complete source of this zPage here


Free2Z Markdown Syntax

Free2Z-flavored markdown (F2ZM) is a superset of Github-flavored markdown which is a superset of basic markdown. F2ZM is a powerful way to write and express ideas with videos, images, tables, footnotes, math equations, code samples, links, typography, and such.

Embeds