I hereby claim:
- I am nicholascw on github.
- I am nicholascw (https://keybase.io/nicholascw) on keybase.
- I have a public key whose fingerprint is D7FE DFB4 EA83 4EF9 FB13 013F 70D3 4759 8C18 F6B0
To claim this, I am signing this object:
# For base16 colors, visit https://github.com/tinted-theming/base16-shell/tree/main | |
metar_bar () { | |
echo '{"version":1, "click_events":true}' | |
echo '[' | |
echo "[{\"name\":\"refresh\",\"full_text\":\"Refreshing...\"}]" | |
while true | |
do | |
METAR_JSON=$(curl -s -X 'GET' "https://aviationweather.gov/api/data/metar?ids=$1&format=json&taf=false" -H "accept: text/plain") | |
METAR_GEOJSON=$(curl -s -X 'GET' "https://aviationweather.gov/api/data/metar?ids=$1&format=geojson&taf=false" -H "accept: text/plain") |
mpris_bar () { | |
echo '{"version":1, "click_events":true}' | |
echo '[' | |
echo '[]' | |
mpris_cur_player=0 | |
while :; | |
do | |
mpris_players=( $(playerctl -l) ) | |
num_of_players=$#mpris_players | |
if [[ $num_of_players -eq 0 ]]; then |
{ | |
"inbounds": [ | |
{ | |
"port": 5200, | |
"listen": "127.0.0.1", | |
"protocol": "dokodemo-door", | |
"settings": { | |
"address": "127.0.0.1", | |
"port": 5201, | |
"network": "tcp", |
/* | |
* This file is adapted exclusively for CS438 MPs, from part of the | |
* SLOWProxy distribution (https://github.com/nicholascw/SLOWProxy). | |
* Copyright (C) 2020 Nicholas Wang | |
* | |
* ======= NOTICE to Grading Instructor ======= | |
* This file is authored by the one submitting this solution, and the | |
* original open-sourced copy is signed with the same GPG key. | |
* ============ End of the Notice ============= | |
* |
#!/bin/bash | |
# Install SU2+Calculix+preCICE bundle for current user | |
# | |
# Usage: curl -L https://biuu.ga/getspc | bash | tee install.log | |
# Author: Nicholas Wang | |
# Date: Dec 20, 2019 | |
# Based on: | |
# Ubuntu: 18.04 (bionic) | |
# CalculiX: 2.15 | |
# SU2: 6.0.0 |
I hereby claim:
To claim this, I am signing this object: