Skip to content

Instantly share code, notes, and snippets.

View MaskeZen's full-sized avatar
:shipit:

Diego Mascheroni MaskeZen

:shipit:
  • San José de Mayo, Uruguay
  • 10:07 (UTC -03:00)
View GitHub Profile
@MaskeZen
MaskeZen / notas_centos7_vrn.md
Created January 27, 2021 20:31
notes from setting environment for vrn

vrn en centos7

Notas

docker pull nvcr.io/nvidia/cudagl:9.1-devel-centos7

9.1-devel-centos7: Pulling from nvidia/cudagl

nvidia-docker run -it --gpus all --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 -v ~/repo:/workspace/repo nvcr.io/nvidia/cudagl:9.1-devel-centos7 /bin/bash

Dentro del contenedor

import bpy
# Eliminar cubo?
# bpy.ops.object.delete(use_global=False, confirm=False)
# Importar archivo COLADA (.dae)
bpy.ops.wm.collada_import(filepath="/home/maske/repo/maske/ai/AFLW_image00041.dae")
# Rotación de la imagen
bpy.ops.transform.rotate(value=-3.13098, orient_axis='Y', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(False, True, False), mirror=True, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, release_confirm=True)

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@MaskeZen
MaskeZen / ceshi.ini
Created May 17, 2023 01:33 — forked from SolveSoul/ceshi.ini
V380 Pro Activate ONVIF/RTSP
[CONST_PARAM]
rtsp = 1 ; RTSPЭ�飬0���ر� 1������
@MaskeZen
MaskeZen / face_liveness.html
Created July 20, 2023 02:26 — forked from kleysonr/face_liveness.html
Mediapipe facemesh eye blink for face liveness detection example
<html>
<head>
<script src="//code.jquery.com/jquery-3.3.1.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Require the peer dependencies of facemesh. -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core@2.6.0/dist/tf-core.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-converter@2.6.0/dist/tf-converter.min.js"></script>