Skip to content

Instantly share code, notes, and snippets.

View ross-newman's full-sized avatar
🎯
Focusing on computer vision.

Ross Newman ross-newman

🎯
Focusing on computer vision.
View GitHub Profile
@ross-newman
ross-newman / QEMU PPC Setup for Debian
Last active October 27, 2025 13:53
Building PPC Linux code using QEMU on Ubuntu 18.04 LTS
#!/bin/bash
echo "Building Debina 10 QEMU instance..."
wget https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/debian-10.0-powerpc-NETINST-1.iso
sudo apt install qemu
# Create new disk for install
qemu-img create -f qcow2 debian10.qcow2 2000M
# Boot the install image
qemu-system-ppc -L pc-bios -boot d -M mac99 -m 1024 -net nic,model=sungem -net user -hda debian10.qcow2 -cdrom ./debian-10.0-powerpc-NETINST-1.iso -g 1024x768x8
# Run the image
qemu-system-ppc -L pc-bios -boot c -prom-env "boot-device=hd:,\yaboot" -prom-env "boot-args=conf=hd:,\yaboot.conf" \
@ross-newman
ross-newman / ubuntu-zsh-setup.txt
Last active June 19, 2019 15:13
Zsh setup on Ubuntu 18.04
#!/bin/bash
sudo apt-get install zsh powerline fonts-powerline zsh-theme-powerlevel9k zsh-syntax-highlighting
# Select 2 to setup .zshrc then exit
zsh
echo "source /usr/share/powerlevel9k/powerlevel9k.zsh-theme" >> ~/.zshrc
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
# Start the Zsh
zsh
@ross-newman
ross-newman / libosmscout-maps.ipynb
Last active December 8, 2022 04:26
libosmscout-maps.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.