Skip to content

Instantly share code, notes, and snippets.

southrop /
Created Aug 20, 2018 — forked from lachesis/
Set up LetsEncrypt using without root
# How to use "" to set up Lets Encrypt without root permissions
# See for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "" as an example
# When this is done, there will be an "acme" user that handles issuing,
# updating, and installing certificates. This account will have the following
# (fairly minimal) permissions:
# - Host files at




southrop / grabluecoin.js
Created Oct 31, 2017
View grabluecoin.js
function check(context, page) {
$ = context.$;
if ($("#more") != null) {
context.loadList('_vca_hist?app=12016007&p=' + ++page, document.getElementById('list'));
console.log('loaded page ' + page);
setTimeout(check.bind(context, context, page), 200);
} else {
var count = 0;
southrop / crossfade.txt
Created Jul 6, 2017
cross fading between two videos
View crossfade.txt
ffmpeg -i 5stars1.mp4 -i 5stars2.mp4 -an \
-filter_complex \
" [0:v]trim=start=0:end=33,setpts=PTS-STARTPTS[firstclip];
southrop / handbrakecli.txt
Created May 5, 2017
Because the Handbrake website is not up to date
View handbrakecli.txt
Syntax: HandBrakeCLI [options] -i <device> -o <file>
### General Handbrake Options------------------------------------------------
-h, --help Print help
-u, --update Check for updates and exit
-v, --verbose <#> Be verbose (optional argument: logging level)
-Z. --preset <string> Use a built-in preset. Capitalization matters, and
if the preset name has spaces, surround it with
double quotation marks
southrop / moca.js
Created Dec 27, 2016
Bookmarklet to open moca news images
View moca.js
javascript:(function(){document.location = document.getElementById('image_cvs').toDataURL('image/png')}());
southrop /
Created Dec 2, 2016
Play Blu-Ray Videos in VLC on Windows
  1. Install VLC and MakeMKV
  2. Go to the MakeMKV installation directory (usually C:\Program Files (x86)\MakeMKV) and copy libmmbd.dll to the VLC installation directory (usually C:\Program Files\VideoLAN\VLC) twice
  3. Rename one of these copies to libaacs.dll and the other to libbdplus.dll
  4. Open MakeMKV and activate evaluation mode. Alternatively, insert the beta key.
  5. You should be able to play BDs in VLC using the Media > Open Disc... function.
southrop /
Last active Mar 9, 2017
List of datasets for training facial recognition
Dataset Identities Images Availability
Labeled Faces in the Wild (LFW) 5,749 13,233 Link
YouTube Faces Database (YFD) 1,595 3,425 videos Link
CelebFaces Attributes (CelebA) 10,177 202,599 Link
Public Figures Face Database (PubFig) 200 58,797 Link
CASIA WebFace Database (CASIA-WebFace) 10,575 494,414 Link
FaceScrub 530 106,863 Link
Cross-Age Celebrity Dataset (CACD) 2,000 163,446 Link
MegaFace Training Set 672,057 4,753,520 Link
southrop /
Created Oct 12, 2016 — forked from matchy2/ / で録音したmp3ファイルをパラメータに渡すと GoogleMusic にアップロードしてファイル名から日付をカットしたプレイリストに整理するスクリプト。要 。Google ID とパスワードは自分のものに書き換えること
#!/usr/bin/env python
from gmusicapi import Musicmanager
from gmusicapi import Mobileclient
import sys
import os.path
params = sys.argv