This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* breakpoints */ | |
:root { /* px size at 16px base font size */ | |
@custom-media --xs (width < 20em); /* 320px */ | |
@custom-media --s (width < 28em); /* 448px */ | |
@custom-media --m (width < 48em); /* 768px */ | |
@custom-media --l (width < 64em); /* 1024px */ | |
@custom-media --xl (width < 80em); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set encoding=utf-8 nobomb | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle | |
Plugin 'VundleVim/Vundle.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const link = document.querySelector("a"); | |
link.addEventListener("mouseenter", () => { | |
const css = "<link rel=preload as=style href=contact.css>"; | |
document.head.insertAdjacentHTML("beforeend", css); | |
},{ | |
once:true | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const url = 'https://api.dribbble.com/v1/users/USERNAME/shots?access_token=TOKEN&callback'; | |
fetch(url) | |
.then(response => response.json()) | |
.then(function(data) { | |
[].forEach.call(data, function(post) { | |
let list = document.querySelector('#dribbble'); | |
let html = ` | |
<li> | |
<a href="${post.html_url}" target="_blank"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul#dribbble { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
flex-direction: column; | |
@media (--above-m) { | |
flex-direction: row; | |
flex-wrap: wrap; | |
width: 100vw; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Colorsublime - Themes/Facebook.tmTheme", | |
"font_face": "Input Mono", | |
"font_size": 10, | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"line_padding_bottom": 5, | |
"ensure_newline_at_eof_on_save": true, | |
"scroll_speed": 4.0, | |
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Colorsublime - Themes/Facebook.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"node_modules" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Panda Syntax", | |
"workbench.colorCustomizations": { | |
"activityBar.background": "#0b0b0c", | |
"editor.background": "#141416", | |
"sideBar.background": "#141416", | |
"editorGroupHeader.tabsBackground": "#141416", | |
"tab.activeBackground": "#141416", | |
"tab.inactiveBackground": "#141416" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const extend = require("xtend"); | |
const choo = require("choo"); | |
const html = require("choo/html"); | |
const app = choo(); | |
app.use({ | |
state: { | |
todos: [] | |
}, | |
reducers: { |
OlderNewer