lloydtorres / random-scripts

Scripts for various problems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random-scripts

Scripts I've written to deal with various problems. These scripts are licensed under the MIT License unless otherwise noted.

JSON_Formatter.py

Takes in a .json file containing a one-liner JSON file and creates a new file that's nicely formatted.

Run from command line/terminal using:

python JSON_Formatter.py <path of JSON file>

MouseControls.lua

A lot of devs at Hack the North had asked for a sample Lua mouse script for the Myo armband, so I uploaded a simple script that enabled mouse control.

  • Double Tap - Activate/deactivate controls and recenter.
  • Left Wave - Left-click.
  • Right Wave - Right-click.
  • Fist Hold/Release - Click and drag.

Imgur.lua

Adds Myo controls to Imgur.com through a Myo Connector.

  • Left Wave - Previous image.
  • Right Wave - Next image.
  • Spread Fingers - Zoom image (if available).
  • Fist + Roll - Scroll up/down.

About

Scripts for various problems.


Languages

Language:Lua 61.9%Language:Python 38.1%