Marcus

Marcus is a fullstack JS developer. He’s passionate about the hapi framework for Node.js and loves to build web apps and APIs. Creator of Futureflix and the “learn hapi” learning path.


How to Change Application Icons in Mac OS X

There are some fancy replacement icons for your applications available on dribbble. Sometimes you're bored of the ones originally shipped with the specific app. And eventually you find the app icon you want to use and don't know how to set it. Here's how you go and this short guide …

Continue Reading

How to Fix NPM Package Does Not Satisfy Its Siblings' peerDependencies Requirements

This error is strange, because it appears when you're trying to install a new package globally with NPM, npm install -g <package-name>. The output of this command is something like this: npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer …

Continue Reading

Case Insensitive Sorting with Mongoose and MongoDB

Sorting in MongoDB can cause a lot pain (in the ass!). The problem: MongoDB always sorts case sensitive in the following order Numerics: 0-9 Uppercase letters: A-Z Lowercase letters: a-z For the following examples, assume the upcoming Tag schema and documents in our Tags collection: Schema { name: String, approved: boolean, …

Continue Reading

How to Make AWS S3 Bucket Public Readable

Amazon S3 allows you to set permissions on file basis or per bucket. That is very helpful since you sometimes want to share a complete bucket with the rest of the internet. With the help of bucket policies you're able to make an S3 bucket publicly readable. However, you have …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.