Skip to content

Instantly share code, notes, and snippets.


Aravinthan.K aravinthanpnk

View GitHub Profile
rkrzr /
Last active Jan 7, 2021
Automatically generate ansible tags of the same name for each role in a playbook
This module implements an Ansible plugin that is triggered at the start of a playbook.
The plugin dynamically generates a tag for each role. Each tag has the same name as its role.
The advantage of this is that it saves you some boilerplate, because you don't have to wrap
all tasks of a role in an additional block and assign a tag to that.
Additionally, it works automatically when you add new roles to your playbook.
Usage is exactly the same as without this plugin:
hartmannr76 /
Last active Sep 17, 2020
Flyway/Postgres Migration with Docker


docker-compose -f docker-compose.migration.yml run flyway /opt/scripts/

nrobinaubertin / app.component.ts
Created Jan 17, 2017
Exemple of ngb-date-parser-formatter implementation (ng-bootstrap)
View app.component.ts
import { NgbDatepickerConfig, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
import { NgbDateFRParserFormatter } from "./ngb-date-fr-parser-formatter"
providers: [{provide: NgbDateParserFormatter, useClass: NgbDateFRParserFormatter}]
export class AppComponent {}
daicham / .gitlab-ci.yml
Last active Dec 10, 2020
A sample of .gitlab-ci.yml for a gradle project
View .gitlab-ci.yml
image: java:8-jdk
- build
- test
- deploy
# - echo `pwd` # debug
fideloper /
Last active Jul 1, 2020
instal mysql5.7 non-interactive on ubuntu 14.04
#!/usr/bin/env bash
# This is assumed to be run as root or with sudo
export DEBIAN_FRONTEND=noninteractive
# Import MySQL 5.7 Key
# gpg: key 5072E1F5: public key "MySQL Release Engineering <>" imported
apt-key adv --keyserver --recv-keys 5072E1F5
echo "deb trusty mysql-5.7" | tee -a /etc/apt/sources.list.d/mysql.list
ruario /
Last active Jun 12, 2020
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
PurpleBooth /
Last active Jan 26, 2021
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


mrliptontea /
Last active Jan 6, 2021 — forked from TheShrike/gist:6111200
Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)


Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line
avoelkl / gist:49563c516d6cb318eb34
Last active Nov 17, 2020
Non-blocking and quick database dumps for large databases
View gist:49563c516d6cb318eb34


Add --single-transaction and --quick to your mysqldump command.


sets the isolation mode to REPEATABLE READ and starts a transaction before dumping data. useful for InnoDB tables, dumps the consistent state without blocking any applications.