Skip to content

Instantly share code, notes, and snippets.

View doot0's full-sized avatar
🐍
tickling roko's basilisk

dc doot0

🐍
tickling roko's basilisk
View GitHub Profile
@doot0
doot0 / clipboard.mixin.js
Created December 12, 2017 02:02
Vue.js copy to clipboard mixin
export default {
mounted() {
this.$on('clipboard-copy', (payload) => {
this.copyToClipboard(payload)
})
},
methods: {
/**
* Copies the given value to the keyboard.
*/
@doot0
doot0 / sysfonts.css
Created January 16, 2017 09:33
Github's system fonts stack
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
html {
&:lang(af) { quotes: '\201E' '\201D' '\201A' '\2019';}
&:lang(bg) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(cs) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(da) { quotes: '\00BB' '\00AB' '\203A' '\2039';}
&:lang(de) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(el) { quotes: '\00AB' '\00BB' '\2039' '\203A';}
&:lang(en) { quotes: '\2018' '\2019' '\201C' '\201D';}
&:lang(es) { quotes: '\00AB' '\00BB' '\2039' '\203A';}
html{
&:lang(af) { quotes: '\201E' '\201D' '\201A' '\2019';}
&:lang(bg) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(cs) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(da) { quotes: '\00BB' '\00AB' '\203A' '\2039';}
&:lang(de) { quotes: '\201E' '\201C' '\201A' '\2018';}
&:lang(el) { quotes: '\00AB' '\00BB' '\2039' '\203A';}
&:lang(en) { quotes: '\2018' '\2019' '\201C' '\201D';}
&:lang(es) { quotes: '\00AB' '\00BB' '\2039' '\203A';}
&:lang(fi) { quotes: '\201D' '\201D' '\2019' '\2019';}
@doot0
doot0 / SassMeister-input-HTML.html
Created June 27, 2014 12:37
Generated by SassMeister.com.
<div class="supernav-container">
<div class="main-nav">
<dt class="has-supercategories">Item title</dt>
<dd class="super-nav">
<ul class="super-nav-categories">
<li>
Subcategory title
<ul class="super-nav-subcats">
<li>Subcategory item</li>
</ul>
@doot0
doot0 / SassMeister-input-HTML.html
Created May 23, 2014 08:31
Generated by SassMeister.com.
<div class="tag">
this is a tag
</div><div class="tag">
this is a tag
</div><div class="tag">
this is a tag
</div><div class="tag">
this is a tag
</div>
@doot0
doot0 / SassMeister-input-HTML.html
Created May 7, 2014 08:27
Generated by SassMeister.com.
<body>
<p class="primary">Hi Bun. :></p>
<p class="complement">Complementary butt.</p>
</body>
@doot0
doot0 / gist:4329595
Created December 18, 2012 16:46
yes
yes