Skip to content

Instantly share code, notes, and snippets.

@nikhilgorantla
nikhilgorantla / gist:d9d6904c702a8640c07b28d65ccabca5
Created February 8, 2022 21:46 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@nikhilgorantla
nikhilgorantla / kubectl.md
Created November 12, 2021 06:15 — forked from so0k/kubectl.md
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
@nikhilgorantla
nikhilgorantla / kafka-useful-commands.md
Created November 6, 2020 00:43 — forked from mjuric/kafka-useful-commands.md
Useful Kafka wrangling commands

Utilities you'll care about

All these are already installed on epyc.

  • kafkacat (conda install -c conda-forge kafkacat)

  • kt (grab it from https://github.com/fgeller/kt/releases)

  • kafka-* (come with kafka, if you yum install if from Confluent's repo, or via Docker if you're so inclined). Warning -- JVM based and dreadfully slow.

  • jq (conda install -c conda-forge jq or use your favorite package manager)

@nikhilgorantla
nikhilgorantla / newrelic-deployment-api.md
Created July 14, 2020 03:28 — forked from devops-school/newrelic-deployment-api.md
How to enable Deployment history in Newrelic?

Request

curl -X POST 'https://api.newrelic.com/v2/applications/{application_id}/deployments.json' \
     -H 'X-Api-Key:{api_key}' -i \
     -H 'Content-Type: application/json' \
     -d \
'{
  "deployment": {
    "revision": "string",
    "changelog": "string",
@nikhilgorantla
nikhilgorantla / multiple_ssh_setting.md
Created July 12, 2020 21:00 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@nikhilgorantla
nikhilgorantla / cheatsheet-elasticsearch.md
Created April 6, 2020 03:16 — forked from ruanbekker/cheatsheet-elasticsearch.md
Elasticsearch Cheatsheet : Example API usage of using Elasticsearch with curl
@nikhilgorantla
nikhilgorantla / elasticsearch-cheatsheet.txt
Created April 6, 2020 03:02 — forked from stephen-puiszis/elasticsearch-cheatsheet.txt
Elasticsearch Cheatsheet - An Overview of Commonly Used Elasticsearch API Endpoints and What They Do
# Elasticsearch Cheatsheet - an overview of commonly used Elasticsearch API commands
# cat paths
/_cat/allocation
/_cat/shards
/_cat/shards/{index}
/_cat/master
/_cat/nodes
/_cat/indices
/_cat/indices/{index}
@nikhilgorantla
nikhilgorantla / docker-compose.yml
Created February 28, 2019 16:29 — forked from johnrengelman/docker-compose.yml
Consul-Rancher stack
consul-registrator:
log_driver: ''
labels:
io.rancher.sidekicks: consul,consul-data
io.rancher.scheduler.global: 'true'
io.rancher.container.pull_image: always
io.rancher.container.hostname_override: container_name
tty: true
restart: always
command:
@nikhilgorantla
nikhilgorantla / 4k Wallpapers
Created February 24, 2019 15:21
Collection of 4k wallpapers links
https://photos.google.com/share/AF1QipN7xLKIoUoPA7lOLBdtmYhVD1X8K1w-KBUhvoOY1bo7VxLsElM6G36907mVFe-jzw?key=Q0FFb0FRUk51dm54NlR0V0dXQWx1REktNmpSWXp3
https://photos.google.com/share/AF1QipNjH5u8LC8JfzbFrlR2uVlDeOIQamHLXiwA6-_QxjK_JPdJhyZzbIfVua0RNHTbIA?key=azVNa2xuR2NvNzNiWHc3dlJNbV90TGVEZlNtSUVn
https://photos.google.com/share/AF1QipNClN5jE5yv0dDghz8S5ArOwWQvb_uQWemX4T3tYhX2zWNYfFbp0hUsGTORyI5VmA?key=ZXVvbVRKc2t4TU4zODRvSVI4UFZqbGJWU01YQ1hB
https://photos.google.com/share/AF1QipNBb1R1oJ1FzM9y4TBGcRld6zY9cjKk00cL2qP9y3dsgnhncFvzcBVXTXBtlkxeEw?key=aFNZZHpOUGdBRTlPN1pRWmlFVnFWMkc5SUZTQ0tn
https://photos.google.com/share/AF1QipMp56Yhx1jJuA9NJt1vgnFeAHGDYMPsbqoZc5o9lYithGBBNWG6wy9WQfleoyhRow?key=SGRCblNrYTNOc1o2czR2Y1J6ZXZfYlRPTC1LbmNR