Skip to content

Instantly share code, notes, and snippets.

View erickzhao's full-sized avatar
🍄
@ Henesys Hunting Grounds II

Erick Zhao erickzhao

🍄
@ Henesys Hunting Grounds II
View GitHub Profile
@erickzhao
erickzhao / index.html
Created October 26, 2020 21:12
Dark Mode Example
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<p>Current theme source: <strong id="theme-source">System</strong></p>
@erickzhao
erickzhao / index.html
Created October 25, 2020 07:44
remote in preload
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
@erickzhao
erickzhao / index.html
Created October 25, 2020 04:22
before-input-event
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
@erickzhao
erickzhao / index.html
Last active October 20, 2020 16:45
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
</body>
@erickzhao
erickzhao / index.html
Created October 16, 2020 03:45
Electron Fiddle Gist
<!DOCTYPE html>
<html lang="en">
<head>
<title>Menu Example</title>
</head>
<body>
<h1>Menu Example</h1>
</body>
</html>
@erickzhao
erickzhao / index.html
Created October 15, 2020 20:17
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
@erickzhao
erickzhao / index.html
Last active October 15, 2020 04:41
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
@erickzhao
erickzhao / index.html
Last active October 14, 2020 04:29
Electron Fiddle Gist
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<title>Title</title>
</head>
<body>
<script src="./renderer.js"></script>
</body>
</html>
@erickzhao
erickzhao / index.html
Created October 7, 2020 23:43
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<h1>Hello World!</h1>
<!-- All of the Node.js APIs are available in this renderer process. -->
@erickzhao
erickzhao / index.html
Last active October 6, 2020 05:05
Baby's first context bridge
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<script src="./renderer.js"></script>
</body>