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 |
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
Follow the instructions on https://github.com/dart-lang/sdk/wiki/Building
Then run:
sudo apt-get install g++-multilib git python curlhttps://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.
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:python3 -m pip install awscli python3 -m awscli configure # Get key from IAM
| # local_play.yaml | |
| - name: Local play | |
| hosts: localhost | |
| connection: local | |
| tasks: | |
| - name: Create a text file | |
| command: touch test.txt | |
| - name: Rename the file | |
| command: mv test.txt test.md |
| # See which packages take up the most space | |
| rpm -qa --queryformat '%10{size} - %-25{name} \t %{version}\n' | sort -n | |
| # or simply | |
| rpm -qa --queryformat '%{size} %{name}\n' | sort -n |