Skip to content

Instantly share code, notes, and snippets.

@bmac
bmac / gist:4071929
Created November 14, 2012 12:51
Original Xbox System Names
Donut
Penguin
Stumpy
Whicker
Shadow
Howard
Wilshire
Darling
Disco
Jack
@gnarf
gnarf / ..git-pr.md
Last active April 12, 2024 22:00
git pr - Global .gitconfig aliases for Pull Request Managment

Install

Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh

Usage

Easily checkout local copies of pull requests from remotes:

  • git pr 4 - creates local branch pr/4 from the github upstream(if it exists) or origin remote and checks it out
  • git pr 4 someremote - creates local branch pr/4 from someremote remote and checks it out
@johnkpaul
johnkpaul / component-list.md
Last active December 24, 2015 12:19
Ember.Component list
@Restuta
Restuta / framework-sizes.md
Last active March 7, 2024 00:01
Sizes of JS frameworks, just minified + minified and gzipped, (React, Angular 2, Vue, Ember)

Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.

All files were downloaded from https://cdnjs.com and named accordingly. Output from ls command is stripped out (irrelevant stuff)

As-is (minified)

$ ls -lhS
566K Jan 4 22:03 angular2.min.js
@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API
@bvaughn
bvaughn / index.md
Last active April 3, 2024 07:41
Interaction tracing with React

This API was removed in React 17


Interaction tracing with React

React recently introduced an experimental profiler API. After discussing this API with several teams at Facebook, one common piece of feedback was that the performance information would be more useful if it could be associated with the events that caused the application to render (e.g. button click, XHR response). Tracing these events (or "interactions") would enable more powerful tooling to be built around the timing information, capable of answering questions like "What caused this really slow commit?" or "How long does it typically take for this interaction to update the DOM?".

With version 16.4.3, React added experimental support for this tracing by way of a new NPM package, scheduler. However the public API for this package is not yet finalized and will likely change with upcoming minor releases, so it should be used with caution.

@stettix
stettix / things-i-believe.md
Last active July 10, 2024 23:00
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@ceejbot
ceejbot / interview_questions.md
Last active March 8, 2024 21:49
I have now LEAKED the questions I ask in interviews! Prep now and hack this test!

Interview outline

Questions variation 2

  1. intro (read script below)
  2. Tell me a story about the last time you taught someone something at work. what was the process like? what went well / what was challenging? (This is a warmup softball question. The candidate will be prepared for something like this, and will relax while answering it.)
  3. Tell me a story about the last thing someone taught you at work. (Looking for: ability to learn, learning strategies.)
  4. Substitute for #2 for more senior candidates: How do you deal with stress? (Looking for: any thoughtful approach at all.)
  5. What’s the hard part of [your job]? (Look for reasons why it's hard; what the candidate is doing to learn more about making it easy. Is it technical or do they have the awareness to talk about people things?)
  6. Tell me a story about a time modularity (or encapsulation) worked out for you. how do you pick where to encapsulate? what’s good about modularity? what’s difficult? (This is the single most important question fo