Skip to content

Instantly share code, notes, and snippets.

@gymgle
gymgle / get_dateencoded_exif.py
Created April 8, 2023 11:30 — forked from lclibardi/get_dateencoded_exif.py
Get Quicktime Media DateEncoded Exif data
'''
These are 5 different methods that attempt to retrieve the Quicktime property metadata "Media DateEncoded" from an 'mp4' file.
'''
import os
import re
import struct
import subprocess as sub
from datetime import datetime
from hachoir.parser import createParser
@gymgle
gymgle / ss-libev v2ray-plugin.md
Created February 14, 2023 14:19
ss-libev + v2ray-plugin + tls
@gymgle
gymgle / start_stop_memcached_script.sh
Created November 25, 2022 06:43 — forked from tinogomes/start_stop_memcached_script.sh
Script sample to start/stop for linux with nohup
#!/bin/bash
#
BASE=/tmp
PID=$BASE/app.pid
LOG=$BASE/app.log
ERROR=$BASE/app-error.log
PORT=11211
LISTEN_IP='0.0.0.0'
MEM_SIZE=4