Skip to content

Instantly share code, notes, and snippets.

View pratap-bhaskar's full-sized avatar
🏠
Working from home

Pratap Bhaskar pratap-bhaskar

🏠
Working from home
View GitHub Profile
@pratap-bhaskar
pratap-bhaskar / profile.md
Last active December 16, 2022 06:05
Default Powershell
using namespace System.Management.Automation
using namespace System.Management.Automation.Language

# This is an example profile for PSReadLine.
#
# This is roughly what I use so there is some emphasis on emacs bindings,
# but most of these bindings make sense in Windows mode as well.

Import-Module PSReadLine
#overwrite apt repositories
release=$(lsb_release -cs)
echo "deb http://archive.ubuntu.com/ubuntu/ ${release} main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ ${release}-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ ${release}-security main restricted universe multiverse
" | sudo tee /etc/apt/sources.list \
&& sudo apt update
# Install minimum software required
sudo apt install -y whois \
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/pbhaskar/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# Update the apt package list.
sudo apt-get update -y
# Install Docker's package dependencies.
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: docker-hello-world
labels:
app: docker-hello-world
spec:
replicas: 3
template:
metadata: