From: Ruben Beltran del Rio Date: Tue, 18 Apr 2023 17:20:05 +0000 (+0200) Subject: Update layout X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/b0ca5dae576c4b0fae7f1ce2727e9a3605808794?ds=sidebyside Update layout --- diff --git a/_layout.html b/_layout.html index 6ab0c4a..2b87092 100644 --- a/_layout.html +++ b/_layout.html @@ -28,6 +28,7 @@ unlimited.pizza +

=> ♊️ This page is better consumed via gemini

{{ content }} diff --git a/api.gmi b/api.gmi new file mode 100644 index 0000000..3e48607 --- /dev/null +++ b/api.gmi @@ -0,0 +1,55 @@ +--- title: /api.html +--- description: API Notation +# API Notation + +The following document attempts to define a legend for easy specification of APIs for components. Any suggestions to improve are welcome. + +``` +NameOfClass.WithPossibleNamespace + + class property + - instance property + ~> listened events (socket) + +> listened events (class/module) + -> listened events (instance) + <~ dispatched events (socket) + <+ dispatched events(class/module) + <- dispatched events (instance) + :: class method + # instance method + +Other symbols + => returns +->() callback return +[xx] optional + data type + +Recommended order: class first, then sockets, then instance. Internally: Properties, events, methods. + +// Anything after two forward slashes is a comment +``` + +Here's an example of usage + +``` +HypotheticalModule + +staticProperty + +anotherStaticProperty + ::toggleAnotherStaticProperty() + ::setStaticProperty(newValue ) + -instanceProperty + -anotherInstanceProperty + #instanceMethodSync([optionalParameter]) => resultOfCall + #instanceMethodAsync(someValue , [callback] ) ->(error , result ) +``` + +Here's another example but with events. + +``` +EventHypotheticalClass + +>AnotherClass<+staticEventToListen(eventData ) + <+staticEventDispatched(someData ) + ~>listenedSocketEvent(eventData ) + <~dispatchedSocketEvent(eventData ) + ->AnotherClass<-instanceEventToListen(eventData ) + <-instanceEventDispatched(specificDataType ) +``` diff --git a/flat_bezel.gmi b/flat_bezel.gmi index e61206c..b0dfeb4 100644 --- a/flat_bezel.gmi +++ b/flat_bezel.gmi @@ -1,7 +1,6 @@ --- title: /flat_bezel.html --- description: Flat Bezel.qsplugin - -## Flat Bezel.qsplugin +## Flat Bezel.qsplugin A UI for Quicksilver[1], that takes inspiration from the default Bezel view. diff --git a/index.gmi b/index.gmi index c3f6745..0f12d21 100644 --- a/index.gmi +++ b/index.gmi @@ -1,6 +1,5 @@ --- title: /index.html --- description: unlimited.pizza - ruben beltran del río surfs the internet: programming, music, fun times, hugs, bad jokes, and unlimited pizza - ```Unlimited Pizza | ||\ || ~|~|\ /|~|~~~|~~|~~|~~\ |~~\~|~~~/~~/ /\ | || \ || | | \/ | | | |--| | |__/ | / / /__\ @@ -9,12 +8,9 @@ The personal capsule of Rubén Beltrán del Río -=> /gemlog/ 📓 Gemlog +=> /gemlog/ 📓 Blog / Gemlog => /pub.txt 🔑 Public GPG Key -=> /guestbook 📒 Guestbook -=> /monitor 🔬 Service Status - -=> gemini://gemini.unlimited.pizza ♊️ This page is better consumed via gemini +=> gemini://gemini.unlimited.pizza/guestbook 📒 Guestbook ## Apps @@ -58,7 +54,7 @@ A UI Plugin for quicksilver A syntax for notating component APIs in a way that's easy to embed in text documents. -=> gemini://gemini.unlimited.pizza/api.gmi API Notation definition +=> ./api.gmi API Notation definition => https://git.sr.ht/~rbdr/api-notation.vim Syntax for vim => https://git.sr.ht/~rbdr/api-notation.vscode Syntax for vscode => https://git.sr.ht/~rbdr/api-notation-atom Syntax for atom @@ -97,6 +93,9 @@ To listen online, you can also find it in the world wide web. ## Etc +=> https://git.sr.ht/~rbdr/page Page (2023): A static website generator. +=> gemini://gemini.unlimited.pizza/gemlog/1681763713661/introducing-page.gmi Gemlog entry about page. + => https://prompt.unlimited.pizza/ Prompt (2021): Drawing prompts on demand. => https://git.sr.ht/~rbdr/prompt (Prompt source) @@ -127,8 +126,12 @@ To listen online, you can also find it in the world wide web. => https://git.sr.ht/~rbdr/grita Grita (2010, Spanish): Comparte texto anónimamente y distribuyelo con QR codes y URLs cortas. -=> https://unlimited.pizza/files/polarity.zip Polarity (2009): Top-down arena shooter game with magnetism. +=> https://www.unlimited.pizza/files/polarity.zip Polarity (2009): Top-down arena shooter game with magnetism. => https://git.sr.ht/~rbdr/pico-engine Pico Engine (2009): Platform game engine with lua scripting. +--- + +=> gemini://gemini.unlimited.pizza/monitor 🔬 Service Status + 🪴.🐃.✨ diff --git a/lyricli.gmi b/lyricli.gmi index 325d33b..455c92c 100644 --- a/lyricli.gmi +++ b/lyricli.gmi @@ -4,7 +4,7 @@ Command line tool that shows lyrics for your currently playing song in the command line -→ view source. +=> https://git.sr.ht/~rbdr/lyricli view source. You may need to allow the plugin to run in "Privacy & Security" in your system settings. @@ -16,6 +16,7 @@ You can install using homebrew. For direct binaries see below. $ brew tap rbdr/apps git@git.sr.ht:~rbdr/homebrew-apps $ brew install lyricli ``` + ## Download * [1] Latest (2.0.1), for both intel and apple silicon macs (larger binary)