Skip to content

Instantly share code, notes, and snippets.

View MTRNord's full-sized avatar
🏠
Working from home

Marcel MTRNord

🏠
Working from home
View GitHub Profile
@MTRNord
MTRNord / tweet_dumper.py
Last active December 24, 2016 12:50 — 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 = ""
import requests
import json
import re
import argparse
import random
import m3u8
USHER_API = 'http://usher.twitch.tv/api/channel/hls/{channel}.m3u8?player=twitchweb' +\
'&token={token}&sig={sig}&$allow_audio_only=true&allow_source=true' + \
'&type=any&p={random}'
@MTRNord
MTRNord / README
Last active June 12, 2016 09:19 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
YOU NEED TO HAVE INSTALLED THE RASPBERRY PI TOOLCHAIN!
https://www.raspberrypi.org/documentation/linux/kernel/building.md
RUN AS ROOT
@MTRNord
MTRNord / build_nginx.sh
Last active August 5, 2016 21:19 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.32
export VERSION_OPENSSL=openssl-1.0.2h
export VERSION_NGINX=nginx-1.11.3
# URLs to the source directories
export SOURCE_OPENSSL=https://www.openssl.org/source/
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/