Recent Comments
Archives
Monthly Archives: February 2011
So two weeks work later.
And I have a reasonably themed wordpress install, integrated with a reasonably themed bbpress install. Not bad having never touched html or css before. Now I just need to gather those screenshots up. So, it’s kinda live: Chef’s Book I … Continue reading
Posted in Miscellany
Comments Off on So two weeks work later.
DynDNS.org + Bash + Router == A tiny bit safer.
Pondering how to lock down a few bits to just an IP or two I hacked together this awful bit of bash: #!/bin/bash function valid_ip() { local ip=$1 local stat=1 if [[ $ip =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then OIFS=$IFS IFS=’.’ ip=($ip) … Continue reading
Getting the hang of css.
There’s some really nice stuff you can do in CSS, one of which is getting rid of graphics for borders, backgrounds, and buttons. Transparency is a boon as well allowing good styling with minimal effort, in my case surrounding pre … Continue reading
An interesting week
I think I’ve made around 5 abortive attempts to submit my app now, that’s no reflection on the quality of the app store or the submissions process but on where my brain has been focused. Purely on the development of … Continue reading
Posted in Miscellany
Comments Off on An interesting week
Whilst deciding what to include with the App, we write a PDF generator!
Managed to implement rendering of recipes into multipage PDF documents. They look something like this: Lasagne Recipe One thing to note whilst writing the code was the usual inverted co-ordinates. I wanted an image in the top left, title and … Continue reading
Posted in Programming
Tagged Core Text, iOS, iphone, objective-c, PDF
Comments Off on Whilst deciding what to include with the App, we write a PDF generator!
Nearing release, implement shiny things whilst waiting.
As the project nears release my thoughts turn to what will be needed in the near future and how best to solve an intermittent bug that’s present now. The bug was resolving by doing something I should have done ages … Continue reading
Posted in Programming
Tagged bit mask, bit shift, bitwise operations, Core-Data, NSEntityMigrationPolicy, objective-c, UUID
Comments Off on Nearing release, implement shiny things whilst waiting.
Want to backup files in windows the linux way?
Download this cwRsync. Which is rsync packaged up for windows, and create a small script like this to run as administrator: @ECHO OFF SETLOCAL REM ** CUSTOMIZE ** Specify where to find rsync and related files (C:\CWRSYNC) SET CWRSYNCHOME=”c:\Program Files … Continue reading
Posted in Programming
Tagged Backup, Batch, Microsoft, Rsync, Security Essentials
Comments Off on Want to backup files in windows the linux way?