Skip to content

Instantly share code, notes, and snippets.

View abcdan's full-sized avatar
✏️
Nothing is as permanent as a temporary solution.

Daniël abcdan

✏️
Nothing is as permanent as a temporary solution.
View GitHub Profile
@abcdan
abcdan / ccc.txt
Created June 30, 2025 15:29
claude code costs shortcut
echo 'alias ccc="npx claude-code-costs"' >> ~/.zshrc
@abcdan
abcdan / script.js
Created June 27, 2025 11:10
Plug&Pay Checkout Support Date In Custom Input
<script>
(function() {
// Function to inject date picker
function injectDatePicker() {
// Find the date input field
const dateInput = document.querySelector('input[name="custom_fields.4"]');
if (!dateInput) {
return false;
}
@abcdan
abcdan / semantic-commit-messages.md
Created January 5, 2024 09:29 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@abcdan
abcdan / bulk.sh
Last active July 28, 2020 16:56
A simple script to manage your ClusterHAT cluster
#!/bin/bash
# Change the variables
password="clusterctrl"
function main {
echo What do you want to do?
echo "[1] Run a bulk command"
echo "[2] Update & Upgrade all systems"
apt-get update -y
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@abcdan
abcdan / docker-setup-ubuntu.sh
Last active July 6, 2020 12:38
Install Docker and Docker Compose on Ubuntu without having to look back
sudo apt-get update -y
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \

Keybase proof

I hereby claim:

  • I am abcdan on github.
  • I am lngzl (https://keybase.io/lngzl) on keybase.
  • I have a public key whose fingerprint is 66DA DA5D C2AE 2208 9F8B 8994 BCC0 7DB0 1899 D389

To claim this, I am signing this object:

const main = require("../bot.js")
const config = require("../settings/config.json")
const catList = require("../settings/catList.json")
// Split function
function getSecondPart(str) {
return str.split('-')[1];
}
exports.run = async (message, args) => {
const main = require("../bot.js")
const config = require("../settings/config.json")
const catList = require("../settings/catList.json")
exports.run = async (message,args) => {
message.channel.send(
{embed: {
color: 0x9B59B6,
"image": {
@abcdan
abcdan / GitCommitEmoji.md
Created August 19, 2018 11:32 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji