Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
rcfiles
Commits
fc194a07
Commit
fc194a07
authored
1 year ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Replace the presentation alias.
Now tools like gm and qpdf would be available too.
parent
0145b1c1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.bashrc
+0
-1
0 additions, 1 deletion
.bashrc
Makefile
+24
-3
24 additions, 3 deletions
Makefile
with
24 additions
and
4 deletions
.bashrc
+
0
−
1
View file @
fc194a07
...
...
@@ -155,7 +155,6 @@ alias occ='docker --host=ssh://host01.shore.co.il exec -itu www-data nextcloud-n
alias
pip2
=
'python2 -m pip'
alias
pip3
=
'python3 -m pip'
alias
pre-commit-update-skel
=
'pre-commit autoupdate --config ~/.config/git/skel/.pre-commit-config.yaml'
alias
presentation
=
'docker dev registry.shore.co.il/presentation'
# shellcheck disable=SC2139
alias
rc_make
=
"make --directory
$HOME
--always-make"
alias
rc_update
=
"rc_make vendored generated"
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
24
−
3
View file @
fc194a07
...
...
@@ -5,7 +5,12 @@ download = $(curl) --output $@
mkd
=
mkdir
-p
$$(
dirname
$@
)
.PHONY
:
all
all
:
secure-templates
all
:
ssh-keys
all
:
vendored
.PHONY
:
secure-templates
.PHONY
:
vendored
.PHONY
:
ssh-keys
ssh-keys
:
.ssh/gitlab_ed25519
...
...
@@ -42,11 +47,29 @@ ssh-keys: .ssh/schoolinks_vpn_rsa
ph show
--field
Notes
"SSH/
$$(
basename '
$@
'
)
"
>
'$@'
chmod
600
'$@'
all
:
.config/pythonrc.py
vendored
:
.config/pythonrc.py
.config/pythonrc.py
:
Makefile
$(
mkd
)
$(
download
)
https://raw.githubusercontent.com/lonetwin/pythonrc/master/pythonrc_pre38.py
vendored
:
.local/bin/presentation
.local/bin/presentation
:
Makefile
$(
mkd
)
$(
download
)
https://git.shore.co.il/nimrod/presentation/-/raw/master/presentation
chmod
+x
'$@'
all
:
.local/bin/gm
.local/bin/gm
:
.local/bin/presentation
ln
-s
presentation
'$@'
all
:
.local/bin/pandoc
.local/bin/pandoc
:
.local/bin/presentation
ln
-s
presentation
'$@'
all
:
.local/bin/qpdf
.local/bin/qpdf
:
.local/bin/presentation
ln
-s
presentation
'$@'
all
:
.ssh/config
.ssh/config
:
$(ssh_configs)
$(
mkd
)
...
...
@@ -68,8 +91,6 @@ all: .ssh/authorized_keys
$(
mkd
)
-$(
ansible-local
)
-m
authorized_key
-a
"user=
$$(
whoami
)
key='
$$(
cat .ssh/localhost.pub
)
' key_options='from=
\"
127.0.0.1/8
\"
'"
.PHONY
:
secure-templates
all
:
secure-templates
templates
!=
git ls-files
--
'*.j2'
|
sed
's/\.j2$$//'
secure-templates
:
${templates}
%
:
%.j2 Documents/Database.kdbx
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment