Blog Archive 2016 Oct 14 git for-each-ref –format=’%(committerdate) %09 %(authorname) %09 %(refname)’ | sort -k5n -k2M -k3n -k4n | awk ‘{print }’ is a great way to see authors for branches Posted by Srinath Vadlamani Oct 11 Posted by Srinath Vadlamani Aug 15 to adjust a tag (bad form) in git: git tag =f; git push origin –tags -f Posted by Srinath Vadlamani Aug 05 Posted by Srinath Vadlamani Apr 14 VBoxManage modifyhd /Users/srinathv/VirtualBox VMs/Windows/Windows.vdi –resize 50000 is how you make resize the birtual drive. Note the use of THE space Posted by Srinath Vadlamani Mar 03 Use ‘grep -Hn’ to get file name and line number for the match Posted by Srinath Vadlamani Feb 21 Posted by Srinath Vadlamani Feb 21 use http://www.technobuffalo.com/2014/10/21/how-to-enable-sms-relay-on-your-mac-ipad-and-iphone/ to get sms working from your mac via your iphone Posted by Srinath Vadlamani Feb 02 To get ssh keys working with tmux, add to /Users/srinathv/.tmux.conf the following ‘set -g update-environment “SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION”’ Posted by Srinath Vadlamani Jan 24 -DBoost_NO_BOOST_CMAKE=ON will stop cmake from trying to look for boost’s cmake info…which may be from a system boost and trumps setting BOOST_ROOT and the like. Posted by Srinath Vadlamani 2015 Nov 01 janus vim distro is more ruby-centric for me. Posted by Srinath Vadlamani Oct 29 list only dirs in current directory: ‘find . -maxdepth 1 -type d’ Posted by Srinath Vadlamani Oct 28 Do git fetch -p origin to make refs/remotes/origin/my_remote_branch go away if it’s already deleted in origin. The -p option tells fetch to delete any tracking branches that no longer exist in the corresponding remotes; by default they are kept around. Posted by Srinath Vadlamani Oct 22 every new version of xcode requires ‘sudo xcodebuild -license’ to get much of Homebrew working Posted by Srinath Vadlamani Oct 22 Mac OS X El Capitan, one needs to sudo chown -R srinathv /usr/local Posted by Srinath Vadlamani Oct 20 To clean up a massive git repo: https://rtyley.github.io/bfg-repo-cleaner/ Posted by Srinath Vadlamani Oct 12 just discovered https://github.com/carlhuda/janus Posted by Srinath Vadlamani Oct 08 new xcode installs require “xcode-select –install” to get the latest command line tools for Mac OS x Posted by Srinath Vadlamani Sep 24 http://www.geeknote.me/ is great! To use macvim as editor: geeknote settings –editor ‘mvim -f’ Posted by Srinath Vadlamani Sep 12 installing tmux requires pkg_config for libevent such as: ‘./configure PKG_CONFIG_PATH=/home/srinathv/software/libevent/2.0.22/lib64/pkgconfig’ Posted by Srinath Vadlamani Aug 19 Audiophiles, ; Don’t forget L,R channels. Posted by Srinath Vadlamani Aug 13 In Julia on my mac, I found to use Pkg.*() I needed to: git config –global url.https://.insteadOf git:// Posted by Srinath Vadlamani Jun 01 To simply list all files in a git repo in conflict git config –global alias.conflicts “diff –name-only –diff-filter=U” Posted by Srinath Vadlamani Jun 01 Better to use ~/.ssh/config than and alias in your .bashrc Posted by Srinath Vadlamani Apr 27 Posted by Srinath Vadlamani Jan 02 git push –force: a savior at times Posted by Srinath Vadlamani 2014 Dec 21 Finding tmux to be quite useful and very easy to install on machines. Posted by Srinath Vadlamani Dec 21 Use http://nickmanderfield.com/2014/08/ultimate-guide-to-fixing-and-resetting-osx-yosemite-launchpad/ to fix a Yosemite OS X broken launchpad. Posted by Srinath Vadlamani Jan 25 Going to test out pyspread as a possible performance recorder Posted by Srinath Vadlamani 2013 Nov 23 Unix ‘screen’ is such a great tool when working on remote machines. Posted by Srinath Vadlamani Nov 23 readlink -f to show filename with full path Posted by Srinath Vadlamani Nov 23 Just realized that modern VIM installations can read gzipped text files. Posted by Srinath Vadlamani Apr 26 SVN Rollback use reverse merge: svn merge -r HEAD: Posted by Srinath Vadlamani Apr 04 Profiling measures time and events per call, while trace looks at communication events over time Posted by Srinath Vadlamani 2012 Jun 07 When using git, commit often! The smaller the commit the better. Because then git-revert will save your day, one day! Posted by Srinath Vadlamani May 23 Fortran 2003/8 standards presented by Dan Nagle are blowing me away! Pointer bounds and rank remapping will have to be implemented in any new codes I work on. Posted by Srinath Vadlamani Apr 16 OpenACC may help with accelerated hardware. I hope the emphasis is still on simulation results. Posted by Srinath Vadlamani Mar 23 Fortran 2003 is going to make things very interesting. Coarrays will be the game changer. Posted by Srinath Vadlamani Mar 07 Happy that github was quick to fix the hack with ssh-keys auditing. Kudos. Posted by Srinath Vadlamani Mar 07 So Xcode now installs in /Applications to remove the need for Xcode-Installer, which installed in /Developers … confusing. Use xcode-select to help things out. Posted by Srinath Vadlamani Feb 19 It takes some time to organize thoughts on the interweb. Tinkerer is very helpful. Posted by Srinath Vadlamani Feb 17 Restating: Pushing to github is easy. It is getting a website hosted on there to look correct…try adding a .nojekyll file to the top level if any file or directory in your website project has underscores. Posted by Srinath Vadlamani Feb 14 Seems that pushing to github is not so easy. Posted by Srinath Vadlamani Feb 14 This should help with logging simple ideas that I find useful for coding. Posted by Srinath Vadlamani