View gist:9d78f111ea84d66f829f7aa8973a6a1e
This file contains 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
I am attesting that this GitHub handle fraguada is linked to the Tezos account tz1SeV6vmY1nR6xuDPXRx1tWsrhqXCwmXL2j for tzprofiles | |
sig:edsigtxEr4WqcKtVES6388dujuR5Fq6QYwHY1pgPFM84bd3Y1Emf5x4mju64CgpZmM4Re3dcbAduCeaEBNnZobDUrvmRAwFxr9d |
View ffmpeg.txt
This file contains 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
.png sequence to mp4 | |
ffmpeg -r 30 -i Frame_%05d.png -pix_fmt yuv420p out.mp4 | |
-intra flag useful for seekable mp4, but higher file size | |
concatenate mp4s | |
https://stackoverflow.com/questions/7333232/how-to-concatenate-two-mp4-files-using-ffmpeg | |
:: Create File List | |
echo file file1.mp4 > mylist.txt | |
echo file file2.mp4 >> mylist.txt |
View ArrayCopyPerformanceTest.cs
This file contains 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
// from https://stackoverflow.com/questions/30636113/get-subarray-of-byte/30636227#30636227 | |
// added Buffer.Copy() test | |
// added ArraySegment().ToArray() test | |
public static void Test() | |
{ | |
const int MAX = 1000000; | |
int[] arrByte1 = Enumerable.Range(0, 1000).ToArray(); | |
int[] arrByte2 = new int[500]; |
View scene.json
This file contains 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
{ | |
"metadata" : { | |
"version" : 4.3, | |
"type" : "Object", | |
"generator" : "Iris for Rhinoceros" | |
}, | |
"fonts" : [{ | |
"uuid" : "d03772e6-7c7e-49e9-aa86-1a6d09aa1e33", | |
"glyphs" : { "glyphs": { "ο": { "x_min": 0, "x_max": 712, "ha": 815, "o": "m 356 -25 q 96 88 192 -25 q 0 368 0 201 q 92 642 0 533 q 356 761 192 761 q 617 644 517 761 q 712 368 712 533 q 619 91 712 201 q 356 -25 520 -25 m 356 85 q 527 175 465 85 q 583 369 583 255 q 528 562 583 484 q 356 651 466 651 q 189 560 250 651 q 135 369 135 481 q 187 177 135 257 q 356 85 250 85 " }, "S": { "x_min": 0, "x_max": 788, "ha": 890, "o": "m 788 291 q 662 54 788 144 q 397 -26 550 -26 q 116 68 226 -26 q 0 337 0 168 l 131 337 q 200 152 131 220 q 384 85 269 85 q 557 129 479 85 q 650 270 650 183 q 490 429 650 379 q 194 513 341 470 q 33 739 33 584 q 142 964 33 881 q 388 1041 242 1041 q 644 957 543 1041 q 756 716 756 867 l 625 716 q 561 874 625 816 q 395 933 497 933 q 243 891 309 933 q 164 759 164 841 q 325 609 164 656 q 625 526 475 568 q 788 291 788 454 " }, "¦": { "x |
View console2.txt
This file contains 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
THREE.WebGLRenderer 84 three.js:19802:3 | |
THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported. three.js:19618:6 | |
THREE.WebGLShader: Shader couldn't compile. three.js:16285:4 | |
WebGLShader https://rawgit.com/mrdoob/three.js/r84/build/three.js:16285:4 | |
WebGLProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:16812:26 | |
WebGLPrograms/this.acquireProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:17234:15 | |
initMaterial https://rawgit.com/mrdoob/three.js/r84/build/three.js:21331:15 | |
setProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:21490:5 | |
WebGLRenderer/this.renderBufferDirect https://rawgit.com/mrdoob/three.js/r84/build/three.js:20438:18 | |
WebGLShadowMap/this.render https://rawgit.com/mrdoob/three.js/r84/build/three.js:9347:8 |
View console.txt
This file contains 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
THREE.WebGLRenderer 84 three.js:19802:3 | |
THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported. three.js:19618:6 | |
THREE.WebGLShader: Shader couldn't compile. three.js:16285:4 | |
WebGLShader https://rawgit.com/mrdoob/three.js/r84/build/three.js:16285:4 | |
WebGLProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:16812:26 | |
WebGLPrograms/this.acquireProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:17234:15 | |
initMaterial https://rawgit.com/mrdoob/three.js/r84/build/three.js:21331:15 | |
setProgram https://rawgit.com/mrdoob/three.js/r84/build/three.js:21490:5 | |
WebGLRenderer/this.renderBufferDirect https://rawgit.com/mrdoob/three.js/r84/build/three.js:20438:18 | |
WebGLShadowMap/this.render https://rawgit.com/mrdoob/three.js/r84/build/three.js:9347:8 |
View gist:e773518448ed1b7a6e34ea7cee0a68da
This file contains 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
from pymetawear import libmetawear | |
from pymetawear.client import MetaWearClient | |
#from http://www.pyimagesearch.com/2015/03/30/accessing-the-raspberry-pi-camera-with-opencv-and-python/ | |
# import the necessary packages | |
from picamera.array import PiRGBArray | |
from picamera import PiCamera | |
import time | |
import cv2 |
View gist:71456b09cf585c57206a52814e93c2ce
This file contains 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
from pymetawear import libmetawear | |
from pymetawear.client import MetaWearClient | |
c = MetaWearClient('XX:XX:XX:XX:XX:XX', 'pygatt', debug=True) | |
print("New client created: {0}".format(c)) | |
#args board, strand, pin, #pixels, color order | |
libmetawear.mbl_mw_neopixel_init_slow_strand(c.board, 0, 0, 1, 0) | |
#args board, strand, pixel id, r, g, b |
View gist:42eeba928cf85b8ecc989b74d69d3635
This file contains 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
#from http://www.pyimagesearch.com/2015/03/30/accessing-the-raspberry-pi-camera-with-opencv-and-python/ | |
# import the necessary packages | |
from picamera.array import PiRGBArray | |
from picamera import PiCamera | |
import time | |
import cv2 | |
# initialize the camera and grab a reference to the raw camera capture | |
camera = PiCamera() |
View Test83.js
This file contains 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
{ | |
"metadata": { | |
"version": 4.3, | |
"type": "Object", | |
"generator": "MyApp" | |
}, | |
"geometries": [ | |
{ | |
"uuid": "8ae9fe0f-b41e-4b1e-8bda-397f75cbe68a", | |
"type": "Geometry", |
NewerOlder