- ssh user@your_ip
- Generar llave
ssh-keygen -b 4096(dentro de .ssh) - Enviar llave al server
ssh-copy-id -i .ssh/name.pub user@your_ip - Conectar:
ssh user@your_ip
- update
apt-get update
| // BrowserRouter is the router implementation for HTML5 browsers (vs Native). | |
| // Link is your replacement for anchor tags. | |
| // Route is the conditionally shown component based on matching a path to a URL. | |
| // Switch returns only the first matching route rather than all matching routes. | |
| import { | |
| BrowserRouter as Router, | |
| Link, | |
| Route, | |
| Switch, | |
| } from 'react-router-dom'; |
| public enum Prefecture: Int { | |
| case Hokkaido = 1, Aomori = 2, Iwate = 3, Miyagi = 4, Akita = 5, | |
| Yamagata = 6, Fukushima = 7, Ibaraki = 8, Tochigi = 9, Gunma = 10, | |
| Saitama = 11, Chiba = 12, Tokyo = 13, Kanagawa = 14, Niigata = 15, | |
| Toyama = 16, Ishikawa = 17, Fukui = 18, Yamanashi = 19, Nagano = 20, | |
| Gifu = 21, Shizuoka = 22, Aichi = 23, Mie = 24, Shiga = 25, Kyoto = 26, | |
| Osaka = 27, Hyogo = 28, Nara = 29, Wakayama = 30, Tottori = 31, | |
| Shimane = 32, Okayama = 33, Hiroshima = 34, Yamaguchi = 35, Tokushima = 36, | |
| Kagawa = 37, Ehime = 38, Kochi = 39, Fukuoka = 40, Saga = 41, Nagasaki = 42, | |
| Kumamoto = 43, Oita = 44, Miyazaki = 45, Kagoshima = 46, Okinawa = 47 |
| require('font-awesome/css/font-awesome.css'); | |
| document.body.innerHTML = '<i class="fa fa-fw fa-question"></i>'; |
| #!/bin/bash | |
| ### USAGE | |
| ### | |
| ### ./ElasticSearch.sh 1.7 will install Elasticsearch 1.7 | |
| ### ./ElasticSearch.sh will fail because no version was specified (exit code 1) | |
| ### | |
| ### CLI options Contributed by @janpieper | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch |
| alert('hello ' + document.location.href); |
Here are a list of headless browsers that I know about:
| /* The API controller | |
| Exports 3 methods: | |
| * post - Creates a new thread | |
| * list - Returns a list of threads | |
| * show - Displays a thread and its posts | |
| */ | |
| var Thread = require('../models/thread.js'); | |
| var Post = require('../models/post.js'); |