Install osxfuse (3.x.x) from https://github.com/osxfuse/osxfuse/releases.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew update| # Instalación de FreeTDS y dependencias: | |
| yum install freetds freetds-devel -y | |
| # Instalación del módulo de PHP: | |
| yum --enablerepo=remi install php-mssql -y | |
| # Habilitar los siguientes booleanos: | |
| setsebool -P httpd_can_network_connect 1 | |
| setsebool -P httpd_can_network_connect_db 1 |
| # Crear archivo del repositorio: | |
| nano /etc/yum.repos.d/webmin.repo | |
| [Webmin] | |
| name=Webmin Distribution Neutral | |
| #baseurl=http://download.webmin.com/download/yum | |
| mirrorlist=http://download.webmin.com/download/yum/mirrorlist | |
| enabled=1 | |
| # Descargar e instalar la llave GPG: | |
| wget http://www.webmin.com/jcameron-key.asc |
| # Actualizar en base a los repositorios actuales: | |
| yum update | |
| # Mostrar la lista de repositorios: | |
| yum repolist | |
| # Descargar el paquete RPM del repositorio EPEL: | |
| wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # Instalar el RPM |
| # Instalar Apache de los repositorios de REMI | |
| yum --enablerepo=remi install httpd -y | |
| # Iniciar servicio | |
| service httpd start | |
| # Iniciar servicio al iniciar el sistema | |
| chkconfig httpd on | |
| # Instalar MySQL de los repositorios de REMI | |
| yum --enablerepo=remi install mysql mysql-server -y | |
| # Iniciar servicio | |
| service mysqld start | |
| # Iniciar servicio al iniciar el sistema | |
| chkconfig mysqld on |
osxfuse (3.x.x) from https://github.com/osxfuse/osxfuse/releases.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew update| import React, {AppRegistry, Text, View, Dimensions, ScrollView, Image} from 'react-native' | |
| const window = Dimensions.get('window') | |
| const imageDimensions = { | |
| height: window.height, | |
| width: window.width | |
| } | |
| var SampleApp = React.createClass({ | |
| render: function () { |
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| const bcrypt = require("bcrypt"); | |
| // use this library in case your version of node doesn't support Promise | |
| // const Promise = require("promise"); | |
| let password = "hello"; | |
| let stored_hash = ""; | |
| // first generate a random salt | |
| function genSalt(password) { | |
| return new Promise((resolve, reject) => { |
CTRL + A — Move to the beginning of the lineCTRL + E — Move to the end of the lineCTRL + [left arrow] — Move one word backward (on some systems this is ALT + B)CTRL + [right arrow] — Move one word forward (on some systems this is ALT + F)CTRL + U — (bash) Clear the characters on the line before the current cursor positionCTRL + U —(zsh) If you're using the zsh, this will clear the entire lineCTRL + K — Clear the characters on the line after the current cursor positionESC + [backspace] — Delete the word in front of the cursor