This file contains 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 | |
# Currently known-working with Fedora 33 | |
#brave | |
dnf install -y dnf-plugins-core | |
dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/ | |
rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc | |
dnf install -y brave-browser |
This file contains 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
#!/usr/bin/env python3 | |
from collections import namedtuple, defaultdict | |
Coord = namedtuple('Coord', 'x y z') | |
def byte_to_coord(bytestr, start_pos): | |
x = slice(start_pos+0, start_pos+4) | |
z = slice(start_pos+4, start_pos+8) | |
y = slice(start_pos+8, start_pos+12) |
This file contains 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
#!/usr/bin/env python3 | |
__author__ = "Will Dizon" | |
__license__ = "Public Domain" | |
__version__ = "0.0.1" | |
__email__ = "[email protected]" | |
import numpy as np | |
from scipy.stats import hypergeom | |
from collections import Counter |
This file contains 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/sh | |
test_command() { | |
eval $1 | |
RET=$? | |
echo "" | |
if [ $RET -eq 0 ]; then | |
echo "COMMAND OK: $1" | |
else | |
echo "COMMAND FAILED: $1" |
This file contains 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
var fireworm = require('fireworm') | |
var path = require('path') | |
var fs = require('fs') | |
var mkdirSync = function (path) { | |
try { | |
fs.mkdirSync(path); | |
} catch(e) { | |
if ( e.code != 'EEXIST' ) throw e; | |
} |
This file contains 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/sh | |
# update repositories | |
#yum update | |
# download the necessary prerequisite components for mineos | |
curl -sL https://rpm.nodesource.com/setup_10.x | bash - | |
yum -y install screen git wget java-1.8.0-openjdk-headless.x86_64 openssl openssl-devel | |
yum -y groupinstall "Development tools" | |
yum -y install nodejs |
This file contains 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/sh | |
# download the necessary prerequisite components for mineos | |
pacman -S --noconfirm git rsync rdiff-backup screen jre8-openjdk-headless nodejs npm base-devel | |
# download the most recent mineos web-ui files from github | |
mkdir -p /usr/games | |
cd /usr/games | |
git clone https://github.com/hexparrot/mineos-node.git minecraft | |
cd minecraft |
This file contains 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/sh | |
# update repositories | |
curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
apt-get update | |
# download the necessary prerequisite components for mineos | |
apt-get -y install -y nodejs git rdiff-backup screen build-essential openjdk-8-jre-headless | |
# download the most recent mineos web-ui files from github |
This file contains 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/sh | |
# update repositories | |
curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
apt-get update | |
# download the necessary prerequisite components for mineos | |
apt-get -y install nodejs supervisor git rdiff-backup screen build-essential default-jre-headless | |
# download the most recent mineos web-ui files from github |
This file contains 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/sh | |
# download the necessary prerequisite components for mineos | |
zypper -n remove patterns-openSUSE-minimal_base-conflicts | |
zypper -n install screen | |
zypper -n install openssl | |
zypper -n install libopenssl-devel | |
zypper -n install git | |
zypper -n install java-1_7_0-openjdk-headless | |
zypper -n install python-xml |
NewerOlder