Skip to content

Instantly share code, notes, and snippets.

@angeliquejw
angeliquejw / index.html
Created September 6, 2020 22:09
Default HTML structure for MICA web courses
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
@angeliquejw
angeliquejw / pull_request_template.md
Last active July 2, 2020 16:22
Template for Pull Requests
@angeliquejw
angeliquejw / .u-sr-only.css
Created September 25, 2019 21:50
Screenreader utility class
// Visually hide an element while allowing it to still be utlized by a screenreader
.u-sr-only {
border: 0;
clip: rect(0 0 0 0);
overflow: hidden;
margin: -1px;
padding: 0;
position: absolute !important;
height: 1px;
width: 1px;

Keybase proof

I hereby claim:

  • I am angeliquejw on github.
  • I am aweger (https://keybase.io/aweger) on keybase.
  • I have a public key ASAOiPHTD_UKR6-PKV0n5NXSwTL8L3fMbROa-_tsLd9vZwo

To claim this, I am signing this object:

node_modules
// REM + PX Fallback
// Developed by Hugo Giraudel (@HugoGiraudel)
// Inspired by Hans Christian Reini (@drublic)
// Refined by Moving Primates (@movingprimates) & James Kyle (@thejameskyle)
$root-font-size: 16;
@function parseInt($n) {
@return $n / ($n * 0 + 1);
}
@angeliquejw
angeliquejw / paginate_helper.rb
Last active May 19, 2017 17:21 — forked from zandroid/paginate_helper.rb
This is a custom link renderer that will format the pagination bar as an ordered list and with appropriate accessibility markup.
module PaginateHelper
class LinkRenderer < WillPaginate::ActionView::LinkRenderer
protected
def html_container(html)
tag(:nav, tag(:ol, html, class: "pagination-list"), class: "pagination", role: "navigation", "aria-label": "pagination navigation")
end
def previous_or_next_page(page, text, classname)
if page
@angeliquejw
angeliquejw / elm-resources.md
Last active July 6, 2017 18:05
Stuff to help me wrap my head around Elm