Skip to content

Instantly share code, notes, and snippets.

@import 'colors';
@import 'mixins';
section {
padding: 1em;
}
.color-1 {
color: $color1;
}
Uncompahgre Peak
https://drive.google.com/uc?export=download&id=0B-c3hxDxskPGWHhPbVB4YmR5MDA
Mt. Elbert
https://drive.google.com/uc?export=download&id=0B-c3hxDxskPGU0Q0eWEwZmJzNnc
Pikes Peak
https://drive.google.com/uc?export=download&id=0B-c3hxDxskPGTmRPOEN1SVAxbDg
// this is how to write code in IFFE format and wait for the DOM to load to call certain functions
(function() {
'use strict';
function function1() {
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PeakMap</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
@charset "UTF-8";
article, aside, footer, header, main, nav, section {
display: block;
}
html, body, h1, h2, h3, ul, li, a, p,
article, aside, footer, header, main, nav, section {
padding: 0;
margin: 0;
section {
padding: 1em;
}
.color-1 {
color: red;
}
.color-2 {
color: blue;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import urllib2,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
var gulp = require('gulp'),
less = require('gulp-less'),
concat = require('gulp-concat')
//sourcemaps = require('gulp-sourcemaps'),
//minifycss = require('gulp-minify-css')
gulp.task('less', function() {
gulp.src('./src/styles/*.less')
//.pipe(sourcemaps.init())