I realize many IDEs do this, but I felt like writing a few lines of script to spit this out instead. This will grab every line marked “private”, whether method or member variable and generates a default getter/setter. Note: it doesn’t insert the code for you or even capture to a file. Maybe next I’ll [...]
Archives for Uncategorized
Count Outlook Inbox Unread / Total From Ruby
Well, Track your unread items/total items count in Outlook on startup, except for the pesky Outlook Macro disabled security problem. Besides, I never restarted Outlook often enough for it to track much of anything. Instead, I decided to create a Ruby script to track the count. I’ve left reference URLs and test notes in place [...]
Opera leaps past iPhone in the mobile-browser market
Saw this via the following article: “Opera passes iPhone to lead mobile-browser market“ What’s interesting is the trend graph itself: Source: StatCounter Global Stats – Mobile Browser Market Share What about mobile operating systems, though? iPhoneOS and SymbianOS in a duel: Source: StatCounter Global Stats – Mobile OS Market Share As far as mobile search [...]
Testing e-mailing in posts through WordPress
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On the Admin page, under Settings->Writing: Post via e-mailTo post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three [...]
Made a space for my "tech notes"
I’m moving my tech stuff to tech0x20.com (Tech Space) I originally created three sites on my thomaspowell.com domain: linux-notes – I started my blogging experiment here.vim – My “adventures” in vim, not a very broad audience, but I liked keeping public notes on my favorite programming editor here.developernotes – I realized that I was researching [...]
Found some Gtk/Ruby signal stuff.
(For gtk2+ruby, I used the Windows installer package) For some reason, I'm trying to learn a portable language/toolkit. First, I had to find the correct signal to connect to. Looks like focus_out_event is it. currentMileage.signal_connect("focus_out_event") { mileagePerDay.text=((targetMileage.text.to_f – currentMileage.text.to_f) /(Time.parse(targetDate.text)-Time.now)*3600*24).to_s} signal_connect vs signal_connect_after… apparently, improper usage of signal_connect (for "focus_out_event") will generate the [...]
I remember the good old days of domain squatting
At least you had to pony up a few bucks per domain name back then. Now there's Twitter squatting. It's fairly predictable, really… Every single letter TwitID is taken. Common surnames… taken. Common words… taken. Apparently, you don't even need to use a legitimate or at least legitimately unique e-mail address to do it.
Classic Blogger and PHP?
A question via e-mail: I stumbled upon your blog: http://developernotes.thomaspowell.comWhat I noticed – and it's something that I wanted also – is that your blogpages are all ending in .php, even your individual blogpost pages (http://developernotes.thomaspowell.com/2008/10/remember-milk-is-on-twitter.php) How do you do that in settings? I can only get the index page to end as PHP. The [...]
Is a Yahoo developer platform worth the time investment to learn?
Yahoo Introduces Social Developer Platform "3 elements": Yahoo Social Platform, a set of REST-based social application programming interfaces (APIs) for utilizing social data related to Profiles, Connections, Updates, Contacts, and Status. Yahoo Query Language, a new Web service API for accessing other Web services using a SQL-style query language, rather than a lower-level programming code. [...]
All these silly little Top 10 lists.
Okay, so I just love punditry sometimes… 10 Things That Won't Make Windows 7 A Success (and 1 That Will) 8. Death By A Thousand Versions Of The Same Product. How many versions of Vista are there again? Okay, if you say so. We only need 3 versions of Windows 7: a home version, a business version, [...]
Posts