

11·
2 months agoWhy not just write your YAML files in JSON syntax?
JSON is a valid subset of YAML
Why not just write your YAML files in JSON syntax?
JSON is a valid subset of YAML
https://www.comaps.app/ is a community led fork of Organic Maps, which was made as a response to the controversy.
The right tool for the right job ¯\(ツ)/¯
Unittest in Python, enjoy! If you pass it with a function like the one in OPs picture, you have earned it.
import unittest
import random
class TestOddEven(unittest.TestCase):
def test_is_odd(self):
for _ in range(100):
num = random.randint(-2**63, 2**63 - 1)
odd_num = num | 1
even_num = num >> 1 << 1
self.assertTrue(is_odd(odd_num))
self.assertFalse(is_odd(even_num))
def test_is_even(self):
for _ in range(100):
num = random.randint(-2**63, 2**63 - 1)
odd_num = num | 1
even_num = num >> 1 << 1
self.assertTrue(is_even(even_num))
self.assertFalse(is_even(odd_num))
if __name__ == '__main__':
unittest.main()
These DDOS for hire services make use of hacked machines as botnets to perform the DDOS attacks.
So while the people paying for the service didn’t hack anything, the people performing the DDOS certainly did.
Enjoy: https://youtu.be/Zh4ze5bWLcI
Also most more recent videos by this guy: https://youtube.com/@foldingideas