start an esxi machine with ssh

Written by Jezek Patrick in the category Default


Tuesday 9 December 2014


with the tags .


Just found a KB article which describes how to start a virual machine while only SSH is available to connet to an esxi host:

# list running instances
vim-cmd vmsvc/getallvms

# check power state
vim-cmd vmsvc/power.getstate 

# power on a machine
vim-cmd vmsvc/power.on 
More

haproxy - switch backends with URL parameters

Written by Jezek Patrick in the category Default


Tuesday 2 December 2014


with the tags .


Today I had the time to play with haproxy as I needed to have a local cluster setup to test some piece of software. If you need to switch your backends with an URL parameter you can just use these lines of configuration Would love to have more time to spend reading what this software can do ;)
00 More

Mobile device resolution mess, MultiResolution to rescue

Written by Jezek Patrick in the category Default


Sunday 21 September 2014


with the tags .


Developing for mobile devices is cool. But mobile devices have different screen resolutions and thus different aspect ratios:

2048x1536: iPad retina
1920x1080: iPhone 6 plus, Full HD, HTC one
1334x750: iPhone 6
1280x800: TF201
1280x768: WXGA
1280x720: 720p, HD ready
1136x640: iPhone 5
1024x768: iPad mini, iPad 1+2
960x640: iPhone 4
800x480: WVGA, Lumina 520
480x320: iPhone 3, iPod Touch

Currently porting happy fly to windows phone and we decided to refactor the whole app. This time I like to layout all elements depending on the mobile screen resolution.

Unity's 4.6 new ui could be a solution to this, but not all elements we show are gui.

I started to work on a MultiResolution Editor Extension for Unity3d to store location and scale of object for different screen resolutions.

It looks like in the editor:

MultiResolution editor extension for Unity3d

In the inspector it look like:

More

Android TV

Written by Jezek Patrick in the category Default


Saturday 6 September 2014


with the tags .



47.5041305555568.7391361111111 More

homebrew mod_fastcgi OSX 10.9

Written by Jezek Patrick in the category Default


Wednesday 3 September 2014


with the tags , .


Just found a mailing list entry wich solved to compile mod_fastcgi on OSX 10.9

Apple in MacOS X 10.8 and 10.9 breaks the ability to compile Apache modules.

Try going to:

/Applications/Xcode.app/Contents/Developer/Toolchains/

and do:

ln -s XcodeDefault.xctoolchain OSX10.9.xctoolchain

More

meal

Written by Jezek Patrick in the category Default


Sunday 24 August 2014


with the tags .



47.624916666667-122.518075 More