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 | |
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 ( |
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
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 () { |
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-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 |
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
#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 |
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
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 |
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 | |
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" |
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
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 |
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
extends Node2D | |
signal picked | |
signal dropped | |
enum DRAGSTATES { PICKED, DROPPED } | |
var drag_state = DRAGSTATES.DROPPED | |
var prev_mouse_pos = Vector2(0,0) | |
var absolute_z = IntArray([0]) | |
var last_event |
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
using Godot; | |
using System; | |
public class SharpBird : Node2D | |
{ | |
// Member variables here, example: | |
// private int a = 2; | |
// private string b = "textvar"; | |
private double direction; | |
Random r = new 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
#You can add this to any singleton where you have helper classes and functions | |
class ShuffleBag: | |
var _shuffled_list | |
var _current_pos = -1 | |
func _init(array_from): | |
var _unshuffled = array_from.duplicate() | |
var _shuffled = [] | |
var _current_pos | |
# Pick a random element from the unshuffled list |
OlderNewer