Skip to content

Instantly share code, notes, and snippets.

@0xBADC0FFEE
0xBADC0FFEE / Info.plist
Last active May 20, 2020 — forked from mfilej/Info.plist
Make Safari open links from other applications in current space
View Info.plist
<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 Oct 9, 2018 — forked from tmehlinger/run.sh
gstreamer RTP to RTMP
View run.sh
#!/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
View contacts.js
// 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
});
You can’t perform that action at this time.