Skip to content

Instantly share code, notes, and snippets.

View fahimshani's full-sized avatar
🏠
Working from home

Fahim fahimshani

🏠
Working from home
View GitHub Profile
@fahimshani
fahimshani / gulpfile.js
Created September 7, 2016 21:11
Basic Gulp project
var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer'),
svgSprite = require('gulp-svg-sprite'),
jshint = require('gulp-jshint'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
fileinclude = require('gulp-file-include'),
rename = require('gulp-rename'),
concat = require('gulp-concat'),
notify = require('gulp-notify'),
'use strict';
module.exports = function (grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// configurable paths
var yeomanConfig = {
app: 'app',
dist: 'dist'
@fahimshani
fahimshani / ajaxify-html5.js
Created November 21, 2012 13:09 — forked from balupton/README.md
Ajaxify a Website with the HTML5 History API using History.js, jQuery and ScrollTo
// History.js It!
// v1.0.1 - 30 September, 2012
// https://gist.github.com/854622
(function(window,undefined){
// Prepare our Variables
var
History = window.History,
$ = window.jQuery,
document = window.document;