Keys are the basis of public key algorithms and PKI. Keys usually come in pairs, with one half being the public key and the other half being the private key. With OpenSSL, the private key contains the public key information as well, so a public key doesn’t need to be generated separately. Public keys come in several […]Read more "Generating private keys with openssl"
I keep forgetting this one hence writing it up. Every so often you need to flush the local dns cache – usually you’ve made a change in some dns & you want to test it immediately etc. dscacheutil -flushcache It’s that simple – so simple it’s an easy one to forget 😦Read more "How to flush the DNS Cache on OSX"
I’ve just had this one with a pptp vpn – one network was accessible over it but another behind it wasnt so I had to add a static route. First you need to know the remote ip address of the vpn connection: sabrina:table peter$ ifconfig ppp0 ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1444 inet 192.168.1.3 –> 192.168.1.1 netmask […]Read more "How to add a static route on OSX"
Since the announcement by Apple last week about deprecating Java on OS X, there’s been a few people wanting to know how to compile OpenJDK on the Mac. Although I’ve not done this for JDK 6, this article cover’s how to compile and use the current development version of JDK 7.0 on OS X. First […]Read more "Compiling Java 7.0 on OS X"
Some people like myself use mobile broadband for their internet connection, either because it’s the only option where they live or like me have had enough of BT (in the UK you usually still need BT for the physical line regardless of the ISP). Now with the various dongles they work fine on the the […]Read more "Turn your Mac into a Wifi Base Station"
I’ve been playing with NetBeans 6.7M3 and the latest Mercurial plugin and found that I couldn’t push to a remote repository via ssh. All netbeans would return was: Here the remote server is trying to prompt for the login password but fails because OSX 10.5 does not have the ssk-askpass command. After some searching on […]Read more "ssh-askpass on OSX 10.5"
Maplin currently have some special offers on at the moment and one of them is the Nikkai A88JB USB PVR Digital TV Receiver for £39.99. Now I wasn’t really in the market for a new receiver but what caught my eye was that, unlike other standalone Freeview boxes with a card slot or usb port, […]Read more "Nikkai A88JB FreeView PVR"