Skip to content

Instantly share code, notes, and snippets.

View ss-o's full-sized avatar
:octocat:

Sall ss-o

:octocat:
View GitHub Profile
@ss-o
ss-o / tor2web.md
Created January 15, 2023 21:18
Tor

Tor2web and tor proxies public list

List of services which are giving access to Tor network and especially Tor hidden services via web interface. We keep track of potential injection or abuse from such service (the column Scam).

List

Url Status Domain Log Techno Scam
https://onion.re/ UP onion.re full custom no
@ss-o
ss-o / gpg-key-migration.md
Last active September 4, 2022 20:50 — forked from angela-d/gpg-key-migration.md
Move GPG Keys from One Machine to Another

Migrate GPG Keys from One Workstation to Another

Replace [your key] with your key ID

To obtain your key ID

gpg --list-secret-keys --keyid-format LONG

Which returns something like

@ss-o
ss-o / build-zsh.sh
Created June 10, 2022 02:56 — forked from nicoulaj/build-zsh.sh
Build Zsh from sources on Ubuntu
#!/bin/sh​
# Build Zsh from sources on Ubuntu.
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.
# Some packages may be missing
sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo
git clone git://zsh.git.sf.net/gitroot/zsh/zsh
cd zsh
@ss-o
ss-o / abbreviated-unbound.conf
Created April 19, 2022 03:11 — forked from martinrusev/abbreviated-unbound.conf
Unbound (http://unbound.net/) configuration for local network device testing.
# The server clause sets the main parameters.
server:
# Allow network connections outside of localhost
interface: 0.0.0.0
# Don't automatically run in the background because I want to be able to kill it without hunting a pid
do-daemonize: no
# TODO: Change this to your network range, like `192.168.0.0/16 allow`
access-control: 10.0.0.0/16 allow
# TODO: Change this to your username, or whatever user you want to run/own the `unbound` process
username: "bryanjswift"

Binary 2 LFS

Find binary files and include to .gitatributes.

Note: enable GitHub LFS for required repository.

#!/usr/bin/env bash

find . -type f -not -path "./.git/*" | perl -lne 'print if -B' | sed 's|.*\.||' | sort -u | while read in; do echo *.$in filter=lfs diff=lfs merge=lfs -text >> .gitattributes_new; done
@ss-o
ss-o / Creating an AUR Package.md
Created December 13, 2021 00:07 — forked from keilmillerjr/Creating an AUR Package.md
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD
@ss-o
ss-o / bash_intro.md
Last active July 6, 2022 07:49
Shell

Bash intro

Bash scripting is a very useful and powerful programming language that is mainly used to make any manual task automated. A jobseeker who wants to be an automation tester or bash programmer has to face some common questions in the interview. Different types of shell scripts exist in Linux. One of the popular and mostly used shell scripts is Bourne Again Shell or Bash. 30 important interview questions and answers on bash scripting language are described in this article to take preparation for the job.


01. What is bash script?

The bash script is a shell programming language. Generally, we run many types of shell commands from the terminal by typing each command separately that require time and efforts. If we need to run the same commands again then we have to execute all the commands from the terminal again. But using a bash script, we can store many shell command statements in a single bash file and execute the file any time by a single command. Many system administration related tasks, p

@ss-o
ss-o / ss-o.html
Last active March 14, 2022 23:45
I am Sall
### Keybase proof
I hereby claim:
* I am ss-o on github.
* I am sall_keys (https://keybase.io/sall_keys) on keybase.
* I have a public key ASBLjFFDbtwTxvyg6dDE-DWRVqj_z0lVFyMCP5eLQGj2pwo
To claim this, I am signing this object:
@ss-o
ss-o / docker-dnscrypt.sh
Last active December 24, 2022 08:33
DNSCrypt
#!/usr/bin/env bash
SERVER="$(hostname)"
SERVER_HOST_V4="$(curl -4 -s 'https://api.ipengine.dev' | jq -r '.network.ip')" || SERVER_HOST_V4="$(ip route get 8.8.8.8 | grep src | sed 's/.*src \(.* \)/\1/g' | cut -f1 -d ' ')"
SERVER_HOST_V6="$(curl -6 -s 'https://api.ipengine.dev' | jq -r '.network.ip')" || SERVER_HOST_V6="$(ip -6 addr | sed -ne 's|^.* inet6 \([^/]*\)/.* scope global.*$|\1|p' | head -1)"
SSHPORT='22'
DNSPORT='443'
apt-get update && apt-get upgrade -y
sed -ri -e "s/^#Port.*|^Port.*/Port $SSHPORT/" \