See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| ## Personal note: Muslims are not terrorists and I humbly request my engineering community to help end racism. | |
| # You should look at the following URL's in order to grasp a solid understanding | |
| # of Nginx configuration files in order to fully unleash the power of Nginx. | |
| # http://wiki.nginx.org/Pitfalls | |
| # http://wiki.nginx.org/QuickStart | |
| # http://wiki.nginx.org/Configuration | |
| # | |
| # Generally, you will want to move this file somewhere, and start with a clean | |
| # file but keep this around for reference. Or just disable in sites-enabled. | |
| # |
| FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory vue js build | |
| you can solve the problem with | |
| export NODE_OPTIONS="--max-old-space-size=5120" #increase to 5gb | |
| export NODE_OPTIONS="--max-old-space-size=6144" #increase to 6gb | |
| export NODE_OPTIONS="--max-old-space-size=7168" #increase to 7gb | |
| export NODE_OPTIONS="--max-old-space-size=8192" #increase to 8gb | |
| choose one of them |
| { | |
| "description": "asdfadsfsdfasdfasdf data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAMEBI4DASIAAhEBAxEB/8QAHQAAAQUBAQEBAAAAAAAAAAAAAAEFBgcIBAMCCf/EAFsQAAEDBAIBAwIDBQQHBQIBHQECAwQABQYRBxIhCBMxIkEUMlEVIzVhcRZCgbIXGDNigoORJFWWodNSd/E0Q1dydrHwJTdTk7TB0dImNlZ0dYWVo+E4ZHOis//EABsBAQEAAwEBAQAAAAAAAAAAAAABAgQFAwYH/8QAPREAAgIBAwMDAwIEBAQEBwAAAAECEQMEEiEFEzEGIkEyUWEUcSNCgZEVFlKxM2JyoUNTosEkNXS0wtHh/9oADAMBAAIRAxEAPwDDNLSUVkYhRRRQBS0lFAFFFFAFLSUUAUUUUAUtJRQBRRRQBS0lFAFFFFAFOtv/AIHdv+R/nNNVOlv/AIHdv+R/nNANdFFFAbrvPGF05BxzgF+zcrWXDpkLGoqGg9PLVwkKU0wf+ytDXukddEdh8j5qW23llq159z/nlvsL7AxSNYmXWZDRZdmfhxJ9xSgr47AlKFfdAQr76rIfL/MNkzrFuMLTjLN1hT8HsjdvlPvJQ2DISlkBbKkLUrQLZIJCT8eKtLJvVXxlk2AZY2/juQMZtmuNwbTdnmoscQXZcZLoD4V7vfSveI8pJCUIGvFQpPrbx9bsJi893bGOrmLZdgxv9jebTpsx32JSlNp8ADqokBPyEFG/mqn9QL8jFvTrwrhtikLj2m8Wt+8T2m1EJlSlBlza/urqp5zwf |
Package Link: react-native-blob-util
jest.mock('react-native-blob-util', () => {
return {
__esModule: true,
default: {| server { | |
| server_name my-server.com www.my-server.com; | |
| location / { | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Host $host; | |
| proxy_pass http://localhost:9000; | |
| include proxy_params; |