hl.pnghc.pnghr.png


ssl.pngmenu.pngssr.png
screenbl.pngscreenbr.png

Maz :: Now what? OO php and an exercise in futility.

screenbl.pngscreenbr.png


ssl.pngmenu.pngssr.png
This is the ANTI-menu. It's just here to stop the page falling over when I put in menu items.
And because Loki hasn't given me the title bar image for this side yet.

ALL HAIL ZOGRIM!
screenbl.pngscreenbr.png
My categories weren't displaying right but something seems wrong with calling.. '$cats = trim($cats, ", ");'

One should not make a habit of trimming cats.
screenbl.pngscreenbr.png

Content_Above_Screen_Left.pngNew media center "case"Content_Above_Screen_Right.png
ctl.png ctr.png
Posted by: Maz on 09-Dec-2014 01:30:36pm in categories: projects

I'm building a new XBMC media center. More details to follow my fancy case.


media center, xbmc
cbl.pngcbr.png

Content_Above_Screen_Left.pngUPSMonitor: some free softwareContent_Above_Screen_Right.png
ctl.png ctr.png
Posted by: Maz on 03-Nov-2014 11:17:37pm in categories: projects

Apparently I had finished this project but had never installed it. Now that I've installed it and it works well, I thought it would be nice to share.
Download UPSMonitor.zip
Make sure you have .NET v4 installed.

What it does:
Using the built-in system diagnostics library, it monitors the AC state and battery level and on state change it runs plugins. Initially I have configured it to wait until the battery is discharging and the level is less than 50%, then it sends a shutdown command to a network pc. Also it logs an event to the eventviewer when AC power is lost or restored.
I also have a plugin that talks to Hyper-V and shuts down, suspends, starts virtual machines (not included).
This works with a laptop very easily, or with my CyberPower UPS plugged in with USB (But I had to use the default windows driver and not install their software).

Installation instructions:
- Extract the zip file and run "install.bat".
- Edit the configuration file (I have provided 2 sample plugins and basic usage for them).
- Go to the services administration tool and start "UPS Monitor"

Uninstallation instructions:
- Stop the service.
- Run "uninstall.bat"
- Delete the folder.

For developers:
If you want to write your own plugins, I'm using MEF and the interface you need to implement is in the Common.dll. Just make your own class library, add a reference to the Common.dll and implement the IPowerMonitorPlugin interface. If anyone is after the code for the whole project, just send me a message somehow. I'm not sure how yet either but you'll work something out.

C#, UPS monitor, MEF, .Net, Programming
cbl.pngcbr.png

Content_Above_Screen_Left.pngPhotos from a phoneContent_Above_Screen_Right.png
ctl.png ctr.png
Posted by: Maz on 26-Aug-2014 02:02:30pm in categories: photography

Just for an added challenge, night time photos with my phone.



Night
cbl.pngcbr.png

Content_Above_Screen_Left.pngA rolling tour of the cityContent_Above_Screen_Right.png
ctl.png ctr.png
Posted by: Maz on 20-Aug-2014 12:51:27am in categories: photography

I went for a skate. Here are some photos












Night
cbl.pngcbr.png

Content_Above_Screen_Left.pngHexacopter in flightContent_Above_Screen_Right.png
ctl.png ctr.png
Posted by: Maz on 15-Jun-2014 09:42:13pm in categories: projects

So I took my hexacopter out to the farm to test fly it after my dad very kindly built me some reverse thread prop mounts so that I don't have the damn things coming off mid-air.
Because I still don't know where my voltage and current sensors are (shipped from sparkfun a few weeks ago), I couldn't fly it too far or too hard because I didn't know when the battery was going to cut out.
Anyway, I know you're only here to see the pics and video so....



I have done no real calibration or setup yet so I'll do that during the week and have a new awesome video at the end of next weekend.

Hexacopter, Remote control
cbl.pngcbr.png


ctl.png ctr.png
Page generated in 0.15473198890686 seconds at 1419108468
cbl.pngcbr.png