A comedic look into Drupal 8
Presented at DrupalCamp Toronto 2013 (2013-07-13). By @mparker17 and @emarchak
<?php | |
$result = db_select('variable', 'v') | |
->fields('v', array('name', 'value')) | |
->orderBy('name', 'ASC') | |
->execute() | |
->fetchAll(); | |
$rows = array(); | |
foreach ($result as $row) { |
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
#!/bin/bash | |
# current Git branch | |
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
# v1.0.0, v1.5.2, etc. | |
versionLabel=v$1 | |
# establish branch and tag name variables | |
devBranch=develop |
alias.df !git diff --no-prefix && git diff --staged --no-prefix | |
alias.clear reset --hard | |
alias.st status | |
alias.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
alias.co checkout | |
alias.con checkout -b | |
alias.ci commit | |
alias.br branch | |
alias.ls branch -a |