Skip to content

Instantly share code, notes, and snippets.

smaqeelkazmi / Start-Vagrant.bat
Created Dec 10, 2019 — forked from Iristyle/Start-Vagrant.bat
Windows startup script to fire up a Vagrant VM safely on boot (using Run registry key for instance)
View Start-Vagrant.bat
cd /d %~dp0
for /f "tokens=2* delims= " %%F IN ('vagrant status ^| find /I "default"') DO (SET "STATE=%%F%%G")
ECHO Close this window if it remains open, and http://localhost:8081 is responsive
IF "%STATE%" NEQ "saved" (
ECHO Starting Vagrant VM from powered down state...
vagrant up
) ELSE (
smaqeelkazmi /
Created Jun 28, 2019 — forked from noelboss/
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 local 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 or and pull or export it to a production server. Or you use a service like to act upon a Web-Hook that's triggered that service.

You can’t perform that action at this time.