Replace Google Chrome by Safari in personal usage

Until recently, I thought that was impossible, but it turned out that it is – our main browser can be changed, although we have used it for years and in many respects were satisfied with it. I used to use Google Chrome for both personal and work, because it was a universal choice full of useful options and the ability to easily expand with applications and add-ons. Recently, I moved to Safari. Although the reasons were not incredibly revealing, but I decided to share what I like in this browser.

Continue reading “Replace Google Chrome by Safari in personal usage”

From Android to iOS – few months later

I used to use Android and it was so for many years and many different devices. In most cases it was something from Nexus series: Nexus S, Galaxy Nexus, Nexus 4 or Nexus 5. Why? Because software has been delivered directly from Google, with instant updates without other companies additional layers and many unnecessary applications. But last year, last fall I decided to change everything… and replaced Android phone to iPhone 7. I also replaced Android tablet to iPad Mini 4 two months later. What can I say after few months with iOS? Is this system better, or worst than Android? Can I do the same things faster, or slower? I can explain my experiences and invite you to comment and describe yours.

Continue reading “From Android to iOS – few months later”

Fix: perl: warning: Setting locale failed

If you use OS X you can disover strange issue while connecting other machines through SSH (ex. Ubuntu Servers). It’s information about problems with load locales: perl: warning: Setting locale failed. It isn’t your server fault, but OS X default settings used in user session and profile. You can easily fix that issue editing profile file or for example ZSH config file.

Just edit ~/.profile and add that lines on the end:

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

After that close terminal and open it again (ZSH) or just re-login to system. You can of course use other locales, specific to your system language and region settings.

Fix – Play/Next/Prev buttons don’t work on OS X

I discovered last time, that Play / Pause / Next / Prev buttons from keyboard doesn’t work on my MacBook and OS X. Normally, the click of play button opens the iTunes or play/pause songs. It suddenly stopped working and I didn’t know why. The issue was Google Play Music – extension for Google Chrome browser to use service with the same name, upload music etc.

Continue reading “Fix – Play/Next/Prev buttons don’t work on OS X”

Fix SYSLOG check failed on Ubuntu Server 16.04

If you use Ubuntu Server and decided to install some firewall or log monitoring (UFW, LFD etc.), you can receive strange mails about SYSLOG check failed. The example content of such mails is:

Error: Failed to detect code [BlaBlaBla1234BlaBlaBla1234] in SYSLOG_LOG [/var/log/messages]

SYSLOG may not be running correctly on mymachine

You must first check rsyslog service status (service rsyslog status) – Ubuntu uses rsyslog by default and if there is no such service, you should install it. This may not be enough, becuase default rsyslog configuration doesn’t ceate messages log files. To change that, you should edit file /etc/rsyslog.d/50-default.conf (file may be called differently!) and uncomment that section:

*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages

It is responsible for saving logs to /var/logmessages file. You can also uncomment or comment other settings in that file – rsyslog provides many informations about mails, kernel, user actions or debug info. After that just restart service. Firewalls and monitoring services should work fine now.