Provider | Singleton | Instantiable | Configurable |
---|---|---|---|
Constant | Yes | No | No |
Value | Yes | No | No |
Service | Yes | No | No |
Factory | Yes | Yes | No |
Decorator | Yes | No? | No |
Provider | Yes | Yes | Yes |
CMU Sphinx | |
http://cmusphinx.sourceforge.net/wiki/tutorialam | |
http://www.speech.cs.cmu.edu/sphinxman/scriptman1.html | |
PocketSphinx | |
http://ghatage.com/2012/12/voice-to-text-in-linux-using-pocketsphinx/ | |
http://ghatage.com/2012/12/make-pocketsphinx-recognize-new-words/ | |
#! /bin/bash | |
if [ $# -eq 0 ]; then | |
echo "You have to specify a module index" | |
exit 128 | |
fi | |
pactl unload-module $1 |
Copyright (c) 4-digit year, Company or Person's Name
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/** | |
* An Handlebars helper to format numbers | |
* | |
* This helper have these three optional parameters: | |
* @var decimalLength int The length of the decimals | |
* @var thousandsSep char The thousands separator | |
* @var decimalSep char The decimals separator | |
* | |
* Based on: | |
* - mu is too short: http://stackoverflow.com/a/14493552/369867 |
'use strict'; | |
var easyrtc = require('easyrtc'); | |
var config = require('../core').config('default'); | |
var server = { | |
started: false, | |
pub: null | |
}; | |
exports = module.exports = server; |
/** | |
* Locations.js | |
* | |
* @description :: TODO: You might write a short summary of how this model works and what it represents here. | |
* @docs :: http://sailsjs.org/#!documentation/models | |
*/ | |
module.exports = { | |
seedData:[ |
/** | |
* the HTML5 autofocus property can be finicky when it comes to dynamically loaded | |
* templates and such with AngularJS. Use this simple directive to | |
* tame this beast once and for all. | |
* | |
* Usage: | |
* <input type="text" autofocus> | |
* | |
* License: MIT | |
*/ |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
/** | |
* AuthController | |
* | |
* @description :: Server-side logic for managing auths | |
* @help :: See http://links.sailsjs.org/docs/controllers | |
*/ | |
module.exports = { | |
index: function (req, res) { | |
var email = req.param('email'); |