Skip to content

Instantly share code, notes, and snippets.

@P-rgb-max
P-rgb-max / gh-top.py
Last active February 4, 2024 17:08
Shows last GitHub gists via API
#!/usr/bin/env python3
import requests as req
listUrl = 'https://api.github.com/gists/public'
rawGists = req.get(listUrl).json()[:30]
gists = {}
for gist in rawGists:
files = {}
@P-rgb-max
P-rgb-max / banner.py
Created February 2, 2024 17:29
Banner with my name and HackTheBox slogan
#!/usr/bin/env python3
welcome = '''
__ ____ ____ ____
/ \ || | | | |
\ || |--- | | |---
--\ || | | | |
\__/ || |--- \/ |___
'''
print(welcome)
@P-rgb-max
P-rgb-max / main.dart
Last active March 29, 2023 21:49
DartPad Embed example embed-dart
void main() {
for (int i = 0; i < 5; i++) {
print('hello ${i + 2}');
}
}