Skip to content

Instantly share code, notes, and snippets.

View welpo's full-sized avatar
🌱

Óscar welpo

🌱
View GitHub Profile
@ljhopkins2
ljhopkins2 / dbt_redshift_drop_vestigial_relations.sql
Last active October 6, 2025 13:36
Looks for db entities that are not in the `dbt` project and produces (and optionally runs) SQL to drop them
{%- macro drop_vestigial_relations(
exclude_schemas=[],
dry_run=False,
raise_on_dry_run=False
) %}
{%- if exclude_schemas is string %}
{%- set exclude_schemas = [exclude_schemas] %}
{%- elif exclude_schemas is not iterable %}
{%- do exceptions.raise_compiler_error('`exclude_schemas` must be a string or a list') %}
{%- endif %}

Culture

  • What do you like best about working there?
  • What do you like least?
  • How would you describe this company's culture? engineering culture?
  • What causes the most conflict among employees here?
  • What would you change if you could?
  • How has the company changed in the past five years? How do you think it will change in the next five?
  • How long has the longest serving team member been there?
  • What's the average or median tenure?
@4abhinavjain
4abhinavjain / reinstall_VPS_from_inside.txt
Last active December 26, 2025 08:02 — forked from ClashTheBunny/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root'
sudo -i
# make sure we are on the highest kernel, so we can delete all the others ...
@geek-at
geek-at / trash.sh
Created August 13, 2020 07:27
The script used to trash a banking phishing site
#!/bin/bash
while :; do
verf=$(cat /dev/urandom | tr -dc '0-9' | fold -w 8 | head -n 1)
pin=$(cat /dev/urandom | tr -dc '0-9' | fold -w 5 | head -n 1)
ip=$(printf "%d.%d.%d.%d\n" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))" "$((RANDOM % 256))")
@CyberPunkCodes
CyberPunkCodes / killadobe.sh
Last active November 21, 2022 16:41
Mac Bash script to kill Adobe Create Cloud and other processes that Adobe forces on us.
#!/bin/bash
echo "\n\n--- Killing Stupid Adobe Auto Load Crap ---\n\n"
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist
echo "\n\n--- Done! ---\n\n"
@tobbez
tobbez / music-renamer.py
Last active August 29, 2015 14:17
Rename music files in a directory according to tags
#!/usr/bin/env python2
# coding: utf-8
#
# Copyright (c) 2015, tobbez
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES