Skip to content

Instantly share code, notes, and snippets.

@chervand
chervand / codecept.sh
Last active June 23, 2017 09:42
Codeception bootstrap bash script
#!/usr/bin/env bash
# Codeception bootstrap script
# http://codeception.com/
# https://gist.github.com/chervand/b92b7d7f49fe978055f9
function trace () {
echo "... ${@}" && "$@"
}
_source="$(readlink -f ${BASH_SOURCE[0]})"
@chervand
chervand / composer.sh
Last active July 19, 2016 13:44
Composer bootstrap bash script
#!/usr/bin/env bash
# Composer bootstrap script
# https://getcomposer.org/
# https://gist.github.com/chervand/bb707efaa1d244b1ed38
function trace () {
echo "... ${@}" && "$@"
}
_source="$(readlink -f ${BASH_SOURCE[0]})"
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Title</title>
<link rel="stylesheet" href="style.css"/>
<style></style>
<script src="script.js"></script>