I hereby claim:
- I am davidneedham on github.
- I am davidneedham (https://keybase.io/davidneedham) on keybase.
- I have a public key whose fingerprint is 013B 103F 8988 7C09 793E E071 E707 2738 F2DB 3085
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My First Web Page!</title> | |
</head> | |
<body> | |
<h1>Hello Pantheors!</h1> | |
<a href="hello.html">Hello</a> | |
<a href="page1.html">Page 1</a> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My First Web Page!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
</body> | |
</html> |
#!/usr/bin/env bash | |
# d8-composer-github-ci-site-create.sh <slug> <email> <github> | |
ORG_NAME='@TODO' | |
TERMINUS_TOKEN='@TODO' | |
export GITHUB_TOKEN='@TODO' | |
export CIRCLE_TOKEN='@TODO' | |
GITHUB_API_URL="https://api.github.com/repos/@TODO" |
I hereby claim:
To claim this, I am signing this object:
The idea is based on a gist by @jimbojsb.
You can use Pygments or Highlight.
brew install python
<?php | |
/* | |
* Name: Drush Alias Wildcard | |
* | |
* Description: When working on Enjoy Creativity's server, you | |
* can always assume the connection information is the same, | |
* except for the project name. Once you set up your | |
* ~/.ssh/config to use the hostname for the project, this | |
* command will let you sync the database or files directory | |
* between local and dev. |
#!/bin/bash | |
#------------------------------- | |
# Local Development | |
#------------------------------- | |
function add_new_host () { | |
read -p "New local site name: " SITE | |
HOSTS='/etc/hosts' | |
SITEPATH='/Applications/MAMP/htdocs/'${SITE} |
#------------------------------------------ | |
# PANTHEON DEVELOPMENT WORKFLOW v1.01 | |
# Using the Pantheon CLI (terminus) v0.71 | |
#------------------------------------------ | |
# Authenticate with Pantheon. The first step, most of the time. | |
# This is a little insecure, as it lists your password here. But it's convenient. | |
alias pdw-auth='terminus auth login YOURPANTHEONEMAILADDRESS --password=YOURPANTHEONPASSWORD' | |
# Update your local Pantheon site aliases |
<?php | |
/** | |
* A gdw.settings.php files for local D7 development. Store in /var/www. | |
*/ | |
// Site is stored in '/var/www/example', so database name is 'example' | |
$database = basename(getcwd()); | |
$databases = array ( | |
'default' => array ( |
[mysql] | |
user=root | |
password=root | |
[mysqldump] | |
user=root | |
password=root |