Skip to content

Instantly share code, notes, and snippets.

View khamer's full-sized avatar

Kevin Hamer khamer

View GitHub Profile
@khamer
khamer / input.scss
Created February 4, 2021 14:04
Generated by SassMeister.com.
header.primary,
header.secondary {
color: navy;
margin-bottom: 1rem;
&.primary {
font-size: 3rem;
}
&.secondary {
@khamer
khamer / input.scss
Created February 4, 2021 14:01
Generated by SassMeister.com.
header.primary,
header.secondary {
@extend %header;
}
%header {
color: navy;
margin-bottom: 1rem;
&.primary {
@khamer
khamer / input.scss
Created January 28, 2021 19:07
Generated by SassMeister.com.
.link {
color: blue;
text-decoration: underline;
&.-secondary {
color: green;
}
/* variant */
&--button {
@khamer
khamer / input.scss
Created January 28, 2021 19:07
Generated by SassMeister.com.
.link {
color: blue;
text-decoration: underline;
&.-secondary {
color: green;
}
/* variant */
&--button {
@khamer
khamer / input.scss
Created January 28, 2021 19:01
Generated by SassMeister.com.
.foo {
color: blue;
}
@media (screen and min-width: 1000px) {
.bar {
@extend .foo;
}
}
import Waypoint from 'waypoints/lib/noframework.waypoints.min.js'
const companySections = [...document.querySelectorAll('.js-company')]
const plumbbobWrapper = document.querySelector('.js-plumbbobWrapper')
// Useful Measurements
const pbInitTop = parseInt(
window.getComputedStyle(plumbbobWrapper).getPropertyValue('top'),
0
)
class Foobar {
foo (bar) {
console.log(bar)
}
}
(new Foobar()).foo('aha')
@khamer
khamer / test
Created April 24, 2019 19:57
Just Testing
test
This file has been truncated, but you can view the full file.
["A ____ atom in an atomic clock beats 9,192,631,770 times a second", "cesium"]
["A ____ generates temperatures five times hotter than those found on the sun's surface", "lightning bolt"]
["A ____ is a pact between a secular authority & the church", "concordat"]
["A ____ is the blue field behind the stars", "canton"]
["A ____ occurs when all the planets of the our Solar System line up", "sysygy"]
["A ____ razor removed from King Tut's Tomb was still sharp enough to be used", "golden"]
["A ____ takes 33 hours to crawl one mile", "snail"]
["A ____ women can get a divorce if her husband doesn't give her coffee", "saudi arabian"]
["A ____ written to celebrate a wedding is called a epithalamium", "poem"]
["A 'dybbuk' is an evil spirit in which folklore", "jewish"]
This file has been truncated, but you can view the full file.
["A ____ atom in an atomic clock beats 9,192,631,770 times a second", "cesium"]
["A ____ generates temperatures five times hotter than those found on the sun's surface", "lightning bolt"]
["A ____ is a pact between a secular authority & the church", "concordat"]
["A ____ is the blue field behind the stars", "canton"]
["A ____ occurs when all the planets of the our Solar System line up", "sysygy"]
["A ____ razor removed from King Tut's Tomb was still sharp enough to be used", "golden"]
["A ____ takes 33 hours to crawl one mile", "snail"]
["A ____ women can get a divorce if her husband doesn't give her coffee", "saudi arabian"]
["A ____ written to celebrate a wedding is called a epithalamium", "poem"]
["A 'dybbuk' is an evil spirit in which folklore", "jewish"]