Skip to content

Instantly share code, notes, and snippets.

View DiegoAscanio's full-sized avatar
🎓
Lecturing computer classes @CEFET-MG Divinópolis

Diego Ascanio Santos DiegoAscanio

🎓
Lecturing computer classes @CEFET-MG Divinópolis
  • CEFET-MG
  • Divinópolis
View GitHub Profile
@DiegoAscanio
DiegoAscanio / markdown_tips.md
Created August 13, 2023 21:09 — forked from chrischoy/markdown_tips.md
Markdown Tips

Rendering latex Eqs in Markdown

  • Github doesn't allow javascript in a markdown file. Try to compile equations using readme2tex presents an elegant solution for rendering latex equations.

  • grip runs a simple http server to visualize a readme file on a browser. It also tracks changes in a readme file and refresh the page whenever there is a change. However, you need to embed the following script so that the Mathjax renders eqs.

    <script async src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML"></script>
    <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" onload="javascript:MathJax.Hub.Queue(['Typeset', MathJax.Hub]);">
@DiegoAscanio
DiegoAscanio / LLM.md
Created March 31, 2023 20:39 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@DiegoAscanio
DiegoAscanio / ipcSmtpd.go
Created May 13, 2018 23:24 — forked from hjhee/ipcSmtpd.go
a smtp listener for zoneminder external record trigger
// IP Camera supports motion detection, which can be configured to send
// emails upon alarm is fired
// This go programme serve as a minimal smtp server, listening login requests
// from IP Camera, and triggers zmtrigger.pl through unix socket.
package main
import (
"github.com/op/go-logging"
"net"