Skip to content

Instantly share code, notes, and snippets.

@ivankisyov
ivankisyov / what-is-dunder-proto.md
Last active November 14, 2022 07:18
What is dunder proto in JS

What is dunder proto in JS

dunder proto === __proto__

Every object in JS has this property.

It points back to the prototype object of the constructor function that created that object.

Only Object.prototype.__proto__ === null

@jdnichollsc
jdnichollsc / ABC.md
Last active February 12, 2026 17:08
The Job Interview Guide

The Job Interview Guide 💼

And English is a Work in Progress ⌛

@fgilio
fgilio / axios-catch-error.js
Last active February 11, 2026 16:18
Catch request errors with Axios
/*
* Handling Errors using async/await
* Has to be used inside an async function
*/
try {
const response = await axios.get('https://your.site/api/v1/bla/ble/bli');
// Success 🎉
console.log(response);
} catch (error) {
// Error 😨

Estamos usando Pins para compartir, guardar y tener una forma fácil de encontrar ofertas de trabajo

Compartiendo ofertas de trabajo

  1. Comparta la oferta de trabajo idealmente incluyendo descripción, habilidades requeridas, habilidades deseadas, salario, si es remota o no y cómo aplicar a la oferta.

Por ejemplo:

Desarrollador Full Stack en Medellín.
@ryanmaclean
ryanmaclean / append_etc_hosts.sh
Last active April 23, 2024 18:39
Append or Replace /etc/hosts using Tee
#! /bin/bash
echo "127.0.0.1 localhost" | sudo tee --append /etc/hosts
echo "127.0.0.1" `ec2metadata --local-hostname` | sudo tee --append /etc/hosts
## Remove --append to overwrite the file