const vueApp=createApp({})
const replaceElementChildrenWithImage = async (el, binding ) => {
try {
const image = await binding.value;
if (image) el.replaceChildren(image);
} catch (err) {
console.error("Image can't be resolved seems like url is broken",err);
}PUB_IF="eth0"
WG_IF="wg0"
# Forward incoming UDP:8964 on public IP → laptop (10.7.0.2:8964)
sudo iptables -t nat -A PREROUTING -i $PUB_IF -p udp --dport 8964 -j DNAT --to-destination 10.7.0.2:8964
# Allow the traffic to be forwarded
sudo iptables -A FORWARD -i $PUB_IF -o $WG_IF -p udp --dport 8964 -d 10.7.0.2 -j ACCEPT
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
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
