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
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="theme.css"> | |
</head> | |
<body> | |
<div> | |
<div class="img-circular" id ="inner"></div> | |
</div> | |
</body> |
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
'''http://bitsnoop.com/trackers/ has a list of active trackers so made a quick dirty regex to extract only the tracker names in order to quickly paste said tracker names to utorrent/deluge | |
regex is "(http|udp):\/\/[\d|\D]+?\s+([^a-z\/^\d]?)?" for easy copy/paste ''' | |
import re | |
regex = re.compile("(http|udp):\/\/[\d|\D]+?\s+([^a-z\/^\d]?)?") | |
with open("trackers.txt") as f: | |
for line in f: | |
result=regex.search(line) | |
if result is not None: |
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
# Creates profile if doesn't exist then opens editor,wait a beat | |
if (!(Test-Path -Path $PROFILE)){ New-Item -Path $PROFILE -ItemType File } ; ise $PROFILE | |
************************************************************************************************ | |
************************************************************************************************ | |
# this goes inside the profile, save it and then open a new power shell window to see results | |
#create ascii art block | |
$block = @" |