Mohanjith's Blog http://www.mohanjith.net/blog MOHA blogging news and thoughts... Thu, 08 Jun 2017 10:52:15 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.2 Sri Lankan style Chinese fried rice recipe http://www.mohanjith.net/blog/2014/11/sri-lankan-style-chinese-fried-rice.html http://www.mohanjith.net/blog/2014/11/sri-lankan-style-chinese-fried-rice.html#respond Sun, 16 Nov 2014 22:37:14 +0000 https://www.mohanjith.net/blog/?p=1015
Sri Lankan style Chinese fried rice
Print
Chicken
  1. 400g of chicken cut into small pieces (kana)
  2. 1 red chilli thinly sliced (punainen chili)
  3. 1/2 tea spoon of baking soda (ruokasoodaa)
  4. 1 tea spoons of salt (suolaa)
  5. 1 tea spoon of corn flour (maissijauhoa)
  6. 1 table spoons of cooking oil (rypsiöljy)
  7. 1 tea spoon of Indonesian sweet soy sauce (ketjap manis)
  8. 1/2 tea spoon of ginger crushed or thinly sliced (inkivääri)
  9. 1 cloves of garlic crushed or thinly sliced (valkosipuli)
Rice
  1. 3 dl of basmati or jasmine rice (basmati tai jasmiini riisi)
  2. 6 dl of water (vesi)
  3. 1 tea spoon of chicken concentrate (kana fondi)
Eggs
  1. 4 eggs (kananmuna)
  2. 2 tea spoons of pepper (pippuri)
  3. 1 tea spoon of salt (suolaa)
  4. 1 table spoons of cooking oil (rypsiöljy)
Stir fry
  1. 2 table spoons of cooking oil (rypsiöljy)
  2. 1/2 tea spoon of ginger crushed or thinly sliced (inkivääri)
  3. 1 cloves of garlic crushed or thinly sliced (valkosipuli)
  4. 2 large carrots cut Julienne (porkkana)
  5. 1 thin leek sliced (purjosipuli)
  6. 2 tea spoons of salty soy sauce (soijakastike)
  7. 1 tea spoon of salt if needed to taste (suolaa)
Rice
  1. Prepare the rice for 4 portions as instructed in the package and put it aside. You can add 1 tea spoon of chicken concentrate but remember to reduce any salt accordingly. Usually rice to water ratio is 1:2.
Chicken
  1. Put the chicken in a bowl and add 1 tea spoon of salt, 1 tea spoon of corn flour, 1 tea spoon of sweet soy sauce, 1/2 tea spoon of banking soda and the thinly sliced chilli.
  2. Mix thoroughly.
  3. Put it in the fridge for around 20 minutes.
  4. Once the chicken is ready. Put 1 table spoon of oil into a hot wok.
  5. Then add half the garlic and ginger to that wok and let it fry for few seconds.
  6. Then add the chicken. Leave the chicken flat on the wok for 2 minutes.
  7. Then turn the chicken other way around. We want to make the chicken little brown but not burn it.
  8. Put the cooked chicken into a clean bowl.
Eggs
  1. Beat the 4 eggs lightly with 1 tea spoon of salt and 2 tea spoons of pepper.
  2. Add 1 table spoon of oil to the hot wok and then add the eggs and scramble them until the eggs are little brown outside.
  3. Put the cooked eggs into a clean bowl.
Stir fry
  1. Add 2 table spoons of oil to the hot wok.
  2. Add the garlic and ginger. Let it fry for few seconds.
  3. Then add carrots and salty soy sauce and mix well.
  4. Cover and let it cook for a minute.
  5. Then add the leeks and cover mix well.
  6. Cover and cook for 30s.
  7. Then add the rice and mix well with the vegetables.
  8. Then add chicken and scrambled eggs and mix well.
  9. Let it sit on the stove for 30s but make sure nothing burns.
  10. Enjoy!
Notes
  1. I like food with less salt. You can add salt wherever mentioned as you prefer.
  2. For the stir fry you can add bean sprouts, broccoli, bamboo shoots if you have them.
  3. Serve with sweet chilli sauce or hot chilli sauce if you can't find Chinese chilli paste.
Mohanjith's Blog http://www.mohanjith.net/blog/

]]>
http://www.mohanjith.net/blog/2014/11/sri-lankan-style-chinese-fried-rice.html/feed 0
HD Satellite TV finally in Sri Lanka http://www.mohanjith.net/blog/2012/06/hd-satellite-tv-finally-in-sri-lanka.html http://www.mohanjith.net/blog/2012/06/hd-satellite-tv-finally-in-sri-lanka.html#comments Fri, 22 Jun 2012 16:11:26 +0000 https://www.mohanjith.net/blog/?p=838 Read moreHD Satellite TV finally in Sri Lanka]]> Dialog TV finally launched HD TV in their Satellite TV subscribers. I have been asking Dialog for HD TV for more than a year, so it was only fair I signed up gave it a shot.

