February 4, 2018

Ubuntu Live USB with persistence

Creating a live USB is easy, adding persistence seems to be quite hard. After lots of research, there was alot of ways to do it, but most of these tutorials were out of date so some things weren’t relevant anymore or just didn’t work Here are some hopefully simple steps to create a live USB with persistence, using Ubuntu. This will also be available as a normal USB flash drive to windows users Read more

February 17, 2017

Node and systemd

For a while now I’ve had my dashboard combo tv and dashboard combo, which runs on dashing and dashkiosk, running in screen sessions. This , of course, is not very managable. If something breaks, you have to ssh in and then find the screen session, re-run the command. In comes systemd. This makes managing services easy! You are able to make anything a system managed service, being able to manage the service via the systemctl commands Read more

February 7, 2017

OneTimeSecret

So for those who use OnetimeSecret all the time, you can add this little function to your .bashrc (or similar) So then you don’t have to openh a browser to share your secret! onetimesecret() { if [ $# -eq 0 ]; then echo "No secret specified";return 1; fi secret=$(curl -s -F "secret=$1" https://onetimesecret.com/api/v1/share | cut -d '"' -f12) echo https://onetimesecret.com/secret/$secret } Output looks simlar to this george@george-LT:~$ onetimesecret Thisissupersecret https://onetimesecret.com/secret/kvq9927e3ylltd83u679vlyfr942vjg I found this very useful as I use it daily, and I can pipe it into any other cli messaging app (eg into slackcat)

October 26, 2016

Upgrading SD on the Raspberry Pi

I’ve been running my Raspberry Pi (V2) for almost a year and a half on a 16gb SD card, but because I run owncloud on the pi, I’ve been slowly running out of space. I know I can just add a usb drive or have owncloud store the data on an attached NAS or something, but I chose to just store everything on the SD card. Just so everything is in the one place. Read more

October 13, 2016

building phonegap app for Android and iOS

So I had the pleasure of figuring out how to successfully build and publish a phonegap app, both to the Play store and Apple store. It was bad enough that I have no experience with phonegap/Cordova (or anything iOS development related), but the previous developer had left no documentation. That was fun. Here are some notes of things I ran into along the way. Hope they help someone else out too Read more

November 25, 2015

ffmpeg picture-in-picture

So just a quick one. I needed to create a video that has Picture in Picture. So we could have a video of the presentation, inside a recording of the slides used. Usually I would use Adobe premier pro for this, but as I have Ubuntu installed on my laptop, I though of ffmpeg. It is much less resource intensive then the Adobe product, but of course its all command line, so you don’t get a pretty GUI to play with. Read more

November 25, 2015

Livestreamer!

So there is an awesome command line tool out there called livestreamer. It’s awesome because you can use it to stream your favourite live things, via command line! No more watching it through a browser and have flash (or even just chrome) clogging up resources. Pretty cool huh? Another cool thing it can do it save directly to file, so if you knew you couldn’t watch it while its live (say your at work) just stream straight to file and watch later Read more