![]() |
![]() |
![]() |
![]() |
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
| #!/bin/bash | |
| set -e | |
| cd | |
| wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.71/AdGuardHome_linux_arm64.tar.gz | |
| tar -xvf AdGuardHome_linux_arm64.tar.gz | |
| cd AdGuardHome/ | |
| sudo ./AdGuardHome -s install | |
| ./AdGuardHome -s status | |
| echo "visit http://$(hostname -I | xargs -n 1) for configuration" |
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
| """ | |
| Demonstration of attribute access behavior with decorators | |
| """ | |
| from typing import Any, Callable | |
| import functools | |
| """ | |
| Decorators are used to 'decorate' callables and either extend or alter behavior. |
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
| """ | |
| Demonstrates method editing in runtime | |
| """ | |
| from pprint import pprint | |
| import traceback | |
| class SomeClass: | |
| """SomeDocstring""" |
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_name Logging extends Node | |
| ## Colorful (World) Logger | |
| ## | |
| ## Example usage: `static _LOGGER := Logging.get_logger("SomeName")` | |
| ## | |
| ## Recommended one static logger per script - reusing is supported tho (and untested). | |
| ## | |
| ## Since there's no file logging just pipe it to file (`bla >> log.txt`). | |
| ## | |
| ## :Author: jupiterbjy@gmail.com |
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
| """ | |
| Dumb probably unsafe async API server, purely made of included batteries. | |
| :Author: jupiterbjy@gmail.com | |
| """ | |
| import asyncio | |
| from urllib.parse import unquote | |
| from pprint import pprint | |
| from collections.abc import Callable, Awaitable |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>PyVNLauncher Main</title> | |
| <style> | |
| .grid-container { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
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
| """ | |
| Dumb probably unsafe async HTTP server, purely made of included batteries. | |
| :Author: jupiterbjy@gmail.com | |
| """ | |
| import asyncio | |
| import pathlib | |
| from pprint import pprint | |
| from typing import Iterator |
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
| """ | |
| Dumb code to test which file names are invalid in prehistoric method - brute forcing. | |
| :Author: jupiterbjy@gmail.com | |
| """ | |
| import json | |
| import pathlib | |
| from tempfile import TemporaryDirectory |
Source: blue_agate from reddit
reagentc /disable
diskpart
select disk 0
list partCheck the recovery partition (which my case is 4) and select it & remove it
NewerOlder



