Skip to content

Instantly share code, notes, and snippets.

View einnor's full-sized avatar

Ronnie Nyaga einnor

View GitHub Profile
@einnor
einnor / PULL_REQUEST_TEMPLATE.md
Last active June 8, 2020 10:17
Pull Request Template

Pull Request Template

PR Status

  • WIP (Work In Progress)
  • RFR (Ready For Review)
  • RFM (Ready For Merging)

Summary of what this PR does

This PR implements the login flow

@einnor
einnor / conversions.js
Created May 10, 2020 10:53
Hex, Octal, Decimal, Binary Conversions
// To Decimal
const hexToDecimal = (hex) => {
return parseInt(hex, 16);
};
const octalToDecimal = (octal) => {
return parseInt(octal, 8);
};
@einnor
einnor / curl.md
Created May 3, 2019 10:17 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@einnor
einnor / The Technical Interview Cheat Sheet.md
Created October 25, 2017 08:58 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
<style>
.thumbnail.with-caption {
display: inline-block;
background: #f5f5f5;
}
.thumbnail.with-caption p {
margin: 0;
padding-top: 0.5em;
}
.thumbnail.with-caption small:before {