Skip to content

Instantly share code, notes, and snippets.

Renato Francia Castillo rmfranciacastillo

Block or report user

Report or block rmfranciacastillo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rmfranciacastillo
rmfranciacastillo / docker-help.md
Created Mar 15, 2019 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@rmfranciacastillo
rmfranciacastillo / .eslintrc.json for node module development
Created Feb 26, 2019
This is a .eslintrc.json configuration used to develop a sample module
View .eslintrc.json for node module development
{
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"env": {
@rmfranciacastillo
rmfranciacastillo / Flatten JS array
Created Jan 16, 2019
Flattens an Array using JS
View Flatten JS array
let arr = [[1,2,[3]], [[[4]]]];
let flatten = arr.reduce((acc, value) => acc.concat(value), []);
while(flatten.some((item) => Array.isArray(item))){
console.log(flatten);
flatten = flatten.reduce((acc, value) => acc.concat(value), []);
}
console.log(flatten)
@rmfranciacastillo
rmfranciacastillo / ssh.md
Created Dec 3, 2018 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets
View ssh.md

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@rmfranciacastillo
rmfranciacastillo / README-Template.md
Created Jan 13, 2018 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You can’t perform that action at this time.