-
Archives
- January 2023
- August 2022
- July 2022
- June 2022
- January 2022
- September 2020
- February 2018
- December 2017
- May 2017
- April 2017
- February 2017
- December 2016
- November 2016
- May 2016
- April 2016
- June 2015
- May 2015
- November 2014
- May 2014
- April 2014
- February 2014
- December 2013
- October 2013
- August 2013
- June 2013
- May 2013
- March 2013
- February 2013
- January 2013
- May 2012
- August 2011
- July 2011
- June 2011
- May 2011
- December 2010
- November 2010
- June 2010
- April 2010
- November 2009
- October 2009
- May 2009
- February 2009
- December 2008
-
Meta
Category Archives: Uncategorized
AES Encryption/Decryption in Python
This is a snippet in using the PyCrypto package in Python to encrypt and decrypt with AES. The first one implements AES CFB mode – padding is not required for byte alignment. The second one implements AES CBC and PKCS7 … Continue reading
Converting a Bullet List in Word to HTML
The obvious solution is to save as an html document in Word, but the markup produced is not usable. There are several ways to convert the content into clean html. 1. Copy/Paste into Dreamweaver in Design Mode. 2. Copy/Paste into … Continue reading
Posted in Uncategorized
Leave a comment
Apple Wireless Keyboard in Windows 7 64bit
Windows doesn’t have the drivers by default. They are bundled with Boot Camp. Installing Boot Camp will also enable the special function keys, like volume up and down. 1. Download and install Boot Camp 3.0 from: insanelymac.com (look for M4xim’s … Continue reading
Posted in Uncategorized
Leave a comment
Disconnecting Internet Access without Unplugging
This is disabling the internet for the lazy. The back of the computer is usually filthy and not very accessible, so here are three ways to accomplish this inside Windows. 1. Disable the Network Adapter. Bottom right, Network and Sharing … Continue reading
Posted in Uncategorized
Leave a comment
Django Custom Decorators
Here is a short guide on using custom decorators in Django as I did not find one with a good explanation. A decorator is essentially a function that is wrapped around the original. They are defined in TWO slightly different … Continue reading
iOS Splitscreen Collection Views with Storyboard
A quick tutorial on how to embed two collection views into a single controller. It will look like the image below. It can be extended to use other types of views. Create a simple view application. In storyboard, Editor>Embed In>Navigation … Continue reading
Posted in Uncategorized
2 Comments
Threaded Comments in Ruby on Rails
This is the basic structure of a threaded commenting system in Ruby on Rails (3.2.9). Comment model uses polymorphic associations to differentiate between which model it belongs to. config/routes.rb 123456resources :comments do resources :comments end resources :posts do … Continue reading
Blackberry Mobile Hotspot with Fido
I recently updated my Bold to the 7.1 OS for the mobile hotspot feature. However, when I tried to activate it, I got an error saying that it was not supported by my network service provider. To fix it, I … Continue reading
Posted in Uncategorized
Leave a comment
MBET Q&A for Prospective Students
I had someone who is still on the fence whether to embark on the MBET (Master of Business, Entrepreneurship, and Technology) journey email me about the program and my experience. I thought it would be useful for anyone considering the … Continue reading
Posted in Uncategorized
Leave a comment
Installing Squid 3.1 on CentOS 5.6 with SELinux and cachemgr via Yum
This is a short guide on installing the latest version of Squid via Yum. I have a guide on installing via RPM here. This was tested on CentOS 5.6 but should also work on CentOS 6.x. 1. Get the PP … Continue reading
Posted in Uncategorized
4 Comments