Skip to content

Instantly share code, notes, and snippets.

View gavvvr's full-sized avatar
🥷
Taming complexity

Kirill Gavrilov gavvvr

🥷
Taming complexity
View GitHub Profile

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag an image into the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

@elsonrodriguez
elsonrodriguez / README.md
Last active May 8, 2020 15:42
Minikube service routes

Setting up Minikube to have routable Cluster IPs and External IPs

This guide will show you how to access services within your minikube instance.

Accessing Cluster IPs

First, we will need to add a route to minikube.

This oneliner gets the ClusterIP range from etcd and adds a route.

@golman
golman / yota.md
Created July 30, 2017 09:28
Yota Internet sharing from iPhone
macOS
sudo sysctl -w net.inet.ip.ttl=65
linux

in terminal:

sudo vi /etc/init.d/local.autostart
@jmarcos-cano
jmarcos-cano / runon-each-node.groovy
Last active December 7, 2019 19:23
Jenkinsfile to run a command on each node
/*
Created by: Marcos Cano
Team: DevOps
Date: 7/7/17
*/
stage("Run cmd on each node") {
def node_names=nodeNames()
for (String item:node_names) {
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active April 19, 2025 05:22
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@joyrexus
joyrexus / README.md
Last active December 30, 2024 01:37
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@mcritchlow
mcritchlow / install.md
Last active April 17, 2025 18:54
Installing Zoom on Solus OS
1. Setup a project
2. Add groovy SDK support:
https://www.bonusbits.com/wiki/HowTo:Add_Groovy_SDK_to_IntelliJ_IDEA
3. Download http://(yourjenkinsurl)/job/(yourpipelinejob)/pipeline-syntax/gdsl
- this will give you the .gdsl file - download this to the src folder of your project.
4. Finally follow this step - right click on the src folder -> Mark directory as -> Sources Root
@dhavaln
dhavaln / Setup & Install
Last active September 1, 2024 23:14
Setting up HAProxy on Mac OSX
Install HAProxy from Homebre:
`brew install haproxy`
For full reference:
https://serversforhackers.com/load-balancing-with-haproxy