I hereby claim:
- I am hardword on github.
- I am hardword (https://keybase.io/hardword) on keybase.
- I have a public key ASAXb8be94RysmlPEGZ2bbyw1aMFueKXdCChAg7L-IrVJQo
To claim this, I am signing this object:
| <?php | |
| if (!isset($_SERVER['argc']) || $_SERVER['argc'] < 1) { | |
| die("Usage: cli <action> <options>"); | |
| } | |
| $argc = $_SERVER['argc']; | |
| $argv = $_SERVER['argv']; | |
| switch ($argv[1]) { | |
| case "ls": | |
| echo "Listing directory"; |
| import pickle | |
| dictionary_a = {'string_1': 1, 'string_2': 2.2, 'string_3': True} | |
| # Pickling (serializing) dictionary A into a file | |
| with open('saved_object.pickle', 'wb') as filename: | |
| pickle.dump(dictionary_a, filename) | |
| # Unpickling (de-serializing) dictionary A into B | |
| with open('saved_object.pickle', 'rb') as filename: |
| # To test these progress bars you will have to | |
| # install the following packages | |
| # pipenv install click progress progressbar2 tqdm clint | |
| import string | |
| # progress bars | |
| import time | |
| import click | |
| from tqdm import tqdm |
I hereby claim:
To claim this, I am signing this object: