Skip to content

Instantly share code, notes, and snippets.

View MarcusSky's full-sized avatar
🤙
eu tô tiltado?

Marcus Vieira MarcusSky

🤙
eu tô tiltado?
  • São Paulo - Brasil
View GitHub Profile
@MarcusSky
MarcusSky / html_base
Created January 31, 2013 16:29
HTML_base
<!doctype html>
<html>
<header>
<title></title>
<link rel="stylesheet" href="style.css">
</header>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</body>
</html>
@MarcusSky
MarcusSky / vimrc
Last active August 29, 2015 14:16 — forked from r00k/vimrc
" A minimal vimrc for new vim users to start with.
"
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/
" Original Author: Bram Moolenaar <Bram@vim.org>
" Made more minimal by: Ben Orenstein
" Last change: 2012 Jan 20
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
@MarcusSky
MarcusSky / vimrc
Created May 29, 2018 23:06
Basic vimrc
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" Turn on syntax highlighting
syntax on
" For plugins to load correctly
@MarcusSky
MarcusSky / index.js
Last active December 22, 2019 13:34
'use strict'
import { app, BrowserWindow, Tray, nativeImage } from 'electron'
import * as path from 'path'
import { format as formatUrl } from 'url'
const isDevelopment = process.env.NODE_ENV !== 'production'
// global reference to mainWindow (necessary to prevent window from being garbage collected)
let mainWindow
{
"name": "electron-webpack-quick-start",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"dist": "yarn compile && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null"
},