Skip to content

Instantly share code, notes, and snippets.

View krry's full-sized avatar
🐻
busybear

kerry krry

🐻
busybear
View GitHub Profile
@krry
krry / tweet_dumper.py
Created January 23, 2017 22:45 — forked from Kaorw/History\-11bc708b\entries.json
There is no exception for error (ex. incorrect ID, Not public, etc.), please check all ID before run the code
# Grap multiple user's user_timeline from twitter API and save to Excel
# Code will be save user's tweet ID, created Time, Coordinates-x, Coordinates-y, source, text. Can be modified at line 48 and so on
# Original code from https://gist.github.com/yanofsky/5436496 "A script to download all of a user's tweets into a csv"
import xlsxwriter
import tweepy
#https://github.com/tweepy/tweepy
consumer_key = "Your_consumer_key"
/* Random Boolean */
var randomNumber = Math.random() >= 0.5;
console.log(randomNumber);
@krry
krry / config.json
Created July 31, 2014 01:13 — forked from anonymous/config.json
SolarCity-branded Bootstrap configuration
{
"vars": {
"@gray-darker": "#333333",
"@gray-dark": "#5f5f5f",
"@gray": "#808080",
"@gray-light": "#d9d9d9",
"@gray-lighter": "#e6e6e6",
"@brand-primary": "#008752",
"@brand-success": "#13ab4a",
"@brand-info": "#59b0e0",
@krry
krry / os-x-for-hackers
Last active January 15, 2021 05:54 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers mods
# to run this script in one step, copy/paste/execute the following:
# bash <(curl -s https://gist.githubusercontent.com/krry/9263570/raw/878797c4e54f9de71137699544567c6bd2d4f6c4/os-x-for-hackers)
#!/usr/bin/env bash
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
sudo -v