Skip to content

Instantly share code, notes, and snippets.

View PDXIII's full-sized avatar
😃
Working on my website.

Peter Sekan PDXIII

😃
Working on my website.
View GitHub Profile

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

@vikramrojo
vikramrojo / UsableInterface.md
Last active September 19, 2019 09:24
An intuitive evaluation criteria

Usable Interface

Derived from various usability literature, these 8 usability inspection criteria are meant to be used in critiques and evaluations of web applications.

💰 Affordance

Degree to how seamlessly an app’s layout directs a user to their goals

Requirements Provision

  • The set of features offered by the system satisfies the needs and requirements of users
@v0lkan
v0lkan / JFDIManifesto.md
Last active May 2, 2020 06:44
The JFDI Manifesto

#JFDI Manifesto (*)

  1. The F in #JFDI does not stand for Finish; you dont just "finish" doin' it; you #JFDI!
  2. Pretending you know what you're doing is almost the same as knowin' it; so JFDI!
  3. Nothing is complete, accept it, and #JFDI!
  4. You do not edit, you #JFDI!
  5. Laugh at perfection, and #JFDI!
  6. Doing "something" makes you feel good, #JFDI!
  7. Destruction is a different form of #JFDI.
  8. Failures and mistakes also count as #JFDI.
@luisjunco
luisjunco / m2-heroku-cheatsheet.md
Last active April 13, 2023 19:37
Heroku Cheatsheet

Heroku commands

  • Authenticate

    • heroku login
  • Open the app in the browser (from terminal)

    • heroku open
@ff6347
ff6347 / order-chaos-disorder.md
Created October 18, 2012 09:25
Dr Dago saz

My father once told me:

Chaos is not the opposite of order. Chaos lies in between order and disorder. In total order or disorder nothing can originate. Only in chaos these patterns emerge that we call life.

@luisjunco
luisjunco / m2-mongo-data-models.md
Last active September 29, 2023 20:37
Cheatsheet Data Models

Embedded documents vs. References

There's 2 ways of storing complex data and relationships in MongoDB/Mongoose.

  • Embedded documents

    const authorSchema = new Schema({

//...

@luisjunco
luisjunco / react-conditional-rendering-cheatsheet.md
Created April 4, 2023 13:22
React Conditional Rendering - Cheatsheet

A: Element Variables (in your JavaScript)

function MyComponent(){

    let button;
    if (isLoggedIn) {
      button = <LogoutButton />;
 } else {
@luisjunco
luisjunco / VS -Code-Shortcuts.md
Last active November 29, 2023 11:29
VS Code Shortcuts

Common shortcuts in VS Code (Win // Mac):

  • Comment code: Ctrl (K+C) // ⌘ (K+C)
  • UnComment code: Ctrl (K+U) // ⌘ (K+U)

  • Duplicate line: Alt & Shift + Arrow Down // Option & Shift + Arrow Down
  • Multicursor: hold Alt + click // hold Option + click
@luisjunco
luisjunco / m3-react-forms.md
Last active February 9, 2024 06:25
React Forms - Cheatsheet

React Forms

Intro

  • Form elements such as <input>, <textarea>, and <select> naturally keep some internal state (and change based on user's input).

  • From the React team: > In most cases, we recommend using controlled components to implement forms. In a controlled component, form data is handled by a React component.

@luisjunco
luisjunco / react-router-cheatsheet.md
Last active February 9, 2024 06:26
React Router Cheatsheet

React Router Cheatsheet

  • This cheatsheet is based on React Router Dom v6.7.0
  • If you use a different version, some things may be different




Initial Setup