I hereby claim:
-
I am skrat on github.
-
I am skrat (https://keybase.io/skrat) on keybase.
-
I have a public key ASDvkkh_WzqaPYGA94ojnltZrn_OadNqiyFdd5-IB12T_Ao
150c150 | |
< .setStorage(1, GL::TextureFormat::RGB8, size) | |
--- | |
> .setStorage(1, GL::TextureFormat::RGB, size) | |
154,155c154 | |
< Shaders::MeshVisualizer3D::Flag::Wireframe| | |
< Shaders::MeshVisualizer3D::Flag::VertexId}; | |
--- | |
> Shaders::MeshVisualizer3D::Flag::Wireframe}; | |
160,162c159 |
cmake_minimum_required(VERSION 3.5) | |
project(jumper-qt LANGUAGES CXX) | |
set(CMAKE_INCLUDE_CURRENT_DIR ON) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/modules/" ${CMAKE_MODULE_PATH}) | |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | |
set(CMAKE_AUTOUIC ON) | |
set(CMAKE_AUTOMOC ON) |
#!/usr/bin/python | |
# Based on https://gist.github.com/provegard/1536682, which was | |
# Based on getifaddrs.py from pydlnadms [http://code.google.com/p/pydlnadms/]. | |
# Only tested on Linux! | |
from socket import AF_INET, AF_INET6, inet_ntop | |
from ctypes import ( | |
Structure, Union, POINTER, | |
pointer, get_errno, cast, |
I hereby claim:
I am skrat on github.
I am skrat (https://keybase.io/skrat) on keybase.
I have a public key ASDvkkh_WzqaPYGA94ojnltZrn_OadNqiyFdd5-IB12T_Ao
import os | |
import bpy | |
import asyncio | |
GLB = "/tmp/model.glb" | |
def import_gltf(path): | |
bpy.ops.object.select_all(action='SELECT') | |
bpy.ops.object.delete() | |
bpy.ops.import_scene.gltf(filepath=path) |
(ns skrat.sketch-002.filament) | |
(def ^:dynamic *engine* nil) | |
(defn mat4 | |
"Create new mat4" | |
[] | |
(. js/mat4 (create))) | |
(def VertexAttribute |
diff --git a/PKGBUILD b/PKGBUILD | |
index 21805bc..10c053f 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -9,7 +9,7 @@ pkgdesc='A command line interface for the Pirate Bay' | |
arch=('any') | |
url='https://github.com/vikstrous/pirate-get/' | |
license=('AGPL') | |
-depends=('python' 'python-setuptools') | |
+depends=('python' 'python-setuptools' 'python-veryprettytable' 'python-beautifulsoup4') |
(defn wall-top [c] | |
(vary-meta | |
(rt/material | |
(rt/->FlatFill | |
(color/int->color c))) | |
assoc :rsws-constant c)) |
;; some speed tests of functions to access nested properties in JS objects. | |
(def test-data (->> (into {} (for [k1 (range 10)] | |
[k1 (into {} (for [k2 (range 10)] | |
[k2 (into {} (for [k3 (range 10)] | |
[k3 k3]))]))])) | |
(clj->js))) | |
(js/console.log | |
(.toString | |
(fn [x] (apply aget x ["foo" "bar" "baz"])))) | |
(js/console.log | |
(.toString | |
(fn [x] (aget x "foo" "bar" "baz")))) |