Skip to content

Instantly share code, notes, and snippets.

View computerphysicslab's full-sized avatar

Juan Ignacio Pérez Sacristán computerphysicslab

View GitHub Profile
日本 (nihon) => Japan
日本語 (nihongo) => Japanese
東京 (tookioo) => Tokio
ありがとう (arigatoo) => thanks
さようなら (sayoonara) => bye
押忍 (oss) => saludo karate
愛してる (aishiteru) => I love you
愛 (ai) => love
常に (tsuneni) => siempre
大使館 (Taishikan) => embajada
37819 covid
10693 coronavirus
8501 sars
7614 virus
7415 cov
5199 emergency
4533 respiratory
4220 infection
3984 pandemic
3671 cdc
rm go.mod
go mod init goSNMP
go: creating new go.mod: module goSNMP
cat go.mod
module goSNMP
go 1.13
En main.go:
import ("goSNMP/snmpPrintersLib")
Published on March 26, 2020
https://www.linkedin.com/pulse/covid-19-pron%C3%B3stico-de-la-curva-para-abril-2020-p%C3%A9rez-sacrist%C3%A1n/
2.- Contagio masivo en Mayo al levantar el confinamiento, con la esperanza de que el calor del verano reduzca la epidemia (pero los datos de Malasia y Brasil nos indican que no será así).
3.- Entrar en bucle de confinamiento y fase R0 cada 3 meses.
--
https://gist.github.com/computerphysicslab/ff8f7b67fc3f63eb146ac102dedc5970
#### SENSORS
sudo apt install lm-sensors hddtemp
sudo sensors-detect
sensors
sudo apt-get install sensors-applet
sudo apt-get install psensor
@maurelian
maurelian / or.md
Created February 10, 2020 16:28
Some optimistic rollups resources I found helpful

Start with these resources

@AkiyukiOkayasu
AkiyukiOkayasu / minimalWAV.go
Last active October 15, 2022 09:59
Minimal wav file read and write in Go lang
package main
import (
"os"
"github.com/go-audio/wav"
)
const filename = "pulse440_32bitFloat48kHz.wav"
@isidroamv
isidroamv / gz-reader.go
Last active March 13, 2024 11:48
Reading a txt gzip file with golang
func ReadGzFile(filename string) ([]byte, error) {
fi, err := os.Open(filename)
if err != nil {
return nil, err
}
defer fi.Close()
fz, err := gzip.NewReader(fi)
if err != nil {
return nil, err