curl -sL https://get.rke2.io | sh
systemctl daemon-reload
systemctl start rke2-server
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
// !SOURCE: https://www.reddit.com/r/Crypto_com/comments/jsa2kd/cryptocom_exchange_csv_exporter_bookmarklet/ | |
// Thanks 🙌 | |
// Execute in devtools when beeing on crypto.com/exchange | |
(function () { | |
var date = new Date(); | |
var dateStr = date.getFullYear() + "-" + ("00" + (date.getMonth() + 1)) | |
.slice(-2) + "-" + ("00" + date.getDate()).slice(-2) + " " + ("00" + date | |
.getHours()).slice(-2) + ":" + ("00" + date.getMinutes()).slice(-2) + | |
":" + ("00" + date.getSeconds()).slice(-2); |
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
package main | |
import ( | |
"log" | |
// replace right path | |
"[...]/utils" | |
"go.uber.org/zap" | |
"go.uber.org/zap/zapcore" | |
) |
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
#cloud-config | |
package_update: true | |
package_upgrade: true | |
package_reboot_if_required: true | |
disable_root: 1 | |
ssh_pwauth: 0 | |
manage-resolv-conf: true |
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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
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: v1 | |
kind: Namespace | |
metadata: | |
labels: | |
app.kubernetes.io/managed-by: kustomize | |
app.kubernetes.io/stage: localism | |
istio-injection: enabled | |
name: project | |
--- | |
apiVersion: v1 |
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
diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c | |
index 6878e29..ced03c6 100644 | |
--- a/i3bar/src/xcb.c | |
+++ b/i3bar/src/xcb.c | |
@@ -129,11 +129,11 @@ static const int ws_hoff_px = 4; | |
static const int ws_voff_px = 3; | |
/* Offset between two workspace buttons */ | |
-static const int ws_spacing_px = 1; | |
+static const int ws_spacing_px = 0; |
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/sh | |
if file "$(readlink /proc/$$/fd/0)" | grep -q "character special"; then | |
echo "Standard input:" | |
elif readlink /proc/$$/fd/0 | grep -q "^pipe:"; then | |
echo "Pipe input:" | |
else | |
echo "File input:" | |
fi |
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/sh | |
ids=( | |
"1111575" # space | |
"176" # unsplash | |
"562095" # Wilderness Artifacts | |
"164" # Brevitē | |
"151749" # Follow Me | |
"397770" # Coffee House | |
) |
NewerOlder