First of all install update and upgrade your system:
$ sudo apt update
$ sudo apt upgrade
Then, install required libraries:
#!/bin/bash | |
function generate_cert() { | |
if [ $# -ne 2 ]; then | |
echo "Usage: generate_cert <email> <domain>" | |
return 1 | |
fi | |
local email=$1 | |
local domain=$2 |
{ | |
"api": { | |
"services": [ | |
"HandlerService", | |
"LoggerService", | |
"StatsService" | |
], | |
"tag": "api" | |
}, | |
"inbounds": [ |
import requests | |
import time | |
def format_speed(speed_bytes): | |
""" | |
Formats download speed into a human-readable string. | |
:param speed_bytes: Download speed in bytes per second | |
:return: Formatted download speed string |
["tench", | |
"goldfish", | |
"great white shark", | |
"tiger shark", | |
"hammerhead shark", | |
"electric ray", | |
"stingray", | |
"cock", | |
"hen", | |
"ostrich", |
FROM nvidia/cuda:11.6.1-cudnn8-devel-ubuntu20.04 | |
# Install python3 | |
RUN apt update && apt install -y python3-pip htop curl wget git | |
RUN ln -sf /usr/bin/python3 /usr/bin/python && \ | |
ln -sf /usr/bin/pip3 /usr/bin/pip | |
RUN pip --no-cache-dir install --upgrade pip setuptools_rust |
<div class="container"> | |
<div class="iframe-container"> | |
<iframe id="api-frame"></iframe> | |
</div> | |
<div class="explainer" id="explainer"> | |
Set camera position example. The "Print view" button outputs camera information to the console. | |
</div> | |
<div class="controls" id="controls"> | |
<button id="view1">View Poe</button> | |
<button id="view2">View Rey</button> |
brew install pandoc | |
brew tap homebrew/cask | |
brew cask install basictex | |
eval "$(/usr/libexec/path_helper)" | |
# Update $PATH to include `/usr/local/texlive/2020basic/bin/x86_64-darwin` | |
sudo tlmgr update --self | |
sudo tlmgr install texliveonfly | |
sudo tlmgr install xelatex | |
sudo tlmgr install adjustbox | |
sudo tlmgr install tcolorbox |
import csv | |
import tweepy | |
# get credentials at developer.twitter.com | |
auth = tweepy.OAuthHandler('API Key', 'API Secret') | |
auth.set_access_token('Access Token', 'Access Token Secret') | |
api = tweepy.API(auth) | |
# update these for whatever tweet you want to process replies to |