Signing up was a breeze, no calls to the customer service hotline; a simple SMS to 679 and I was signed up. Then I had to wait for the decoder to be delivered, but that took less than 24 hours (18 hours may be) and it came with a technician :D. Big thumbs up to Dialog for quick response.

Channels

I know the HD subscription is too high for too few channels, but considering the fact that in a tiny island everything new is supposed to be expensive I’m not complaining. However more channels would be nice. I would personally like to see the following channels being offered in HD.

  • Discovery Channel
  • Discovery Science
  • HBO Bouquet
  • KidsCo
  • The Buddhist TV (This is a long shot, but one can ask)
  • Ten Action
  • Warner TV
  • VH1

Decoder

I got a OHS1720IR decoder which comes with HDMI, RCA and S/PDIF ports (I’m not counting the USB port used by the flash drive used for PVR). I’m glad Dialog finally has a decoder which support HDMI Video and Audio. Did I tell you it also supports Dolby Digital Audio.

PVR function is very handy, now my mom doesn’t have to complain about missing programs on The Buddhist TV 🙂 When you sign up for HD Pack you get PVR for free. However the catch is you can’t record a SD channel and watch a HD channel or record a HD channel and watch any other channel. But that’s better than what we had before, so I’m not complaining.

However while preparing for the blog post I found a bug in the decoder firmware. If I take a screen capture of a HD channel remote stops working until you have to restart the DVR. But this is a borderline use case, so not a show stopper. My guess a memory leak in screen capture. It would be nice if Dialog could release a fix soon.

Also did I tell you the decoder support 1080p even though Dialog TV content is only 1080i. So the menus look better than the content itself. I hope we will soon see 1080p content 😉

Picture Quality

I guess I kept you waiting long enough before I showed you how good HD TV on Dialog TV looks. Both HD channels and SD channels look so much better on this decoder. I couldn’t find any flaws with the picture quality. All these were captured with the built in screen capture. Sizes will differ based on what what the source quality was. Please click through and checkout the quality in all it’s glory.

Ten Action National Geographic Channel HD National Geographic Channel HD National Geographic Channel HD Star Movies HD Star Movies HD Star Movies BBC Entertainment Fashion TV History Channel 18 History Channel 18 Ten Action Discovery Science Discovery Science Warner TV Discovery Channel KidsCo The Buddhist TV AXN HD

I might decide to upload a video shot with the stunning HD camera on my Samsung Galaxy Nexus to show you how good the video looks with the new decoder and show off the new HD Channels. So remember to subscribe to my RSS feed and check back in a few days 🙂

]]>
http://www.mohanjith.net/blog/2012/06/hd-satellite-tv-finally-in-sri-lanka.html/feed 4
WYSIWYG editor in your WordPress theme or plugin http://www.mohanjith.net/blog/2011/12/wysiwyg-editor-in-your-wordpress-theme-or-plugin.html http://www.mohanjith.net/blog/2011/12/wysiwyg-editor-in-your-wordpress-theme-or-plugin.html#respond Wed, 14 Dec 2011 14:18:18 +0000 https://www.mohanjith.net/blog/?p=823 Read moreWYSIWYG editor in your WordPress theme or plugin]]> Prior to WordPress 3.3 adding WYSIWYG editor to a frontend page meant you had almost reinvent the wheel. In WordPress 3.3 wp_editor was introduced which made developer/designer’s life whole lot easier. Now you can add the same editor used when you type up a post can be added anywhere in your theme or plugin (frontend or backend).

I stumbled across this function by accident when I was checking why the WYSIWYG editor was not working on one of my plugins on WordPress 3.3 . You also can allow users to  upload images if the user has necessary capabilities using the editor wp_editor adds.

Read all about it on the WordPress Codex . Hope someone will find it useful.

]]>
http://www.mohanjith.net/blog/2011/12/wysiwyg-editor-in-your-wordpress-theme-or-plugin.html/feed 0
WordPress How To: Monthly,Yearly and Daily Archives for Custom Post Types http://www.mohanjith.net/blog/2011/10/wordpress-how-to-monthlyyearly-and-daily-archives-for-custom-post-types.html http://www.mohanjith.net/blog/2011/10/wordpress-how-to-monthlyyearly-and-daily-archives-for-custom-post-types.html#respond Tue, 25 Oct 2011 18:05:34 +0000 https://www.mohanjith.net/blog/?p=787 Read moreWordPress How To: Monthly,Yearly and Daily Archives for Custom Post Types]]> For a plugin I was creating I needed Yearly and Monthly archives with my own slug. Even after setting the rewrite rules it was not working. After much debugging and several hours later I finally figured it out. I’ll explain how you could do the same bellow.

