Skip to content

Instantly share code, notes, and snippets.

@echo off
REM ffmpeg -list_devices true -f dshow -i dummy
set filename_=%date:~6,4%%date:~3,2%%date:~7,2%%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2%
set samplerate_=44100
set device_=1
if %device_% EQU 1 set device_="Microphone (2- Samson Meteor Mic)"
if %device_% EQU 2 set device_="Microphone (ASUS Xonar DGX Audio Device)"
if %device_% EQU 3 set device_="CABLE Output (VB-Audio Virtual Cable)"
@dslf
dslf / animated-tv-noise-in-js.markdown
Created March 19, 2022 07:49
Animated TV Noise in JS
/interface 6to4 add !keepalive local-address=ХХ.XX.XX.XX mtu=1480 name=6to4-tunnel1 remote-address=193.0.203.203
/ipv6 address add address=2a03:e2c0:XXX::2/64 interface=6to4-tunnel1
/ipv6 route add distance=1 dst-address=2000::/3 gateway=2a03:e2c0:XXX::1
/ipv6 address add address=2a03:e2c0:XXX:5555::/64 interface=bridge advertise=yes
@dslf
dslf / vim.rc
Created September 7, 2018 20:46
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set diffexpr=MyDiff()
function MyDiff()
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
set color1=#00FFA9
set color2=#D0FF00
@for /l %%x in (0,2,9) do magick -background transparent -fill %color1% -stroke black -strokewidth 2 -size 87x87 -font Komika-Title---Wide -pointsize 50 -gravity center label:%%x default-%%x.png
@for /l %%x in (1,2,9) do magick -background transparent -fill %color2% -stroke black -strokewidth 2 -size 87x87 -font Komika-Title---Wide -pointsize 50 -gravity center label:%%x default-%%x.png
@dslf
dslf / gist:b2ac9e22160e927582f3df67d4993364
Last active October 31, 2017 15:22
port forwarding settings in case I forgot how to setting up that shit again
@dslf
dslf / osu-skins.md
Created October 17, 2017 05:42 — forked from deriveM/osu-skins.md
OSU!SKINS
Gaussian formula
If you´re familiar with the Gaussian formula you might see what this guide is about.
You need 100 XP more each 10 level per level.
That means:
<10 100XP each level
>10 & <20 200XP " "
>20 & <30 300XP " "
So if you want to know how much XP it takes to reach lets say level 50 you add 10x100+10x200+10x300 +10x400+10x500.
https://drive.google.com/drive/folders/0B8j-5CDP-TreUW1ZT205Vl9tanc
uniform int XhairMode <
ui_type = "combo";
ui_items = "Texture file\0Solid Color\0Inversion\0";
ui_label = "Xhair mode";
> = 2;
uniform float Opacity <
ui_type = "drag";
ui_min = 0.0; ui_max = 1.0;
ui_label = "Opacity";