Archive for category english

My top 10 mac apps

Here is my top 10 Apple apps that I use on regular basis and I could not live without…

  1. Panic Coda
    coda1.png
    One-Window Web Development for Mac OS X
  2. 1password
    1passwdicon-300x300.png
    Password Manager + Automatic Form Filler for Mac OS X
  3. Read the rest of this entry »

5 Comments

Airport extreme 6to4 manual tunnel

I noticed that Apple's airport extreme wireless router can do IPv6 tunneling over IPv4 networks, and since my ISP doesnt support native IPv6 yet I have to use this option… By default it is done automatically using automatic 6to4 tunnels, but since I like to know where my traffic goes to I prefer to do it manually…

After few tries I managed to get it working, there is just a small, simple trick: IPv4 public address must be set to manually configured static IP address, it does not work with DHCP server, even if the IP address you get is always the same. And since there is no logging output to make troubleshooting figuring this out can be a problem… :)

Screen shot 2010-06-11 at 6.32.09 PM.png

After that it works great… IPv6 to the home! ;)

lpm

1 Comment

Apache IPv6 UMTS server @Nokia N900

Nokia N900 is the first mobile device that can do "dual-stack" IPv4 and IPv6 connection on packet data mobile networks (EDGE,UMTS,HSPA) – well, 2 separate PDP contexts anyway, but close enough since it is not really supported by 3GPP yet. It requires some kernel modifications, which I cannot provide here, but if there is any interest send me email and I can provide some info on that subject…

Anyway, once we have IPv6 connectivity to internet we can also setup device to act as web server – since it is a Linux device this is not too hard to do. However, most mobile operators block the incoming TCP connection toward clients to prevent overcharging, so contact your ISP to verify if incoming connections are allowed. Here is the output from my ifconfig, that shows two active mobile data interfaces and sessions, one for IPv4 and second for IPv6:

gprs0     Link encap:UNSPEC  HWaddr *
          inet addr:10.10.9.14  P-t-P:10.10.9.14  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1400  Metric:1
          RX packets:1158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:162582 (158.7 KiB)  TX bytes:139618 (136.3 KiB)

gprs1     Link encap:UNSPEC  HWaddr *
          inet6 addr: 2a02:840:beef:30::2/0 Scope:Global
          UP POINTOPOINT RUNNING NOARP  MTU:1400  Metric:1
          RX packets:73 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:8680 (8.4 KiB)  TX bytes:39414 (38.4 KiB)

Read the rest of this entry »

2 Comments

Captcha with jQuery, ajax and php

A while ago I came across this guide, as I was searching for some simple captcha implementation for some website. Plain and simple, all clear. The only thing I didn't like too much is the javascript part, for webpages I mainly use jQuery for javascripting, so I wanted to use jquery for ajax functions. Also, including multiple inputs besides captcha code makes javscript more comeplex (please read the comments, near the end) nad that is where jquery comes in handy.

The simplest possible example you can find on http://mihap.si/share/captcha/.

What we need:

Read the rest of this entry »

5 Comments