Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing on Excellence in Cloud and Python

Mayur S. Patil (मयूर पाटील) ramlaxman

🎯
Focusing on Excellence in Cloud and Python
View GitHub Profile
@ramlaxman
ramlaxman / Openstack installation on CentOS 7.md
Created Dec 6, 2019
Openstack installation on CentOS 7
View Openstack installation on CentOS 7.md

Host: Windows 10 Hypervisor: Oracle VBox Guest: CentOS 7

  • RAM: 5 GB
  • HDD: 40 GB
  • Network Mode in VBox: Adapter 1: NAT Adapter 2: Host Only Network -> Virtualbox network.
View ACM ICPC Advice.md

Interesting Discussion as well as Guidance

Preparation of ICPC

Some pointers from my side:

ACM ICPC

Concentrate on your Regional: It helps having a fixed goal to focus on. This means acquainting yourself with past years' problems etc. And hopefully, there's a steady or gradual trend in problem style, and its not the case that one year you have amazing problems, the next you have weak test data etc.

View Ethical Hacking Practs
Geolocation
# show hosts
# show domains
# add hosts
github.com
# use hosts-hosts/resolve
# show hosts
# run 1
# show hosts
# use freegeoip
@ramlaxman
ramlaxman / The Technical Interview Cheat Sheet.md
Last active Apr 3, 2019 — 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.
View The Technical Interview Cheat Sheet.md

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

Array

Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
@ramlaxman
ramlaxman / Ansible Summary.md
Last active Dec 23, 2020
Ansible Summary.md
View Ansible Summary.md

Ansible

It's an automation language, engine and orchestration tool developed by Red hat written in Python using YAML format for writing instructional scripts, affectionately known as "Ansible playbook".

It has an automation engine that runs Ansible playbooks. Cloud provider is present in the ecosystem (AWS, Azure, Google, DigitalOcean, OVH, etc…).

Pros

  • It is an agent-less tools In most scenarios, it use ssh as a transport layer. In some way you can use it as 'bash on steroids'
  • It is very easy to start. If you are familiar with ssh concept - you already know Ansible (ALMOST).
@ramlaxman
ramlaxman / Python-tips.md
Last active Nov 22, 2018
Python-tips.md
View Python-tips.md

Introduction

  • Lists, strings, and tuples are ordered collections that are very similar in general structure but have specific differences that must be understood for them to be used properly.

  • Sets and dictionaries are unordered collections.

  • To make sets and dict ordered, we need to use: Frozensets and Ordered Dictionary.

  • The possible state values for a boolean object are True and False with standard boolean operators,and, or, and not.

View Bash-Tips.sh
# to open multiple files in vi
vi {f1,f2,f3}
# when opening first file
# press INS button
# save file with `:wn`
# when you are done with last file `:wa`
# now to save and quit `:wq`
View Devops-interview-questions
General Questions:
What function does DNS play on a network?
DNS, or Domain Name System, associates domain names to entities in the system. The widest used example is translating domain names to IP addresses, in order to locate devices. For example, when asked what www.exmaple.org is, DNS will respond with 93.184.216.119, the IP of that domain.
Further Reading: https://en.wikipedia.org/wiki/Dns
What is HTTP?
HTTP, or Hypertext Transfer Protocol, is "an application protocol for distributed, collaborative, hypermedia information systems (Wikipedia)", and is the foundation of the World Wide Web (distinct from the Internet as a whole). In the context of System Administration, HTTP is related to the applications or services that handle that protocol, most notably web servers like Apache or Nginx (among others).
@ramlaxman
ramlaxman / git tutorials.md
Last active May 9, 2018 — forked from jaseemabid/git tutorials.md
Awesome git tutorials I am finding here and there
View git tutorials.md

A bunch of good git tutorials

Intro to git