Skip to content

Instantly share code, notes, and snippets.

View leovolving's full-sized avatar

Leo Yockey leovolving

View GitHub Profile
@leovolving
leovolving / generators.js
Created August 23, 2017 17:38
Basic JS Generator
//I typically use promise chains to handle
//sync control but today I'm playing around with generators.
//View on Repl: https://repl.it/KWdA/1
function *myGen() {
var one = yield 1;
var two = yield 2;
var three = yield 3;
console.log(one, two, three);
}
Get rid of GIFs and make it so that text truncates at line break or X characters
-Did a height w/ overflow control. Removed GIFs
vertically align image in bio and stop text at ~”in the form of”
-Vertical align of image not needed now that text has been shortened
Make links to repos and live site same size
-removed link borders
https://github.com/Ljyockey/portfolio
http://ljyockey.com/
L.J. Yockey
Full-Stack JavaScript Developer
Hi, I'm L.J.
I’m currently in the process of breaking out of Las Vegas and relocating to Los Angeles.
My escape route? Mostly JavaScript, with a little bit of MongoDB and SQL, 'cause I love me a full stack.
What was I doing in Las Vegas? The same thing that everyone does in Las Vegas:
I was looking for a fresh start and hoping to hit a jackpot. My jackpot happened to come in the form of learning Web Development.
One nonchalant suggestion from a coworker opened the door to lifelong learning and endless possibilities.
@leovolving
leovolving / big-o.js
Last active July 25, 2017 01:52
Big O Drills
//Even or odd
function isEven(value){
if (value % 2 == 0){
return true;
}
else
return false;
}
//My answer: this function only takes a single input
//The runtime is O(1) (constant time)
@leovolving
leovolving / gist:7d1ec2475c4a480e5b5b96fd9a29e44c
Created July 24, 2017 01:28
HospitAlert - Final Feedback
When a friend is added on the status is changed, the li shows up without the name. Upon refresh, the name appears.
Issue ended up being an issue with the data being added to the state (resolved).
font size in <p> elements too small (resolved)
font-color in form placeholder is the same as the user's input (resolved)
@leovolving
leovolving / gist:b1e4c6351c75ae13a64d34f9220b6596
Created July 3, 2017 00:34
HospitAlert Feedback and iteration - 1.1.6
The app won't work this month the way is supposed to without the ability to add friends.
I added a component for a friends page which features sections to view friends, add friends, and search for friends.
The data will be added to the Friends component once the API is setup.
@leovolving
leovolving / gist:83231a44a70cfc1ec5d4e80ab17b68e3
Created July 1, 2017 04:30
Static React Client - HospitAlert (Advanced Topics Assignment 1.1.5)
Name of app - HospitAlert
link to live static version - https://engineer-rotation-31830.netlify.com/home
link to repo on GitHub - https://github.com/Ljyockey/hospitalert-client
@leovolving
leovolving / gist:bea421ea7a9d94903e8256fcdd4ccd07
Created June 26, 2017 03:01
HospitAlert - HTML Wireframes
Base Wireframe
https://repl.it/JBZ2/2
Landing Wireframe
https://repl.it/JB6B/2
Hospitalizations Wireframe
https://repl.it/JB8Q/1
New Hospitalizations
User Stories (descoped)
As a user, I should be able to sign up for HospitAlert with email or Facebook.
As a user, I should be able to login to HospitAlert.
As a user, I should be able to create new events for hospitalizations.
As a user, I should be able to update the status of the person hospitalized.
As a user, I should be able to remove hospitalization events.
As a user, I should be able to delete my account.