Fixing “Can’t add an inotify watch of /etc/config/rsync_schedule.conf error!: No Space left on device” on QNAP-419P

So, this issue seems to come back on my QNAP when using rsync for backup. It seems to be a bug that returns but the main issue is that the system doesn’t allow enough inotify watches resulting in this error. Best would be a good fix to avoid needing so much, but since we also want to get stuff done we are cheating our way out, by increasing the maximum. ...

November 8, 2015 · 1 min · Bas Grolleman

Schoolagenda Vogelhorst 2015-2016

Zoals elk jaar is het weer even werk om de hele schoolagenda over te nemen in de agenda. Maar daar heb je de rest van het jaar plezier van. Omdat ik anderen graag wat werk bespaar deel ik hier het spreadsheet wat ik gemaakt heb, deze kan je eenvoudig importeren in je Google Agenda. Het CSV Bestand - De Vogelhorst Kalender 2015-2016 Hoe importeer ik dit in mijn Google Agenda? Dat is heel eenvoudig, download het .csv bestand en ga vervolgens naar Google Agenda. Klik naast “Andere Agenda’s” op het pijltje om een menu te laten zien. Daar pak je de optie “Agenda Importeren”. ...

September 22, 2015 · 1 min · Bas Grolleman

Minecraft Install Shorthand

sudo apt-add-repository ppa:minecraft-installer-peeps/minecraft-installer sudo apt-get update sudo apt-get install -y minecraft-installer

September 2, 2015 · 1 min · Bas Grolleman

Mannelijk Koken

Ingredienten: Chorizo, Rode UI, Paprika, Courgette, Wortel, Pastinaak, Aardappel partjes met rozemarijn en knoflook uit de diepvries Oven op 190 graden, 20-40 min 1. Snij alles in brokken 2. In bak doen en beetje olie erover 3. Mixen 4. Op bakpapier op bakplaat en in oven

August 14, 2015 · 1 min · Bas Grolleman

Random Chrome Crashes

I stopped using chrome a while back, constant crashing made it unusable as a daily driver. Wasn’t to hard switching to Firefox, but I was missing the per app icon feature I could use in Ubuntu. Allowing me to make every web application feel more like a separate program in unity. Then I found this article http://www.rfc3092.net/2014/05/too-many-open-files-foo-with-chrome-on-ubuntu-13-10/, it boils down to increasing filesystem file-max and ulimit as chrome uses a lot of small files. ...

March 20, 2015 · 1 min · Bas Grolleman

Generate true unique server-id for mysql using puppet

I found a few solutions on the net, but people just attach the last 2 digits and I would like to avoid issues like this where 10.0.1.11 and 10.0.11.1 would both produce server-id 111. So to fix that, I seperate the IP and multiply the 3rd digit by a 1000. $serverid = inline_template(’<%= scope.lookupvar('::ipaddress').split('.')[2].to_i * 1000 + scope.lookupvar('::ipaddress').split('.')[3].to_i %>')

December 1, 2014 · 1 min · Bas Grolleman

Sending Uptimerobot notifications to pushover

I wanted to use Pushover with Uptimerobot, as it’s a much nicer way to be notified about site issues then email. Unfortunately, Uptimerobot only supports GET requests and pushover needs POST requests.So to fix that I wrote a small PHP script that I loaded on my OPS machine that converts the GET to a POST request and does a bit of nice formatting while doing so. I put the code up on bitbucket. ...

April 10, 2014 · 1 min · Bas Grolleman

Getting Portify to run on Ubuntu (13.04)

So, wife want’s to transfer from Spotify to Google Music. Luck would have it that there is a tool to do that. Quick disclaimer, These are the steps I did to get it to work on my Ubuntu 13.04 install Portify isn’t fully stable, it stopped/hanged a couple of times Preparing ubuntu I’m building as my regular user, feel free to break/comprimise your system by running this is as root, I’m going to start with getting a current version of nodejs and build stuff ...

November 16, 2013 · 2 min · Bas Grolleman

Autokey-GTK

I love playing with autokey-gtk, as it saves me a lot of keystrokes and helps improve my workflow. It’s also the main reason I will not be switching to any other OS like ChromeOS I’ll try and post a few of my scripts once in awhile, it uses python code so sky’s the limit. Copy text, filter out jira ticket and open in new tab This script selects all text, copies it to clipboard and then searches for a jira ticket. Once found, open a new tab, and paste the Jira URL. ...

April 18, 2013 · 1 min · Bas Grolleman

Building a Hackintosh!

So, I hate Apple with a passion. They make great hardware, but you are limited in choice and if something breaks you can bet your sorry ass that your system is under repair for a couple of weeks. I run Ubuntu, thank you very much. But, my wife Maaike Appels has to work on a Mac, Lightroom/Photoshop isn’t available for Linux and a requirement for a professional. So, for her I’ll put the hatred to rest and find a solution. ...

June 18, 2012 · 5 min · Bas Grolleman