Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View confiq's full-sized avatar
🐶
first and last status?

Igor Konforti confiq

🐶
first and last status?
View GitHub Profile
@kizbitz
kizbitz / dockerhub-v2-api-organization.sh
Last active April 3, 2024 08:47
Get the list of images and tags for a Docker Hub organization account
#!/bin/bash
# Example for the Docker Hub V2 API
# Returns all images and tags associated with a Docker Hub organization account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username, password, and organization
UNAME=""
UPASS=""
ORG=""
@petitviolet
petitviolet / nginx_deployment.yaml
Created March 11, 2018 11:04
sample Nginx configuration on Kubernetes using ConfigMap to configure nginx.
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-conf
data:
nginx.conf: |
user nginx;
worker_processes 3;
error_log /var/log/nginx/error.log;
events {
@bobrik
bobrik / README.md
Last active January 19, 2024 08:45
CFS hiccups
@smiller171
smiller171 / database.tf
Last active October 3, 2023 16:49
Manage RDS password in Terraform in a sane way
resource "random_password" "db_master_pass" {
length = 40
special = true
min_special = 5
override_special = "!#$%^&*()-_=+[]{}<>:?"
keepers = {
pass_version = 1
}
}
@moiseshilario
moiseshilario / reduce_dock_autohide_animation.bash
Created December 10, 2021 19:05
Reduce the Dock autohide animation (MacOS)
# Increase speed of the animation
defaults write com.apple.dock autohide-time-modifier -float 0.35;killall Dock
# remove the delay
defaults write com.apple.Dock autohide-delay -float 0;killall Dock