This file contains 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
"'if filereadable("/etc/vim/vimrc") | |
" source /etc/vim/vimrc | |
"endif | |
filetype off | |
filetype plugin indent on | |
runtime! plugin/sensible.vim | |
if has('mouse') |
This file contains 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
# Custom assertion function for equality | |
func assert_equal(actual, expected, message = 'Assertion failed: Values are not equal'): | |
if actual != expected: | |
var failure_message = 'Value did not equal: ' + message | |
push_error(failure_message) | |
else: | |
print('Pass') | |
# Custom assertion function for inequality |
This file contains 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
rm -rf * .godot | |
wget -O project.godot \ | |
https://gist.githubusercontent.com/WillSams/a6e3b853595ea6123b5a506acc0ba0a3/raw/f2fab5899029594d66bcba18a2b62cc62927fe81/generic_godot.settings | |
# download the textures | |
mkdir {scenes,textures} | |
wget -O textures/icon.png \ | |
https://github.com/godotengine/godot/blob/master/icon.png?raw=true | |
wget -O textures/light.png \ | |
https://clipground.com/images/white-light-png-9.png |
This file contains 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
; Engine configuration file. | |
; It's best edited using the editor UI and not directly, | |
; since the parameters that go here are not all obvious. | |
; | |
; Format: | |
; [section] ; section goes between [] | |
; param=value ; assign values to parameters | |
config_version=5 | |
iconfig_version=5 |
This file contains 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 | |
echo "===================================================================" | |
echo | |
echo " My m68000 Development Setup " | |
echo " You may be prompted for root credentials to complete the install. " | |
echo | |
echo " Toolchain is GNU so it expects you to write AT&T style assembly. " | |
echo " If you want the Windows (MSYS2) script, it's here: " | |
echo " https://gist.github.com/WillSams/f592f9d494b51119945440f7e91079b0 " |
This file contains 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
;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 |
This file contains 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 | |
echo "===================================================================" | |
echo | |
echo " Fresh Debian-Based Extras Install Script " | |
echo " You may be prompted for root credentials to complete the install. " | |
echo | |
echo "===================================================================" | |
SCRIPTVERSION="2024.02.20-Debian" |
This file contains 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/sh | |
# https://www.linuxfordevices.com/tutorials/linux/turn-vim-into-an-ide | |
echo '" Setting some decent VIM settings for programming | |
" This source file comes from git-for-windows build-extra repository (git-extra/vimrc) | |
ru! defaults.vim | |
if has("syntax") | |
syntax on |
This file contains 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
SERIALOFINSTANCE=$((100000000000000 + RANDOM % 999999999999999)) | |
sudo bash -c "apt update && apt install minidlna -y" | |
sudo bash -c "port=8200 | |
friendly_name=Mintbox-Desktop-MiniDLNA | |
serial='$SERIALOFINSTANCE' | |
media_dir=A,/media/wsams/mediadrive2/Music | |
media_dir=V,/media/wsams/mediadrive2/Videos/Movies |
This file contains 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
-- GODOT CONFIGURATION -------------------------------------------- | |
local dap = require('dap') | |
dap.adapters.godot = { | |
type = "server", | |
host = '127.0.0.1', | |
port = 6008, | |
} | |
dap.configurations.gdscript = { | |
{ |
NewerOlder