Sunday, 25 November 2012

Appcelerator TestFlight SDK module

TestFlight is a service that helps beta test and analyse your iOS apps. We use the Appcelerator framework for some apps and have released a module into their Marketplace.

https://marketplace.appcelerator.com/apps/4114

There is also a CommonJS helper module that aids use

https://github.com/ndastur/TestFlightTiJS

Thursday, 22 November 2012

Add current directory as new remote git repo

A note to self.

This command line is used to add an existing local git repo to a newly created remote one using the current directory name as the repo name. Note spaces are removed.

NAME=`basename "\`pwd\`" | tr -d ' '` && git remote add origin git@<replace_with_your_host>:$NAME && git push origin master && git pull origin master

The original post that helped with the actual process is:
http://blog.tomaszkiewicz.net/2011/10/moving-existing-local-git-repository-into-a-fresh-gitolite-setup/

Wednesday, 18 July 2012

OSX quicklook not working and SugarSync

I have used SugarSync for some time now as my preferred backup solution, but every so often SS seems to mess something up on my laptop. The latest incarnation of this is SugarSync stops the OSX quicklook from working.


So if you have tried all the other fixes, like:
- resetting permission
- deleting your quicklook preferences
- qlmanage -r and qlmanage -r cache


Then try quitting SugarSync. This worked for me.


Here is the forum link on SugarSync (http://sugarsync.hivelive.com/posts/ed67d0da04?start=46&stop=60) with reference to the issue

Saturday, 23 June 2012

Who comes up with these things

The other day I saw posters about an audit into drug omissions in hospitals. I can't help wondering how administering a drug is an omission!!


Saturday, 3 March 2012

Photographing the moon

It was such a clear night tonight I thought I would try and get some nice shots of the moon.

Turned out to be more difficult than I thought. The first lot just came out as bright white circles. After a little reading it seems that bright sunny day settings are best.

So started at ISO 100 F11 1/125, which were okay. But I think the best shot I got was this one at F16 1/80

Note that this was on a fairly cheap Tamron 70-300mm zoom lens. So nothing fancy.

Enjoy ...

Saturday, 4 February 2012

I saw this on a ward the other day. With the current state of funding in the NHS, maybe we will be seeing more of these!

Stop persistent networking interface assignment in cloned virtualbox

When a Ubuntu virtualbox is cloned the new box network interfaces will not come up as Ubuntu has added some MAC matching rules. To fix this on the machine that will be cloned, do this:

Add:

# ignore VirtualBox virtual interfaces
ENV{MATCHADDR}=="08:00:27:*", GOTO="persistent_net_generator_end"

to /lib/udev/rules.d/75-persistent-net-generator.rules

and delete the file
/etc/udev/rules.d/70-persistent-net.rules