Portenta H7
- Bottom: Tx
- Top: Rx
Tx from Arduino Portenta H7
# ┌───────────── Minute (0 - 59) | |
# │ ┌─────────── Hour (0 - 23) | |
# │ │ ┌───────── Date (1 - 31) | |
# │ │ │ ┌─────── Month (1 - 12) | |
# │ │ │ │ ┌───── Day of Week (0 - 7,0 Sunday,6 Saturday,7 Sunday) | |
# │ │ │ │ │ | |
0 0 * * * /etc/rc.restart_webgui |
This is based on a guide on the Ubnt forums.
Log into your Edgerouter and run the following - sudo -i && vi /config/user-data/update-adblock-dnsmasq.sh
This will switch you to the root user and open up vi
.
#!/bin/bash
# Reference: https://www.youtube.com/watch?v=B9dXiKhDVl0 | |
## Remember to tailor this to your network! ## | |
set interfaces openvpn vtun0 config-file /config/auth/midwest.ovpn | |
set interfaces openvpn vtun0 description 'Private Internet Access' | |
set interfaces openvpn vtun0 enable | |
set service nat rule 5000 description PIA | |
set service nat rule 5000 log disable | |
set service nat rule 5000 outbound-interface vtun0 |
# Reference: https://www.youtube.com/watch?v=baj3747yfos | |
configure | |
set firewall group network-group PROTECT_NETWORKS | |
set firewall group network-group PROTECT_NETWORKS description "Protected Networks" | |
set firewall group network-group PROTECT_NETWORKS network 10.0.0.0/16 | |
set firewall name BLOCK_IN | |
set firewall name BLOCK_IN default-action accept | |
set firewall name BLOCK_IN rule 10 action accept | |
set firewall name BLOCK_IN rule 10 description "Accept Established/Related" |
Following mining and findings performed on EVGA GeForce GTX 1070 SC GAMING Black Edition Graphics Card cards.
First run nvidia-xconfig --enable-all-gpus
then set about editing the xorg.conf
file to correctly set the Coolbits
option.
# /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
async fn accept_form(Form(input): Form<Input>, state: Extension<AppState>) -> Response<Body> { | |
dbg!(&input); | |
match save_form(&input, &state).await { | |
Ok(_) => (), | |
Err(e) => tracing::error!("Failed: {:?}", e), | |
} | |
let mut response = Response::builder() | |
.status(StatusCode::SEE_OTHER) |
The ‘r’ prefixing the identifier signifies the raw data under the visible file system, which is necessary to make the output volume bootable. It’s also faster because it’s block aligned IO. Basically, rdisk goes directly to the disk, disk goes through the fileystem.
"Since any /dev entry can be treated as a raw disk image, it is worth noting which devices can be accessed when and how. /dev/rdisk nodes are character-special devices, but are “raw” in the BSD sense and force block-aligned I/O. They are closer to the physical disk than the buffer cache. /dev/disk nodes, on the other hand, are buffered block-special devices and are used primarily by the kernel’s filesystem code.
It is not possible to read from a /dev/disk node while a filesystem is mounted from it, but anyone with read access to the appropriate /dev/rdisk node can use hdiutil verbs such as fsid or pmap with it.Beware that information read from a raw device while a filesystem is mounted may not be consistent be