python Integration Contract Testing and its potentials for API development and maintenance The slides below are the slides I had shared for my PyOhio 2017 talk.
Apache Hosting your Django app with a PHP app There might come a time when you need to host a Django and PHP site side by side on a single Linux box (Ubuntu in this case). After installing your LAMP box simply create a new conf file with the site name such as
code Morse Code with Python Morse code is an awesome tool. I have always been amazed by it. I remember my mom and dad buying me a walkie-talkie that had the morse code on a sticker on the side. I would click on the beep button on the walkie-talkie
coding Python Currency Converter Really wanted a way to handle currency and exchange rates. The thing is that a lot of the solutions were based on Python2 libraries. The one I am going to share now is based on Python 3. So please don’t bother me with
code Function, method, static method and class method, Oh my! Was working on a piece of Python software. For the first time I got to use Python’s @staticmethod. It all made sense. So this post will be about that. Some quick notes: Function: A function is a block of organized, reusable code that
array String concatenation or array join, which is faster? Was working on a front end project that used JavaScript. I had written a simple string concatenation for a method. Later in a code review we had a discussion with my co-worker and friend regarding if the concatenation could be done using join instead.
csv Interview Question Just wanted to post an interview question I came across which might help those in need. The task was : Use the language of your choice to write a program that reads a CSV file and outputs the contents of the file sorted by the
Django Writing a Django app for a language that must use UTF-8 Have been writing a Turkish Django app for the past couple of days. The problem is that the Turkish language best works with UTF-8. If you are using MySQL you must make sure that your encoding is utf8_turkish_ci. # -*- coding: utf-8
linux Image Capturing from WebCAM using OpenCV and Pygame in Python I know there a lot of examples of WebCAM image capturing on the net. Mine is one of that but the main difference is that this little script here simply captures frames in a certain fps and simply saves those images. There numerous usages
code Getting raw data from a USB mouse in Linux using Python If you are geek your mouth should be watering by now. I will like to thank Oscar Lindberg and his cool Linux friend for this code! I was trying to get multiple-mice movement data. This is the code that got me started. Once I
grandpa From the beginning please Hi there. Summer over and so is my work with the company RENKO ITH. IHR. LTD. STI.. Worked for peanuts doing lots. Proud of it. Paid my school tuition with the peanuts. I think this makes my school a three ring circus :D. Work
angstrom Installing Ångström Linux on BeagleBoard We have been able to install Ångström Linux to our beagle board. Ran into couple problems. The first one was we trusted BeagleBoard Beginners wiki just too much!! You see we learned that we should NOT set any environment variables while using demo u-boot
linux Workflow of the BlackBox System and Connecting in Two Steps (Python+SSH) If you have been following this blog you probably knew that this post was coming. I have been able to use SSH and Python together with some dependencies. These dependencies are Paramiko from http://www.lag.net/paramiko/ and a python sript (which I