Spoiler Alert: For the impatient, it was as simple as removing the old rules that are not setting the post type before adding the new rules 🙂

I’m going to assume that you have already familiar with Custom Post types. If you are not read http://codex.wordpress.org/Post_Types and then come back. Most important are Step 5 and Step 6. Other steps are typical for any plugin or theme using custom post types.

Step 1: Register the post type
Read more about registering custom post types at

register_post_type( 'my_class',
array(
'public' => true,
...
'has_archive' => true,
)
);

Step 2: Add rewrite tags and permalink structure

$event_structure = '/events/%year%/%monthnum%/%my_class%';
$wp_rewrite->add_rewrite_tag("%my_class%", '(.+?)', "my_class=");
$wp_rewrite->add_permastruct('my_class', $event_structure, false);

Step 3: Add post_type_link and rewrite_rules_array filters

add_filter('rewrite_rules_array', 'my_class_add_rewrite_rules');
add_filter('post_type_link', 'my_class_post_type_link', 10, 3);

Step 4: Return a proper permalink

function my_class_post_type_link($permalink, $post_id, $leavename) {
$post = get_post($post_id);

$rewritecode = array(
'%my_class%',
'%year%',
'%monthnum%'
);

if ($post->post_type == 'my_class' && '' != $permalink) {

$ptype = get_post_type_object($post->post_type);

$start = time();
$end = time();

$meta = get_post_custom($post->ID);
// This is where I store when the class starts
if (isset($meta["my_class_start"]) && isset($meta["my_class_start"][0])) {
$start = strtotime($meta["my_class_start"][0]);
}

$year = date('Y', $start);
$month = date('m', $end);

$rewritereplace = array(
($post->post_name == "")?$post->id:$post->post_name,
$year,
$month,
);
$permalink = str_replace($rewritecode, $rewritereplace, $permalink);
} else {
// if they're not using the fancy permalink option
}

return $permalink;
}

Step 5: Add rewrite rules

function my_class_add_rewrite_rules($rules){
$new_rules = array();

// This is the important bit, unsetting the rules
unset($rules['classes/([0-9]{4})/([0-9]{1,2})/?$']);
unset($rules['classes/([0-9]{4})/?$']);

$new_rules['classes/([0-9]{4})/?$'] = 'index.php?year=$matches[1]&post_type=incsub_event';
$new_rules['classes/([0-9]{4})/([0-9]{1,2})/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]&post_type=incsub_event';
$new_rules['classes/([0-9]{4})/([0-9]{2})/(.+?)/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]&incsub_event=$matches[3]';

return array_merge($new_rules, $rules);
}

Step 6: Don’t forget to flush

add_action('option_rewrite_rules', 'my_class_check_rewrite_rules');
function my_class_check_rewrite_rules($value) {
global $wp_rewrite;

//prevent an infinite loop
if ( ! post_type_exists( 'incsub_event' ) )
return;

if (!is_array($value))
$value = array();

$array_key = 'events/([0-9]{4})/?$';
if ( !array_key_exists($array_key, $value) ) {
$wp_rewrite->flush_rules();
}
$array_key = 'events/([0-9]{4})/([0-9]{1,2})/?$';
if ( !array_key_exists($array_key, $value) ) {
$wp_rewrite->flush_rules();
}
$array_key = 'events/([0-9]{4})/([0-9]{1,2})/(.+?)/?$';
if ( !array_key_exists($array_key, $value) ) {
$wp_rewrite->flush_rules();
}
}

That’s it. Most important steps are Step 5 and Step 6

]]>
http://www.mohanjith.net/blog/2011/10/wordpress-how-to-monthlyyearly-and-daily-archives-for-custom-post-types.html/feed 0
Days of the Week http://www.mohanjith.net/blog/2011/04/days-of-the-week.html http://www.mohanjith.net/blog/2011/04/days-of-the-week.html#respond Sat, 09 Apr 2011 19:39:34 +0000 https://www.mohanjith.net/blog/?p=751 Read moreDays of the Week]]> I know it’s little late, but I got tired of all the hate towards Rebecca Black because her single is about Friday. I took the liberty to come up with a list of music videos of every single day of the week. Have fun watching and listening to them. All the other artist deserve the hate Rebecca Black got 😀

]]>
http://www.mohanjith.net/blog/2011/04/days-of-the-week.html/feed 0
Dialog Axiata APN update for Android mobiles http://www.mohanjith.net/blog/2010/11/dialog-axiata-apn-update-for-android-mobiles.html http://www.mohanjith.net/blog/2010/11/dialog-axiata-apn-update-for-android-mobiles.html#respond Tue, 23 Nov 2010 19:51:13 +0000 https://www.mohanjith.net/blog/?p=740 Read moreDialog Axiata APN update for Android mobiles]]> I was annoyed that I had to configure the APN every time I either installed a OS upgrade after a wipe or switched SIMs on my HTC Hero. I went and composed a complete list of APNs for Dialog Axiata. You just need to copy it to your Android based phone and boot into recover mode and flash the zip file. I hope to post in more detail soon, that’s it for now.

