mySQL Optimisation in Windows IIS or Linux / CPanel platforms

Learn how to optimise mySQL in Windows or Linux/CPanel with this informative video by CPanel themselves!

Share

Arduino Temperature Thermistor Circuit and Calculation Code

So you want to meassure temperature of something using an Arduino product. By far the cheapest way to do this is by using a 10k Ohm NTC Thermal Resistor divider circuit and an analog pin on an Arduino! The Circuit will be something like this image. The idea is to pull GND through the variable […]

Share

How to Modify the Hosts file on Mac OSX 10.8

Ok, this is pretty simple really. First Open up Terminal on your mac, typically found in Applications -> Utilities -> Terminal From there run sudo nano /private/etc/hosts Then it will ask you for your currently logged in Administrator password, this is necessary to auth the access/modifications to the file. Nano editor is pretty self explanatory and I guess if […]

Share

iPhone Development – Using NSTimer for Repeating a function

I recently ran into some interesting issues with an NSTimer I had running in a iPhone App within the area shown below (viewDidLoad). This is the correct way to launch scheduled time interval function however….. The wrong spot! – (void) ViewDidLoad { [super viewDidLoad]; NSTimer timer1* [NSTimer scheduleTimerWithTimeInterval:5.0 target:self     selector:@(timer1Tasks) userInfo:nil repeats:YES]; } […]

Share

iPhone Development Color Chooser from HEX

So, as many of you iPhone Development people out there may know the UIColor users a 0-100 floating point number style input to achieve a custom colour in code. After some trawling the web tonight when I needed to match a specific colour and dynamically change a Buttons background tint or .tintColor depending on a […]

Share