Friday, 29 January 2016

Install Nginx with uWSGI and Django on Raspberry Pi


This tutorial is aimed at installing a lightweight web-server  on the Raspberry Pi with python support.
The required packages are:
1. django
2. uWSGI
3. NGINX
4. Python

Note: This installation is based on the assumption you already have a correct django project.

Friday, 22 January 2016

Send your public IP Address via mail.

I have a setup that i like to monitor/access remotely but the IP address assigned to me by my ISP is DHCP assigned and changes all the time and paying for a static address is expensive.
I have a raspberry pi that i use for automating processes and this hosts the script I wrote a python script that gets my public IP every 5 mins and sends it to me via mail.

Monday, 26 January 2015

ORA-01882 timezone region not found[SQLDeveloper]


If you get the below error when connecting to an Oracle database for the first time, here is a resolution to the problem.

Friday, 11 July 2014

RuntimeError: Unable to import decimal

After converting a python file to .exe with cx_Freeze, and attempt to run it, i get the following error even though i imported decimal as the error and various tutorials suggested.

Here is how i resolved it.

Monday, 30 June 2014

How to install TP-Link TL-WN725N V2(WiFi) on Raspberry Pi


Got my raspberry pi and was excited about it. After using it for a while, i decided to go wifi on it.
I purchased TP-Link TL-WN725N V2 and unfortunately, it wasn't among the plug and play devices drivers that raspberry had, so i had to download and install it. Again, unfortunately for me, it wasn't as straight forward as other installations i've done.
All round the web, there are various tutorials on how to get it running and a lot of it depends on your current pi running OS. Along the line i stumbled across a script that did it all with minimal stress.

Monday, 24 June 2013

Upgrading/Installing Openfire on Elastix

Recently my Openfire installation on Elastix has been bugging me about a new release but whenever i attempt the upgrade, it doesn't get updated. running 'yum update openfire' gives me no new update available.
This is how i went about the solution.
I went online, found pieces of solution  here and there and brought them together and the solution is listed below.
Required solution is a SSH connection,i use putty.exe.
IMPORTANT: Make a backup of all relevant data, if this is a virtual machine(like mine), make a snapshot before continuing

Upgrading Openfire

Tuesday, 11 September 2012

Authentication error has occurred. The specified target is unknown or unreachable. Win XP SP3 NLA Error

This was something that was really vexing me and through online search and reading LONG stories, i was able to fix it, now i'm giving the solution to others as simply as i can put it.

I have a Win2008 server farm with RD enabled and is set to recieve connections from NLA clients only.