Skip to content

Instantly share code, notes, and snippets.

View just-Bri's full-sized avatar
✍️
Hard at work

just_Bri just-Bri

✍️
Hard at work
View GitHub Profile
@just-Bri
just-Bri / PR_Feedback.md
Last active April 28, 2022 14:10
Proposal for PR Feedback guidelines

HIPPO

This is intended to be a, hopefully simple, framework for leaving PR feedback.

(H) Hold up:

  • Changes requested
  • Something that must change for PR approval.
    Syntax/Standards/Bug

    Example Usage:

  • H: I noticed a UI bug when scrolling ``.
@just-Bri
just-Bri / gist:d543571edcc67657ed043c4f3ceec4ef
Last active February 4, 2020 20:00
manageLazily user stories
As a project worker, I want to receive notifications when I am assigned to a new job/project, when a job I am on is approved for completion, when revisions are requested on a job, and when the PM makes an edit to a job.
As a company owner, I want to receive notifications when a new project is created, a new user signs up, and when projects are completed.
As a project worker, I can submit a completed job for review by a project manager.
As a project worker, I want to be able to log the amount of hours I have worked on a specific job.
As a project manager, I want to be able to access a dashboard where I can approve or request revision on jobs.
1. Which routes are already set up and what are their paths?
/
/learn
/register
/login
2. What is the concern of the AuthApiService object?
Handling api authentication
3. What is the concern of the UserContext?
handle current user, login/logout, id, name, username etc
4. Does the PrivateRoute make use of the UserContext?
1. Which database tables are created in the migrations?
2. What are the endpoints for user registration, login and refresh?
3. What endpoints have been implemented in the language router?
4. What is the async and await syntax for? (Hint)
5. Which endpoints need implementing in the language router?
6. How does the GET /api/language endpoint decide which language to respond with? (Hint: Does it relate to the user that made the request?)
7. In the UserService.populateUserWords method, what is db.transaction?
- Hints:
- https://knexjs.org/#Transactions
- https://knexjs.org/#Builder-transacting
-- How many people work in the Sales department ?
select
count(*)
from
employee
where
employee.department = 2;
-- List the names of all employees assigned
-- to the 'Plan Christmas party' project.
DROP TABLE IF EXISTS recipe_reqs;
DROP TABLE IF EXISTS recipes;
DROP TABLE IF EXISTS ingredients;
DROP TABLE IF EXISTS hardware;
DROP TABLE IF EXISTS instructions;
@just-Bri
just-Bri / sql script
Last active November 4, 2019 19:47
sql stuff
create table bookmarks (
id INT,
name VARCHAR(50),
url VARCHAR(1000)
);
insert into bookmarks (id, name, url) values (1, 'Schultz Inc', 'https://so-net.ne.jp');
insert into bookmarks (id, name, url) values (2, 'Sauer-Abbott', 'http://youtu.be');
insert into bookmarks (id, name, url) values (3, 'Lueilwitz, Farrell and Becker', 'http://intel.com');
insert into bookmarks (id, name, url) values (4, 'Little and Sons', 'https://domainmarket.com');
insert into bookmarks (id, name, url) values (5, 'Hauck-Shields', 'http://google.it');
@just-Bri
just-Bri / wtfshouldicook
Last active November 11, 2019 17:49
Capstone stuff
App: wtfshouldicook
site: wtfshouldicook.com
desc: user will answer a few simple questions and get a recipe in return
git: https://github.com/reifnotreef/wtfshouldicook
wireframe: https://www.figma.com/file/vz31GwOZgsx7bvaZWurkNE/wtfshouldicook?node-id=0%3A1
User Story:
User answers questions following logical progression and sees a recipe that fits those responses.
extended goals:
@just-Bri
just-Bri / portfolio-layout
Created October 3, 2019 18:48
portfolio design/layout
https://imgur.com/a/A0AGR3B
Clean and simple.
Want to try and stick to a grayscale color palette.
@just-Bri
just-Bri / portfolio-wip-stuff
Last active October 3, 2019 17:58
Portfolio stuff
HEADLINE:
Welcome, have a look around.
BIO:
I suck at writing stuff like this. Will add to/edit when I start actually designing based on space I want to use.
Hello!
I am Bridger Hammond, a web developer focused on creating mobile-first responsive designs with a great user experience...
Outside of the programming world I am a casual gamer and a PADI Divemaster...
My skills include: HTML, CSS, Javascript, UX, web design, Adobe Photoshop, customer service...