Skip to content

Instantly share code, notes, and snippets.

View davidmonterocrespo24's full-sized avatar
🏠
Working from home

David Montero Crespo davidmonterocrespo24

🏠
Working from home
View GitHub Profile
@davidmonterocrespo24
davidmonterocrespo24 / main.py
Created April 9, 2022 16:38 — forked from t1m0thyj/main.py
Play music from YouTube in Google Assistant on Raspberry Pi
#!/usr/bin/env python3
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
[options]
#
# WARNING:
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
#-----------------------------------------------------------------------------
# Odoo Server Config File - TurnKey Linux
#!/usr/bin/env python2
import os
import sys
import StringIO
import psycopg2
import psycopg2.extensions
from optparse import OptionParser
from ConfigParser import SafeConfigParser
try: