Usable mc color scheme

Usable mc color scheme Edit ~/.mc/ini insert [Colors] base_color=lightgray,blue:normal=blue,default:selected=white,brightblue:marked=yellow,default:markselect=yellow,gray:directory=brightblue,default:executable=brightgreen,default:link=cyan,default:device=brightmagenta,default:special=lightgray,default:errors=red,default:reverse=green,default:gauge=green,default:input=white,gray:dnormal=green,gray:dfocus=brightgreen,gray:dhotnormal=cyan,gray:dhotfocus=brightcyan,gray:menu=green,default:menuhot=cyan,default:menusel=green,gray:menuhotsel=cyan,default:helpnormal=cyan,default:editnormal=green,default:editbold=blue,default:editmarked=gray,blue:stalelink=red,default

Show lock screen indicator in OS-X menu

Show lock screen indicator in OS-X menu After HDD reinstall I lost most of my customizations (by choice decided NOT to restore from TM). The Lock in menu is provided by KeyChain Access, not by System Preferences. Open ‘KeyChain Access’ -> Preferences, select ‘Show keychain status’ and it is back:

ATG Development using 'hidden' VM

Brief description of my latest setup I use for CPL and LCH - in case I forget it or somebody wants to replicate it. Inspiration for the setup came from https://www.youtube.com/watch?feature=player_embedded&v=cPt_1Vga-Nk Motivation - issues with VMs VMs are great - they allow “packaged” dev environment and quick start for the new member of the team. Start a VM on local or remote host, connect with VNC or Remote Desktop and you are in business.

Merge conflict with deleted file

I was merging the branch that removed / consolidated bunch of duplicate JSP files (corporate-ui-cleanup). In the meantime in master, some minor UI changes were made to these files whose content was now elsewhere. Quick trick how to resolve it fast: Show branch CineplexB2B $ git show-branch ! [bb-database-cleanup] Loading data with XML only: no constraints and tax_id (unused field) nullable ! [bb-gradle-build] Merge branch 'master' into bb-gradle-build * [bb-master] Merged in the last 5 days changes !

Pattern for test sourcing the script

# Test if it is sourced or not if [[ $0 != .*bash ]]; then echo Please source it: . $0 exit 1 fi res=`gradle --version >/dev/null 2>&1; echo $? ` if [[ $res == "0" ]]; then echo Have gradle: `which gradle` gradle --version else export GRADLE_HOME=~/opt/gradle export PATH=$PATH:$GRADLE_HOME/bin echo No Gradle, adding - `which gradle` gradle --version fi