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
#!/bin/env python2.7 | |
""" | |
Web2py install/uninstall script for WebFaction using the latest stable source | |
code from http://www.web2py.com/examples/static/web2py_src.zip. | |
This installs web2py for Python 2.7, served via Nginx 1.8.0 and uWSGI 2.0.10. | |
The web2py files are found in ~/webapps/<app_name>/web2py. | |
IMPORTANT: Remember to set the Admin password in the extra_info field. | |
Caveats | |
------- |
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
#!/bin/env python2.6 | |
""" | |
Web2py install/uninstall script for WebFaction using the latest stable source | |
code from http://www.web2py.com/examples/static/web2py_src.zip. This installs | |
web2py for Python 2.7 along with Apache + mod_wsgi v4.4.13. The web2py files | |
are found in ~/webapps/<app_name>/web2py. | |
IMPORTANT: Remember to set the Admin password in the extra_info field. |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
.icon-alone { | |
display: inline-block; /* Fix for clickability issue in WebKit */ | |
} | |
.screen-reader-text { /* Reusable, toolbox kind of class */ | |
position: absolute; | |
top: -9999px; | |
left: -9999px; | |
} |
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
<a href="#rss" class="icon-alone"> | |
<span aria-hidden="true" data-icon="▨"></span> | |
<span class="screen-reader-text">RSS</span> | |
</a> |
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
[data-icon]:before { | |
font-family: icons; /* BYO icon font, mapped smartly */ | |
content: attr(data-icon); | |
speak: none; /* Not to be trusted, but hey. */ | |
} |
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
<h2 id=""> | |
<span aria-hidden="true" data-icon="character"></span> | |
Text | |
</h2> |