Skip to content

Instantly share code, notes, and snippets.

Jimmy Pearson noctrnal

View GitHub Profile
noctrnal / gist:69bf1ee313663734594c
Created Nov 18, 2015
scp - file uploads over ssh
View gist:69bf1ee313663734594c
scp /home/rob/pictures/donuts/half-eaten.jpg rob@server3:/home/
View gist:e0d1a6834c5f967743fe
use Zend\Db\Sql\Select;
$resultSet = $this->tableGateway->select(function (Select $select) {
$select->order('name ASC');
return $resultSet;
noctrnal / gist:cec944573a067493d5b1
Created Apr 22, 2015
simple "down for maintenance" html
View gist:cec944573a067493d5b1
<!doctype html>
<meta charset="UTF-8">
<title>Site Maintenance</title>
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; }
You can’t perform that action at this time.