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 sys | |
import queue | |
import winsound | |
import urllib | |
import requests | |
import os | |
from os.path import exists | |
import asyncio | |
import random |
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
#include <core/unigine.h> | |
// This file is in UnigineScript language. | |
// World script, it takes effect only when the world is loaded. | |
Player player; | |
// -1 = not tracked | |
int moveTouchID = -1; | |
int turnTouchID = -1; | |
//int lastNumTouches = 0; |
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
#NoEnv | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
#SingleInstance force | |
#InstallKeybdHook | |
#IfWinActive ahk_class Sacred | |
;; new::original | |
; +/- (numeric keypad) Zoom in/out |
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
Set WshShell = WScript.CreateObject("WScript.Shell") | |
' spotify or user_id_number if playlist is private. ID can be found by using Spotify's Share button | |
WshShell.Run "spotify:user:<spotify/user_id_number>:playlist:<playlist_code>", 3, false | |
WScript.sleep 20000 | |
' Change active Window | |
WshShell.AppActivate "Spotify" | |
' Start playing selected queue | |
WshShell.SendKeys " " | |
' Focus? | |
WshShell.SendKeys "{ENTER}" |
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 off | |
SETLOCAL EnableDelayedExpansion | |
rem Get drive letter along with the colon and backslash | |
SET _cdDrive=%cd:~0,3% | |
rem Get drive letter | |
SET mntPath=%_cdDrive:~0,1% | |
rem mnt/<driveLetter> is lower case, has to be converted | |
call :LoCase mntPath | |
SET mntPath=/mnt/%mntPath%/ |