Skip to content

Instantly share code, notes, and snippets.

View boldsuck's full-sized avatar

boldsuck boldsuck

View GitHub Profile
@ndsamuelson
ndsamuelson / README.md
Last active November 3, 2025 11:44
Tor Authentication via Control Port

Authentication to Tor via ControlPort

I'm using cookie authentication


Cookie authentication simply means that your credential is the content of a file in Tor's DataDirectory. You can learn information about Tor's method of authentication (including the cookie file's location) by calling PROTOCOLINFO.

#!/bin/bash
rm -rf ~/temp/git/tari
mkdir ~/temp/git
cd ~/temp/git
git clone https://github.com/tari-project/tari.git
git checkout development
cd tari
NOW=$(date +"%Y-%m-%d")
COMMIT=$(git log --pretty=format:'%h' -n 1)
OUTDIR=~/build/nightly/$NOW-$COMMIT
@developius
developius / README.md
Last active September 20, 2026 09:36
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "your_email@example.com"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings (https://github.com/settings/keys).

Test SSH key: