SSH Agent

If you has a rsa-key and don’t want to write in your credentials every time you ssh, you can use ssh-agent instead. Add this to your .bash_profile (or make it a standalone script you execute once at startup) SSHAGENT=$(command -v ssh-agent) SSHAGENTARGS="-s" if ! pgrep -xu $USER ssh-agent &>/dev/null; then if [[ -z "$SSH_AUTH_SOCK" && -x "$SSHAGENT" ]]; then eval "$($SSHAGENT $SSHAGENTARGS)" trap "kill $SSH_AGENT_PID" 0 fi fi Then you add you credentials once by typing ssh-add (which will add ~/....

August 28, 2014  |  🏷️Ssh

Sokoban Game

A small game I made in class

Crosh / HTerm

Go to nassh_preferences_editor.html under chrome extensions Change send-encoding from utf-8 to raw

Example of OpenBSD Postfix main.cf

December 30, 2013  |  🏷️Postfix

Jumpman Game

A small game I made in class

PAE error on boot

If you found this page through Google, it would be stupid to follow these instructions to the letter This kernel requires the following features not present on the CPU: pae Unable to boot - please use a kernel appropriate for your CPU. Step 1: Chroot mount /dev/sda2 /mnt for i in dev proc sys; do mount --bind /$i /mnt/$i; done chroot /mnt Step 2: Make initrd cd /boot mkinitrd -c -k 3....

Installing Spotify on Linux

These instructions are old and probably don’t work anymore Add spotify-sources to apt-repo echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list Add key apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 Fetch updates apt-get update Add this stupid old dependency This might not be needed anymore / on other distros. Just do it if the next step doesn’t work wget snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-6_amd64.deb dpkg -i libssl0.9.8_0.9.8o-6_amd64.deb Install spotify apt-get install spotify-client Run spotify! spotify