Skip to content

Instantly share code, notes, and snippets.

Avatar
🔐
Developing madness.

Jack Honour JaxkDev

🔐
Developing madness.
View GitHub Profile
@JaxkDev
JaxkDev / default.phpstan.neon
Created Mar 31, 2020
Default PHPStan config for poggit.
View default.phpstan.neon
parameters:
level: 5
paths:
- /source/src
autoload_directories:
- /source/src
- /deps
autoload_files:
- phar:///pocketmine/PocketMine-MP.phar/vendor/autoload.php
View keybase.md

Keybase proof

I hereby claim:

  • I am jaxkdev on github.
  • I am jaxkdev (https://keybase.io/jaxkdev) on keybase.
  • I have a public key ASA7YRhmTVPRA9xQuV8Uf28ZZHiyy1Iqf6ig2vUdx3PmHAo

To claim this, I am signing this object:

@JaxkDev
JaxkDev / ProgressBar.py
Created May 28, 2019
A small snippet of a loading/progress bar that is one line on screen.
View ProgressBar.py
import sys, time
sys.stdout.write("["+" "*20+"] %s" % ("0"));
sys.stdout.write("\r");
for i in range(21):
time.sleep(0.1);
sys.stdout.write("["+("="*i)+(" "*(20-i))+"] %s" % (str(i*5)));
sys.stdout.write("\r");
sys.stdout.flush()
print("")
You can’t perform that action at this time.