dialog-apns-0.1-signed

]]>
http://www.mohanjith.net/blog/2010/11/dialog-axiata-apn-update-for-android-mobiles.html/feed 0
Blogging from the iPad http://www.mohanjith.net/blog/2010/09/blogging-from-the-ipad.html http://www.mohanjith.net/blog/2010/09/blogging-from-the-ipad.html#respond Mon, 13 Sep 2010 19:25:58 +0000 https://www.mohanjith.net/blog/2010/09/blogging-from-the-ipad.html Read moreBlogging from the iPad]]> WordPress for iOS is not very handy to blog, specially if it has lot of text but it’s perfect on iPad. This post is made from the iPad and I’m loving it. May be I should start a separate blog for it 😕

Bottom line is WordPress for iOS is a win on the iPad. Since blogging became so much easier, expect more blog posts 😀

]]>
http://www.mohanjith.net/blog/2010/09/blogging-from-the-ipad.html/feed 0
Password reuse http://www.mohanjith.net/blog/2010/09/password-reuse.html http://www.mohanjith.net/blog/2010/09/password-reuse.html#respond Mon, 13 Sep 2010 05:51:03 +0000 https://www.mohanjith.net/blog/2010/09/password-reuse.html

]]>
http://www.mohanjith.net/blog/2010/09/password-reuse.html/feed 0
Unboxing ZTE MF-100 http://www.mohanjith.net/blog/2010/09/unboxing-zte-mf-100.html http://www.mohanjith.net/blog/2010/09/unboxing-zte-mf-100.html#respond Sun, 12 Sep 2010 10:35:19 +0000 https://www.mohanjith.net/blog/?p=680 Read moreUnboxing ZTE MF-100]]> I won a ZTE MF-100 courtesy Dialog Axiata at their The Future, Today social media event held last week.See bellow for the unboxing and setting up photos. There is no how to for making it work with Linux or Snow Leopard because it works out of the box with no issues or caveats at all, enjoy 🙂

PS: Thank you Dialog, you can follow them on Twitter @dialoglk

]]>
http://www.mohanjith.net/blog/2010/09/unboxing-zte-mf-100.html/feed 0
Samsung ML-1640 on Linux http://www.mohanjith.net/blog/2010/08/samsung-ml-1640-on-linux.html http://www.mohanjith.net/blog/2010/08/samsung-ml-1640-on-linux.html#respond Sun, 01 Aug 2010 19:49:51 +0000 https://www.mohanjith.net/blog/?p=676 Read moreSamsung ML-1640 on Linux]]> I got my self a shiny new laser printer because the old Lexmark X1110 was getting old and giving little too many paper jams. I went with Samsung ML-1640 mainly because of it’s initial lower price, lower running costs and good reviews online. I had also read that the printer comes with Linux driver, that was one of the first I have seen.

To much to my surprise as soon as I plugged the printer Ubuntu recognized the printer and installed it, with in few seconds without any clicks or key presses the printer was ready for printing. I never bothered testing on Windows 7 but I’m sure I would have had to install drivers (Samsung claims it takes only 4 clicks).

However I ran to some trouble sharing the printer with Snow Leopard as the driver selected by Ubuntu needed to be used as a raw printer queue and I could get around how to set it up on Snow Leopard. Instead I flipped around the setup, I shared the printer as a raw printer queue and used the built in driver on Snow Leopard for the printer. I had to do the same for my notebook as well. Everything was working perfectly, finally 🙂 . In the process I also figured out that Generic GDI driver works as long as the print job fits the printer memory (8 MB), if you send a larger job it will fail with nothing printed (but the printer receives the job).

For anyone wondering, on Linux the driver used is (automatically selected by Ubuntu) is Samsung ML-1640, SpliX V. 2.0.0 , which covers all capabilities of the printer (may be except for toner level).

