This file contains hidden or 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
| /** | |
| * List ALSA pcm plugins. | |
| * | |
| * This code is based on code I saw in PortAudio, which is under the MIT license. | |
| * http://portaudio.com/trac/browser/portaudio/trunk/src/hostapi/alsa/pa_linux_alsa.c | |
| * | |
| * Note that the method used here is quite different to detecting hw devices, | |
| * which iterates over cards, devices and subdevices. | |
| * | |
| * gcc -o pcm_plugins pcm_plugins.c -lasound |
This file contains hidden or 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
| RED="\[\033[0;31m\]" | |
| YELLOW="\[\033[0;33m\]" | |
| GREEN="\[\033[0;32m\]" | |
| BLUE="\[\033[0;34m\]" | |
| LIGHT_RED="\[\033[1;31m\]" | |
| LIGHT_GREEN="\[\033[1;32m\]" | |
| WHITE="\[\033[1;37m\]" | |
| LIGHT_GRAY="\[\033[0;37m\]" | |
| COLOR_NONE="\[\e[0m\]" |
This file contains hidden or 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
| // ==UserScript== | |
| // @name HN Toolkit | |
| // @namespace http://news.ycombinator.com | |
| // @description Version 1.8 - Various useful things (blacklist/style, saved links, searchyc, splitview, PRE-fix, new preview, title rename) for Hacker News | |
| // @include http://news.ycombinator.com/* | |
| // ==/UserScript== | |
| /* | |
| Written by Xichekolas ... License: 'do whatever you want with it'. | |
| http://news.ycombinator.com/user?id=Xichekolas |
NewerOlder