Skip to content

Instantly share code, notes, and snippets.

Denis Isaychenko Rhincodon

  • Intraweb
  • Ukraine
Block or report user

Report or block Rhincodon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Rhincodon
Rhincodon / readme.md
Last active Nov 29, 2018
Speech recognition library
View readme.md

Library that we created: speech-to-text.min.js/speech-to-text.js. It's not open source. Its a wrapper that unify all APIs from different speech recognition services into one API.

How it works

  1. If we gonna use azure/google we need to load some dependencies
<!-- For Azure -->
<script src="https://speech-poc.awsext.berlitz.net/lib/microsoft.cognitiveservices.speech.sdk.bundle.js"></script>
View cookie.php
View act.php
<?php
namespace App\Services;
use GuzzleHttp\Client;
class BungieApiService
{
private $client;
View presenter.js
document.addEventListener("DOMContentLoaded", function () {
var CONFIG = {
FPVERSION: "9.0.0",
COURSE_WIDTH: "100%",
COURSE_HEIGHT: "100%",
TARGET: "PresenterContent",
SWFOBJ_NAME: 'Presenter',
REDIRECT_URL: "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
}
View Speech To Text API.js
<script src="https://speech-poc.awsext.berlitz.net/libs/speech-to-text.js"></script>
<!-- Azure Only -->
<script src="https://speech-poc.awsext.berlitz.net/libs/microsoft.cognitiveservices.speech.sdk.bundle.js"></script>
<script>
// INITIALIZATION
const speechToText = new SpeechToText();
speechToText.addService('azure', new SpeechToTextAzure({
View gist:9e6931420b370dab117772f05214697e
.reset-this * {
animation : none;
animation-delay : 0;
animation-direction : normal;
animation-duration : 0;
animation-fill-mode : none;
animation-iteration-count : 1;
animation-name : none;
animation-play-state : running;
animation-timing-function : ease;
View fonts.styl
*
border none
outline none
box-sizing border-box
@font-face
font-family "SeroCompPro"
src url(../fonts/ff_sero_web_pro_bold/SeroWebPro-Bold.eot), url(../fonts/ff_sero_web_pro_bold/SeroWebPro-Bold.woff) format('woff'), url(../fonts/ff_sero_web_pro_bold/SeroCompPro-Bold.ttf) format('truetype')
font-weight bold
font-style normal
View gist:543ed2be816155713d72422866b384e8
<?php
namespace App\Console\Commands;
use GuzzleHttp\Promise\EachPromise;
use Illuminate\Console\Command;
use GuzzleHttp\Client;
use Psr\Http\Message\ResponseInterface;
class ParseProducts extends Command
View nice-select
```
<template>
<select :class="getClasses()" v-nice-select="{value: value, onChange: changeCallback}">
<option v-if="defaultValue" :value="defaultValue.value">{{ defaultValue.label }}</option>
<option :value="getValue(item)" v-for="item in values">{{ getLabel(item) }}</option>
</select>
</template>
<script type="text/babel">
const niceSelect = {
@Rhincodon
Rhincodon / AuthorBuilder.php
Created Jan 26, 2018 — forked from melihovv/AuthorBuilder.php
Domain-Driven Design in PHP
View AuthorBuilder.php
<?php
# Example of Test Data Builder
class AuthorBuilder
{
private $username;
private $email;
private $fullName;
You can’t perform that action at this time.