Skip to content

Instantly share code, notes, and snippets.

@adamhollett
adamhollett / keybase.md
Last active April 8, 2019 17:44
Keybase proof

Keybase proof

I hereby claim:

  • I am adamhollett on github.
  • I am admhlt (https://keybase.io/admhlt) on keybase.
  • I have a public key ASAGMg-cA88zA_1XrmU45LsEbPcdld_v0ZHmjp2cCK-mPAo

To claim this, I am signing this object:

@adamhollett
adamhollett / learn-code.md
Last active April 8, 2016 17:13
List of resources for learning to code

Resources for learning code

Languages

When it comes to coding languages, the best advice (that's tough to follow) is to pick one and stick with it. If you flip between languages or try to learn more than one at a time, you'll quickly find yourself overwhelmed and unable to get past the initial roadblocks.

Sandboxes for testing

When you're learning, it's useful to be able to write and run code quickly to see what it does.

@adamhollett
adamhollett / strip-last-folder.liquid
Created April 7, 2016 15:00
Remove the final folder from a URL with pure Liquid
{% assign url = "foo.com/bar/baz/baz/" | split: "/" | reverse | join: "/" | replace_first: "/", "|" | split: "|" | last | split: "/" | reverse | join: "/" %}
{{ url }}
@adamhollett
adamhollett / .mdastrc
Created November 4, 2015 19:37
Markdown linting rules for mdast-lint
{
"plugins": {
"lint": {
"emphasis-marker": "*",
"fenced-code-marker": "`",
"file-extension": "md",
"first-heading-level": false,
"list-item-indent": "mixed",
"list-item-spacing": false,
"maximum-line-length": false,