What you’ll wish you’d known
A good read. http://www.paulgraham.com/hs.html
A good read. http://www.paulgraham.com/hs.html
Shane Parrish interviews Naval Ravikant on a variety of topics. Very enlightening and shows a higher level of thinking. Highly recommend. https://www.farnamstreetblog.com/2017/02/naval-ravikant-reading-decision-making/ Transcript here: https://www.farnamstreetblog.com/wp-content/uploads/2017/02/Naval-Ravikant-TKP.pdf
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 »
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 »
I thought I was seeing double when I saw access spelt with 3 c’s. This was found in v7.3.5#73016-sha1:3e40501 of JIRA in Systems > User Default Settings > Edit default values. Did you spot it as well?
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 »
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 »
It is relatively easy to show a toast (a short message that appears on screen for a few seconds and then disappears) with the following code: Toast.makeText(getApplicationContext(), “hi”, Toast.LENGTH_LONG ).show(); The trick is trying to understand how this short hand method was created. This is what it looks like written the long way: Context context;… Read More »
There is a bit more to it when trying to create a button in Android and setting a listener to it. The new way hides a lot of the complexity but it also hides a lot of the understanding. The “traditional” way was: btn = (Button)findViewById(R.id.firstButton); btn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) {… Read More »
This site has a very high quality android tutorial. Old school versions: Make Your First Android App: Part 1/3 Android Tutorial for Beginners: Part 2 Android Tutorial for Beginners: Part 3 Updated versions: Beginning Android Development Part One: Installing Android Studio Beginning Android Development Part Two: Using Android Studio It is well worth reading both.… Read More »