Skip to content

Instantly share code, notes, and snippets.

View yunginnanet's full-sized avatar
👋
looking for work

kayos yunginnanet

👋
looking for work
View GitHub Profile
@nik-gnomic
nik-gnomic / voipmixxer
Last active June 9, 2024 10:22
VOIPmixxer - jack_mixer configuration for JACK
<?xml version="1.0" ?>
<jack_mixer geometry="807x507" paned_position="377" visible="True">
<input_channel name="Mic" type="mono" volume="0.000000" balance="0.000000" out_mute="False" volume_midi_cc="11" balance_midi_cc="12" mute_midi_cc="13" solo_midi_cc="14"/>
<input_channel name="VOIP call" type="mono" volume="0.000000" balance="0.000000" out_mute="False" volume_midi_cc="15" balance_midi_cc="16" mute_midi_cc="17" solo_midi_cc="18"/>
<input_channel name="Music" type="stereo" volume="-15.000000" balance="0.000000" out_mute="False" volume_midi_cc="19" balance_midi_cc="20" mute_midi_cc="21" solo_midi_cc="22"/>
<output_channel name="LIVE" type="stereo" solo_buttons="true" prefader_channels="Music" color="rgb(102,0,0)" volume="0.000000" balance="0.000000" out_mute="False"/>
<output_channel name="VOIP out" type="stereo" muted_channels="VOIP call" color="rgb(0,0,102)" volume="0.000000" balance="0.000000" out_mute="False"/>
<output_channel name="Speaker" type="stereo" muted_channels="Mic|VOIP call" prefader_ch
### Unofficial Dump of UniFi system.cfg Properties
###
### WARNINGS:
### - This list is undocumented, unsupported, and incomplete.
### - Some options may be deprecated and ignored.
### - Some options WILL break your setup.
### - Some options work now but WILL break you in a future firmware update.
###
### USING THESE:
### See https://help.ui.com/hc/articles/205146040#2
@seanh
seanh / html_tags_you_can_use_on_github.md
Last active September 14, 2024 20:38
HTML Tags You Can Use on GitHub

HTML Tags You Can Use on GitHub

Wherever HTML is rendered on GitHub (gists, README files in repos, comments on issues and pull requests, ...) you can use any of the HTML elements that GitHub Flavored Markdown (GFM) provides syntactic sugar for. You can either use the syntactic sugar that GFM (or other GitHub-supported markup language you're using) provides or, since Markdown can contain raw HTML, you can enter the HTML tags manually.

But GitHub also allows you to use a few HTML elements beyond what Markdown provides by entering the tags manually, and some of them are styled with CSS. Most raw HTML tags get stripped before rendering the HTML. Those tags that can be generated by GFM syntactic sugar, plus a few more, are whitelisted. These aren't documented anywhere that I can find. Here's what I've discovered so far:

<details> and <summary>

A `<detai

@wallneradam
wallneradam / ipt-dedup.sh
Created May 29, 2017 14:32
Iptables rules deduplication script
#!/bin/sh
ipt="iptables -w"
dedup() {
iptables-save | sed -n "/$1/,/COMMIT/p" | grep "^-" | sort | uniq -dc | while read l
do
c=$(echo "$l" | sed "s|^[ ]*\([0-9]*\).*$|\1|")
rule=$(echo "$l" | sed "s|^[ ]*[0-9]* -A\(.*\)$|-t $1 -D\1|")
while [ ${c} -gt 1 ]; do
@chrisnc
chrisnc / rawudp.go
Last active August 9, 2024 17:42
constructing ip/udp packets in go
package main
import (
"bufio"
"bytes"
"encoding/binary"
"flag"
"fmt"
"net"
"os"
@vi
vi / vethify.c
Created October 19, 2013 15:58
Copy packets between two network network interfaces (for workarounds)
/* vethify - multiplex packets between two ethernet interfaces
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in