Install Java from https://www.java.com/en/download/
Download lein
or lein.bat
from http://leiningen.org/
lein self-install
lein new <project>
cd <project>
vim project.clj # and add the following:
Install Java from https://www.java.com/en/download/
Download lein
or lein.bat
from http://leiningen.org/
lein self-install
lein new <project>
cd <project>
vim project.clj # and add the following:
https://crystal-lang.org is just like Ruby, but it compiles and has threads.
Download the .tar.gz from https://github.com/crystal-lang/crystal/releases/
Extract and add bin/
to PATH
.
Adds crystal
and shards
to PATH.
Follow the instructions on https://github.com/dart-lang/sdk/wiki/Building
Then run:
sudo apt-get install g++-multilib git python curl
Network wake on lan packet http://www.adminarsenal.com/admin-arsenal-blog/powershell-sending-a-wake-on-lan-wol-magic-packet/
$req = [System.Net.WebRequest]::Create('http://www.devdungeon.com') $req.Method ="GET" $req.ContentLength = 0
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root. Exiting" | |
exit 1 | |
fi |
# Specific number of iterations | |
for i in $(seq 1 10) | |
do | |
echo $i | |
done | |
# Specify list | |
for x in test.txt misc.txt other.txt | |
do | |
rm $x |
# Define a function | |
hello() { | |
echo "Hello, world!" | |
} | |
# Run the function | |
hello | |
# Using function arguments | |
hello() { |