Skip to content

Instantly share code, notes, and snippets.

View akashnimare's full-sized avatar
I may be slow to respond.

Akash akashnimare

I may be slow to respond.
View GitHub Profile
wosephjeber /
Last active June 4, 2024 07:48
Installing ngrok on Mac

Installing ngrok on OSX

For Homebrew v2.6.x and below:

brew cask install ngrok

For Homebrew v2.7.x and above:

medmunds / winstate.js
Created May 9, 2015 00:41
Save and restore window state for Electron (Atom-Shell)
// Preserve and restore window state in localStorage.
// Adapted for Electron from nw.js:
// As written, it only handles a single-window app.
// This code is meant to run in the renderer process.
// To use, load from index.html (or whatever file you loadUrl into your BrowserWindow):
// <script src="winstate.js"></script>