This file contains hidden or 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 hidden or 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 "Installs Jenkins & Open-JDK 8" | |
echo "You may be prompted for root credentials to complete the install." | |
echo | |
echo "===================================================================" | |
set -o nounset # unset variables are errors |
This file contains hidden or 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 hidden or 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 | |
set -o nounset # unset variables are errors | |
SCRIPTVERSION="2019.01.29-Debian" | |
SCRIPTNAME="setup-jenkins-nginx.sh" | |
SCRIPTFULLNAME="$0" | |
PORT='8080' | |
WEBNAME='jenkins.yourdomain' |
This file contains hidden or 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
#!/usr/bin/env bash | |
# https://medium.com/@porteneuve/mastering-git-submodules-34c65e940407#.3o6drt47o | |
# http://blogs.atlassian.com/2013/03/git-submodules-workflows-tips/#scenarios | |
# http://stackoverflow.com/questions/2144406/git-shallow-submodules | |
# ----------------- | |
# INSTALL AND SETUP | |
# ----------------- | |
# https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion |
This file contains hidden or 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
# For Hyperkin x91 wired XBox One/Windows 10 controller, use xpad to get it working. | |
# In RetroPie settings, update option Xpad package from source and restart your machine. | |
# The step above should be fine enough for you Linux desktop. For Raspberry PI, if it still | |
# isn't working then do this first before updating from source again: | |
rm -rf /opt/retropie/supplementary/xpad | |
sudo git clone https://github.com/paroj/xpad.git /opt/retropie/supplementary/xpad | |
# If on desktop instead of RaspberryPI, calibrate your controller after installing jstest-gtk. | |
# Ignore the dead space issue with you concerning your right analog stick. :D | |
sudo modprobe xpad # you may need to do this after that initial restart :D |
This file contains hidden or 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 by UAC for credentials to complete the install " | |
echo | |
echo " Pre-req: Latest 64-bit MSYS2 from http://www.msys2.org/ " | |
echo | |
echo " Howto: Use 'wget' to download the raw version of this script " |
This file contains hidden or 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 " This script can be executed under Linux or Windows (using MSys2) " | |
echo " Modify GENDEV variable to fit your toolchain. " | |
echo | |
echo " Linux toolchain: " | |
echo " https://gist.github.com/WillSams/c4cbf6235b467d8b595693969342237e " | |
echo | |
echo " Windows toolchain: " |
This file contains hidden or 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
<?xml version="1.0"?> | |
<systemList> | |
<system> | |
<name>3do</name> | |
<fullname>3DO</fullname> | |
<path>/home/pi/RetroPie/roms/3do</path> | |
<extension>.cue .chd .m3u .iso .CUE .CHD .M3U .ISO</extension> | |
<command>/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-opera/opera_libretro.so %ROM%</command> | |
<platform>3do</platform> | |
<theme>3do</theme> |
This file contains hidden or 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
# ============================================================================== | |
# 1 - C# program to determine if any two integers in array sum to given integer | |
# ============================================================================== | |
dotnet new console -n arrayprograms | |
echo 'using System; | |
namespace CodingAlgorithm { | |
sealed class Algorithm { | |
//Brute force solution, O(n^2) time complexity |