Skip to content

Instantly share code, notes, and snippets.

@triggex
triggex / NordVPN-Server-IP-List-2020.txt
Created January 9, 2020 17:10
NordVPN Server IP List (5,571 IPs)
209.58.185.46
209.58.185.47
209.58.185.48
209.58.185.49
162.210.198.129
162.210.198.130
162.210.198.131
162.210.198.132
209.58.133.167
209.58.133.168
@varqox
varqox / recording_application_and_microphone.md
Last active May 21, 2024 09:46
How to record multiple applications and microphone into one audio file on Linux using PulseAudio

How to record multiple applications and microphone into one audio file on Linux

Step 0. Terminology

Sinks are for output, sources are for input. To stream source to sink a loopback must be created. More shall you find there.

Step 1. Create output sink that will be recorded

Our output sink will be named recording.

pacmd load-module module-null-sink sink_name=recording sink_properties=device.description=recording
@jkp
jkp / websocketserver.py
Created July 18, 2012 13:28
A simple WebSockets server with no dependencies
import struct
import SocketServer
from base64 import b64encode
from hashlib import sha1
from mimetools import Message
from StringIO import StringIO
class WebSocketsHandler(SocketServer.StreamRequestHandler):
magic = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'