While building some migrations with Goose I had some strange (for me) error, for which you can find a lot of different stuff on Google but nothing helped.
Continue reading “Go Lang Oracle – ORA-00933: SQL command not properly ended”
Author: Lyubomir
PHP SoapClient() gives error 500 and cannot catch the error
Went to an error 500 in production server while using PHP SoapClient library to connect to some third-party API. The error was really strange, just error 500 and nothing more, even if you are using try catch, you won’t be able to catch and see the error.
Continue reading “PHP SoapClient() gives error 500 and cannot catch the error”
How to change directory permissions in PHP
In general, there is no big problem and it is quite easy to change permissions of a directory to 0777 or something different, you simply do (if you create) mkdir('/project/data/videos', 0777)
but this might not work…
Continue reading “How to change directory permissions in PHP”
Escape backslash and special char in PHP – command line
If you ever need to escape special char with a backslash and then to escape the backslash in shell_exec() or exec() PHP functions (not only).
Continue reading “Escape backslash and special char in PHP – command line”
How to connect to Google APIs
I had small issue searching for the right way connecting to Google Cloud APIs, that’s why I want to show you how to connect with an example for Vision API, you can find that the steps are easy but I will list them.
Arduino UNO WiFi connect to WiFi
After you update your firmware of the UNO, the next step is to connect it to your WiFi, it is hard to find how exactly you should do that, that’s why I will list short steps to do that.
Continue reading “Arduino UNO WiFi connect to WiFi”
Arduino UNO WiFi R3 WiFi Firmware updater – IDE 1.8.2+
I was trying to connect to my new Arduino UNO WiFi R3 to my WiFi network in home and had to spend big amount of time in searching of errors like Can't communicate with programmer!
; programmer is not responding
; WiFi shield not present
OR cc.arduino.plugins.unowifi.UpdaterImpl$2.run(UpdaterImpl.java:112)
Continue reading “Arduino UNO WiFi R3 WiFi Firmware updater – IDE 1.8.2+”
Zend Framework 3: $this->render() and $this->partial()
I have found very good explanation what is the difference between
$this->partial('script.phtml', ['article' => 'value'])
and
$this->render('script.phtml')
and it is still valid for Zend Framework 3, here it is
Zend Framework 3: HeadTitle() __toString() error
If you are new to Zend Framework you might land on this error after trying to use MvcTranslator module
Fatal error: Method Zend\View\Helper\HeadTitle::__toString() must not throw an exception
Continue reading “Zend Framework 3: HeadTitle() __toString() error”
How to integrate Amazon AWS SQS
SQS stands for Simple Queue Service, is a highly scalable and reliable distributed queueing system, which can be used to make applications asynchronous.
I will show you the simplest way of integrating the SQS, installing AWS SDK, Creating a Queue and a Worker to manage the queues and push tasks to Queues.
Continue reading “How to integrate Amazon AWS SQS”