Category Archives: Uncategorized

Strongswan PSK IPsec IKEv2 VPN on Ubuntu 14.04 with Blackberry

This is a short guide on configuring Strongswan on Ubuntu 14.04 with pre-shared keys (PSK) for a Blackberry 10 device to connect with. Setting this up requires in-depth knowledge of networking and routing. Install and configuring Strongswan: sudo apt-get install … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Running Ghost with cPanel on Shared Host via Rails

I have been looking to migrate my WordPress-driven blog over to Ghost but I don’t want to use a VPS since that would require me to configure and maintain every detail. Shared hosting is great in that it is essentially … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Installing Grub2 on Both GPT HD in Software RAID1 on Ubuntu 14.04

I installed Ubuntu 14.04 on 2x 3TB mdadm raid 1 and wanted both drives to be bootable in case one fails. This took a rather long time to figure out but this is how you do it. Below was tested … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

PXE/Network ISO Boot with Ubuntu on Beagleboard and Tomato WRT54G

This is a short guide on configuring Ubuntu linux to provide network boot services to a local network. It works like this: DHCP responds with dhcp-boot option that tells the client to fetch the boot image from a certain computer. … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Amazon Elasticbeanstalk Nginx Https Redirect

I force all traffic to use https. It is much simpler to do the redirect at the application layer but it should really be done at the proxy before hitting the application. Here is the eb.config I use: Note: This … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Installing NodeJS on CentOS 5 without Compiling

The EPEL repo for CentOS 5.x doesn’t include node. So it’s either compile or grab the precompiled executable. The latter is a lot faster. 1. Download the tar file from Nodejs.org: 1wget http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz 2. extract 1tar xvf node-v0.10.26-linux-x64.tar.gz 3. remove … Continue reading

Posted in Uncategorized | Leave a comment

Sideloading Blackberry 10 Android Apps (and Snap)

The chrome tool is clunky, I prefer the GUI deploy tool from the android tool chain. Requirements: -development mode enabled (settings > security and privacy > development mode) -java runtime installed -running OS 10.2.1+ -connected to local wifi -proper bar(s) … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Adding Notch to PCI 5V Card to Fit In 3.3V PCI Slot

I recently ordered a pci-to-usb card and the pcb wasn’t exactly the one as shown in the picture. It’s missing the cutaway to fit in universal or 3.3v PCI slots. Without it, it will only fit in 5V slots. My … Continue reading

Posted in Uncategorized | 3 Comments

Simple Temp Folder Cleanup Script in Windows Task Scheduler

This is a simple script to automatically delete temporary files from a folder that are older than 2 weeks. I tend to download and work on a lot of files that don’t necessarily need to be archived after their first … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

Password Authentication and No-caching Squid Proxy Server

This is a short guide on setting up a password based, non caching, and non logging Squid 3 proxy server. I am using Squid 3.1 on Ubuntu 11.10. 1234sudo apt-get install squid                 … Continue reading

Posted in Uncategorized | Leave a comment