arp -a
This file contains hidden or 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
| using System; | |
| using System.Linq; | |
| using System.Net.NetworkInformation; | |
| using System.Net.Sockets; | |
| namespace GetPrimaryNetworkDeviceInfoExample | |
| { | |
| public class Program | |
| { | |
| public static void Main() |
This file contains hidden or 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
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All |
This file contains hidden or 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
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All |
This file contains hidden or 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
| 1080p and below | |
| Container = MP4 | |
| Video = h.264 | |
| Audio = AC3 / ACC | |
| 4K | |
| Container = MP4 | |
| Video = h.265 | |
| Audio AC3 |
This file contains hidden or 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
| INPUT_FILES_WITHIN_DIR=/home \ | |
| OUTPUT_DIR=/mnt/c/Users/danie/Desktop/output \ | |
| OUTPUT_FILE_NAME=file.iso \ | |
| ISO_LABEL=LABEL \ | |
| docker run --rm -w /iso -v $INPUT_FILES_WITHIN_DIR:/iso -v $OUTPUT_DIR:/output genisoimage -v -J -V $ISO_LABEL -o /output/$OUTPUT_FILE_NAME . |
This file contains hidden or 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
| ffmpeg -i "file.mp4" -vf "blackdetect=d=1:pix_th=0.00" -an -f null - 2>&1 | grep blackdetect |
This file contains hidden or 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
| package main | |
| import "fmt" | |
| type Node struct { | |
| Left, Right *Node | |
| Value int64 | |
| } | |
| type BinarySearchTree struct { |
This file contains hidden or 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
| echo "username ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers |