Skip to content

Instantly share code, notes, and snippets.

View anjuls's full-sized avatar

Anjul Sahu anjuls

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: add-header
namespace: anonymous
spec:
configPatches:
- applyTo: VIRTUAL_HOST
match:
context: SIDECAR_OUTBOUND
@anjuls
anjuls / Vagrant Kubernetes Cluster.md
Last active March 19, 2021 10:24 — forked from danielepolencic/README.md
Create 3 nodes Kubernetes cluster locally with Vagrant

3 Virtual Machines Kubernetes cluster

Dependencies

You should install VirtualBox and Vagrant before you start.

Creating the cluster

You should create a Vagrantfile in an empty directory with the following content:

Keybase proof

I hereby claim:

  • I am anjuls on github.
  • I am anjulsahu (https://keybase.io/anjulsahu) on keybase.
  • I have a public key whose fingerprint is EB75 C302 6B53 52D3 2152 40DA 9F41 0528 DC5A 6DF0

To claim this, I am signing this object:

#!/bin/bash
if [[ "$1" = '-s' ]]; then
sqlplus -s scott/oracle@ORCL<<EOF
declare
foo clob;
begin
dbms_application_info.set_action('LOBLOAD');
foo:=rpad(dbms_random.value(),30000,dbms_random.value());
for i in 1..1000 loop
@anjuls
anjuls / .bashrc
Created April 22, 2011 20:55
bash coloring
# .bashrc
###########
export PS1="\e[0;32m\u@\h \w> \e[m"
# Define a few Color's
BLACK='\e[0;30m'
BLUE='\e[0;34m'
GREEN='\e[0;32m'
CYAN='\e[0;36m'
RED='\e[0;31m'