Credits:
- https://www.howtoforge.com/how-to-install-vnc-server-on-debian-11/
- https://bbs.archlinux.org/viewtopic.php?id=180965
How to Install VNC Server on Debian 11 On this page
Prerequisites
Installing Desktop Environment
Creating New Linux User
| # Being an Emacs user, it is natural for me to use emacs-like and info-like keybindings for zathura. | |
| # | |
| # Zathura configuration documentation is available at | |
| # https://git.pwmt.org/pwmt/zathura/-/blob/e5d2ca487147e79d0bb7acbf5174cd9dcc92a86c/doc/man/zathurarc.5.rst | |
| # A full list of available functions and default keybindings is available at | |
| # https://git.pwmt.org/pwmt/zathura/-/blob/e5d2ca487147e79d0bb7acbf5174cd9dcc92a86c/zathura/config.c#L301 | |
| # | |
| # If you want to integrate Zathura with Emacs AUCTeX mode, see | |
| # [emacs wiki](https://www.emacswiki.org/emacs/AUCTeX). | |
| # |
| ######################################################################### | |
| ########## Dados | |
| ########################################################################### | |
| require(dplyr) | |
| require(ggplot2) | |
| library(tidyverse) | |
| require(tidyr) | |
| require(data.table) |
| #!/usr/bin/env python3 | |
| # coding=utf8 | |
| # ---------------------------------------------------------------------------- | |
| # Created By : Anderson José de Souza Inácio | |
| # Created Date: 2024-03-09 | |
| # version ='1.0' | |
| # --------------------------------------------------------------------------- | |
| """ Curso Estatística 2024 UFPR | |
| Disciplina CI182 Fundamentos de Programacao de Computadores | |
| Aula 3 Exercício 3.6 - 3 eqSist |
| #!/bin/bash | |
| #arquivo salvo em /usr/bin/nvidia-sleep.sh | |
| if [ ! -f /proc/driver/nvidia/suspend ]; then | |
| exit 0 | |
| fi | |
| RUN_DIR="/var/run/nvidia-sleep" | |
| XORG_VT_FILE="${RUN_DIR}"/Xorg.vt_number |
| docker run -d \ | |
| --name jellyfin \ | |
| --user uid:gid \ | |
| --net=host \ | |
| --volume jellyfin-config:/config \ | |
| --volume jellyfin-cache:/cache \ | |
| --mount type=bind,source=/media/hd-multimedia/anime-hd-3/Animes3,target=/Animes3 \ | |
| --mount type=bind,source=/media/hd-multimedia/backup/StreamingMiniDLNA/Animes,target=/Animes \ | |
| --mount type=bind,source=/media/hd-multimedia/backup/StreamingMiniDLNA/Animes2,target=/Animes2 \ | |
| --restart=unless-stopped \ |
Credits:
How to Install VNC Server on Debian 11 On this page
Prerequisites
Installing Desktop Environment
Creating New Linux User
| import os | |
| import re | |
| import shutil | |
| import glob | |
| def mover_arquivo_subpastas(): | |
| path = r"/home/anderson/Vídeos/Mob Pyscho 100 (2016)/mob_s3/" # caminho da pasta | |
| files = glob.glob(path + '/**/*.mkv', recursive=True) # gera uma lista dos arquivos no tipo especificado, mkv, recusivamente | |
| for file in files: | |
| padrao = re.compile(r"[^\\/]+?(?=$)") # regex para pegar o nome do arquivo mais a extensão, ignorando todo o path |
| # Java 8 | |
| curl -fsSL "https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public" | sudo gpg --dearmor --yes -o /usr/share/keyrings/adoptopenjdk-archive-keyring.gpg | |
| echo "deb [signed-by=/usr/share/keyrings/adoptopenjdk-archive-keyring.gpg] https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bullseye main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list | |
| sudo apt-get update && sudo apt-get install -y adoptopenjdk-8-hotspot | |
| # MongoDB 3.6 | |
| wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | sudo apt-key add - | |
| echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list | |
| # Unifi |
$ sudo pacman -S sox
$ mkdir -p ~/.config/systemd/user/
$ vim ~/.config/systemd/user/usb-audio-keep-alive.service
[Unit]
Description=Keep USB Audio Alive Using sox| # Adicione o export abaixo em seu bashrc ou zshrc | |
| export VISUAL="vim" |