Skip to content

Instantly share code, notes, and snippets.

View rmfranciacastillo's full-sized avatar
🎯
Focusing

Renato Francia Castillo rmfranciacastillo

🎯
Focusing
View GitHub Profile
@rmfranciacastillo
rmfranciacastillo / myscript.sh
Created February 11, 2020 03:19 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@rmfranciacastillo
rmfranciacastillo / .bashrc
Last active January 26, 2020 23:28 — forked from alivedise/.bashrc
bashrc
#!/bin/bash
# If not running interactively, don't do anything.
# This snippet helps to fix scp, sftp "Received message too long" issue..
[ -z "$PS1" ] && return
# Source global definitions
[ -f /etc/bashrc ] && . /etc/bashrc
[ -f /etc/profile ] && . /etc/profile
@rmfranciacastillo
rmfranciacastillo / .bashrc
Created September 16, 2019 20:25 — forked from alivedise/.bashrc
bashrc
#!/bin/bash
# If not running interactively, don't do anything.
# This snippet helps to fix scp, sftp "Received message too long" issue..
[ -z "$PS1" ] && return
# Source global definitions
[ -f /etc/bashrc ] && . /etc/bashrc
[ -f /etc/profile ] && . /etc/profile
@rmfranciacastillo
rmfranciacastillo / docker-help.md
Created March 15, 2019 13:55 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@rmfranciacastillo
rmfranciacastillo / ssh.md
Created December 3, 2018 01:38 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

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 January 13, 2018 00:24 — forked from PurpleBooth/README-Template.md
A template to make good README.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