- Update OS
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install ubuntu-restricted-extras- Uninstall Apps
~/.bash_aliases file.function gdrive_download () {
CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=$1" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$CONFIRM&id=$1" -O $2
rm -rf /tmp/cookies.txt
}We install certutil and pk12util if necessary:
sudo apt install libnss3-tools
On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb directory:
ls $HOME/.pki/nssdb
| #!/bin/bash | |
| # | |
| # Interface checker | |
| # Checks to see whether interface has an IP address, if it doesn't assume it's down and start hostapd | |
| # Author : SirLagz | |
| # | |
| Interface='wlan0' | |
| HostAPDIP='10.0.0.1' | |
| echo "-----------------------------------" | |
| echo "Checking connectivity of $Interface" |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Websocket Demo</title> | |
| <style> | |
| #messages { | |
| border: dotted 1px #444444; | |
| font: 12px arial,sans-serif; | |
| } | |