I hereby claim:
- I am wsams on github.
- I am wsams (https://keybase.io/wsams) on keybase.
- I have a public key ASDKSOtKYCVtY9MgPydK0YRm-iqfsU3SW-yLEJ1i2U8l5wo
To claim this, I am signing this object:
| /give @s netherite_pickaxe{Enchantments:[{id:efficiency,lvl:10},{id:unbreaking,lvl:10},{id:fortune,lvl:10},{id:mending,lvl:1}]} 1 | |
| /give @s netherite_pickaxe{Enchantments:[{id:efficiency,lvl:10},{id:unbreaking,lvl:10},{id:silk_touch,lvl:1},{id:mending,lvl:1}]} 1 | |
| /give @s netherite_shovel{Enchantments:[{id:efficiency,lvl:10},{id:unbreaking,lvl:10},{id:fortune,lvl:10},{id:mending,lvl:1}]} 1 | |
| /give @s netherite_shovel{Enchantments:[{id:efficiency,lvl:10},{id:unbreaking,lvl:10},{id:silk_touch,lvl:1},{id:mending,lvl:1}]} 1 | |
| /give @s netherite_hoe{Enchantments:[{id:efficiency,lvl:10},{id:unbreaking,lvl:10},{id:fortune,lvl:10},{id:mending,lvl:1}]} 1 | |
| /give @s netherite_axe{Enchantments:[{id:mending,lvl:1},{id:unbreaking,lvl:10},{id:efficiency,lvl:10},{id:sharpness,lvl:10}]} 1 | |
| /give @s netherite_helmet{Enchantments:[{id:mending,lvl:1},{id:unbreaking,lvl:10},{id:respiration,lvl:10},{id:protection,lvl:10},{id:thorns,lvl:10}]} 1 | |
| /give @s netherite_chestplate{Enchantments:[{id:mending,lvl:1},{id:unbreaking,lvl:10},{id:prote |
| /** | |
| * Usage: node multiply.js <positive integer a> <positive integer b> | |
| */ | |
| function mult(aArr, bArr) { | |
| const as = aArr.reverse().join(''); | |
| const bs = bArr.reverse().join(''); | |
| let rowa = []; | |
| let remainder = 0; | |
| let rows = []; | |
| for (let bx = 0; bx < bs.length; bx++) { |
| const { execSync } = require('child_process'); | |
| const args = {}; | |
| const argv = process.argv.slice(2); | |
| if (argv.length === 0) usage(); | |
| argv.forEach((arg, i) => args[arg] = argv[i + 1]); | |
| // Every flag must have a value even if it's not being used | |
| // Instead of a boolean --version you might use `-v true` | |
| const inputFileName = args['-i']; |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title>FoPo Run Club</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <link rel="stylesheet" | |
| href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" | |
| integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | |
| crossorigin="anonymous"> | |
| <link rel="icon" type="image/ico" href="favicon.ico"> |
| #!/bin/bash | |
| # Simple way to trap and clean up temporary files in BASH - This script is useful as a cron job to keep an Ubuntu machine upgraded automatically | |
| # The following cron job would keep the system up-to-date 4 times a day: 0 */4 * * * /root/bin/system-upgrade.sh | |
| pidfile="/root/bin/system-upgrade.pid" | |
| janitor() { | |
| rm -f $pidfile | |
| } |
| /** | |
| * This node script accepts two arguments, both integers, and returns their sum. | |
| * | |
| * The integers are string inputs split into an array of digits and operated on so | |
| * they can be really big numbers. A 5000 digit number doubled takes less than 0.1 seconds | |
| * to compute on a mid-2014 MacBook Pro. (Node v11.11.0) | |
| * | |
| * Usage: node add.js <int> <int> | |
| */ |
| abandoned | |
| able | |
| absolute | |
| adorable | |
| adventurous | |
| academic | |
| acceptable | |
| acclaimed | |
| accomplished | |
| accurate |
| <?php | |
| /** | |
| * INSTALL & RUN | |
| * | |
| * 1. Install uglifyjs: `npm install -g uglifyjs-es` | |
| * 2. Write your JavaScript with every variable prefixed with two underscores. e.g. `__varName` | |
| * The script also supports functions prefixed with two dashes but it doesn't appear to work anymore. | |
| * 3. Run: `php compile-min-js.php my.js my.min.js` (This script obfuscates and then runs uglifyjs) | |
| */ |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| $suffix = "NikonDump"; | |
| $dirs = glob("*", GLOB_ONLYDIR); | |
| foreach ($dirs as $k=>$dir) { | |
| $dumpdir = preg_replace("/^(\d{4})-(\d{2})-(\d{2})$/", "\${1}\${2}\${3}{$suffix}", $dir); | |
| // Uncomment this line if you are only import new directories of the $suffix type. | |
| // So if you imported everything from a Nikon camera then you can just uncomment | |
| // this rename because all of the photos would be new. You also have to make sure all |