I hereby claim:
- I am patricksanders on github.
- I am patricksanders (https://keybase.io/patricksanders) on keybase.
- I have a public key whose fingerprint is C7D5 6A1F 1590 4160 6F7D 2B2E 310A CA60 2E27 A12A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
via @rob_rix (https://twitter.com/rob_rix/status/1073199812844097536)
Mentoring is challenging. You have to:
import json | |
from policy_sentry.analysis.analyze import analyze_by_access_level, determine_actions_to_expand | |
from policy_sentry.shared.database import connect_db | |
DB_SESSION = connect_db('bundled') # Use the bundled data that comes with Policy Sentry | |
sample_policy = json.loads(""" | |
{ | |
"Statement":[ |
# set aliases | |
. ~/.bash_aliases | |
new-alias() { | |
local last_command=$(echo `history |tail -n2 |head -n1` | sed 's/[0-9]* //') | |
echo alias $1="'""$last_command""'" >> ~/.bash_aliases | |
. ~/.bash_aliases | |
} |
In Fall 2023, Slack introduced an updated client with some unpopular UI changes. The tweaks in this document can be used to revert to the old client or hide the new side bar. These will reset every time you fully close Slack but they are easy to re-apply once you get the hang of it.
The fist step is to enable dev mode, which can be accomplished by setting a system-wide environment variable.
command
+ Q
)