-
Recent Posts
Recent Comments
stylesuxx on Betaflight Beeper/Buzzer Setup Richard Dean Frankli… on Betaflight Beeper/Buzzer Setup stylesuxx on SVG to STL converter Rich on SVG to STL converter stylesuxx on Imagotag G1 2,7″ Te… Categories
Archives
- November 2018
- January 2018
- December 2017
- August 2017
- July 2017
- May 2017
- April 2017
- February 2017
- January 2017
- December 2016
- November 2016
- August 2016
- July 2016
- January 2016
- December 2015
- November 2015
- September 2015
- August 2015
- January 2015
- October 2014
- September 2014
- June 2014
- March 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- My Tweets
Meta
Support me via Affiliate Links
Category Archives: Programming
Update github fork
To update your github fork, you need to first clone your fork. Then add a remote branch to the original repo, fetch it, merge it, push it:
Django project setup with mysql and south
Setting up a Django project with mysql and south in a virtual environment. This is just a quick follow up to my last post about django setup. Edit settings.py and add south to the installed apps. Also set up your … Continue reading
Posted in Django, Programming, Python
Leave a comment
Configuring your system for opencv
After following the installation instructions for opencv on linux you will most likely have to add the directory where the libs were installed to your library path. Create /etc/ld.so.conf.d/opencv.conf and add the directory where the lib was installed. In case … Continue reading
Posted in Programming
Leave a comment
Broke my GitHub streak
I just realized that I broke my GitHub streak on Friday – Damn! So my longest streak is now 21 days. At least now I have something serious to top 😉
JavaScript change URL in URL bar without reloading the page
Sometimes it is necessary to change the URL in the URL bar without reloading the page, for example if you load new content via AJAX but still want the page to be bookmarkable. To accomplish this all you need to … Continue reading
Android App Horizontal Ruler
To get a horizontal Ruler between some of your elements just add a view with fixed height and background color. Like so: This will result in a horizontal Ruler of 2dp height.
Posted in Android
Leave a comment
How to deal with android.os.NetworkOnMainThreadException
If you run into this exception you should adapt your code and move your networking out of your main thread. Therefore you create a class that extends AsyncTask. Here a commented example: You can than execute the task like so: … Continue reading
Android Studio: Setting up tabs in a TabHost Container
A short tutorial of how to add an popularize a tabhost container in Android Studio. In the design view add a tabhost container. Add/remove the tabs as you need and rename the tabs to something meaningful, prefixing the id’s with … Continue reading
Slush’s pool block notification
I wrote a small python script that sends a system notification whenever a new block on slush’s pool is found. Additional it can display your reward for this block. You only need your API token which you can find on … Continue reading
Posted in Bitcoin, mining, Programming, Python
Tagged slush's pool, system notification
Leave a comment
Github streak till 30C3
I am trying to get a perfect streak on github till the start of 30C3 which is on December the 27th. This means at least one commit a day. I think this is manageable, although I do not want to … Continue reading