Skip to content

Instantly share code, notes, and snippets.

View amake's full-sized avatar
๐ŸŒต

Aaron Madlon-Kay amake

๐ŸŒต
View GitHub Profile
@shunirr
shunirr / criminal_jc.md
Last active June 21, 2025 08:07
ๅฅณๅญไธญๅญฆ็”Ÿใƒใ‚ฑใƒƒใƒˆ่ฉๆฌบไบ‹ไปถ

criminal_jc

@dergachev
dergachev / GIF-Screencast-OSX.md
Last active June 11, 2025 03:13
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//
@prwhite
prwhite / Makefile
Last active June 5, 2025 06:52
Add a help target to a Makefile that will allow all targets to be self documenting
# Add the following 'help' target to your Makefile
# And add help text after each target name starting with '\#\#'
help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
# Everything below is an example
target00: ## This message will show up when typing 'make help'
@echo does nothing
@voluntas
voluntas / death_march.md
Last active May 30, 2025 01:53
ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

ใƒ‡ใ‚นใƒžใƒผใƒใŒ่ตทใใ‚‹็†็”ฑ - ๏ผ“ใคใฎๆŒ‡ๆจ™

่‘—่€…๏ผš ้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“ย @bluecrow2

ใ“ใ‚Œใฏ็ตๅŸŽๆตฉใ•ใ‚“ใฎ้‹็”จใ•ใ‚Œใฆใ„ใŸ YukiWiki ใซๅฝ“ๆ™‚ Coffee ๆง˜ (้’ใ„้ด‰๏ผˆใถใ‚‹ใใ‚๏ผ‰ใ•ใ‚“๏ผ‰ใŒใ‹ใ‹ใ‚Œใฆใ„ใŸๆ–‡็ซ ใงใ™ใ€‚ ใŸใ  2018 ๅนด 3 ๆœˆ 7 ๆ—ฅใซ YukiWiki ใŒ้‹็”จๅœๆญขใ—ใŸใŸใ‚ๆถˆใˆใฆใ—ใพใ„ใพใ—ใŸใ€‚ใใฎ่จ˜ไบ‹ใฎใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใงใ™ใ€‚

ไปŠใฏ 404 ใงใ™ใŒใ€ใ‚‚ใจใ‚‚ใจใฎ่จ˜ไบ‹ใฎ URL ใฏ http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 ใซใชใ‚Šใพใ™ใ€‚

ๆ˜”ใ€่‡ชๅˆ†ใŒใจใฆใ‚‚ๆ„Ÿ้Š˜ใ‚’ๅ—ใ‘ใŸๆ–‡็ซ ใชใฎใงใ€ใ“ใฎใพใพ่ชญใ‚ใชใใชใ‚‹ใฎใฏใจใฆใ‚‚ใ‚‚ใฃใŸใ„ใชใ„ใจๆ€ใ„ใ€ใƒใƒƒใ‚ฏใ‚ขใƒƒใƒ—ใจใ—ใฆๅ…ฌ้–‹ใ—ใฆใ„ใพใ™ใ€‚

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@zsimic
zsimic / DefaultKeyBinding.dict
Last active February 11, 2025 23:48
OSX key bindings
{
/* ~/Library/KeyBindings/DefaultKeyBinding.dict
See https://gist.github.com/zsimic/1367779, prefix cheatsheet:
Char Short Key
$ S- Shift โ‡ง
^ C- CTRL โŒƒ
~ O- Option โŒฅ (โŠž Win key position on PC)
@ M- Command โŒ˜ (Alt position on PC)
# Numeric Keypad
#!/bin/bash
set -e
CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc)
hex=$((cat <<EOF
<?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">
<plist version="1.0">
@namuol
namuol / INSTALL.md
Last active December 11, 2024 12:21
rage-quit support for bash

rage-quit support for bash

HOW TO INSTALL

Put flip somewhere in your $PATH and chmod a+x it.

Copy fuck into ~/.bashrc.

@pmeulen
pmeulen / repair-timemachine-disk-network.sh
Created September 22, 2017 17:58
Script to repair a Time Machine network volume
#!/bin/bash
set -e
###############################################################################
# This script tries to repair a Time Machine *network* backup (i.e. an APF
# share containing a sparsebundle) that is shared over a network using e.g. an
# Apple TimeCapsule, a NAS, Raspberry PI, ...
# The script must be run on the computer that created the backup
#