Updated for Angular-Material v0.10
A starter app with sidenav, icons, tabs, floating action button, and a list of items.
Forked from Angular Material Basic App.
Forked from Marcy Sutton's Pen Angular Material Basic App.
Updated for Angular-Material v0.10
A starter app with sidenav, icons, tabs, floating action button, and a list of items.
Forked from Angular Material Basic App.
Forked from Marcy Sutton's Pen Angular Material Basic App.
This should help you get Sendmail installed with basic configuration on Ubuntu.
sudo apt-get install sendmail
/etc/hosts
file: nano /etc/hosts
127.0.0.1 localhost yourhostname
sudo sendmailconfig
sudo service apache2 restart
/** | |
* Get YouTube ID from various YouTube URL | |
* @author: takien | |
* @url: http://takien.com | |
* For PHP YouTube parser, go here http://takien.com/864 | |
*/ | |
function YouTubeGetID(url){ | |
var ID = ''; | |
url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); |
// Run from the dev tools console of any Youtube video | |
// Accurate as of June 23, 2017. | |
// ES6 version | |
const videoUrls = ytplayer.config.args.adaptive_fmts | |
.split(',') | |
.map(item => item | |
.split('&') | |
.reduce((prev, curr) => (curr = curr.split('='), | |
Object.assign(prev, {[curr[0]]: decodeURIComponent(curr[1])}) |
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