Skip to content

Instantly share code, notes, and snippets.

View VolodymyrPliuta's full-sized avatar
🇺🇦
Slava Ukraini!

americanman VolodymyrPliuta

🇺🇦
Slava Ukraini!
  • Jacksonville Beach, FL
View GitHub Profile
@MichaelDimmitt
MichaelDimmitt / readme.md
Last active March 9, 2024 20:57
Regarding the copy and paste pattern in development.

Regarding the copy and paste pattern in development.

“A good plan violently executed now is better than a perfect plan next week.” -General George S. Patton, Jr.

When what is defined as a "good pattern" is setup And it is sufficiently complex. Be mindful that there are probably ways to automate and simplify.

But for the time being you need others to execute that pattern. Find the person who knows the pattern best and can accomplish the task most efficiently and accurately

Have a meeting with them and note how long the meeting took.

import { act, render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import React from 'react';
import MyComponent from './MyComponent';
const weirdResponseResultStructure = {
results: [ // www.example.com/nameOfUrl
{
id: 'KS',
text: 'KS',
@jbranchaud
jbranchaud / TestableJavaScript.md
Last active July 15, 2021 12:36
Resources on writing testable JavaScript

Testable JavaScript Resources

Testing JavaScript isn't just a thing you can read about in children's fairy tales.

This is just a scratch pad of everything I find. As the really good resources start to float to the top, I'll transition them to a more permanent GitHub repo.

General

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 3, 2024 12:57
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname