Skip to content

Instantly share code, notes, and snippets.

{
"bold_folder_labels": true,
"color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font":
[
"subpixel_antialias"
],
"font_size": 9,
"highlight_line": true,
<<<<<<< HEAD
"version": "1.2.1",
=======
"version": "1.2.3",
>>>>>>> master
gulp.task('build', ['templates', 'images', 'fonts', 'styles', 'scripts', 'build:info', 'upload:config']);
// I want a clean task to run before build/ all of these and then run build when clean is complete.
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/SublimeLinter/spectral (SL).tmTheme",
"ensure_newline_at_eof_on_save": true,
"font":
[
"subpixel_antialias"
],
"font_size": 9,
"highlight_line": true,
<!DOCTYPE html>
<html>
<head>
<title>jquery.rss example</title>
<script src="lib/jquery-1.6.4.min.js"></script>
<script src="src/jquery.rss.js"></script>
<script>
jQuery(function($) {
@rdallaire
rdallaire / gulpfile.js
Created December 29, 2014 02:27
Rename a css file into sass
gulp.task('bower-normalize', function() {
return gulp.src(bower+'normalize.css/normalize.css')
.pipe(plugins.rename('_base_normalize.scss'))
.pipe(gulp.dest(source+'scss'));
});
<div class="product">
<a href="/my-product">
<h2 class="name">My Product</h2>
<img src="myproduct.jpg" alt="My Product">
</a>
<span class="price">$5.99</span>
<span class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem iusto praesentium tempore iste nemo a non perferendis molestiae architecto distinctio!</span>
@rdallaire
rdallaire / package.json
Created December 24, 2014 03:31
run bower install after npm install
"scripts": {
"postinstall" : "node_modules/.bin/bower install"
}
var calID = "",
key = "",
target = "",
date = new Date;
console.log(document.referrer);
var url = "https://www.googleapis.com/calendar/v3/calendars/" + calID + "/events?singleEvents=true&orderBy=startTime&maxResults=10&timeMin=" + date.toISOString() + "&key=" + key;
$(target).append("<ul></ul>");
var eventLists;
$.getJSON(url, function(b) {
for (i in b.items) {