Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 json | |
from datetime import datetime as dt | |
import requests | |
import re | |
y = input("YEAR: ") | |
cookie = {'session': "YOUR SESSION COOKIE HERE (it's valid for 30 days)"} | |
homepage = requests.get('https://adventofcode.com/'+y+'/leaderboard/private', cookies=cookie) | |
for id in re.compile(r"(?<=\/"+y+r"\/leaderboard\/private\/view\/)(\d+)").findall(homepage.content.decode()): | |
print("\n"*5) | |
data = json.loads(requests.get('https://adventofcode.com/'+y+'/leaderboard/private/view/'+id+'.json', cookies=cookie).content) |
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
Dim objShell, strPath1, strAttr1 | |
Set objShell = CreateObject ("WScript.Shell") | |
strPath1 = """C:\Program Files (x86)\Mozilla Firefox\firefox.exe""" | |
strAttr1 = "-P default geekprank.com/win10-update/" | |
objShell.Run strPath1 & strAttr1 | |
WScript.sleep 1500 | |
objshell.sendkeys "{F11}" |
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
Set WshShell = WScript.CreateObject("WScript.Shell") | |
strName = wshShell.ExpandEnvironmentStrings( "%USERNAME%" ) | |
'If you find a Windows PC with user logged in, place this file in folder | |
' C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ (may vary with PC language) | |
' and run for first time to disable security check and Firefox default browser check | |
WScript.sleep 5000 | |
msgbox "Critical: Your system is severely affected by multiple threats.. All processes are being aborted..." | |
msgbox "Sytem failure in %WINDIR%" |
NewerOlder