Skip to content

Instantly share code, notes, and snippets.

View MaskeZen's full-sized avatar

Diego Mascheroni MaskeZen

  • San José de Mayo, Uruguay
  • 08:41 (UTC -03:00)
View GitHub Profile
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
<script src="//"></script>
<link rel="stylesheet" href="">
<!-- Require the peer dependencies of facemesh. -->
<script src=""></script>
<script src=""></script>
MaskeZen / ceshi.ini
Created May 17, 2023 01:33 — forked from SolveSoul/ceshi.ini
V380 Pro Activate ONVIF/RTSP
rtsp = 1 ; RTSPЭ�飬0���ر� 1������

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

import bpy
# Eliminar cubo?
# bpy.ops.object.delete(use_global=False, confirm=False)
# Importar archivo COLADA (.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)
MaskeZen /
Created January 27, 2021 20:31
notes from setting environment for vrn

vrn en centos7


docker pull

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 /bin/bash

Dentro del contenedor

MaskeZen /
Last active January 28, 2022 12:36
Script para instalar o actualizar el firefox dev
# Script para instalar o actualizar el firefox dev
# 2022/01/22
sudo echo "Descargar Firefox Developer Edition"
curl -L "" -o "firefox-dev.tar.bz2"
# Descomprimir en el directorio opt para que pueda ser accesible
sudo tar -xvf firefox-dev.tar.bz2 -C /opt/
MaskeZen /
Created August 8, 2019 15:09
Rename multiple files with prefix or suffix in Linux console

Add a suffix

for file in *; do mv "$file" "$(basename "$file")yourSuffix"; done;

Exmpale to add an underscore "_" at the end each text file:

for file in *.txt; do mv "$file" "$(basename "$file")_"; done;

Add a prefix

MaskeZen /
Created July 19, 2019 21:17
Vagrant notas


  • vagrant init box
  • vagrant up
  • vagrant ssh
  • vagrant global-status
  • vagrant reload --provision Recarga la máquina y corre los scripts en provision. custom boxes


MaskeZen /
Last active January 10, 2022 01:49
oauth2 notas



notas sobre oauth2

  • Access token - A token used to access protected resources.
  • Authorization code - An intermediary token generated when a user authorizes a client to access protected resources on their behalf. The client receives this token and exchanges it for an access token.
  • Authorization server - A server which issues access tokens after successfully authenticating a client and resource owner, and authorizing the request.
  • Client - An application which accesses protected resources on behalf of the resource owner (such as a user). The client could be hosted on a server, desktop, mobile or other device.
MaskeZen /
Last active October 21, 2020 02:45
Publicador con rsync
# $ ssh-keygen -t rsa -b 2048
# If you already have an SSH key, you can skip this step… Just hit Enter for the key and both passphrases:
# Copy your keys to the target server:
# $ ssh-copy-id id@server
# You may also want to look into using ssh-agent if you want to try keeping your keys protected with a passphrase.
# CONFIGURACIÓN --------------------