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
#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.
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
@0x00009b
0x00009b / troll
Created November 12, 2020 13:27
Python script to print a troll face add to your /bin and chmod +x troll then your good to go
#!/usr/bin/env python3
print("""
░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄
░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█
░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█
█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█
█▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
<?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');
(==( )==)
`-.`. ,',-'
_,-'"
,-',' `.`-.
(==( )==)
`-.`. ,',-'
_,-'"
,-',' `.`-.
(==( )==)
`-.`. ,',-'
...
;::::;
;::::; :;
;:::::' :;
;:::::; ;.
,:::::' ; OOO\
::::::; ; OOOOO\
;:::::; ; OOOOOOOO
,;::::::; ;' / OOOOOOO
;:::::::::`. ,,,;. / / DOOOOOO
@0x00009b
0x00009b / cheat sheet
Created January 22, 2021 16:02
a cheat sheet i made for helping to teach a friend of mine the linux command line
+------------------------------------------------------+
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
@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]
@0x00009b
0x00009b / .bashrc
Last active February 8, 2021 19:00
#!/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