Skip to content

Instantly share code, notes, and snippets.

@sjmulder
sjmulder / objcppcli.mm
Last active April 29, 2022 17:32
Sample code for a hypothetical Objective-C++/CLI language.
#include <iostream>
#include <msclr/marshal.h>
#include <msclr/marshal_cppstd.h>
#import <Foundation/Foundation.h>
// Sample code for a hypothetical Objective-C++/CLI language
ref class ClrClass;
@class ObjCClass;
@robotslave
robotslave / gist:4633393
Last active March 31, 2025 20:02
How to get Emoji in your Ubuntu Terminal
<!--
1. Download the Android Jelly Bean fonts and the Symbola font:
https://www.dropbox.com/s/tvtzcnzkvbe0nrt/jelly-bean-fonts.zip
http://users.teilar.gr/~g1951d/Symbola707.zip
2. unzip the files and put AndroidEmoji.ttf and Symbola.ttf (and any of the other fonts that strike your fancy)
in your ~/.fonts/ directory
3. run `fc-cache -f`. You can check to make sure the new fonts
were installed with `fc-list`. You'll probably want to grep the copious output for Symbola or Emoji
@railwaycat
railwaycat / Emacs_starter.pl
Last active March 12, 2023 01:26
Start Emacs.app from CLI
#!/usr/bin/perl
# Emacs starter for Emacs mac port
# Thanks to Aquamacs Project and David Reitter
my $args = "";
my $tmpfiles = "";
for my $f (@ARGV) {