Skip to content

Instantly share code, notes, and snippets.

mkdir ~/microg-lineage
cd ~/microg-lineage
git clone https://github.com/SolidHal/docker-lineage-cicd.git
cd docker-lineage-cicd
git checkout lineageos-17.1
docker build -t docker-lineage-cicd-17.1 .
cd ..
mkdir -p build/{cache,keys,logs,manifests,src,userscripts,zips}
"Test": {
"prefix": [
"func Test"
],
"body": [
"func Test${1:Func}(t *testing.T) {",
"\ttests := []struct{",
"\t\t${2:input string}",
"\t\t${3:want string}",
"\t}{$0}",
function fish_prompt --description 'Write out the prompt'
set -l home_escaped (echo -n $HOME | sed 's/\//\\\\\//g')
set -l pwd (echo -n $PWD | sed "s/^$home_escaped/~/" | sed 's/ /%20/g')
set -l prompt_symbol ''
switch "$USER"
case root toor
set prompt_symbol '#'
case '*'
set prompt_symbol '$'
end