Skip to content

Instantly share code, notes, and snippets.

View savishy's full-sized avatar

Vish savishy

View GitHub Profile
@savishy
savishy / Vagrant Tips and Tricks.md
Last active May 25, 2022 23:05
Vagrant Tips and Tricks

Vagrant Tips and Tricks

Vagrant shell provisioner allows reading from Gists!

reference

Assuming

  1. You are using Vagrant and Shell provisioner often (e.g when doing Windows provisioning you will end up using Powershell a lot)
  2. You have started running into the problem of reusing your scripts

Jenkins + Docker

The exact list of plugins for enabling Docker commands within Jenkins jobs is somewhat unclear.

Looks like at least the Docker Build Step plugin is required to make this happen.

This does two things:

  1. Helps us to run docker commands within Execute Shell steps
  2. Adds the "Execute Docker Command" build step .
@savishy
savishy / Oracle DB Commands.md
Last active December 9, 2016 07:34
Oracle DB

Oracle DB Tips and Tricks

Connecting to a DB with sqlplus

You can connect both to a local or remote DB using the SQLPlus tool.

Syntax:

Run the SQLPlus command with following arguments.

@savishy
savishy / ESB.md
Last active November 26, 2016 06:17
About ESB

What is it?

UltraESB Architecture

  • Enterprise Service Bus (ESB)
  • Conceptually similar to the "bus" concept in computer architecture. But applied to Service Oriented Architecture. (SOA)
  • Control routing of requests from a client to a service that can answer the request.
  • Event Handling
@savishy
savishy / cygwin.md
Last active November 24, 2016 06:11

List of recommended packages for Cygwin

Necessary

  1. openssh
  2. ping
  3. wget
  4. curl
  5. vim and/or emacs
  6. tar
  7. zip
@savishy
savishy / ec2-cli-cleanup-group.sh
Last active August 24, 2016 03:44
Amazon EC2 CLI and API: Tips, Tricks and Scripts
#!/bin/bash
set -e
###########
# AWS CLI Must be installed e.g using sudo apt install awscli.
# This script cleans up your security group to remove old IP addresses from the rules for SSH, and
# adds your current IP address.
# This scenario is especially for cases where your ISP only allows dynamic IP addresses, or you
# access AWS from multiple locations.
@savishy
savishy / calabash_android_cheatsheet.md
Last active July 6, 2016 04:53
List of useful calabash commands

Table of Contents

  1. FAQ
  2. Commands
  3. How Tos

Introduction

This is a list of useful commands in Calabash for Android. The Ruby API is assumed. :exclamation: many of the cheats here are Ruby and not Calabash. This is probably because my Ruby sucks :)

@savishy
savishy / Docker Cheatsheet.md
Last active June 13, 2017 10:59
docker commands

Docker Images

list all docker dangling images

Dangling images are "no name, no tag" images <none>:<none> created during image building. These images are bad because they consume disk space. Reference.

docker images -f "dangling=true"