I hereby claim:
- I am gaukas on github.
- I am gaukas_ (https://keybase.io/gaukas_) on keybase.
- I have a public key ASAaEGg3DaWXTnPovYjxLEUMKH54-O1oznFCAv8i9eEh8wo
To claim this, I am signing this object:
//go:build unix | |
package main | |
import ( | |
"errors" | |
"fmt" | |
"io" | |
"net" | |
"os" |
#!/usr/bin/env python3 | |
# Author: Gaukas <i@gauk.as> | |
# Date: 2022-05-29 | |
# License: MIT | |
# This script mainly uses 2 API endpoints: | |
# - GET flight/upgradeListExtended (credits goes to uscardform: https://www.uscardforum.com/t/topic/82554) | |
# - POST flight/FetchFlights |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Slow | |
curl -s ifconfig.me | xargs echo -n | |
# Faster | |
curl -s icanhazip.com | xargs echo -n | |
# API: http://api.ident.me |
#!/bin/bash | |
# Enforce root/sudoer execution | |
_WHO=$(sudo whoami) | |
if [ ${_WHO} != "root" ]; then | |
echo "Please run the script as root/under sudoer." | |
exit | |
fi |
#!/usr/bin/pulseaudio -nF | |
# | |
# check if you are missing pavucontrol. run "which pavucontrol" | |
# If so, install it and Download a working Atomic Pi HDMI audio configuration file. | |
# run "sudo apt install -y pavucontrol && sudo curl -o /etc/pulse/default.pa -L https://gist.githubusercontent.com/mpalpha/5e0d87f514bca0f87769864655300c99/raw" | |
# | |
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU Lesser General Public License as published by |
yum install m2crypto gcc -y | |
wget -N --no-check-certificate https://download.libsodium.org/libsodium/releases/LATEST.tar.gz | |
tar zvxf LATEST.tar.gz | |
cd libsodium-* | |
./configure | |
make && make install | |
echo "/usr/local/lib" >> /etc/ld.so.conf | |
ldconfig |