Skip to content

Instantly share code, notes, and snippets.

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

Akash Nimare akashnimare

💭
I may be slow to respond.
View GitHub Profile
@wosephjeber
wosephjeber / ngrok-installation.md
Last active May 6, 2024 20:19
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
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:
// https://github.com/nwjs/nw.js/wiki/Preserve-window-state-between-sessions
//
// 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>