Skip to content

Instantly share code, notes, and snippets.

aidin36 /
Last active July 18, 2020 14:16
Renames JPEG files to the date and time it's taken.
# This work is published under CC0 (
# To the extent possible under law, Aidin Gharibnavaz ( has waived
# all copyright and related or neighboring rights to this work.
import sys
import os
import exifread
except ImportError:
aidin36 /
Created August 30, 2018 04:21
A script to garbage collect all git directories inside the corrent directory. i.e. clean up your workspace.
set -e
for p in `find . -name .git -print`; do cd $(dirname $p);git gc;cd $CURRENT_PATH; done
aidin36 /
Created June 28, 2016 15:51

Keybase proof

I hereby claim:

  • I am aidin36 on github.
  • I am aidin36 ( on keybase.
  • I have a public key ASD9Ga5Wdo8KzSH9ao2-G3gXhVaBHVzvcrEJkjOUI56Y6Ao

To claim this, I am signing this object:

aidin36 / uncheck-google-trust.js
Created April 19, 2016 16:42
A Greasemonkey script to tell Google I don't want to trust every machine.
View uncheck-google-trust.js
// ==UserScript==
// @name Uncheck Google's Stay Singin
// @description This will uncheck both `Stay Signin' on password page, and `Never ask on this computer again' on challange (Second Step Verification Code) page.
// @namespace com.aidinhut
// @include*
// @include*
// @version 1
// @grant none
// ==/UserScript==