Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"| <!DOCTYPE html> | |
| <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <style> | |
| body { | |
| background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA | 
| import QtQuick 2.4 | |
| ListView { | |
| id: list | |
| width: 800 | |
| height: 600 | |
| orientation: Qt.Horizontal | |
| model: 5 | 
| template <typename T> | |
| struct Range { | |
| T *_begin, *_end; | |
| T *begin() { return _begin; } | |
| T *end() { return _end; } | |
| }; | |
| template <typename T> | |
| Range<T> make_range(T *begin, size_t count) | |
| { | 
| <?php | |
| include("/var/www/vhosts/xxxxxcom/httpdocs/PHPUtils/dbConfig.php"); | |
| include("/var/www/vhosts/xxxxxcom/httpdocs/PHPUtils/DButils.php"); | |
| // verifies receipt from iOS in-app purchase | |
| // returns: | |
| // 0 - if params missing | |
| // 1 - if receipt is valid | |
| // 2 - if invalid receipt, or invalid response from verification server | |
| // or bundle/in-app IDs are incorrect | 
| /** | |
| * Copyright 2012 Calvin Rien | |
| * (http://the.darktable.com) | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | 
| Well after more unsuccessful searching I read up on the Editor scripting reference and managed to write a script that resets all selected GameObjects to their prefab settings. | |
| @MenuItem ("Tools/Revert to Prefab %r") | |
| static function Revert() { | |
| var selection = Selection.gameObjects; | |
| if (selection.length > 0) { | |
| for (var i : int = 0; i < selection.length; i++) { | |
| EditorUtility.ResetGameObjectToPrefabState(selection[i]); | |
| } | 
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using System.Collections; | |
| public class GameManager : MonoBehaviour | |
| { | |
| public GameObject cube; | |
| public GameObject protoganist; | |
| private GameObject slider1; // масса куба | |
| private GameObject slider2; // сопротивление | 
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEngine; | |
| [InitializeOnLoad] | |
| public class HighlightHelper | |
| { | |
| static HighlightHelper() | |
| { | |
| EditorApplication.hierarchyWindowItemOnGUI += HierarchyWindowItemOnGUI; | 
| namespace Patterns.Prototype | |
| { | |
| abstract class Chips | |
| { | |
| private string id; | |
| public Chips(string id) | |
| { | |
| this.id = id; | |
| } |