I hereby claim:
- I am kivs on github.
- I am mr_sir (https://keybase.io/mr_sir) on keybase.
- I have a public key ASAWG8nAB5RZ053xkheoJpu_jfS8h9q9zweTqHTtmLLsLwo
To claim this, I am signing this object:
#! /usr/bin/env -S deno run --allow-run --allow-read --allow-write | |
/** | |
* | |
* Promotes a draft article to a published article. | |
* | |
* select the article to promote(or use the last one modified by default), | |
* we then remove the draft suffix out of file and title | |
* | |
*/ |
#!/usr/bin/env -S deno run --allow-run | |
/** | |
* | |
* Creates a new draft article. | |
* @input title - The title of the article | |
* | |
* The title gets slugified and used as the filename. A marking(" 0- ") is added to show this is a draft. | |
* | |
**/ |
#! /usr/bin/python3 | |
''' Creates a zip file from src folder into a build directory ''' | |
import os | |
import zipfile | |
import glob | |
APP_NAME = 'Fluctus' | |
BUILD_DIR = 'build' # where zip package will be stored |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Video & Mic Check</title> | |
</head> | |
<style> | |
.mirror-frame{ |
I hereby claim:
To claim this, I am signing this object:
import hashlib | |
import time | |
def proof_of_work(header, difficulty_bits): | |
# calculate the difficulty target | |
# the target decreases as the difficulty_bits increases | |
target = 2 ** (256 - difficulty_bits) | |
for nonce in range(max_nonce): |