Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
CREATE EXTERNAL TABLE twingate_logs ( | |
`event_type` string, | |
`event` struct< | |
`time`:string, | |
`action`:string, | |
`actor`:struct<`type`:string,`id`:string>, | |
`targets`:array< | |
struct< | |
`version`:string, | |
`type`:string, |
helm -n user-myappspace list --all | |
helm -n user-myappspace history myapp | |
> check for which revision is still truggling, example: 9 - preparing upgrade | |
helm -n user-myappspace rollback myapp 9 |
<html><body><h1>It works!</h1> | |
<p>This is the default web page for this server.</p> | |
<p>The web server software is running but no content has been added, yet.</p> | |
</body></html> |
CREATE USER someuser WITH PASSWORD 'somepass'; | |
GRANT ALL PRIVILEGES ON DATABASE somedb to someuser; | |
-- on database | |
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO someuser; | |
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO someuser; |
# -------------------------------------------------------------------------------------------------- | |
export LANGUAGE=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
export EDITOR=nano | |
# node comes first! | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm |
docker run --rm -v "$HOME/.azure:/root/.azure:z" mcr.microsoft.com/azure-cli az account show |
// using node v16.19.1 | |
const crypto = require('node:crypto'); | |
const algos = crypto.getHashes(); | |
const plain = 'abcd'; | |
const results = algos | |
.map(algo => ({ | |
algo, |
syft packages dir:/var/lib/dpkg --output cyclonedx-json="$HOSTNAME.cdx.json" | |
syft packages dir:/var/lib/dpkg --output syft-json="$HOSTNAME.syft.json" | |
grype db status | |
grype db update | |
syft acme-web-1 --output syft-json=acme-web-1.syft.json |
#!/bin/sh | |
chmod 700 ~/.ssh | |
chmod 600 ~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa.pub |