This file contains 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
# https://docs.ansible.com/ansible/latest/modules/dconf_module.html | |
# | |
# To determine what dconf keys and values to use, you can run `dconf watch /` | |
# in a terminal as you make changes in settings or tweaks. You can also use | |
# `dconf read <key>` and `dconf write <key> <value>` to experiment with various | |
# settings. The dconf-editor application is also useful for exploring various | |
# keys along with their descriptions. | |
- hosts: localhost | |
tasks: |
This file contains 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
# models.py | |
from django.db import models | |
class Recipe(models.Model): | |
title = models.CharField(max_length=255) | |
description = models.TextField() | |
class Ingredient(models.Model): |
This file contains 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
# coding=utf-8 | |
""" | |
LICENSE http://www.apache.org/licenses/LICENSE-2.0 | |
""" | |
import datetime | |
import sys | |
import time | |
import threading | |
import traceback | |
import SocketServer |