Skip to content

Instantly share code, notes, and snippets.

View tommady's full-sized avatar
🤪
✌🏻( ᐛ )✌🏻

tommady tommady

🤪
✌🏻( ᐛ )✌🏻
  • 127.0.0.1
  • 16:18 (UTC +08:00)
View GitHub Profile
@algesten
algesten / aws.rs
Last active June 1, 2021 09:00
ureq aws sign
use chrono::{DateTime, Utc};
use hmac::{Hmac, Mac, NewMac};
use once_cell::sync::Lazy;
// notice this is percent_encoding=1.0.1 since I haven't bothered to
// fix this for latter versions of the crate.
use percent_encoding::{define_encode_set, utf8_percent_encode, SIMPLE_ENCODE_SET};
use sha2::{Digest, Sha256};
use std::env;
use std::fmt::Write;
@ianchen06
ianchen06 / install_nginx_ingress.sh
Created August 8, 2019 22:40
Install nginx ingress with nodeport
helm upgrade --install --set controller.service.type=NodePort --set controller.service.nodePorts.http=32080 --set controller.service.nodePorts.https=32443 nginx-ingress stable/nginx-ingress