pacman -S curl docker ebtables ethtool wget unzip
Also cfssl is needed but available on AUR, using pacaur
pacaur -S cfssl
| #include <BleGamepad.h> | |
| BleGamepad bleGamepad; | |
| int btn_last = 0; | |
| int btn_pin = 4; | |
| int poti_pin = 34; | |
| int con = 0; | |
| void setup() | |
| { |
| // Auto-pilot for docking with the International Space Station | |
| // | |
| // The program uses Artificial Intelligence and Decision Trees (i.e. basic kinematics and a bunch of if statements) | |
| // to perform docking with the ISS from any starting position. | |
| // | |
| // To use it: | |
| // - open the SpaceX simulation website: https://iss-sim.spacex.com/ | |
| // - open the Developer's console and paste the contents of this file | |
| // | |
| // Demo: https://youtu.be/jWQQH2_UGLw |
| import matplotlib.pyplot as plt | |
| from PyQt5 import QtCore | |
| import numpy as np | |
| import time | |
| import math | |
| class VisualiseFrequency(QtCore.QThread): | |
| def __init__(self, song, canvas, player): |
| # activate the virtualenv | |
| source /home/superset/.virtualenvs/superset/bin/activate | |
| fabmanager reset-password --app superset --username admin --password enteryournewpassword |
| #!/usr/bin/env bash | |
| # used to install offical chrome and selenium on Ubuntu 16.04.1 LTS, 18.04, 20.04.1 LTS desktop, Jan 2021 | |
| # also tested and works on Elem OS 5.1 :) | |
| # | |
| # make sure script is run as root or sudo | |
| if [[ $(whoami) != "root" ]] ; then | |
| echo ; echo "This script, $0, SHOULD be run as ROOT. " ; echo | |
| exit 1 | |
| fi | |
| # |
| version: "3" | |
| services: | |
| postgres-db: | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| environment: | |
| POSTGRES_PASSWORD: postgres |
| pkg upgrade | |
| # Install runtime deps | |
| pkg install python libzmq libcrypt | |
| # Add build deps | |
| pkg install python-dev libzmq-dev libcrypt-dev clang | |
| pip3 install -U pip | |
| pip3 install pyzmq --install-option="--zmq=/usr/lib" | |
| pip3 install jupyter |
| # Install R | |
| sudo apt update | |
| sudo apt install gdebi libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base r-base-dev | |
| # Install RStudio | |
| cd ~/Downloads | |
| wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.2.5001-amd64.deb | |
| sudo gdebi rstudio-1.2.5001-amd64.deb | |
| printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile |
| Item | Value |
|---|---|
| User | <leave blank> |
| Name | edx-notes |
| Url | https://<your-notesserver-url> |
| Redirect uri | https://<your-notesserver-url>/complete/edx-oidc/ |
| Client id | <generated> |
| Client secret | <generated> |