Skip to content

Instantly share code, notes, and snippets.

View snehangshuk's full-sized avatar

Snehangshu Karmakar snehangshuk

View GitHub Profile

Section 2.2: Roles and Structure - Prompt Templates

📋 For Circuit Users (No API Access Required)

This guide extracts the key prompts from 2.2-roles-and-structure.ipynb into copy-paste templates for use in web-based AI chat interfaces like Cisco's internal Circuit.

Aspect Details
Goal Master role prompting personas and structured input patterns
Time ~20 minutes
@snehangshuk
snehangshuk / system_replacements.md
Created June 21, 2021 08:50 — forked from squarism/system_replacements.md
Modern system utility replacements (Go / Rust or even just something new)

Interesting and Modern CLI Tools

The absolute requirement is that these must be binaries that could go into /usr/bin one day. No python, ruby or js stuff. Not that dynamic languages are bad/evil, but I think system utilities should be binaries. I also think it's interesting that people are writing replacements in Go/Rust/Other that rethink some unix legacy. Replacement doesn't mean better in all cases. I just think it's an interesting time but also a good measure of what these compiled languages can handle/tackle/address. Will we see larger and more impressive CLIs? Or will the feature sets be about the same but the quality/stability/safety be better?

It's going to be reductive to explain some of these tools in one line.

  • exa - ls replacement
  • caddy - HTTP server (better than python -m SimpleHTTPServer)
@snehangshuk
snehangshuk / iterm2.md
Created June 21, 2021 08:38 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@snehangshuk
snehangshuk / install-kubernetes-flannel-centos7.md
Created July 8, 2020 07:00 — forked from rkaramandi/install-kubernetes-flannel-centos7.md
Installing Kubernetes with the Flannel Network Plugin on CentOS 7

Install Prerequisites on ALL (Worker and Master) Nodes

Let's remove any old versions of Docker if they exist:

sudo yum remove docker \
                  docker-common \
                  docker-selinux \
                  docker-engine