by Dexter | Aug 8, 2017 | IT, MAC OS X, Python
1. install Xcode 2. launch Xcode and Agree with License Agreement 3. install brew.sh $ ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)” 4. install midnight-commander python 2.7 and/or python 3.x $ brew install mc $ brew install...
by Dexter | Apr 24, 2012 | IT
I needed to calculate the distance between to GPS coordinates. I have found couple of methods. 1. Postgres earthdistance you need to install the contrib package for postgres. Import the cube.sql and the earthdistance.sql. More about this at postgresql docs psql -d...
by Dexter | Jul 1, 2011 | IT
I was wondering if the comment-dwin (M-;) command could be changed that if i am anywhere in the line the whole line is commented and not a comment started from the end of the line. based on the idea found in a mailing list i altered the command with ;;...
by Dexter | Apr 29, 2011 | MAC OS X
How to install Emacs from source? You will need Xcode tools to perform this operation. MacBook-Pro: mkdir src MacBook-Pro: cd src MacBook-Pro: cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs MacBook-Pro: cd emacs MacBook-Pro: ./configure...
by Dexter | Oct 10, 2010 | MAC OS X
open a terminal and run the following to show hidden files MacBook-Pro: defaults write com.apple.Finder AppleShowAllFiles true MacBook-Pro: killall Finder to hide them run the following MacBook-Pro: defaults write com.apple.Finder AppleShowAllFiles false MacBook-Pro:...
by Dexter | Oct 10, 2010 | MAC OS X
I have my MacBookPro for 1 year now, and recently I had to often the message that my MAC OS X HDD is running out of space, and effectively finder said ZeroKB, df -h 0 available. As I was installing quite a lot of apps for test during the last year, I have decided to...
You must be logged in to post a comment.