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
# Cherry-pick https://review.coreboot.org/c/coreboot/+/55232 | |
# Display not working on dedicated GPUs, needs working setup IntelGopDriver which I can't figure out :/ | |
# If you need to change bootorder, UEFI settings etc. - connect DisplayPort to the motherboard. | |
# Internal flashing is available once you short service mode pins near PCIe and boot with iomem=relaxed. | |
# If you bricked your board then | |
# 4MB flash is MX25L3273E | |
# 8MB flash is MX25L6473F | |
# Base | |
CONFIG_VENDOR_DELL=y |
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
addEventListener('fetch', event => { | |
handleRequest(event); | |
}) | |
/** | |
* Respond to the request | |
* @param {Request} request | |
*/ | |
async function handleRequest(event) { | |
var url = new URL(event.request.url); |

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
inet xxx.xxx.xxx.xxx 255.255.252.0 NONE | |
inet6 xxxx:xxxx:xxxx:xxxx::1 64 | |
up | |
!route add -inet default 188.68.52.1 | |
!route add -inet6 :: fe80::1%vio0 |
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
#!/usr/sbin/nft -f | |
# Hook order is: ingress -> prerouting -> input/output/forward -> postrouting | |
# Start by flushing all the rules. | |
flush ruleset | |
# Defining variables is easy in nftables scripts. | |
define wan = eth0 | |
define vpn = wg0 |
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
#!/bin/sh | |
adb shell am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard/ -p com.android.providers.media |
NewerOlder