Skip to content

Instantly share code, notes, and snippets.

osascript -e 'id of app "Adobe After Effects CC 2020"'
osascript -e 'id of app "Adobe After Effects CC 2019"'
mdfind -onlyin /Applications kMDItemCFBundleIdentifier=='com.adobe.AfterEffects'
@paulsocal
paulsocal / gist:5744799
Created June 9, 2013 19:17
mongoose populate 3 levels deep
var Blogpost = new Schema({
story: 'String',
comments: [{type: ObjectId, ref:'comment', unique: true}]
});
var Comment = new Schema({
comment: 'String',
upvotes: [{type: ObjectId, ref:'user', unique: true}]
});