Hey team! Here's a quick summary of where we landed on the 19 items from Dave's feedback doc.
Done: 11 items
Need your help: 6 items (details below)
| version: "3.9" | |
| volumes: | |
| postgres: | |
| services: | |
| postgres: | |
| image: postgres | |
| restart: unless-stopped | |
| healthcheck: |
| <svg viewBox="0 0 960 300"> | |
| <symbol id="s-text"> | |
| <text text-anchor="middle" x="50%" y="80%">Montserrat</text> | |
| </symbol> | |
| <g class = "g-ants"> | |
| <use xlink:href="#s-text" class="text-copy"></use> | |
| <use xlink:href="#s-text" class="text-copy"></use> | |
| <use xlink:href="#s-text" class="text-copy"></use> | |
| <use xlink:href="#s-text" class="text-copy"></use> |
A Pen by Paulina Hetman on CodePen.
| #!/bin/bash | |
| echo 'setup-web2py-nginx-uwsgi-ubuntu-precise.sh' | |
| echo 'Requires Ubuntu > 12.04 and installs Nginx + uWSGI + Web2py' | |
| # Check if user has root privileges | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "You must run the script as root or using sudo" | |
| exit 1 | |
| fi | |
| # Get Web2py Admin Password | |
| echo -e "Web2py Admin Password: \c " |
| from optparse import make_option | |
| import os | |
| from django.core.management import BaseCommand | |
| import configobj | |
| from django.db.models import get_app, get_model | |
| class Command(BaseCommand): | |
| """ | |
| Creates django models from config files | |
| """ |
| # Jekyll Quick Reference (Cheat Sheet) | |
| ## Table of Contents | |
| - [Jekyll Commands](#jekyll-commands) | |
| - [Octopress Commands](#octopress-commands) | |
| - [Folder Structure](#folder-structure) | |
| - [Global Variables](#global-variables) | |
| - [Site Variables](#site-variables) | |
| - [Page Variable](#page-variables) |
| import os | |
| import re | |
| import argparse | |
| app_path = os.path.split(os.path.split(__file__)[0])[0] | |
| PROJECT_ROOT = os.path.abspath(app_path) | |
| regexps = [ | |
| (r'class=(["\'] *?)row-fluid(.*?["\']+)', r'class=\1row\2'), | |
| (r'class=(["\'] *?)brand(.*?["\']+)', r'class=\1navbar-brand\2'), |
| import os | |
| def split(filehandler, delimiter=',', row_limit=10000, | |
| output_name_template='output_%s.csv', output_path='.', keep_headers=True): | |
| """ | |
| Splits a CSV file into multiple pieces. | |
| A quick bastardization of the Python CSV library. | |
| Arguments: |