Skip to content

Instantly share code, notes, and snippets.

View anish137i's full-sized avatar
💭
anishmandal.in

Anish Mandal anish137i

💭
anishmandal.in
View GitHub Profile

Keybase proof

I hereby claim:

  • I am anish137i on github.
  • I am anish137i (https://keybase.io/anish137i) on keybase.
  • I have a public key whose fingerprint is 0CAC 3B32 410F 18BD 8711 A876 FAD9 1276 009C 8B2B

To claim this, I am signing this object:

@anish137i
anish137i / GIT DB Export Hook
Last active December 11, 2022 11:58 — forked from glauckner/GIT DB Export Hook
Git pre commit hook to export database
#!/bin/bash
DBUSER="root"
DBPASS=""
DB="test"
SCHEMAPATH="__sql"
if [ ! -d "$SCHEMAPATH" ]; then
mkdir $SCHEMAPATH
if [ "$(uname)" == "Darwin" ]; then
@anish137i
anish137i / mysql-backup-windows.bat
Last active November 17, 2017 05:09 — forked from sindresorhus/mysql-backup-windows.bat
Backup MySQL databases in separate gzipped sql files on Windows
@echo off
REM Following Script will fow on Windows 10
REM Design to take XAMPP MYSQL Backup
REM LAST UPDATE on 17-11-2017
set dbUser=root
set dbPassword=
set backupDir="E:\Backup\"
set mysqldump="E:\xampp\mysql\bin\mysqldump.exe"
set mysqlDataDir="E:\xampp\mysql\data"
@anish137i
anish137i / html
Created May 29, 2018 07:14
GST Number Client Side verification
<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header">New Vendor Add</div>
<div class="card-body">
<form autocomplete="off" >
@anish137i
anish137i / .vimrc
Last active December 11, 2019 12:07
My Vim RC gvim or mvim
"*****************************************************************************
"" The following vimrc file us used for gvim or mvim files that incluse some quick
": downloaded from https://gist.github.com/anish137i/c318f8a4dfaa7ba47bfc35c29ff89aae
"" setting that support for my work enviorment
"" Them requirement "https://github.com/gosukiwi/vim-atom-dark"
"" Free to use and customize as per your need
"*****************************************************************************
"" Map leader to ,
let mapleader=','
@anish137i
anish137i / Docker-web-Dockerfile
Created June 10, 2020 19:31
Docker Laravel Apache Postgres and redis
FROM php:7.2.10-apache-stretch
WORKDIR /var/www/html
RUN apt-get update -yqq && \
apt-get install -y apt-utils zip unzip && \
apt-get install -y nano && \
apt-get install -y libzip-dev libpq-dev && \
a2enmod rewrite && \
@anish137i
anish137i / docker-compose.yml
Last active June 10, 2020 21:18
Docker Nginx MariaDB redis
version: '3'
services:
php:
container_name: ${APP_NAME}_php
build:
context: ./docker/php
volumes:
- ./:/var/www/html
web: