Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
| var ffi = require('ffi'), | |
| ref = require('ref'), | |
| Struct = require('ref-struct'), | |
| Library = require('./Library'), | |
| Type = ref.Type, | |
| NULL = ref.NULL, | |
| isNull = ref.isNull; | |
| var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |
| /* | |
| export default new GraphQLObjectType({ | |
| name: 'User', | |
| description: 'A user', | |
| fields: () => ({ | |
| first_name: { | |
| type: GraphQLString, | |
| description: 'The first name of the user.' | |
| }, | |
| email: { |
https://github.com/djvirgen/virgen-acl Simple and elegant, create your own checks. No middleware?
https://github.com/OptimalBits/node_acl Use as middleware, create your own roles and access. Great choice.
https://github.com/tschaub/authorized Similar to connect roles... but a bit more robust? you can create roles and action, and associate many roles with that action
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
Top Node.js metrics to watch: https://www.oreilly.com/ideas/top-nodejs-metrics-to-watch
The node.js Profiling Guide that Hasn’t Existed - Profiling node.js Applications - Part 1: http://www.willvillanueva.com/the-node-js-profiling-guide-that-hasnt-existed-profiling-node-js-applications-part-1/
The node.js Profiling Guide that Hasn’t Existed - Finding a potential memory leak using memwatch - Part 2: http://www.willvillanueva.com/the-node-js-profiling-guide-that-hasnt-existed-finding-a-potential-memory-leak-using-memwatch-part-2/
The node.js Profiling Guide that Hasn’t Existed - Finding The Cause of a Memory Leak Using Heap Snapshots - Part 3: http://www.willvillanueva.com/the-node-js-profiling-guide-that-hasnt-existed-finding-the-cause-of-a-memory-leak-using-heap-snapshots-part-3/
The trick? pass the file descriptor from a parent process and have the server.listen reuse that descriptor. So multiprocess in their own memory space (but with ENV shared usually)
It does not balance, it leaves it to the kernel.
In the last nodejs > 0.8 there is a cluster module (functional although marked experimental)
| # Install | |
| sudo apt install -y \ | |
| xvfb \ | |
| x11-xkb-utils \ | |
| xfonts-100dpi \ | |
| xfonts-75dpi \ | |
| xfonts-scalable \ | |
| xfonts-cyrillic \ | |
| x11-apps \ | |
| clang \ |
| ### BEGIN INIT INFO | |
| # Provides: Xvfb | |
| # Required-Start: $local_fs $remote_fs | |
| # Required-Stop: | |
| # X-Start-Before: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Loads X Virtual Frame Buffer | |
| ### END INIT INFO |