Skip to content

Instantly share code, notes, and snippets.

@nebulak
nebulak / onion_matrix.sh
Last active July 29, 2020 11:57
onion_matrix.sh
# Uncomment for tails, only use one of the following two lines
#DEST="/home/amnesia/Persistent"
DEST="/usr/share/applications"
# Uncomment for tails, only use one of the following two lines
#TOR_PORT="9050"
TOR_PORT="9150"
@nebulak
nebulak / extra-services.md
Created June 13, 2019 14:10
extra services
  • newsreader
  • search

Tor installation

sudo apt-get -y install tor
sudo systemctl enable tor

Erzeugen von hidden services

echo '# Hidden service for ssh' >> /etc/tor/torrc
echo 'HiddenServiceDir  /var/lib/tor/hidden_service_ssh/' >> /etc/tor/torrc

echo 'HiddenServicePort 22 127.0.0.1:22' >> /etc/tor/torrc

@nebulak
nebulak / arduino_byte_array_to_string.cpp
Created March 27, 2019 12:44
arduino convert string to/from byte array
void setup(void)
{
}
void loop(void)
{
byte byteArray[5];
strcpy((char *)byteArray,"0123"); //init byte array, index 5 = \0
String myString = String((char *)byteArray);
}
@nebulak
nebulak / riot.sh.install.md
Last active May 14, 2019 12:03
riot.sh installation

Installation

TODOs

  • apt-get install git
  • add -y to apt-get install in bash wrapper

Add sudo user

su

@nebulak
nebulak / ansible-todos.md
Last active March 20, 2019 23:02
laramailbox ansible todos

NGINX-Role

  • Use lets encrypt certificate

Certbot-Role

  • Check if certificate exists before requesting a new one

Dovecot & Laramailbox: fix password hash

Dovecot can't handle argon2i password hashs, only argon2...

@nebulak
nebulak / ernas-first-typing.txt
Created January 1, 2019 17:57
Erna's first typing: 01.01.2019
wnn<y,. hhhhhhhhhhhhhhhhhhhhhsw
cdsaasayaq11fhjkij,tgf'++++++++++++
'
ztsA QFGVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVD
frdesfve sedfesfesfefewfwfew<yaSACXYDSCnAAL bbbbbbbb b ftreed gff42a3rh
dxxxxC
@nebulak
nebulak / debian-i3-netbook.md
Last active December 18, 2018 10:07
netbook setup debian i3

add sudo user:

https://linuxize.com/post/how-to-create-a-sudo-user-on-debian/

Install wifi firmware:

sudo apt-get install firmware-b43-installer

Install i3: