Skip to content

Instantly share code, notes, and snippets.

View 5ouma's full-sized avatar
🍩
のしょーん

Souma 5ouma

🍩
のしょーん
View GitHub Profile
@rprimmer
rprimmer / markdown-cheat-sheet.md
Created February 16, 2024 17:08
Markdown Cheat Sheet

Markdown Cheat Sheet

Thanks for visiting The Markdown Guide!

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.

Basic Syntax

These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.

@miclf
miclf / macos_keyboard_shortcuts_exporter_importer.php
Last active May 14, 2025 19:09
A small tool to automatically export and import custom macOS keyboard shortcuts.
#!/usr/bin/env php
<?php
// Determine which command has been called.
$cmd = (!empty($argv[1])) ? strtolower($argv[1]) : null;
// If an invalid number of arguments has been passed (or if no argument
// was given at all), display help information.
if ($argc < 2 || $argc > 3 || !in_array($cmd, ['save', 'load'])) {