Skip to content

Instantly share code, notes, and snippets.

View myousefi62's full-sized avatar
🌴
On vacation

mohammad myousefi62

🌴
On vacation
View GitHub Profile
@myousefi62
myousefi62 / .gitmessage
Last active December 4, 2020 13:57
نحوه نوشتن توضیحات Commit در git به شکل استاندارد
# Hey there o/!
# We just wanted to let you know that we care a great deal about
# making our git history clean, maintainable and easy to access for
# all our contributors. Commit messages are very important to us,
# which is why we have a strict commit message policy in place.
# Please use the following guidelines to format all your commit
# messages:
#
# <type>(<scope>): <subject>
# <BLANK LINE>
@myousefi62
myousefi62 / srt_to_txt.py
Created September 14, 2018 06:26 — forked from ndunn219/srt_to_txt.py
Simple Python Script for Extracting Text from an SRT File
"""
Creates readable text file from SRT file.
"""
import re, sys
def is_time_stamp(l):
if l[:2].isnumeric() and l[2] == ':':
return True
return False
@myousefi62
myousefi62 / torhasher.py
Created August 10, 2018 12:00 — forked from james-see/torhasher.py
create a hashed password for control port setting in torrc HashedControlPassword line easily with this
import os, binascii, hashlib
#supply password
secret = 'your password here you want to use' # all you need to change!
#static 'count' value later referenced as "c"
indicator = chr(96)
#used to generate salt
rng = os.urandom
@myousefi62
myousefi62 / TorNoAuth.md
Created August 10, 2018 11:32 — forked from DusanMadar/TorNoAuth.md
A step-by-step guide how to use Tor without Authentication