Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View vikaschenny's full-sized avatar
😊
I may be slow to respond.

chennaiah vikaschenny

😊
I may be slow to respond.
View GitHub Profile
@vikaschenny
vikaschenny / Activate Office 2019 for macOS VoL.md
Created August 11, 2023 01:37 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@vikaschenny
vikaschenny / mac-setup-redis.md
Created February 22, 2021 20:22 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@vikaschenny
vikaschenny / sonarqube-docker-compose.yml
Created July 20, 2020 09:18 — forked from Warchant/sonarqube-docker-compose.yml
docker-compose file to setup production-ready sonarqube
version: "3"
services:
sonarqube:
image: sonarqube
expose:
- 9000
ports:
- "127.0.0.1:9000:9000"
networks:
@vikaschenny
vikaschenny / Create-branch-with-Github-API.md
Created April 30, 2020 20:19 — forked from auwsome/Create-branch-with-Github-API.md
Create a branch on Github using API and Python
@vikaschenny
vikaschenny / gitlab-merge-request.sh
Created April 30, 2020 11:07 — forked from bench/gitlab-merge-request.sh
A script to create gitlab MR from a shell
#!/bin/bash
# Check if jq is installed
if ! type "jq" > /dev/null; then
echo please install jq
fi
title="$(git log --oneline | head -1 | cut -f 2- -d ' ')"
source_branch="$(git branch | grep '*' | cut -f 2 -d ' ')"
target_branch=master
@vikaschenny
vikaschenny / ansible-galaxy.bat
Created March 1, 2019 08:36 — forked from maurizi/ansible-galaxy.bat
Running Ansible on Windows
@echo off
cygwin-shim.bat /bin/ansible-galaxy %*
@vikaschenny
vikaschenny / playbook-install-jdk8.yml
Created September 19, 2018 22:54 — forked from andershedstrom/playbook-install-jdk8.yml
Ansible playbook for installing Oracle Java 8 on CentOS
---
- hosts: app
remote_user: vagrant
sudo: yes
vars:
download_url: http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz
download_folder: /opt
java_name: "{{download_folder}}/jdk1.8.0_05"
java_archive: "{{download_folder}}/jdk-8u5-linux-x64.tar.gz"
@vikaschenny
vikaschenny / bamboo_build.ps1
Created August 28, 2018 06:55 — forked from crejb/bamboo_build.ps1
Remotely trigger/queue a Bamboo build from command line via the Rest API
# Disable progress bars created by Invoke-RestMethod which internally uses Write-Progress)
$progressPreference = 'silentlyContinue'
$url = 'http://bamboohost:8085/'
$apiUrl = $url + "rest/api/latest/"
$project = 'ZZ-ZZZ'
$queueUrl = ("{0}queue/{1}" -f $apiUrl, $project)
$username='username'
$password='password'
@vikaschenny
vikaschenny / postgres istallation and configuration.txt
Last active May 22, 2018 10:36
postgres istallation and configuration
How To Install and Use PostgreSQL on Ubuntu 16.04
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
$ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
$ sudo su - postgres
$ psql
@vikaschenny
vikaschenny / backup.sh
Created May 8, 2018 14:40 — forked from jeremyharris/backup.sh
Quick bash script to backup mysql databases as separate files similar to how MySQL Workbench does
#!/bin/bash
#
# Script to backup all mysql tables as separate files
#
# $BACKUP_PATH/<date>/<db_name>/<host>_<table_name>.gz
# MySQL settings
MYSQL_USER="root"
MYSQL_PASS=""
MYSQL_HOST="localhost"