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
$base-font-color: hsla(0, 0%, 13%, 1); // 87% Black | |
$body-bg: $white !default; | |
$open-sans: 'open-sans', sans-serif; | |
$font-family-serif: $open-sans; | |
$font-family-base: $open-sans; | |
$body-font-size: 16px; | |
$letter-spacing: .03em; | |
$table-cell-padding: 1.25rem !default; | |
$table-condensed-cell-padding: 1rem !default; | |
$table-bg: hsla(0, 0%, 95%, .7); |
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
/* global require exports */ | |
/* eslint-env node */ | |
/* eslint no-console: 0 */ | |
/* eslint max-len: 0 */ | |
/* eslint prefer-destructuring: 0 */ | |
const { | |
watch, | |
series, | |
src, |
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
#!/bin/sh | |
#version 2014-04-26 | |
VPNC_CONNECTING="/usr/syno/etc/synovpnclient/vpnc_connecting" | |
#get connection name | |
CONNECTION=`cat /usr/syno/etc/synovpnclient/pptp/pptpclient.conf | grep conf_name | awk 'BEGIN {FS="="} {print $2}'` | |
#get connection id | |
ID=`ls /usr/syno/etc/synovpnclient/pptp/ | grep options | awk 'BEGIN {FS="_"} {print $2}' | awk 'BEGIN {FS="."} {print $1}'` |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// Zen Grids (v1.4) | |
// ---- | |
@import "zen"; | |
$bp-large: 1024px; | |
%zen-grid-1-1 { |
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
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document) | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn) | |
} | |
NodeList.prototype.__proto__ = Array.prototype |
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
@mixin breakpoint($size: "", $maxWidth: false, $noMQSelector: "") { | |
@if $size == "" { | |
$size: 55em; // Put your "main" or most-used breakpoint here to use it as a default | |
} | |
@if $noMQSelector == true { | |
$noMQSelector: ".oldie"; // this is the default catch all selector, jsut pass true, unquoted. | |
} | |
// Default, `min-width` media query |
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
@font-face { | |
font-family: 'MyFontFamily'; | |
src: url('myfont-webfont.eot?#iefix') format('embedded-opentype'), | |
url('myfont-webfont.woff') format('woff'), | |
url('myfont-webfont.ttf') format('truetype'), | |
url('myfont-webfont.svg#svgFontName') format('svg'); | |
} |
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
<snippet> | |
<content><![CDATA[ | |
<span ${1:class="${2}"} data-picture data-alt="${3:Moar Internets!}"> | |
<span data-src="${4:file}${5:.jpg}"></span> | |
<span data-src="${4:file}-x2${5:.jpg}" ${6:data-media="(${7:min-width}: ${8:400px})"}></span> | |
<span data-src="${4:file}-x3${5:.jpg}" ${9:data-media="(${10:min-width}: ${11:800px})"}></span> | |
</span> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>pic</tabTrigger> |
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
Show hidden characters
[ | |
{ "keys": ["home"], "command": "move_to", "args": {"to": "hardbol", "extend": false} }, | |
{ "keys": ["end"], "command": "move_to", "args": {"to": "hardeol", "extend": false} }, | |
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "hardeol", "extend": true} }, | |
{ "keys": ["ctrl+home"], "command": "move_to", "args": {"to": "hardbof", "extend": false} } | |
] |
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
// This checks document to see if touchstart exists | |
// if it does, then your event is 'touchstart' | |
// if it doesn't (most desktop browsers) then its 'click'. | |
var clickEventType = ((document.ontouchstart!==null)?'click':'touchstart'); | |
// Old .bind don't use | |
$('.foo').bind(clickEventType, function(e){}); | |
//Better yet, use .on() for binding: | |
$('body').on(clickEventType, '.foo', function(e){}); |
NewerOlder