Cuda
How to install CUDA & cuDNN on Ubuntu 22.04 Install NVIDIA drivers Update & upgrade sudo apt update && sudo apt upgrade Remove previous NVIDIA installation sudo apt autoremove nvidia* --purge Check Ubuntu devices ubuntu-drivers devices Install drivers sudo ubuntu-drivers autoinstall OR
EdgeX
Edgex Docker Compose This repository contains the docker compose files for EdgeX releases. Note: Each release is now on it’s own branch named after the release codename. View all branches here.
Modelica
TIL & TILMedia Library Commercial library for steady-state and transient simulation of thermodynamic systems such as heat pump,refrigeration, a/c, cooling and Rankine systems. The TILMedia library provides thermo-physical properties of incompressible liquids, vapor-gas mixtures, and real fluids very fast and accurate to various environments like Modelica, Excel, MATLAB/Simulink, LabVIEW, etc.
Airflow
Run Airflow in Docker Source: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html Create directories mkdir airflow-local cd airflow-local mkdir ./dags ./logs ./plugins Fetch docker-compose.yaml curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.5.0/docker-compose.yaml' Before Airflow 2.2, the Docker Compose also had AIRFLOW_GID parameter, but it did not provide any additional functionality - only added confusion - so it has been removed.
Latex
Latex 中文 Option 1 % ctex_test.tex \documentclass[UTF8]{ctexart} \CTEXsetup[format={\Large\bfseries}]{section} % align right \pagestyle{plain} % remove top header \usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation \defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---'' \usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc) \usepackage{xltxtra} % Extra customizations for XeLaTeX \setmainfont{Charis SIL} % set the main body font (\textrm), assumes Charis SIL is installed % other LaTeX packages.
Collections
Some packages that may be useful. You-Get You-Get is a tiny command-line utility to download media contents (videos, audios, images) from the Web, in case there is no other handy way to do it.
Docker
Docker Install: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun Uninstall: dpkg -l | grep -i docker sudo apt-get purge -y docker docker-ce docker-ce-cli containerd.io sudo apt-get autoremove -y --purge docker docker-ce docker-ce-cli containerd.
Git
Git git config git config --global user.name "John Doe" git config --global user.email johndoe@example.com git add git add . git commit -am 'comment' git commit -m "Initial Commit" git push -u origin master git fork 后如何保持与源项目的更新: 首先保证本地仓库的 upstream 是源项目的 URL,若没有则添加:
Grafana
Grafana 安装与删除: https://grafana.com/docs/grafana/latest/installation/debian/ https://lindevs.com/install-grafana-on-ubuntu/#:~:text=If%20you%20want%20to%20completely%20remove%20Grafana%20and,-y%20grafana%20When%20it%20finished%2C%20remove%20systemd%20service%3A sudo find / -name grafana -print find / -type f -name “grafana” -exec rm -i {} \ netstat -lptn sudo netstat -lp | grep 3000 netstat -apn |grep LISTEN | grep 3000
markdown
Docs: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions Math: https://latex.codecogs.com/ Math inside RMarkdown https://rpruim.github.io/s341/S19/from-class/MathinRmd.html Math inside RMarkdown In side a text chunk, you can use mathematical notation if you surround it by dollar signs $ for “inline mathematics” and $$ for “displayed equations”.
Telegraf
Telegraf [global_tags] [agent] interval = "300s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "60s" flush_jitter = "0s" precision = "" ## Log at debug level.
Ubuntu
Must have sudo apt update sudo apt install -y default-jdk openssh-server git curl net-tools make gcc sudo apt-get purge -y firefox sudo apt-get purge -y thunderbird* sudo rm -rf ~/mozilla/firefox/ ~/macromedia/ ~/adobe /etc/firefox/ /usr/lib/firefox/ /usr/lib/firefox-addons/ Mount drive in linux and set auto-mount at boot Sony headphone Realtek rtl8188eus Install VS code Option 1 Install with snap
Uncategorized
linux public ip curl ip.sb