Skip to content

Instantly share code, notes, and snippets.

@doza
doza / gist:3dc5268a34dc0f795f5a1240d37eae5f
Created April 3, 2018 16:38
Select a random line from a file and have the computer say it out loud
# Select a random line from a file and have the computer say it out loud
head -$((${RANDOM} % `wc -l < responses.txt` + 1)) responses.txt | tail -1 | say
@doza
doza / tweet_dumper.py
Created December 23, 2016 04:01 — forked from yanofsky/LICENSE
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import tweepy #https://github.com/tweepy/tweepy
import csv
#Twitter API credentials
consumer_key = ""
consumer_secret = ""
access_key = ""
@doza
doza / snow.bat
Created December 22, 2016 18:34
Windows batch file to make it snow in a cmd terminal because why not?
@echo off
setlocal EnableDelayedExpansion
mode con: cols=80 lines=40
set "SCREEN="
for /L %%i in (1,1,3200) do (
set "SCREEN=!SCREEN! "
)
echo.*%SCREEN%

Keybase proof

I hereby claim:

  • I am doza on github.
  • I am doza (https://keybase.io/doza) on keybase.
  • I have a public key whose fingerprint is A096 38E4 16B5 3D3F 7A25 134D 4425 C04F 8DC3 2E28

To claim this, I am signing this object: