ip2cntry – ex-appengine app (mainly JAX-RS)

Posted by Ktoso under coding, guide, java (No Respond)

I’ve been coding an simple RESTful “ip to country” conversion service. I’ve decided to put it up to appengine – so that everybody may use it freely even if I’d change my server etc… And if looked quite nice the first day – buw when I got to do some “real stuff” app engine started [...]

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

The Grails way #0: Simple Twitter TagLib

Posted by Ktoso under coding, java (No Respond)

Let’s skip the introduction of taglibs, (since anyone knows what they are), and get to the code really quickly! If you’ve seen netbeans.edu.pl you probably noticed the twitter part on the right. As twitter’s API is really simple to use, one could implement this on ones own, but why do so if we’re in the [...]

Tags: , , , , , , ,

NetBeans Platform Lookups as communication method

Posted by Ktoso under coding, english, guide (2 Responds)

Helo again! Today’s post will be an super quick usage scenario for NetBeans Platform Lookups – the probably most essential part of the Platform. An super simple explanation of them is “an Map<Class, Object>”. Sounds simple right? Well it is, and it’s quite powerful at the same time. It enables you to loosely couple parts [...]

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: , , , , , , , , ,

Smart webpage migration

Posted by Ktoso under coding, freedom, guide (No Respond)

I recently had to migrate a big website – about 5GB – to a new server. That could take a while to do, right? Well, maybe if you did it like that (the not smart way): Thanks goodness I’m not really keen on doing stuff the slow “not_smart” way, and the new server is a [...]

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: , , , ,