Skip to content

Instantly share code, notes, and snippets.

View chalkWood's full-sized avatar
💭
oO/

Priyank_ chalkWood

💭
oO/
View GitHub Profile
@chalkWood
chalkWood / v8.md
Created December 8, 2019 09:27 — forked from kevincennis/v8.md
V8 Installation and d8 shell usage

Installing V8 on a Mac

Prerequisites

  • Install Xcode (Avaliable on the Mac App Store)
  • Install Xcode Command Line Tools (Preferences > Downloads)
  • Install depot_tools
    • git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    • sudo nano ~/.bash_profile
  • Add export PATH=/path/to/depot_tools:"$PATH" (it's important that depot_tools comes first here)
@chalkWood
chalkWood / enzyme_render_diffs.md
Created October 14, 2019 05:25 — forked from fokusferit/enzyme_render_diffs.md
Difference between Shallow, Mount and render of Enzyme

Shallow

Real unit test (isolation, no children render)

Simple shallow

Calls:

  • constructor
  • render

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

REST Ideology & Rants

I am getting frustrated by the number of people calling any HTTP-based interface a REST API. Today’s example is the SocialSite REST API. That is RPC. It screams RPC. There is so much coupling on display that it should be given an X rating.

REST APIs must be hypertext-driven


Roy Fielding writes a PhD dissertation describing the architectural style of the World Wide Web. He coins the term ‘Representational State Transfer’ (REST) to describe it – after all, if you’re going to talk about something, you need to give it a name. Somehow, in a semantic shift of epic fail proportions, the term REST has also come to mean something completely different to most people, a ‘style’ of writing web services. This style has no agreed protocol.

Performance and V8 Debate

First post by Bruno Fernandez-Ruiz (Yahoo! Fellow, VP and Platform Architect) on V8 end of things with node.js. The post is dated February 6 2011.

NodeJS: To V8 or not to V8 hacker news discussion on this post.


Response by Jason Hoffman (Chief Scientist, Founder of Joyent) on the previous post. February 05, 2011 lol

@chalkWood
chalkWood / frontendDevlopmentBookmarks.md
Created July 19, 2019 09:15 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.