Skip to content

Instantly share code, notes, and snippets.

View NoozAbooz's full-sized avatar

Nooz NoozAbooz

  • Canada
  • 07:12 (UTC -06:00)
View GitHub Profile
@NoozAbooz
NoozAbooz / minecraft.py
Created February 2, 2022 02:09
Modified MCPI api script
from .connection import Connection,RequestError
from .vec3 import Vec3
from .event import BlockEvent,ChatEvent
from .block import Block
import math
from os import environ
from .util import flatten,floorFlatten
from . import security
""" Minecraft PI low level api v0.1_1
@NoozAbooz
NoozAbooz / README.md
Last active April 7, 2021 15:03
TLDR Rust installer

Installs https://github.com/dbrgn/tealdeer, the super fast implementation of TLDR.

To install:

wget https://gist.githubusercontent.com/mobilegmYT/c0500c6b195bcb875dbf23c9790b3b81/raw/751f10f99900bfa472ebf05889bc6d4a2217e69f/install.sh
chmod +x install.sh
./install.sh
rm install.sh
@NoozAbooz
NoozAbooz / checklwjgl.sh
Last active March 20, 2021 15:48
MC Java lwjgl checker
#!/bin/bash
function error {
echo -e "\e[91m$1\e[39m"
exit 1
}
while true;do
#exit if multiple scripts running
@NoozAbooz
NoozAbooz / readme.md
Last active April 23, 2021 23:47
Windows on RPI OS (legal)
@NoozAbooz
NoozAbooz / setupMC.sh
Created March 2, 2021 00:33
Minecraft Java Raspberry Pi
#!/bin/sh -e
#determine if host system is 64 bit arm64 or 32 bit armhf
if [ ! -z "$(file "$(readlink -f "/sbin/init")" | grep 64)" ];then
MACHINE='aarch64'
elif [ ! -z "$(file "$(readlink -f "/sbin/init")" | grep 32)" ];then
MACHINE='armv7l'
else
echo "Failed to detect OS CPU architecture! Something is very wrong."
fi
@NoozAbooz
NoozAbooz / readme.md
Last active March 13, 2021 15:13
WeChat Desktop on Raspberry PI

Run WeChat desktop client on a Raspberry Pi. Written by Raspberry Pi News on youtube

  1. Download box86, wine x86, and winetricks to run WeChat(If using Twister OS, skip these steps) Run these commands in terminal:
sudo apt-get install cmake -y
 
cd ~/Downloads
git clone https://github.com/ptitSeb/box86