This file contains hidden or 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
| # Dotfiles | |
| Cross-platform dotfiles managed with [chezmoi](https://chezmoi.io) and secrets via 1Password. | |
| ## Fresh macOS Bootstrap | |
| Paste this into Terminal on a new machine: | |
| ```bash | |
| # Install Homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
This file contains hidden or 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
| // MIT License | |
| // Modified from https://gist.github.com/mrwellmann/c9c6bc416143a58d734077ffe57179a3 | |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// This tool helps to identify and remove empty folders from your Unity 3D project. |
This file contains hidden or 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
| #if UNITY_EDITOR_WIN | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Text.RegularExpressions; | |
| using UnityEngine; | |
| public class UnifyLineEndings |
This file contains hidden or 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
| {"messages":[{"timestamp":1530330056433,"attachments":[],"source":"+18322338658","sourceDevice":1,"sent_at":1530330043588,"received_at":1530330056433,"conversationId":"+18322338658","type":"incoming","schemaVersion":7,"body":"Man landed on the moon. Y/N","contact":[],"decrypted_at":1530330056435,"errors":[],"flags":0,"hasAttachments":0,"quote":null,"id":"eae7c2bd-ea22-b9a6-665b-d174c35d8bc2"},{"timestamp":1530330094420,"attachments":[],"source":"+15126192891","sourceDevice":1,"sent_at":1530330089920,"received_at":1530330094420,"conversationId":"+18322338658","type":"outgoing","sent":true,"expirationStartTimestamp":1530330089920,"schemaVersion":7,"body":"Humans did","contact":[],"decrypted_at":1530330094423,"errors":[],"flags":0,"hasAttachments":0,"quote":null,"recipients":["+18322338658"],"id":"b7524992-dd38-e264-ac15-8af1c9f1bd2b","delivered_to":["+18322338658"],"delivered":1},{"timestamp":1530330227610,"attachments":[],"source":"+18322338658","sourceDevice":1,"sent_at":1530330221141,"received_at":153033022 |
This file contains hidden or 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
| # Created (partly) by http://www.gitignore.io | |
| # other sources: | |
| # http://www.gitignore.io | |
| # http://www.yellosoft.us/git-unity | |
| ### MacOS ### | |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride |
This file contains hidden or 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
| # Assumptions | |
| # | |
| # All filetypes (file suffixes) in everyone's local filesystems will be lowercased. | |
| # Files with uppercased letters in the suffixes will be ignored by this config. | |
| # If we wanted to support mixed-case suffixes, we'd need to adjust this file like this: | |
| # *.jpg *.[jJ][pP][gG] | |
| # But doing that is harder to read ...aaAaAnD could lead to its own problems. | |
| # For later exploration: There might be some git-hook way to mandate this at the server. | |
| # |
This file contains hidden or 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
| //from http://entitycrisis.blogspot.com/2010/11/automagic-gui-scaling-in-unity3d.html | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class GUISizer { | |
| static float WIDTH = 1024; | |
| static float HEIGHT = 768; |
This file contains hidden or 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 UnityEngine; | |
| using System.Collections; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| #endif | |
| // adapted from http://wiki.unity3d.com/index.php/DrawArrow | |
| public enum ArrowType | |
| { |
This file contains hidden or 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 UnityEngine; | |
| using System.Collections; | |
| public class Floatate1 : MonoBehaviour { | |
| /************************************** | |
| * Copyright (c) 2012, Timothy Thomas * | |
| * Some rights reserved. * | |
| **************************************/ | |
| //converted to C# by Matt "Trip" Maker |
This file contains hidden or 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
| syntax: glob | |
| .DS_Store | |
| *.sln | |
| *.userprefs | |
| *.csproj | |
| *.pidb | |
| *.unitypackage | |
| syntax: regexp | |
| ^Build/.* |