Skip to content

Instantly share code, notes, and snippets.

View selfsame's full-sized avatar

Joseph Parker selfsame

View GitHub Profile
;the script is Arcadia/Components/StartHook
Script attached to 'hook' in scene '' is missing or no valid script is attached.
/opt/UnityBeta/Editor/Unity() [0x179753f]
/opt/UnityBeta/Editor/Unity() [0xde059a]
/opt/UnityBeta/Editor/Unity() [0xde0809]
/opt/UnityBeta/Editor/Unity() [0x1690271]
/opt/UnityBeta/Editor/Unity() [0x16943eb]
/opt/UnityBeta/Editor/Unity() [0xcc38d7]
/opt/UnityBeta/Editor/Unity() [0xcaaac9]
@selfsame
selfsame / om.txt
Created April 1, 2016 02:06
clojurians.slack.com #om scrape
This file has been truncated, but you can view the full file.
dnolen: @ul if you look more closely you’ll see there are 2 render passes in Om. One for the root and another for individual components. Note all of this stuff is subject to change and has already been changed for Om Next.
ul: could you briefly explain, where is component rerender is triggered if only its state has been changed and not app state or anything else?
ul: i use custom atom for state which does not notify watches if values has not been changed
ul: and i think this plays bad with my component which rely on updating its state
ul: component's state i mean
dnolen: @ul component local state and app state are not connected in anyway by default
dnolen: again this isn’t any different from React
dnolen: it’s worth spending some time understanding exactly what React guarantees
dnolen: Om just copies that and adds extra stuff
(حدد تبطين (لامدا (كلمات ن)
(كرر ن قول)
(كونس ن
(جمع كلمات))))
(لامدا (ن) (كونس ١ ن))
(حدد تسلسل (لامدا (ن شي)
os.makedirs(dump_path)
for s in bpy.data.scenes:
print(" - scene: ", s.name)
for o in s.objects:
o.select = False
for o in s.objects:
print(" - object: ", o.name)
o.select = True
record_name = o.name + ".fbx"
import bpy, os
from random import randint
file = bpy.data.filepath.split("\\")[-1:][0]
print("#"+file)
dump_path = "C:\\dump\\"+file+"\\"
os.makedirs(dump_path)
@selfsame
selfsame / dags.edn
Last active February 28, 2016 12:21
[:blender QmUcaPq17HkUk485tigEDW1QPvewCCeRFnyMH8yuR3ddtY
:gifs QmZiTtJA34EP7kYcNAyuju18KUndEbXk9hY7mRrxpBwgCx
]
import ctypes
import urllib2
import time
import sys
if len(sys.argv) > 1:
source = sys.argv[1]
else:
source = "http://sdo.gsfc.nasa.gov/assets/img/latest/latest_1024_0304.jpg"
(ns commands.dom
(:require
[om.next :as om]
[commands.core :refer-macros [defcommand]]
[pdfn.core :refer [and* or* not* is*] :refer-macros [defpdfn pdfn inspect compile!]]
[fast.util] [fast.core :refer [-o -parent -next -prev -nodes]]
[fp.data][fp.selection][fp.util][fp.refs][fp.flow][sync.core]))
(defn walk-selection [k]
(let [So (filter -o (fp.refs/doc :selection/uids))
(ns fp.flow
(:require-macros [cljs.core.async.macros :refer [go]])
(:require
[om.core :as om :include-macros true]
[cljs.pprint :as pprint]
[pdfn.core :refer [and* or* not* is*] :refer-macros [defpdfn pdfn inspect]]
[fp.cache :as cache]
[fp.canvas :as c]
[css.units :as u]
[cljs.core.async :as async :refer [>! <! put! chan dropping-buffer]]
@selfsame
selfsame / error
Last active February 17, 2016 19:53
2012 ~/.prosaic/templates prosaic poem new -t couplet
#!/usr/bin/env python # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE # Written by Nathan Hamiel (2010) from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler from optparse import OptionParser class RequestHandler(BaseHTTPRequestHandler)
#!/usr/bin/env python # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE # Written by Nathan Hamiel (2010) from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler from optparse import OptionParser class RequestHandler(BaseHTTPRequestHandler)