Skip to content

Instantly share code, notes, and snippets.

Avatar

Ivan Pedrazas ipedrazas

View GitHub Profile
@milesbxf
milesbxf / monzo-alertmanager-config.yaml
Last active Nov 10, 2020
Monzo's Alertmanager Slack templates
View monzo-alertmanager-config.yaml
###################################################
##
## Alertmanager YAML configuration for routing.
##
## Will route alerts with a code_owner label to the slack-code-owners receiver
## configured above, but will continue processing them to send to both a
## central Slack channel (slack-monitoring) and PagerDuty receivers
## (pd-warning and pd-critical)
##
@probonopd
probonopd / linux_fusion360.md
Last active Nov 29, 2020
Autodesk Fusion 360 on Linux
View linux_fusion360.md

Autodesk Fusion 360 on Linux

In the Web Browser

Ubuntu, Fedora, openSUSE, CentOS, SUSE Linux Enterprise, Debian,... users can finally use Autodesk Fusion 360 in the Linux Browser now.

https://myhub.autodesk360.com

On Chromium 55.0.2843.0 I get NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED.

@jcarolinares
jcarolinares / useful_commands_to_use_in_shell.md
Last active Jul 7, 2020
This is a simple guide for non-pro bash users to do random but annoying tasks in just seconds
View useful_commands_to_use_in_shell.md

Useful commands to use in Shell or others:

This is a simple guide for non-pro bash users to do random but annoying tasks in just seconds

Your boss will be happy and you'll be less stressed ;)

PDFs

Search a phrase or keyword in multiple PDF:

@philips
philips / users.md
Last active Sep 28, 2020
Kubernetes Third-Party Resource Users
View users.md
View links_2017_02_05.md
@ipedrazas
ipedrazas / gist:83326e03c9d893a3ab1bdbd048d2e6be
Last active Mar 6, 2020
Curl Kubernetes API Server from a Pod
View gist:83326e03c9d893a3ab1bdbd048d2e6be
curl -k -X GET \
-H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
https://$KUBERNETES_PORT_443_TCP_ADDR:$KUBERNETES_SERVICE_PORT_HTTPS
@ipedrazas
ipedrazas / gist:97bca02b360e7acf29f471811010e66d
Created Sep 2, 2016
curl apiserver with certificates osx
View gist:97bca02b360e7acf29f471811010e66d
openssl pkcs12 -export -out certificate.pfx -inkey apiserver-key.pem -in apiserver.pem -certfile ca.pem
(set `test` as password)
curl -v -k -E ./certificate.pfx:test https://172.17.4.101:443
@ipedrazas
ipedrazas / gist:4ec14d9ecddce6e65769164f53af16f8
Created Jul 27, 2016
Update kubernetes node using the api server - PATCH
View gist:4ec14d9ecddce6e65769164f53af16f8
curl -k \
--header "Content-Type:application/merge-patch+json" \
--header "Accept: application/json" \
--header "Authorization: Bearer $TOKEN" \
--request PATCH \
--data '{ "metadata": {"labels": {"base": "coreOS"}}}' \
$API_SERVER/api/v1/nodes/172.17.4.202
@vasanthk
vasanthk / System Design.md
Last active Nov 29, 2020
System Design Cheatsheet
View System Design.md

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
You can’t perform that action at this time.