Commit graph

199 commits

Author SHA1 Message Date
7d60b6f8be
Fix for usage with python3
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-19 12:36:27 +02:00
8b534331bc
Remove shell-banner
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-19 11:53:16 +02:00
cff10f74a2
Add simple pluralize wrapper for bash output
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-19 11:49:54 +02:00
a9f0300a97
Add dump_tmux_color script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-18 18:52:29 +02:00
358d665ff0
Add vuls helpers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-17 11:57:04 +02:00
92e66d42e0
Add GPG management scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-17 11:52:10 +02:00
106e6b74d7
Simplify cleanup
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-07-08 21:47:27 +02:00
149dc46185
Move session management to tmuxp
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-29 10:49:14 +02:00
12a545df5a
Wording
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-26 11:13:39 +02:00
2d4db910ea
Remove config check, does not work
SSH agent is currently not available, needs to be checked in a different
way, just make it work for now

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-26 11:06:39 +02:00
6eba74ff7b
Specify path for systemctl execution
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-25 10:57:45 +02:00
be7241cfa8
Add system-update check to banner
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-25 10:46:09 +02:00
3247dac609
Suppress output when loading golang
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-25 10:36:42 +02:00
848be88d35
Print installed go version when outdated
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-25 10:35:09 +02:00
31f49a8afd
Speed up shell start by pre-generating shell-banner-file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-25 10:27:41 +02:00
d18d43f6d6
Add more replacements, improve script UX
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-10 17:39:23 +02:00
d72c4be3c7
Allow other licenses than apache-2.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-10 16:22:09 +02:00
959154c408
Use simple date command to convert timestamps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-22 14:22:55 +02:00
483ebb9e1e
Auto-spawn more windows
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-11 09:59:24 +02:00
64c5d2a22a
Allow removing of IP entries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-26 15:54:02 +02:00
addb61367c
Show battery in tmux status
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-19 11:06:31 +02:00
c41ccbba93
Sort and deduplicate gitignore file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-13 17:53:42 +02:00
a338cf58d0
Replace bash dockerfile generator with go version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-10 13:15:41 +02:00
6727a3fbfe
Ensure to pull latest code version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-06 11:51:28 +02:00
e9d1f6e84a
Do not use fatal but a skipable error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-03 19:36:45 +02:00
fc6ad557bd
Fix: Unbound variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-04-03 19:35:47 +02:00
c6528bb871
Add mklicense script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-23 20:50:16 +01:00
d830dfa691
Allow for different branches to be fetched
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-11 12:37:16 +01:00
71d5361324
Also check for updates in system repo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:55:02 +01:00
efc8bc4f3c
Throw shfmt against bash scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:47:55 +01:00
ca6344c04d
Add password pwn check script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-07 11:58:21 +01:00
6b0a4b55fc
Use internal BASH_VERSINFO variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:32:08 +01:00
938b6c8081
Add a bash version check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:29:39 +01:00
d9fb0a060f
Fuck everything and especially Apple
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 23:04:08 +01:00
d58332c7a4
Add system specific repo
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-04 22:58:40 +01:00
687a3ba947
Migrate to go-version of update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-20 23:15:10 +01:00
7dafa5c0fc
Also search for image with stripped latest tag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-20 22:40:55 +01:00
0c1efb0e64
Improve docker-clean to avoid "in use" errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-15 22:53:35 +01:00
2ad65f4512
Improve file handling in check_config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 13:07:54 +01:00
c669a296fa
Rework ensure-config script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:39:28 +01:00
78a3b54d15
Specify branch to fetch
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:14:19 +01:00
1f646ca455
Ensure ssh-key and re-fetch when no rev is known
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 11:12:50 +01:00
6ea12aacd4
Improve output, do output every time
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:31:56 +01:00
ce723ee3b9
Merge to one line output
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:29:28 +01:00
9b139486c2
Add hub to required tools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:19:23 +01:00
75f9328088
OSX needs special treatment
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 01:15:53 +01:00
56aea038c4
Add check_config script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-11 00:54:47 +01:00
41ab786005
Install vault-user-token through update-gotools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 19:06:15 +01:00
5eca93a4c7
Cleanup backup script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 12:16:24 +01:00
aa49fc68e1
Add peco / peco functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-10 12:16:24 +01:00
2da99b2efb
Add warn function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-02-02 10:54:00 +01:00
f90704d4e3
Install worktime
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-18 14:19:39 +01:00
50b0aa2464
Update docker-clean script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 19:05:15 +01:00
085969a278
Improve local-vault-auth script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-13 15:47:09 +01:00
5983071082
Add removal of images (spotify-gc does not do that anymore)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-08 23:52:50 +01:00
1efe7fa3ca
Truncate branch names at 72 chars
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 21:49:27 +01:00
53bc6d62bd
Fetch tags on git ps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-01-07 15:17:19 +01:00
478f1ec990
By default install git-changerelease
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-18 16:03:51 +01:00
0419fd00c8
Limit branch length
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:29:57 +01:00
3f9c6dc4c3
Autopep8 and port to python3
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:12:49 +01:00
2387473854
Replace python slugify and str2hex with go tools
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-15 12:12:24 +01:00
a982aab40a
Add missing script 2017-12-14 15:38:11 +01:00
15abdb3765
Port to python3 2017-12-14 15:07:10 +01:00
8b29a34b21
Port to python3 2017-12-14 15:02:20 +01:00
518177dd01
Ensure py2/3 compatibiliy 2017-12-14 11:18:00 +01:00
f05fc4aab9
Add instance-type-comment script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-11 11:57:37 +01:00
e8e0e877cd
Install 'share' on systems
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-02 22:43:38 +01:00
1b82a2caed
Add shortcut for creating a branch and committing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-12-01 12:59:55 +01:00
fffc3f7412
Fix system-audit ignoring symbolic links
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-23 14:47:00 +01:00
41ab4ec679
Improve update-gotools script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-18 14:58:52 +01:00
0386675bbc
Replace python script with Go short_path tool
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-18 14:58:00 +01:00
e4cca82e2d
Make sign-off configurable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-10 12:47:04 +01:00
0da465731f
Parallelize installation of Go tooling
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-01 11:33:02 +01:00
1f27f72990
Add chrony timediff into tmux status bar
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-30 11:35:22 +01:00
ec887105a8
Set tracking branch when pushing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-17 11:31:09 +02:00
3af386d881
Allow creation of python3 venv
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-13 16:56:27 +02:00
4e77cb78f5
Add script for slugified branch names
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-06 12:20:53 +02:00
5927c7dcbc
Add simple wrapper around python-slugify
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-29 16:08:40 +02:00
17333daedc
Remove habitica integration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-27 11:40:18 +02:00
a2727dbe89
Use script_framework for resume script
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 12:55:43 +02:00
eeb4ba2d79
Unify scripts by using a common color / function framework
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 12:10:53 +02:00
a9570cde04
Make errors more verbose
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 11:17:41 +02:00
7374309c37
Improve window creation with a default horizontal split
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-19 11:11:21 +02:00
897ae8842c
Set error handling options
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-13 15:45:32 +02:00
6329c44ea0
Use different fork for bindata
which is more up-to-date and maintained

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-12 10:40:57 +02:00
26e741a2fa
Install vault2env from git
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-04 16:15:35 +02:00
57944d1bff
Also install dep CLI
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-09-04 13:25:49 +02:00
3991e6a781
Search for fingerprint instead of key name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-14 15:17:09 +02:00
20e7c554fc
Implement auto-loading of SSH keys
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-08 11:56:36 +02:00
af54670666
Add simple gitignore wrapper
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-07 11:11:09 +02:00
51926cb7d5
Remove not working detection logic
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-07 11:10:14 +02:00
354f7099dd
Don't die while collecting make targets (exit 2)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-20 09:00:05 +02:00
04a54c4a48
Use only first part of hostname
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-20 08:56:55 +02:00
542937d93f
Add error handling to git-* scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-17 11:55:39 +02:00
3e70f15450
Only use shortened hostname
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-06 14:19:52 +02:00
01a2dce686
Update vault-user-token on version mismatch
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-06 14:19:52 +02:00
cfa20468ce
Ensure vault-patch is avaiblable on the system
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-07-03 22:02:13 +02:00
59f2dff906
Ensure compatibility to BSD date
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-20 10:38:09 +02:00
947766d2df
Record last usage of ssh-key
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-19 14:08:55 +02:00
a6940d48a2
Use kill to check for process existence
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-05-27 00:09:02 +02:00