It’s been a while so I thought I’d put up some pretty pictures I have taken with my drones over the past couple of years!
ArduPlotter – Updated Responsive Web Design
Whilst ArduPlotter has always been responsive (utilising the Bootstrap framework), it hasn’t always used all of the available screen space. This was especially true for large screen devices (1200px+ wide).
I have updated it so that if your browsers is larger than 1200px, you will get graphs to the right of the map instead of below it. This allows a lot more of the information to be viewed simultaneously. Continue reading
ArduPlotter – 3D Map (CesiumJS)
So on Christmas Eve I was tracking Santa (as you do), and noticed that the NORAD tracking no longer opens up Google Earth, but instead works in browser.
Doing some digging around I found that they used Cesium. This uses WebGL to create 2D maps and 3D globes. From the start of ArduPlotter there has been a button to download a (generated) KML file of the flight which will open in Google Earth if you have it installed. Being able to view a 3D map in browser seemed like an awesome idea, so I set about making a quick prototype.
Blackout Spider Hex
I’m don’t just work with computers, I’ve also been getting into drones over the past couple of years!
Turn Raspberry Pi off using Adafruit LCD & Keypad
So I’ve just got one of these and wanted to turn it off if you hold down one of the buttons for a short period of time.
This is the quick python script I’ve come up with. Continue reading
Sails.js and HTTPS (SSL)
So you are ready to deploy your Sails.js application and you want to use HTTPS (ssl). So you go to the website. Nothing there. A bit of googling takes you to this Stack Overflow question. That doesn’t work.
You then find the wiki on SSL. That says ‘TODO’ and has done for the past 5 months. Well that’s helpful. Continue reading
Apache and Nginx
I have just installed Nginx on my Linode VPS, and I have moved my blog and website to it to. I have also consolidated my blog and personal website into one site.
I have put Nginx in front of Apache, so all the static files are served by Nginx, with the rest (PHP) being served by Apache using Nginx as a proxy.
Continue reading
Cacti IPMI data via SNMP
IPMI data to SNMP
I’ve been monitoring CPU, Ram, HDD, and network usage using cacti for a while, but recently I’ve wanted to monitor temperature and fan data. A couple of servers have IPMI on them, which I can use to access the temperature and fan data, however there doesn’t seem to be an easy way of getting this into cacti.
I started off following IPMI Sensor Data on Dell 1850s and 2850s via SNMP and Cacti by Barry O’Donovan; however that is now a bit old, and it seems that a couple of things seem to have changed.
Continue reading
Linode DDNS and OpenWrt updater
Linode DDNS updater script
So my domain registrar doesn’t do DDNS (dynamic dns), but Linode have an API to update your DNS records that you have on their name servers, so you can do DDNS with your own domains really easily!
I use my Wifi router with OpenWrt on to run the update script every hour. There are a couple of updater scripts out there, a quick Google will find you some. Below is one I’ve bodged together using a couple I found Continue reading
Useful Magento code snippets
So I have been playing around with Magento for a couple of weeks and I have come across some very useful code snippets along the way. I have listed them below in the hope that they are useful to me and anybody else in the future. I will be adding more as I come across them. Let me know in the comments if you come across any more!
- Arduino (1)
- ArduPlotter (2)
- Cacti (1)
- Code (8)
- Drones (3)
- Eclipse (1)
- Electronics (2)
- JavaScript (2)
- Linode (2)
- lubuntu (1)
- MythTV (1)
- MythWeb (1)
- Node.js (1)
- OpenWrt (1)
- PHP (3)
- Python (1)
- Raspberry Pi (1)
- Sails.js (1)
- Servers (2)
- Ubuntu (1)
- Uncategorized (1)
- Unit Testing (1)