Skip to content

Instantly share code, notes, and snippets.

View sentience's full-sized avatar
💭
Amplifying the Product Group at Culture Amp

Kevin Yank sentience

💭
Amplifying the Product Group at Culture Amp
View GitHub Profile
@sentience
sentience / #Synology MEGAcmd server setup instructions.md
Last active June 25, 2024 11:56 — forked from Detavern/README.md
MEGAcmd startup on Synology DSM

Last verified on Synology DSM 7.0.1.

Prerequisites

  • install MEGAcmd package in DSM package center
  • enable user home service (Control Panel → User & Group → Advanced → User Home)
  • set up MEGAcmd so you can run mega-cmd-server from your Synology terminal prompt and see the server start (then use Ctrl-C to stop it)

Set up sysctld service for MEGAcmd server

@sentience
sentience / _.remove.js
Last active April 21, 2020 20:47 — forked from lstebner/_.remove.js
Underscore.js mixing to remove one or more keys from an object
// remove key from object
_.mixin({
remove: function(obj, keys){
return _.chain([keys]).flatten().reduce(function(obj, key){
delete obj[key];
return obj;
}, obj).value();
}
});