Skip to content

Instantly share code, notes, and snippets.

View cschamp's full-sized avatar

Craig Schamp cschamp

  • Boise, Idaho
  • 14:27 (UTC -06:00)
View GitHub Profile
@zats
zats / FindReplace.json
Last active May 5, 2025 17:54
Alternative spellings for some emojis according to /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/Resources/en.lproj/FindReplace.strings
{
"💍":"diamond | engagement ring | diamond ring | diamond rings | diamonds | engagement rings",
"🆎":"blood type AB",
"❣":"heart",
"🇱🇨":"Saint Lucia | Saint Lucian flag",
"🇮🇪":"Ireland | Irish flag",
"🇨🇮":"Côte d’Ivoire | Ivory Coast | Ivorian flag",
"💎":"diamond | gem | gemstone | jewel | diamonds | gems | gemstones | jewels",
"☠️":"skull and crossbones | poison | poisonous",
"👩‍💻":"technology worker | tech worker | technologist | techie | IT worker | Apple genius | woman in technology | woman tech worker | woman technologist | woman IT worker | woman in IT | woman Apple genius",
@ata4
ata4 / makegif.pl
Last active December 26, 2015 07:29
Video to GIF converter script.
#!/usr/bin/perl
use strict;
use warnings;
use Math::Round;
use JSON;
use Getopt::Std;
# program paths
my $ffprobePath = "ffprobe";
@cschamp
cschamp / iview.cpp
Created October 25, 2011 21:12
Find endianness
#include <iostream>
using namespace std;
namespace {
bool A = false;
bool B = false;
struct C {