This file contains 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
param( | |
[string]$SourceFolder, | |
[string]$OutputFolder | |
) | |
# Ensure output folder exists | |
if (-not (Test-Path -Path $OutputFolder)) { | |
New-Item -ItemType Directory -Path $OutputFolder | |
} |
This file contains 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
/* | |
Daniel DP - https://gist.github.com/dprado75/eb317ebca12d5fea1663645039c0b6d9 | |
Code created based in the following links: | |
Lid Library By Linear Spoon - https://www.autohotkey.com/board/topic/92888-lidwatcher-monitor-the-state-of-your-laptop-lid/ | |
Battery status by AntonyB - https://www.autohotkey.com/board/topic/7022-acbattery-status/ | |
*/ |
This file contains 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 | |
//method 1 - faster | |
//host this webpage on your server, Heroku or any other host | |
//paste your link to a Hubs Page using the format: | |
//https://yourserver.com/yourpath/link.php?img=https://yourserver.com/yourpath/yourimage.jpgorpng&url=https://anyotherserver.com/finallink | |
//this will trick Hubs to capture a snapshot of the image "img", so keep it in the 16:9 ratio for instance 1280x720 | |
?> | |
<!DOCTYPE html> | |
<html> |
This file contains 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
export function showHoverEffect(el) { | |
//... | |
//insert before return line - return (isSpawner || !isPinned || isFrozen) && canMove; | |
if (window.APP.hubChannel.can("spawn_emoji")) | |
{ | |
//enable visitors movements | |
AFRAME.scenes[0].systems["hubs-systems"].characterController.isMotionDisabled = false; | |
AFRAME.scenes[0].systems["hubs-systems"].characterController.isTeleportingDisabled = false; | |
} |