I’m really happy with the printer, I think it was a very good purchase. I really like the idea the cartridge comes with a handle to push it into place. Then the fact that I can print the demo page by pressing and holding the reset/cancel button on the printer to get the toner level and other printer details. Only thing I miss is fully duplex printing, but with the lower cost I don’t mind working upto the printer to feed the paper when the printer is done printing one side of the pages.

]]>
http://www.mohanjith.net/blog/2010/08/samsung-ml-1640-on-linux.html/feed 0
BBC interviews Dom Sagolla, one of the creators of Twitter http://www.mohanjith.net/blog/2010/07/bbc-interviews-dom-sagolla-one-of-the-creators-of-twitter.html http://www.mohanjith.net/blog/2010/07/bbc-interviews-dom-sagolla-one-of-the-creators-of-twitter.html#respond Thu, 29 Jul 2010 17:47:26 +0000 https://www.mohanjith.net/blog/?p=641

//www.youtube.com/watch?v=P8JJ5mEhaAM

]]>
http://www.mohanjith.net/blog/2010/07/bbc-interviews-dom-sagolla-one-of-the-creators-of-twitter.html/feed 0
iKeyword – Free 1.0.1, iKeyword 1.0.2 and a busy week http://www.mohanjith.net/blog/2010/07/ikeyword-free-1-0-1-ikeyword-1-0-2-and-a-busy-week.html http://www.mohanjith.net/blog/2010/07/ikeyword-free-1-0-1-ikeyword-1-0-2-and-a-busy-week.html#respond Thu, 29 Jul 2010 06:00:58 +0000 https://www.mohanjith.net/blog/?p=648 Read moreiKeyword – Free 1.0.1, iKeyword 1.0.2 and a busy week]]> iKeyword – Free, free iPhone App was released on Monday to help you whether it’s worthwhile to purchase the paid iPhone App iKeyword. iKeyword – Free is a huge success, if you haven’t already tried it you should head over to the App Store and download. Available on the App Store

On Thursday (29th July), an update to iKeyword was released enabling users fetch unlimited number of related keywords based on user feedback upping the version to 1.0.2 from 1.0.1 . If the number of related keywords returned was an issue that prevented you from using iKeyword; download to iKeyword 1.0.2 now on the iPhone App Store.

Whole of this week I have been working on an uber cool iPad application which will hopefully be released in August, it’s a biggie. Stay subscribed or follow me on Twitter to be the first to hear when it’s released.

Btw, system administrator appreciation day falls tomorrow; do not forget to throw a party for your SysAdmin, get him/her a gift or just say thanks 🙂

]]>
http://www.mohanjith.net/blog/2010/07/ikeyword-free-1-0-1-ikeyword-1-0-2-and-a-busy-week.html/feed 0
BBC interviews Max Levchin, co-founder of PayPal http://www.mohanjith.net/blog/2010/07/bbc-interviews-max-levchin-co-founder-of-paypal.html http://www.mohanjith.net/blog/2010/07/bbc-interviews-max-levchin-co-founder-of-paypal.html#respond Wed, 28 Jul 2010 17:21:47 +0000 https://www.mohanjith.net/blog/?p=631

//www.youtube.com/watch?v=u9NCCE540Gg

]]>
http://www.mohanjith.net/blog/2010/07/bbc-interviews-max-levchin-co-founder-of-paypal.html/feed 0
How to redeem iTunes App store coupons http://www.mohanjith.net/blog/2010/07/how-to-redeem-itunes-app-store-coupons.html http://www.mohanjith.net/blog/2010/07/how-to-redeem-itunes-app-store-coupons.html#respond Wed, 14 Jul 2010 22:32:45 +0000 https://www.mohanjith.net/blog/?p=604 Read moreHow to redeem iTunes App store coupons]]> When distributing iKeyword coupons everyone was having issues with figuring out where to enter the coupon. Apple did a good job to make sure unsuspecting users will end up buying the app instead of redeeming the coupon because there is no way to use the coupon from the iTunes on the iPhone and even with iTune for Mac or Windows you couldn’t redeem the coupon from the App details page, clever of you Apple.

For everyone’s benefit;

  1. Power up your PC or Mac
  2. Open iTunes
  3. Goto iTunes store home (Click the home icon once you get to iTunes store)
  4. Click “Redeem” under “Quick links” (highlighted in the screenshot above)
  5. Key in the redeem code and click the Redeem button

Enjoy your app free app 🙂

]]>
http://www.mohanjith.net/blog/2010/07/how-to-redeem-itunes-app-store-coupons.html/feed 0
First iPhone app released http://www.mohanjith.net/blog/2010/07/first-iphone-app-released.html http://www.mohanjith.net/blog/2010/07/first-iphone-app-released.html#respond Fri, 02 Jul 2010 16:45:47 +0000 https://www.mohanjith.net/blog/?p=595 Read moreFirst iPhone app released]]> Available on the App Store iTunes Connect - iKeyword Last Wednesday first iPhone app was released under my account, iKeyword. iKeyword allows you to search for related keywords on your iPhone or iPod Touch. I use Google AdWords keyword suggestion API to discover/generate keywords. It was a fun project. I also need to give a shout out to Oliver Tani for giving me feedback on what Online Marketers really want.

