This file contains 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/dist/index.cjs b/dist/index.cjs | |
index c51f4a286e33b44e7925b841babe7810307d8fe0..5e54de8149fb266568307fdf4a472721eb057bc0 100644 | |
--- a/dist/index.cjs | |
+++ b/dist/index.cjs | |
@@ -228,11 +228,11 @@ const transformSelectorPostcssPlugin = function(options) { | |
root.walkRules((rule) => { | |
parser__default((selectors) => { | |
selectors.walkClasses((s) => { | |
- if (s.value && replaceMap && replaceMap.has(s.value)) { | |
+ if (s.value && replaceMap && replaceMap[s.value]) { |
This file contains 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 | |
IMAGE="gcr.io/google-containers/ubuntu-slim:0.14" | |
COMMAND="/bin/bash" | |
SUFFIX=$(date +%s | shasum | base64 | fold -w 10 | head -1 | tr '[:upper:]' '[:lower:]') | |
usage_exit() { | |
echo "Usage: $0 [-c command] [-i image] PVC ..." 1>&2 | |
exit 1 | |
} |
This file contains 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 | |
IMAGE="gcr.io/google-containers/ubuntu-slim:0.14" | |
COMMAND="/bin/bash" | |
SUFFIX=$(date +%s | shasum | base64 | fold -w 10 | head -1 | tr '[:upper:]' '[:lower:]') | |
usage_exit() { | |
echo "Usage: $0 [-c command] [-i image] PVC ..." 1>&2 | |
exit 1 | |
} |
This file contains 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
const assert = require("assert").strict; | |
const pQS = require("picoquery"); | |
const QUERY_STRING = "foo[0][bar]=baz&foo[0][fizz]=buzz&foo[]=done!"; | |
for (const nestingSyntax of ["js", "index", "dot"]) { | |
for (const arrayRepeatSyntax of ["bracket", "repeat"]) { | |
console.log( | |
`\nnestingSyntax: ${nestingSyntax}, arrayRepeatSyntax: ${arrayRepeatSyntax}` | |
); |
This file contains 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
220a221,222 | |
> --reinstall Re-run the install script instead of running the update script when a instance is already running. | |
> --force-acme Run UniFi Easy Encrypt under all circumstances. | |
290a293,296 | |
> --reinstall) | |
> script_option_reinstall="true";; | |
> --force-acme) | |
> script_option_force_acme="true";; | |
363a370,372 | |
> --custom-acme-server) |
This file contains 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 CUDA_HOME=$(dirname ${BASH_SOURCE[0]}) | |
export PATH=${CUDA_HOME}/bin:${PATH} | |
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} | |
export CPATH=/usr/local/cuda-12.2/targets/x86_64-linux/include:$CPATH | |
export CUDA_TOOLKIT_ROOT=${CUDA_HOME} | |
export CUDAToolkit_ROOT=${CUDA_HOME} |
This file contains 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 ( | |
"github.com/gofiber/fiber/v2" | |
) | |
type SomethingDto struct { | |
ID int `json:"id" xml:"id" protobuf:"int,1,opt,name=id"` | |
} |
This file contains 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 | |
# | |
# MOVED TO https://github.com/TheDevMinerTV/sh.devminer.xyz/blob/master/scripts/copy_ssh_keys.sh | |
# | |
# You can use this script to copy all public keys from your local machine to multiple remote machines. | |
# | |
# Usage: ./copy_ssh_keys.sh <non-root username> <own public key> <folder with pub keys> <host1> [host2]... | |
# |
This file contains 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
{ | |
"Command": "skin", | |
"Skins": [ | |
{ | |
"Item Shortname": "fun.guitar", | |
"Skins": [ | |
0, | |
809801196, | |
826914904, | |
809938266, |