[10-01-2016]
If you need OpenVPN on your Mac, and you don’t want to pay for OpenVPN applications, you can compile everything for your own. 1. Get OpenVPN for OS X You can download OpenVPN, for free, from page: https://codeload.github.com/OpenVPN/openvpn/zip/master 2. Get LZO library Download LZO sources from http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz 3. Get tuntap for OS X Download installation/sources […]
[07-01-2016]
GNU Typist is a great source for learning touch typing. You can install it on your own at your Mac. Just follow the steps. 1. Get the source of typist # make sure to have all sources inside ~/opt/src mkdir -p ~/opt/src cd ~/opt/src curl -O http://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.gz tar zxf gtypist-2.9.5.tar.gz 2. Get the source of […]
[12-11-2015]
“At some point, everything’s gonna go south on you and you’re going to say, this is it. This is how I end. Now you can either accept that, or you can get to work. That’s all it is. You just begin. You do the math. You solve one problem and you solve the next one, […]
[30-07-2015]
test “$?BASH_VERSION” != “0” || goto tcshcmd echo “running in bash” if [[ “$1” == “test” ]]; then echo “you have passed test as argument” fi return 0 tcshcmd: echo “running in tcsh” if ( “$1” == “test”) then echo “you have passed test as argument” endif
[21-07-2015]
break foo if strcmp(string_var,”some_string”) == 0
[08-07-2015]
Make sure to join it if you are the fan of NetBeans and you like to do some serious testing! NetCat 8.1
[29-06-2015]
If you want to use arima with data that are divided into groups, you can do something like this. data
[11-06-2015]
BORN IN THE ECHOES
[21-05-2015]
You know that “bigger half” thing. When you divide a cake and the other guy says, “I want that bigger half”. And you probably know that mathematicians freak out when they hear that. But, you know, there is a proof that there is actually a bigger half. If engineer says so, and it works, it […]
[03-05-2015]
I was struggling, recently, with Syntax theme. This is super cool theme if you are focusing on writing. Simple, very plain, no fancy stuff around. Just text. There is, however, one thing I had to change. In the menu (you can find it on the left side of the page), first page is called “Home”. […]
[20-04-2015]
If you get close to the capacity of Time Machine, you can easily solve that by: Note! You will work as root! You may destroy things! shell> su – shell> cd /Volumes/your_time_machine_disk/Backups.backupdb/machine_name # to find what you can delete just use command (make sure you get correct result) shell> find . -maxdepth 1 -type d […]
[18-04-2015]
Summary: Solid introduction to modern C++ On a day to day basis I work with C++ legacy code. No surprises, just classes and some overloaded operators. Nothing special. I have jumped into Effective Modern C++ as I wanted to know what’s really behind C++11 and C++14. And there’s a lot. I bet, after reading this […]
[07-04-2015]
If you plug Logitech Performance MX and enable free scroll option, you will notice that by default it is incredibly fast and speedy. You can alter these settings by: System Preferences -> Logitech Control Center -> Performance MX -> Configure -> Buttons -> Micro Gear Precision Scroll Wheel and choosing NOTE! If you use free […]
[07-04-2015]
If you have experienced a buggy behavior of the Logitech Performance mouse inside OS X, do following. 1. Install most recent Logitech Device Manager (3.9.1) 2. In the device settings (Logitech Device Manager) set the Tracking Speed Multiplier like this 3. In Mouse preferences set tracking value like this It solved my issue with buggy […]
[11-01-2015]
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]
If you are fan of Type-R, as I am, you will probably like this one :) https://www.hondatheotherside.com/