Skip to content

Instantly share code, notes, and snippets.

@Zulko
Zulko / makegifs.py
Last active December 27, 2022 18:16 — forked from luser/makegifs.py
Just indications on what you could do, @luser
#!/usr/bin/env python
# Taken from http://zulko.github.io/blog/2015/02/01/extracting-perfectly-looping-gifs-from-videos-with-python-and-moviepy/
import os
import sys
import moviepy.editor as mp
from moviepy.video.tools.cuts import FramesMatches
if len(sys.argv) != 2:
@Zulko
Zulko / analyze.py
Last active August 29, 2015 14:05 — forked from seanmckaybeck/analyze.py
'''
Rewrite with Twittcher ;)
Result (every 20 seconds):
>>> Most common words: [('ferguson', 41), ('http', 28), ('protests', 9),
('missouri', 9), ('leave', 8), ('continue', 8),...]
'''
import re
from collections import Counter
from twittcher import SearchWatcher