Minecraft Key Controls

It’s the season to play more games again… quarantine, holidays, nothing on TV, whatever the reason is. I have my own Apps and Games, but sometimes I like to indulge in a little MineCraft Building Splurge running on my own private server. Let’s insert a little disclaimer here: All rights reserved to Mojang for Launcher code and Minecraft. Please purchase the game and support mojang by visiting The Official Minecraft Website for future updates and development of the game!
Anyway; because I do not play that frequent I always have to look up the keys and mouse buttons again to know which key controls what funtionality in the game.

Continue reading Minecraft Key Controls

Google AdMob policy violation ADS AND CONTENT OVERLAP

It starts with a warning, which I seem to receive several times a year: Google stops displaying the ads in my App. Even though there is no violation, they just do this. I will copy some e-mail content below, so you can see the steps and know what to expect and how to react. Also of course for my own reference, since I have written this response several times now, but the reaction is always the same.

Continue reading Google AdMob policy violation ADS AND CONTENT OVERLAP

HP LaserJet Pro M280 M281 Printer series 20200612 firmware downgrade

The source of the solution is here, my problem was real!
After a firmware upgrade for my HP M281fdw all-in-one printer, it suddenly started complaining about communication problems with one of the supplies. “Supply problem.” on the screen and “The indicated supplies are not communicating correctly with the printer. Try reinstalling the supplies. If the problem persists, replace the supplies to continue printing.” in the help-text. Uncertain about the level of toner in my K container I simply ordered a new one. Of course no one wants to pay ridiculous prices, so I go for the home-brand of 123inkt.nl
Since I knew my CMY had been low for months I decided to change those three at the same time. To my surprise this suddenly gave errors on all four supplies, making me go ‘hmmmm’.

I started googleing and getting more frustrated about my printer not doing what it is supposed to, I remembered I clicked something about a firmware update and forgot about it. Then I found this article which gave me the option to downgrade… AND IT WORKED! My toner was actually still at 90%

So, HP, Hewlett Packard, you F@!^%#$-ing B@#&$%ards, blocking non-HP toners is so stupid, low-blowing and unbelievable, I am thinking about calling my lawyer to see if that is even legal, blocking me to use the more enonomical printer-supplies-brand I prefer and costing me a day of waiting for a newly ordered toner and a couple of hours of aggravation before I could solve this issue with finally a firmware downgrade.
Anyway, below the solution, which I copied and corrected from the other website:

Continue reading HP LaserJet Pro M280 M281 Printer series 20200612 firmware downgrade

Wind and Solar Power Grid Connection

Free energy is a nice idea; unfortunately you need to invest in some equipment to actually make it happen. Trying to build the following setup, thank you aliexpress:

The components are: windmill, wind charge controller, tiny solar panel, solar panel charge controller, a 12v battery, some 12v DC cables and wires and a couple of switches to tie it all together.
Still working on the choices for the grid tie converter.

* advertisement:

get a free coupon for new users here

That’s all folks!

IDE1006 Naming rule violation

Thank you visual studio with your strange default settings, causing the error/warning all throughout my code: “IDE1006 Naming rule violation: These words must begin with upper case characters”.

Go Google, find this, and solve it actually like so:

  • By going to Tools > Options… > Text Editor > Basic > Code Style > Naming
  • Click ‘Manage Naming Styles’, add new style ‘camelCase’ (or whatever else you require), and save.
  • Set the Required Styles to camelCase and save by clicking OK
  • Thank You Microsoft!

Have a nice day!

Icepay cURL 60 SSL problem

To be precise, the error is: “Unable to reach the ICEPAY payment server (60):SSL certificate problem: unable to get local issuer certificate

The solution could be:

curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, 0);

or, which also works in my case:

curl_setopt($this->ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);

Of course bypassing SSL security is never the correct option, but for a development server we all make exceptions sometimes.
Have a nice day!

Mac time synch

Using vmware I always suspend my mac-os machine, so the time at revival is never correct… so how to force a time-synch:

source: here

10.14 Mojave

Mojave still uses timed, but ntpdate and the helpers ntpq are removed. To check and update your system time, you can call sntp directly.

$ sudo sntp -sS pool.ntp.org
Password:
sntp 4.2.8p10@1.3728-o Tue Mar 21 14:36:42 UTC 2017 (136.200.1~2533)
2018-09-29 19:42:41.448103 (-0200) +1087.742403 +/- 725.183462 pool.ntp.org 188.68.36.203 s2 no-leap

Out of the box, a tracking file is missing. So if you get the error below when checking time:

kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory

create the file and change ownership to root. Some people reported this was actually breaking the ntp synchronization.

sudo touch /var/db/ntp-kod
sudo chown root:wheel /var/db/ntp-kod

Then run again to check if the error message is gone.

sudo sntp -sS pool.ntp.org

In case you have the same issue, i used to use the following commands before, but they hasn’t worked since whatever previous os version/update:

sudo ntpd -sS time.apple.com
sudo ntpdate -u time.apple.com

Have a nice day!