Skip to content

Instantly share code, notes, and snippets.

View erkobridee's full-sized avatar

Erko Bridee erkobridee

View GitHub Profile

"Any sufficiently advanced technology is indistinguishable from magic." by - Arthur C. Clarke | CCCB LAB

Arthur C. Clarke was a scientist, science writer and author of science fiction stories and novels. This quote of his reflects on the early beginnings of technology and offers us a way of linking up the two exhibitions that have been held this year at the CCCB: Black Light and Stanley Kubrick.

this quote it's also refered on [YouTube] Why Magic Systems don't feel Magical | Tale Foundry - 2023/05/31

Learning

@erkobridee
erkobridee / ts-use_consts_instead_of_enums.ts
Last active July 19, 2024 12:30
a sample code of how to use const as const instead of enums in TypeScript
/*
from:
Enums considered harmful | Matt Pocock
https://www.youtube.com/watch?v=jjMbPt_H3RQ
*/
const LogLevel = {
DEBUG: "DEBUG",
INFO: "INFO",
@erkobridee
erkobridee / iframe-content.css
Last active July 13, 2024 21:57
set focus to an iframe after loads its content
// hack to enable touch after focus on the iframe
html,
body {
touch-action: auto;
}
@erkobridee
erkobridee / maven-util-cmds.md
Created August 7, 2012 18:10
comandos úteis para uso do maven

#Comandos úteis do Maven

Criação de Projeto

desktop java (jar)

mvn archetype:generate \
  -DarchetypeGroupId=org.apache.maven.archetypes \
 -DarchetypeArtifactId=maven-archetype-quickstart \
@erkobridee
erkobridee / 01__second-brain-system.md
Last active July 3, 2024 03:44
Second Brain System and productive useful references
/*
code to get the channel id the youtube video page
the output in case of susscess will open on a new
browser tab the youtube channel feed as JSON
initially based on
https://paperless.blog/youtube-channel-web-feed-bookmarklet
but I got some edge cases where that doesn't work, so I reworked it
@erkobridee
erkobridee / nextjs_contentlayer_obsidian.md
Last active June 26, 2024 16:24
create/manage notes > process > publish
@erkobridee
erkobridee / medicina_software_livre.md
Last active June 24, 2024 04:28
listagem de ferramentas de software livre para profissionais de medicina

Profissionais Liberais - Medicina

Ferramentas

Modelo Comercial : Software Livre

OpenMRS

Descrição : É uma plataforma que permite a construção de um sistema personalizado de registros médicos sem precisar de conhecimentos em programação (claro que o conhecimento de análises médicas e sistemas é necessário). O sistema é baseado em uma estrutura conceitual de banco de dados que armazena dados do paciente e registros médicos, permite a exportação de dados para planilhas, possui meios de segurança para os dados clínicos dos pacientes, criação de relatórios, e outras funções. É um projeto libre muito utilizado nos países pobres para o acompanhamento de epidemias e está disponível para Linux, Windows e Mac OS.

// https://jsfiddle.net/erkobridee/56nwr3d2/1/
/*
references
Digital Root | Math is Fun
https://www.mathsisfun.com/numbers/digital-root.html
Digital Root Calculator | Omni Calculator
https://www.omnicalculator.com/math/digital-root