Posts

  • Check out git history

    Learning about retrieving early commits in a play time situation so that any mistakes made have no adverse consequences.

    Step by step

    1. Open a terminal.
    2. Change to your home directory.
      • prompt> cd
    3. Make a test directory
      • prompt> mkdir Documents/Gitplay
    4. Change into that directory
      • prompt> cd Documents/Gitplay
    5. Initialise Git
      • prompt> git init
      • Initialized empty Git repository in /home/yourname/Documents/Gitplay/.git/
    6. Create a test file and put a line of text in it.
      • prompt> echo First line. > testgit.txt
    7. Check git status
      • prompt> git status
    8. Check git status
      • prompt> git status
      • On branch master
      •  
      • Initial commit
      •  
      •   Untracked files
      •  
      •        (use “git add ..." to include in what will be committed)
      •             testgit.txt
      • nothing added to commit but untracked files present (use “git add” to track)
    9. Add the new file.
      • prompt> git add .
    10. Check git status
      • prompt> git status
      • On branch master
      •  
      • Initial commit
      •  
      • Untracked files
      •  
      • Changes to be committed:
      •        (use “git rm –cached ..." to unstage) testgit.txt
      •             new file:      testgit.txt
    11. Commit this change (Note that the commit message must be wrapped in single or double quotes)
      • git commit -m “Initial commit.”
    12. Log what you have done.
      • git log
      • commit 813f3a6f86daadb8be68a2dbac2dbb65b81f7789
      • Author: user <user@mailservice.com>
      • Date:   Mon Nov 5 18:53:14 2018 +0700
      •  
      •         Initial commit.
  • Lifestyle Changes URLs

    Here I provide some web links to a number of lifestyle changes, and some notes on the effects that the changes are bringing about to date.

  • Travel to Kuala Lumpur

    It’s been quite a few years since I was in KL. There was much that I had forgotten and very much that has changed quite a lot.

  • Cheatsheet For CSS Display Properties

    I wrote a cheat list for using css display properties for my own use. Because the Jekyll blogging framework and markdown markup language makes it trivially easy to publish this type of material online I’ve shared it.

  • How To Use Markdown

    Markdown is a pun on markup, the markup in hypertext markup language, normally abbreviated to html which is used to make web pages.

  • Going Vegan Second Time Around

    Wow! Another rant about living on a plant based diet. Maybe as riveting as watching paint dry or televised golf. But if you have coronary artery disease it may just add years to your life.

  • How To Make Soy Milk

    There is a belief in some circles that soy milk, or any unfermented soy bean product can cause health problems, hypothyroidism or low thyroid function in particular. There is truth in this. What does happen with soy is that it does inhibit the uptake of iodine by the thyroid gland. Soy is not alone in this, cabbage family vegetables, broccoli in particlular does the same thing. So excess consumption of any of the iodine uptake inhibitors can result in hypothyroidism. I know this personally because some years ago I was drinking between 1 and 3 bottles of soy milk daily for a long time and ended up having hypothyroidism.

  • A Very Cheap Remedy For Many Diseases

    While on a gold prospecting expedition a man by the name of Jim Humble discovered that he could completely cure malaria by mixing a dilute solution of sodium chlorite with a food acid. The solution produced was later determined to be an aqueous solution of chlorine dioxide.

  • Illness! An Affliction or a Blessing?

    Sometimes getting ill turns out to be lucky.

  • Gnu Autotools Is Broken

    My system is Xubuntu 16.04.4, possibly other systems out there are free from these problems.

  • Western formatted date to Thai language

    The topic of itself may not be all that interesting for many but I advise that I have at long last started to come to grips with autotools in a github environment. The result has not been at all encouraging.

  • First Beer in 2 Years

    As usual on a Tuesday I started the day with a visit to Rim Ping Supermarket near the iron bridge in Chiang Mai near what has now been called River Market Restaurant. This is just to buy in stuff like coffee and orange juice for later in the day.

  • Does reverse osmosis water filtering remove minerals?

    RO Desalination plants demineralise water.

  • Using Natto in Diet

    What it is.

  • Welcome to Jekyll!

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

subscribe via RSS