Skip to content

Instantly share code, notes, and snippets.

View onbjerg's full-sized avatar

Oliver onbjerg

View GitHub Profile
1005 1023 1036 1039 1078 1080 1114 1130 1133 1159
1164 1180 1209 1211 1218 1227 1231 1236 1267 1271
1284 1395 1397 1400 1406 1408 1430 1452 1456 1465
1469 1503 1534 1536 1544 1545 1558 1560 1561 1563
1574 1581 1584 1611 1612 1621 1645 1684 1686 1695
1697 1733 1744 1749 1750 1760 1788 1812 1823 1827
1834 1835 1844 1845 1855 1856 1859 1860 1878 1885
1933 1941 1956 1957 1988 1990 2018 2025 2046 2054
2056 2066 2072 2074 2090 2144 2148 2193 2212 2249
2256 2264 2271 2311 2314 2319 2326 2333 2353 2418
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreied3h4n7tnqopcxcyrwa44skde7onv4myf6s4wx3zgwyxi2r45hfu ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@onbjerg
onbjerg / gist:e72c06b46ff67303de6a6d3b5ab9c1f7
Created May 9, 2019 17:03
Amethyst Rendy with Metal backend, running in release for about 30 seconds
Create spheres
Create lights
[ERROR][rendy_memory::heaps] All suitable heaps are exhausted. Heaps {
types: [
MemoryType {
heap_index: 0,
properties: DEVICE_LOCAL,
dedicated: DedicatedAllocator {
memory_type: MemoryTypeId(
0
@onbjerg
onbjerg / stderr
Created May 9, 2019 16:38
Amethyst Rendy error (with Metal backend)
Create spheres
Create lights
[ERROR][amethyst_assets::storage] "PREFAB": Asset "large/NormalTangentMirrorTest.glb" (handle id: Handle { id: 3 }) could not be loaded: Failed to load asset with name "large/NormalTangentMirrorTest.glb"
[ERROR][amethyst_assets::progress] Error loading handle 3, PREFAB, with name large/NormalTangentMirrorTest.glb: Failed to load asset with name "large/NormalTangentMirrorTest.glb"
caused by: Failed to load asset with name "large/NormalTangentMirrorTest.glb"
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Deserialize(Error("expected value", line: 1, column: 1)) } }), backtrace: None, error: GltfImporterError } }), backtrace: None, error: StringError("Failed to import gltf scene \'\"large/NormalTangentMirrorTest.glb\"\'") } }), backtrace: None, error: Format("GLTFScene") } }), backtrace: None, error: Asset("large/NormalTangentMir
__ _______ _______ _______ _..._
'']["" """"]["" """"]["" """"][LI LI]
OO''OO---OO''OO---OO''OO---OO`'OO-OO'^#^#^#^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(`-()_.-=-.
/66 , , \
=(o_/=//_( /======`
jgs ~"` ~"~~`
.-"-._( ) )
/ , , 66\
`======\ )_\\=\_o)=
jgs `~~"~ `"
____.-==-, _______ _______ _____
{"""""LILI|[" " "'"]['""'"""][''""'
^#^#^#^#^/_OO====OO`'OO---OO''OO---OO''OO---
^^^jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Keybase proof

I hereby claim:

  • I am onbjerg on github.
  • I am onbjerg (https://keybase.io/onbjerg) on keybase.
  • I have a public key whose fingerprint is 3548 B2DE 48EB ABB9 303F 69CE 3B18 2D3A D953 AB4B

To claim this, I am signing this object:

(defn factorial [n]
(if (= n 1)
n
(* n (factorial (dec n))))
(print (factorial 7))