Skip to content

Instantly share code, notes, and snippets.

View UpperLEFTY's full-sized avatar
:octocat:
https://soundcloud.com/upper-lefty/sets/sub_pop-vs-indie-rock

Essence Alexander UpperLEFTY

:octocat:
https://soundcloud.com/upper-lefty/sets/sub_pop-vs-indie-rock
View GitHub Profile
@UpperLEFTY
UpperLEFTY / regexCheatsheet.js
Created April 18, 2019 21:56 — forked from sarthology/regexCheatsheet.js
A regex cheatsheet 👩🏻‍💻 (by Catherine)
let regex;
/* matching a specific string */
regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello"
regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO"
regex = /hello/g; // looks for multiple occurrences of string between the forward slashes...
/* wildcards */
regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo"
regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo"
@UpperLEFTY
UpperLEFTY / System Design.md
Created April 11, 2019 19:55 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
#Chapter 2
##Looping a triangle
Write a loop that makes seven calls to console.log to output the following triangle:
#
##
###
####
@UpperLEFTY
UpperLEFTY / gulpfile.js
Created November 27, 2017 18:34 — forked from chantastic/gulpfile.js
This a script for a Full Stack Talk, given 3/13/14. Feel free to follow along at your own pace.
var gulp = require('gulp');
var coffee = require('gulp-coffee');
gulp.task('scripts', function () {
gulp.src('src/*.coffee')
.pipe(coffee())
.pipe(gulp.dest('./'));
});
gulp.task('watch', function () {
@UpperLEFTY
UpperLEFTY / README.md
Created November 26, 2017 23:25 — forked from hofmannsven/README.md
My simple SCSS Cheatsheet
@UpperLEFTY
UpperLEFTY / rails-crash-course.md
Created October 28, 2017 23:05 — forked from spilth/rails-crash-course.md
Ruby on Rails Crash Course

Ruby on Rails Crash Course

This is a course meant to give you the basics of Ruby and Rails with the assumption that you'll use the resources provided below to further your learning.

It assumes you are familiar with basic programming concepts and the basics of object oriented programming.

Basics

Create a Ruby Script

I used the last one.
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04