This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |