January 14th, 2014 12:28 – by Torsten Trautwein
Testing how a website, app, service, etc. reacts to a slow and/or unstable network connection is pretty straightforward on OS X. This is very useful to especially simulate mobile connections which sometimes have a low bandwidth, high latency, or drop network packages altogether.
To make your connection sloppy, you can utilize
ipfw pipes which is provided by Mac OS X 10.9 Mavericks. Open up your favorite Terminal app and use the following commands:
Show all existing rules
sudo ipfw list
Configure pipe to add some latency
sudo ipfw pipe 1 config delay 200ms
Configure pipe to have a limited bandwidth
sudo ipfw pipe 1 config bw 30KByte/s
Configure pipe to randomly lose half of the packets
sudo ipfw pipe 1 config plr 0.5
You can also set multiple options for a pipe
sudo ipfw pipe 1 config delay 500ms bw 100KByte/s plr 0.2
Use the configured pipe for all IP traffic
sudo ipfw add 1 pipe 1 ip from any to any
Remove the pipe and its configuration to reset everything you set up
sudo ipfw pipe 1 delete sudo ipfw delete 1
October 31st, 2013 08:22 – by Torsten Trautwein
I'm subscribed to some mailing lists on Google Groups and so I wanted to receive these mails without using my Google account. Here's how to do it:
- Go to the about page of the group you want to join, e.g. https://groups.google.com/forum/#!aboutgroup/rubyonrails-core.
- Have a look at the Group email. In this example, that would be firstname.lastname@example.org.
- Append +subscribe to the address and send an email with the subject subscribe. Here, we would send that email to email@example.com.
- You'll receive a mail from the group asking you to confirm your subscription. Just hit reply and send the email without modifying the subject field.
That's it! You'll receive a confirmation shortly after.
October 18th, 2013 15:09 – by Torsten Trautwein
Get In Touch
The usual channels
Or send a message right away
60488 Frankfurt am Main, Germany
+49 (0)7000 NEOWORK
+49 (0)7000 63 69 675
max. 0.12 €/min on German landlines