Last Minute VPN Notes

Just a short one. This is an excellent article on how to get OpenVPN running on Ubuntu 16, and how to utilize it on a variety of OS’s. https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04 This article is simpler, conversely doesn’t explain what’s going on as well. Notably though, as it tells you how to get the VPN working on an OpenVZ VPS. https://www.rosehosting.com/blog/install-and-configure-openvpn-on-ubuntu-16-04/ Though as of this writing I haven’t been able to get this to route traffic correctly....

Notes: Extracting Trailer Videos from Steam for Tweeting

The highest quality video trailer on Steam are typically found here: Where 256677064 is the SteamID of the game. When you right click on a trailer video in Chrome, you can select “Open Video in New Tab“. The t= part is probably some unique ID, such as your Steam UserID. Edit the URL accordingly, from movie480.webm to movie_max.webm. Alternatively, full-screening the video, and after waiting a moment for it to go high quality, you can right click on the video and open the High Quality video in a new tab....

Notes: Creating an rsync jail

Configuring this properly required me to learn a few new things. Where to store files If you have files that should belong to a single user, place them in the user’s home folder. /home/username/ If the files are shared across multiple users, place them in a folder under the service folder. /srv/my-project/ This main purpose of specifying this is so that users may find the location of the data files for particular service, and so that services which require a single tree for readonly data, writable data and scripts (such as cgi scripts) can be reasonably placed....

Notes: CORS, the thing you wish you could ignore

It’s 2016, and that means security… even if it’s just sandboxing. Modern web browsers implement a protocol called CORS, i.e. Cross-Origin Resource Sharing. This is a fancy protocol that gives a web browser hints that a transaction should be allowed or not. It was a few years ago that for the sake of security, browsers switched from trusting every request to trusting no request. For the sake of compatibility, some requests are still honoured (HEAD, GET, POST with specific content-types), but some of the most useful ones are not....

Notes: Customizing Ubuntu

Yay more notes. Changing the File Manager (Nautilus to Nemo) So, I hate the default file manager in Ubuntu. Unity is fine (meh), but the file manager is dumb. Super dumb. In this article, a dude did a comparison of file managers available for Linux. https://artfulrobot.uk/blog/whats-best-file-manager-ubuntu-gnome-1404-trusty Nautilus is the default, but dude liked Nemo (very much a Sea theme going on here). His instructions for installing Nemo weren’t too useful (old), but these are totally fine....

A summary of Mike 2016

Hello! If you’re here, you probably saw me mention that I’ll be looking for work in 2017. I haven’t had to look for a job since 1999, so I don’t have a resume/portfolio handy. If you follow my work, you’ll know that I’m very busy right now working on Ludum Dare, and I will be for the rest of the year. Formal stuff is going to have to wait until then....

Notes: USB/IP

USB/IP is a Linux tool for sharing USB ports with other computers on your network. It’s been available as part of the Kernel since 3.2, but thanks to the older package still being in the Ubuntu repository, it causes confusion. The following is the proper way to use it. ...

Notes: Time Sync

TBH I don’t have this figured out yet. In my case, the HW clock is wrong (off by 1 hour). It should be using NTP, but NTP doesn’t seem to take effect. I’ve read a bunch of conflicting information, like using “ntpd -qg” (which can’t be run until you stop the ntp service), or that a command “hwclock –systohc” will do it. One other dude said there’s some sort of check by hwclock that wont do it unless the date is only slightly off (safety feature)....

Notes: Setting up a Webcam Server

I have a small room, also known as a closet *cough* that I have my printer and some small computers in. Some day I plan to put a 3D printer there as well. It would be wise to set up a simple webcam, so I can check on it. You know, in case of fire and stuff. 😉 ...

Notes: Rogers Wireless E-mail to Text

Rogers has 2 ways (that I know of) for sending short e-mails to people as text messages. ...