Coredump

Work, play, and everything in-between.

Archive for the ‘hacks’ tag

Email-to-mobile hack

without comments

Not!

I was scheming a quick-and-dirty email-to-SMS hack:

  • Send email notifications to my vanity mail address. Tag it “sms”.
  • Create a filter that forwards mails tagged “sms” to 63xxxxxxxxxx@chikkatalk.com
  • As we all know, @chikkatalk.com is Chikka’s federated XMPP server. So… mails should then be received in my mobile phone.

Easy does it, right? Well, not. Chikkatalk.com is indeed an XMPP server, but not a mail server:

[iandexter@hiraya ~]$ dig mx chikkatalk.com

; < <>> DiG 9.2.5 < <>> mx chikkatalk.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER< <- opcode: QUERY, status: NOERROR, id: 32086
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;chikkatalk.com.           IN   MX

;; AUTHORITY SECTION:
chikkatalk.com.  10503 IN   SOA   ns1.chikka.com. »
   hostmaster.chikka.com.com. 2006060100 3600 600 604810 86400

;; Query time: 2 msec
;; SERVER: 192.168.1.101#53(192.168.1.101)
;; WHEN: Fri Oct 27 00:53:32 2006
;; MSG SIZE  rcvd: 101

[iandexter@hiraya ~]$

Eep. Stupid me. :P

Written by Ian Dexter

October 27th, 2006 at 1:10 am

Posted in Play

Tagged with , , , ,

CLI shortcuts, 6

without comments

Here’s a nifty SSH ’shortcut’. This requires that you have an existing SSH key on the remote box.

Use this script, named ssh-to:

#!/bin/sh
ssh `basename $0` $*

Add to the bin directory, then add symlinks to your remote box(es):

$cd /bin
$ln -s ssh-to remote-server-name

Issue a remote command:

remote-server-name free

Source: O’Reilly Linux Server Hacks

Written by Ian Dexter

July 15th, 2006 at 12:33 am

Posted in Play

Tagged with , ,

Gingerbread PC, anyone?

with one comment

Wanna learn how to make a PC out of gingerbread? This Swedish site shows you how. Time to crank up Babelfish. UPDATE: Alas! Babelfish doesn’t do Swedish. This other translation site spews rubbish as well. *Sigh!* Good thing there are pictures. [via Boing Boing]

Written by Ian Dexter

December 14th, 2005 at 8:19 am

Posted in In-between

Tagged with , , , , , ,

USM, PhilRice develop low-cost Wi-Fi

without comments

To access rich content such as video and images on the internet through a broadband connection, extension workers and farmers need not look further than the kitchen.

In an effort to provide wider access to information for Filipino farmers and extension workers, information and communication technology (ICT) specialists from the University of Southern Mindanao (USM) and the Philippine Rice Research Institute (PhilRice) have developed a “low-tech” solution to connect to the internet through Wi-Fi: using antennas made of pots and pans.

Read full article at the Pinoy Farmers’ Internet portal.

Written by Ian Dexter

April 7th, 2005 at 8:31 pm

Posted in Work

Tagged with , , , , ,