Skip to content

Instantly share code, notes, and snippets.

View shudipta's full-sized avatar

Shudipta Sharma shudipta

View GitHub Profile
Wed Jun 20 05:59:16 UTC 2018
@shudipta
shudipta / contents
Last active April 10, 2018 12:18
gist for patch issue
obj:
{"metadata":{"name":"labels-567ffd7c48","namespace":"kube-system","creationTimestamp":null,"labels":{"app":"label_extractor","pod-template-hash":"1239983704"},"annotations":{"deployment.kubernetes.io/desired-replicas":"1","deployment.kubernetes.io/max-replicas":"2","deployment.kubernetes.io/revision":"1","docker.com/labels-git-commit":"unkown","hi":"hello"},"ownerReferences":[{"apiVersion":"extensions/v1beta1","kind":"Deployment","name":"labels","uid":"ff0c41a7-3cb6-11e8-b788-080027b151f8","controller":true,"blockOwnerDeletion":true}]},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"label_extractor","pod-template-hash":"1239983704"}},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"label_extractor","pod-template-hash":"1239983704"}},"spec":{"containers":[{"name":"labels","image":"shudipta/labels","ports":[{"containerPort":80,"protocol":"TCP"}],"resources":{},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolic
@shudipta
shudipta / MinGW-w64.sublime-build
Created September 30, 2017 07:38 — forked from sagebind/MinGW-w64.sublime-build
Sublime Text 3 C++ build system for mingw-w64
{
"cmd": ["g++", "-o", "${file_path}/${file_base_name}.exe", "-static-libgcc", "-static-libstdc++", "*.cpp"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.cpp, source.c++",
"path": "c:/Program Files/mingw-w64/mingw64/bin",
"shell": true,
"variants": [
{
"name": "Run",