[27-05-2014]

Practical Change Management for IT Projects by Emily Carr

Summary: Oriented on huge organisations Change, in every organization, is just a matter of time and it’s good to be prepared for it. In that respect I think it is definitely worth to read Change managament. You will, at least, know some factors that may influence the process. However, don’t expect to become change expert […]


[19-05-2014]

English International Keyboard nightmare

If you have switched from US layout to English international one, you know the nightmare of the key replacement. This particularly refers to: strangely shaped Enter, location of the backward accent (‘`’) and Paragraph in place of tilde. If you want to have them replaced with each other, take a look at this one: Then, […]


[07-05-2014]

And Now for Something Completely Different – Skalpel !!!

There is a brand new EP from Skalpel. You can find it here: https://itunes.apple.com/pl/album/simple-ep/id856020500. Highly recommended!!


[06-05-2014]

And Now for Something Completely Different – bass

If you plan to buy headphones, and you love lots of deep bass don’t forget to bring Wayfarer (Kavinsky) with you. You will easily pick best headphones while testing with this one :)


[05-05-2014]

can’t set the locale; make sure $LC_* and $LANG are correct

Comment out following line: # on macOS Sierra edit file: /etc/ssh/ssh_config # on previous versions, it should be located inside: /etc/ssh_config # make sure to comment out this line # inside this file you probably have SendEnv LANG LC_* # and you want to have something like this # SendEnv LANG LC_*


[04-05-2014]

7-zip OS X

1. Get the source http://cznic.dl.sourceforge.net/project/p7zip/p7zip/9.20.1/p7zip_9.20.1_src_all.tar.bz2 2. decompress it cd ~/Downloads tar zxf p7zip_9.20.1_src_all.tar.bz2 3. change dir to p7zip_9.20.1 cd p7zip_9.20.1 4. compile the code cp makefile.macosx_64bits makefile.machine make 5. copy it to your ~/bin directory mkdir ~/bin cp bin/7za ~/bin/7zip 6. add ~/bin to your $PATH echo ‘export PATH=~/bin:$PATH” >> ~/.profile 7. that’s it


[29-04-2014]

Python, GDB and PDB fun

1. Starting python directly from gdb (useful in case of debugging native calls) gdb -ex r –args python script.py args 2. Debugging inside Python using pdb (gdb style) python -m pdb myscript.py


[28-04-2014]

ps – process with parents


[23-04-2014]

Great deal with Locko from binarynights

You can get it for just .99$ – harry up! If you have installed demo version and you have forgotten your master password (as I did) make sure to remove database file before starting Locko again rm -rf ~/Library/Group Containers/J3CP9BBBN6.com.binarynights/Locko.lckdb There is also great Locko manual. You can find it here. Update: I think that […]


[17-04-2014]

Safari keeps asking me for keychain access

What worked for me are following settings After cleaning all the stored passwords and disabling autofilling Safari eventually stopped to bother me with multiple questions regarding keychain access each time there were user/password fields on the web page.


[14-04-2014]

Setting JAVA_HOME properly in Mavericks

export JAVA_HOME=$(/usr/libexec/java_home) you can put it inside your ~/.profile.


[08-04-2014]

Default icons for OS X – where can I find them?

If you are looking for all these fancy OS X icons (like ones below): You can find them here: /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources Just open Finder, choose from menu: Go -> Go to Folder … and paste above line.


[08-04-2014]

Compare two XML files

Let’s say we have two files: <!– first file –> <?xml version="1.0" encoding="UTF-8"?> <sometag attr="1" attr2="2"> Hello </sometag> <!– second file –> <?xml version="1.0" encoding="UTF-8"?> <sometag attr2="2" attr="1"> Hello </sometag> After cleaning with xmllint we can compare them. xmllint –noblanks –c14n file_one.xml >file_one_tmp.xml;\ xmllint –format -recover file_one_tmp.xml > file_one_canonical.xml xmllint –noblanks –c14n file_two.xml >file_two_tmp.xml;\ xmllint […]


[04-04-2014]

Mavericks – change computer name

In Mountain Lion it was enough to change settings inside System Preferences -> Sharing -> Computer Name In Mavericks, that’s not enough. sudo scutil –set HostName $COMPUTER_NAME_GOES_HERE


[02-04-2014]

OS X Maverics – USB based installation

1. Format USB drive using Disk Utility 2. Use following command inside terminal sudo /Applications/Install\ OS\ X\ Mavericks.app\ /Contents/Resources/createinstallmedia –volume\ /Volumes/Untitled –applicationpath\ /Applications/Install\ OS\ X\ Mavericks.app\ –nointeraction 3. Restart mac book with Option key pressed 4. Choose USB as startup disk 5. Make sure to erase your previous installation of OS X in case you […]


[01-04-2014]

Get full user name from console in Linux

Sometimes, simplest solutions are most efficient ones. getent passwd `whoami`


[24-03-2014]

nomachine server uninstall or disable – OS X – Mavericks

To uninstall or disable nomachine server on OS X: All this, below, is wrong :) I have figured out that this is not correct way to disable NX server. It uninstall client software as well. sudo /Applications/NoMachine.app/ \ Contents/Frameworks/ \ bin/nxserver –uninstall sudo /Applications/NoMachine.app/ \ Contents/Frameworks/ \ bin/nxserver –shutdown And the procedure below, is OK […]


[20-03-2014]

Packt is celebrating 2000th title – check this out

Packt is celebrating 2000th title released and they promote it with “buy one get one” promo. You can find details by clicking the banner below From my side, I suggest taking a look at following titles: Android Application Testing Guide and this one iPhone JavaScript Cookbook


[05-03-2014]

Cocos2d-X by Example Beginner’s Guide by Roger Engelbert

Cocos2d-X by Example Beginner’s Guide by Roger Engelbert Summary:Nice introduction, but I am not sure whether beginners will survive If you are looking for cross platform mobile development, Cocos2d-X can be a solution for you. Written in C++, cross-platform graphics engine that allows to develop games with ease. But with new engine comes great effort […]


[24-02-2014]

How to increase numbering in sections in LyX

If you want more than just three levels of numbering within sections, you can achieve that with two different approaches inside LyX. 1. By changing Document’s settings Document -> Settings -> Numbering & TOC 2. By applying LaTeX commands \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} First approach is more elegant in case of LyX, as you will see the […]