Skip to content

Instantly share code, notes, and snippets.

View patadejaguar's full-sized avatar
💬
I need money

Luis Balam patadejaguar

💬
I need money
View GitHub Profile
@patadejaguar
patadejaguar / recnoisered.sh
Created May 23, 2020 16:43 — forked from mauron85/recnoisered.sh
How to record and filter noise from mic in Linux
# 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
@patadejaguar
patadejaguar / is-private-mode.js
Created October 14, 2019 21:53 — forked from jherax/is-private-mode.js
Detect if the browser is running in Private mode (Promise based)
// 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
*
@patadejaguar
patadejaguar / conflict.sh
Created February 27, 2019 17:09 — forked from a13xb/conflict.sh
Conflict example
#! /bin/sh
set -e
couch() {
cmd="curl localhost:5984/"
echo '===' ${cmd}$*
${cmd}$*
echo
}
@patadejaguar
patadejaguar / designer.html
Last active August 29, 2015 14:16
designer
<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;