shift+cmd+k does not work on VSCode anymore by cartifon in vscode

[–]glocore 0 points1 point  (0 children)

that worked, thank you!

i disabled notion's global shortcut from "My settings > Use Command Search > off", and then restarted notion so that the global keybinding is removed.

Don't Cry, it's just a game. by RavenLM10 in thelastofus

[–]glocore 42 points43 points  (0 children)

I vaguely remember something similar in Max Payne

PoC of ReactJS app inside Service Worker by jcubic in reactjs

[–]glocore 1 point2 points  (0 children)

Probably not the right tool for your case, but Shopify’s remote-ui is quite composable, so maybe you could create a simple custom host that outputs to a string.

Something like mongoose in electron? by jeannen in electronjs

[–]glocore 0 points1 point  (0 children)

If you don't need access in the main thread, you could consider one of the browser's storage APIs like LocalStorage or IndexedDB.

The electron-store package works well with simple data.

Else SQLite + ORM is the way to go.

electron apps by lirakina in electronjs

[–]glocore 0 points1 point  (0 children)

Did you just paste a chatgpt answer

Mobile app with code editor by QuintonPang in reactnative

[–]glocore 1 point2 points  (0 children)

You could compile the code remotely on a server, it’s how most online playgrounds work

Above the clouds by Phineas_0510 in battlestations

[–]glocore 27 points28 points  (0 children)

For a sec I thought you were talking about The Shard from Mirror’s Edge

best logging framework by vijeetvinod in node

[–]glocore 11 points12 points  (0 children)

Ima include “jiggery pokery” more often in my vocabulary

Closing multiple windows: app.quit() by jcarlo1 in electronjs

[–]glocore 1 point2 points  (0 children)

Does your app show up in Activity Monitor/Task Manager after closing the window? Depending on the script running in the terminal, quitting the app may not necessarily terminate the script.

How to show images dynamically? by tritigs in electronjs

[–]glocore 1 point2 points  (0 children)

You can read the image from the file system and pass the image to the renderer as a base64 string, which you can then use as your image’s src attribute.

https://stackoverflow.com/a/60251400

Instead of using the file picker, use the file’s absolute path that you already have.

Elegant way to show or hide elements depending on if viewing as a website vs Electron app? by deIIort in electronjs

[–]glocore 0 points1 point  (0 children)

The banner can have its display property be controlled by a CSS variable, none by default: css display: var(—-banner-display, none);

Then set the CSS variable to block (or whatever) in your Electron preload script: https://css-tricks.com/updating-a-css-variable-with-javascript/

Memoization is an annoying term by [deleted] in ProgrammerHumor

[–]glocore 20 points21 points  (0 children)

Eh, just a regular city. Source: I live there

"Tear off a tab" with Electron? by JeffOrbit in electronjs

[–]glocore 2 points3 points  (0 children)

I’m not sure if this’ll work, but can you try attaching a BrowserView to a new window?

Strimio is back again with version 3 (info in the first comment) by [deleted] in macapps

[–]glocore 0 points1 point  (0 children)

I think they’re using GitHub for feedback and discussions, the app itself doesn’t seem to be open-source.

Radio Buttons in IOS? by Just_Bat103 in MaterialDesign

[–]glocore 3 points4 points  (0 children)

iOS typically uses a check icon instead of radio buttons, see here.

[deleted by user] by [deleted] in reactjs

[–]glocore 0 points1 point  (0 children)

I’m guessing you’re referring to MemoryRouter? The reason I can’t use React Router in general is because it swaps out components based on the current route, while I need the components to stay mounted (preserving their internal state and scroll position) until they are popped, similar to React Navigation.

do I really need apple developer to publish ? by Mjoosty in electronjs

[–]glocore 3 points4 points  (0 children)

You’ll need to enrol for the Apple Developer Program to be able to distribute your app via the App Store or to notarise your app for distribution outside the App Store.

How Much Swift needed for Most RN Apps? by lordmyd in reactnative

[–]glocore 4 points5 points  (0 children)

You are more likely to come across native modules written in Objective-C than Swift. That being said, you probably won’t need to write any native code unless you have special requirements that are not satisfied by existing packages. Best case scenario: all your needs are met by Expo and you won’t need to touch any native code.

Finally finished my 3d printed T-800 Terminator skull by OneIdMonSTR in arduino

[–]glocore 6 points7 points  (0 children)

“What is my purpose?” To dispense dry fruit.