Some Git comments I need to remember
To remove a directory from the repo ( not deleting the directory on the local file system) To stash stuff To retrieve stuff from the stash To restore a single file from a different branch (f.i Master)
To remove a directory from the repo ( not deleting the directory on the local file system) To stash stuff To retrieve stuff from the stash To restore a single file from a different branch (f.i Master)
A few years back I started my journey on the Rpi train by buying a Raspberry Pi Zero w. It has served me well since then, primarily used as the host for domoticz and later on used as Pihole server until it got replaced with a RPI 3. When the Rpi 3 joined the family … Read more
Sometime ago I started using domoticz on my first RPI ( zero w). The only reason that I used it was to keep track of my smart meter (p1). It ran for some time without any issues but suddenly it decided to crash all the time ( the pi that is). Obviously a SDcard that … Read more
I finally decided that I need to make a daily backup of my two rasperry pi’s. One of them hosts my domoticz setup and the other one is used primarily as a dhcp /pihole server. So I think that it is save to say that a bit of a backup solution is ideal. I created … Read more
Last time I wrote about using pihole on the raspberry pi and some other things regarding pi. One of the things that I couldn’t get to work in pi was to let pihole be the DHCP server and forcing all devices on my network to use the pihole as primary DNS. Finally I succeeded. For … Read more
A couple of years ago I bought a neat little computer called the Raspberry Pi Zero W. The main reason to buy it was to fiddle around with it and ofcourse its cost. The board itself costs around 11 euro’s and in a set (includes a power adapter etc) it will cost around 34 euro’s. … Read more
So, quit some time since my last post on my blog. And I guess that some of you are wondering what I have been doing lately. Well.. lets just say this.. JAVASCRIPT, JAVASCRIPT, JAVASCRIPT A couple of months ago I bought myself a so called Homey. This is a little device that can act as … Read more
Game loop The traditional way of generating a loop inside javascript would be to use window.setInterval with a callback function. It seems best to use window.requestAnimationFrame(). This method seems to be running in a separate GUI thread for the browser. Because this is called whenever the browser sees fit you need to keep track of … Read more
This page is mainly used for me to add notes on things I encounter while working with EcmaScript 6 in Chrome (48) Classes: When working with EcmaScript 6 you can use classes. Classes are defined like so: class doSomething{ constructor(param){ this.param = param; } someMethod(){ console.log(‘do something’); } } Really straight forward Inheritance Inheritance can … Read more
Iets meer dan een jaar geleden ben ik begonnen met wheelen (hardlopen voor rolstoelers…). Dit beviel mij zo goed dat ik het steeds meer ben gaan doen en in 2015 zelfs mee heb gedaan me zowel de wings for life world run als ook de Rolstoelmeerdaagse Deurne waar ik respectievelijk 20,5 en 3×30 kilometer heb afgelegd. Door … Read more