Skip to content

Instantly share code, notes, and snippets.

View DCubix's full-sized avatar
💭
😄

Diego Lopes DCubix

💭
😄
View GitHub Profile
#include "sgm_cpu.h"
#include <stdio.h>
#include <assert.h>
#include <memory.h>
#include <math.h>
static sgmByte sgm_cpu_next_byte(sgmCPU* cpu) {
return cpu->ram[SGM_LOC_PROGRAM + (cpu->pc++)] & 0xFF;
}
@DCubix
DCubix / emojitext.py
Last active May 16, 2019 13:39
Convert text into emoji for Discord
#!/bin/python3
import sys, random
## HOW TO USE:
## python emojitext.py "your text here" zws
## zws: This option is used to enable a zero-width space character to prevent discord from
## converting your characters into flags.
DIGIT = [':zero:', ':one:', ':two:', ':three:', ':four:', ':five:', ':six:', ':seven:', ':eight:', ':nine:']
ALTS = ['ben', 'crap', 'jx9', 'tuts', 'thinking', 'smirk', 'tada', 'snus', 'punk', 'face_palm', 'facepalm', 'clap', 'ok_hand', 'smile', '1234']
@DCubix
DCubix / Holyrics_Bridge_vMix.vb
Last active February 3, 2024 18:33
Script que permite que o Holyrics se comunique com o vMix, atualizando titles conforme a projeção.
'--
'-- Script para conexão dos dados do Holyrics ao vMix
'-- inclui dados de letra de música e bíblia
'-- autor: Diego Lopes
'-- data: 03/02/2024=
'--
'-- CONFIGURAÇÕES DO HOLYRICS
dim holyricsHost as String = "http://192.168.100.3:8088"
dim holyricsView as String = "stage-view"