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 / 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

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 / 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"
@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 / 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