• Happy New Year ! Thanks for all of you, visiting this small site :)Have a great 2015 !
    Posted Jan 3, 2015, 7:39 AM by Peter G. Marczis
  • Reset - Moved We moved finally here.All the old articles are here, or most of them. The useless ones were removed, if you missing something write to me or leave comment. Please ...
    Posted Nov 5, 2012, 12:32 AM by Peter G. Marczis
Showing posts 1 - 2 of 2. View more »


  • [ext] Custom url handlers, before I forget it again. So if you need to have your own program to handle custom urls like: ssh://user@target.http://edoceo.com/howto/xfce-custom-uri-handler
    Posted Aug 19, 2015, 11:48 PM by Peter G. Marczis
  • Backup your config files with git So, it was in my mind for a long time to use some SVM for config files. But there were a couple of annoying things things in the way. Until ...
    Posted Jan 18, 2015, 11:38 AM by Peter G. Marczis
  • How to recover from "chmod -x chmod" So, recently I got this really interesting question... Let's see some options I came up recently...First of all on Fedora you can't do that :D[0][root ...
    Posted Sep 12, 2014, 3:53 AM by Peter G. Marczis
  • NetworkManager VPNC always asking for group password cd /etc/NetworkManager/system-connections/vim <You-VPN-Connection-Name>s/IPSec secret-flags=0/IPSec secret-flags=1from: https://bugzilla.redhat.com/show_bug.cgi?id=887879And ...
    Posted Jul 13, 2014, 11:36 AM by Peter G. Marczis
  • Enable NetworkManager debug logs I guess its not so easy to find this out:sudo dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.SetLogging string:"debug" string
    Posted Jun 30, 2014, 12:24 AM by Peter G. Marczis
Showing posts 1 - 5 of 51. View more »

C / C++

  • [ext] Controlling the CPU / Thread in code... So if you want to ensure that given thread runs on given cpu... read this great tutorial about the topic:http://www.ibm.com/developerworks/linux/library/l-affinity/index ...
    Posted May 13, 2014, 11:50 PM by Peter G. Marczis
  • [ext] Something really important about makefiles & $(shell) If you wonder why it calls your external programs so often...http://www.electric-cloud.com/blog/2009/03/23/makefile-performance-shell/
    Posted Nov 8, 2013, 10:33 AM by Peter G. Marczis
  • Thread Local Singleton (4 pthread) Hi,so during my work, we had a nice problem, and the bright idea to solve it was to get some thing like "Thread Local Singleton" done.It's not ...
    Posted Oct 1, 2013, 11:43 PM by Peter G. Marczis
  • [ext] Intel Thread Building Blocks a.k.a. libtbb Really worth to check, if you interested in high level parallelism:http://blog.ruslans.com/2013/08/introduction-to-high-level.htmland the webpage of the tbb:http://www ...
    Posted Aug 18, 2013, 11:59 PM by Peter G. Marczis
  • [ext] Everything you ever wanted to know about string to int conversation soo good article ! Please check out, if you working with C++ code. :)http://www.kumobius.com/2013/08/c-string-to-int/
    Posted Aug 16, 2013, 5:21 AM by Peter G. Marczis
Showing posts 1 - 5 of 20. View more »

Bash & Python

  • Combine cmd.Cmd and argparser for fun and profit So, you already know how to use the Cmd module, and you able to do super cool cli-s, as an extra you can use the argparser for every one ...
    Posted Aug 21, 2015, 12:58 AM by Peter G. Marczis
  • [ext] Command line like things in python Okay, so recently I started a project, which I call ESC, let it be secret still (hopefully not for ever)... but as you may, guessed, it will look like a ...
    Posted Jun 28, 2015, 10:06 AM by Peter G. Marczis
  • [ext] Useful python modules - ConfigParser I'm planning to have a kind of series where I introduce useful python modules, as you may not find always them, or you just miss them.The first one ...
    Posted Mar 30, 2015, 1:57 PM by Peter G. Marczis
  • The problem with "range" in python (in case of big numbers) Just realized today, while I was working on something... in python we often tend to use this:for i in range(0, n):    print iso what, you would say ...
    Posted Oct 2, 2014, 12:06 AM by Peter G. Marczis
  • SHU release for the "mass" So, I did a small framework, as a proof of concept, for shell script unit testing. Yeah, I know, but I had to develop some service scripts and I fed ...
    Posted Sep 28, 2014, 12:55 PM by Peter G. Marczis
Showing posts 1 - 5 of 13. View more »