Skip to content

Instantly share code, notes, and snippets.

View nandordudas's full-sized avatar

Nándor Dudás nandordudas

View GitHub Profile
@nandordudas
nandordudas / example.java
Created March 11, 2025 15:31
Zoho script
string button.openBrightPlans(String leadId) {
baseUrl = 'https://app.bright-plans.com/#/ext/';
try {
patientDetails = zoho.crm.getRecordById('Leads', leadId);
if (patientDetails.containsKey('status') && patientDetails.get('status') == 'failure') {
return 'Error: Unable to find lead record with ID: ' + leadId;
}
{
"Nuxt Page Template": {
"prefix": "nuxt-page",
"scope": "vue",
"body": [
"<script lang=\"ts\">",
"//",
"</script>",
"",
"<script setup lang=\"ts\">",
FROM mcr.microsoft.com/devcontainers/php:1-8.2-bookworm
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y mariadb-client \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mysqli pdo pdo_mysql
<?php
declare(strict_types=1);
namespace Database;
use PDO;
use RuntimeException;
use Throwable;
{
"breadcrumbs.enabled": false,
/* */
"debug.console.fontSize": 12,
"debug.console.lineHeight": 1.4,
"debug.console.wordWrap": true,
"debug.javascript.autoAttachFilter": "smart", /* [TODO] 2025-01-18 check it */
"debug.javascript.terminalOptions": {
"skipFiles": ["<node_internals>/**", "**/node_modules/**"]
},
;((options) => {
const {
ONE_SECOND,
COLOR_LENGTH,
DURATION_MULTIPLIER,
RED_LIKE,
GREEN_LIKE,
BLUE_LIKE,
} = options
@nandordudas
nandordudas / 00-setup.md
Last active March 1, 2025 17:36
Setup WSL 2 on Windows 11

Windows Development Environment Setup Guide

Warning

This is a work in progress.

TODO: fzf, nvm, delta, exiftool

This guide provides step-by-step instructions for setting up a complete development environment on Windows, including WSL, package managers, and essential tools.

Table of Contents