Skip to content

Instantly share code, notes, and snippets.

View primelos's full-sized avatar
👨‍💻
Learning 🧠

Carlos Fabian Venegas primelos

👨‍💻
Learning 🧠
View GitHub Profile
@ericcchiu
ericcchiu / DeepFreezeRecursiveAlgorithm.js
Created October 22, 2021 01:58
DeepFreezeObjectRecursive
const sampleObject = {
author: "J.R.R. Tolkien",
genre: "Sci-Fi/Fantasy",
birthday: "January 3, 1892",
books: [
{
title: "The Silmarillion",
publicationDate: 1927
},
{
@HerschelW
HerschelW / mongodb_cheat_sheet.md
Created September 16, 2020 17:53 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@rvl
rvl / git-pushing-multiple.rst
Created February 9, 2016 11:41
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@vasanthk
vasanthk / System Design.md
Last active April 19, 2024 15:40
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@ourmaninamsterdam
ourmaninamsterdam / LICENSE
Last active February 21, 2024 23:28
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions: