Skip to content

Instantly share code, notes, and snippets.

Jouni Järvinen rautamiekka

Block or report user

Report or block rautamiekka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rautamiekka / IPv4 universal complete RegEx with options.txt
Created Jul 25, 2017
IPv4 universal complete RegEx with options
View IPv4 universal complete RegEx with options.txt
NOTE: Each RegEx is a single line and Java users, for example, need to mind Java's additional requirements (such as escaping escape characters), otherwise they should work in every RegEx flavor.
This code ain't my work originally, I modified it.
No support to get the individual sections:
View metadata.htm
<div class="metadata">
<a href="">Memories of a Warlord</a>
<p class="mavatar">
<a target="_self" href=""><img class="avatar" src="" alt=":iconevil-m:" title="Evil-M"></a>
rautamiekka /
Created Nov 13, 2016
Calculate difference in percentage between 2 hex colors
This function is a direct Python 2.7+ translation of
Will exit if executed without importing.
if __name__ == '__main__':
from sys import exit as sysexit
You can’t perform that action at this time.