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
document.addEventListener("keydown", function (event) { | |
// Check if Cmd (on Mac) or Ctrl (on other platforms) is pressed along with 'N' | |
if ((event.metaKey || event.ctrlKey) && event.key === "n") { | |
event.preventDefault(); // Prevent the default action to ensure it doesn't interfere | |
// Define the XPath of the element to click | |
var xpath = | |
"/html/body/div[1]/div[1]/div[1]/div/div/div/div/nav/div[2]/div[1]/div/a"; | |
// Use the XPath to find the element |
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
import * as utils from '@dcl/ecs-scene-utils' | |
import { triggerEmote, PredefinedEmote } from '@decentraland/RestrictedActions' | |
export class DanceSystem implements ISystem { | |
emotes: PredefinedEmote[] = [] | |
timer: number = 2 | |
length: number = 11 | |
danceFunction: () => void = () => { | |
return this.dance() | |
} |
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
echo "test" |
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
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1679 ERR Cannot read property 'setViewVisible' of undefined: TypeError: Cannot read property 'setViewVisible' of undefined | |
at O.setPanelHidden (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6536:611) | |
at Object.hidePart (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6484:609) | |
at _.resetActiveComposite (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6351:609) | |
at _.hideComposite (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6350:529) | |
at e.hideComposite (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6489:467) | |
at e.onDidChangeActiveViews (file:///Applications/Visual Studio |
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
04461fdee6ff3f05e055cf742d72289c6c4dffbe21bdabbf2677d4cfb4f9c6e1fb889b04a95e91f6d14cc3b0d7a2aac26b91f49fdb104fefad7cef295f5306546a;kefirook |