To much to my surprise Apple’s approval process only took 7 days (5 working days), thank you Apple for speedy approval 🙂 . See the screenshot of iTunes Connect bellow.

]]>
http://www.mohanjith.net/blog/2010/07/first-iphone-app-released.html/feed 0
DFS http://www.mohanjith.net/blog/2010/07/dfs.html http://www.mohanjith.net/blog/2010/07/dfs.html#respond Fri, 02 Jul 2010 09:24:24 +0000 https://www.mohanjith.net/blog/?p=585
A breadth-first search makes a lot of sense for dating in general, actually; it suggests dating a bunch of people casually before getting serious, rather than having a series of five-year relationships one after the other.
A breadth-first search makes a lot of sense for dating in general, actually; it suggests dating a bunch of people casually before getting serious, rather than having a series of five-year relationships one after the other.

]]>
http://www.mohanjith.net/blog/2010/07/dfs.html/feed 0
How to use Huawei E1550 on Snow Leopard (Mac OS X 10.6) http://www.mohanjith.net/blog/2010/06/how-to-use-huawei-e1550-on-snow-leopard-mac-os-x-10-6.html http://www.mohanjith.net/blog/2010/06/how-to-use-huawei-e1550-on-snow-leopard-mac-os-x-10-6.html#comments Fri, 25 Jun 2010 21:00:51 +0000 https://www.mohanjith.net/blog/?p=564 Read moreHow to use Huawei E1550 on Snow Leopard (Mac OS X 10.6)]]> I recently upgraded to Snow Leopard and wanted to download iPhone SDK, since Dialog GSM has really cheap bandwidth, I got a 2 hours on my Kit Broadband package. I’m using a Huawei E1550 but unfortunately the Mobile partner that came with the dongle didn’t work on Snow Leopard. With a bit of Googling I came across Huwaei Device site and downloaded Dashboard for Mac OS X 10.6 and unzipped it and then unzipped MAC-V100R001B301D11SP00C03.zip (only zip file in the downloaded zip file). The ISO file needs to be mounted with Disk Utility and not the Disk Image mounter.

Then the familiar Mobile partner will open up, and follow the instructions on the screen.

Hope this helped someone in a similar situation 🙂

]]>
http://www.mohanjith.net/blog/2010/06/how-to-use-huawei-e1550-on-snow-leopard-mac-os-x-10-6.html/feed 7
Interesting domains going on sale http://www.mohanjith.net/blog/2010/06/interesting-domains-going-on-sale.html http://www.mohanjith.net/blog/2010/06/interesting-domains-going-on-sale.html#respond Fri, 25 Jun 2010 18:21:13 +0000 https://www.mohanjith.net/blog/?p=560 Read moreInteresting domains going on sale]]> While building R2G Tools I discovered some interesting and rare domains, I jumped at the opportunity and registered them. Now they are going on sale to raise funds to make R2G Tools better. Here are the domains.

direct-marketing.biz
Page rank 3 domain with a generic term. Rare opportunity no direct marketing firm should let go.

iaews.biz and iaews.us
Pair of page rank 7 domains. Not sure what iaews stands for but I’m sure what ever you host will make to the top of the Google index fast. Great SEO value.

meridianhealthcare.us
Page rank 5 domain. Great for a US based health care firm. If you are lucky New Jersey based Meridian Health will definitely be interested in this domain. Great opportunity for an experienced domainer.

Send me your offers, these domains are going fast as I need the cash fast to improve R2G Tools and I’m not very good at hard selling 🙂

]]>
http://www.mohanjith.net/blog/2010/06/interesting-domains-going-on-sale.html/feed 0
Building R2G Tools http://www.mohanjith.net/blog/2010/06/building-r2g-tools.html http://www.mohanjith.net/blog/2010/06/building-r2g-tools.html#respond Fri, 25 Jun 2010 14:47:12 +0000 https://www.mohanjith.net/blog/?p=547 Read moreBuilding R2G Tools]]> I started out building a tool to discover recently dropped domains and in the process domains search engine with a twist. You can check it out at R2G Tools . This was a extremely challenging project, with more than 120 million domains in the world and extremely tight budget. I finally pulled it off last week end. You would be surprised that whois.r2g.in is running off 3 commodity servers (mainly for redundancy, I could have squeezed it into 1 with only slight performance hit).

What’s behind

Database; MongoDB is the main database backend, with MySQL used to hold non domain records. MongoDB was chosen because of it’s ability to handle large amount of objects, schemaless and ability to index keys. Thanks to MongoDB I can search, count and even insert and update records in few seconds (most operations are few milliseconds).

