Keybase proof

I hereby claim:

  • I am alfonsodev on github.
  • I am alfonsodev ( on keybase.
  • I have a public key ASC8x5RyAQekfCjTYePcqDGs6TYrFOhZ2eXgTVhBzh9CPwo

To claim this, I am signing this object:

View gist:534630b8c3ba3cd267574592654b5d15

Basic manual babel latests + webpack boilerplate.

npm init -y

Install npm modules

npm install --save-dev babel babel-core babel-loader babel-preset-latest-node6 json-loader webpack 

copy the webpack.config.js file to your project.

The webpack.config.js is in this same gist.

View login.css
body {
padding-top: 120px;
padding-bottom: 40px;
background-color: #eee;
.container {
width: 50%;

Refactoring view general checkpints

1. Insert // @flow

in the header of the file, in this way the flowtype binary will not ignore the file, and will statically analise it.

2. Add props types to you view.

Proptypes is deprecated in react-native, the way Facebook team is going forward is using flowtype. To specify the types of properties

View docker-for-mar-login
I found a solution,thanks to this topic , the only thing I needed to do to access the docker host was use this command:
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
close session:Ctrl+a d
To change the swap size for oracle xe installation:
dd if=/dev/zero of=/var/swap.file count=2000000 bs=1024
# prerequisites:
sudo su
yum groupinstall "Development Tools" -y
yum install git gmp-devel postgresql-devel zlib-devel -y
# installing stack:
curl -sSL | sh
# Download and build postgrest.
git clone
cd postgrest
stack build --install-ghc --allow-different-user
# Based on
# and
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
cat > /etc/yum.repos.d/centos.repo<<EOF

mkdir lambda-test && cd lambda-test git init echo 'node_modules' >> .gitignore npm init

maybe some of these are not need , need to clean up

npm install --save-dev babel-core babel-plugin-transform-object-rest-spread babel-plugin-transform-regenerator babel-polyfill babel-preset-es2015 babel-preset-react babel-preset-stage-0 dpl

babel-polyfill as prod package

npm install babel-polyfill

create babelrc with stage-0 enabled for async/await support

View httpStatus.js
// Status code list borrowed from
var http: {
100: 'CONTINUE' ,
200: 'OK' ,
201: 'CREATED' ,
202: 'ACCEPTED' ,
204: 'NO_CONTENT' ,