My article about pretty basic, but important concept in Java: do-s and don’t-s when implementing the equals() method on objects
Definitely a thing every good developer must know
My last year’s experience with Global Day of Code Retreat in Cluj, Romania.
Automatic installation of Let’s Encrypt SSL certificate for nginx on Amazon Linux is not yet supported. Let’s see how we can do this manually.
To generate the certificate, execute:
sudo service nginx stop
git clone https://github.com/letsencrypt/letsencrypt
git checkout amazonlinux
sudo letsencrypt-auto -v
Most likely, this will fail on:
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
To fix that, run:
Short article about the first Ignite ever in Cluj last year, which I helped to organise.
To fix painfully slow PHP mail function (you are also probably getting lots of
unable to qualify my own domain name
errors in /var/log/mail.log), make sure that both localhost and localhost.localdomain are in your /etc/hosts file:
127.0.0.1 localhost localhost.localdomain
Also add localhost.localdomain as new line to /etc/mail/local-host-names file.
As the last step, restart sendmail:
service sendmail restart
You can quickly test by running:
mail -s "Test Email" your@email < /dev/null
There is an annoying error when you try to pair the Visual Studio + Xamarin combo with Mac OS 10.10 Yosemite build host:
The PIN you entered was invalid. Please ensure you have entered the correct PIN
Even though you are entering correct PIN. To fix this, execute on Windows machine:
telnet [ip address of mac host] 5000
If you get an error similar to this:
system_profiler[18700:1303078] Error loading /System/Library/SystemProfiler/SPNVMeReporter.spreporter: Error Domain=NSCocoaErrorDomain Code=4 “The bundle “SPNVMeReporter.spreporter” couldn’t be loaded because its executable couldn’t be located.”
Go to /System/Library/SystemProfiler/ and most likely the SPNVMeReporter.spreporter bundle will have zero size. Delete it (or move it to a safe place) and try pairing again, it should work this time.