Skip to content

Instantly share code, notes, and snippets.

View vishal-biyani's full-sized avatar

Vishal vishal-biyani

View GitHub Profile

Keybase proof

I hereby claim:

  • I am vishal-biyani on github.
  • I am vbiyani (https://keybase.io/vbiyani) on keybase.
  • I have a public key whose fingerprint is 6545 442F A58A B76D 1E37 F6AA BA44 CB7F 013F FC9B

To claim this, I am signing this object:

@vishal-biyani
vishal-biyani / .screenrc-main-example
Created April 13, 2018 11:50 — forked from ChrisWills/.screenrc-main-example
A nice default screenrc
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
@vishal-biyani
vishal-biyani / fission-spec-deploy-archive.md
Last active December 21, 2018 10:51
This gist shows how to use Fission specs with Fission functions and code which is built locally and then deployed to Fission using specs.

Building source code locally

This example will showcase how to use specs in Fission so that CI/CD flow can be designed better using the specs. Also we are building the function as part of this flow - so it is assumed that the Kubernetes cluster does not have internet connectivity and can not run things like pip or maven to fetch dependencies for building from source to package.

We have a simple python function which needs one library for it's working. The files are:

$ tree .
.
├── __init__.py
@vishal-biyani
vishal-biyani / Jenkinsfile-partial.groovy
Last active February 11, 2019 05:58
Jenkinsfile-Monorepo
stages {
stage('configure webook') {
steps {
script {
setupWebhook()
}
}
}