Skip to content

Instantly share code, notes, and snippets.

View jssee's full-sized avatar
🤝
Building, destroying

Jesse Hoyos jssee

🤝
Building, destroying
View GitHub Profile
@jssee
jssee / breakpoints.css
Created January 23, 2017 22:01 — forked from dbox/breakpoints.css
breakpoints.css (cssnext)
/* 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);
@jssee
jssee / .vimrc
Last active March 16, 2017 18:36 — forked from bendc/.vimrc
Vim config
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'
@jssee
jssee / preload.js
Created April 2, 2017 06:06
Preload following stylesheet
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
});
@jssee
jssee / easing.css
Created April 2, 2017 06:29 — forked from bendc/easing.css
Easing CSS variables
:root {
--ease-in-quad: cubic-bezier(.55, .085, .68, .53);
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19);
--ease-in-quart: cubic-bezier(.895, .03, .685, .22);
--ease-in-quint: cubic-bezier(.755, .05, .855, .06);
--ease-in-expo: cubic-bezier(.95, .05, .795, .035);
--ease-in-circ: cubic-bezier(.6, .04, .98, .335);
--ease-out-quad: cubic-bezier(.25, .46, .45, .94);
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
@jssee
jssee / fetchshot.js
Last active June 7, 2017 16:06
Use fetch to get your dribbble shots.
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">
@jssee
jssee / .gitignore
Created June 4, 2017 20:12
.gitignore
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
@jssee
jssee / gallery.css
Created June 28, 2017 04:21
responsive gallery
{
"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"],
@jssee
jssee / sublime.json
Created September 19, 2017 04:12
sublime-pref
{
"color_scheme": "Packages/Colorsublime - Themes/Facebook.tmTheme",
"ensure_newline_at_eof_on_save": true,
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"node_modules"
@jssee
jssee / code.json
Last active November 17, 2017 03:41
vscode
{
"workbench.colorTheme": "Panda Syntax",
"workbench.colorCustomizations": {
"activityBar.background": "#0b0b0c",
"editor.background": "#141416",
"sideBar.background": "#141416",
"editorGroupHeader.tabsBackground": "#141416",
"tab.activeBackground": "#141416",
"tab.inactiveBackground": "#141416"
},