Skip to content

Instantly share code, notes, and snippets.

View gubidxa's full-sized avatar
👾
Coding & 🏃‍♂Running

Hector Ortiz gubidxa

👾
Coding & 🏃‍♂Running
  • Capsule Corp
  • West Capital
  • 16:24 (UTC -06:00)
View GitHub Profile
const services = {
dbsql: {
management: true,
provisioning: true,
},
nosql: true,
queue: {
general: true,
financial: true,
payments: true,
@gubidxa
gubidxa / removeNulls.js
Last active May 14, 2022 22:37
Remove null value properties
const obj = {
id: 'abcd12345',
timezone: 'America/Mexico_City',
card: null,
phone: '987654321',
receipt: null,
date: new Date(),
summary: undefined,
all: true,
};
@gubidxa
gubidxa / .gitconfig
Last active May 16, 2022 22:25
Remove tracking branches no longer on remote
[alias]
disappear = !(git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -d)