def recent = [python, grails, netbeans platform, hibernate, spring, vaadin, google guava]

Posted by Ktoso under Project13, english, fun, java (No Respond)

Just an quick summary of what I’ve been coding lately: http://github.com/barthez/mysql.integra.dbfiller – an simple Python app that is able to generate SQL code with inserts that we need to fill up our database for load testing. It’s doing an simple simulation of people checking in and out from various activities at some job and calculates [...]

Tags: , , , , , , , , , , ,

OVH’s “main domain” concept

Posted by Ktoso under coding, null (2 Responds)

This will be an short explaination about how OVH treats domains/servers (virtual servers) as @pwesolek asked me on twitter to expand about this a little. What I don’t “like” there is that an server is bound to one special domain that they call the server’s “main domain“. Fair enough, he ought to have some “main” [...]

Tags: , , , , , ,

jQuery tricks 1: automatic-wslider

Posted by Ktoso under coding (4 Responds)

This time I’ll post some actual code. A client wanted me to write an “image slider”. You’ve probably seen lot’s of them online – and a whole lot of them is in flash – why? There is no need to involve flash in such a trivial task, and jQuery is more than up to the [...]

Tags: , , , , , , , , ,

Terminal Heroes – 1 – mysql backup insert

Posted by Ktoso under coding, terminal heroes (No Respond)

Just a quick note while dumping a 70MB database… ;-) Let’s say i got my database backup from phpmyadmin, compressed with gz (zip’s also fine), while getting the backup,even if it’s BIG ain’t really a problem, putting it into the database can be troublesome becouse timeout’s etc, especially if it’s a BIG file ;-) My [...]

Tags: , , , ,

Wymuszanie przedrostka www.

Posted by Ktoso under coding (No Respond)

W razie jakby ktoś potrzebował wymuszać dodawanie przedsrostka www do adresu swojej strony (co może ułatwić życie użytkownikom i wyszukiwarkom, bo nie będzie jakby “kopii” jest samej strony pod innym adresem (bez www.)). Wystarczy zastosować poniższy kawałek kodu w pliku .htaccess: RewriteEngine On #wymuś adres z przedrostkiem www. RewriteCond %{HTTP_HOST} ^blog.project13.pl [NC] RewriteRule ^(.*)$ http://www.blog.project13.pl/$1 [...]

Tags: , ,