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 | |
declare -a fonts=( | |
BitstreamVeraSansMono | |
CodeNewRoman | |
DroidSansMono | |
FiraCode | |
FiraMono | |
Go-Mono | |
Hack |
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
// Wasmboy init | |
import { WasmBoy } from 'wasmboy'; | |
import * as fs from 'fs'; | |
import * as PNGImage from 'pngjs-image'; | |
import * as sharp from 'sharp'; | |
const pkmn_rom = new Uint8Array(fs.readFileSync('./src/wasmboy/pkmn.gbc')); | |
const pkmn_rom_save_path = './src/wasmboy/pkmn.save'; |
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 bash | |
iota_nelson_db="/home/$(whoami)/iota/nelsondb" | |
public_ip="$(dig +short myip.opendns.com @resolver1.opendns.com)" | |
echo "Grabbing needed docker images..." | |
docker pull romansemko/nelson.cli | |
docker pull iotaledger/iri | |
echo "Done!" |
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
#Backup previous list | |
rm -f BLACKLIST_OLD.txt | |
mv BLACKLIST.txt BLACKLIST_OLD.txt | |
touch BLACKLIST.txt | |
#Download the file from PGL.YOYO | |
curl -O http://pgl.yoyo.org/as/iplist.php | |
#Download the file from emerging threats | |
curl -O http://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt | |
#Download the first file from SpamHaus | |
curl -O http://www.spamhaus.org/drop/drop.txt |
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
# Purge the following packages | |
account-plugin-aim | |
account-plugin-facebook | |
account-plugin-flickr | |
account-plugin-jabber | |
account-plugin-salut | |
account-plugin-twitter | |
account-plugin-windows-live | |
account-plugin-yahoo |