- create Docker droplet via digitalocean one-click-app-docker
- log into it
- generate SSH key
ssh-keygen -t rsa -N "" -f /root/.ssh/id_rsa
- Copy it
| const FakeComponent = () => { | |
| return ( | |
| <AnimatedRoutes exitBeforeEnter initial={false}> | |
| <RouteTransition exact path="/some-route"> | |
| <NewUsers /> | |
| </RouteTransition> | |
| <RouteTransition exact path="/yo" > | |
| <Users /> | |
| </RouteTransition> | |
| </AnimatedRoutes> |
ssh-keygen -t rsa -N "" -f /root/.ssh/id_rsa
| # Notas | |
| containerID # suficiente con los primeros 3 dijitos del id | |
| -it # Modo iterativo | |
| # Comprobar funcionamiento docker | |
| docker -v | |
| # o | |
| docker version |
| There are three simple (and similar) rules to remember: | |
| * Don't start a new line with parentheses, | |
| * don't start a new line with a bracket, | |
| * don't start a new line with a backtick. | |
| And that's it. |
| PX | REM | TW | |
|---|---|---|---|
| 4 | 0.25 | 1 | |
| 8 | 0.5 | 2 | |
| 16 | 1 | 4 | |
| 32 | 2 | 8 | |
| 48 | 3 | 12 | |
| 64 | 4 | 16 | |
| 80 | 5 | 20 | |
| 96 | 6 | 24 | |
| 112 | 7 | 28 |
| // Embedded in this article https://medium.com/p/c98e491015b6 | |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" | |
| "github.com/graph-gophers/graphql-go" |
| service cloud.firestore { | |
| match /databases/{database}/documents { | |
| // START - Usage example | |
| match /people/{document=**} { | |
| function propertiesValid() { | |
| return request.resource.data.keys().hasAll(['name', 'birthdate', 'yearsOfExperience']) | |
| && request.resource.data.size() == 3 | |
| && isString('name') && minlength('name', 3) && maxlength('name', 255) |
⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
www.website.com to website.comindex.html)