Skip to content

Instantly share code, notes, and snippets.

View ggamel's full-sized avatar
๐Ÿ‘๏ธ
โ€๐Ÿ‘„โ€โ€๐Ÿ‘

Greg Gamel ggamel

๐Ÿ‘๏ธ
โ€๐Ÿ‘„โ€โ€๐Ÿ‘
View GitHub Profile
@ggamel
ggamel / komorebi.json
Created March 25, 2026 18:43 — forked from LGUG2Z/komorebi.json
My current komorebi for mac config
{
"$schema": "https://gist.githubusercontent.com/LGUG2Z/78b3dd12a7b7069f1d1c60621fe50730/raw",
"app_specific_configuration_path": "$HOME/komorebi-application-specific-configuration/applications.mac.json",
"cross_monitor_move_behaviour": "Insert",
"cross_boundary_behaviour": "Monitor",
"default_workspace_padding": 15,
"default_container_padding": 15,
"resize_delta": 100,
"floating_window_aspect_ratio": "Widescreen",
"floating_layer_behaviour": "Float",
@ggamel
ggamel / hugofastsearch.md
Created September 9, 2025 17:51 — forked from cmod/hugofastsearch.md
Fast, instant client side search for Hugo static site generator
@ggamel
ggamel / gist:4d3bfb96208aa9a9e4d0880aa93f7a11
Created June 26, 2025 18:27 — forked from spilist/gist:6b065cda20c0e75436d018e147f0cad9
Custom command to open Claude Code with optimized configurations.
# .bashrc version. Source: https://bagerbach.com/blog/how-i-use-claude-code#running-claude-code
function ccv() {
local env_vars=(
"ENABLE_BACKGROUND_TASKS=true"
"FORCE_AUTO_BACKGROUND_TASKS=true"
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=true"
"CLAUDE_CODE_ENABLE_UNIFIED_READ_TOOL=true"
)
local claude_args=()

ZFS

zpool status -v #shows zpool status infos

zpool iostat 1 #shows IOps and R/W bandwidth every second

zfs list -t snapshot #lists all the snapshots, add | grep "" to filter

arc_summary.py #shows ARC stats
@ggamel
ggamel / emoji.js
Created October 28, 2015 21:42 — forked from minamarkham/emoji.js
Add emojis to URL
function emoji() {
if (navigator.userAgent.indexOf('Mac OS X') != -1) {
window.location.hash = "๐Ÿ’‹";
}
};
emoji();
// only works on Macs ๐Ÿ˜ž
@ggamel
ggamel / form.html
Last active August 29, 2015 14:26 — forked from sskylar/form.html
Formspree + Siteleaf metadata
<form action="//formspree.io/{{ site.meta.contact_email }}" method="POST">
<input type="email" name="_replyto" placeholder="Your email">
<textarea name="message" rows="5" placeholder="Your message"></textarea>
<input type="submit" value="Send">
</form>
@ggamel
ggamel / README.md
Last active August 29, 2015 14:22 — forked from mbostock/.block
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Stripe Sample Form</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script>
<script type="text/javascript" src="https://js.stripe.com/v1/"></script>
<script type="text/javascript">
@ggamel
ggamel / index.html
Created February 28, 2013 14:43 — forked from wboykinm/index.html
<DOCTYPE !HTML>
<style>
img.tile {
position:absolute;
}
#download {
position:absolute;
top:10px;
left:10px;
@ggamel
ggamel / nav.scss
Created February 27, 2013 19:48 — forked from mirisuzanne/nav.scss
nav {
float: left;
width: columns(4) + gutter()*.5; // the outer two just need half a gutter added.
&:nth-child(2) { width: columns(4) + gutter(); } // the middle needs a full gutter (half on each side).
@include nth-omega(3); // you might not need this, but it may help keep things clean.
}