Web application framework; whois.r2g.in is completely built with CodeIgniter. It’s my framework of choice. I like it’s clean and lean architecture.

Servers; I’m running Lighty behind Varnish HTTP accelerator. I also use eaccelerator to optimize PHP code. I also have a memcached instance on the web server to cache data from MySQL. Goal is to speed up whois.r2g.in as much as possible. There are 2 MongoDB instances sharing the load which the application connects. Everything is running off 3 Athlon X2 servers, 2 running MongoDB instances and one running the application.

Why use both MongoDB and MySQL?

That’s because I didn’t want to put all my eggs in one basket. Any data that doesn’t change much like WHOIS servers put into a MySQL table. Information such at WHOIS data were stored in a MongoDB collection.

What I gained?

Lot of experience about data mining, storing and analyzing. I learned a lot about how to optimize data mining, I managed to bring down the time it takes to analyze all the domains for drops to few hours from few days by just pre sorting the zone files. I also gained few rare domains and high page rank domains. I have become a domainer thanks to the project 😀

Please head over to R2G Tools and give it a try,  you might discover a great domain while you are there and make a huge profit. Do not forget to send me some feed back 🙂

]]>
http://www.mohanjith.net/blog/2010/06/building-r2g-tools.html/feed 0
How to find out the iPhone/iPod Touch device ID without Xcode? http://www.mohanjith.net/blog/2010/05/how-to-find-out-the-iphoneipod-touch-device-id-without-xcode.html http://www.mohanjith.net/blog/2010/05/how-to-find-out-the-iphoneipod-touch-device-id-without-xcode.html#comments Sat, 29 May 2010 09:21:33 +0000 https://www.mohanjith.net/blog/?p=532 Read moreHow to find out the iPhone/iPod Touch device ID without Xcode?]]>

  1. Connect the iPhone or iPod Touch to your Mac or PC
  2. Click on the device in iTunes, go to the “Summary” tab, click on the “Serial Number” label. The “Serial Number” will change to “Identifier”
  3. Click on “Edit” in the menu at the top and select “Copy”
  4. Now you can paste the device ID into an e-mail

Hope this helps if you don’t have access to a Mac or XCode and need to find out the device ID.

]]>
http://www.mohanjith.net/blog/2010/05/how-to-find-out-the-iphoneipod-touch-device-id-without-xcode.html/feed 1
Install Mac OS X 10.5.6 – Step 2 – Installing Mac OS X 10.5.8 on AMD Athlon X2 http://www.mohanjith.net/blog/2010/02/install-mac-os-x-10-5-6-step-2-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html http://www.mohanjith.net/blog/2010/02/install-mac-os-x-10-5-6-step-2-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html#comments Wed, 24 Feb 2010 15:25:48 +0000 https://www.mohanjith.net/blog/?p=504 Read moreInstall Mac OS X 10.5.6 – Step 2 – Installing Mac OS X 10.5.8 on AMD Athlon X2]]> This is step is slightly easier than step 1. You need to boot with the the DVD burned in step 1 and install Mac OS X 10.5.6.

Was waiting for 5 minutes still stuck in the grey screen

If it doesn’t boot in reasonable amount of time, please boot in verbose mode. Press F8 to enter start up options and provide the option -v to boot in verbose mode. If you get a no entry sign or ask you to reboot, you are probably out of luck, still reboot and see whether your luck changes 🙂

Customize the installation

It’s important to select the correct drivers and other patches for the installation to work properly. In my case I had to select the following:

  • Video Driver: NVInject 512MB
  • OSx386 tools

If you are using PS/2 keyboard and mouse you will have to install the PS/2 patch. I’m not sure how well this will work as I have USB keyboard and mouse.

Here are some “screen shots” while installing. Please bear with the quality, I’m a horrible photographer 🙂

]]>
http://www.mohanjith.net/blog/2010/02/install-mac-os-x-10-5-6-step-2-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html/feed 1
Patch the iPC DVD image – Step 1 – Installing Mac OS X 10.5.8 on AMD Athlon X2 http://www.mohanjith.net/blog/2010/02/patch-the-ipc-dvd-image-step-1-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html http://www.mohanjith.net/blog/2010/02/patch-the-ipc-dvd-image-step-1-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html#comments Tue, 23 Feb 2010 10:43:18 +0000 https://www.mohanjith.net/blog/?p=487 Read morePatch the iPC DVD image – Step 1 – Installing Mac OS X 10.5.8 on AMD Athlon X2]]> When booting the DVD it was always stuck at “Still waiting for root device…”, this was because there was no kext for SATA chip for my motherboard (nForce 405 chip). It was simple has adding the required kext to the DVD and rebuilding the Extensions.mkext. Unfortunately you will need a working Mac OS X installation to do this. Follow the instructions bellow.

