Skip to content

Instantly share code, notes, and snippets.

View pksunkara's full-sized avatar
🤖
Working on automation

Pavan Kumar Sunkara pksunkara

🤖
Working on automation
View GitHub Profile
@pksunkara
pksunkara / keybase.md
Created June 13, 2014 07:11
keybase.md

Keybase proof

I hereby claim:

  • I am pksunkara on github.
  • I am pksunkara (https://keybase.io/pksunkara) on keybase.
  • I have a public key whose fingerprint is 99CE B8EB B2ED C081 CA78 1127 F970 11F6 0D3A A3F6

To claim this, I am signing this object:

@pksunkara
pksunkara / github_hook.js
Last active March 13, 2021 05:39
Delete github repo hooks
// TODO: Github Apps
const client = require('octonode').client(process.env.GITHUB_TOKEN);
const async = require('async');
const colors = require('colors');
const inquirer = require('inquirer');
const program = require('commander');
// TODO: Github Org
program
.version('0.1.0')
@pksunkara
pksunkara / resourceful.md
Last active October 12, 2015 06:18
Many-to-Many in resourceful

One-to-Many relationship

In some web applications, we need to define a one-to-many relationship between two entities. For example, let's take github.

Example: One-to-Many relationship exists between user and repository. User pksunkara have 2 repositories octonode and hub

The entities are defined as the following:

var resourceful = require('resourceful');
@pksunkara
pksunkara / clarg.md
Created December 16, 2011 12:27
Command Line Arguments Specification

Command Line Arguments Specification

This specification defines Command Line Arguments level 1 (CLARG 1.0). This document aims to direct development of command line tools conform to a set of rules while parsing options.

Arguments

The different type of arguments are:

  • Short Option
  • Long Option
@pksunkara
pksunkara / config
Last active April 17, 2024 05:47
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta