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
context.modules = [ | |
{ name = libpipewire-module-filter-chain | |
args = { | |
node.description = "rnn-voice" | |
media.name = "rnn-voice" | |
filter.graph = { | |
nodes = [ | |
{ | |
type = ladspa | |
name = rnnoise |
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
context.modules = [ | |
{ | |
name = libpipewire-module-filter-chain | |
flags = [ nofail ] | |
args = { | |
node.description = "Deesser source" | |
media.name = "Deesser source" | |
filter.graph = { | |
nodes = [ | |
{ |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <sys/mman.h> | |
#include <unistd.h> | |
typedef int (*f)(int); | |
//typedef int (*f)(); |
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/bash | |
# echo "using System; class App { public static void Main() { Console.WriteLine(1 + 1); } }" | cscsi.sh | |
# cat hello.cs | cscsi.sh | |
tmpfile=$(mktemp -p /dev/shm XXXXXXXXXXXXX.cs) | |
trap "rm -f '$tmpfile'" exit int term | |
cat > $tmpfile | |
cscs -ac $tmpfile |
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
/* add to manifest: | |
<uses-permission android:name="android.permission.RECORD_AUDIO"/> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
*/ | |
package com.example.myapplication | |
import android.app.AlertDialog | |
import android.app.PendingIntent.getActivity | |
import androidx.appcompat.app.AppCompatActivity |
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/bash | |
f=~/.local/share/recently-used.xbel | |
s=`cat $f` | |
t=`echo "$s" | sed 's/<\/xbel>//g'` | |
target="$@" | |
dt=`date '+%Y-%m-%dT%H:%M:%SZ'` | |
mime=`file -b --mime-type "$target"` |
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
##.pagedlist_item:has(a[target="_blank"] > p:has-text(/\sby\s/)) | |
##.pagedlist_item:has(a[target="_blank"] > p:has-text(/\sad\s\sby/)) | |
##.pagedlist_item:has(a[target="_blank"] > p:has-text(/\spromoted\s\sby/)) |
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
; redirect nav keys to home row | |
; alt+arrows to jikl and some more | |
; !r::Reload | |
; redirect alt+keys saving other mods | |
Redirect(key) { | |
if GetKeyState("Shift", "D") | |
if GetKeyState("Ctrl", "D") | |
Send +^{%key%} |
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
-- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE. | |
-- HAML LPeg lexer. | |
local l = require('lexer') | |
local token, word_match = l.token, l.word_match | |
local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V | |
local M = {_NAME = 'haml'} | |
-- Whitespace. |
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
// reimplementation of default uncaught exception handler of nodejs v7.2 in js | |
// | |
// produces the same output as default handler of nodejs | |
// handles inline source maps with sinlge source (as V8 does) | |
// does not handle non-inline source maps or maps with multiple sources | |
// | |
// [email protected], public domain | |
"use strict"; |
NewerOlder