Quantcast
Channel: Arkaitzj's Blog
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Starting with PSP homebrew

Host system: Debian GNU/Linux sid/testing x86 PSP: PSP Slim with a hacked 3.90M33-2 firmware Required tools and libs Prepare a place for the PSP development stuff: mkdir -p $HOME/lib/pspdev Make it...

View Article



Image may be NSFW.
Clik here to view.

localtime is not thread safe

Thats right, current glibc’s implementation of localtime function is not thread-safe, instead we have localtime_r available which offers the same functionality but it is reentrant. Here is why...

View Article

Image may be NSFW.
Clik here to view.

Receiving notifications for new stackoverflow c++ questions

Just created a quick perl script for reading the c++ question rss feed and used notify-send to get the notifications in the desktop. You need libnotify-bin and notification-daemon installed in your...

View Article

Image may be NSFW.
Clik here to view.

C++0x cool features: Lambda function

Have you heard that a new c++ draft is coming soon? It’s called c++0x for the moment and includes some new cool features. A good description of the new features. Basics I’ve been recently playing...

View Article

Image may be NSFW.
Clik here to view.

Static locals and threadsafety in g++

Often when looking in the internet for implementations of some patterns in C++ we come across the well-known Meyers singleton, which is basically the next code: class Singleton{ Singleton(){ //...

View Article


Image may be NSFW.
Clik here to view.

Widen wordpress.com Contempt theme

Just buy the “edit css” improvement and add the next lines to your css to get a wider theme, you’ll lose the shadows on the sides though. #pagebar { width:955px; } #page { width:955px; } #content {...

View Article

Image may be NSFW.
Clik here to view.

C++ tuples, a quick overview

Ok, c++ tuples, here is quick and dirty: // g++ 4.1 #include <string> #include <iostream> #include <tr1/tuple> using std::tr1::tuple; using std::tr1::tie; using std::tr1::make_tuple;...

View Article

Image may be NSFW.
Clik here to view.

Linux, add user to a group without logout

We often find that we need to add ourselves to a given group to access a resource. Like, we need to access the cd reader and only people in the cdrom group can access it. Easy stuff, we just use sudo...

View Article


Image may be NSFW.
Clik here to view.

VNC in your browser through WebSockets, handled by Gevent

Reading on websockets the other day I ended in this article about websockets and vnc and it draw my attention immediately over the showmethedesktop project. Now, given my interest on async servers and...

View Article


Image may be NSFW.
Clik here to view.

bash directory bookmarks with autocompletion

Just stick this in your ~/.bashrc declare -A bookmarks bookmarks["myproject"]="/home/user/projects/folder/myproject" bookmarks["tmp"]="/tmp" keys=${!bookmarks[@]} function bm { if [ -z $1 ];then...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images