I hereby claim:
- I am zombience on github.
- I am zombience (https://keybase.io/zombience) on keybase.
- I have a public key ASCTupBnTCJEB1VQDJl8RSqosgsyJ36zlX05AVFgfSdI3Qo
To claim this, I am signing this object:
| # | |
| # Author: Tim Serong <[email protected]> | |
| # | |
| # Usage: ./onboard.py <ssid> <password> | |
| # | |
| # This will send an onboarding packet to a virgin LIFX bulb, telling it to | |
| # connect to your local WiFi network using the SSID and password provided | |
| # as command line arguments. There is no error checking, so if it breaks | |
| # you get to keep both pieces. | |
| # |
| using UnityEditor; | |
| using UnityEngine; | |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using UObject = UnityEngine.Object; | |
| namespace SelectionTracker | |
| { |
I hereby claim:
To claim this, I am signing this object:
| import os | |
| import psutil | |
| import subprocess | |
| touch = "{}/TouchDesigner099.exe".format(app.binFolder) | |
| inst = "{}/example_file.toe".format(project.folder) | |
| SW_MINIMIZE = 6 | |
| info = subprocess.STARTUPINFO() | |
| info.dwFlags = subprocess.STARTF_USESHOWWINDOW | |
| info.wShowWindow = SW_MINIMIZE |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| public class ComponentGrabber : MonoBehaviour | |
| { | |
| [SerializeField, HideInInspector] | |
| string searchTerm, filter; | |
| [HideInInspector] | |
| public List<Component> curSelection = new List<Component>(); |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| #endif | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System; | |
| // to get this to work, this class musc exist outside "Editor" folder |
| using UnityEngine; | |
| using System.Collections; | |
| public class SimpleTimer | |
| { | |
| public float life { get { return _life; } private set { _life = value; } } | |
| public float elapsed { get { return _curTime; } } | |
| public float normalized { get { return _curTime / life; } } // returns timer as a range between 0 and 1 | |
| public float remaining { get { return life - elapsed; } } | |
| public bool isFinished { get { return elapsed >= life; } } |
| #! /usr/env python3 | |
| import os | |
| import sys | |
| from optparse import OptionParser | |
| #TODO: | |
| # options are getting out of control | |
| # use a config file instead |
| #! /usr/bin/python | |
| ############################################################# | |
| # add a new integration and generate a new token before using with new repo | |
| # https://your_team_name.slack.com/apps/manage/ | |
| ############################################################# | |
| import os | |
| import sys |
| #! /usr/bin/python | |
| # This script is intended for use with unity projects using subversion for version control systems | |
| # | |
| # This pre-commit hook will prevent a commit that includes files in the Assets/ folder | |
| # that do not have a companion .meta file. | |
| # Adding asset files without meta files creates a scenario where multiple people | |
| # will have conflicting meta files, causing conflicting settings for imported assets, | |
| # conflicts over who owns the authoritative .meta file, endless confusing notifications about .meta files | |
| # needing to be updated or committed, and generally leads to the dark side. |