Skip to content

Instantly share code, notes, and snippets.

View zachshallbetter's full-sized avatar
😵‍💫

Zach Shallbetter zachshallbetter

😵‍💫
View GitHub Profile
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Zacharys-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
[Mon Aug 11 08:41:46.973315 2014] [mpm_prefork:notice] [pid 1928] AH00163: Apache/2.4.9 (Unix) configured -- resuming normal operations
[Mon Aug 11 08:41:46.973534 2014] [core:notice] [pid 1928] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Aug 11 09:42:47.181599 2014] [mpm_prefork:notice] [pid 1928] AH00169: caught SIGTERM, shutting down
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Zacharys-MacBook-Pro.local. Set the 'ServerName' directive globa
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
➜ cocoon git:(develop) vagrant ssh
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-virtual x86_64)
* Documentation: https://help.ubuntu.com/
Last login: Thu Jan 31 13:48:53 2013
(venv)vagrant@devvm:/var/www$ sudo salt-call --local state.sls initialize dev
[INFO ] Loading fresh modules for state activity
[INFO ] Running state [psql -h localhost -U postgres -w -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'cocoon' AND pid <> pg_backend_pid();"] at time 08:57:53.409168
[INFO ] Executing state cmd.run for psql -h localhost -U postgres -w -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'cocoon' AND pid <> pg_backend_pid();"
[INFO ] Executing command 'psql -h localhost -U postgres -w -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = \'cocoon\' AND pid <> pg_backend_pid();"' in directory '/home/vagrant'
define([
'marionette',
'router',
'controller',
'modules/auth',
'modules/vent',
'views/_layout'
], function(Marionette, Router, Controller, Auth, Vent, Layout){
var App = new Marionette.Application();
@zachshallbetter
zachshallbetter / solarized.css
Created October 7, 2013 20:58
Google Prettyfy.js Solarized
code, kbd, pre, samp {
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif
}
pre {
background-color: #333;
padding: 0px 15px 15px;
font-size: 0.96em;
font-weight: 500;
}
.Absolute-Center {
width: 500px; height: 500px;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}
Original
define(['jquery', 'handlebars', 'domready', 'modules/Navigation'], function($, Handlebars, domReady, Nav) {
// etc
});
Sugar
define(function(require) {
@zachshallbetter
zachshallbetter / Compiles to
Created July 3, 2013 17:53
Defining @media directives within css rules.
@media only screen and (min-width: 600px) {
.container {
width: 680px;
}
}
@zachshallbetter
zachshallbetter / js snippits
Created July 2, 2013 21:45
Jquery & Javascript Snippits
http://tympanus.net/codrops/2010/01/05/some-useful-javascript-jquery-snippets/
http://tympanus.net/codrops/2010/01/07/some-useful-javascript-jquery-snippets-part-2/
http://tympanus.net/codrops/2010/01/08/some-useful-javascript-jquery-snippets-part-3/
http://tympanus.net/codrops/2010/01/11/some-useful-javascript-jquery-snippets-part-4/