Skip to content

Instantly share code, notes, and snippets.

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active July 22, 2024 10:23 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@neilhwatson
neilhwatson / web-servers.md
Created October 31, 2016 20:14 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@phracker
phracker / opentracker-tester.rb
Last active November 18, 2016 15:08 — forked from andresperezl/trackers-resolvs.rb
Given a list of trackers, this script will eliminate duplicates and unreachables.
#!/usr/bin/env ruby
require 'uri'
require 'resolv'
require 'optparse'
require 'net/http'
require 'socket'
require 'uri'
require 'timeout'
@Mirabis
Mirabis / build_ffmpeg.sh
Last active December 3, 2016 14:44
Auto-Compile ffmpeg for Linux
#!/bin/sh
# http://www.github.com/markus-perl (original)
# Version 0.2
CWD=`pwd`
PACKAGES="$CWD/packages"
WORKSPACE="$CWD/workspace"
CC=clang
LDFLAGS="-L${WORKSPACE}/lib -lm"
@steventrux
steventrux / Chromecast batch conversion script
Last active May 27, 2021 22:56
A bash script to batch convert video files for chromecast compatibility
#! /bin/bash
# Batch Convert Script by StevenTrux
# The Purpose of this Script is to batch convert any video file to mp4 or mkv format for chromecast compatibility
# this script only convert necessary tracks if the video is already
# in H.264 format it won't convert it saving your time!
# Put all video files need to be converted in a folder!
# the name of files must not have " " Space!
# Rename the File if contain space
@willurd
willurd / web-servers.md
Last active July 22, 2024 15:25
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000