Skip to content

Instantly share code, notes, and snippets.

View jbleuzen's full-sized avatar

Johan Bleuzen jbleuzen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jbleuzen on github.
  • I am jbleuzen (https://keybase.io/jbleuzen) on keybase.
  • I have a public key whose fingerprint is 1146 770D 135A 8104 739D 00A2 6D75 C5A1 8DE8 4C54

To claim this, I am signing this object:

const {app} = require('electron')
let myWindow = null
const shouldQuit = app.makeSingleInstance((commandLine, workingDirectory) => {
// Someone tried to run a second instance, we should focus our window.
//
//
// ------> We should parse commandLine to retrieve open URI
//
//
### Keybase proof
I hereby claim:
* I am jbleuzen on github.
* I am jbleuzen (https://keybase.io/jbleuzen) on keybase.
* I have a public key whose fingerprint is 05F5 3607 79E1 FB73 FF62 76C9 DC18 0CF0 AF3C DD45
To claim this, I am signing this object:
@jbleuzen
jbleuzen / pre-commit.sh
Created February 25, 2013 09:28
Quick and dirty pre-commit for git
### pre-commit.sh
# Store git index status
git stash -q --keep-index
PWD=`pwd`
$PWD/bin/run_tests.sh
# Store tests result
RESULT=$?