Meta
Blogroll
IP info
Programs
Category Archives: Programming
Let us hope this pans out for the PSF
Read the article over here: Python trademark at risk in Europe: We need your help!. I really hope this backfires so hard that no one else will try similar things on well established names that have been spread by non-profit … Continue reading
Posted in EN, Python, Software, Thoughts
Leave a comment
In which Hg repo is the hook getting executed?
REPOPATH=$(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’) Based on this, btw, I came up with the following hook in the hgrc file: [hooks] changegroup.bundlerepo = hg bundle -a $(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’)/.hg/bundled.hg The idea is to create a bundle with all revisions whenever … Continue reading
Mercurial woes
Today I stumbled over an awkward issue. Pulling from a repo mounted read-only I always got: searching for changes adding changesets transaction abort! rollback completed abort: index [filename] is corrupted! where the filename would differ. First I tried downgrading my … Continue reading
Tmux is great … (but how to build on Lucid Lynx?)
… only a few troubles to get it to build on Ubuntu 10.04 LTS 😉 Basically you’ll want libevent2, which doesn’t come in the package repos, so fetch it from here. Then you obviously fetch the tmux source via tmux.sourceforge.net … Continue reading
Bitbucket not accepting StartCom CA
After contacting the Bitbucket support, I now know that they don’t support the StartCom CA. The apparent reason is that they use the stock CA certs supplied by Redhat (no version was specified in the response). It’s a bit annoying, … Continue reading
Posted in EN, VCS
Leave a comment
Some of my stuff now also on Bitbucket
Find it via bitbucket.org/assarbad/. // Oliver
Posted in EN, Programming, Software, VCS
Leave a comment
Hope I got it right …
Here’s a little command line tool to retrieve the product key from a running Windows 8. It should also work on Windows XP through 7. I am releasing the code into the public domain. I hope I got it right, … Continue reading
Posted in C/C++, EN, Programming
Leave a comment
Rather balanced
Mercurial vs Git: Why Mercurial? Git vs Mercurial: Why Git? And more goodness follows here.
Posted in EN, Programming, Software, VCS
Leave a comment
Once again updated: looklink
As already in the past, I updated looklink again. This time it received two command line options, –verbose and –nologo and the CReparsePoint class was overhauled. One issue was fixed. CReparsePoint would behave improperly when being passed the current directory … Continue reading
Posted in C/C++, EN, Programming, Software
Leave a comment
Premake4 snippet to create solution names depending on target Visual Studio version
I prefer to name my solutions and projects something like projectname.vsX.sln and projectname.vsX.vcproj respectively. However, by default Premake4 generates the names as they are passed to the builtin solution and project functions respectively. Not cool enough for me. By the … Continue reading
Google Code now only via login …
Google Code apparently requires logging into your Google account now before you can do anything. Well, good for them. Makes the use of svnsync and similar tools impossible, especially in unattended scenarios. Byeeeeeeee … svnsync: OPTIONS of ‘http://fuzzdb.googlecode.com/svn’: authorization failed: … Continue reading
Posted in EN, Programming, Thoughts
1 Comment
German federals looking for trojan author – still
The German federals (BKA = Bundeskriminalamt, roughly the German equivalent to the FBI in the US) are still looking for someone with the qualifications to write what had been dubbed “Bundestrojaner” (literally: federal trojan) in 2008. This means that first … Continue reading
Posted in C/C++, EN, IT Security, Reversing, Software, Thoughts
Tagged BKA, Bundestrojaner, germany
Leave a comment
One of the oldies …
Metager was one of the first meta-search engines (obviously) for me at the university. Now I found out that they also have a neat code search at code.metager.de. Wicked! // Oliver
Posted in EN, Programming
Leave a comment
Another interesting site for me
unlicense.org with advice how to dedicate one’s own code to the public domain …
Posted in EN, Programming, Software
Leave a comment
Annoyance in the Windows SDK headers
Today I ran into the following error: Error 1 error C2733: second C linkage of overloaded function ‘_interlockedbittestandset’ not allowed $VCDIR\include\intrin.h 944 Error 2 error C2733: second C linkage of overloaded function ‘_interlockedbittestandreset’ not allowed $VCDIR\include\intrin.h 945 Eeek, what’s going … Continue reading
Raspberry Pi shipping …?
Seems the first batches went to Farnell and RS. I registered my interest at RS already, let’s see. Seems like the demand is way above supply, so it’s pure chance. Besides, it appears that they sell only one per person … Continue reading
Thank you, whoever you are. Thank you sooo much!
Finally someone says it. Finally! gitvsmercurial.com Quote: Who the FUCK cares? Use what YOU like, not what someone on the internet tells you to. I wholeheartedly agree. Except when read vertically
Posted in EN, Programming, Software, VCS
2 Comments
prune-kernels function …
If you are like me, you will have noticed on Ubuntu (and sometimes Debian) that stale old kernels remain on the disk even when they aren’t needed anymore. I wrote a little Bash function to get rid of those kernels. … Continue reading
Posted in Administration, Bash, EN, Linux, Programming, Unix and unixoid
Tagged bash
Leave a comment
Not used often enough in my opinion
Often people put on a condescending smirk when they hear that I still have to use CVS, let alone Subversion, in some projects. In numerous projects I have seen the performance of CVS and that of Subversion and it is … Continue reading
Selecting the editor on Debian/Ubuntu non-interactively
Set the selected editor on Ubuntu/Debian for yourself and root in one line: echo ‘SELECTED_EDITOR=”/usr/bin/vim.nox”‘|tee $HOME/.selected_editor| \ sudo tee /root/.selected_editor or echo “SELECTED_EDITOR=\”$(which vim.nox)\””|tee $HOME/.selected_editor| \ sudo tee /root/.selected_editor // Oliver