Skip to content

Instantly share code, notes, and snippets.

CORPUS="""
And that this API is only available for help with developing the Chrome/Chromium browser, so if you only joined this mailing list for the API you are probably not allowed to use it...
Sorry, no. It is not available for public consumption.
The 'Google Speech API' is intended for use by Chromium only; it's not for general public use. That is why there is no documentation and no way to get additional quota.
See also https://www.chromium.org/developers/how-tos/api-keys and big yellow box. Search the archives too.
Please use a speech API suitable for your platform (e.g. the Web Speech API on the web, or android.speech on Android).
message at the top of https://www.chromium.org/developers/how-tos/api-keys
Of course if you want to use the Web speech API that's different, there's no limit to that, can be used for anything.
https://www.google.com/intl/en/chrome/demos/speech.html /
So, just to be clear, your question has nothing to do with Chrome.
#define _GNU_SOURCE
#include <stddef.h>
#include <sys/mman.h>
#include <dlfcn.h>
#include <string.h>
#define ALIAS(tc_fn) __attribute__ ((alias (#tc_fn)))
#define EXPORT __attribute__((visibility("default")))
typedef void* (*mmap_t)(void*, size_t, int, int, int, off_t);
import collections
import json
import gzip
import sys
TOPN = 15
def print_hist(hist, evt_count, top=TOPN):
for key, count in sorted(hist.iteritems(), key=lambda x:x[1], reverse=True):
print ' %-32s %6d %.2f %%' % (key, count, 100.0 * count / evt_count)
#!/usr/bin/env python
import os
import re
import sys
def main():
for root, _, files in os.walk(sys.argv[1]):
for file_name in files:
@echo ON
set GYP_MSVS_VERSION=2015
echo MSVS2015_SHARED
set GYP_DEFINES=component=shared_library
call tools\ninja_diff.bat
del win_vs2015_shared.diff
ren win.diff win_vs2015_shared.diff
echo MSVS2015_STATIC
rmdir /Q /S out
mkdir out
call git -C out init
call git checkout --quiet @{upstream}
call python build\gyp_chromium
rmdir /Q /S out\gypfiles
del out\Debug\build.ninja
del out\Release\build.ninja
del out\Debug_x64\build.ninja
del out\Release_x64\build.ninja
#!/bin/bash
set -x
set -e
if [ "$(git status -s --untracked-files=no)" != "" ]; then
echo "You have unstaged changes. bail out"
exit 1
fi
function check_configuration {
CFGNAME="$1"
git checkout -b master 9a9b1cf7727c20cb42bfb4012dee0c55c6fd572d
git cherry-pick 70e938fdf048b4efb436ed6bf8a1b194528870c9
git diff-tree HEAD 0304cef02:source/libvpx/ -r
:100644 100755 907b47318de1301e32048da5626e515dea33786e 907b47318de1301e32048da5626e515dea33786e M build/make/configure.sh
:100644 100755 90c14888c24be28410eb1d41b084780d2ae5d70a 90c14888c24be28410eb1d41b084780d2ae5d70a M build/make/msvs_common.sh
:100644 000000 9ca86e5e5882ec4ad4381944e4be13b29fb2db34 0000000000000000000000000000000000000000 D vp10/common/alloccommon.c
:100644 000000 5cfe6602d3efbb8a2cbcca8e5a3776be2d59ab47 0000000000000000000000000000000000000000 D vp10/common/alloccommon.h
:100644 000000 bd3e8b30f4098cea0485f1f16bd8b80c90aadc7e 0000000000000000000000000000000000000000 D vp10/common/arm/neon/iht4x4_add_neon.c
:100644 000000 82d7ccc612ea9cf1c02ac35c94df9e78b2c3e2f9 0000000000000000000000000000000000000000 D vp10/common/arm/neon/iht8x8_add_neon.c
$ curl -q https://storage.googleapis.com/primiano-misc/cl_1323333002_ps2.bundle -o /tmp/bundle
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 69460 100 69460 0 0 73411 0 --:--:-- --:--:-- --:--:-- 73424
$ git fetch /tmp/bundle cl_1323333002_ps2:cl_1323333002_ps2
From cl_1323333002_ps2.bundle
* [new branch] cl_1323333002_ps2 -> cl_1323333002_ps2
This file has been truncated, but you can view the full file.
From 27d3d7accb6d003ff5e2d70bd3a6cdf6901e4d75 Mon Sep 17 00:00:00 2001
From: Primiano Tucci <[email protected]>
Date: Mon, 14 Sep 2015 09:09:04 +0100
Subject: [PATCH] Issue 1323333002: Move libvpx from DEPS to src
---
.gitignore | 2 +-
DEPS | 5 +-
WATCHLISTS | 5 +
third_party/libvpx/BUILD.gn | 276 ++