Skip to content

Instantly share code, notes, and snippets.

@mkazin
mkazin / pull_logs.bat
Last active July 17, 2016 18:04
Pulling files from Android
REM pull_logs.sh v.0.3
REM author: Michael J. Kazin - https://github.com/mkazin
@echo off
if "%~1"=="" (
echo Target log folder not specified!
echo Usage: %0 [log_folder]
goto BAIL
)
SET logname=%1
@rock3r
rock3r / giffify.py
Last active January 14, 2022 09:00
Giffify - easily create optimised GIFs from a video
#!/usr/bin/python
# License for any modification to the original (linked below):
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# Sebastiano Poggi and Daniele Conti wrote this file. As long as you retain
# this notice you can do whatever you want with this stuff. If we meet some day,
# and you think this stuff is worth it, you can buy us a beer in return.
import argparse, sys, subprocess, tempfile