Skip to content

Instantly share code, notes, and snippets.

View dummy-andra's full-sized avatar

Andra Gabriela Radu dummy-andra

View GitHub Profile
@dummy-andra
dummy-andra / add-update-tags.sh
Created September 9, 2022 12:37 — forked from kasunkv/add-update-tags.sh
Add/Update tags using Azure CLI
result=$(az resource show --resource-group "Tags-PRD-Web" --name kvktagsprdweb --resource-type "Microsoft.Web/sites" --query tags)
tags=$(echo $result | tr -d '"{},' | sed 's/: /=/g')
az resource tag --tags $tags Owner="Kasun Kodagoda" --resource-group "Tags-PRD-Web" --name kvktagsprdweb --resource-type "Microsoft.Web/sites"
@dummy-andra
dummy-andra / braindump.jira
Created April 14, 2022 08:26 — forked from bastjan/braindump.jira
openshift logging elasticsearch tenant log size retention braindump
h2. Summary
*As* a VSHN customer user
*I want* to search and visualise my logs
*So that* I can check my application health and be aided with debugging it.-
h2. Context
APPUiO Public has 2.4TB Log Volumes for ~10 days retention.
@dummy-andra
dummy-andra / snat_dnat_advantech.md
Created November 11, 2020 06:11 — forked from tomasinouk/snat_dnat_advantech.md
examples of SNAT, DNAT with iptables for Advantech, Conel routers, with comments (probably will work on other routers where iptables can be manipulated, care needs to be taken on applying these commands after reboot)

Some examples of SNAT, DNAT with iptables with comments

mainly used in start-up script

masquarade all outgoing packets to be WLAN0 IP

iptables -t nat -A PREROUTING -s 192.168.1.2 -i eth0 -j MASQUERADE

All packets leaving eth0 will have src eth0 ip address

@dummy-andra
dummy-andra / README.md
Created September 24, 2020 07:19 — forked from superseb/README.md
Deploy kubernetes-dashboard on Rancher 2.x cluster exposed using NodePort

Deploy kubernetes-dashboard on Rancher 2.x cluster exposed using NodePort

This has been updated to install Dashboard v2.0.0, see below for pre v2.0.0 instructions

Requirements

Step 1: Generate kubeconfig from the UI

Generate the kubeconfig file for your cluster using the Kubeconfig File button in the Cluster view of your cluster.

@dummy-andra
dummy-andra / System Design.md
Created April 15, 2020 14:37 — forked from vasanthk/System Design.md
System Design Cheatsheet

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?
@dummy-andra
dummy-andra / linux_console_commands.sh
Created February 20, 2020 19:41 — forked from alkavan/linux_console_commands.sh
All kind of useful Linux commands.
# I book marked some sites with useful Linux commands i found.
# then i noticed they were down, so i loaded them via google cache, and copied here.
# source: http://blog.urfix.com/
# source: http://www.pixelbeat.org/cmdline.html
# Enjoy!
# How to run process as background and never die
#
# nohup means: Do not terminate this process even when the stty is cut off.
# > /dev/null means: stdout goes to /dev/null (which is a dummy device that does not record any output).
@dummy-andra
dummy-andra / linux-cmd-cheatsheet.md
Created February 20, 2020 19:40 — forked from riipandi/linux-cmd-cheatsheet.md
Linux Command Cheat Sheet

#Linux Cheat Sheet

##File Commands:

  • ls – directory listing
  • ls -al – formatted listing with hidden files
  • cd dir - change directory to dir
  • cd – change to home
  • pwd – show current directory
  • mkdir dir – create a directory dir
  • rm file – delete file
@dummy-andra
dummy-andra / The Technical Interview Cheat Sheet.md
Created February 11, 2020 09:09 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@dummy-andra
dummy-andra / resources.md
Created January 22, 2020 09:51 — forked from fffaraz/resources.md
CS 306 - Linux/UNIX Programming