Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
include current-theme.conf | |
background_opacity 0.9 | |
font_family MesloLGS NF | |
bold_font auto | |
italic_font auto | |
bold_italic_font auto | |
tab_bar_style powerline |
func GetEd25519PrivateFromString(i string) (ed25519.PrivateKey, error) { | |
//pemBlock, rest := pem.Decode([]byte(i)) | |
//fmt.Println(rest) | |
//fmt.Printf("%v\n", pemBlock) | |
//fmt.Println(len(pemBlock.Bytes)) | |
//priv, err := x509.ParsePKCS8PrivateKey(pemBlock.Bytes) | |
//exportKey := priv.(ed25519.PrivateKey) | |
// | |
//fmt.Println(priv) |
#!/usr/bin/env bash | |
sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \ | |
libbz2-dev libreadline-dev libsqlite3-dev curl \ | |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev | |
curl https://pyenv.run | bash | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc |
sudo apt install install gstreamer1.0-libav uxplay | |
# allow firewall | |
# mDns | |
sudo ufw allow 5353 | |
# connection in this example ill use 35000 and uxplay need n+3 port, then i've to allow | |
# 35000, 35001, 35002 | |
sudo ufw allow 35000:35002/tcp | |
sudo ufw allow 35000:35002/udp |
%YAML 1.3 | |
--- | |
- Rule: | |
- MouseGesture: Mouse Right | |
- KeyPress: | |
- [Super_L, Control_L, Up] | |
- click | |
- Rule: | |
- MouseGesture: Mouse Left | |
- KeyPress: |
#!/usr/bin/env bash | |
basedir=$(pwd) | |
projs=( | |
Commands.scala | |
Dependencies.scala | |
LibDefs.scala | |
build.properties | |
plugins.sbt |
%YAML 1.3 | |
--- | |
- Rule: | |
- MouseGesture: Mouse Up | |
- KeyPress: [Super_L, Control_L, Down] | |
- Rule: | |
- MouseGesture: Mouse Down | |
- KeyPress: [Super_L, Control_L, Up] | |
- Rule: | |
- Feature: MOUSE GESTURE |
install
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
create file ~/.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
These are my own personal notes on how i setup a Pi Zero W as an access points it is a blatant copy of this: https://gist.github.com/tcg/0c1d32770fcf6a0acf448b7358c5d059 but is just missing a couple of things from: http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap and like tcg, this is not intended as a guide but notes as i will invariably have to rebuild this sometime and i have broken biscuits for brains.
this is really just the same info as here https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a
cmdline.txt
add: modules-load=dwc2,g_ether
after the word rootwait
config.txt
and add dtoverlay=dwc2
to the end of the filessh