| name | runme | ||||
|---|---|---|---|---|---|
ricky |
|
Die Installation über Homebrew ist die einfachste Möglichkeit auf einem Mac.
brew install runmeZum testen der Internetverbindung pingen wir nun Google an!
ping -c 5 8.8.8.8Beispiel für ein Interaktive code Zelle
#!/bin/bash
echo "Do you want to see the file list of the current directory? (y/n)"
read answer
if [ "$answer" = "y" ]; then
ls
else
echo "Action canceled."
fi
export USER_NAME=""
echo $USER_NAME
export COMPANY=""
echo $COMPANYcat ./resources/table_example.csvcat table_example.csvcurl https://api.dicebear.com/6.x/pixel-art/svgfor ((index=1; index<=10; index++)); do
echo "Row $index"
sleep 0.25
doneecho "Hello From "echo "category 01"echo "Hello from category 02"print("hello from Python")console.log("hello from JavaScript")import java.util.Locale;
class Hello {
public static void main(String[] args) {
String lang = Locale.getDefault().getLanguage();
System.out.println(Greetings.getGreeting(lang) + " from the runme-Techup");
}
}
class Greetings {
static String getGreeting(String lang) {
switch (lang) {
case "fr": return "Bonjour";
case "es": return "Hola";
case "zh": return "Nǐn hǎo";
case "de": return "Guten Tag";
case "pl": return "Dzień dobry";
case "el": return "Yassas";
case "sv": return "God dag";
default: return "Hi";
}
}
}export URL
echo $URL#ping -c 5 $__
echo $URL
echo $USER_NAMEhttps://github.com/b-nova-techhub/runme-example/blob/main/.github/workflows/b-nova-runme.yml