Mount the image in read write mode

$ hdiutil mount iPC_OSx86_10.5.6.iso -readwrite

Extract kexts from mkext

$ mkdir /tmp/Extensions
$ mkextunpack -d /tmp/Extensions Extensions.mkext

Copy kexts and remove unwanted kexts

$ cp -R nForceLan.kext /tmp/Extesions/
$ cp -R AppleNForceATA.kext /tmp/Extensions/
$ find /tmp/Extensions/ -name "*Intel*" -print0 | xargs -0 rm -R

Cache kext into mkext

$ sudo chown -R root:wheel /tmp/Extensions/
$ sudo chmod -R 755 /tmp/Extensions/
$ kextcache -a i386 -m /tmp/Extensions.mkext /tmp/Extensions

Copy Extenions.mkext to /System/Library on the ISO

$ cp /tmp/Extensions.mkext .

That’s it, now unmount the ISO and burn it to a DVD. Now we are ready to move on to the next step. I’ll be posting the details for actual installation Mac OS X 10.5.6 tomorrow.

/tmp/Extensions
]]>
http://www.mohanjith.net/blog/2010/02/patch-the-ipc-dvd-image-step-1-installing-mac-os-x-10-5-8-on-amd-athlon-x2.html/feed 5
Installing Mac OS X 10.5.8 on AMD Athlon X2 http://www.mohanjith.net/blog/2010/02/installing-mac-os-x-10-5-8-on-amd-athlon-x2.html http://www.mohanjith.net/blog/2010/02/installing-mac-os-x-10-5-8-on-amd-athlon-x2.html#comments Sun, 21 Feb 2010 20:39:04 +0000 https://www.mohanjith.net/blog/?p=469 Read moreInstalling Mac OS X 10.5.8 on AMD Athlon X2]]> Mac OS X 10.5.8I managed to install Mac OS X 10.5.8 on an AMD Athlon X2 system after little trouble. I’ll post the procedure to make sure if I have to do it again I can easily refer and someone trying to do the same can save the trouble. This will be composed of a series of posts, a post per step.

In the mean time find out the specifications of your box. I’m using GIGABYTE GAPM61SME-S2 motherboard with AMD Athlon X2 CPU. If your specifications are just like mine go ahead and download all the files listed bellow, otherwise download 1-3 and then look for kexts for your motherboard.

System specification

  • AMD Athlon X2 2800
  • nVidia GeForce 6100/nForce 405 chipset
  • 1 x 2 GB of DDR2 DIMM
  • On board ethernet (nForce 10/1oo Mbit)
  • Realtek ALC883 CODEC chip
  • SATA HDD (nForce sata controller)
  • USB Mouse
  • USB Keyboard
  • DVD Drive

Downloads

  1. iPC OSx86 Leopard 10.5.6 Intel AMD SSE2 SSE3 DVD (Google and find out, you will have to download via Bit torrent)
  2. Mac OS X 10.5.7 Update (http://keti.ws/95282)
  3. Mac OS X 10.5.8 Combo Update (http://keti.ws/95283)
  4. nForceLAN (http://keti.ws/94281)
  5. AppleNForceATA (http://keti.ws/95281)

Steps

  1. Patch the iPC DVD image (Otherwise the DVD will never boot)
  2. Install Mac OS X 10.5.6
  3. Remove all Intel kexts (Improves the boot time)
  4. Install Mac OS X 10.5.7 update
  5. Install Mac OS X 10.5.8 update

Await step 1, Patching the iPC DVD image tomorrow.

]]>
http://www.mohanjith.net/blog/2010/02/installing-mac-os-x-10-5-8-on-amd-athlon-x2.html/feed 3
Movie science vs actual science http://www.mohanjith.net/blog/2010/01/movie-science-vs-actual-science.html http://www.mohanjith.net/blog/2010/01/movie-science-vs-actual-science.html#respond Fri, 01 Jan 2010 06:41:58 +0000 https://www.mohanjith.net/blog/?p=461 Science Montage

]]>
http://www.mohanjith.net/blog/2010/01/movie-science-vs-actual-science.html/feed 0
With great power comes great … http://www.mohanjith.net/blog/2009/10/with-great-power-comes-great.html http://www.mohanjith.net/blog/2009/10/with-great-power-comes-great.html#respond Thu, 01 Oct 2009 12:40:08 +0000 https://www.mohanjith.net/blog/?p=453

With great power comes great current squared times resistance.

]]>
http://www.mohanjith.net/blog/2009/10/with-great-power-comes-great.html/feed 0