Ctrl+h select file tree
Ctrl+l select file editor
Shift+h left editor tab
Shift+l right editor tab
Alt+j move current line up
Alt+k move current line down
double space filename search(telescope) - `Ctrl+d` and `Ctrl+u` to scroll preview
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
| #!/usr/bin/env bash | |
| # anongist encrypted runner (linux). AES-256-CBC/PBKDF2. | |
| # Usage: curl -fsSL <gist-raw-url> | bash | |
| set -e | |
| PAYLOAD='U2FsdGVkX1/6kUXM9xuCRwpTI/PV5NGrwcWJGi3ypBzVJaRWl5xhCKzhbPiMkqdzffYT1xkahkbL04WlpWRSpWfW6Sg4gHMBO5Jqb7kge/yMtVVzSzO2z/cZdxzLPNtqn+476c8JV6L6BGWHuowvprvCj6MLgPDYRU3gfkfmw1gX4f9Uv1YDzUDD20goXuiXN0av4RE3xmciHCrV2wwIinnRTdBjlvs5hA3ljlksJ6dUtRIFhLsXyhR4+K/Su3sL1tVXxffKVTIKKxxmOA0wH7UsHSKlOm1yL6kc4soLOTdfFnL1ixg20VwAocBisj5hA64D9uHXoma3cv3OqBFkoHJD9QePturkN+6SmLXGXFk3qUbL06Foi4g9J0UVmarfAEZLHaKFxZ7ccruUa/6E2Ihe2HzY8hfIsw2+9Zir+M8waqeX2HZcOz3yHELCOjAHzcIDWL7ChRCSmZMBw7McJuGvE/K7Qdu1grXPsvqqugZKol8pmxC1zUxAm8w3MvUp4p7nlM2FrH4IYo81fSVHpxozu+L9gDRfaIx+FJxfiz3P8mhnQ7eIk1Jnb3jSdA1IPyX2RMk+kvwZ873tTjXIp16hl+7hIgRjbUmWxd+8kdbWem+fvqW9REAsnVfKNGzCVU9M2TwXcs3Z9A2PrlmcGKYqTpscfpLqF6IGhR5XP72+3V6ecWeteg2vQZYYdJinBXNEMd2OPau/JTHY+pKoow5BgUW9GniRM7y8zahEpY3J6GSdgscod1EvUtYpgdeYfUsKqnHB1ogFlY8uTLoY1xf7V8o9XW85a53uhBv5OKV54Fg0uJyw47Tc/w5q3WAy0SUUTlEGMMoQPuGuGVguGJ+CSejhp/zKygsCDLaQ7ERI7e05G68whTn3 |
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
| #!/usr/bin/env bash | |
| # anongist encrypted runner (linux). AES-256-CBC/PBKDF2. | |
| # Usage: curl -fsSL <gist-raw-url> | bash | |
| set -e | |
| PAYLOAD='U2FsdGVkX19KedtQ35AIXzmbpzmwHZXMU7QrcSL2s/Yr0Ryeav7fHkKDQcX9+Rn6rIaT7xm6YRGZHopFHdRJ9w==' | |
| # Read the password from the terminal even under curl | bash. | |
| ANON_PASS="" | |
| if { exec 9< /dev/tty; } 2>/dev/null; then |
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
| # anongist encrypted runner (windows). AES-256-CBC/PBKDF2. | |
| # Usage: irm <gist-raw-url> | iex | |
| $Payload = 'U2FsdGVkX18GGE2pqFH6xbLxG/cYTDdmV9ZZouyqeMX3uxKon05FIa3bKLNPXiCBa0HEoEQnyEOfjIGVyHuy7v/8QFB8DdjuTfdj7waWnIkIYE4rOXpTtp6X10eD7/8bdET63Wwpq8CRpw8cmh461wCYqp+9KYiSP7CqsaeulYNGa4XGHLKmliDA+kt9Nc6NNvsOlfTf0pubSqlpfJT9U8f5UNvNcfmdTsJ4AseiNWv0fMu9n5xfAs5BCyoN1ZL9flh3GI7gtG+otaFUKvGuKh9AwcYMf4shJei9rkTJSLkO+YOFbBfCiCtszuhwCPCiaGq+yelQ6hChRo9t1r6+aQ==' | |
| $sec = Read-Host -AsSecureString "Password" | |
| $bstr = [Runtime.InteropServices.Marshal]::SecureStringToBSTR($sec) | |
| $Pass = [Runtime.InteropServices.Marshal]::PtrToStringAuto($bstr) | |
| [Runtime.InteropServices.Marshal]::ZeroFreeBSTR($bstr) | |
| try { |
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
| #!/usr/bin/env zsh | |
| # anongist encrypted runner (macos). AES-256-CBC/PBKDF2. | |
| # Usage: curl -fsSL <gist-raw-url> | zsh | |
| set -e | |
| PAYLOAD='U2FsdGVkX193kbrS31N0Md+EKxBv0bWUy5rbw6L6QEoM8HLqHQkey8s2VzQQRrQL+Cgfd5draRedR3hE2Iv2M6iKRHYSWXpyCsl65R67JVH1tf2pAvNICK5M51okWWkwRL1BOzR+Rvl+uz/MVhwEYCfIf0aXnnnoJUvUoSOYFk0TJ8YpTN8MxuBjFVlDxsHeU5BDlw/1Bqn2S+BE0PmgKUAePuhRTKKjvrGxE5SWO7eRE+L/kkiclvSYbsXna+/xxByIoj3Z8MVLc51p9m7IQw==' | |
| # Read the password from the terminal even under curl | zsh. | |
| ANON_PASS="" | |
| if { exec 9< /dev/tty; } 2>/dev/null; then |
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
| #!/usr/bin/env bash | |
| # anongist encrypted runner (linux). AES-256-CBC/PBKDF2. | |
| # Usage: curl -fsSL <gist-raw-url> | bash | |
| set -e | |
| PAYLOAD='U2FsdGVkX1+V43qsMpZYhDYHsL0AAtmSEXyfiYCp8khuqm0U1+97r2+ErlIKOkoArpRU+EgD6frPdsNj45FzS4EHDJ9AdDAAo4lrggakXtEHtvRxC6+UsBjHlvcw++oUaF0bS1tbR0u9afcdEL+W+LtCBf/7LkPKOUkRkEWfmyAdwAqOBg5+z2pR8s1c/1erGFxMyebV6V2NlBRc910jGBQmxB1NP4/Yk7MfUeymNIX1bmNxt8eATYgj7eXsN9utR55y9O4ptme9EbPC+2V3/g==' | |
| # Read the password from the terminal even under curl | bash. | |
| ANON_PASS="" | |
| if { exec 9< /dev/tty; } 2>/dev/null; then |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # payload criptografado (base64). Público, mas inútil sem a senha. | |
| BLOB='U2FsdGVkX19mynAe4q5IDtryMHMXQ04WnQvQPEJq4Is=' | |
| # --- acha um openssl que suporte -pbkdf2 (LibreSSL antigo do macOS não suporta) --- | |
| pick_openssl() { | |
| for c in openssl \ | |
| /opt/homebrew/opt/openssl@3/bin/openssl \ |
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
| [ | |
| { | |
| "url": "http://history-artifacts.com", | |
| "description": "Artifacts and history discoveries", | |
| "tags": ["history", "artifacts", "discoveries"], | |
| "category": "LABY" | |
| }, | |
| { | |
| "url": "https://github.com/kubernetes/kubernetes", | |
| "description": "Production-Grade Container Scheduling and Management", |
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 | |
| sudo -v | |
| ################################### | |
| # Updating repositories | |
| # Installin Timeshift | |
| # Creating a system snapshot | |
| ################################# |
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
| apiVersion: 1 | |
| datasources: | |
| - name: Postgres | |
| type: postgres | |
| url: localhost:5432 | |
| database: grafana | |
| user: grafana | |
| secureJsonData: | |
| password: "Password!" |
NewerOlder