I hereby claim:
- I am pilinux on github.
- I am pilinux (https://keybase.io/pilinux) on keybase.
- I have a public key ASCFDXaih7saw1LyTW1vG-j_mfsBBcMxeHFHGETdtoxYcQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Download link: https://developers.cloudflare.com/argo-tunnel/downloads/ | |
For Raspberry Pi | |
================ | |
- Install Pi-hole with lighttpd | |
- $ curl https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-arm.tgz | sudo tar xzC /usr/local/bin | |
- Test: | |
$ sudo su |
The default version of java provided in the latest raspbian images are outdated, so we are going to install from the ppa:webupd8team/java
repository instead. Please note that add-apt-repository ppa:webupd8team/java
will not work, so we will need to add the repository manually.
nano key.txt
#!/bin/bash | |
sudo apt install build-essential ruby liblzma-dev patch ruby-dev zlib1g-dev libsqlite3-dev nodejs | |
sudo gem update --system | |
sudo gem install bundler | |
sudo gem install nokogiri -v 1.8.2 | |
sudo gem install rails -v 5.2.0 | |
sudo gem install sqlite3 -v 1.3.13 | |
sudo gem install execjs | |
# To create an app inside a directory, |
upstream gitlab { | |
server 172.17.42.1:10080 fail_timeout=0; | |
} | |
# let gitlab deal with the redirection | |
server { | |
listen 80; | |
server_name git.example.com; | |
server_tokens off; | |
root /dev/null; |
#!/bin/bash | |
# run as root only | |
if [ $EUID -ne 0 ] | |
then | |
echo -e "\e[1;39m[ \e[31mError\e[39m ] need root access to run this script\e[0;39m" | |
exit 1 | |
fi | |
function install_automake() { |
#### | |
# For Ubuntu 18.04 | |
# | |
# Add the following repos at /etc/apt/sources.list: | |
# deb http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe | |
# deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe | |
# deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe | |
# and remove the default repos. | |
#### |
########## | |
# Arithmetic operation | |
(5 + 2 * 3 + (3 - 1) / 2 + 9) % 2 | |
Out[1]: 1 | |
2**2 # power | |
Out[2]: 4 | |
4**0.5 # square root |