Skip to content

Instantly share code, notes, and snippets.

View robertfyffe's full-sized avatar
🎯
Focusing

Rob Fyffe robertfyffe

🎯
Focusing
View GitHub Profile
@robertfyffe
robertfyffe / pre-commit
Last active October 6, 2016 14:50 — forked from okovalov/pre-commit
Run phpunit pre-commit stop commit if failed.
#!/usr/bin/php
<?php
## SETUP
$isPhpCsPass = false;
$isPhpMdPass = false;
$isPhpUnitPass = false;
## PHPCS
To be able to use Fabric for deployments there are a few requirments:
- you need to be able to ssh to the deployment server
- your Python version should match a certain required one
- you must have `pip` installed
- you must have `virtualenv` installed
- you must have `fabric` installed inside your virtual environment (please read about virtual env below)
Note about SSH: Fabric uses ssh to connect to the sever, so before you even
start with Fabric please make sure your computer (user) public key is added to the
@robertfyffe
robertfyffe / gist:8315921
Last active September 8, 2016 16:55
HTML: Starting Template
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
<link rel="stylehsheet" href="">
</head>
<body>
</body>