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 bpy | |
from mathutils import Color | |
bl_info = { | |
'name': 'Select By Color', | |
'author': 'Tamas Kemenczy', | |
'version': (0, 1), | |
'blender': (2, 6, 1), | |
'location': 'View3D > Specials > Select By Color', | |
'description': 'Select all faces with the same vertex color of the selected face', |
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
/* | |
Erica Sadun, http://ericasadun.com | |
GameplayKit Available 10.11, iOS 9 | |
*/ | |
import Foundation | |
import GameplayKit // only available on OS X 10.11, iOS 9 |
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 UIKit | |
import XCPlayground | |
class ViewController: UIViewController { | |
func action() { print("Bing!") } | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
view.backgroundColor = .whiteColor() | |
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
// @discardableResult to be added | |
// @noescape needs to move to type annotation | |
// needs to add _ for item | |
public func with<T>(item: T, @noescape update: (inout T) throws -> Void) rethrows -> T { | |
var this = item; try update(&this); return this | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>DVTConsoleDebuggerInputTextColor</key> | |
<string>0.698053 0.73105 0.720167 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>OperatorMono-Book - 13.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>0.847059 0.847059 0.376471 1</string> |
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
final class Example { | |
func emptyTask() { | |
TODO | |
} | |
func slowTask() { | |
FIXME | |
print("This still executes") | |
} |