Skip to content

Instantly share code, notes, and snippets.

View JakubKoralewski's full-sized avatar
🦀
Chillin' out maxin' relaxin' all cool

Jakub Koralewski JakubKoralewski

🦀
Chillin' out maxin' relaxin' all cool
View GitHub Profile
2022-11-12 21:02:28.382 [error] Error: react app did not load
at Timeout._onTimeout (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:26:161570)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
2022-11-12 21:02:29.270 [error] Error: Please try again
at E (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:421:5188)
at C (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:421:5638)
at f (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:26:291705)
at c (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:26:291773)
at P (/home/ubuntu/.vscode-server/extensions/ponicode.ponicode-0.71.2/dist/main.js:421:6313)
@JakubKoralewski
JakubKoralewski / h.ts
Last active September 5, 2022 17:48 — forked from borestad/h.ts
JSX/TSX without React with style={var} working
/* https://gist.github.com/borestad/eac42120613bc67a3714f115e8b485a7
* Custom jsx parser
* See: tsconfig.json
*
* {
* "jsx": "react",
* "jsxFactory": "h",
* "lib": [
* "es2017",
* "dom",
dates = new Array(...document.querySelector('.timeline__header-list').children).map(x => x.innerText);
titles = new Array(...document.querySelector('.fds-carousel-slides').children).map(x => x.children[0].innerText.split('\n\n')[0].toLowerCase());
dates.map((d, i) => `${d} - ${titles[i]}`).join('\n')
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force
#Persistent
AutoTrim, Off
; menu
Menu, Tray, Add
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force
#Persistent
AutoTrim, Off
; menu
Menu, Tray, Add
#SingleInstance Force
#Persistent
SendMode, Input
AutoTrim, Off
Browser := false
; menu
Menu, Tray, Add
Menu, Tray, Add, Ustaw okno jako przeglądarkę, ChooseBrowserWindow
let promptly: Record<any, any>
if (require.main === module) {
promptly = require('promptly')
require('dotenv').config({ debug: true })
const fileIndex = process.argv.findIndex(
(val) => val.endsWith('initiateDb.ts')
)
const optionalArguments = process.argv.slice(fileIndex + 1)
console.log({ optionalArguments })
let dbUrl: string
@JakubKoralewski
JakubKoralewski / rightjcubed.gif
Last active January 9, 2021 14:54
right j cubed
rightjcubed.gif
@JakubKoralewski
JakubKoralewski / leftjcubed.gif
Last active January 9, 2021 14:47
left j cubed
leftjcubed.gif
@JakubKoralewski
JakubKoralewski / vars_obspython.txt
Created April 4, 2019 17:25
OBS Python API all variables, properties, methods. Extracted using vars(obspython).
13:02:35.522392: refresh
Import failed, because: No module named 'cursor_recorder'
{ 'CALL_PARAM_IN': 1,
'CALL_PARAM_OUT': 2,
'CALL_PARAM_TYPE_BOOL': 3,
'CALL_PARAM_TYPE_FLOAT': 2,
'CALL_PARAM_TYPE_INT': 1,
'CALL_PARAM_TYPE_PTR': 4,
'CALL_PARAM_TYPE_STRING': 5,
'CALL_PARAM_TYPE_VOID': 0,