I hereby claim:
- I am alfonsodev on github.
- I am alfonsodev (https://keybase.io/alfonsodev) on keybase.
- I have a public key ASC8x5RyAQekfCjTYePcqDGs6TYrFOhZ2eXgTVhBzh9CPwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm.sh | sudo bash
sudo yum install gitlab-ci-multi-runner
sudo gitlab-ci-multi-runner install
sudo gitlab-ci-multi-runner register --url "https://gitlab.com/" --registration-token "pR5HPnsDd6c5z2arvWZR" --description "docker"
docker pull google/cloud-sdk
sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
sudo yum install yarn
mkdir -p /srv/api
| body { | |
| padding-top: 120px; | |
| padding-bottom: 40px; | |
| background-color: #eee; | |
| } | |
| .container { | |
| width: 50%; | |
| } | |
| .btn | |
| { |
Refactoring view general checkpints
in the header of the file, in this way the flowtype binary will not ignore the file, and will statically analise it.
Proptypes is deprecated in react-native, the way Facebook team is going forward is using flowtype. To specify the types of properties
| 27d | |
| I found a solution,thanks to this topic https://forums.docker.com/t/change-docker-for-mac-engine-etc-files/20102/222 , 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 | |
| username:root | |
| password:[empty] | |
| 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 https://get.haskellstack.org/ | sh | |
| # Download and build postgrest. | |
| git clone https://github.com/begriffs/postgrest.git | |
| cd postgrest | |
| stack build --install-ghc --allow-different-user |
| #!/bin/sh | |
| # Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh | |
| # and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
| if [ "`/usr/bin/whoami`" != "root" ]; then | |
| echo "You need to execute this script as root." | |
| exit 1 | |
| fi | |
| cat > /etc/yum.repos.d/centos.repo<<EOF |
mkdir lambda-test && cd lambda-test git init echo 'node_modules' >> .gitignore npm init
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
npm install babel-polyfill
| // Status code list borrowed from https://golang.org/src/net/http/status.go | |
| var http: { | |
| 100: 'CONTINUE' , | |
| 101: 'SWITCHING_PROTOCOLS' , | |
| 200: 'OK' , | |
| 201: 'CREATED' , | |
| 202: 'ACCEPTED' , | |
| 203: 'NON_AUTHORITATIVE_INFO' , | |
| 204: 'NO_CONTENT' , | |
| 205: 'RESET_CONTENT' , |