This file contains 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
#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. |
This file contains 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
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository universe | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update | |
sudo apt-get install certbot python3-certbot-apache | |
sudo certbot --apache |
This file contains 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
#!/usr/bin/env python3 | |
print(""" | |
░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄ | |
░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄ | |
░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█ | |
░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█ | |
░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█ | |
█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█ | |
█▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█ | |
░█▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█ |
This file contains 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
<?php if (!defined('PmWiki')) exit(); | |
$WikiTitle = "My New Wiki"; | |
$PageLogoUrl = "http://example.com/mylogo.gif"; | |
# Uncomment and correct these if PmWiki fails to detect the browser-reachable URLs | |
#$ScriptUrl = 'http://example.com/pmwiki/pmwiki.php'; | |
#$PubDirUrl = 'http://example.com/pmwiki/pub'; | |
$DefaultPasswords['admin'] = pmcrypt('onesecret'); |
This file contains 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
(==( )==) | |
`-.`. ,',-' | |
_,-'" | |
,-',' `.`-. | |
(==( )==) | |
`-.`. ,',-' | |
_,-'" | |
,-',' `.`-. | |
(==( )==) | |
`-.`. ,',-' |
This file contains 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
... | |
;::::; | |
;::::; :; | |
;:::::' :; | |
;:::::; ;. | |
,:::::' ; OOO\ | |
::::::; ; OOOOO\ | |
;:::::; ; OOOOOOOO | |
,;::::::; ;' / OOOOOOO | |
;:::::::::`. ,,,;. / / DOOOOOO |
This file contains 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
+------------------------------------------------------+ | |
Linux command cheat sheet | |
+------------------------------------------------------+ | |
COMMAND DESCRIPTION | |
echo "text" ------ echos text (eg echo "hello world" ) | |
uname -a ------- Show system and kernel | |
head -n1 /etc/issue ---- Show distribution |
This file contains 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 | |
# enp's epic .bashrc file | |
#it's open source duh | |
# {{{ History | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace |
This file contains 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
--[[ | |
Awesome WM configuration template | |
github.com/lcpz | |
--]] | |
-- {{{ Required libraries | |
local awesome, client, mouse, screen, tag = awesome, client, mouse, screen, tag | |
local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type |
This file contains 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 | |
systemctl enable sshd #make shure | |
mkfs.ext4 /dev/vda2 | |
mount /dev/vda2 /mnt | |
pacstrap /mnt base linux-hardened linux-hardened-headers arch-install-scripts | |
genfstab -U /mnt >> /mnt/etc/fstab | |
arch-chroot /mnt <<"EOT" | |
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen | |
locale-gen | |
echo "LANG=en_US.UTF-8" >> /etc/locale.conf |
OlderNewer