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
| (ns biology.squid | |
| (:use hard.core hard.input hard.tween unity.messages) | |
| (:require unity.core)) | |
| (defn squid-start [this]) | |
| (defn squid-update [this] | |
| (let [h (get-axis :horizontal) | |
| v (get-axis :vertical) | |
| body (component this "Rigidbody") |
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
| IOException: Sharing violation on path C:\projects\joe\dev\unity\vanilla\Assets\Arcadia\Source\clojure\core\server.clj | |
| System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:320) | |
| System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) | |
| (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) | |
| System.IO.FileInfo.Open (FileMode mode, FileAccess access, FileShare share) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileInfo.cs:210) | |
| System.IO.FileInfo.Open (FileMode mode, FileAccess access) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileInfo.cs:205) | |
| System.IO.FileInfo.OpenText () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileInfo.cs:168) |
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
| //======= Copyright (c) Valve Corporation, All rights reserved. =============== | |
| using UnityEngine; | |
| using Valve.VR; | |
| public struct ClickedEventArgs | |
| { | |
| public uint controllerIndex; | |
| public uint flags; | |
| public float padX, padY; | |
| } |
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
| package main | |
| import "github.com/nsf/termbox-go" | |
| import "time" | |
| const animationSpeed = 10 * time.Millisecond | |
| var x, y = 5, 5 | |
| var pchar = "@" |
This file has been truncated, but you can view the full file.
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
| --------- beginning of metrics | |
| I/battery ( 37): bq24296:def:POWER_STATUS_DISCHARGING=1;CT;1,cap=100;CT;1:NR | |
| I/LoggerMetricsFactoryImpl( 1038): SysUi:PowerMetrics:chargeDuration=14.0;CT;1,unplugged=1.0;CT;1:NR | |
| I/USBCableEvent( 37): do_chrdet_int_task:bq24297:vbus_on=1;CT;1;DV;1:NR | |
| I/kernel ( 37): usb_connection_status:def:usb_connected=1;CT;1,timestamp=3782245240;TI;1:NR |
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
| (ns tween.faster | |
| (use magic.faster) | |
| (import | |
| [UnityEngine Application MonoBehaviour WaitForSeconds Time Mathf | |
| GameObject Color Vector4 Vector3 Vector2 Quaternion Debug] | |
| [System Object] | |
| [System.Collections IEnumerator] | |
| Wait MonoObj TimeLine | |
| ObjectPair SinglePair DoublePair Int16Pair Int32Pair Int64Pair QuaternionPair |
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
| (ns universe.shaders | |
| (use hard.core arcadia.core) | |
| (:require | |
| [clojure.pprint :as pprint] | |
| [clojure.walk :as walk] | |
| [gamma-tools.core :as gamma-tools :refer [g* g- g+ gdiv]] | |
| [gamma.api :as g] | |
| [gamma.program :as p])) | |
| (defn- datatype? [v] (or (sequential? v)(map? v)(vector? v))) |
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
| (defn -ogroup [form2] | |
| (reduce | |
| (fn [{:keys [stack cursor]} v] | |
| (cond (= :v-par-start v) {:stack (conj stack []) :cursor (conj cursor 0)} | |
| (= :v-par-end v) [stack] ;(first col) | |
| :else {:stack (conj stack v) :cursor cursor})) | |
| {:stack [] :cursor [0]} form2)) | |
| (defn -ooo [form] |
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
| (ns soa.core) | |
| (deftype Graph [cnt rec]) | |
| (defn new-graph [cnt rec-type] | |
| (let [rec (new rec-type)] | |
| (Graph. cnt | |
| (reduce | |
| #(assoc %1 %2 (into [] (map (fn [_] nil)(range cnt)))) | |
| rec |
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
| (ns fast.cache) | |
| (defmacro get? [sym id] | |
| (let [ar-sym (symbol (str "fast.cache/ar-" sym))] | |
| `(aget ~ar-sym ~id))) | |
| (defmacro put! [sym k v] | |
| (let [ar-sym (symbol (str "fast.cache/ar-" sym))] | |
| `(aset ~ar-sym ~k ~v))) |