Skip to content

Instantly share code, notes, and snippets.

View gillesdemey's full-sized avatar
♥️
Be kind to others

Gilles De Mey gillesdemey

♥️
Be kind to others
View GitHub Profile
{
"bold_folder_labels": true,
"caret_style": "phase",
"default_line_ending": "unix",
"highlight_line": true,
"ignored_packages":
[
"Vintage"
],
"rulers":

Google Speech To Text API

Base URL: https://www.google.com/speech-api/v1/recognize
It accepts POST requests with voice file encoded in FLAC format, and query parameters for control.

Query Parameters

client
The client's name you're connecting from. For spoofing purposes, let's use chromium

lang
Speech language, for example, ar-QA for Qatari Arabic, or en-US for U.S. English

@gillesdemey
gillesdemey / gist:7397251
Created November 10, 2013 11:45
Tint2.rc
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see:
# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/
# Background definitions
#!/usr/bin/bash
# start x, end y, collection z
# ie. get_nouns 2917 2951 "gestures"
function get_nouns {
working_dir = ~/Desktop/nouns/$3
for i in {$1..$2}
do
curl -L http://thenounproject.com/download/zipped/svg_$i.zip > $working_dir/svg_$i.zip
done
cd $working_dir