Convert old scripts to chezmoi
requires include_legacy data to be set to true: [data] include_legacy = true
This commit is contained in:
parent
af120aab24
commit
7e92d28f52
@ -1,3 +1,2 @@
|
|||||||
/hellotech/
|
/hellotech/
|
||||||
/old-scripts/
|
|
||||||
/README.md
|
/README.md
|
||||||
|
|||||||
0
old-scripts/.local/bin/duck-encoder.jar → dot_local/bin/duck-encoder.jar
Normal file → Executable file
0
old-scripts/.local/bin/duck-encoder.jar → dot_local/bin/duck-encoder.jar
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
java -jar $(dirname $0)/duck-encoder.jar $*
|
java -jar $(dirname $0)/duck-encoder.jar $*
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# Get sorted list files
|
# Get sorted list files
|
||||||
@ -13,3 +14,4 @@ foreach my $file (@sortedFiles) {
|
|||||||
my $fileSortedPrintCmd = "du -s \"$realFileName\"";
|
my $fileSortedPrintCmd = "du -s \"$realFileName\"";
|
||||||
print `$fileSortedPrintCmd`;
|
print `$fileSortedPrintCmd`;
|
||||||
}
|
}
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
"""
|
"""
|
||||||
This is a program that attempts to get all the album art from amazon
|
This is a program that attempts to get all the album art from amazon
|
||||||
@ -169,3 +170,4 @@ def main():
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
{{- end }}
|
||||||
0
dot_local/bin/executable-install-aax-to-mp3 → dot_local/bin/executable_install-aax-to-mp3
Normal file → Executable file
0
dot_local/bin/executable-install-aax-to-mp3 → dot_local/bin/executable_install-aax-to-mp3
Normal file → Executable file
0
dot_local/bin/executable-install-age → dot_local/bin/executable_install-age
Normal file → Executable file
0
dot_local/bin/executable-install-age → dot_local/bin/executable_install-age
Normal file → Executable file
0
dot_local/bin/executable_install-bat
Normal file → Executable file
0
dot_local/bin/executable_install-bat
Normal file → Executable file
0
dot_local/bin/executable-install-cert-manager-cmctl → dot_local/bin/executable_install-cert-manager-cmctl
Normal file → Executable file
0
dot_local/bin/executable-install-cert-manager-cmctl → dot_local/bin/executable_install-cert-manager-cmctl
Normal file → Executable file
0
dot_local/bin/executable-install-chezmoi → dot_local/bin/executable_install-chezmoi
Normal file → Executable file
0
dot_local/bin/executable-install-chezmoi → dot_local/bin/executable_install-chezmoi
Normal file → Executable file
0
dot_local/bin/executable-install-dasel-home → dot_local/bin/executable_install-dasel-home
Normal file → Executable file
0
dot_local/bin/executable-install-dasel-home → dot_local/bin/executable_install-dasel-home
Normal file → Executable file
0
dot_local/bin/executable_install-deno
Normal file → Executable file
0
dot_local/bin/executable_install-deno
Normal file → Executable file
0
dot_local/bin/executable_install-direnv
Normal file → Executable file
0
dot_local/bin/executable_install-direnv
Normal file → Executable file
0
dot_local/bin/executable-install-dust → dot_local/bin/executable_install-dust
Normal file → Executable file
0
dot_local/bin/executable-install-dust → dot_local/bin/executable_install-dust
Normal file → Executable file
0
dot_local/bin/executable_install-erdtree
Normal file → Executable file
0
dot_local/bin/executable_install-erdtree
Normal file → Executable file
0
dot_local/bin/executable-install-etcd-system → dot_local/bin/executable_install-etcd-system
Normal file → Executable file
0
dot_local/bin/executable-install-etcd-system → dot_local/bin/executable_install-etcd-system
Normal file → Executable file
0
dot_local/bin/executable-install-evans → dot_local/bin/executable_install-evans
Normal file → Executable file
0
dot_local/bin/executable-install-evans → dot_local/bin/executable_install-evans
Normal file → Executable file
0
dot_local/bin/executable_install-fzf
Normal file → Executable file
0
dot_local/bin/executable_install-fzf
Normal file → Executable file
0
dot_local/bin/executable-install-geckodriver → dot_local/bin/executable_install-geckodriver
Normal file → Executable file
0
dot_local/bin/executable-install-geckodriver → dot_local/bin/executable_install-geckodriver
Normal file → Executable file
0
dot_local/bin/executable-install-gitea-home → dot_local/bin/executable_install-gitea-home
Normal file → Executable file
0
dot_local/bin/executable-install-gitea-home → dot_local/bin/executable_install-gitea-home
Normal file → Executable file
0
dot_local/bin/executable-install-gitea-system → dot_local/bin/executable_install-gitea-system
Normal file → Executable file
0
dot_local/bin/executable-install-gitea-system → dot_local/bin/executable_install-gitea-system
Normal file → Executable file
0
dot_local/bin/executable_install-go-home
Normal file → Executable file
0
dot_local/bin/executable_install-go-home
Normal file → Executable file
0
dot_local/bin/executable_install-go-system
Normal file → Executable file
0
dot_local/bin/executable_install-go-system
Normal file → Executable file
0
dot_local/bin/executable_install-golangci-lint
Normal file → Executable file
0
dot_local/bin/executable_install-golangci-lint
Normal file → Executable file
0
dot_local/bin/executable_install-gomock-home
Normal file → Executable file
0
dot_local/bin/executable_install-gomock-home
Normal file → Executable file
0
dot_local/bin/executable-install-gotemplate → dot_local/bin/executable_install-gotemplate
Normal file → Executable file
0
dot_local/bin/executable-install-gotemplate → dot_local/bin/executable_install-gotemplate
Normal file → Executable file
0
dot_local/bin/executable-install-hugo-home → dot_local/bin/executable_install-hugo-home
Normal file → Executable file
0
dot_local/bin/executable-install-hugo-home → dot_local/bin/executable_install-hugo-home
Normal file → Executable file
0
dot_local/bin/executable-install-kubectl → dot_local/bin/executable_install-kubectl
Normal file → Executable file
0
dot_local/bin/executable-install-kubectl → dot_local/bin/executable_install-kubectl
Normal file → Executable file
0
dot_local/bin/executable-install-lego-home → dot_local/bin/executable_install-lego-home
Normal file → Executable file
0
dot_local/bin/executable-install-lego-home → dot_local/bin/executable_install-lego-home
Normal file → Executable file
0
dot_local/bin/executable-install-lego-system → dot_local/bin/executable_install-lego-system
Normal file → Executable file
0
dot_local/bin/executable-install-lego-system → dot_local/bin/executable_install-lego-system
Normal file → Executable file
0
dot_local/bin/executable_install-lf
Normal file → Executable file
0
dot_local/bin/executable_install-lf
Normal file → Executable file
0
dot_local/bin/executable-install-minikube-home → dot_local/bin/executable_install-minikube-home
Normal file → Executable file
0
dot_local/bin/executable-install-minikube-home → dot_local/bin/executable_install-minikube-home
Normal file → Executable file
0
dot_local/bin/executable-install-minikube-system → dot_local/bin/executable_install-minikube-system
Normal file → Executable file
0
dot_local/bin/executable-install-minikube-system → dot_local/bin/executable_install-minikube-system
Normal file → Executable file
0
dot_local/bin/executable-install-node-exporter-system → dot_local/bin/executable_install-node-exporter-system
Normal file → Executable file
0
dot_local/bin/executable-install-node-exporter-system → dot_local/bin/executable_install-node-exporter-system
Normal file → Executable file
0
dot_local/bin/executable_install-node-home
Normal file → Executable file
0
dot_local/bin/executable_install-node-home
Normal file → Executable file
0
dot_local/bin/executable_install-node-system
Normal file → Executable file
0
dot_local/bin/executable_install-node-system
Normal file → Executable file
0
dot_local/bin/executable-install-procs → dot_local/bin/executable_install-procs
Normal file → Executable file
0
dot_local/bin/executable-install-procs → dot_local/bin/executable_install-procs
Normal file → Executable file
0
dot_local/bin/executable-install-prometheus-system → dot_local/bin/executable_install-prometheus-system
Normal file → Executable file
0
dot_local/bin/executable-install-prometheus-system → dot_local/bin/executable_install-prometheus-system
Normal file → Executable file
0
dot_local/bin/executable-install-protoc-home → dot_local/bin/executable_install-protoc-home
Normal file → Executable file
0
dot_local/bin/executable-install-protoc-home → dot_local/bin/executable_install-protoc-home
Normal file → Executable file
0
dot_local/bin/executable-install-protoc-system → dot_local/bin/executable_install-protoc-system
Normal file → Executable file
0
dot_local/bin/executable-install-protoc-system → dot_local/bin/executable_install-protoc-system
Normal file → Executable file
0
dot_local/bin/executable-install-pulumi → dot_local/bin/executable_install-pulumi
Normal file → Executable file
0
dot_local/bin/executable-install-pulumi → dot_local/bin/executable_install-pulumi
Normal file → Executable file
0
dot_local/bin/executable_install-ripgrep
Normal file → Executable file
0
dot_local/bin/executable_install-ripgrep
Normal file → Executable file
0
dot_local/bin/executable_install-rvm
Normal file → Executable file
0
dot_local/bin/executable_install-rvm
Normal file → Executable file
0
dot_local/bin/executable-install-shellcheck-home → dot_local/bin/executable_install-shellcheck-home
Normal file → Executable file
0
dot_local/bin/executable-install-shellcheck-home → dot_local/bin/executable_install-shellcheck-home
Normal file → Executable file
0
dot_local/bin/executable-install-shfmt → dot_local/bin/executable_install-shfmt
Normal file → Executable file
0
dot_local/bin/executable-install-shfmt → dot_local/bin/executable_install-shfmt
Normal file → Executable file
0
dot_local/bin/executable-install-sqlc → dot_local/bin/executable_install-sqlc
Normal file → Executable file
0
dot_local/bin/executable-install-sqlc → dot_local/bin/executable_install-sqlc
Normal file → Executable file
0
dot_local/bin/executable_install-starship
Normal file → Executable file
0
dot_local/bin/executable_install-starship
Normal file → Executable file
0
dot_local/bin/executable-install-tile38 → dot_local/bin/executable_install-tile38
Normal file → Executable file
0
dot_local/bin/executable-install-tile38 → dot_local/bin/executable_install-tile38
Normal file → Executable file
0
dot_local/bin/executable-install-trubka → dot_local/bin/executable_install-trubka
Normal file → Executable file
0
dot_local/bin/executable-install-trubka → dot_local/bin/executable_install-trubka
Normal file → Executable file
0
dot_local/bin/executable-install-ttyd → dot_local/bin/executable_install-ttyd
Normal file → Executable file
0
dot_local/bin/executable-install-ttyd → dot_local/bin/executable_install-ttyd
Normal file → Executable file
0
dot_local/bin/executable-install-vegeta-home → dot_local/bin/executable_install-vegeta-home
Normal file → Executable file
0
dot_local/bin/executable-install-vegeta-home → dot_local/bin/executable_install-vegeta-home
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
@ -117,3 +118,4 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument('-d', '--directory', default=Path('.'), type=Path)
|
parser.add_argument('-d', '--directory', default=Path('.'), type=Path)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
main(args.directory)
|
main(args.directory)
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@ -82,3 +83,4 @@ if __name__ == "__main__":
|
|||||||
message = ""
|
message = ""
|
||||||
|
|
||||||
main(file_name=file_name, dir_name=dir_name, message=message)
|
main(file_name=file_name, dir_name=dir_name, message=message)
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -115,3 +116,4 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
options, args = parser.parse_args()
|
options, args = parser.parse_args()
|
||||||
main(options, args)
|
main(options, args)
|
||||||
|
{{- end }}
|
||||||
@ -1,4 +1,6 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
sudo systemctl start lego@toy.xbudex.com.service
|
sudo systemctl start lego@toy.xbudex.com.service
|
||||||
scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem
|
scp /etc/ssl/certificates/toy.xbudex.com.crt toy.xbudex.com:AppData/Local/Syncthing/https-cert.pem
|
||||||
scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem
|
scp /etc/ssl/certificates/toy.xbudex.com.key toy.xbudex.com:AppData/Local/Syncthing/https-key.pem
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{ if .include_legacy }}
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LINES=$(tput lines)
|
LINES=$(tput lines)
|
||||||
@ -38,3 +39,4 @@ do
|
|||||||
|
|
||||||
sleep 0.1
|
sleep 0.1
|
||||||
done
|
done
|
||||||
|
{{- end }}
|
||||||
Loading…
Reference in New Issue
Block a user