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
| #!/usr/bin/env bash | |
| set -e | |
| HELP_STRING=$(cat <<- END | |
| usage: build_wasm.sh | |
| Build script for combining a Macroquad project with wasm-bindgen, | |
| allowing integration with the greater wasm-ecosystem. |
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
| # nmcli con add type wifi ifname wlp3s0 con-name work-wifi ssid work-ssid | |
| # nmcli con edit id work-wifi | |
| nmcli> set ipv4.method auto | |
| nmcli> set 802-1x.eap peap | |
| nmcli> set 802-1x.phase2-auth mschapv2 | |
| nmcli> set 802-1x.identity myusername | |
| nmcli> set 802-1x.password mypassword | |
| nmcli> set wifi-sec.key-mgmt wpa-eap | |
| nmcli> save | |
| nmcli> activate |
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
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. | |
| */ | |
| package main |