Skip to content

Instantly share code, notes, and snippets.

View blackvvine's full-sized avatar
🦄

Iman Akbari blackvvine

🦄
View GitHub Profile
@Krever
Krever / _README.md
Last active March 9, 2024 16:21
Yabai setup for i3wm users
Internet health:
ISC: http://www.isc.org
NetCraft: http://news.netcraft.com/
US-CERT: http://www.US-Cert.gov
General technology and security trends:
@Manouchehri
Manouchehri / rfc3161.txt
Last active May 26, 2024 01:30
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@yangshun
yangshun / python-sort-stability.py
Last active July 11, 2023 22:33
Sort then reverse vs Sort(reverse=True)
# We want to sort a list by its second element in descending order.
# The example illustrates the difference in the results of different
# process of sorting in descending order.
# Sort in ascending order, then use list reverse
>>> a = [('A', 1), ('C', 5), ('A', 2), ('B', 3), ('B', 5)]
>>> a.sort(key=lambda x: x[1])
>>> print(a)
[('A', 1), ('A', 2), ('B', 3), ('C', 5), ('B', 5)]
>>> a.reverse()