Skip to content

Instantly share code, notes, and snippets.

@0xBADC0FFEE
0xBADC0FFEE / Info.plist
Last active May 20, 2020 20:47 — forked from mfilej/Info.plist
Make Safari open links from other applications in current space
<key>CFBundleIdentifier</key>
<string>com.apple.AppleScript.SafariURLHelper</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>SafariURLHelper</string>
<key>CFBundleURLSchemes</key>
<array>
<string>http</string>
@0xBADC0FFEE
0xBADC0FFEE / run.sh
Last active October 9, 2018 12:14 — forked from tmehlinger/run.sh
gstreamer RTP to RTMP
#!/bin/bash
# tested on Ubuntu 16.04
apt-get install -y \
gstreamer1.0-libav \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
gstreamer1.0-tools
// Don't care much about inheritance at this point, but I'll probably attempt it at
// some point via cloning ancestor schema's
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
var Contact = new Schema({
_type: String,
name: String
});