↓ Skip to main content

Posts

2014

Third time is a charm

·364 words·2 mins
As part of “back to basics” software minimalism movement, I have exported the old Wordpress blog and loaded it into Jekyll with intention to publish it on my Github This contains almost 10 years worth of history of my posts, plus few not yet previously unpublished posts. It is based on Jekyll Clean theme, created by Scott Emmons - see it / get it from github. If you are interested in the Jekyll Clean theme:

ATG Groovy TDD

·63 words·1 min
Got it working. It is a bit rough around the edges, but functional. The two components http://localhost:8080/dyn/admin/nucleus/thinkwrap/twatg/script/GroovyDemoScript/ http://localhost:8080/dyn/admin/nucleus/thinkwrap/twatg/script/GroovyScriptRunner/ The are not started via Initial, but that is not a problem. The script tested: class ThatsGroovyDude implements com.thinkwrap.twatg.script.RunnableScript { atg.nucleus.Nucleus nuc = atg.nucleus.Nucleus.getGlobalNucleus(); public String run() { String s = ""; nuc.configPathNames.each { s += "${it}\n" } return "Hello World!\n\n" + s; } }

Folder action to autorename screenshots

·55 words·1 min
Move the location of the screenshots # I do not want to have ~/Desktop polluted with files. Thus mkdir -p ~/Documents/Screenshots defaults write com.apple.screencapture location ~/Documents/Screenshots killall SystemUIServer Test the screenshot - it does it Automator based auto-rename # Create Folder action for ~/Documents/Screenshots

How to install Chrome in Centos 6.5

·198 words·1 min
How to install Chrome in Centos 6.5 # Step 1. Add Google Yum Repository # Create a new yum repository using below instructions. sudo vim /etc/yum.repos.d/google.repo Add following content to this file [google] name=Google baseurl=http://dl.google.com/linux/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub Step 2: Install/Update Google Chrome # Richard Lloid provided an shell script to grab libraries from a more recent Linux distro, put them in a tree (/opt/google/chrome/lib) exclusively picked up by Google Chrome and then you can indeed run Google Chrome on CentOS 6.4 or later. Read More

Gitolite permissions setup

·1467 words·7 mins
This documents how to enforce the Gitolite permission to make LIVE branch writeable only by team leads How gitolite works # Repository permission structure # This is general format of repo definition REPO NAME rule line rule line for example @staff = dilbert alice wally bob repo foo RW+ = dilbert # line 1 RW+ dev = alice # line 2 - = wally # line 3 RW temp/ = @staff # line 4 R = ashok # line 5 The Rule line has format:

Installation of sshfs in the new VM

·82 words·1 min
Installation of sshfs in the new VM # On Centos 6, the fuse-sshfs is not part of default YUM repos. Get the ’epel’ repos # wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Validate $ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/remi.repo It if good idea to enable the remi by default

2013

Difference between matching and simple Git push

·765 words·4 mins
I started to see this message in some of my Git environments Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use: git config --global push.default matching To squelch this message and adopt the new behavior now, use: git config --global push.default simple This is collection of information gathered from Stackoverflow, Git docs and various internet sources. Putting it together so that I do not have to google it again.

Binding DashDoc with editors and Eclipse

·235 words·2 mins
If you use DashDoc (see http://kapeli.com/dash), it can be integrated with editor or Eclipse to allow automatically find selected text in Dash documentation sets: Sublime Text # This is easy - there is DashDoc plugin - https://sublime.wbond.net/packages/DashDoc The plugin is OS-X specific, because the DashDoc is Start Package Control (Cmd-Shift-P) select Install Package (type Install) select DashDoc The Ctrl-H does the search

Miro's World 2.0

·63 words·1 min
The continuation of the old Wordpress blog with more agreeable tools: Github Wiki + Gollum, Markdown and Git. My old blog at Miro’s World has been kinda neglected in last two years. I have written several entries and published them only internally. I have decided now to pull those of the entries that do not contain customer references, code or customer IP out.

Endeca start scripts - Oracle way

·242 words·2 mins
I have ported the Oracle VM style management scripts into the Loyalty VM. The scripts are in the loyalty-endeca Git repo, originally in eVoucher branch but also merged into edc [tkuser@vm-lo1-hpr-ma endeca]$ ls -1 total 28 dev-check-environment.sh* dev-deploy-endeca-app.sh* dev-endeca-environmet.ini* dev-remove-endeca-app.sh* endeca-control* endeca-vars.txt* README.md* RewardsEndc/ dev-endeca-environmet.ini # This is environment setting script. ### MUST BE SOURCED IN source dev-endeca-environmet.ini ## or . dev-endeca-environmet.ini ## NEVER ./dev-endeca-environmet.ini endeca-control # Main script that manages three components of the system named: