Openwall Report by Andres Freund
Lasse Collin.
| temp_hist_file="/tmp/remote-host.bash_history" | |
| ssh <user>@<remote-host> -i <private_key_for_remote-host> "cat ~/.bash_history" > "$temp_hist_file" | |
| (history -cr "$temp_hist_file" ; history) | |
| #rm "$temp_hist_file" | |
| # Original source: https://unix.stackexchange.com/a/316120 |
| alias vimman='vim +Man! -c "norm gO" -c "set nowrap" -c "%s/\v(-<\w>|--<\w+>)//n" -c "wincmd L" -c "vertical resize 60" -c "wincmd h"' | |
| kubectl get -n <old_namespace> <kind> <resource> -o json |\ | |
| jq '.metadata.namespace = "<new_namespace>"' |\ | |
| kubectl create -f - &&\ | |
| kubectl delete -n <old_namespace> <kind> <resource> |
Openwall Report by Andres Freund
Lasse Collin.
| #!/bin/bash | |
| ### DEPENDENCIES | |
| # `rg`: https://github.com/BurntSushi/ripgrep/ | |
| # `awk` | |
| # `xev` | |
| # `--line-buffered` because ripgrep uses a block buffer in piped | |
| # and so doesn't provide instant output by default when redirected | |
| # after to stdout (related: https://unix.stackexchange.com/questions/200235/how-to-use-sed-to-manipulate-continuously-streaming-output) |
| #!/bin/bash | |
| gource \ | |
| -1280x720 \ | |
| -c 4 \ | |
| --multi-sampling \ | |
| --stop-at-end \ | |
| --key \ | |
| --highlight-users \ | |
| --hide mouse,filenames \ |
These steps allows a secondary local user called <user> to use the local X server running on the machine that was launched by <main_user>.
This will allow running graphical applications on a linux system (using X as the display server) from another user than the normal user.
<user>: user to be granted access<main_user>: user that owns the X Server| + create | |
| Terraform will perform the following actions: | |
| # azurerm_linux_web_app.REDACTED will be created | |
| + resource "azurerm_linux_web_app" "REDACTED" { | |
| + client_affinity_enabled = false | |
| + client_certificate_enabled = false | |
| + client_certificate_mode = "Required" | |
| + custom_domain_verification_id = (sensitive value) |