This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media only screen and (min-width: 600px) { | |
| .container { | |
| width: 680px; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original | |
| define(['jquery', 'handlebars', 'domready', 'modules/Navigation'], function($, Handlebars, domReady, Nav) { | |
| // etc | |
| }); | |
| Sugar | |
| define(function(require) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .Absolute-Center { | |
| width: 500px; height: 500px; | |
| margin: auto; | |
| position: absolute; | |
| top: 0; left: 0; bottom: 0; right: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define([ | |
| 'marionette', | |
| 'router', | |
| 'controller', | |
| 'modules/auth', | |
| 'modules/vent', | |
| 'views/_layout' | |
| ], function(Marionette, Router, Controller, Auth, Vent, Layout){ | |
| var App = new Marionette.Application(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ 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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sqlalchemy.exc.ProgrammingError | |
| ProgrammingError: (ProgrammingError) relation "user" does not exist | |
| LINE 2: FROM "user" | |
| ^ | |
| 'SELECT "user".created_on AS user_created_on, "user".updated_on AS user_updated_on, "user".id AS user_id, "user".email AS user_email, "user".password AS user_password, "user".first_name AS user_first_name, "user".last_name AS user_last_name, "user".active AS user_active, "user".requires_password_change AS user_requires_password_change, "user".is_admin AS user_is_admin, "user".is_superadmin AS user_is_superadmin \nFROM "user" \nWHERE "user".id = %(id_1)s \n LIMIT %(param_1)s' {'id_1': u'18', 'param_1': 1} | |
| Traceback (most recent call last) | |
| File "/var/www/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__ | |
| return self.wsgi_app(environ, start_response) | |
| File "/var/www/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app |