feat: slug-a automatikoki ezartzen du
This commit is contained in:
1 parent
316ba0e84a
commit
47d593e09d
26 files changed
+29
-53
No files matched your search
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: An Empty Bliss Beyond This World - The Caretaker
|
||||
slug: an-empty-bliss-beyond-this-world
|
||||
description: >-
|
||||
The Caretaker ekoizlearen "An Empty Bliss Beyond This World" diskaren komentario bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Anemoia
|
||||
slug: anemoia
|
||||
description: >-
|
||||
Anemoia kontzeptuari buruzko hausnarketa bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Athanasius Kircher, el (no tan) conocido polímata
|
||||
slug: athanasius-kircher
|
||||
description: >-
|
||||
Athanasius Kircher-i buruzko apunte batzuk. 2015ean nuen blog-ean idatzitako post bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: The Beatles taldearen diskografia bisitatzen
|
||||
slug: beatles-diskografia
|
||||
description: >-
|
||||
Errepaso bat The Beatles taldearen diskografiari.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: "Cisco CCNA-1: Praktikarako apunteak"
|
||||
slug: cisco-ccna-1-praktika-apunteak
|
||||
description: >-
|
||||
Cisco CCNA-1 egin ondoren, praktikarako apunte nagusiak jasotzen ditut.
|
||||
tags:
|
||||
@@ -79,7 +78,9 @@ copy running-config startup-config
|
||||
# Router-aren konfigurazioa
|
||||
|
||||
## Interfazeen konfigurazioa
|
||||
|
||||
Interfaze bakoitzarekin:
|
||||
|
||||
- Deskribapena sortu.
|
||||
- IP helbide eta maskara konfiguratu.
|
||||
- Interfazea piztu.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Proiektutxoak zure etxean ostatzeko bi modu
|
||||
slug: dyndns-kaxeroa
|
||||
description: >-
|
||||
Nola lortu, IP finkorik ez duzunean, domeinu batek zure etxeko zerbitzaritxo batera apuntatzea?
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Gilbert Simondon eta teknizitatea
|
||||
slug: gilbert-simondon-teknizitatea
|
||||
description: >-
|
||||
Gilbert Simondon filosofoak sortutako teknizitate kontzeptuari buruzko apunte batzuk.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: "Hay algo de negocio en tu código: (algunas) ideas para la entrega de valor"
|
||||
slug: hay-algo-de-negocio-en-tu-codigo
|
||||
description: >-
|
||||
Biko2 enpresako blogean idatzitako artikulu bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Kaixo, Mundua!
|
||||
slug: hello-world
|
||||
description: >-
|
||||
Horrela hasten dira proiektu guztiak frikion unibertsoan.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Lorategi digitalak
|
||||
slug: lorategi-digitalak
|
||||
description: >-
|
||||
Nire lorategi digitalei buruzko ikuspegia.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Mamihlapinatapai
|
||||
slug: mamihlapinatapai
|
||||
description: >-
|
||||
Yagan hizkuntzako hitz honek hainbat sekretu gordetzen ditu.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Gure musika bilduma gure sarean streameatzeko proposamen bat
|
||||
slug: musika-bilduma-streameatu
|
||||
description: >-
|
||||
Sareetan azaltzen den #despotify mugimendua jarraitzeko modu bat, Navidrome eta Metadata Remote erabilita.
|
||||
tags:
|
||||
@@ -10,7 +9,7 @@ added: "2026-1-8"
|
||||
|
||||
Etxean, denbora daramagu musika [Qobuz](https://www.qobuz.com/es-es/discover) plataformaren bidez entzuten. Kalitate ona eskaintzen du, artistak ongi tratatzen dituela dirudi, ez du adimen artifizial generatiboak sortutako musikarik sartzen eta, batez ere, [jabeek ez dute genozidioan inbertitzen](https://www.berria.eus/kultura/euskal-herriko-162-musika-taldek-utzi-dute-spotify-musikariak-palestinarekin-egitasmoarekin-bat-eginda_2150132_102.html). Edonola ere, [#despotify](https://redesnuestras.net/2024/12/31/una-propuesta-para-convertir-en-proposito-de-ano-nuevo-despotify/) ideiarekin kutsatuta, aurrekoan etxean alternatiba propio bat montatzeko aukerak aztertzen egon nintzen. Ikasteko asmoz edo, Qobuz [kakazten denean](https://teknopata.eus/2024/02/kakaztea-enshittification-1-zer-da), prest egoteko.
|
||||
|
||||
Hau egiteko, Raspberry Pi gailu bat erabili dut eta, zerbitzari aldean erabilitako software guztiak, Docker edukiontzietan sartu ditut. Hurrengo lerroetan nik frogatutako *stack*-ean sakonduko dut, baina, laburbilduz, hauek dira erabilitako aplikazioak (guztiak *Open Source* proiektuak dira):
|
||||
Hau egiteko, Raspberry Pi gailu bat erabili dut eta, zerbitzari aldean erabilitako software guztiak, Docker edukiontzietan sartu ditut. Hurrengo lerroetan nik frogatutako _stack_-ean sakonduko dut, baina, laburbilduz, hauek dira erabilitako aplikazioak (guztiak _Open Source_ proiektuak dira):
|
||||
|
||||
- [Navidrone](https://www.navidrome.org/): Raspberry Pi-an dagoen musika streaming bidez zerbitzatzeko.
|
||||
- [Metadata Remote](https://github.com/wow-signal-dev/metadata-remote): Musika bilduma ordenatzeko eta disken karatulak sartzeko.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Oscilloscope Music
|
||||
slug: oscilloscope-music
|
||||
description: >-
|
||||
Oscilloscope Music musika generoa aurkitu nuenekoa.
|
||||
tags:
|
||||
@@ -15,7 +14,6 @@ Asteazken arratsalde lasai bat zen. Hurrengo egunerako bazkaria prestatu ondoren
|
||||
<blockquote class="mastodon-embed" data-embed-url="https://chaos.social/@kbob/115934481990210933/embed" style="background: #FCF8FF; border-radius: 8px; border: 1px solid #C9C4DA; margin: 0; width: 100%; max-width: 540px; min-width: 270px; overflow: hidden; padding: 0;"> <a href="https://chaos.social/@kbob/115934481990210933" target="_blank" style="align-items: center; color: #1C1A25; display: flex; flex-direction: column; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Roboto, sans-serif; font-size: 14px; justify-content: center; letter-spacing: 0.25px; line-height: 20px; padding: 24px; text-decoration: none;"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 79 75"><path d="M63 45.3v-20c0-4.1-1-7.3-3.2-9.7-2.1-2.4-5-3.7-8.5-3.7-4.1 0-7.2 1.6-9.3 4.7l-2 3.3-2-3.3c-2-3.1-5.1-4.7-9.2-4.7-3.5 0-6.4 1.3-8.6 3.7-2.1 2.4-3.1 5.6-3.1 9.7v20h8V25.9c0-4.1 1.7-6.2 5.2-6.2 3.8 0 5.8 2.5 5.8 7.4V37.7H44V27.1c0-4.9 1.9-7.4 5.8-7.4 3.5 0 5.2 2.1 5.2 6.2V45.3h8ZM74.7 16.6c.6 6 .1 15.7.1 17.3 0 .5-.1 4.8-.1 5.3-.7 11.5-8 16-15.6 17.5-.1 0-.2 0-.3 0-4.9 1-10 1.2-14.9 1.4-1.2 0-2.4 0-3.6 0-4.8 0-9.7-.6-14.4-1.7-.1 0-.1 0-.1 0s-.1 0-.1 0 0 .1 0 .1 0 0 0 0c.1 1.6.4 3.1 1 4.5.6 1.7 2.9 5.7 11.4 5.7 5 0 9.9-.6 14.8-1.7 0 0 0 0 0 0 .1 0 .1 0 .1 0 0 .1 0 .1 0 .1.1 0 .1 0 .1.1v5.6s0 .1-.1.1c0 0 0 0 0 .1-1.6 1.1-3.7 1.7-5.6 2.3-.8.3-1.6.5-2.4.7-7.5 1.7-15.4 1.3-22.7-1.2-6.8-2.4-13.8-8.2-15.5-15.2-.9-3.8-1.6-7.6-1.9-11.5-.6-5.8-.6-11.7-.8-17.5C3.9 24.5 4 20 4.9 16 6.7 7.9 14.1 2.2 22.3 1c1.4-.2 4.1-1 16.5-1h.1C51.4 0 56.7.8 58.1 1c8.4 1.2 15.5 7.5 16.6 15.6Z" fill="currentColor"/></svg> <div style="color: #787588; margin-top: 16px;">Post by @kbob@chaos.social</div> <div style="font-weight: 500;">View on Mastodon</div> </a> </blockquote> <script data-allowed-prefixes="https://chaos.social/" async src="https://chaos.social/embed.js"></script>
|
||||
</div>
|
||||
|
||||
|
||||
Nire burua untxi-gordeleku batean ikusi nuen. Izan ere, ["Oscilloscope Music"](https://oscilloscopemusic.com/watch/n-spheres) genero audiobisuala topatu nuen. Ideia xinplea da: osziloskopioan irudi interesgarriak sortuko duen musika konposatzea. Aurrerago jarritako webgunean, horrela definitzen da:
|
||||
|
||||
> Oscilloscope Music is audiovisual music, where the visuals are drawn by the sound. In order to get the closest possible correlation between image and sound, the exact same signal that is connected to the left and right speakers is also connected to an analog oscilloscope's X and Y inputs, producing complex lissajous images.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Panderoa jotzen
|
||||
slug: panderoa-jotzen
|
||||
description: >-
|
||||
Panderoaren rabbit hole-ean sartu ondorengo hainbat apunte.
|
||||
tags:
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: "Pi-Hole eta PiVPN: nabigazio segurua edonon"
|
||||
slug: pi-hole-pivpn
|
||||
description: >-
|
||||
Nola erabili Raspberry Pi bat nabigazioa babesteko etxean eta mugikorrean.
|
||||
tags:
|
||||
@@ -39,6 +38,7 @@ Zerrenda hauekin, milaka DNS blokeatu ditut eta ez dut inoiz sentitu nire nabiga
|
||||
## PiVPN
|
||||
|
||||
PiVPN instalatzeko, hoberena da [iturrira joatea](https://www.pivpn.io/). Erabiltzeko, hurrengoa beharko duzu:
|
||||
|
||||
- Raspberry Pi gailu bat.
|
||||
- Zuk kudeatzen duzun domeinu izen bat.
|
||||
- WAN aldeko IP fijoa, edo dyndns moduko bat. Nik, script bat sortu nuen hau lortzeko, baina hurrengo post batean azalduko dut. _Edit: [hau da agindutako post hori :)](https://txarli.dev/post/dyndns-kaxeroa/)._
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Piedras Rai, moneda de cambio inmaterial
|
||||
slug: piedras-rai-moneda-de-cambio-inmaterial
|
||||
description: >-
|
||||
Mikronesiako Rai harriei buruzko apunte batzuk. 2015ean nuen blog-ean idatzitako post bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Bideojokoak Raspberry Pi batean
|
||||
slug: raspberry-pi-emulazioa
|
||||
description: >-
|
||||
Nola erabili Raspberry Pi gailu bat bideojokoak emulatzeko.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Bueltan da sayagata proiektua
|
||||
slug: sayagata-bueltan-da
|
||||
description: >-
|
||||
Sayagata proiektua berriro ere martxan jarri dut.
|
||||
tags:
|
||||
@@ -12,7 +11,7 @@ Oker ez banago, 2018ko [Pamplona Software Crafters](https://pamplonaswcraft.com/
|
||||
|
||||
Hortik aurrera, nire kabuz, `p5js` erremintarekin jolasten hasi nintzen. Hainbat froga egin ondoren, motibazio guztiarekin, [sayagata](https://github.com/Txarli/sayagata) proiektua sortu nuen. [Sayagata](https://commons.wikimedia.org/wiki/Category:Sayagata), patroiak sortzeko japoniar tradizio bat da. Patroien kontzeptua gustoko nuen eta, hitzaren sonoritateak, maitemindu ninduen. Ez nion buelta askorik eman...
|
||||
|
||||
Edonola ere, denbora luzez Github-en lotan egon ondoren, Sayagata proiektua berriz ere altxatu dut [sayagata.txarli.dev](https://sayagata.txarli.dev) URL-an. Bertan, ausazko nabigazio baten bitartez, nik sortutako patroi batzuk ikus daitezke. Patroi hauetako batzuk, [George Nees](https://en.wikipedia.org/wiki/Georg_Nees) edo [Vera Molnár](https://en.wikipedia.org/wiki/Vera_Moln%C3%A1r) artista generatiboen obretan *"inspiratuta"* daude. Beste batzuk, [Genuary](https://genuary.art/) taldeko jendeak proposatutako *prompt*-etan oinarritzen dira.
|
||||
Edonola ere, denbora luzez Github-en lotan egon ondoren, Sayagata proiektua berriz ere altxatu dut [sayagata.txarli.dev](https://sayagata.txarli.dev) URL-an. Bertan, ausazko nabigazio baten bitartez, nik sortutako patroi batzuk ikus daitezke. Patroi hauetako batzuk, [George Nees](https://en.wikipedia.org/wiki/Georg_Nees) edo [Vera Molnár](https://en.wikipedia.org/wiki/Vera_Moln%C3%A1r) artista generatiboen obretan _"inspiratuta"_ daude. Beste batzuk, [Genuary](https://genuary.art/) taldeko jendeak proposatutako _prompt_-etan oinarritzen dira.
|
||||
|
||||
## Etorkizunerako ildoak
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Sobre developers y (buenas) personas
|
||||
slug: sobre-developers-y-buenas-personas
|
||||
description: >-
|
||||
Biko2 enpresako blogean idatzitako artikulu bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Sonder
|
||||
slug: sonder
|
||||
description: >-
|
||||
Sonder kontzeptuari buruzko hausnarketa bat eta Anariren kanta bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Un enfoque pragmático de nuestros test del frontend
|
||||
slug: un-enfoque-pragmatico-de-nuestros-tests-del-frontend
|
||||
description: >-
|
||||
Biko2 enpresako blogean idatzitako artikulu bat.
|
||||
tags:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: Zerbitzaria garbitzen
|
||||
slug: zerbitzarian-lekua-egiten
|
||||
description: >-
|
||||
Ubuntu zerbitzari bateko (edo bezero bateko) diska gogorrean lekua egiteko estrategiak.
|
||||
tags:
|
||||
|
||||
@@ -8,10 +8,7 @@ interface Props {
|
||||
|
||||
const { posts, hasRandomPost = false } = Astro.props;
|
||||
|
||||
const postSlugs = posts.reduce<string[]>(
|
||||
(slugs, { data: { slug } }) => [slug, ...slugs],
|
||||
[],
|
||||
);
|
||||
const postSlugs = posts.reduce<string[]>((slugs, { id }) => [id, ...slugs], []);
|
||||
|
||||
function getTiltDegrees() {
|
||||
const degreeCollection = [0.5, 1, 1.5, 2];
|
||||
@@ -23,9 +20,9 @@ function getTiltDegrees() {
|
||||
|
||||
<ul class="posts-list">
|
||||
{
|
||||
posts.map(({ data: { slug, title, description, tags } }) => (
|
||||
posts.map(({ id, data: { title, description, tags } }) => (
|
||||
<li class="post" style={`--tilt: ${getTiltDegrees()}deg;`}>
|
||||
<a href={`/post/${slug}/`} class="title">
|
||||
<a href={`/post/${id}/`} class="title">
|
||||
{title}
|
||||
</a>
|
||||
<br />
|
||||
|
||||
@@ -7,7 +7,6 @@ const posts = defineCollection({
|
||||
loader: glob({ pattern: "*.md", base: "./content/posts" }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
slug: z.string(),
|
||||
description: z.string(),
|
||||
added: z.union([z.string(), z.date()]),
|
||||
updated: z.union([z.string(), z.date()]).optional(),
|
||||
|
||||
@@ -7,7 +7,7 @@ export async function getStaticPaths() {
|
||||
|
||||
return posts.map((post) => {
|
||||
return {
|
||||
params: { slug: post.data.slug },
|
||||
params: { slug: post.id },
|
||||
props: { post },
|
||||
};
|
||||
});
|
||||
|
||||
+20
-20
@@ -5,26 +5,26 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
|
||||
let posts = await getCollection("posts");
|
||||
|
||||
posts = posts.sort(
|
||||
(a, b) =>
|
||||
new Date(b.data.updated || b.data.added).valueOf() -
|
||||
new Date(a.data.updated || a.data.added).valueOf()
|
||||
(a, b) =>
|
||||
new Date(b.data.updated || b.data.added).valueOf() -
|
||||
new Date(a.data.updated || a.data.added).valueOf(),
|
||||
);
|
||||
|
||||
export const GET = () =>
|
||||
rss({
|
||||
title: SITE_TITLE || "",
|
||||
description: SITE_DESCRIPTION || "",
|
||||
site: import.meta.env.SITE,
|
||||
items: posts.map((post) => {
|
||||
return {
|
||||
link: `/post/${post.data.slug}`,
|
||||
title: post.data.title,
|
||||
pubDate: post.data.added,
|
||||
description: post.data.description,
|
||||
content: post.rendered.html,
|
||||
customData: `<updated>${
|
||||
post.data.updated ? post.data.updated : ""
|
||||
}</updated>`,
|
||||
};
|
||||
}),
|
||||
});
|
||||
rss({
|
||||
title: SITE_TITLE || "",
|
||||
description: SITE_DESCRIPTION || "",
|
||||
site: import.meta.env.SITE,
|
||||
items: posts.map((post) => {
|
||||
return {
|
||||
link: `/post/${post.id}`,
|
||||
title: post.data.title,
|
||||
pubDate: post.data.added,
|
||||
description: post.data.description,
|
||||
content: post.rendered.html,
|
||||
customData: `<updated>${
|
||||
post.data.updated ? post.data.updated : ""
|
||||
}</updated>`,
|
||||
};
|
||||
}),
|
||||
});
|
||||
Reference in new issue
Block a user