Skip to content

Instantly share code, notes, and snippets.

View sunlix's full-sized avatar

Sven sunlix

View GitHub Profile
@sunlix
sunlix / jquery.responsive.js
Last active December 30, 2015 22:49
unobstrusive browser width detection
/**
* unobstrusive browser width detection
*
* Originally inspired by: http://designedbythomas.co.uk/blog/how-detect-width-web-browser-using-jquery
* Original source by https://gist.github.com/highrockmedia/3710930
* Contribution https://gist.github.com/RyanBrackett/6107983
*
* Copyright (c) 2013 Sven Schüring
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@sunlix
sunlix / build.xml
Last active January 22, 2016 17:41
Ant Build-Script for my frontend projects
<?xml version="1.0" encoding="UTF-8" ?>
<project name="sunlix" default="usage" basedir=".">
<description>
Build file for sunlix.de
Content:
1. Compile related tasks
2. Deploy related tasks
3. Clean related tasks
@sunlix
sunlix / gulpfile.js
Last active February 25, 2016 12:21
gulpfile.js for building my frontend projects - MIT-License
/**
* Used modules
*/
var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
del = require('del'),
vinylPaths = require('vinyl-paths'),
merge = require('merge-stream');