This file contains 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
#!/bin/bash | |
# Slow | |
curl -s ifconfig.me | xargs echo -n | |
# Faster | |
curl -s icanhazip.com | xargs echo -n | |
# API: http://api.ident.me |
This file contains 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/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 |
This file contains 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
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 |