Skip to content

Instantly share code, notes, and snippets.

View jonfriskics's full-sized avatar

Jon Friskics jonfriskics

View GitHub Profile
@jonfriskics
jonfriskics / gist:254da17c69b5a9816c60
Created September 23, 2015 02:34
Turn off dotted page break line in Google Docs w/Stylish
.kix-page-compact::before {
border-top: 0 !important;
}
@jonfriskics
jonfriskics / example-mocha-test.js
Last active September 9, 2019 18:54
Example Mocha.js Test
describe("QuizQuestion.js", () => {
it("should have a method named handleClick with the correct parameter @quiz-question-should-have-handle-click", () => {
assert("CONDITION CHECKING IF HANDLECLICK EXISTS", "`QuizQuestion.js` does not contain a method named `handleClick`")
assert("CONDITION CHECKING HANDLECLICK PARAMETER", "`QuizQuestion.js does not have the method named `handleClick` with a parameter named `buttonText`")
})
})
@jonfriskics
jonfriskics / .gitattributes
Created September 25, 2019 15:08
.gitattributes file to add to Project repos
# From https://help.github.com/en/articles/configuring-git-to-handle-line-endings
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text
# Declare files that will always have CRLF line endings on checkout.