This file contains hidden or 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
| class Insensitive(dict): | |
| def __setitem__(self, key, value): | |
| super().__setitem__(key.lower(), value) | |
| def __getitem__(self, key): | |
| return super().__getitem__(key.lower()) | |
| def __delitem__(self, key): | |
| del self[key.lower()] |
This file contains hidden or 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
| setInterval(() => { | |
| let reward = document.querySelector('button.ScCoreButton-sc-1qn4ixc-0.ScCoreButtonSuccess-sc-1qn4ixc-5.ffyxRu.gjXDMG') | |
| if (reward !== null) { | |
| reward.click() | |
| } | |
| }, 15000) |
This file contains hidden or 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
| # Includes type casting. | |
| def parse(file: str, cast: list = [], headers: list = None, sep=';') -> list: | |
| csv_data = [] | |
| with open(file, 'r') as csv: | |
| split = csv.read().split('\n') | |
| headers = split[0].split(sep) if headers is None else headers | |
| start = 1 if headers is not None else 0 | |
| cast = [str for i in headers] if len(cast) == 0 else cast |
This file contains hidden or 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
| let chars = { | |
| "–": "-", | |
| "×": "*", | |
| "÷": "/" | |
| } | |
| function resolve(){ | |
| let op = document.querySelector('.qq').textContent; | |
| Object.keys(chars).forEach(function(key){ |
This file contains hidden or 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
| // Define all | |
| const date = new Date(); | |
| // Festivity Update | |
| if(date.getMonth() == 11){ | |
| document.title = `🎄${document.title}🎄` | |
| } else if(date.getMonth() == 9) { | |
| document.title = `🎃${document.title}🎃` | |
| } else if(date.getMonth() == 11 && date.getDay() == 30){ | |
| document.title = `🎉${document.title}🎉` |
This file contains hidden or 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 os | |
| import time | |
| import requests | |
| if not os.path.exists('images'): | |
| os.mkdir('images') | |
| user_agent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0' |
This file contains hidden or 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
| $uptime = Get-Uptime | |
| $os = Get-CimInstance -ClassName CIM_OperatingSystem | |
| $version = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "$env:username@$env:computername" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "Architecture $($operativeSystem.OSArchitecture)" | |
| Write-Host "###### ####### " -ForegroundColor Cyan -NoNewLine | |
| Write-Host "$($uptime.Days)d, $($uptime.Hours)h, $($uptime.Minutes)m" |
This file contains hidden or 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
| def bypass(mail: str, mode='normal') -> str: | |
| if mode == 'normal': | |
| mail = mail[::-1] | |
| mail = mail.replace('//', '@') | |
| mail = mail.replace('/', '.') | |
| return mail | |
| # moc/elpmaxe//oof -> normal mode |
This file contains hidden or 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
| let webhook_url = 'webhook'; | |
| let req = new XMLHttpRequest(); | |
| req.open('GET', 'https://api.db-ip.com/v2/free/self'); | |
| req.send(); | |
| req.onload = () => { | |
| webhook(JSON.parse(req.response)['ipAddress']) | |
| } | |
| function webhook(text) { |
This file contains hidden or 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
| def euler() -> Decimal: | |
| e = Decimal(0) | |
| f = 1 | |
| for n in range(2, 100_000): | |
| f *= n | |
| e += Decimal((1 / f)) | |
| return e + 2 |
OlderNewer