Accomplishing Actioning Actualizing Architecting Baking Beaming Beboppin' Befuddling Billowing Blanching
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 | |
| BASE_DIR="$HOME/.claude" | |
| TARGET="${BASE_DIR}/settings.json" | |
| GLM_SRC="${BASE_DIR}/settings.glm.json" | |
| CLAUDE_SRC="${BASE_DIR}/settings.claude.json" | |
| MODE="${1:-claude}" |
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 python3 | |
| """ | |
| dumper.py — dump a Claude Code session chat log to a text file. | |
| Usage: | |
| python dumper.py # auto-detect session from cwd | |
| python dumper.py <session-id> # specific session | |
| python dumper.py <session-id> -o out.txt # custom output file | |
| """ |
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 python3 | |
| """ | |
| List GitHub container package versions (images) created in the last N days. | |
| """ | |
| import argparse | |
| import os | |
| from datetime import datetime, timedelta, timezone | |
| from typing import Any, Dict, List |
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 const encryptPayload = function(payload: string) { | |
| const bytes = CryptoJS.AES.encrypt(payload, process.env.API_SECRET); | |
| const value = bytes.toString(); | |
| return value; | |
| } | |
| export const decryptPayload = function(payload: string) { | |
| const bytes = CryptoJS.AES.decrypt(payload, process.env.API_SECRET); | |
| const originalValue = bytes.toString(CryptoJS.enc.Utf8); |
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
| https://a.simplemdm.com/enroll/?c=4dc7d74152784a334a0bd742a33e8a72b58b4377bdf1cc25aa957265903e879e | |
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
| upstreams: | |
| init: | |
| # Configure startup behavior. | |
| # accepted: blocking, failOnError, fast | |
| # default: blocking | |
| strategy: fast | |
| groups: | |
| # these external DNS resolvers will be used. Blocky picks 2 random resolvers from the list for each query | |
| # format for resolver: [net:]host:[port][/path]. net could be empty (default, shortcut for tcp+udp), tcp+udp, tcp, udp, tcp-tls or https (DoH). If port is empty, default port will be used (53 for udp and tcp, 853 for tcp-tls, 443 for https (Doh)) | |
| # this configuration is mandatory, please define at least one external DNS resolver |
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
| AWS: https://<bucket-name>.s3.<region>.amazonaws.com/<object-key> | |
| GCP: https://storage.googleapis.com/<bucket-name>/<object-name> | |
| Azure: https://<account-name>.blob.core.windows.net/<container-name>/<object-name> | |
| Alicloud: https://<bucket-name>.<region>.aliyuncs.com/<object-name> | |
| IBM Cloud: https://<bucket-name>.<region>.cloud-object-storage.appdomain.cloud/<object-name> | |
| Oracle Cloud: https://<bucket-name>.<region>.cloud-object-storage.appdomain.cloud/<object-name> |
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 | |
| # shellcheck disable=SC2016 | |
| set -ex | |
| VERSION="${GO_VERSION:-"1.20.6"}" | |
| GOROOT="/build/.go" | |
| GOPATH="/build/.go/gopath" | |
| OS="$(uname -s)" |
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
| function checkBankBin(cardNumber){ | |
| var bankBinsSupport = ['970432','970416','9704163','970424','970418','970448','970426','970441','970403','970436','686868','970437','970429','550796','453618','970415','970443','970422','970454','970424']; | |
| var result = new Object(); | |
| result['support'] = false; | |
| result['cardNumberFormat'] = '#### #### #### ####' | |
| result['cardNumberLength'] = result['cardNumberFormat'].replace(/ /g,'').length; | |
| if(cardNumber) { | |
| cardNumber = cardNumber.replace(/ /g,''); |
NewerOlder