Skip to content

Instantly share code, notes, and snippets.

View webberig's full-sized avatar

Mathieu Maes webberig

View GitHub Profile
@webberig
webberig / config.xml
Last active January 14, 2021 12:31
ionic-plugin-deeplinks Android pathPattern support
<?xml version='1.0' encoding='utf-8'?>
<widget id="..." version="1.4.3" xmlns="http://www.w3.org/ns/widgets">
<platform name="android">
<hook src="scripts/fixAndroidDeepLinks.js" type="after_prepare" />
</platform>
</widget>
@webberig
webberig / Gulpfile.js
Created July 1, 2018 13:08
Gulp configuration for using Nucleus (with browser sync)
const gulp = require('gulp');
const sass = require('gulp-sass');
const run = require('gulp-run');
const browserSync = require('browser-sync').create();
gulp.task('css', function () {
return gulp.src('src/style.scss')
.pipe(sass())
.pipe(gulp.dest('styleguide/css'));
});
@webberig
webberig / jQueryBackbonePlugin
Last active August 29, 2015 14:14
Combine the power of a Backbone view with the simplicity of a jQuery plugin
(function($, Backbone){
var MyPluginView = Backbone.View.extend({
initialize: function(options) {
},
render: function() {
},
events: {
}
});
$.fn.myPlugin = function(options) {