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
| SELECT o.id_order, | |
| d.id_design, | |
| d.id_product, | |
| fl.label as label, | |
| layer_lang.label as selected, | |
| CONCAT('https://myshop/', dp.preview) as image | |
| FROM `pr_orders` o | |
| JOIN `pr_productdesigner_design` d ON o.id_cart = d.id_cart | |
| JOIN pr_customized_data cd ON cd.value = d.id_design | |
| JOIN pr_customization c ON c.id_customization = cd.id_customization AND c.in_cart |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "jsonMode": "expressionData", | |
| "jsonData": "={{ $json.data }}", | |
| "textSplittingMode": "custom", | |
| "options": {} | |
| }, | |
| "id": "38837bb1-6a07-4a22-b400-072aac4af3ac", |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "modelName": "models/gemini-2.5-pro", | |
| "options": {} | |
| }, | |
| "id": "a32c839f-144b-47a0-b6a4-bd619e645c81", | |
| "cid": "Ikx1Y2FzIFBleXJpbiI", | |
| "name": "Gemini 2.5 Flash", |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": {}, | |
| "id": "aa837d1f-f1ab-4d17-8709-ebf99161fc1c", | |
| "name": "On clicking 'execute'", | |
| "type": "n8n-nodes-base.manualTrigger", | |
| "position": [ | |
| -256, | |
| -520 |
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
| services: | |
| app: | |
| image: 'jc21/nginx-proxy-manager:latest' | |
| restart: unless-stopped | |
| environment: | |
| TZ: Australia/Brisbane | |
| ports: | |
| - '88:80' | |
| - '81:81' | |
| - '444:443' |
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
| import cookies from 'browser-cookies'; | |
| import { browser } from '$app/environment'; | |
| let { erase, get, set } = cookies; | |
| export class LocalStore<T> { | |
| value = $state<T>() as T; | |
| key = ''; | |
| constructor(key: string, default: T) { |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": {}, | |
| "type": "n8n-nodes-base.manualTrigger", | |
| "typeVersion": 1, | |
| "position": [ | |
| -368, | |
| 1024 | |
| ], |
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
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "jsCode": "const matches = / \\- (\\d+)/.exec($input.first().json.subject)\nreturn [{threadId: matches?.[1]}]" | |
| }, | |
| "type": "n8n-nodes-base.code", | |
| "typeVersion": 2, | |
| "position": [ | |
| -128, |
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
| <select [value]="selectedState()" (change)="onStateChange($event)"> | |
| <option *ngFor="let state of states()" [value]="state"> | |
| {{ state }} | |
| </option> | |
| </select> | |
| <select | |
| [value]="selectedCity()" | |
| (change)="onCityChange($event)" | |
| [disabled]="isPending()"> |
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
| import { Component, signal, computed, effect, OnInit } from '@angular/core'; | |
| import { CommonModule } from '@angular/common'; | |
| import { FormsModule } from '@angular/forms'; | |
| import { toSignal } from '@angular/core/rxjs-interop'; | |
| import { from, switchMap, startWith } from 'rxjs'; | |
| @Component({ | |
| selector: 'app-chained-selects', | |
| standalone: true, | |
| imports: [CommonModule, FormsModule], |
NewerOlder