Skip to content

Instantly share code, notes, and snippets.

Ryan Artecona ryanartecona

Block or report user

Report or block ryanartecona

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bathos
bathos / strings.md
Last active Mar 22, 2018
strings.md
View strings.md

When Strings Attack

The Enduring Legacy of a Very Naughty Hack from 1995 / A Bit of Intl

This is my first attempt at a tech talk thing. The focus here is strings in ES. First we’ll talk about what a string is in ES, then some of the consequences that fall out of that (a few aren’t super obvious), and finally some of the cool tools available for working with strings safely & effectively. Because of the nature of the subject we’ll also get into some more general information about Unicode, encodings and broad concepts related to strings and language.

@mattdenner
mattdenner / README.markdown
Last active Oct 27, 2016
Suspend and then hibernate after 60 minutes
View README.markdown

I found a post about suspending and then going into hibernate that included a really clever script. Turns out that with NixOS this is even esaier to coordinate as you have systemd so can have a before and after service. I just include this in my /etc/nixos/configuration.nix file and nixos-rebuild; then a systemctl suspend or a close of the lid will cause the hibernate timer to be set.

@scturtle
scturtle / pygments.hs
Created Mar 31, 2016
hakyll use external pygments
View pygments.hs
customPandocCompiler :: Compiler (Item String)
customPandocCompiler =
let extraExtensions =
[ Ext_east_asian_line_breaks
, Ext_tex_math_double_backslash
]
customExtensions = foldr S.insert pandocExtensions extraExtensions
writerOptions = defaultHakyllWriterOptions {
writerExtensions = customExtensions
@paf31
paf31 / 24days.md
Last active Nov 17, 2018
24 Days of PureScript
View 24days.md

This blog post series has moved here.

You might also be interested in the 2016 version.

View learning_haskell.md

Tools

  • Cabal
    • Starting a new project
    • Sandboxes
      • Creating
      • Deleting
    • Adding dependencies
    • Installing dependencies
    • Adding one or more test suites
You can’t perform that action at this time.