I’ve always liked looking at screenshots of peoples desktops. Then I realized I have never uploaded a screenshot of my desktop so here it is in it’s current form :smile:

I haven’t posted my system specs or how I got it to look like this but if you are interested, asking always works ;)

In the last few days, I have been trying to find a twitter client for jaunty but so far nothing works or there are unresolvable dependencies. I could get the dependencies from the newer distros but then I might break something so I decided not to. Instead, I have decided to create a twitter client.

Yes, you heard me correctly. I will create a twitter client for jaunty. Scratch that. I will create a twitter client that will run on any GNU/Linux distro without crying about missing dependencies. I will create it in pyGTK so it will work almost anywhere. It will of course be open source.

Therefore I introduce you to Tweety. It is named in honor of Tweety from The Looney Toons which is one of my all time favorite cartoons so I will probably try to make its icon look like Tweety. I registered the application already with the name Tweety by Midnight Labs since Tweety was already taken. It will take at least a week to create and test this app and it will be launched in a new area of my site called Midnight Labs which goes live before Tweety goes public. (I haven’t worked out all the details yet)

If you would like to know when Tweety is released then drop me a line (either in the comments or via twitter or through the contact page).

So I just removed usplash from my jaunty installation and installed splashy. The problem was that when I rebooted, splashy did not start and the verbose showed this error:

Splashy ERROR: Connection refused

So after searching the web for fixes and nearly cracking my head, I found the problem.

When splashy is installed, it adds itself to the boot parameters of the kernel but it forgets to add the video mode. So after installing splashy, the kernel boot line looks like this:

kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=d3cef047-ce4f-434e-8091-9236d5785f61 ro quiet splash

All you have to do to get splashy to work is add vga=792

So after edititing /boot/grub/menu.lst, the kernel boot line should look like this:

kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=d3cef047-ce4f-434e-8091-9236d5785f61 ro quiet splash vga=792

Save the file and reboot and splashy starts as is should.

Note: You need root privileges to edit the boot menu.

So I was looking for a list of HTTP headers I can use in the PHP header() function but sadly all I could find was people describing what each header would do.

So after snooping around for a little while, I managed to compile a list of HTTP headers that you can just copy & paste straight into the header() function. Here they are

“HTTP/1.1 100 Continue”
“HTTP/1.1 101 Switching Protocols”
“HTTP/1.1 200 OK”
“HTTP/1.1 201 Created”
“HTTP/1.1 202 Accepted”
“HTTP/1.1 203 Non-Authoritative Information”
“HTTP/1.1 204 No Content”
“HTTP/1.1 205 Reset Content”
“HTTP/1.1 206 Partial Content”
“HTTP/1.1 300 Multiple Choices”
“HTTP/1.1 301 Moved Permanently”
“HTTP/1.1 302 Found”
“HTTP/1.1 303 See Other”
“HTTP/1.1 304 Not Modified”
“HTTP/1.1 305 Use Proxy”
“HTTP/1.1 307 Temporary Redirect”
“HTTP/1.1 400 Bad Request”
“HTTP/1.1 401 Unauthorized”
“HTTP/1.1 402 Payment Required”
“HTTP/1.1 403 Forbidden”
“HTTP/1.1 404 Not Found”
“HTTP/1.1 405 Method Not Allowed”
“HTTP/1.1 406 Not Acceptable”
“HTTP/1.1 407 Proxy Authentication Required”
“HTTP/1.1 408 Request Time-out”
“HTTP/1.1 409 Conflict”
“HTTP/1.1 410 Gone”
“HTTP/1.1 411 Length Required”
“HTTP/1.1 412 Precondition Failed”
“HTTP/1.1 413 Request Entity Too Large”
“HTTP/1.1 414 Request-URI Too Large”
“HTTP/1.1 415 Unsupported Media Type”
“HTTP/1.1 416 Requested range not satisfiable”
“HTTP/1.1 417 Expectation Failed”
“HTTP/1.1 500 Internal Server Error”
“HTTP/1.1 501 Not Implemented”
“HTTP/1.1 502 Bad Gateway”
“HTTP/1.1 503 Service Unavailable”
“HTTP/1.1 504 Gateway Time-out

Like I said it is pretty easy to use these headers. For example

header("HTTP/1.1 403 Forbidden");
header("HTTP/1.1 301 Moved Permanently");
header("Location: imovedhere/");
© 2012 Fabian's Blog Suffusion theme by Sayontan Sinha