commit
59bd42de39
17 changed files with 132 additions and 0 deletions
@ -0,0 +1,7 @@
|
||||
El lenguaje de programación más viejo, inseguro y aburrido. |
||||
|
||||
## Recursos |
||||
|
||||
- [Beej's Guide to C Programming](https://beej.us/guide/bgc/) |
||||
- [Beej's Guide to Network Programming](https://beej.us/guide/bgnet/) |
||||
- [Beej's Quick Guide to GDB](https://beej.us/guide/bggdb/) |
@ -0,0 +1,5 @@
|
||||
El mejor formato de archivo digital para libros textuales. |
||||
|
||||
## Links |
||||
|
||||
- [FriendsOfEpub](https://github.com/FriendsOfEpub), abandonado. Frameworks de CSS y otras cosas copadas. |
@ -0,0 +1,3 @@
|
||||
## Links |
||||
|
||||
- [Beej's Photo Guide](https://beej.us/guide/bggdb/) |
@ -0,0 +1,29 @@
|
||||
Da direcciones a lugares a partir de los datos de [[OpenStreetMap]]. Disponible como [servicio comercial](https://graphhopper.com) y como [self-hosted](https://github.com/graphhopper/graphhopper). |
||||
|
||||
Tip: usar la [interfaz web](https://openstreetmap.org) de [[OpenStreetMap]] o [GraphHopper Maps](https://graphhopper.com/maps/) para hacer pedidos a la API fácil. |
||||
|
||||
## API |
||||
|
||||
- [Documentación docs.graphhopper.com](https://docs.graphhopper.com) |
||||
- [Documentación GitHub](https://github.com/graphhopper/graphhopper/blob/3.x/docs/web/api-doc.md) |
||||
|
||||
Por lo que veo, es la misma API pero la documentación de docs.graphhopper.com están mejor ordenadas y representadas. |
||||
|
||||
Se puede usar la llave de OpenStreetMap para tests y scripts: `LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn`. |
||||
|
||||
### Ejemplo [[curl]] |
||||
|
||||
```sh |
||||
curl \ |
||||
-s -S -G --compressed \ |
||||
"https://graphhopper.com/api/1/route" \ |
||||
--data-urlencode vehicle=foot \ |
||||
--data-urlencode locale=en \ |
||||
--data-urlencode key=LLAVE \ |
||||
--data-urlencode elevation=false \ |
||||
--data-urlencode instructions=false \ |
||||
--data-urlencode turn_costs=false \ |
||||
--data-urlencode point=lat,lon \ |
||||
--data-urlencode point=lat,lon |
||||
# Podés pasarlo por jq: | jq |
||||
``` |
@ -0,0 +1,3 @@
|
||||
Estas ideas son cosas que quiero hacer pero (todavía) no tengo tiempo. Si te gustaría hacer una, ¡hablame! |
||||
|
||||
- Un servidor HTTP(s) hecho en Zig en donde cada modulo (fs, proxy, ipfs?) sea un modulo pluggeable (.so?) |
@ -0,0 +1 @@
|
||||
- [Firefox usage is down 85% despite Mozilla's top exec pay going up 400%](https://calpaterson.com/mozilla.html) |
@ -0,0 +1 @@
|
||||
- [Software Does Not Contain Errors](https://tuukkapensala.com/files/software_does_not_contain_errors.txt) |
@ -0,0 +1,8 @@
|
||||
Este es el README para [el repositorio del sitio](https://gitea.nulo.in/Nulo/sitio). |
||||
|
||||
Escuché [HOT DEMON B!TCHES NEAR U ! ! ! (de CORPSE y Night Lovell)](https://www.youtube.com/watch?v=k6kXvJy1oPs) en loop para hacer la versión inicial del sitio. |
||||
|
||||
--- |
||||
|
||||
[](https://copiona.com) |
||||
|
@ -0,0 +1,3 @@
|
||||
## Depresión |
||||
|
||||
- [The depression gnomes](https://jpetazzo.github.io/2018/09/06/the-depression-gnomes/) |
@ -0,0 +1 @@
|
||||
- Horrible la analogía pero buenas concluciones, [Wikipedia has cancer](https://en.wikipedia.org/wiki/User:Guy_Macon/Wikipedia_has_Cancer) |
@ -0,0 +1,40 @@
|
||||
#!/bin/sh |
||||
|
||||
template () { |
||||
echo -n "<!doctype html>" |
||||
echo -n "<meta charset=utf-8>" |
||||
echo -n "<link rel=stylesheet href=drip.css>" |
||||
echo -n "<title>$1</title>" |
||||
if test "$inicio" != true; then |
||||
echo -n "<a href=.>☚ Volver al inicio</a>" |
||||
fi |
||||
if test -n "$2"; then |
||||
echo -n "<header>" |
||||
echo -n "<h1>$1</h1>" |
||||
echo -n "<p><small>Último cambio: <time datetime='$(stat -c %y "$2")'>$(date -d "$(stat -c %y "$2")" '+%Y-%m-%d %H:%M')</time></small></p>" |
||||
echo -n "</header>" |
||||
fi |
||||
} |
||||
|
||||
outdir=build |
||||
mkdir -p $outdir |
||||
# Autocopiarnos :) |
||||
cp *.sh *.md *.css *.png "$outdir" |
||||
|
||||
index="$outdir/index.html" |
||||
inicio=true header=false template "nulo.in" > "$index" |
||||
cmark --unsafe index.md >> "$index" |
||||
echo -n "<h2>Lista de páginas</h2><ul>" >> "$index" |
||||
|
||||
for file in *.md; do |
||||
test "$(basename $file)" = index.md && continue |
||||
title="$(basename "$file" .md)" |
||||
outfile="$outdir/$title.html" |
||||
template "$title" "$file" > "$outfile" |
||||
cmark "$file" >> "$outfile" |
||||
# TODO: hacky |
||||
sed -i "s/<a /<a rel='noopener noreferrer' /gi" "$outfile" |
||||
echo -n "<li><a href='$title.html'>$title</a></li>" >> "$index" |
||||
done |
||||
|
||||
echo -n "</ul>" >> "$index" |
@ -0,0 +1 @@
|
||||
- [Recetas para curl](https://catonmat.net/cookbooks/curl), muy útil. |
@ -0,0 +1,14 @@
|
||||
body { |
||||
font-family: sans-serif; |
||||
max-width: 30rem; |
||||
margin: 0 auto; |
||||
padding: 1rem; |
||||
} |
||||
|
||||
img { |
||||
max-width: 100%; |
||||
} |
||||
|
||||
abbr { |
||||
color: gray; |
||||
} |
@ -0,0 +1,13 @@
|
||||
<h1 style=color:red;margin-top:0>nulo❥in</h1> |
||||
|
||||
<p><abbr title="adjetivo">adj.</abbr> inexistente (que carece de existencia). |
||||
<small>¿pero nos importa lo que dice la RAE?</small></p> |
||||
|
||||
Este es mi hogar. ¿Estás perdidx? |
||||
|
||||
Algunos de mis proyectos: |
||||
- [Manejador de Tareas](https://tareas.nulo.in) |
||||
- Juguetes: |
||||
- [Cuarentena](https://cuarentena.nulo.in) |
||||
|
||||
Webamigx: [nadie@nulo.in](mailto:nadie@nulo.in) <small>no gods no webmasters</small> |
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in new issue