Skip to content

Instantly share code, notes, and snippets.

@rroblak
rroblak / .zshrc
Last active August 29, 2015 14:18
.zshrc
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=100000
SAVEHIST=100000
setopt appendhistory autocd extendedglob notify
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/Users/roblak/.zshrc'
@rroblak
rroblak / .bash_profile
Created February 7, 2020 18:13
Alias `git` to `g` with support for `hub` if it's installed
# Alias `hub` to `git` if it's installed.
if [[ ! -z $(command -v hub) ]]; then
eval "$(hub alias -s)"
fi
# Alias `git` to `g` and set up completion (also brings in `hub` completion if it's installed).
alias g=git
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
__git_complete g _git
@rroblak
rroblak / servers_by_expiration_costs.json
Created September 9, 2025 18:31
OVH Infrastructure Dashboard - Servers By Expiration Costs (Array with 27 items)
[
{
"expiration_month": "2025-01",
"alchemy_core": 76806.0,
"apache_pinot": 19832.4,
"archv2": 325258.2,
"archv2_edge_proxy": 11458.8,
"blast": 6864.0,
"blast_scale": 65556.0,
"computev2": 39780.0,
@rroblak
rroblak / servers_by_expiration_counts.json
Created September 9, 2025 18:32
OVH Infrastructure Dashboard - Servers By Expiration Counts (Array with 27 items)
[
{
"expiration_month": "2025-01",
"alchemy_core": 12,
"apache_pinot": 4,
"archv2": 42,
"archv2_edge_proxy": 3,
"blast": 4,
"blast_scale": 6,
"computev2": 6,
@rroblak
rroblak / servers_by_region_environment.json
Created September 9, 2025 18:33
OVH Infrastructure Dashboard - Servers By Region Environment (Array with 12 items)
[
{
"region": "ap-south-mum",
"prod_server_count": 10,
"prod_committed_count": 10,
"prod_uncommitted_count": 0,
"prod_annual_cost": 23643.12,
"stg_server_count": 0,
"stg_committed_count": 0,
"stg_uncommitted_count": 0,
@rroblak
rroblak / complete_host_listing.json
Created September 9, 2025 18:38
OVH Infrastructure Dashboard - Complete Host Listing (Array with 1810 items)
This file has been truncated, but you can view the full file.
[
{
"service_group": "alchemy_core",
"ns": "ns1023535.ip-15-204-206.us",
"name": "kubernetes-prod-app_server-use1-0-alchemy_core:true",
"node_url": "15.204.206.160",
"region": "us-east-vin",
"rack": "V113D13",
"server_type": "scale-a3",
"cores": 32,
@rroblak
rroblak / node_type_analysis.json
Created September 9, 2025 19:17
OVH Infrastructure Dashboard - Node Type Analysis (Object with 7 keys)
{
"chain_type_summary": [
{
"chain_type": "arbitrum",
"total_annual_cost": 851295.96,
"server_count": 95,
"total_cores": 1652,
"total_memory_gb": 18912.0
},
{
@rroblak
rroblak / node_type_analysis.json
Created September 9, 2025 19:29
OVH Infrastructure Dashboard - Node Type Analysis (Object with 7 keys)
{
"chain_type_summary": [
{
"chain_type": "arbitrum",
"total_annual_cost": 851295.96,
"server_count": 95,
"total_cores": 1652,
"total_memory_gb": 18912.0
},
{
@rroblak
rroblak / rack_blast_radius.json
Created September 9, 2025 22:02
OVH Infrastructure Dashboard - Rack Blast Radius (Object with 6 keys)
{
"blast_radius_data": [
{
"service_group": "alchemy_core",
"region": "ap-southeast-sgp",
"environment": "prod",
"total_servers": 3,
"racks_used": 1,
"max_per_rack": 3,
"max_loss_percent": 100.0,
@rroblak
rroblak / rack_blast_radius.json
Created September 9, 2025 22:12
OVH Infrastructure Dashboard - Rack Blast Radius (Object with 6 keys)
{
"blast_radius_data": [
{
"service_group": "alchemy_core",
"region": "ap-southeast-sgp",
"environment": "prod",
"total_servers": 3,
"racks_used": 1,
"max_per_rack": 3,
"max_loss_percent": 100.0,