Skip to content

Instantly share code, notes, and snippets.

View ipcjk's full-sized avatar
😍
so much younger than today

Jörg Kost ipcjk

😍
so much younger than today
  • Munich, Germany
View GitHub Profile
@zoilomora
zoilomora / README.md
Last active April 20, 2025 20:46
How to disable systemd-resolved in Ubuntu

How to disable systemd-resolved in Ubuntu

Stages

  • Disable and stop the systemd-resolved service:

      sudo systemctl disable systemd-resolved.service
      sudo systemctl stop systemd-resolved
    
  • Then put the following line in the [main] section of your /etc/NetworkManager/NetworkManager.conf:

@ipcjk
ipcjk / iso_to_usb_mac.sh
Last active March 13, 2024 16:43
create bootable linux usb stick dmg for mac from iso
diskutil list
hdiutil convert -format UDRW -o image image.iso
diskutil unmountDisk /dev/disk2
sudo dd if=image.dmg of=/dev/disk2
diskutil unmountDisk /dev/disk2
@superchausette
superchausette / arp_mac_vendor.pl
Created January 10, 2014 14:06
A simple perl script using Net::MAC:Vendor to find vendors from ethernet MAC addresses in the ARP table. On ubuntu you need this dependancy: libnet-mac-vendor-perl
use Net::MAC::Vendor;
use strict;
open(ARP, "arp -n|") || die "Failed $!\n";
my @arp_table;
while (<ARP>) {
if ($_ =~ m/incomplet/) {next;}
if ($_ =~ m/Address/) {next;}
my @line = split(' ',$_);