Python – Convert a Dictionary to a List

We can easily create a Python list by pulling only the values out of a dictionary. This is done via the values() method.

>>> x = {‘a’:1, ‘b’:2}
>>> x
{‘a’: 1, ‘b’: 2}
>>> y = list(x.values())
>>> y
[(1), (2)

More



The Ultimate DNS-323 Setup: Part 1 – Router Configuration

Before you begin messing around with a new home server it is important to understand a few things about how your home router operates.
Your router is typically your only device with a direct connection to the internet. All your other devices connect to the internet through the router. Webpages on the internet cant really tell [...]

More



The Ultimate DNS-323 Setup: Part 4 – Mulitple Ways To Control Transmission Remotely

Transmission Web Interface
Transmission comes with a fantastic web interface built in. The web interface is sometimes referred to as Clutch, which was the name of the web interface project before it was included officially with Transmission.
While transmission-daemon is running on the DNS-323, you can access the web interface by:
http://<DNS-323 IP>:9091 or in my specific case [...]

More



The Ultimate DNS-323 Setup: Part 3 – Transmission Installation & Configuration

Installation of Transmission BitTorrent Client
From your desktop computer, visit http://www.transmissionbt.com/download.php. You are not looking for an official package; you are looking for the source code. Right click on the bz2 version and click ‘Copy Link Location’. SSH to your DNS-323 and using an unprivileged account, use wget to save the source code on the device (anywhere).
Example: wget http://mirrors.m0k.org/transmission/files/transmission-1.82.tar.bz2
Extract the source [...]

More



The Ultimate DNS-323 Setup: Part 2 – Debian Installation

By the end of this guide you will have
-A fully stable and remotely operable BitTorrent client on your DNS-323. I will show you how to setup 1) A remote web interface and 2) A Windows desktop application that is very similar to uTorrent that can remotely control and monitor your torrents.
-Have your DNS323 download torrent [...]

More



New Design

Glad to have a new design that isn’t shared by half the web!!
Expect an update very soon with a new guide regarding DNS323, Debian and Transmission BitTorrent.

More



3 Awesome Firefox Add-ons your probably not using but should

Over the past year I’ve flip-flopped through all the major web browsers (IE excluded). I used Firefox exclusively for years, had several month long affairs with Opera and finally settled using Google Chrome (or SRWare Iron) since its release. Over the past couple months however I have gone back to Firefox. The usability that can [...]

More



Ruby on Rails + Gmail SMTP (TLS)

This took way too long to figure out the answer to without using a custom plugin. I hope this helps others! I was setting up Redmine with Gmail as an SMTP server utilizing config/email.yml. Behold!
email.yml with no other related changes in environment.yml using Rails 2.2.2
production:

delivery_method: :smtp
smtp_settings:
enable_starttls_auto: :true
address: smtp.gmail.com
port: 587
domain: GMAILDOMAIN.com
authentication: :plain
tls: :true
user_name: “EMAIL@YOURGMAILDOMAIN.com”
password: “YOURPASS”

If you [...]

More



Dlink NAS DNS-323 + Debian chroot + rTorrent + wTorrent

EDIT #2: I have written an expanded and up to date (Jan 2010) guide on the setup of a DNS-323 with Transmission. This has been written as a series of posts and can be found http://blog.markstahler.ca/series/dns-323-ultimate-setup/
EDIT: I no longer use the rTorrent + wTorrent combination, there were fatal bugs in rTorrent which caused it to [...]

More



I am Graduating! – Available for Software Development Work

Update: Following a 6 week security check, I have been working for Ontario Power Generation – Nuclear since early June. Thanks!!
It is hard to believe that four years ago I began my undergraduate studies at  University here in Ontario, Canada. This month I am graduating with an Honours Bachelors of Science in Computer Science and [...]

More



Page 1 of 3123»
Get Adobe Flash playerPlugin by wpburn.com wordpress themes