Accessing corporate GIT repositories without a VPN

I usually just write here so I can remember these things later, but this time is something to be found by others. So, it is normal to have our git repositories accessible in the public internet (access controlled or not), but it is possible that your repositories are only accessible within your corporate network, and […]

Using LDAP to authenticate with a svnserve server

I had this already set up in another server  but we had to set up a new svn server even though we already switch most of our stuff to git… So, after setting the the svnserve daemon, we need to set up LDAP authentication. We are using debian servers so I needed to install sasl2-bin […]

Visualizing thread context switch and schedule timeline in Linux

Recently I needed to see when my threads were executing and in which processor, and it took me a couple of days to get this done. Here is the best solution I’ve found. First of all, we need the kernel to be compiled with some debug features enabled http://www.mjmwired.net/kernel/Documentation/trace/ftrace.txt https://www.kernel.org/doc/Documentation/trace/ftrace.txt We’ll need to mount the […]

“Xlib: PuTTY X11 proxy: wrong authentication protocol attempted” solution!

After wasting a couple hours I’ve found someone who had the solution, which I found through this guy’s blog. In my case, what I had was a chroot jail inside a server (which I also had full control), here are the steps:   Connect to the server Execute: # xauth list devserver/unix:10  MIT-MAGIC-COOKIE-1  f44098e4ee6687e163c152a72c7dacbd and […]