Skip to content

Instantly share code, notes, and snippets.

@sadrux
sadrux / strip_comments.py
Created May 18, 2019 03:41 — forked from amerberg/strip_comments.py
A script to remove comments from LaTeX source
import ply.lex, argparse, io
#Usage
# python stripcomments.py input.tex > output.tex
# python stripcomments.py input.tex -e encoding > output.tex
#This utility is released under the WTFPL license: http://www.wtfpl.net/about/
def strip_comments(source):
tokens = (
@sadrux
sadrux / my gists - autohotkey.md
Created January 7, 2019 01:44 — forked from db93n2/my gists - autohotkey.md
my autohotkey gists
name description version
change case change the case of selected text
dynaclip basic web clipper for dynalist.io
file properties open properties for the selected file 1.1
google time range 🔎 switch between the various time ranges (hour, day, week, month, year)
goto open folder 📂 show a list of open folders when youre at a "save as" or "open" dialog 1.3
lightshot+ various improvements for the lightshot screenshot app 0.4.3
[linker](h
@sadrux
sadrux / PairingLibs.md
Created December 25, 2018 11:37 — forked from artjomb/PairingLibs.md
List of Pairing Libraries

Pairings can be used for all kinds of advanced cryptographic schemes such as Encryption (Identity-based, Attribute-based, Predicate-based, etc.), Signatures, Zero-Knowledge Proofs, etc. It is in no particular order.

Provides multiple types of Elliptic Curve groups with appropriate pairings on top of them. Code repository resides here.

License: LGPL
Language: C
Thesis: On the Implementation of Pairing-Based Cryptography by Ben Lynn (2007)