How to Setup up PPTP VPN on Debian for your iPhone

September 3, 2010
Tags: , ,

Debian setup is as simple as the following lines: Install poptop # aptitude install pptp Edit pptpd config files /etc/pptpd.conf The file should look like this: [bash]option /etc/ppp/pptpd-options logwtmp localip 192.168.0.1 remoteip 192.168.0.10-20[/bash] Set them to whatever private (or public) ip addressing you want. You could use IP addresses currently available in your network, if […]

2

Set Maximum Length of String in UITextField

September 3, 2010

This is actually pretty simple to do. First off I would make sure you tell your Application you want to make use of the UITextFieldDelegate functions otherwise it won’t work. To do that simply Append <UITextFieldDeletegate> to your header file, here’s an example of how to do that: sample.h: [php]@interface SampleViewController : UIViewController <UITextFieldDelegate> { […]

0