https://coolhva.github.io/usg-kpn-ftth/posts/unifi-security-gateway-kpn-ftth-iptv-ipv6/
Windows icon locations
C:\Windows\System32\Shell32.Dll C:\Windows\Explorer.Exe C:\Windows\System32\AccessibilityCpl.Dll C:\Windows\System32\Ddores.Dll C:\Windows\System32\GameUx.Dll C:\Windows\System32\imageres.dll C:\Windows\System32\MorIcons.Dll C:\Windows\System32\mmcndmgr.dll C:\Windows\System32\mmRes.Dll C:\Windows\System32\NetCenter.Dll C:\Windows\System32\netshell.dll C:\Windows\System32\networkexplorer.dll C:\Windows\System32\PifMgr.dll C:\Windows\System32\PniDui.Dll C:\Windows\System32\SensorsCpl.Dll C:\Windows\System32\SetupApi.Dll C:\Windows\System32\wmploc.DLL C:\Windows\System32\wpdshext.dll C:\Windows\System32\DDORes.dll C:\Windows\System32\compstui.dll
LXD on Ubuntu (usefull stuff)
How to make your LXD containers get IP addresses from your LAN using macvlan auto enp0s25 iface enp0s25 inet static address 192.168.0.16 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 8.8.4.4 8.8.8.8
Webmin install made easier
A small script to automate the installation of webmin and adding it to source.list.d. sudo apt-get install apt-transport-https gnupg2 wget -y wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add – echo ‘deb https://download.webmin.com/download/repository sarge contrib’ | sudo tee /etc/apt/sources.list.d/webmin.list sudo apt-get update sudo apt-get install webmin -y Or without sudo: apt-get install apt-transport-https gnupg2 wget […]
Creating a share with Powershell
The following script allows you to create a share using PowerShell using the following command: CreateShare -Name “Share” -Path “C:\Share” -ReadAccess “Everyone” -FullAccess “Me”, “Other Admins”. See code below!
Update SharePoint STS certificate
Renew the current self-signed certificate using IIS via “Server Certificates”, right-clicking on the current certificate and running the “Create Self-Signed Certificate”. Export this new certificate by right-clicking it. Then run the following PowerShell script using PowerShell ISE with Administrator rights; .’C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1′ $pfxPath = “your file here.pfx” $pfxPass = “your password […]
VLAN management on NetGear GS724TP
While working with our rather old but awesome Netgear GS724TPs I always run into the problem that the menus for the LAG and VLAN do not expand on any of the modern browsers. Even with the newest firmware versions (5.2.0.11) this is an issue. After alot of trial and error I have found a working […]
Create a custom install USB stick using DISM
Install a windows laptop and setup everything according to your wishes. On Windows 10 you will need to remove all the apps from MarketPlace before capturing the image with the following command in PowerShell: Get-AppxPackage | Remove-AppxPackage After you have done this open run: sysprep /oobe /generalize /shutdown Once this is done, boot into the […]
Find big files in unix
find / -xdev -type f -size +100M
Letting Ubuntu resolve .local domains from network DNS servers
Ubuntu uses the Avahi Daemon to rewrite .local domains to always be localhost. This can be prevented by editing the config file sudo gedit /etc/avahi/avahi-daemon.conf and setting changing #domain-name=local into domain-name=.localhost (note that there needs to be a . between the name you select and the = mark. After doing this run sudo service avahi-daemon […]