I hereby claim:
- I am chrisnicholas on github.
- I am chrisnicholas (https://keybase.io/chrisnicholas) on keybase.
- I have a public key ASAaAnqx9DTIC2nUjD38RUKv0Htq5PSUj-e9Hs0Q-FSgCAo
To claim this, I am signing this object:
#!/usr/bin/env python3.7 | |
import subprocess | |
import json | |
if __name__ == "__main__": | |
stdout = subprocess.run(["pip", "list", "--format=json"], capture_output=True).stdout | |
json_out = json.loads(stdout) | |
for app_name in json_out: |
#!/usr/bin/env python3.7 | |
import subprocess | |
import json | |
if __name__ == "__main__": | |
stdout = subprocess.run(["pip", "list", "--format=json"], capture_output=True).stdout | |
json_out = json.loads(stdout) | |
for app_name in json_out: |
import requests | |
# This may change, who knows. | |
API_URL = "https://loripsum.net/api/" | |
class GetIpsum: | |
""" | |
Generate dummy text from loripsum.net | |
ALL API OPTIONS - Specify in any order |
# ******************************************************************** | |
# Invite Code -- https://www.hackthebox.eu | |
# | |
# Obviously this is a SPOILER and not in the spirit of the game. | |
# | |
# It is also a bit incomplete as the code does not explain *how* to get | |
# the API URL. | |
# | |
# However, this is the solution I came up with to automate | |
# the process after finding the API URL. |
I hereby claim:
To claim this, I am signing this object:
from __future__ import division | |
from sys import argv | |
def quaverHz(argv): | |
'''Takes a beat subdivision and tempo and returns that subdivision's duration in ms and Hz''' | |
script, tempo, subdiv = argv | |
tempo = int(tempo) | |
subdiv = str(subdiv.upper()) | |
whole_note = 240.00 |