This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BY ULTRAFUNKAMSTERDAM | |
# https://github.com/ultrafunkamsterdam | |
""" | |
███████ ██ ███ ███ ██████ ██ ███████ ███████ ████████ ██ ██ ███████ ███████ | |
██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | |
███████ ██ ██ ████ ██ ██████ ██ █████ ███████ ██ ██ ██ █████ █████ | |
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
_ _ ___ ___ ___ __ __ ___ | |
| || | |_ _| | _ ) | _ \ \ \ / / | \ | |
| __ | | | | _ \ | / \ V / | |) | | |
|_||_| |___| |___/ |_|_\ _|_|_ |___/ | |
_|"""""|_|"""""|_|"""""|_|"""""|_| """ |_|"""""| | |
`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-' | |
yes, that is intentionally wrong |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: | |
:: this script is adapted do personal preferences / installation paths / folders | |
:: if you want to use it, make sure to modify all variables to reflect your own installation paths | |
:: | |
:: required: | |
:: - Cuda Toolkit | |
:: - Cuda CUDNN (place folders in Cuda Toolkit installation directory by hand, overwrite/merge directories with same name) | |
:: - cmake | |
:: - visual studio (with c++ enabled) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
APPNAME=$1 | |
# nohup needs a writable folder | |
cd /sdcard | |
# start $APPNAME after 5 seconds | |
# redirect ouputs to not block |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
REGEX_URL = re.compile(r"(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'\".,<>?«»“”‘’]))") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This work is part of research and development of the undetected-chromedriver | |
// https://github.com/UltrafunkAmsterdam/undetected-chromedriver | |
// in automation controlled browsers, doing the below evaluates c always to 0 | |
// while the same on a regular browser causes c to always be non 0, albeight small ( ~ 0.0000497656 ) values, but not 0 | |
// | |
// var a = performance.now() / 1000, | |
// b = performance.now() / 1000 , | |
// c = b - a; | |
// console.log(c); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# accessible by dot ( instance.item ) notation or instance['item'] notation | |
# recursive dict object | |
# json serializable | |
# "pretty print" as stack | |
# i wouln't really recommend using this in production | |
class rdict(dict): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
re_html = re.compile('(?smi)(\<(?P<starttag>.*?)\>(?P<content>.*?)\<\/(?P<endtag>.*?)\>)') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/mig_ibm_notes"> | |
<_locDefinition> | |
<_locDefault _loc="locNone"/> | |
<_locTag _loc="locData">displayName</_locTag> | |
</_locDefinition> | |
<component type="System" context="User"> | |
<displayName _locID="miguser.Notes">IBM Notes</displayName> | |
<paths> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function BlockchainRealtime(callback){ | |
/** | |
* Opens a stream which subscribes to receive new unconfirmed transactions | |
* on the blockchain | |
* @param {function} callback which accepts a object of the form {input: array: output: array} | |
* @returns {function} return value of this function is a function, which will stop the stream if called. | |
*/ |