Skip to content

Instantly share code, notes, and snippets.

@rajatsing
rajatsing / iterm2-solarized.md
Created August 30, 2021 12:13 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@rajatsing
rajatsing / gist:1e7609b51c88aa3c678c84a63e21b079
Created August 30, 2021 12:04 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
func TestUpdate(t *testing.T) {
request := reconcile.Request{
NamespacedName: types.NamespacedName{
Name: "storage-test",
Namespace: "storage-test-ns",
},
}
cases := []struct {
label string
sc *v1.StorageCluster
@rajatsing
rajatsing / System Design.md
Created August 13, 2020 14:04 — 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?
apiVersion: ocs.openshift.io/v1
kind: StorageCluster
metadata:
namespace: openshift-storage
name: example-storagecluster
spec:
manageNodes: false
monPVCTemplate:
spec:
storageClassName: local-sc
apiVersion: apps/v1
kind: Deployment
metadata:
name: rook-ceph-tools
namespace: rook-ceph
labels:
app: rook-ceph-tools
spec:
replicas: 1
selector:
apiVersion: ocs.openshift.io/v1
kind: StorageCluster
metadata:
namespace: openshift-storage
name: example-storagecluster
spec:
manageNodes: false
monPVCTemplate:
spec:
storageClassName: localblock-file
@rajatsing
rajatsing / minishiftlog.txt
Last active March 18, 2019 19:47
Logs for minishift
-- minishift version: v1.31.0+cfc599c
-- Starting profile 'minishift'
Found binary path at /usr/local/bin/docker-machine-driver-kvm
Launching plugin server for driver kvm
Plugin server listening at address 127.0.0.1:38551
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minishift) Calling .GetState