To use, run the setup-dns
script within the Dorothy dotfile ecosystem
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
<?php | |
use FastRoute\Dispatcher; | |
use FastRoute\RouteParser; | |
use FastRoute\RouteParser\Std as StdParser; | |
use FastRoute\RouteCollector; | |
use FastRoute\DataGenerator\GroupCountBased as GroupCountBasedDataGenerator; | |
use Psr\Http\Message\RequestInterface; | |
use Slim\Route; | |
use Slim\Router; |
It is well know that through the ip
and ifconfig
commands it is possible to change a MAC address temporarily, meaning the change will not persist across host reboots.
But what if you would like to change your MAC address in a more permanent fashion? Is there a way to, through software, permanently change your network interface card's MAC address?
It turns out the answer is yes, and the tool to do so is called ethtool
.
Ethtool comes pre-installed on many stock distributions of Linux, but can also be installed from your package manager of choice if necessary.
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
# OpenOCD script for GD32VF103 with improved reset procedure | |
# Invoke it like this. | |
# for Digilent HS2 | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "program binary.elf verify reset exit" | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "program binary.bin 0x08000000 verify reset exit" | |
# openocd -f interface/ftdi/digilent-hs2.cfg -c "ftdi_device_desc {Digilent USB Device}" -f gd32vf103.cfg -c "init; reset run; exit" | |
# for SiPEED USB-JTAG/TTL ( RV-Debugger ) | |
# openocd -f interface/ftdi/minimodule.cfg -c "ftdi_device_desc {Dual RS232}" -f gd32vf103.cfg -c "init; reset run; exit" |
OlderNewer