Skip to content

Instantly share code, notes, and snippets.

Avatar
🚪
Collective GitHub exodus, please

toastal

🚪
Collective GitHub exodus, please
View GitHub Profile
@toastal
toastal / admonition.adoc
Last active July 20, 2022 06:18
I am an admonition on GitHub via AsciiDoc & reStructuredText
View admonition.adoc
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
View thai-admonition.adoc

Test AsciiDoc ภาษาไทย

@toastal
toastal / admonition.adoc
Last active October 8, 2021 04:23
Use Admonitions
View admonition.adoc
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.

View userContent.css
/* 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
View RAF.purs
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
View gist:9e6001e5df0b1c5b61a1d62ea2c46ccb
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
View 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:

View ps-stuff.md

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
View Mask.purs
module CSS.Mask
(
-- * Generic mask property.
class Mask
, mask
-- * The mask-image
, maskImage
, maskImages
, url
@toastal
toastal / .xmobarrc.hs
Last active March 21, 2019 08:50
xmonad confs
View .xmobarrc.hs
-- vim: noai ts=2 sw=2
-- vim: filetype=haskell
Config
{ font = "xft:Terminus:size=16:regular:antialias=false"
, additionalFonts =
[ "xft:TerminessTTF Nerd Font:size=18:medium:antialias=true"
, "xft:Fixedsys Excelsior:size=22:regular:antialias=false"
]
, border = NoBorder