Skip to content

Instantly share code, notes, and snippets.

View 0x00009b's full-sized avatar
💭
*static tv sounds*

0x00009b 0x00009b

💭
*static tv sounds*
View GitHub Profile
@0x00009b
0x00009b / vncserver@:1.service
Created March 16, 2021 21:23 — forked from spinxz/vncserver@:1.service
systemd service file for running a vncserver (e.g. tightvncserver)
# Vncserver service file for Debian or Ubuntu with systemd
#
# Install vncserver and tools
# e.g. apt-get install tightvncserver autocutsel gksu
#
# 1. Copy this file to /etc/systemd/system/vncserver@:1.service
# 2. Edit User=
# e.g "User=paul"
# 3. Edit the vncserver parameters appropriately in the ExecStart= line!
# e.g. the -localhost option only allows connections from localhost (or via ssh tunnels)
@0x00009b
0x00009b / starship.toml
Created January 29, 2021 14:40 — forked from onedr0p/starship.toml
starship.toml
add_newline = true
prompt_order = ["username", "kubernetes", "directory", "git_branch", "git_status", "character"]
[character]
symbol = "\n(∩`-´)⊃ "
error_symbol = "\n(ง •̀_•́)ง "
style_success = "bold green"
use_symbol_for_status = true
[username]
#Creating an .onion service in the Tor network is as simple as editing /etc/tor/torrc and adding:
HiddenServiceDir /var/lib/tor/www_service/
HiddenServicePort 80 127.0.0.1:80
# After restarting the tor service with
sudo service tor restart
# or
sudo service tor reload
# The directory will be created automagically, and inside the new directory, two files are generated, hostname and private_key.