Continuous Integration With Docker

So it turns out I actually liked setting up a dev environment in a recent role. So I decided to update my personal setup as I had let things rot after Jenkins decided to self-destruct after an update.
So what did I use?
git-o-lite- A tiny no-frills git-based admin based on, git. Whilst not the most user friendly, You don’t have to wrestle with a web browser, log in and click. You just modify the admin repository, commit and all is good! Yes, even post-commit hooks! It’s so satisfying seeing a message from ‘git push’ telling you that it’s triggered a build!
Build Scripts
Post date: Sep 01, 2015 12:00:00 PM
These are a bunch of simple scripts that I’ve put together to assist me in a few UE4 projects.
I’ll update these when I use them enough times to generalise them!
Simple compile script.
It’s for a Mac. This might help you write your own, maybe :-)
#!/bin/bash
export PROJECT_DIR=/Users/simon/Projects/Echo/Project
export ACTION=
export PLATFORM_NAME=macosx
export CONFIGURATION=DebugGame
cd /Users/Shared/UnrealEngine/4.9
/Users/Shared/UnrealEngine/4.9/Engine/Build/BatchFiles/Mac/RocketBuild.sh $ACTION ProjectEditor $PLATFORM_NAME $CONFIGURATION "$PROJECT_DIR/Project.uproject"
Simple clean scripts
Regular Project.
Intel Edison - DFU Flashing Issues
Intel Edison
Problems with DFU flashing the Intel Edison
Have you tried to upload the ubilinux distro to your Edison?
Do you get the annoying error on your mac/linux machine “Unable to allocate file buffer for firmware” when you’re dfu-ing the image?
Or does the “Ten minute upload” become instantaneous, but the root image is your previous one?
Maybe it’s saying “Could not read file”?
That’s because your image exceeds the RAM in your machine, (or the limitations of your architecture if the image is more than 2Gb?).
Heli
Post date: Aug 01, 2014 12:00:00 PM
Heli
The Helicopter Game.
Dodge platforms, avoid the ground. Can you beat your best score?
Like us on facebook at https://www.facebook.com/HeliTheGame
Communication from an air gapped machine
Post date: Jul 01, 2013 12:00:00 PM
By definition air-gapped devices are on a separate network from the rest of the internet.
How could you communicate from an air gapped machine to the rest of the world?
(Based on a conversation I had with an author in 2013)
Power Modulation
Modulating the current consumption of a computer would make a device capable of measuring the load on a buildings power supply detect the presence of a program modulating the load on a computer (CPU load, Disk activity, GPU load, etc). You could possibly defend against this by isolating the machine from the power supply of the building by inserting a UPS or just have it run from a generator. Bandwidth - extremely low, unidirectional.
So far...
Post date: Jun 30, 2013 9:54:43 AM
Okay, I’ve picked this project up again - yay!
Working so far:
- Raspberry PI (Model B, Mark I) running raspbian Wheezy
- Mopidy + Spotify (So I can play tunes locally)
- MiniDNLA (So I can serve non-spotify media to DLNA/uPNP devices)
- USB3 Toshiba Hard Disk (2Tb, runs from a powered usb hub)
- TPLink Wireless dongles (with detachable antennas)
- HostAP – to be a wireless access point
- Netatalk – so my Mac can connect to it.
- SSH – so I can use scp/sftp to put files on the hard disk
What’s not working:
Huawei E355 USB MIFI Dongle
Post date: Sep 29, 2012 11:50:47 AM
So, we have already determined we need usb-modeswitch (and usb-modeswitch-data) to kick the dongle out of its silly
install mode (12d1:14fe) and to present the actual network interface it provides (12d1:1c1e).
It seems that when it did work in a VM it worked with CDC_NCM,
and a 2.6.x kernel … newer 3.x kernels seem to be a little stroppier about unrecognised CDCs.
More research is required. sigh
Setting up automounting on the Raspberry PI
Post date: Sep 27, 2012 12:06:04 PM
So the non-optimised debian setup hasn’t been working for me, so I’m using the raspbian distro now.
So I’ll be using the udisks-glue package.
Just add a line with udisks-glue into /etc/rc.local just before the “exit 0” line.
Then edit /etc/udisks-glue.conf to look (something like) this:
--- Start File ---
filter disks {
optical = false
partition_table = false
usage = filesystem
}
match disks {
automount = true
automount_options = { sync, noatime, "dmask=0", "fmask=0" }
}
filter optical {
optical = true
usage = filesystem
}
match optical {
automount = true
automount_options = { ro, "mode=0444", "dmode=0555" }
}
--- End File ---
Notes:
Plan 3.14159... (Raspberry Pi)
Post date: Sep 07, 2012 8:56:22 AM
Yes, the next bit of kit to try is the Raspberry PI.
I’m trying the “Softfloat” version of the Raspberry PI-based Debian installation.
Currently, I’ve installed usbmount (to mount the SD card when it appears on the usb bus) and usb-switcher to punt it into 3G mode.
So, it currently mounts, but that’s about it. I can’t seem to find the “cdc_ncm” but it according to /proc/config.gz as it’s compiled in statically …
More voodoo than what currently know about at the moment. The last linux kernel I compiled was a 2.4.xx ages ago.
Plan B: MK802
Post date: Sep 07, 2012 8:32:34 AM
So I tried plan b earlier in the week.
If you follow the movements of tiny computing hardware, an embedded linux aficionado, or are just an Android fanboy, you’ll have heard of the “Android Powered Mini CPU for just $ 65” - the Rikomagic MK 802. Well, apparently it can run Linux, and there are a number of Ubuntu-based distributions for them. However, it’s all a bit rubbish – the Mali X drivers corrupt the displays on mine, and they seem to rapidly overheat.