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 February 24, 2021 23:56
TouchBar
<!DOCTYPE html>
<html lang="en">
<head>
<title>TouchBar Example</title>
</head>
<body>
<h1>TouchBar Example</h1>
<p>Check out your touch bar!</p>
</body>
</html>
@erickzhao
erickzhao / index.html
Last active February 11, 2021 19:37
Click me demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do App</title>
</head>
<body>
@erickzhao
erickzhao / index.html
Created January 20, 2021 23:45
TradeMonster504 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>
<h1>Hello World!</h1>
@erickzhao
erickzhao / index.html
Created December 17, 2020 03:01
2 windows
<!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>
@erickzhao
erickzhao / index.html
Created December 16, 2020 18:16
showOpenDialog
<!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 December 2, 2020 02:23
renderer.js
<html>
<script src='./renderer.js'></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<body style="background-color:#ffff;"></body>
<div class="topnav">
<a class="active"></a>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
</div>
<div id="title=bar-btns">
<!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 December 1, 2020 19:46
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
Created November 29, 2020 06:00
vmars2
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
<input id="url" type="url" value="https://google.com"/>
<button id="go">Go</button>
@erickzhao
erickzhao / index.html
Created November 27, 2020 21:53
vmars
<!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. -->