Skip to content

Instantly share code, notes, and snippets.

View Madhubalajb's full-sized avatar

Madhubala Madhubalajb

View GitHub Profile
@brycetshaw
brycetshaw / concurrent-http-requests-full.js
Last active November 21, 2021 17:12
A script to make concurrent network requests!
const fetch = require('node-fetch');
const queryString = (year, goals, page) => {
const rootUrl = 'https://jsonmock.hackerrank.com';
const queryString = `/api/football_matches?year=${year}&team1goals=${goals}&team2goals=${goals}&page=${page}`;
return rootUrl + queryString;
}
async function getNumOfGamesFromPage(year, goals, page) {
const response = await fetch(queryString(year, goals, page))
@claytonjwong
claytonjwong / binarySearch.js
Last active June 30, 2022 16:55
Javascript version of C++ equal_range via lower_bound and upper_bound
/*
* Javascript version of C++ equal_range via lower_bound and upper_bound
*
* Gist: https://gist.github.com/claytonjwong/53bd1c1489b12eccad176addb8afd8e0
*/
let lowerBound = (A, T) => {
let N = A.length,
i = 0,
j = N;
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 19, 2024 17:40
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.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@rxaviers
rxaviers / gist:7360908
Last active May 28, 2024 10:54
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: