Skip to content

Instantly share code, notes, and snippets.

Cris Hernandez crishernandezmaps

View GitHub Profile
@crishernandezmaps
crishernandezmaps / tweetables.py
Created Mar 9, 2017 — forked from hugovk/tweetables.py
Split a text into sentences shorter than 140 characters.
View tweetables.py
#!/usr/bin/env python
# encoding: utf-8
"""
Split a text into sentences shorter than 140 characters.
You'll need to first install TextBlob by running:
pip install -U textblob
Then stick your text into the text bit below and run this script:
python tweetables.py
@crishernandezmaps
crishernandezmaps / tweet_dumper.py
Created Feb 7, 2017 — forked from yanofsky/tweet_dumper.py
A script to download all of a user's tweets into a csv
View tweet_dumper.py
#!/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 = ""
View twitter_collect.js
#!/usr/bin/env node
var OAuth = require('oauth').OAuth;
var colors = require('colors');
var access_token = null;
var access_token_secret = null;
var key = null;
var secret = null;
@crishernandezmaps
crishernandezmaps / dabblet.css
Created Oct 31, 2013
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
#hola {
background:#000;
You can’t perform that action at this time.