Wednesday, March 5, 2014

Fiddler not capturing traffic - SOLVED!

After spending hours fiddling around with Fiddler options I found this simple solution that worked:

Use machine name as the hostname instead of localhost or 127.0.0.1.

Rather then

http://localhost/mypage.html

try

http://machinename/mypage.html


Read also: How to find the hostname of windows machine?

How to find the hostname of windows machine?

1. On your desktop, right-click Computer (Vista) or My Computer (Windows 7, XP, and 2000), and then select Properties.

2. Your machine name will be displayed under "Computer name, domain, and workgroup settings" (Vista) or next to "Full computer name:" (Windows 7, XP, and 2000).

Saturday, January 11, 2014

How I fixed my iPhones 4S broken WiFi in iOS 7

After upgrading my iPhone 4S everything worked just fine for quite a while. One day though I've noticed that I'm not connected to WiFi. Wired I thought, so I've reset the device and the problem was gone.

Couple of days later I got the same problem but this time neither resetting the phone nor the network settings have fixed the problem.

After digging on the internet for a couple of minutes I've stumbled upon an unusual solution:
  1. Heat up the iPhone with a hair dryer until you get a temperature warning pop up saying “iPhone needs to cool down before your can use it.” (Have a cloth ready, the iPhone will get really hot).
  2. Once this message appears, pop your iPhone into the fridge for 10 minutes to allow it to cool down.
Once that’s done—Wi-Fi and Bluetooth should work again.

I think there is a risk that you can damage your device, but since I'm out of guarantee I thought I'd try it to save time resetting the phone (I couldn't find a single post saying that resetting would fix the problem), contacting Apple and last but not least $200 for a fixing the phone. I've thought if I break it, I'll have to pay the $200 anyway, so why not try it? I wouldn't have tried it, if I had guarantee though.

Happy iPhone drying!

!!!UPDATE!!!

Two days after installing the 7.0.6 iOS Security Update, WiFi has stopped working again. It looks like I have to fire up my hair dryer again!

The hair dryer did the trick again! $200 + $200 = $400 saved so far!

Friday, December 27, 2013

How to enter a back tick on an iPad or iPhone?


Have you ever wondered how to enter a back tick on the iPad or the iPhone? Here's how:

1. We start with the default iPad keyboard.

Press the .?123 key next to the space key, to change to the numeric keyboard.













2. On the numeric keyboard press and hold the apostrophe key above the space key.












3. The back tick key shows up.







How to find and tar files older than x days on Linux and probably most other unix

So you need to search a single directory for all files older then x days, compress them and remove the originals?

Let's start by printing files in a directory that are older than let say 30 days:

find . -mtime +30 -print


Now here's how you find all files in a given directory that are older than 30 days, the tar them and then delete the originals in a single command:

tar -cf files_older_than_30_days.tar --remove-files `find . -mtime +30 -print`

Please notice that before find . -mtime +30 -print I used back tick ` and not an apostrophe ’.


Have you ever wondered how to enter a back tick on an iPhone or iPad?