Skip to content

Instantly share code, notes, and snippets.

View kishore-vkrn's full-sized avatar

Kishore Venkataramanan kishore-vkrn

View GitHub Profile
@kishore-vkrn
kishore-vkrn / fish_prompt
Created March 17, 2022 16:53 — forked from trautonen/fish_prompt
Terraform workspaces in fish shell
# Edit your fish prompt with `funced fish_prompt` and
# add the following to a desired place in the function.
# Save the prompt after editing with `funcsave fish_prompt`.
# Set a variable for workspace color.
set -l tfworkspace_color (set_color green)
# Append the workspace name at the current prompt position if
# the directory contains a .terraform subdirectory
if test -d .terraform
@kishore-vkrn
kishore-vkrn / wa_dark.js
Created May 13, 2019 12:13
Whatsapp dark theme for Rambox
function applycss(css){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('style');
s.setAttribute('type', 'text/css');
s.appendChild(document.createTextNode(css));
head.appendChild(s);
}
applycss(`
/*Theme made by RaitaroH @https://gitlab.com/RaitaroH/WhatsApp-DeepDark*/
/*GNU General Public License v3.0*/
PS C:\Users\kishore_venkataraman> python --version
Python 3.6.5
PS C:\Users\kishore_venkataraman> pip3 --version
pip 9.0.1 from c:\python36\lib\site-packages (python 3.6)
PS C:\Users\kishore_venkataraman> pip3 install git+git://github.com/Nike-Inc/gimme-aws-creds.git
Collecting git+git://github.com/Nike-Inc/gimme-aws-creds.git
Cloning git://github.com/Nike-Inc/gimme-aws-creds.git to c:\users\kishor~1\appdata\local\temp\1\pip-po1xpw57-build
Requirement al
@kishore-vkrn
kishore-vkrn / Atom_export_settings.md
Created March 16, 2018 04:06 — forked from michalczukm/Atom_export_settings.md
Atom: Backup all settings

Export:

  1. Copy from ${user}/.atom:
  • config.cson
  • keymap.cson
  • snippets.cson
  • styles.less
  1. Save installed packages list apm list --installed --bare > packages.list
2018/03/10 19:26:27 [INFO] Packer version: 1.2.1
2018/03/10 19:26:27 Packer Target OS/Arch: windows amd64
2018/03/10 19:26:27 Built with Go Version: go1.10
2018/03/10 19:26:27 Using internal plugin for cloudstack
2018/03/10 19:26:27 Using internal plugin for hyperv-iso
2018/03/10 19:26:27 Using internal plugin for vmware-vmx
2018/03/10 19:26:27 Using internal plugin for amazon-chroot
2018/03/10 19:26:27 Using internal plugin for digitalocean
2018/03/10 19:26:27 Using internal plugin for file
2018/03/10 19:26:27 Using internal plugin for googlecompute
{
"_comment": "Packer Test - Build",
"variables": {
"aws_access_key": "<access>",
"aws_secret_key": "<key>",
"region": "us-east-1"
},
"builders": [{
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
C:\Users\kishore_venkataraman\Desktop\Git\packer>packer build --debug packer.json
Debug mode enabled. Builds will not be parallelized.
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name: Ezto Packer
==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue.
amazon-ebs: Found Image ID: ami-aef109d3
==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue.
==> amazon-ebs: Using existing SSH private key
@kishore-vkrn
kishore-vkrn / ansible-summary.md
Created December 12, 2017 21:08 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):

Detailed Instructions

For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.

Install Jenkins Plugins