↓ Skip to main content

Posts

2013

German attack

·63 words·1 min
Suddenly I started to see all apps auf Deutsch: The cause was by mistake selecting additional language in Properties -> Internationalization (Österreichisches Deutsch) and the system added it to the list as language #1. Those programs that are localized, picked it up …. Here is how that list looks like after reorder :-) I care only for the first 11 languages anyway ;-)

Dot-vimming new machine

New MacMini # MacMini:~ mediaserver$ mkdir .vim MacMini:~ mediaserver$ git clone git@github.com:radegast/dotvim.git .vim Cloning into '.vim'... The authenticity of host 'github.com (207.97.227.239)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts. remote: Counting objects: 367, done. remote: Compressing objects: 100% (309/309), done. remote: Total 367 (delta 58), reused 335 (delta 26) Receiving objects: 100% (367/367), 512.73 KiB, done. Resolving deltas: 100% (58/58), done. MacMini:~ mediaserver$ cd .vim MacMini:.vim mediaserver$ pwd /Users/mediaserver/.vim MacMini:.vim mediaserver$ ln -s ~/.vim/_vimrc ~/.vim .vim/ .viminfo MacMini:.vim mediaserver$ ln -s ~/.vim/_vimrc ~/.vimrc MacMini:.vim mediaserver$ ln -s ~/.vim/_gvimrc ~/.gvimrc MacMini:.vim mediaserver$ pwd /Users/mediaserver/.vim MacMini:.vim mediaserver$ git submodule init Submodule 'bundle/tlib_vim' (git://github.com/tomtom/tlib_vim.git) registered for path 'bundle/tlib_vim' Submodule 'bundle/vim-fugitive' (git://github.com/tpope/vim-fugitive.git) registered for path 'bundle/vim-fugitive' Submodule 'bundle/vim-pathogen' (git://github.com/tpope/vim-pathogen.git) registered for path 'bundle/vim-pathogen' Submodule 'bundle/vim-unimpaired' (git://github.com/tpope/vim-unimpaired.git) registered for path 'bundle/vim-unimpaired' MacMini:.vim mediaserver$ git submodule update Cloning into 'bundle/tlib_vim'... remote: Counting objects: 992, done. remote: Compressing objects: 100% (372/372), done. remote: Total 992 (delta 594), reused 946 (delta 549) Receiving objects: 100% (992/992), 210.90 KiB, done. Resolving deltas: 100% (594/594), done. Submodule path 'bundle/tlib_vim': checked out 'd66948917ce7153e4a961aa5d57e1b0918e20495' Cloning into 'bundle/vim-fugitive'... remote: Counting objects: 1481, done. remote: Compressing objects: 100% (525/525), done. remote: Total 1481 (delta 637), reused 1405 (delta 579) Receiving objects: 100% (1481/1481), 190.02 KiB, done. Resolving deltas: 100% (637/637), done. Submodule path 'bundle/vim-fugitive': checked out '1b7e4070f5f7b7522422f5b00a75b323cc314daf' Cloning into 'bundle/vim-pathogen'... remote: Counting objects: 395, done. remote: Compressing objects: 100% (215/215), done. remote: Total 395 (delta 108), reused 372 (delta 90) Receiving objects: 100% (395/395), 47.73 KiB, done. Resolving deltas: 100% (108/108), done. Submodule path 'bundle/vim-pathogen': checked out 'ab64b4ddd0c184a528780b498a0b0a5b40248f7c' Cloning into 'bundle/vim-unimpaired'... remote: Counting objects: 260, done. remote: Compressing objects: 100% (118/118), done. remote: Total 260 (delta 84), reused 250 (delta 76) Receiving objects: 100% (260/260), 33.89 KiB, done. Resolving deltas: 100% (84/84), done. Submodule path 'bundle/vim-unimpaired': checked out '440629adb4051e5f9920704570d1ff0e88356dc2' Adding terminal shortcut ‘mvim’ # It is packed in the tbz file. Move it to /usr/bin

Performance issues with Quicklook in OS-X Lion

·957 words·5 mins
I have been experiencing issues with Quicklook (press Space on file in Finder or Pathfinder) for some time: it took several second, sometimes 10-15 to show content of simple 1K large property file. It turned out that on of the QuickLook plugins, installed originally way back in Leopard and brought ahead with TimeMachine restores could have been the reason: the QLStephen. For more on that plugin see: http://whomwah.github.com/qlstephen/ https://github.com/whomwah/qlstephen To remove the plugin, go to ~/Library/QuickLook and delete the file (it is the bundle) QLStephen.qlgenerator.

GVM

