From 97b8f9c5bc297da15d41899d90da3725b155fb26 Mon Sep 17 00:00:00 2001 From: Steven Clontz Date: Tue, 6 Aug 2024 20:05:18 +0000 Subject: [PATCH] add terminal info --- source/ch-coding.ptx | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/source/ch-coding.ptx b/source/ch-coding.ptx index 6cfde0f..bcd74e9 100644 --- a/source/ch-coding.ptx +++ b/source/ch-coding.ptx @@ -158,16 +158,38 @@ Unless your Codespace has been customized via a into here), you'll be using the default Codespace image provided by GitHub. This environment is ready to execute code from various standard programming +<<<<<<< Updated upstream lanugages, though for some of them you may need to run the script using the Terminal. +======= +lanugages, though for something of them you may +need to run the script using the Terminal. +>>>>>>> Stashed changes

+ + +

+A terminal is a command-line prompt used to +run programs that don't have a graphical user interface. +Type the command and hit Enter to run it. +

+
+
+ + +

+To open a terminal on demand in a Codespace, use the shortcut +Ctrl/Cmd+Shift+`. +

+
+

What do you think the programs in , , and -will output? -Execute them in your Codespace to find out! +will output? Copy-paste them into a file in your Codespace, +then run to find out!

@@ -183,7 +205,7 @@ for _ in range(10): a,b = b,a+b - Python code + Sample Python code @@ -200,7 +222,7 @@ puts b end - Ruby code + Sample Ruby code @@ -220,7 +242,7 @@ Array.from({ length: 10 }, _ => { - Javascript code + Sample Javascript code
@@ -234,7 +256,7 @@ on GitHub.com and create a new Codespace

To spin up your live preview, open a terminal by using the -Ctrl/Cmd+Shift+` keys. To make +shortcut noted in . To make sure the necessary software has been installed, type bundle and hit Enter. Then, you can enter jekyll serve to start the preview server.