Skip to content

Instantly share code, notes, and snippets.

View noidexe's full-sized avatar
👾
Making games. Being happy.

Lisandro Lorea noidexe

👾
Making games. Being happy.
View GitHub Profile
@noidexe
noidexe / joycon-mappings.txt
Created July 31, 2017 00:25
Nintendo Switch Joycons as html5 bluetooth controller
Nintendo Switch Joycons use standard bluetooth technology and can be paired with a PC or phone by holding the power button between SL and SR while the console is off.
If your Switch can't find em after that just reattach them to the console and they'll pair up immediately.
Button scheme info obtained using http://html5gamepad.com and http://gamepadviewer.com
Joycon R: Wireless Gamepad (Vendor: 057e Product: 2007)
Switch, Generic, XBOX
SL, B4, LB
SR, B5, RB
@noidexe
noidexe / PyxelEdit-LicenseFix.cmd
Last active May 11, 2017 15:58
Pyxel Edit License Fix (Windows)
@echo OFF
echo.=================================
echo.PYXEL EDIT LICENSE FIX BY NOIDEXE
echo.Gist at https://goo.gl/hXVb7q
echo.Remember to run as admin
echo.=================================
echo.
set licensefile="C:\Program Files\PyxelEdit\Settings\LicenseKey.txt"
set licensefilex64="C:\Program Files (x86)\PyxelEdit\Settings\LicenseKey.txt"
set exepath="C:\Program Files\PyxelEdit\PyxelEdit.exe"
REM Reemplaza las lineas echo por el comando del conversor
REM Copia este archivo a la carpeta donde esten los wavs y ejecutalo
@echo off
for %%f in (*.wav) do call:mifuncion %%f
GOTO:end
:mifuncion
echo.aca se convertiria %1 a mp3
echo.aca se convertiria %1 a ogg
@noidexe
noidexe / build-spigot-update.ps1
Created March 14, 2015 19:26
Script to build Spigot on windows using PowerShell
#To use just do: [Right Click]->[Run in PowerShell]
$source = "https://hub.spigotmc.org/jenkins/job/BuildTools-Beta/lastSuccessfulBuild/artifact/target/BuildTools.jar"
#Once the new BuildTools are out of beta chage the url above to:
#https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
$destination = "BuildTools.jar"
Invoke-WebRequest $source -OutFile $destination
@noidexe
noidexe / chromeinstaller.ps1
Created December 22, 2014 13:45
No need to open The Unholy One just to install a better browser.
Import-Module bitstransfer
start-bitstransfer -source https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7B8D0E78F8-C54C-F786-2AC8-F2CC9F39674B%7D%26lang%3Den%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dprefers%26ap%3Dx64-stable/update2/installers/ChromeSetup.exe -destination .\ChromeSetup.exe
.\ChromeSetup.exe
@noidexe
noidexe / MovableTile.js
Last active August 29, 2015 14:05
Movable Tile
MovableTile.prototype.postTileAnimation = function () {
//mover el sprite a donde no se vea
this.x = -100;
this.y = -100;
//restaurar el tile
_tile.map.putTile(_tile.index, _tile.x, _tile.y)
};
MovableTile.prototype.doTileAnimation = function () {
@noidexe
noidexe / restartWacom.cmd
Last active June 14, 2016 12:34
Fix for 'WACOM DRIVER NOT FOUND'
@echo OFF
REM ===========================================
REM SIMPLE SERVICE RESTARTER FOR WACOM TABLETS.
REM FIXES 'DRIVER NOT FOUND' ISSUE. BY LISANDRO
REM LOREA. MODIFY AND/OR REDISTRIBUTE AT WILL.
REM ===========================================
set errorlevel=
echo Stopping Wacom Tablet Service
net stop WTabletServicePro
if errorlevel 2 (