Instantly share code, notes, and snippets.

View gist:69bf1ee313663734594c
scp /home/rob/pictures/donuts/half-eaten.jpg rob@server3:/home/mywebsite.com/public_html/images/
View gist:e0d1a6834c5f967743fe
use Zend\Db\Sql\Select;
$resultSet = $this->tableGateway->select(function (Select $select) {
$select->order('name ASC');
});
return $resultSet;
View gist:cec944573a067493d5b1
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }