Skip to content

Instantly share code, notes, and snippets.

View sridharsam's full-sized avatar
😵
Working

Starlord93 sridharsam

😵
Working
  • Bangalore
View GitHub Profile
@sridharsam
sridharsam / SonarQubeConfig.txt
Created November 1, 2021 13:57 — forked from marek-panek/SonarQubeConfig.txt
SonarQube configuration with PostgreSQL
1. In PostgreSQL database
1.1 Create user
create user <user_name> with password '<password>';
1.2 Create database
create database <db_name> with owner <user_name> encoding 'UTF8';
2. Edit <sonar_install_dir>/conf/sonar.properties
@sridharsam
sridharsam / install-docker.md
Created October 30, 2021 22:24 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start
@sridharsam
sridharsam / DockerImageCleanup.yml
Last active October 27, 2021 14:54 — forked from blackandred/main.yml
Ansible + Docker: Clean up unused, old containers and images to free up the disk space
#
# Created for free for the anarchist movement around the world.
# See iwa-ait.org, zsp.net.pl, wolnosciowiec.net
#
- name: Schedule a clean up for Docker images
become: yes
cron:
name: "docker-clean-up-images"
minute: "0"
@sridharsam
sridharsam / Activate Office 2019 for macOS VoL.md
Created February 18, 2020 16:22 — 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