Skip to content

Instantly share code, notes, and snippets.

@loc
loc / index.html
Created November 7, 2018 22:31
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@loc
loc / index.html
Created November 7, 2018 22:31
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@loc
loc / index.html
Created October 29, 2018 23:50
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
We are using Node.js <script>document.write(process.versions.node)</script>,
@loc
loc / index.html
Created October 27, 2018 00:30
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<div style="background: gray; -webkit-app-region: drag; width: 300px; height: 40px; margin-bottom: 50px;">Drag here</div>
<p>Electron <script>document.write(process.versions.electron)</script> <br/>
@loc
loc / index.html
Created October 27, 2018 00:27
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<div style="background: gray; -webkit-app-region: drag; width: 300px; height: 40px; margin-bottom: 50px;">Drag here</div>
<p>Electron <script>document.write(process.versions.electron)</script> <br/>
@loc
loc / index.html
Created October 27, 2018 00:26
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<div style="background: gray; -webkit-app-region: drag; width: 300px; height: 40px; margin-bottom: 50px;">Drag here</div>
<p>Electron <script>document.write(process.versions.electron)</script> <br/>
@loc
loc / index.html
Created October 27, 2018 00:26
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<div style="background: gray; -webkit-app-region: drag; width: 300px; height: 40px; margin-bottom: 50px;">Drag here</div>
<p>Electron <script>document.write(process.versions.electron)</script> <br/>
@loc
loc / 0_reuse_code.js
Created March 27, 2014 16:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console