This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Useful links | |
# https://stackoverflow.com/questions/42904441/pipe-sox-play-command-to-stdout | |
# http://www.zoharbabin.com/how-to-do-noise-reduction-using-ffmpeg-and-sox/ | |
# Record some noise | |
sox -t alsa default -b 16 -r 44100 -e signed -t wav - -t wav /tmp/noise.wav | |
# or alternative with arecord |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// uncomment if you are transpiling with Babel + Webpack | |
// const { window, document } = global; | |
/** | |
* Lightweight script to detect whether the browser is running in Private mode. | |
* @returns {Promise} | |
* | |
* Live demo: | |
* @see http://live.datatables.net/piduzelo/1 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
set -e | |
couch() { | |
cmd="curl localhost:5984/" | |
echo '===' ${cmd}$* | |
${cmd}$* | |
echo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |