182 karma · joined February 14, 2020
function cd { builtin cd "$@" && [ -d .git ] && git pull || true; exa -all --group-directories-first; }
alias acp='git add -u &&-c "git log --color --pretty=format:\"%s\" --abbrev-commit -- |>/tmp/git_log_sk && git commit --gpg-sign --edit -F /tmp/git_log_sk && rm /tmp/git_log_sk" && git push -u
origin HEAD'
The cd automatically pulls if it's a git repo.
The acp is shorthand for "add+commit+push" with sk as a fuzzy finder for a commit message editing (vim integrations).Spoiler: I wrote it.
# /etc/pam.d/sudo
auth optional pam_faildelay.so delay=5000000
auth [success=1 default=ignore] pam_yubico.so authfile=/home/user/auth_file id=16
session required pam_env.so readenv=1 user_readenv=0
session required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0
@include common-auth
@include common-account
@include common-session-noninteractive
# /etc/pam.d/sshd auth optional pam_faildelay.so delay=5000000
auth requisite pam_yubico.so authfile=/home/user/auth_file id=16 debug
account include base-account
auth required pam_env.so
auth required pam_nologin.so successokFun times.
That's fine.
The scope of it, the way I understood it, was for educational purposes. To that extent, a simple disclaimer "Only run this in a sanbox you can afford to lose or throw away" would have been sufficient.
OP, nice work anyway!
Because you know, they can. And what can you do when your stack is already written in Golang? ..
These were more of a template on how to develop, not a concrete recipe. Scrum then established a process where there was need for a family of processes, continuously evolving, ever changing.
The very fact that "you absolutely have to have a specific ceremony (i.e.: Retro when no topics)" is a red flag which imho puts the cart before the horse.
Why is there a "Scrum Master" anyway, if individuals are encouraged to interact and own the process? Suppose an individual wants to change the process, and reaches consensus within the team/community. Why would a Scrum Master / Manager even be able to veto any decision?
Why is there a Sprint when SW development is actually a marathon? Uncle Bob talks about this in several of his Clean Methodology books.
I don't think that Agile is dead [1], although it has been taken over by people eager to sell you a *cough* certification (Scrum or any other). It's not dead because its genius is that it's constantly evolving, and you can always interpret it differently since it's only a template. Scrum, on the other hand.. well..
For the future, I look forward to not putting an equal sign between Scrum and Agile, even though apparently Scrum is how you "do" Agile, according to the industry.
[1] https://www.simplethread.com/agile-at-20-the-failed-rebellio...
Did you experience the same? I'm on Firefox 108.0.2.
Perhaps somebody can confirm if it's a good idea or not, but I like to generate only 1 emergency code for Authenticator (the least) and then delete that line in ~/.google-authenticator. Also, permissions of 400.
In case interested, check it out in code here: https://github.com/mihaigalos/config/blob/main/services/pam/...
* Using Yubikey PAM always as a 2FA for ssh,sudo (also on every Linux in my home network).
* Always require authentication on each sudo command (prevents escalating once and then reusing privileges).
* Only running Docker with sudo as recommended (requires 2FA now).
* Closing all traffic other than services I need with nftables.
Regularly look at the journalctl for suspicious activity.
I actually prefer the invariant section above the definition, but do admit the pre and post in C++ look better.
See here if interested: https://github.com/mihaigalos/pass
This ensures a high coverage and corner cases are addressed.
Besides, a language for smart contracts that is built around the domain is easier to work with than a general-purpose one. So your Q would then be: why not something like Solidity or similar? - perhaps somebody else can elaborate.
Q: Why not publish it to crates.io (cargo publish)?