Let's say you want to host domains first.com and second.com.
Create folders for their files:
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| height: window.innerHeight, | |
| message: 'not at bottom' | |
| }; | |
| this.handleScroll = this.handleScroll.bind(this); | |
| } | |
| handleScroll() { | |
| const windowHeight = "innerHeight" in window ? window.innerHeight : document.documentElement.offsetHeight; |
| Number.prototype.pad = function(size) { | |
| var s = String(this); | |
| while (s.length < (size || 2)) {s = "0" + s;} | |
| return s; | |
| } | |
| (1).pad(3) // => "001" | |
| (10).pad(3) // => "010" | |
| (100).pad(3) // => "100" |
On mac:
/usr/local/bin.| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "net/mail" | |
| "net/smtp" | |
| "crypto/tls" | |
| ) |
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |