Created
February 20, 2024 02:49
-
-
Save flowmar/810b1bfa865e3d5140b5537bc27a3f28 to your computer and use it in GitHub Desktop.
This is a demonstration of the ability of the Cacher Run Server (https://github.com/CacherApp/cacher-run-server) to execute different languages through your machine's shell. Save this snippet to your library, then click the "Run" tab next to each sni
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ | |
#include <iostream> | |
int main() | |
{ | |
std::cout << "Hello world!" << std::endl; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Go: Install via https://golang.org/dl | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Hello World") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Node: Install via https://nodejs.org | |
console.log('Hello World'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PHP: Install via http://php.net/manual/en/install.php | |
<?php | |
echo "Hello, world!"; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Powershell: Install via https://github.com/PowerShell/PowerShell | |
Write-Host "Hello World!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python: Install via https://www.python.org/downloads | |
print("Hello World") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby: Install via https://www.ruby-lang.org/en/downloads | |
puts "Hello World" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bash | |
echo "Hello World" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Swift | |
print("Hello World") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Java: Install via https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html | |
public class HelloWorld { | |
public static void main(String[] args) { | |
System.out.println("Hello, World"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment