Skip to content

Instantly share code, notes, and snippets.

Avatar

Mat Sachs matochondrion

View GitHub Profile
@matochondrion
matochondrion / index.html
Created June 16, 2021 01:46
Tree multi-select (jsTree)
View index.html
Based on <a href="https://www.jstree.com/">jsTree</a>.
<hr/>
Filter: <input type="text" id="search" /><button id="clear">Clear</button>
<div id="jstree">
</div>
<p>Selected items:</p>
<ul id="output">
</ul>
View .stCommitMsg
Co-authored-by: Mat Sachs <matochondrion@gmail.com>
Co-authored-by: Linus Phan <phanlinus@gmail.com>
Co-authored-by: Jacob Coker <jacobleecd@gmail.com>
# use the following command to set the local repo commit template
# to this file
# git config commit.template /absolute/path/to/file(.stCommitMsg)
@matochondrion
matochondrion / snippets.html
Created September 11, 2018 00:58
HTML snippets
View snippets.html
<meta name="viewport" content="width=device-width, initial-scale=1" />
@matochondrion
matochondrion / reset.css
Last active September 11, 2018 00:57
CSS snippets
View reset.css
/*
----------------------------------------
Tantek Celik's Whitespace Reset
Author: Tantek Celik, Shane Riley
Version: (CC) 2010 Some Rights Reserved - http://creativecommons.org/licenses/by/2.0
Description: Resets default styling of browsers to a common base
----------------------------------------
*/
ul, ol { list-style: none; }