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 "************** Getting HockeyIntelliGym to work on Debian ***************" | |
echo "You may be prompted for root credentials to complete the install." | |
echo "Adapted from details from http://jcward.com/Installing+AIR+Apps+On+Linux." | |
echo "This script assumes you've already paid & downloaded HockeyIntelliGym" | |
echo "Your HockeyIntelliGym file should be sitting in your HOME path:" | |
echo " $HOME/install_air_app HockeyIntelliGym.air" | |
echo "*************************************************************************" |
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
sudo apt-get remove nvidia* && sudo apt-get autoremove | |
This went well, no errors. Then I added a new file, /etc/modprobe.d/nouveau.conf | |
blacklist nouveau | |
blacklist lbm-nouveau | |
options nouveau modeset=0 | |
alias nouveau off | |
alias lbm-nouveau off |
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
#git pull ssh+git://<login>@git.<datacenter>.gpaas.net/default.git | |
mkdir -p MyWebApp && cd MyWebApp | |
virtualenv venv | |
source venv/bin/activate | |
pip install bottle | |
pip freeze > requirements.txt | |
cat > hello.py <<EOF | |
# -*- coding: utf-8 -*- |
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 | |
#=============================================================================== | |
# | |
# FILE: iso2wbfs | |
# | |
# USAGE: ./iso2wbfs [option] FILE... [wbfs directory] | |
# | |
# DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file | |
# properly named for use on non-WBFS partitions. | |
# |
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
#note, do wodim --devices to find the correct device | |
cdirip image.cdi -wodim | |
wodim dev=/dev/sg0 speed=8 -multi -audio taudio01.wav && rm taudio01.wav | |
wodim dev=/dev/sg0 speed=8 -multi -xa tdata02.iso && rm tdata02.iso | |
eject |
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
sudo mount /dev/sda1 /mnt | |
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done | |
sudo grub-install --root-directory=/mnt/ /dev/sda | |
sudo chroot /mnt | |
apt-get re-install 'linux-image-4.4*' | |
updateinitrams -u -k all | |
update-grub | |
exit | |
reboot |
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
#Steps taken from http://bobbyromeo.com/technology/backup-clone-raspberry-pi-sd-card/ | |
#On your RaspberryPI live system, do these steps. Have your target sd card unmounted | |
#in a SD card reader attached to one of the USB ports. | |
git clone https://github.com/billw2/rpi-clone.git | |
cd rpi-clone | |
cp rpi-clone /usr/local/sbin | |
sudo rpi-clone sdb -v -x |
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
sudo su && apt-get install g++ cmake libglu-dev libxi-dev freeglut3-dev p7zip-full #only step in this gist Debian/Ubuntu/LinuxMint specific | |
wget http://box2d.googlecode.com/files/Box2D_v2.3.0.7z | |
7z x Box2D_v2.3.0.7z | |
cd Box2D_v2.3.0/Box2D/Build | |
cmake -DBOX2D_VERSION=2.3.0 \ | |
-DBOX2D_INSTALL=ON \ | |
-DBOX2D_INSTALL_DOC=ON \ | |
-DBOX2D_BUILD_SHARED=ON \ | |
-DBOX2D_BUILD_STATIC=ON \ | |
-DBOX2D_BUILD_EXAMPLES=OFF \ |
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
# This script is designed to execute via the shell. Download this script on | |
# your Pi, edit the user and passwd above, execute the following commands: | |
# chmod +x ipvanish_on_raspberry_pi.sh | |
# sudo ./ipvanish_on_raspberry_pi.sh | |
# Of course, you can use this script just as a reference and type everything out. | |
# Place your ip vanish username here. For example, IPVANISHUSER=picrazy | |
IPVANISHUSER= | |
IPVANISHPASSWD= |
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
Projects with external data outside of the working directory will have probems (i.e., java.lang.nullexception) if you use the default external console. Go to Project properties -> Run -> Console Type and select Standard Output. |