[11-01-2015]
Check whether OS X is in Dark/Light theme
Recently, I was forced to check whether application is in Dark/Light theme (status icon must be either white or black). I have found two solutions. First one boolean isDark = [NSAppearance currentAppearance] name] containsString: NSAppearanceNameVibrantDark] and second one boolean isDark = [[ [NSUserDefaults standardUserDefaults] stringForKey: “AppleInterfaceStyle”] isEqual: “Dark”] To my surprise, both can give different […]
[09-01-2015]
And Now for Something Completely Different – Type-R
If you are fan of Type-R, as I am, you will probably like this one :) https://www.hondatheotherside.com/
[07-01-2015]
And Now for Something Completely Different – Ann Cotten “Homology, Myself”
You probably know that feeling when you link randomly placed elements and, at some point, something unexpected emerge. This is exactly the case I had with Ann Cotten. So, it started with Gh+ broadcast by Grzegorz Hoffmann. At 8-th of December he was playing Mr. Oizo and some other stuff that was pretty cool. As […]
[19-12-2014]
rxvtimg.C error: ‘PictOpDifference’ was not declared in this scope
If you experience the issue with following error: rxvtimg.C: error: ‘PictOpDifference’ was not declared in this scope you can overcome it by commenting out following part in config.h /* Define to enable xrender support */ /* #undef XRENDER */ Update: Optionally, you can disable transparency by setting following settings in config.h /* Define if you […]
[18-12-2014]
#error Blitz is configured with –enable-threadsafe
#error Blitz is configured with –enable-threadsafe, but no compiler thread support is found. Did you forget, e.g., “–pthread”? This message might be quite confusing, as typically, you will blindly take “–pthread” and pass directly into g++. However, g++ have other option :) -pthread
[01-12-2014]
DDD – compilation fails: strclass.C: In function ‘std::istream& operator>>(std::istream&, string&)’: error: ‘EOF’ was not declared in this scope
If you have an issue while compiling DDD strclass.C: In function ‘std::istream& operator>>(std::istream&, string&)’: strclass.C:1546:35: error: ‘EOF’ was not declared in this scope Go, and thanks this guy http://garricksblog.blogspot.com/2012/02/mid-terms-and-build-errors.html. quote: “It turns out that the constant EOF was not probably declared by including stdio.h. So I went ahead and added that in: homer@homer-desktop:~/MyPrograms/ProgramSourceCode/ddd-3.3.12$ diff ddd/strclass.C […]
[29-11-2014]
Theme, you can fall in love with :)
Recently, while reading Getting started with tmux, I have read about really nice theme -“SOLARIZED”. You can find it here: http://ethanschoonover.com/solarized There is a predefined profile for iTerm, so you are good to go straight after downloading it. Highly recomended.
[29-11-2014]
Getting Started with tmux by Victor Quinn, J.D.
Summary: short and straight to the point This book is one of these short manuals where you get exactly what you need. Simple and straightforward explanation of the tool, helpful examples, and real life cases that show how can you improve with tmux with really not too much effort. You are literally guided step by […]
[27-11-2014]
Modern Perl Best Practices by Damian Conway
Summary: Highly recommended Whether you want to watch this video heavily depends on how much Perl do you use, and how much do you appreciate good advices. If you work with Perl on day to day basis, and you want to improve by applying some of the good practices, really consider this one. Damian Conway […]
[25-11-2014]
How to import Safari bookmarks into Opera 25
It is not an easy task. Unfortunately, it doesn’t work out of the box, but you can cheat Opera a little bit. So, to get all bookmarks from Safari inside Opera 25 you have to use Chrome :) Install Opera, install Chrome. After starting Chrome, it will ask you to import bookmarks from Safari – […]
[18-11-2014]
Keynote – disable snap to objects
Sometimes, it’s quite frustrating when you can’t place object exactly where you want it. And that’s the result of “snap” feature in Keynote. You can easily overcome that by clicking Command button. Take a look below.