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
before(function() { | |
var args = [].slice.call(arguments) | |
function cb() { | |
gc() | |
if (ITERATIONS--) | |
test.apply(null, args) | |
else | |
process.nextTick(endCb) | |
} | |
args.push(cb) |
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
#!/usr/bin/env coffee | |
fs = require('fs') | |
libxml = require('libxmljs') | |
file = fs.readFileSync(path = process.argv[2], 'utf8') | |
console.log(path) | |
xml = libxml.parseXml(file) | |
for quote in xml.find("//q") |
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
diff --git a/sys/applemedia/iosassetsrc.m b/sys/applemedia/iosassetsrc.m | |
index e237c2e..5d32bc4 100644 | |
--- a/sys/applemedia/iosassetsrc.m | |
+++ b/sys/applemedia/iosassetsrc.m | |
@@ -470,6 +470,7 @@ - (id) init | |
{ | |
self = [super init]; | |
+ NSLog(@">>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<"); | |
return self; |
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
function main(gameBuilder) { | |
// MARK: - Bad Guy | |
var entityBad = gameBuilder.Entity("baddy_bad") | |
var agent = entityBad.Agent("Bad") | |
var chaseBehavior = agent.Behavior() | |
chaseBehavior.wander(1) | |
chaseBehavior.seekAgent("player") | |
entityBad.onLoad = function(self, scene) { |
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
function main(gameBuilder) { | |
var entity = gameBuilder.Entity("Max_rootNode") | |
// MARK: - Behaviors & Goals | |
var agent = entity.Agent("Max") | |
agent.mass = 1 | |
agent.maxAcceleration = 1 | |
agent.maxSpeed = 1 | |
agent.radius = 0.5 |
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 by Krzysztof Zablocki on 06/01/2017. | |
// Copyright (c) 2017 Pixle. All rights reserved. | |
// | |
import Foundation | |
extension Array { | |
func parallelFlatMap<T>(transform: (Element) throws -> [T]) throws -> [T] { | |
return try parallelMap(transform).flatMap { $0 } | |
} |
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
import hou, os, sys | |
from PySide2 import QtCore | |
from canvaseventtypes import KeyboardEvent | |
import utility_hotkey_system | |
import nodegraphstates as states | |
this = sys.modules[__name__] | |
__userdir = hou.getenv('HOUDINI_USER_PREF_DIR') | |
__pythonlibs = os.path.join(__userdir, "python2.7libs") |
OlderNewer