Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am baclap on github.
  • I am baclap (https://keybase.io/baclap) on keybase.
  • I have a public key ASBmgqv98pPGk_76WwcyrfFHFoXhFh4sPVH3Ufw_jBMx-Qo

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- WRITE YOUR HTML HERE -->
</body>
@baclap
baclap / electron-starter-guide.md
Last active December 7, 2016 10:50
The most basic steps to start an electron project

Electron Project Setup Steps

  1. Install Electron globally. npm install -g electron
  2. Create project directory and files.
  3. Run the app. electron ProjectDir/

Project Directory Contents:

ProjectDir/  
|-main.js  
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
// import classes from './EditorView.scss'
import DrawingEditor from 'components/editors/DrawingEditor/DrawingEditor'
import { submitContent } from '../../redux/modules/nodes'
const someFunc = () => {
alert('lksdlksflkjlsdkfjlksjdflksdjflksdjflkjsdlfjflksjdf')
}