Skip to content

Instantly share code, notes, and snippets.

View lebek's full-sized avatar

Peter Le Bek lebek

View GitHub Profile
@lebek
lebek / SketchSystems.spec
Last active June 9, 2018 00:33
Transform Tool*
Transform Tool*
Idle*
Trigger down with hover -> Move
Trigger down no hover -> Select
Move
Trigger released -> Idle
Snapping Enabled*
A-button down -> Snapping Disabled
Snapped
Snap target not in range -> Unsnapped
S.default = {
SET_ACCESS_TOKEN: "SET_ACCESS_TOKEN",
FETCHED_AVATAR_ASSET_IDS: "FETCHED_AVATAR_ASSET_IDS",
SET_AVATAR_MATERIAL_IDS: "SET_AVATAR_MATERIAL_IDS",
SET_AVATAR_MESH_IDS: "SET_AVATAR_MESH_IDS",
SET_CURRENT_AVATAR_IDS: "SET_CURRENT_AVATAR_IDS",
SET_DEEPLINKING_INITIAL_URL: "SET_DEEPLINKING_INITIAL_URL",
UPDATE_DEEPLINKING_URL: "UPDATE_DEEPLINKING_URL",
SET_DEEPLINKING_HANDLED: "SET_DEEPLINKING_HANDLED",
RETURN_DEEPLINKING: "RETURN_DEEPLINKING",
tooltipPanel: {
transform: [{
scale3d: [.7, .7, .7]
}, {
translate: [0, -.03, .03]
}, {
rotateX: "45deg"
}]
}
L.defaultProps = {
useDynamicRowSize: !1,
rows: [],
alphaPadding: 0,
scrollType: "vertical",
enableStaticRender: !0,
snapToInterval: 0,
snapToAlignment: "start",
showIndicator: !0,
enableOnMove: !1,
C = i.StyleSheet.create({
anchorContainer: {
height: 0,
width: 0
},
panelContainer: {
flex: 1,
flexDirection: "column",
backgroundColor: d.default.PANEL,
borderRadius: 8
class UMoveObjectCommand: public USketchCommand {
private:
FString SketchObjectGuid;
/* New transform in sketch-space */
FTransform NewTransform;
public:
UMoveObjectCommand() {};
@lebek
lebek / homogeneous_example.py
Last active August 29, 2015 14:19
simplified transformations
import numpy as np
import theano
import theano.tensor as T
class Point():
def __init__(self, p):
self.p = p
class Vector():
import scalaz.stream._
import scalaz.concurrent.Task
object test {
val P = Process
def logger: Sink[Task,String] = io.stdOutLines
def one: Writer[Task, String, Int] = P.tell("Running one")
@lebek
lebek / keybase.md
Created September 18, 2014 14:16
keybase.md

Keybase proof

I hereby claim:

  • I am lebek on github.
  • I am lebek (https://keybase.io/lebek) on keybase.
  • I have a public key whose fingerprint is 11ED 2123 8E5B 5F44 8558 108A 78F7 D964 0730 D900

To claim this, I am signing this object:

@lebek
lebek / amzn.csv
Last active August 29, 2015 13:56 — forked from lebek/amzn.csv
date close
2014-02-07 361.08
2014-02-06 354.59
2014-02-05 346.45
2014-02-04 347.95
2014-02-03 346.15
2014-01-31 358.69
2014-01-30 403.01
2014-01-29 384.2
2014-01-28 394.43