Date: 2026-11-08
Source: Team Feedback & Issue Tracker | sunstonewinery.com Alpha 2.0
Staff To-Do: https://gist.github.com/DrOctogon/d92c5d1c10854687e73f0fcbc6bdce1c
Date: 2026-11-08
Source: Team Feedback & Issue Tracker | sunstonewinery.com Alpha 2.0
Staff To-Do: https://gist.github.com/DrOctogon/d92c5d1c10854687e73f0fcbc6bdce1c
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
| version: "3.9" | |
| volumes: | |
| postgres: | |
| services: | |
| postgres: | |
| image: postgres | |
| restart: unless-stopped | |
| healthcheck: |
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
| <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.
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/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 " |
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
| 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 | |
| """ |
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
| # 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) |
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
| 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'), |
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
| 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: |
NewerOlder