This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BASE=$(pwd) | |
TEMPDIR="temp" | |
DELAY=2 | |
echo "Running from: $BASE" | |
echo "Starting in $DELAY seconds..." | |
sleep $DELAY | |
mkdir -p ./$TEMPDIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import crypto from 'crypto'; | |
import { EventEmitter } from 'events'; | |
import fs from 'fs'; | |
class ChunkedFileHasher extends EventEmitter { | |
constructor(path, chunkSize = 512) { | |
super(); | |
this.paused = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SUMS_URL="http://s3.amazonaws.com/cubedhost-prisma/spigot/sums" | |
JENKINS_URL="http://ci.md-5.net/job/Spigot" | |
if [ -z $1 ]; then | |
echo "A tool which tries to identify hash, build #, and full version for an arbitrary Spigot jar file." | |
echo | |
echo "Usage: ./identifySpigot <spigot.jar>" | |
echo | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=phantom | |
[Service] | |
Type=simple | |
ExecStart=/path/to/phantom-linux -server lax.mcbr.cubed.host:19132 | |
[Install] | |
WantedBy=multi-user.target |
OlderNewer