Skip to content

Instantly share code, notes, and snippets.

View Alee14's full-sized avatar
🖥️
Programming stuff and sometimes dozing off

Andrew Lee Alee14

🖥️
Programming stuff and sometimes dozing off
View GitHub Profile
@Alee14
Alee14 / room.py
Created March 12, 2024 13:24
Module 6 - Room "Game"
# This is an interactive game where you explore rooms, and it logs each room and activity you do
def hub(fout):
fout.write('Entering the house\n')
while True:
print('You are at the main entrance of the house')
print('Which room you want to enter?')
print()
print('1. Living Room')
print('2. Kitchen')
@Alee14
Alee14 / buildapc.py
Created March 12, 2024 13:20
Module 6 - Build a PC
# This program will give advice for building a PC
is_laptop = False
sel_input = "> "
invalid_option = "This option is not available. Try again."
spent = float(0)
def format_currency(money):
return "${:,.2f}".format(money)
@Alee14
Alee14 / arch-0.1.md
Last active December 6, 2021 21:37
Installing Arch Linux 0.1 with X11
@Alee14
Alee14 / win-dism.md
Last active April 26, 2024 13:21
Installing Windows using CMD. (UEFI and BIOS Supported)

Installing Windows using CMD. (UEFI and BIOS Supported)

Guide created by Andrew Lee

Note that this guide does not go into detail, it's just providing the commands to install Windows.

Be cautions when doing this when dualbooting, please backup any existing data or you will lose them all.

Open CMD

First open CMD by pressing the following keys after booting into setup: Shift + F10

Creating Partition

@Alee14
Alee14 / startup.lua
Last active March 13, 2023 01:50
[ComputerCraft UI] bits-UI Installer
-- bits-UI Installer: Version 0.2. Licensed with GPL-3.0 and created by Alee14
term.clear()
term.setCursorPos(1,1)
if term.isColor() then
if fs.exists("/System/bits-UI.exists") then
print("Starting the bits-UI Updater...")
else
print("Starting the bits-UI Installer...")
end
@Alee14
Alee14 / amazon_douglas.xml
Created September 25, 2020 20:04
amazon_douglas.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="douglas" fetch="https://github.com/douglas-development" revision="cm-12.1" />
<project path="device/amazon/douglas" name="android_device_amazon_douglas" remote="douglas" />
<project path="kernel/amazon/douglas" name="android_kernel_amazon_douglas" remote="douglas" />
<project path="vendor/amazon/douglas" name="android_vendor_amazon_douglas" remote="douglas" />
</manifest>
#This version just removes 90% of FMP's functionality
#Originally written by Squid Grill (https://github.com/Royce551)
from appJar import gui
from pygame import mixer
import os
app = gui("FRESHMusicPlayer (For Weebs)", "800x600")
mixer.init()
playing = False
background = "black"
foreground = "black"
@ECHO OFF
REM BFCPEOPTIONSTART
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
REM BFCPEEXE=
REM BFCPEICON=
REM BFCPEICONINDEX=0
REM BFCPEEMBEDDISPLAY=0
REM BFCPEEMBEDDELETE=1
REM BFCPEADMINEXE=0
REM BFCPEINVISEXE=0

notice: Wii U linux is not production ready! Proceed at your own risk. Written on 2/3/18

Quarktheawesome and rw-r-r_0644 have released an early version of Linux for Wii U!

Source code

The PowerPC side of the Wii U requires a custom linux kernel, which can be found here. The ARM side of the Wii U requires a custom fw.img file to load that kernel, which can be found here.

Once the kernel is up and running, the first repo is configured to automatically try to load programs from /dev/sda1 in an inserted usb. The first partition of an ext4 USB stick should contain a root filesystem for a linux distribution. See here for more information on a prebuilt PowerPC image

Notice