I hereby claim:
- I am jackmd on github.
- I am jacktaylor (https://keybase.io/jacktaylor) on keybase.
- I have a public key ASAfS0J1bSpjX3htqCLmjJqny_44mDluz_M-1lbNGgUskAo
To claim this, I am signing this object:
for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do | |
echo "Resetting trial period for $product" | |
echo "removing evaluation key..." | |
rm -rf ~/.config/$product*/eval | |
# Above path not working on latest version. Fixed below | |
rm -rf ~/.config/JetBrains/$product*/eval | |
echo "removing all evlsprt properties in options.xml..." |
#!/usr/bin/php | |
<?php | |
/** | |
* Usage: | |
* php downloader.php http://path.to/remote/file.ext /local/file/path | |
* | |
* Output: | |
* [############################################################################################### ] 96% | |
*/ |
<?php | |
public static function deleteTree(string $folder, bool $keepRootFolder = false): bool{ | |
// Handle bad arguments. | |
if(empty($folder) || !file_exists($folder)){ | |
return true; // No such file/folder exists. | |
}elseif(is_file($folder) || is_link($folder)){ | |
return @unlink($folder); // Delete file/link. | |
} | |
// Delete all children. |
I hereby claim:
To claim this, I am signing this object:
<?php | |
use RecursiveDirectoryIterator; | |
use RecursiveIteratorIterator; | |
use SplFileInfo; | |
# http://stackoverflow.com/a/3352564/283851 | |
/** | |
* Recursively delete a directory and all of it's contents - e.g.the equivalent of `rm -r` on the command-line. |
@echo off | |
TITLE PocketMine-MP server software for Minecraft: Pocket Edition | |
cd /d %~dp0 | |
set LOOP=true | |
set /A LOOPS=0 | |
if exist bin\php\php.exe ( | |
set PHPRC="" | |
set PHP_BINARY=bin\php\php.exe |