This file contains hidden or 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
{ | |
"anaverse": { | |
"location":"tezos/KT1KEa8z6vWXDJrVqtMrAeDVzsvxat3kHaCE/473581", | |
"startDate":"2024-07-25T00:00:00.000Z", | |
"endDate":"2024-07-29T00:00:00.000Z", | |
"eventName":"Luis Test" | |
} | |
} |
This file contains hidden or 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
private void RunScript(Guid id, Color col, double pow, ref object A) | |
{ | |
Rhino.DocObjects.ObjRef obj = new Rhino.DocObjects.ObjRef(id); | |
Rhino.DocObjects.LightObject lobj = obj.Object() as Rhino.DocObjects.LightObject; | |
lobj.LightGeometry.Diffuse = col; | |
lobj.LightGeometry.Intensity = pow; | |
lobj.CommitChanges(); | |
} |
This file contains hidden or 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 |
This file contains hidden or 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 |
This file contains hidden or 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]; |
This file contains hidden or 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 |
This file contains hidden or 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 |
This file contains hidden or 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() |
NewerOlder