Skip to content

Instantly share code, notes, and snippets.

View fizzvr's full-sized avatar
🏳️
2023

Vladimir Rodríguez fizzvr

🏳️
2023
View GitHub Profile
@fizzvr
fizzvr / einvoice.py
Created June 15, 2023 16:15 — forked from ajepe/einvoice.py
Electronic Document SRI Ecuador
# -*- coding: utf-8 -*-
##############################################################################
#
# E-Invoice Module - Ecuador
# Copyright (C) 2014 VIRTUALSAMI CIA. LTDA. All Rights Reserved
# alcides@virtualsami.com.ec
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@fizzvr
fizzvr / validar_cedula_ecuador.js
Created July 4, 2021 20:28 — forked from vickoman/validar_cedula_ecuador.js
Algoritmo para validar cedulas ecuatorianas.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
<script>
$(function(){
/**
* Algoritmo para validar cedulas de Ecuador
* @Author : Victor Diaz De La Gasca.
* @Fecha : Quito, 15 de Marzo del 2013
* @Email : vicmandlagasca@gmail.com
* @Pasos del algoritmo
@fizzvr
fizzvr / art.txt
Created March 22, 2021 15:12
Ascci Art
<!--
'------------ACERCA DE MI----------------'
'--- _,met$$$$$gg. ---'
'--- ,g$$$$$$$$$$$$$$$P. ---'
'--- ,g$$P" """Y$$.". ---'
'--- ,$$P` `$$$. ---'
'--- `,$$P ,ggs. `$$b: ---'
'--- `d$$` ,$P` . $$$ ---'
'--- $$P d$` , $$P ---'
'--- $$: $$. - ,d$$ ---'
// This function converts the byte to the corresponding amount, be it kilo, mega, GB, etc.
const convertWeightByte = (byte) => {
let sizekiloByte = (byte / 1024);
let sizeMega = (sizekiloByte / 1024);
let sizeGigabyte = (sizeMega / 1024);
let sizeTerabyte = (sizeGigabyte / 1024);
let sizePetabyte = (sizeTerabyte / 1024);
let sizeExabyte = (sizePetabyte / 1024);
if(sizekiloByte > 0 && sizekiloByte <= 1024){
// This function converts the byte to the corresponding amount, be it kilo, mega, GB, etc.
const convertWeightByte = (byte) => {
let sizekiloByte = (byte / 1024);
let sizeMega = (sizekiloByte / 1024);
let sizeGigabyte = (sizeMega / 1024);
let sizeTerabyte = (sizeGigabyte / 1024);
let sizePetabyte = (sizeTerabyte / 1024);
let sizeExabyte = (sizePetabyte / 1024);
if(sizekiloByte > 0 && sizekiloByte <= 1024){
var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
@fizzvr
fizzvr / Github Webhook Tutorial.md
Created December 21, 2018 19:45 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@fizzvr
fizzvr / es.lua
Created November 27, 2018 23:08
Going traslate.
Locales['es'] = {
-- Inventory
['cash'] = 'dinero',
['inventory'] = 'inventario',
['use'] = 'usar',
['give'] = 'dar',
['remove'] = 'tirar',
['return'] = 'regresar',
['give_to'] = 'dar a',
['amount'] = 'cantidad',
@fizzvr
fizzvr / .txt
Created February 15, 2018 21:29
D.R.A
14 de febrero
Flores, regalos e idas a un motel, enamoramiento, decepción, es lo que ha dejado el día dedicado al amor...me resulta difícil aceptar esa cruda realidad que a veces nos puede tocar,hacemos regalos costosos a quien no nos ama y está persona no tiene el valor de cortarnos por ese regalo costoso haciendo un engañó más vil...algunas tienen que aguantar relaciones sexuales por que el día lo amerita...otros son aún más valientes le regalan a una persona a la cual ya no aman...por que aman a la persona que dejo de ser...otros en cambio desean que ese regalo que se recibirá fuera de esa persona que aun se dice amar...que es el amor? Es a casi darlo todo por alguien que vale o no la pena...
Para mi...a veces yo me enamoraba de ellas o ellas se enamoraban de mi a pesar de lo despreciable que pudiera ser...total yo solo quería beber, otra cosa mas no suelo ser tan detallista pensaba regalarle tus recuerdos cálidos a mi soledad.
Crónicas de un alcoholico
@fizzvr
fizzvr / txt
Created August 30, 2017 15:40
FFMPEG with yoputube-dl winsuck
youtube-dl -x --audio-format mp3 --ffmpeg-location "c:\ffmpeg\f\bin" https://www.youtube.com/watch?v=xKKeqlBQ3Js