Skip to content

Instantly share code, notes, and snippets.

View lifeeric's full-sized avatar
📚
infinity Explorer

Eric R. lifeeric

📚
infinity Explorer
View GitHub Profile
@lifeeric
lifeeric / pls_react_function_component.zsh
Created July 17, 2020 05:04 — forked from NOMADE55/pls_react_function_component.zsh
Adds a React Function Component in the supplied directory.
#!/bin/zsh
#
# React Function Component Maker made with ❤ by Lucas G. Terracino
#
# Help
show_help() {
# Display help
echo "Usage: pls_react_function_component [OPTION]... COMPONENT..."
echo "Adds a React Function Component in the supplied directory."
echo ""
@lifeeric
lifeeric / link-hack-for-designMode.ts
Created July 17, 2020 05:39
put this code on whitout any space and see the magic
@lifeeric
lifeeric / webdev_online_resources.md
Created August 5, 2020 12:04 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@lifeeric
lifeeric / docker_wordpress.md
Created August 9, 2020 04:02 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@lifeeric
lifeeric / ssh.md
Created August 9, 2020 04:09 — 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

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@lifeeric
lifeeric / docker-help.md
Last active August 12, 2020 04:51 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@lifeeric
lifeeric / .md
Last active September 3, 2020 08:00
hulu css architecture
<div id="page">
  
  <div class="content-wrapper">
    <div class="Ribbon">
      <div class="row">
        ...
      </div>
    </div>

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r <session_name>