Skip to content

Instantly share code, notes, and snippets.

View amydevs's full-sized avatar
👋
half-time quarter-stack developer

Amy! amydevs

👋
half-time quarter-stack developer
View GitHub Profile
@amydevs
amydevs / cryptolink.txt
Created May 9, 2024 02:34
Cryptolink between Polykey Keynode and Github Identity
@amydevs
amydevs / cryptolink.txt
Created May 9, 2024 05:03
Cryptolink between Polykey Keynode and Github Identity

Bash

Printing

# concatinate
cat file.txt

# head
head -n[no of lines] file.txt
@amydevs
amydevs / apply-dsa-aa-template.sh
Last active August 26, 2025 08:11
Script for automatically setting up a DSA/Adv Algorithms Project with Bazel
#!/usr/bin/env bash
URL="https://github.com/amydevs/dsa-aa-template.git"
cd $1
git remote set-url template $URL 2>/dev/null || git remote add template $URL
git fetch template
git merge template/master --allow-unrelated-histories --no-edit 1>/dev/null
FILELIST=""
while read -d '' -r file; do
if
[[ $file == *.cpp ]] || \