Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET
requests.
q
The query string to convert to audio
tl
Translation language, for example, ar
for Arabic, or en-us
for English
Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET
requests.
q
The query string to convert to audio
tl
Translation language, for example, ar
for Arabic, or en-us
for English
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |
# ------------------------------------------------------------------------------------------------------------------------------------------------- | |
# If RetroArch do NOT detect the controller when connected via Bluetooth and won't even recognize manual binding, | |
# fix it by adding this udev rule (the line below WITHOUT the # symbol at the beginning!) to "/etc/udev/rules.d/10-local.rules" and reboot. | |
# SUBSYSTEM=="input", ATTRS{name}=="ipega classic gamepad", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1" | |
# ------------------------------------------------------------------------------------------------------------------------------------------------- | |
input_driver = "udev" | |
input_device = "ipega classic gamepad" | |
input_vendor_id = "32903" | |
input_product_id = "2012" |
import os | |
import yaml | |
import logging.config | |
import logging | |
import coloredlogs | |
def setup_logging(default_path='logging.yaml', default_level=logging.INFO, env_key='LOG_CFG'): | |
""" | |
| **@author:** Prathyush SP | |
| Logging Setup |
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import sys | |
from argparse import ArgumentParser | |
parser = ArgumentParser(description="Recompute parent_left, parent_right") | |
parser.add_argument('odoo_basedir') | |
parser.add_argument('odoo_cfg') | |
parser.add_argument('odoo_db') | |
parser.add_argument('model', help='Odoo model, e.g. account.account') |