Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
anishmandal.in

Anish Mandal anish137i

💭
anishmandal.in
View GitHub Profile
@anish137i
anish137i / docker-compose.yml
Last active Jun 10, 2020
Docker Nginx MariaDB redis
View docker-compose.yml
version: '3'
services:
php:
container_name: ${APP_NAME}_php
build:
context: ./docker/php
volumes:
- ./:/var/www/html
web:
@anish137i
anish137i / Docker-web-Dockerfile
Created Jun 10, 2020
Docker Laravel Apache Postgres and redis
View Docker-web-Dockerfile
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 / .vimrc
Last active Dec 11, 2019
My Vim RC gvim or mvim
View .vimrc
"*****************************************************************************
"" 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 / html
Created May 29, 2018
GST Number Client Side verification
View html
<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 / mysql-backup-windows.bat
Last active Nov 17, 2017 — forked from sindresorhus/mysql-backup-windows.bat
Backup MySQL databases in separate gzipped sql files on Windows
View mysql-backup-windows.bat
@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 / GIT DB Export Hook
Last active Jan 29, 2017 — forked from glauckner/GIT DB Export Hook
Git pre commit hook to export database
View GIT DB Export Hook
#!/bin/bash
DBUSER="root"
DBPASS=""
DB="test"
SCHEMAPATH="__sql"
if [ ! -d "$SCHEMAPATH" ]; then
mkdir $SCHEMAPATH
if [ "$(uname)" == "Darwin" ]; then
View keybase.md

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: