Skip to content

Instantly share code, notes, and snippets.

View houstondapaz's full-sized avatar

Houston da Paz houstondapaz

View GitHub Profile
interface Person {
name: string;
age: number;
extraInformation: {
salary: number;
role: string;
}
}
type Stringify<T> = {
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
@plentz
plentz / nginx.conf
Last active June 26, 2024 04:29
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048