Skip to content

Instantly share code, notes, and snippets.


Cris Hernandez crishernandezmaps

View GitHub Profile
View down_video
#!/usr/bin/env python3
import pandas as pd
import sys
import os, glob
import wget
file_with_links = sys.argv[1]
def to_extract(file_with_links=file_with_links):
cols = ['user','timeStamp','media','hashtag']
View twitter_video_collector
#!/usr/bin/env python3
import tweepy
from config import *
import csv
import unidecode
import time
import datetime
from datetime import timedelta
from timeloop import Timeloop
import bs4 as bs
crishernandezmaps / media-query.css
Created May 18, 2019 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
crishernandezmaps /
Created Mar 9, 2017 — forked from hugovk/
Split a text into sentences shorter than 140 characters.
#!/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:
crishernandezmaps /
Created Feb 7, 2017 — forked from yanofsky/
A script to download all of a user's tweets into a csv
#!/usr/bin/env python
# encoding: utf-8
import 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 / 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 {
You can’t perform that action at this time.