$ sudo apt-get --purge remove octave3.2
$ sudo apt-get purge --auto-remove packagename
$ sudo apt-get autoremove
$ sudo apt --purge autoremove
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up the prompt | |
autoload -Uz promptinit | |
promptinit | |
prompt adam1 | |
setopt histignorealldups sharehistory | |
# Use emacs keybindings even if our EDITOR is set to vi | |
bindkey -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
# Fix Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated. | |
# sudo nano /usr/share/applications/com.obsproject.Studio.desktop | |
# Exec=env LIBGL_ALWAYS_SOFTWARE=1 obs | |
LIBGL_ALWAYS_SOFTWARE=1 obs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker run -it archlinux:base-devel-20210131.0.14634 bash | |
[root@ec8c7574f481 /]# pacman -Syy | |
:: Synchronizing package databases... | |
core 131.1 KiB 478 KiB/s 00:00 [########] 100% | |
extra 1649.2 KiB 345 KiB/s 00:05 [########] 100% | |
community 5.4 MiB 133 KiB/s 00:42 [########] 100% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# Uncomment the following line if you don't like systemctl's auto-paging feature: | |
# export SYSTEMD_PAGER= |
Docker tun device into container install openvpn or other soft, which uses tun devices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:7 | |
RUN apt-get update && \ | |
apt-get -y install socat && \ | |
apt-get clean | |
USER nobody | |
CMD socat -dddd TCP-LISTEN:1521,reuseaddr,fork TCP:db:1521 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker network create some-network | |
docker volume create some-docker-certs-ca | |
docker volume create some-docker-certs-client | |
docker run --privileged --name some-docker -d \ | |
--network some-network --network-alias docker \ | |
-e DOCKER_TLS_CERTDIR=/certs \ | |
-v some-docker-certs-ca:/certs/ca \ | |
-v some-docker-certs-clients:/certs/client \ | |
docker:dind |
apk add --no-cache vault libcap
setcap cap_ipc_lock= /usr/sbin/vault
Sublime Text 3 documentation
◳
= Right Mouse Button
◰
= Left Mouse Button
⇧
= Shift
⌫
= Delete
↩
= Enter
←↑→↓
= Arrow keys