Skip to content

Instantly share code, notes, and snippets.

View toastal's full-sized avatar
🚪
Offer alt mirror so I can delete my account w/ MS GitHub finally

toastal

🚪
Offer alt mirror so I can delete my account w/ MS GitHub finally
View GitHub Profile

this

Note

Should be a note. But does Microsoft GitHub render it properly?

@toastal
toastal / admonition.adoc
Last active August 15, 2023 05:25
I am an admonition on GitHub via AsciiDoc & reStructuredText
Note
this is just an admonition
Warning
It is your choice

You are not required to use GitHub

@toastal
toastal / thai-admonition.adoc
Last active June 27, 2022 03:04
thai-admonition.adoc

Test AsciiDoc ภาษาไทย

@toastal
toastal / admonition.adoc
Last active October 8, 2021 04:23
Use Admonitions
Important
Use Admonitions

Admonitions are a better way to do callouts in documentations. Using > in Markdown in a blockquote and should be used for quotes. Markdown has many limitations and is very fragmented in its syntax leading to many competing flavors. AsciiDoc can remedy many of these shortcomings. GitLab and GitHub support AsciiDoc for markup rendering now. It’s a viable option with a few extra handy features you just can’t get with Markdown.

/* vim: set noai ts=4 sw=4: */
:root {
-moz-tab-size: 4;
tab-size: 4;
}
code, kbd, pre {
font-variant-ligatures: none;
}
@toastal
toastal / RAF.purs
Created April 22, 2019 03:20 — forked from garyb/RAF.purs
requestAnimationFrame looping subscription in Halogen 5
module RAF where
import Prelude
import Data.Foldable (traverse_)
import Data.Maybe (Maybe(..))
import Effect.Aff.Class (class MonadAff)
import Effect.Ref as Ref
import Halogen as H
import Halogen.HTML as HH
Verifying my Blockstack ID is secured with the
address 1DZCCU1Cy5qkck8tKAMCWyU4CYPd36uBMu
https://explorer.blockstack.org/address/1DZCCU1Cy5qkck8tKAMCWyU4CYPd36uBMu
@toastal
toastal / keybase.md
Created November 20, 2017 14:03
keybase.md

Keybase proof

I hereby claim:

  • I am toastal on github.
  • I am toastal (https://keybase.io/toastal) on keybase.
  • I have a public key whose fingerprint is DF24 172E 081B 6666 1712 C5B8 A1CA FFE4 DB10 9A47

To claim this, I am signing this object:

Row Things

In JavaScript objects (and sometimes strings *shudder at Redux Actions*) are the structure of choice for many tasks. They can hold functions, arrays, other objects, etc. They can be a part of a factory and the can be mutated to do just about anything. Despites its versatility, it doesn't do much in the ways of providing rest-assuredness. You might be able to freeze it, but you can't even do basic equality:

{little: "kitten"} == {little: "kitten"}
//=> false
@toastal
toastal / Mask.purs
Created June 7, 2017 21:33
Mask PureScript CSS WIP
module CSS.Mask
(
-- * Generic mask property.
class Mask
, mask
-- * The mask-image
, maskImage
, maskImages
, url