Generating keys for Bitbucket

By | October 18, 2017

If you are getting this error from Bitbucket: Permission denied (publickey). fatal: Could not read from remote repository. It means that bitbucket doesn’t have your public key. You need to generate one if you don’t have it or upload it. To generate one follow these instructions here. Next, you want to add this to your… Read More »

Happiness, Systems for Decision Making, Habits, Honesty

By | October 3, 2017

Shane Parrish interviews Naval Ravikant on a variety of topics. Very enlightening and shows a higher level of thinking. Highly recommend. Naval Ravikant on Reading, Happiness, Systems for Decision Making, Habits, Honesty and More Transcript here: https://www.farnamstreetblog.com/wp-content/uploads/2017/02/Naval-Ravikant-TKP.pdf  

Cannot copy files to C drive on Windows 7

By | September 12, 2017

If you are using Windows 7, or even 8 and get a message that you cannot save a file to c drive then try doing this: 1. Run->secpol.msc 2. Local Policies->Security Options. 3. Set “User Account Control: Run all administrators in Admin Approval Mode” to Disable. 4. Restart the computer. This should do the trick.… Read More »

Little grey dots on JIRA Kanban board

By | August 3, 2017

If you are running a JIRA Kanban board and you see these small grey dots at the bottom of the card and wondered what they are for, they indicate how long the issue has been in that particular column. Did you know that each dot represents 1 day and there is a max of 30… Read More »

php hello world on OSX

By | July 10, 2017

Getting a php hello world up and running is very quick in OSX. First of all, everything is there already. Apache and php. To start apache run: > sudo su > apachectl start Then go to http://localhost and you should see: The web directory is /Library/WebServer/Documents If you put hello.php there <html> <head> <title>PHP Test</title>… Read More »

Opening up an application using terminal in OSX

By | June 28, 2017

If you have ever wondered how to open an application using terminal, the command is very simple. > open -a application_name For instance: > open -a Calculator.app Note that auto-complete will place a forward slash like this > open -a Calculator.app/ You will have to remove it. Your current directory in terminal should be the… Read More »

Creating a simple navigation drawer in Android

By | June 26, 2017

There are lots of articles on how to create a navigation drawer in Android but they are all slightly different with some extending ActionBar and some extending Activity. I wanted to extend AppCompatActivity as this is the most up to date version to use. The notes at: https://developer.android.com/training/implementing-navigation/nav-drawer.html are ok but it doesn’t explain step by… Read More »