This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash -c "ttyd login" | |
certbot certonly -d <your domain> | |
$ ttyd --ssl --ssl-cert /etc/letsencrypt/live/<your domain>/fullchain.pem --ssl-key /etc/letsencrypt/live/<your domain>/privkey.pem <command> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d --net bookstack_nw \ | |
-e MYSQL_ROOT_PASSWORD=secret \ | |
-e MYSQL_DATABASE=bookstack \ | |
-e MYSQL_USER=bookstack \ | |
-e MYSQL_PASSWORD=secret \ | |
--name="bookstack_db" \ | |
mysql:5.7.21 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIR=flux-infra | |
git --git-dir=${DIR}/.git --work-tree=${DIR} status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Str0ngPa$$w0rd' -p 1433:1433 -d mcr.microsoft.com/mssql/server | |
sqlcmd -S localhost -U sa -P 'Str0ngPa$$w0rd' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@sosbllxg08 # lspci | grep -i broad | |
03:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) | |
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708S | |
Gigabit Ethernet (rev 12) | |
05:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3) | |
06:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708S | |
Gigabit Ethernet (rev 12) | |
root@sosbllxg08 # lspci -vn -s 04:00.0 | |
04:00.0 0200: 14e4:16ac (rev 12) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -rn --arg x 'café' '$x|@uri' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '{"foo": 0}' > foo.json | |
jq @json < foo.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skopeo copy docker://nginx:1.16 docker://harbor.example.com/jay-test/nginx:1.16 | |
skopeo copy docker://harbor.example.com/jay-test/nginx:1.25.3-alpine docker://registry.gitlab.com/dasgoll/myrepo/nginx:1.25 | |
skopeo copy docker://651234438355.dkr.ecr.eu-central-1.amazonaws.com/keycloak:21.1210-1223 docker://61234392635.dkr.ecr.me-south-1.amazonaws.com/keycloak:21.1210-1223 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GITLAB_HOME=~/gitlab | |
mkdir $GITLAB_HOME | |
docker run --detach \ | |
--hostname gitlab.local.gd \ | |
--publish 8080:80 \ | |
--name gitlab \ | |
--restart always \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xfreerdp /cert:ignore /u:Administrator /v:192.168.1.82 /p:'let_me_in_dude' +home-drive |
NewerOlder