Skip to content

Instantly share code, notes, and snippets.

View dgmid's full-sized avatar

dgmid dgmid

View GitHub Profile
@dgmid
dgmid / index.html
Created May 19, 2021 06:11
electron 12.0.8 window corners
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>
@dgmid
dgmid / index.html
Created December 19, 2020 06:59
big sur browser window corners with vibrancy
<!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. -->
@dgmid
dgmid / index.html
Created October 5, 2020 15:15
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. -->
@dgmid
dgmid / index.html
Last active September 9, 2020 21:31
Electron Fiddle Gist
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Printing test</title>
</head>
<body>
<h1>Printing test</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
@dgmid
dgmid / index.html
Created June 23, 2020 05:31
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. -->
@dgmid
dgmid / dabblet.css
Created March 9, 2013 10:42
generic caption styles
@import url(http://fonts.googleapis.com/css?family=Pontano+Sans);
body {
width: 600px;
margin: 20px auto 100px auto;
background: #2c3e4f;
color: #ecf0f5;
font: 13px/21px "Pontano Sans";
@dgmid
dgmid / dabblet.css
Created March 9, 2013 10:42
generic caption styles
@import url(http://fonts.googleapis.com/css?family=Pontano+Sans);
body {
width: 600px;
margin: 20px auto 100px auto;
background: #2c3e4f;
color: #ecf0f5;
font: 13px/21px "Pontano Sans";
@dgmid
dgmid / AutoCompletion.plist
Created April 1, 2012 07:42
Updated AutoComplete.plist for CSSEdit 2.6.1 with CSS3 & Vendor Specific properties
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
This document has been divided up in to the following sections:
1) CSS3 Properties
2) Vendor Prefixed Properties
3) Extras
4) Standard CSSEdit plist
@dgmid
dgmid / hack.sh
Created March 31, 2012 15:46 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@dgmid
dgmid / dabblet.css
Created March 11, 2012 20:11
table with rounded corners
/**
* table with rounded corners
*/
body {
font-family: helvetica;
padding-top: 45px;
background-color: #fff;
}