⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
/* jshint node:true */ | |
'use strict'; | |
// Load Gulp | |
var gulp = require('gulp'), | |
runSequence = require('run-sequence'); | |
// Load plugins | |
var $ = require('gulp-load-plugins')(); |
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
" vim:fdm=marker | |
" .vimrc | |
" v.0.2.0 - 28.10.2014 by Florenz Heldermann | |
" Based on the beginners vimrc by Philip Trasher | |
" | |
set nocompatible " Fuck VI... That's for grandpas. | |
filetype off | |
set rtp+=~/.vim/bundle/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
'use strict'; | |
var gulp = require('gulp'), | |
$ = require('gulp-load-plugins')(); | |
// Express Vars | |
var EXPRESS_PORT = 4000, | |
EXPRESS_ROOT = __dirname + '/bin', | |
LIVERELOAD_PORT = 35729; |
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
(function($) { | |
'use strict'; | |
$(document).ready(function(){ | |
// 60fps scrolling | |
// see: http://www.thecssninja.com/javascript/pointer-events-60fps | |
var body = document.body, | |
timer; | |
window.addEventListener('scroll', function() { |
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
/* jshint node:true */ | |
// Include project requirements. | |
var gulp = require('gulp'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
sass = require('gulp-sass'), | |
imagemin = require('gulp-imagemin'), | |
prefix = require('gulp-autoprefixer'), | |
ftp = require('gulp-ftp'), |
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
// Attention - This is a modified version of the csswizardry-grids by Harry Roberts - @csswizardy | |
// It includes the AdobeBlank Font, which has to be declared under the variable $font-blank | |
// This way you don't have to rely on whitespace or letter-spacing hacks. Idea by @dennisausbremen | |
// You can find Adobe Blank here: http://blogs.adobe.com/typblography/2013/03/introducing-adobe-blank.html | |
// I changed the namespaces. Using Variables like "one-twelves" is very uncommon for | |
// non-english people, so i changed it to "u-1-12" (the u is for "unit") | |
// Also i changed the comment syntax to the native Sass Syntax. |
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
<!DOCTYPE html> | |
<!-- #include "inc_header.html" title="Example" header="Sample Title" --> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example</title> | |
<link rel="stylesheet" href="css/main.css"> | |
</head> | |
<body> | |
<h1>Sample Title</h1> |
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
function buildAnnotationView() { | |
$.getJSON('styleguide/js/annotations.json', function (data) { | |
$sgPattern.each(function(index) { //Loop through each pattern | |
var $this = $(this), | |
$thisAnnotation = ''; | |
if($this.children().first().get('0') || $this.children().first().attr('class') ) { | |
var $elemType = $this.children().first().get('0').nodeName, | |
$elemClass = $this.children().first().attr('class'); | |
$.each(data.comment, function (i, jsElem) { | |
if($elemType === data.comment[i].el.toUpperCase()){ |
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
// jQuery.support.transition | |
// to verify that CSS3 transition is supported (or any of its browser-specific implementations) | |
$.support.transition = (function(){ | |
var thisBody = document.body || document.documentElement, | |
thisStyle = thisBody.style, | |
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined; | |
return support; | |
})(); |