Skip to content

Instantly share code, notes, and snippets.

View rajatcing's full-sized avatar
🎯
Focusing

Rajat Singh rajatcing

🎯
Focusing
View GitHub Profile
@rajatcing
rajatcing / default.md
Created July 9, 2025 15:52 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@rajatcing
rajatcing / 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

@rajatcing
rajatcing / 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
@rajatcing
rajatcing / 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
@rajatcing
rajatcing / 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