Skip to content

Instantly share code, notes, and snippets.

View ricklopez's full-sized avatar

Rick Lopez ricklopez

View GitHub Profile
@ricklopez
ricklopez / serverless.yml
Created April 7, 2021 02:49 — forked from DavidWells/serverless.yml
DynamoDB custom index serverless.yml example
service: service-name
provider:
name: aws
runtime: nodejs6.10
functions:
myfunc:
handler: handler.myfunc
@ricklopez
ricklopez / napkin-one.md
Last active July 16, 2020 02:28 — forked from RandyWritesCode/napkin-design.md
"back of napkin" designs of the basic layout of my Punisher Season Two Trivia - Quiz App

Add and Image

![Title](https://user-images.githubusercontent.com/58892815/87619469-44f86d80-c6ea-11ea-9e30-7439299774bd.jpg)

Title

@ricklopez
ricklopez / napkin-one
Created July 16, 2020 02:27 — forked from RandyWritesCode/napkin-design.md
"back of napkin" designs of the basic layout of my Punisher Season Two Trivia - Quiz App
@ricklopez
ricklopez / flexbox.md
Last active March 19, 2020 01:55 — forked from spoike/flexbox.md
Flexbox CSS Cheatsheet

Flexbox Cheatsheet

Flex Container

default to row.

@ricklopez
ricklopez / docker-builder.sh
Created February 21, 2020 22:31 — forked from didip/docker-builder.sh
Small helper script that automates Docker building and pushing
#!/bin/bash
set -ex
PARENT_DIR=$(basename "${PWD%/*}")
CURRENT_DIR="${PWD##*/}"
IMAGE_NAME="$PARENT_DIR/$CURRENT_DIR"
TAG="${1}"
REGISTRY="hub.docker.com"
@ricklopez
ricklopez / fetch-api-examples.md
Created February 21, 2020 02:58 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
@ricklopez
ricklopez / Knex-Setup.md
Created December 14, 2019 00:08 — forked from NigelEarle/Knex-Setup.md
Setup Knex with Node.js

Knex Setup Guide

Create your project directory

Create and initialize your a directory for your Express application.

$ mkdir node-knex-demo
$ cd node-knex-demo
$ npm init
@ricklopez
ricklopez / Knex-Setup.md
Created December 14, 2019 00:08 — forked from NigelEarle/Knex-Setup.md
Setup Knex with Node.js

Knex Setup Guide

Create your project directory

Create and initialize your a directory for your Express application.

$ mkdir node-knex-demo
$ cd node-knex-demo
$ npm init
@ricklopez
ricklopez / cmder-in-webstorm.md
Created September 21, 2018 00:23 — forked from sadikaya/cmder-in-webstorm.md
Cmder inside Webstorm terminal
  1. Set an environment variable called CMDER_ROOT to your root Cmder folder (in my case C:\Program Files (x86)\Cmder). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script.
  2. In your IntelliJ terminal settings, use "cmd" /k ""%CMDER_ROOT%\vendor\init.bat"" as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
@ricklopez
ricklopez / gist:ffbc39a9a565755635cfed4ea9033e45
Created September 19, 2018 03:47 — forked from asabaylus/gist:3071099
Github Markdown Heading Anchors

Anchors in Markdown

To create an anchor to a heading in github flavored markdown. Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:

[create an anchor](#anchors-in-markdown)