Skip to content

Instantly share code, notes, and snippets.

View onurmatik's full-sized avatar

Onur Mat onurmatik

View GitHub Profile
@myles
myles / twitter_list_to_opml.py
Created June 28, 2011 16:24
A simple python script that creates an OPML file of a Twitter user's lists.
#!/usr/bin/env python
"""
A simple script that creates an OPML file of the RSS feeds to
a Twitter user's lists.
python twitter_list_to_opml.py mylesb
Copyright (c) 2010, Myles Braithwaite <me@mylesbraithwaite.com>
All rights reserved.
@metaist
metaist / bootstrap-vertical-grid.css
Created November 24, 2013 21:06
Bootstrap vertical grid. For laying out full-screen fixed height webapps.
.container-fixed {
bottom: 0;
position: fixed;
left: 0;
right: 0;
top: 0;
}
.container-fixed .col {
height: 100%;
@onurmatik
onurmatik / TwitterRestFetch.py
Last active December 25, 2015 12:57
Fetch tweets according to the given parameters
"""
This script fetches tweets according to the given criteria and saves them in a CSV file.
How to use it:
- Install the dependencies:
$ pip install twython unicodecsv
- Go to https://apps.twitter.com and create an application. Under the "Keys and Access Tokens" tab get your keys and insert them below.
@fdemmer
fdemmer / s3sqlite.py
Created October 20, 2017 18:16
Django SQLite database backend storing the db file on s3.
# -*- coding: utf-8 -*-
import logging
import os
from tempfile import gettempdir
import boto3
import botocore
from django.db.backends.sqlite3.base import DatabaseWrapper
log = logging.getLogger(__name__)