Skip to content

Instantly share code, notes, and snippets.

View atularvind's full-sized avatar
👨‍💻
Making Cool Stuffs..

Atul Arvind atularvind

👨‍💻
Making Cool Stuffs..
View GitHub Profile
@atularvind
atularvind / virtual box folder share.txt
Created October 4, 2016 05:18
Virtual box share folder Host Linux mint to guest Ubuntu 16.04 LTS
In virtual box image settings go to the shared folder tab.
add a desired folder you wanted to share.
on the guest install
sudo apt-get install virtualbox-guest-additions-iso
you should see the /media/sf_share_folder
mount that on the home folder using, here ws is my workspace
@atularvind
atularvind / Switch.html
Created August 20, 2017 06:59
HTML Switch Inspiration with text in bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style type="text/css">
.switch {
position: relative;
@atularvind
atularvind / git-deployment.md
Created December 7, 2017 18:55 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.

INSTALL_WKHTMLTOPDF="True"
WKHTMLTOX_X64=https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo apt-get install wget git bzr python-pip gdebi-core -y
sudo wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb
sudo dpkg -i libpng12-0_1.2.49-1+deb7u2_amd64.deb
if [ $INSTALL_WKHTMLTOPDF = "True" ]; then