Skip to content

Instantly share code, notes, and snippets.

View zerosonesfun's full-sized avatar
🐢
What? I code slow.

Billy Wilcosky zerosonesfun

🐢
What? I code slow.
View GitHub Profile
@zerosonesfun
zerosonesfun / gist:10ed5f2f3f20a2450107db28c482900b
Last active March 16, 2024 22:57
IMO A Better WordPress Admin (Minimal CSS Tweaks For A More Minimal Dashboard)
/* Change font (most of admin) */
.wp-admin {
font-family: 'Courier New',Courier,monospace;
text-rendering: optimizeLegibility;
}
/* Change font (top bar) */
#wpadminbar * {
font-family: 'Courier New',Courier,monospace!important;
text-rendering: optimizeLegibility;
@zerosonesfun
zerosonesfun / typewriter.html
Last active December 22, 2023 13:20
Typewriter sounds as you type
<html>
<head></head>
<body>
<textarea id="typewriter"></textarea>
<label for="soundToggle">Sound</label>
<input type="checkbox" id="soundToggle">
<script>
const textarea = document.getElementById('typewriter');
const soundToggle = document.getElementById('soundToggle');
@zerosonesfun
zerosonesfun / titleUrlMarkdownClip.js
Last active April 24, 2021 13:59 — forked from idelem/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;