Skip to content

Instantly share code, notes, and snippets.

View hansbala's full-sized avatar
🎯
Focusing

Hans Bala hansbala

🎯
Focusing
View GitHub Profile
# Working!!! (Use ami-id: ami-059d836af932792c3) (this is us-east-2)
# I have created an AWS private AMI having performed all these steps
# but it may be private :(
# ViperProbe requirements
sudo apt-get update
yes | sudo apt install python3 python3-pip
pip3 install --upgrade pip
pip3 install grpcio-tools docker kafka numpy pandas docker protobuf kubernetes pytest pyyaml
# This script is to be run on the instance that controls the kubernetes clusters
# Create a new cluster (will take like 5-10 mins)
kops create cluster mycluster.k8s.local --zones us-east-2a --yes
## For scaling down and up purposes ##
## Scale down minSize and maxSize -> 0 when done with experimentation ##
kops edit ig nodes
## Scale down minSize and maxSize -> 0 when done with experimentation ##
kops edit ig master-us-east-2a
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
:root {
/* fix for full screen mode */
--tab-toolbar-navbar-overlap: 0px !important;
/* set minimum tab height */
--tab-min-height: 24px !important;
}
#TabsToolbar {height:var(--tab-min-height)!important; margin-top:-1px!important; margin-bottom:1px!important}
/* CS033 Lab 01 - Life
Written June 2012 by the CS033 Dev Team
Executes Conway's Game of Life on the game board set in main,
printing the results to stdout. */
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#!/bin/bash
# This is a script that is used to setup an entire Linux System from scratch (mostly
# Software, programs, and configurations cause I spend most of my time in the terminal)
# This script also spits out my configurations as mentioned above so backup yours if you
# want to (Just a warning!)
# As of now this works with Ubuntu 16.04.4 LTS
# It has not been tested on other systems so use at your own risk