Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'| [org 0x7c00] | |
| mov dx, 0x1fb7 ; Set the value we want to print to dx | |
| call print_hex ; Print the hex value | |
| jmp $ ; Hang once we're done | |
| %include "print_string.asm" | |
| ; Prints the value of DX as hex. | |
| print_hex: |
Recently, I deleted some files by mistake in a Ubuntu machine with an ext4 fs. These notes document the steps I took to get them back.
With that out the way, let's begin.
| using System; | |
| namespace ConsoleApplication2 | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var freq = new int[20]; | |
| var rng = new RandomNumberGenerator(); |
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "flag" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| ) |