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
| 'use strict'; | |
| function typeOf( item ){ | |
| if(item === null) { | |
| return 'null'; | |
| } else if(item === undefined) { | |
| return 'undefined'; | |
| } | |
| if( typeof item.$family == 'function' ){ |
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
| // inputs | |
| { | |
| "a" : { | |
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
| WITH results AS ( | |
| select | |
| JSONB_ARRAY_ELEMENTS( | |
| zdb.extract_the_agg_data( | |
| index => 'spotlite_zdx' | |
| , field => 'organization_id' | |
| , response => arbitrary_agg::JSONB | |
| ) -> 'buckets' | |
| ) AS bucket | |
| FROM zdb.arbitrary_agg( |
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
| 'use strict' | |
| const fastify = require('fastify') | |
| const fluent = require('fluent-json-schema') | |
| const WhizBang = fluent | |
| .object() | |
| .additionalProperties(false) | |
| .id('whizbang') | |
| .title('WhizBang') | |
| .prop( |
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
| 'use strict' | |
| const kClause = Symbol('kQueryClause') | |
| const kPosition = Symbol('kQueryPosition') | |
| const kWhere = Symbol('kQueryWhere') | |
| const AND_BREAK = '\nAND ' | |
| const ISNULL_EXP = /true|1/ | |
| const SELECT_EXP = /^SELECT/i | |
| const SELECT_REPLACEMENT = 'SELECT 1::SMALLINT as __id, ' |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "properties": { | |
| "cache_duration": "none", |
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
| { | |
| "configurations": { | |
| "debug": { | |
| "adapter": "js-debug", | |
| "default": true, | |
| "filetypes": ["javascript", "typescript"], | |
| "configuration": { | |
| "request": "launch", | |
| "program": "${file}", | |
| "cwd": "${workspaceRoot}", |
OlderNewer