(Go Lang) GBEN: Hello World

Go by Example: Hello World

Example

ID: org_gcr_2017-08-08_mara:33B2158C-BC69-4D0B-9853-C0284A0EC605

Go has first class Unicode support. What do upper-case and lower-case mean when there is no such thing for the character? Does it fail with an error or not? How do you compare the size or length of Unicode characters?

fmt.Println("? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo ")
? Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo

Attribution

(Go Lang) Go by Example Notes (GBEN) Emacs Setup

Goal

Go by Example is Mark McGranaghan‘s “hands-on introduction to Go using annotated example programs”. Under the license I’m going to

  • Convert all of the examples to Org-Mode Literate Programming documents
  • Add, remove and modify them making it my personal notebook
  • Add the tag GBEN to track them
  • Refer to this post to provide attribution

Configuration

ID: org_gcr_2017-08-08_mara:C327B697-D6B7-42BA-B0D3-0C8613CBB58E

Continue reading “(Go Lang) Go by Example Notes (GBEN) Emacs Setup”

Leave ~C-M-s~ Bindings For The Operating System

macOS used Meta and Super for a lot of it’s own bindings. That ties up valuable Emacs key-space. Tonight I moved all of those meddling bindings into C-M-s. macOS get that all to itself making it happy. And it made me happy. Maybe it will make you happy.

Org2Blog: Access Post Metadata After Publishing

Via here:

Now your post or page exists both in your Org-Mode file on your computer, and also in WordPress itself. That page or post inside of WordPress contains a lot of metadata and you might be interested in some of it. Here is documentation covering all of the fields. You can easily access that data using a hook function.

Continue reading “Org2Blog: Access Post Metadata After Publishing”

Doing What Matters Most To You (Getting Things Done)

When you keep desperately and constantly failing to complete a task:

  • And you have freed the most possible time
  • And you have attained the greatest mastery for that task
  • And you have received the most help you could possibly receive
  • And you have prioritized everything and this remains

Then do less of everything else.

Eventually you’ll be left with a list of what matters most to you. And it will be smaller than when you had started so it might be easier to finish.