Skip to content

Instantly share code, notes, and snippets.

@mandrx
mandrx / roo_dance_bot.py
Created November 27, 2023 12:04
RO Origin Global Dance Bot
# Mandrx (https://github.com/mandrx)
import cv2
import numpy as np
import mss
import pygetwindow as gw
import pyautogui
import keyboard
# Define the name of the window to capture
window_name = 'Ragnarok Origin Global'
@mandrx
mandrx / execute_new_script_tag.js
Last active December 2, 2021 09:18
Execute all script tag in document
const executeAllScriptTag = () => {
console.log(`Executing all script tags...`)
document.querySelectorAll('script, link').forEach((el) => {
const externalUrl = el.src || el.href || ''
if (!!externalUrl) {
// Create new node
let newNode = document.createElement(el.nodeName);
@mandrx
mandrx / capitalizeString.js
Last active November 21, 2019 07:20
The-Moose-Academy-Challenge
const capitalizeString1 = (str) => str
.split(" ")
.map((str)=>
str[0].toUpperCase() + str.slice(1))
.join(" ")
const capitalizeString2 = (str) => str
.split(" ")
.map((str)=>