Difference between revisions of "CoderMerlin Courier 2021.01.08"

From Coder Merlin
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
=== Essay Writing Contest ===
=== Essay Writing Contest ===
Why is the primary role of technology to improve humanity?  You can read more about the essay and prize: [https://www.codermerlin.com/wiki/index.php/Essay_Contest-Primary_Role_of_Technology_is_to_Improve_Humanity here].
Why is the primary role of technology to improve humanity?  You can read more about the essay and prize: [https://www.codermerlin.com/wiki/index.php/Essay_Contest-Primary_Role_of_Technology_is_to_Improve_Humanity here].
{{ExcaliburAward|$100.00}}
{{ExcaliburAward|$250.00}}


== Hints, Tips, Tricks, and Shortcuts ==
== Hints, Tips, Tricks, and Shortcuts ==
=== Linux ===
=== Command Line Tips ===
{{Hint2|[[File:Linux logo.jpg|120px|link=]]|
{{Hint2|[[File:Linux logo.jpg|120px|link=]]|
This is a Linux Tip
Slow typist? You can use the <syntaxhighlight lang='bash' inline>alias</syntaxhighlight> command.  For example, to type the shortcut  <syntaxhighlight lang='bash' inline>mt</syntaxhighlight> rather than  <syntaxhighlight lang='bash' inline>merlin test</syntaxhighlight> you can add an alias:
<syntaxhighlight lang='bash' inline>alias mt='merlin test'</syntaxhighlight>
 
If you'd like to make your aliases permanent (rather than lasting only for the current session) you can add them to your <code>~/.bash_aliases</code> file. 
}}
}}


=== Swift ===
=== Swift Tips ===
{{Hint2|[[File:Swift-og.png|120px|link=]]|
{{Hint2|[[File:Swift-og.png|120px|link=]]|
This is a Swift Tip
* Print an empty line (i.e., just a new line) with: <syntaxhighlight lang="swift" inline>print()</syntaxhighlight>
* Print text without the default terminator with: <syntaxhighlight lang="swift" inline>print(terminator:"Hello")</syntaxhighlight>
* Create a string repeating a character ''n'' times with: <syntaxhighlight lang="swift" inline>String(repeating:"!", count: 3)</syntaxhighlight>
}}
}}


=== Emacs ===
=== Emacs Tips ===
{{Hint2|[[File:Emacs 512.png|120px|link=]]|
{{Hint2|[[File:Emacs 512.png|120px|link=]]|
This is an emacs hint
Web-mode supports both PHP and HTML in the same buffer.  Web-mode can be activated with: {{SpecialKey|ALT|x}} web-mode {{Key|RETURN}}
}}
}}


=== Git ===
=== Git Tips ===
{{Hint2|[[File:Git-logo.svg|120px|link=]]|
{{Hint2|[[File:Git-logo.svg|120px|link=]]|
This is an emacs hint
Tags can be easily moved by using the <syntaxhighlight lang='bash' inline>--force</syntaxhighlight> option.
* <syntaxhighlight lang='bash' inline>git tag --force J1154.Final</syntaxhighlight>
* <syntaxhighlight lang='bash' inline>git push origin --force J1154.Final</syntaxhighlight>
}}
}}


== Newly Installed and Updated Services ==
== Newly Installed and Updated Services ==
=== Disk Space Increased ===
The available disk space has been increased to 1.0 GiB.
=== Emacs Updates 27.1 ===
=== Emacs Updates 27.1 ===
[[File:Emacs 512.png|120px|right|link=]]
[[File:Emacs 512.png|120px|right|link=]]
Line 40: Line 49:
Then completely log off before logging back on.  Run emacs (without any parameters) and wait for the initialization to complete.  
Then completely log off before logging back on.  Run emacs (without any parameters) and wait for the initialization to complete.  
<br clear='all' />
<br clear='all' />
=== Vapor Available ===
Swift Vapor applications are now available.  See [[Vapor]] for configuration information.

Latest revision as of 16:46, 17 January 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

CoderMerlin Courier

Volume One, Issue Three - January Two Thousand Twenty-One

Within these castle walls be forged Mavens of Computer Science

Current Contests[edit]

Essay Writing Contest[edit]

Why is the primary role of technology to improve humanity? You can read more about the essay and prize: here.

Excalibur Award
ExcalaburCaledfwlchTranslucent.jpg
$250.00
ExcalaburCaledfwlchTranslucent.jpg

Hints, Tips, Tricks, and Shortcuts[edit]

Command Line Tips[edit]

HintIcon.png
Helpful Hint Linux logo.jpg

Slow typist? You can use the alias command. For example, to type the shortcut mt rather than merlin test you can add an alias: alias mt='merlin test'

If you'd like to make your aliases permanent (rather than lasting only for the current session) you can add them to your ~/.bash_aliases file.

Swift Tips[edit]

HintIcon.png
Helpful Hint Swift-og.png
  • Print an empty line (i.e., just a new line) with: print()
  • Print text without the default terminator with: print(terminator:"Hello")
  • Create a string repeating a character n times with: String(repeating:"!", count: 3)

Emacs Tips[edit]

HintIcon.png
Helpful Hint Emacs 512.png

Web-mode supports both PHP and HTML in the same buffer. Web-mode can be activated with: ALT-x web-mode RETURN

Git Tips[edit]

HintIcon.png
Helpful Hint Git-logo.svg

Tags can be easily moved by using the --force option.

  • git tag --force J1154.Final
  • git push origin --force J1154.Final

Newly Installed and Updated Services[edit]

Disk Space Increased[edit]

The available disk space has been increased to 1.0 GiB.

Emacs Updates 27.1[edit]

Emacs 512.png
  • Native support for JSON parsing
  • Built-in support for tab bar and tab-line


In order to ensure you receive the latest features, re-initialize your skeleton:

jane-williams@codermerlin:~/www$ skel-init

Then completely log off before logging back on. Run emacs (without any parameters) and wait for the initialization to complete.

Vapor Available[edit]

Swift Vapor applications are now available. See Vapor for configuration information.