Skip to content

Instantly share code, notes, and snippets.

View WillSams's full-sized avatar
🚀

Will Sams WillSams

🚀
View GitHub Profile
$ sudo add-apt-repository ppa:mmk2410/intellij-idea-community
$ sudo apt-get update
$ sudo apt-get install intellij-idea-community
$ sudo apt-get install maven -y
$ mvn -version #test
#Note: Maven is installed to /usr/share/maven
# Maven's configuration is found in /etc/maven
Setup SGDK development toolchain environment on Linux
=====================================================
Note: using Gendev's setup (Andy Grind's fork at https://github.com/andwn/gendev). May take 30 minutes to an hour to build.
$ sudo apt install build-essential texinfo git
$ git clone https://github.com/andwn/gendev.git
$ cd gendev
$ make
@WillSams
WillSams / SantoshiMatrixTop100NESGames.txt
Last active June 5, 2017 23:29
Santoshi Matrix's Top 100 NES Games
Putting these here because that site is a nightmare to load. xxxx denotes games in my collection.
xxxx#100 Duck Hunt $2-4
#99 Battle City $4-8
#98 Xexyz $4-8
#97 Popeye $6-12
xxxx#96 StarTropics $4-6
xxxx#95 Abadox: The Deadly Inner War $2-6
xxxx#94 Golgo 13 Top Secret Episode $4-6
#93 Bio Force Ape; price of a reproduction
@WillSams
WillSams / SMBDIS.ASM
Last active May 4, 2024 10:49 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@WillSams
WillSams / Makefile
Created May 30, 2017 00:45
Makefile used for SMB 1 Disassembly
AS = ca65
LD = ld65
OBJDUMP = od65
DEBUGGER = mednafen
OBJS=smb.o
ROM = smb
BIN = $(ROM).nes
@WillSams
WillSams / howto_bitmaps_to_NES
Last active May 29, 2023 14:29
Instructions on how to convert bitmaps into NES graphics.
Pre-requisite
--------------
- Install GIMP: https://www.gimp.org/
- Download the Shiru's NES Screen Tooll: https://shiru.untergrund.net/software.shtml
- Download this 8-bit color palette: http://zanagb.deviantart.com/art/The-NES-GIMP-Pallete-V2-197049739
- Import the palette into GIMP (Windows->Dockable Dialogs->Palettes, then Right-Click and import)
1 - Open your image in GIMP, preferably a 128x128 one.
2 - Go to Image -> Mode -> Indexed. Select "Use custom palette" and click on the colors icon. Navigate to the NESPAL.gpl file you just imported.
@WillSams
WillSams / 1-create-dotnetcore-example.sh
Last active March 8, 2019 14:10
VSCode Script For Customer-Orders-Core base template
#!/bin/bash
set -o nounset # unset variables are errors
SCRIPTVERSION="2018.10.09-Debian"
SCRIPTNAME="create-dotnetcore-example.sh"
SCRIPTFULLNAME="$0"
SOLUTIONNAME=Northwind
API=$SOLUTIONNAME.Api
@WillSams
WillSams / Installing Rails
Last active September 2, 2022 17:01
My Ruby-on-Rails development environment
#The "official" way on gorails has issues if Ruby is already installed. So, use the rvm method
mkdir ruby-dev && cd ruby-dev
sudo bash -c "apt update"
sudo bash -c "apt install gnupg2"
ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin
gpg2 --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://get.rvm.io | bash -s stable
@WillSams
WillSams / 2018-samba
Last active January 13, 2023 17:04
Easy samba configuration
sudo bash -c "apt update && sudo update -y"
sudo bash -c "apt install samba"
sudo smbpasswd -a # type in a password
sudo bash -c "echo '
####################################################
[videos]
path = $HOME/Pictures
available = yes
valid users =
@WillSams
WillSams / nfs_instructions
Last active February 19, 2018 01:33
NFS Setup on Linux For XBox One Kodi
#note: Kodi on Xbox One only sees it via the IP so just search available NFS servers instead of searching via hostname
sudo su
apt install nfs-kernel-server
cat > /etc/exports << EOF
/<path to music>/ 192.168.1.0/24(rw,sync,no_subtree_check)
/<path to movies>/ 192.168.1.0/24(rw,sync,no_subtree_check)
/<path to tv>/ 192.168.1.0/24(rw,sync,no_subtree_check)
EOF