Posted by Suhas on August 24, 2011 ·
Here’s a little code that I wrote to correctly fetch the newline character. By URL encoding “n” you get %OA which is not decoded back as a C style new line character “n”. So, we fetch the query string to manually decode it in the correct mechanism. This is a PHP example, the theory hold good for other languages as well.
function get_string_parameters($string) {
$result [...]
Posted by Suhas on July 20, 2011 ·
Incoming searches:
“ipad stuck in dfu mode after restore”
“iphone stuck in dfu mode”
“itunes restore 1600 error”
“redsnow stuck at installing bundles”
The power button on my iPad was not working. I knew it was not a hardware problem because the it wasn’t stuck or anything. It was on iOS 4.2.1. Thought this was a good time to restore to 4.3.3 and [...]
Posted by Suhas on July 8, 2011 ·
txtGPS is a GPS navigation system that works on SMS. So, you can use it without a Data plan i.e the internet. Might get you out of a tight spot (or you are just are just as cheap as me :D).
As you all know, GPS is free and Data plan is not. This app basically gets the GPS coordinates and sends a text message to txtweb.com’s number to fetch the navigation directions.
As of now, it perfectly [...]
Posted by Suhas on June 22, 2011 ·
You are staring at this screen with a 100 MB file to import. It’s not the “WordPress Importer” problem. So, it’s time to take a backdoor.
There are a couple of ways you can import that file.
1) You can increase the “upload_max_filesize” to a really large number. You can do it in the php.ini file. To edit that, you will most probably need administrator access.
or
2) You [...]
Posted by Suhas on June 16, 2011 ·
When migrating from Blogger to WordPress, I ran into to little problem where a URL (with http://) would not work no matter what. If you try it 403 forbidden error would pop up (even with the urlencode). It would work if you remove “http://”. This is actually the core mod_security rules.
“HTTP protection – detecting violations of the HTTP protocol and a locally defined usage policy.”
–modsecurity.org
All [...]
Posted by Suhas on June 16, 2011 ·
Update: This is outdated. The plugin has a simple delete posts button.
Blogger Imported sucks. There, I said it. Recently, when I was migrating a James’ Blogger Blog over to WordPress, the Blogger Imported screwed up everything, empty comments, blank pictures. Ugh!
We didn’t even have a backup to revert it to the previous state (That was the cardinal mistake). We can’t even reinstall wordpress [...]
Posted by Suhas on May 31, 2011 ·
This is useless. Meta tags are deprecated. Off you go, now.
Yes, you heard it right, not for WordPress but for blogger. I’m calling it “SEO Blogger”.
This is something I’ve been working for a little while now. This is based on my previous post about conditional tags. Some of you might also remember the Meta tag generator. This is maybe the end result of all that.
It does [...]
Posted by Suhas on May 29, 2011 ·
I wanted to try my hand on iPhone development. That can only be done on a Mac. So, I installed it on my AMD Athlon x2 computer. I tried many distros, retail EmpireEFI, iDeneb, Hazard. These are supposed to support AMD x86 architecture, but they don’t.
The only distro that actually supports AMD is “SNOWLEO MAC Snow Leopard OSX86_64” iso.
Yeah, it’s 10.6 but don’t worry we’ll upgrade it to [...]
Posted by Suhas on May 25, 2011 ·
I bought a Kinect recently (got it shipped from the US) to find out that, it needed an AC adapter for my Original Xbox 360. The original one costs $49 but the problem is, we don’t get it here in India :(.
Well, I could make my own in under Rs. 20 (50 cents). All you need is:
Soldering Iron, soldering flux and the lead wire
Hot glue gun
Shielded USB Cable (I got mine from a mobile transfer cable)
12V [...]
Filed in:
diy,
xbox 360,
z
Posted by Suhas on May 8, 2011 ·
COMEDK (Consortium of Medical, Engineering and Dental Colleges of Karnataka) has announced that the Answers Keys to the COMEDK exam conducted on 8th May, 2011 will released as soon the exam is complete. It will be done in a few hours.
SUBJECT
VERSION
PHYSICS
A
B
C
D
CHEMISTRY
A
B
C
D
MATHEMATICSCS
A
B
C
D
BIOLOGY
A
B
C
D
This exam is mostly written by people coming from across the Karnataka [...]