Installed GVM from: http://gvmtool.net ~ $ curl -s get.gvmtool.net | bash Thanks for using _____/\\\\\\\\\\\\__/\\\________/\\\__/\\\\____________/\\\\_ ___/\\\//////////__\/\\\_______\/\\\_\/\\\\\\________/\\\\\\_ __/\\\_____________\//\\\______/\\\__\/\\\//\\\____/\\\//\\\_ _\/\\\____/\\\\\\\__\//\\\____/\\\___\/\\\\///\\\/\\\/_\/\\\_ _\/\\\___\/////\\\___\//\\\__/\\\____\/\\\__\///\\\/___\/\\\_ _\/\\\_______\/\\\____\//\\\/\\\_____\/\\\____\///_____\/\\\_ _\/\\\_______\/\\\_____\//\\\\\______\/\\\_____________\/\\\_ _\//\\\\\\\\\\\\/_______\//\\\_______\/\\\_____________\/\\\_ __\////////////__________\///________\///______________\///__ Will now attempt installing... Looking for a previous installation of GVM... Looking for JAVA_HOME... Validating JAVA_HOME... Looking for unzip... Looking for curl... Installing gvm scripts... Create distribution directories... Create candidate directories... Download script archive... Extract script archive... Install scripts... Make init script executable... Prime config file... Attempt update of bash profiles... Updated existing /Users/miro/.bash_profile Updated existing /Users/miro/.profile Updated existing /Users/miro/.bashrc Attempt update of zsh profiles... Created and initialised /Users/miro/.zshrc Clean up local variables... All done! Please open a new terminal, or run the following in the existing one: source "/Users/miro/.gvm/bin/gvm-init.sh" Then issue the following command: gvm help Enjoy!!! Using # binsh $ gvm current Using: groovy: 2.0.6 grails: 2.2.0 griffon: 1.1.0 gradle: 1.3 vertx: 1.3.0.final Fix for zsh # http://blog.andresteingress.com/2012/12/14/gvm-the-groovy-environment-manager/

2012

Discovered Trello

·73 words·1 min
Finally a todo/task/project management system that is very good fit. Here is why: is pretty visually modern and dynamic UI has Web back-end (usable from Linux VM) has decent iPhone app allows checklists (multiple) allows color coding Markdown support ecosystem There is Gmello that allows create card from GMail, plus few others that seem to bridge the gap between Evernote, System XYZ and Trello http://trello.com Courtesy of Fog Creek / Joel Spolsky’s company

Custom build of MacVim with file drawer - pure bliss

·92 words·1 min
OK, NERDTree plugin IS great, but this is awesome. Alloy made custom version of MacVim with file drawer: see https://github.com/alloy/macvim/wiki/Building It is available in source - so you have to compile it yourselves. But if you do not want to, I did it and the binary is attached, built with these features: ./configure –with-feature=huge –enable-rubyinterp –enable-pythoninterp –enable-perlinterp –enable-cscope Archive is attached: MacVim.zip If you want to get my set of plugins and customizations, it is on GitHub: - https://github.com/radegast/dotvim,

Fixing Git plugin for Sublime Text 2

·105 words·1 min
After update, the ST2 started to complain about missing git command. Finding out Git on MBP: platform $ which git git is /usr/bin/git git is /usr/local/bin/git platform $ git --version git version 1.7.7.5 (Apple Git-26) platform $ /usr/bin/git --version git version 1.7.7.5 (Apple Git-26) platform $ /usr/local/bin/git --version git version 1.7.3.2 Fix the the Package file in /Users/miro/Library/Application Support/Sublime Text 2/Packages/Git - Git.sublime-settings (it is JSON file)

Installing and running 'naked' hybris platform

·783 words·4 mins
Installing and running “naked” hybris platform # Log of an exercise to install and start the Hybris without all those fancy modules Starting point: hybris-platform-4.7.1.zip Install point: /opt/hybris-platform/hybris-platform-4.7.1 Start (with HSQLdb) # ~ $ cd /opt/hybris-platform/hybris-platform-4.7.1 hybris-platform-4.7.1 $ cd bin/platform/ platform $ pwd /opt/hybris-platform/hybris-platform-4.7.1/bin/platform platform $ . ./setantenv.sh Setting ant home to: /opt/hybris-platform/hybris-platform-4.7.1/bin/platform/apache-ant-1.8.2 Apache Ant(TM) version 1.8.2 compiled on April 21 2011 platform $ ant clean all | tee ant-clean-all.log => Select develop

Gitolite Administration Guide

·470 words·3 mins
How to setup new client # You need to be pensieve admin to do this. You will have to login as service user (non-host account) and su to root. create new Linux user on pensieve setup gitolite: git clone <git://github.com/sitaramc/gitolite> mkdir bin; export PATH=$PATH:~/bin gitolite/install -ln add own public key to gitolite to get access to gilotile-admin repo (note the naming restrictions!!) gitolite setup -pk miro.pub get public key for the client account admin and add it (there can be multiple admins) clone the gitolite-admin repo from workstation whose pub key was added git clone <client@pensieve.thinkwrap>.[com:gitolite-admin.git](http://comgitolite-admin.git/) add the key to the repo cd gitolite-admin cp ~/mykey.pub keydir vim conf/gitolite conf add the newly added account admit to repos, create new repos if required All gitolite installs are independent so modification in one hosting user have zero impact on others.

Using Gitolite for code sharing setup

·4736 words·23 mins
General setup of code sharing host # The code sharing host (Pensieve) is dedicated Linux server in DMZ, accessible from external locations as well as from internal network (dual homed) - for the build server access. Main features # multiple users each user represent a client: e.g. users client1 Users are separated by Unix permissions: # access rights to /home/USER are 0700 - no access except the dedicated user only ThinkWrap has root access or sudo access the access via ssh for the user is blocked - the user client1 cannot log in using ssh and get shell, only use git to pull or push changes Inside each user, there are multiple projects. # These projects will have multiple repositiories and will follow the naming convention: