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 | |
| SCRIPTS_DIR=~/scripts # Root directory for your scripts | |
| navigate() { | |
| local current_dir="$1" | |
| while true; do | |
| local items=() | |
| while IFS= read -r path; do |
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
| @font-face { | |
| font-family: "Unifont"; | |
| font-style: normal; | |
| font-weight: normal; | |
| src: local('Unifont'); | |
| } |
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
| from collections import defaultdict | |
| import qrcode | |
| a = [[0, 1, 1, 1, 0, 1, 0], | |
| [1, 0, 0, 0, 1, 1, 0], | |
| [0, 1, 1, 1, 0, 1, 0], | |
| [0, 1, 1, 1, 0, 1, 0], | |
| [0, 1, 1, 1, 0, 1, 0], | |
| [0, 1, 1, 1, 0, 1, 0], | |
| [0, 1, 1, 1, 0, 1, 0]] |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import minecraftmap | |
| import os | |
| import glob | |
| import PIL | |
| import pyvips | |
| import shutil | |
| import io |
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 colour | |
| import collections | |
| import blinkt | |
| import time | |
| import threading | |
| import paho.mqtt.client as paho | |
| import os | |
| import socket | |
| import ssl | |
| import json |
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
| def pointDict( coords ): | |
| coordLabel = ("x", "y", "z") | |
| return dict(zip(coordLabel, coords)) | |
| def mcafilter(poi): | |
| if poi["id"] == "mca": | |
| # print poi | |
| return poi | |
| mcapoi = [] |