Skip to content

Instantly share code, notes, and snippets.

@paurosello
paurosello / race.json
Last active March 30, 2023 20:27
race
[{"id":3,"name":"The Wheel of the Imp","start_time":"2023-03-27T17:00:00","end_time":"2023-03-29T22:00:00","registration_start":"2023-03-24T02:00:00","registration_end":"2023-03-29T22:00:00","race_data":[{"id":47,"race_id":3,"pony_id":718,"lane":"A","percentage_votes":null,"indigestion":false,"twitter_points":null,"event_points":14,"attacks_suffered":null,"attacks_protected":null,"race_week_points":0,"race_week_championship_points":0,"shapeshift":null,"race_ability_points":14,"owner_wallet":null,"ability_1_used":true,"ability_2_used":false,"ability_3_used":false,"treat_rolls":0,"indigestion_roll":0,"treat_1_roll":0,"treat_2_roll":0,"treat_3_roll":0,"last_event_roll":"2023-03-29T23:24:13.731","total_points":28,"last_ability_1_roll":null,"last_ability_2_roll":null,"training_points":0,"registration":{"id":718,"collection":"0xf486f696b80164b5943191236eca114f4efab2ff","discord_handle":"MegaVega#0001","treats":[134,136,98],"wallet":"0x8bace3A49A375027868CDd34e84521EeD1f1B01D","pony_name":"Yella Pygmy Pony of Wyldku
@paurosello
paurosello / goldpinger.yaml
Last active October 20, 2022 07:56
goldpinger
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: goldpinger-serviceaccount
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: goldpinger
@paurosello
paurosello / cluster.yaml
Last active November 12, 2020 11:47
Alpha features
apiVersion: cluster.x-k8s.io/v1alpha2
kind: Cluster
metadata:
annotations:
giantswarm.io/docs: https://docs.giantswarm.io/reference/cp-k8s-api/clusters.cluster.x-k8s.io
creationTimestamp: null
labels:
cluster-operator.giantswarm.io/version: 3.3.1
giantswarm.io/cluster: bbd3c
giantswarm.io/organization: giantswarm
@paurosello
paurosello / keybase.md
Last active June 29, 2020 11:47
keybase.md

Keybase proof

I hereby claim:

  • I am paurosello on github.
  • I am paurosello (https://keybase.io/paurosello) on keybase.
  • I have a public key ASBBxz4xUaEqd9GQc8wrcgZlXAHQvCh82AKnSTqkx6qk2wo

To claim this, I am signing this object:

@paurosello
paurosello / Generate Certs
Last active April 22, 2020 19:37
OneInfra K8Spin
certstrap init --common-name "K8Spin OneInfra"
certstrap request-cert --common-name hypervisor-oneinfra-0
certstrap sign hypervisor-oneinfra-0 --CA K8Spin_OneInfra
cat K8Spin_OneInfra.crt K8Spin_OneInfra.key > K8Spin_OneInfra.pem
cat out/hypervisor-oneinfra-0.crt out/hypervisor-oneinfra-0.key >> out/hypervisor-oneinfra-0.pem
@paurosello
paurosello / NIXOS Setup
Last active May 31, 2021 15:51
GS Setup
bw get item 4e1c92b4-0e17-4c10-9ef7-d1d927d4bc68 | jq -r .notes > ~/.ssh/id_paugs
bw get item d98743be-47b4-431f-a095-3672897dd277 | jq -r .notes > ~/.ssh/id_pau
#Download go packages though ssh
git config --global url."git@github.com:".insteadOf "https://github.com/"
scp -P 2222 -i ~/.ssh/id_paugs vpn.giantswarm.io:/home/pau/pau.ovpn ./gridscale.vpn
scp -P 2222 -i ~/.ssh/id_paugs vpn2.giantswarm.io:/home/pau/pau.ovpn ./vultr.vpn
# Modify VPN Profiles
@paurosello
paurosello / BudgieDebian
Created November 28, 2018 18:46 — forked from HoriLiu/BudgieDebian
Debian budgie-desktop
#Get debian-testing-amd64-netinst.iso in
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/
#Setup OS then Reboot
https://github.com/neurite/debian-setup/wiki/Debian-Installation
#Install Budgie Desktop
sudo apt-get update
sudo apt-get install gdm3 budgie-desktop synaptic gedit gnome-tweak-tool xfce4-terminal
sudo systemctl enable gdm3
stages:
- tests
tests:
stage: tests
image: node:10
variables:
SWAGGER: ${SWAGGER}
before_script:
- npm install -g swagger-cli
@paurosello
paurosello / redis_cache.conf
Created November 26, 2017 11:09
Redis Configuration
dbfilename redis_cache.rdb
dir /Users/pau/frappe-bench/config/pids
pidfile /Users/pau/frappe-bench/config/pids/redis_cache.pid
bind 127.0.0.1
port 13000
maxmemory 1638mb
maxmemory-policy allkeys-lru
appendonly no
save ""
RP/0/RSP0/CPU0:GRAFRAIX4#sho route vrf vpn_12956_50700 192.168.110.31/32
Fri Nov 4 12:59:45.361 UTC
Routing entry for 192.168.110.31/32
Known via "bgp 12956", distance 20, metric 0
Tag 65083, type external
Installed Nov 2 09:59:55.288 for 2d02h
Routing Descriptor Blocks
172.31.228.46, from 172.31.228.46, BGP external
Route metric is 0