Skip to content

Instantly share code, notes, and snippets.

View gmann1982's full-sized avatar

George Rome gmann1982

  • Stoke On Trent, England
View GitHub Profile
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
return gulp.src('./styles/bootstrap.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./public/css'));
});
import { Component, OnInit, ElementRef, Input } from 'angular2/core';
import { NgControl, ControlValueAccessor } from 'angular2/common';
import "jquery";
import "jquery-ui";
declare var jQuery: any;
@Component({
selector: '.datepicker',
@gmann1982
gmann1982 / tsconfig.json
Created October 23, 2015 11:30
tsconfig
{
"version": "1.6.2",
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
module.exports = function (grunt) {
// show elapsed time at the end
require('time-grunt')(grunt);
// load all grunt tasks
require('load-grunt-tasks')(grunt);
//MODIFIED: add require for connect-modewrite
var modRewrite = require('connect-modrewrite');
grunt.initConfig({
@gmann1982
gmann1982 / windows 8 remote desktop config
Created April 30, 2014 10:06
windows 8 remote desktop config
span monitors:i:1
screen mode id:i:1
use multimon:i:1
desktopwidth:i:1920
desktopheight:i:1080
session bpp:i:32
winposstr:s:0,1,2066,89,2866,689
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
@gmann1982
gmann1982 / email
Last active August 29, 2015 14:00
email
<?PHP
######################################################
# #
# Forms To Go 4.5.4 #
# http://www.bebosoft.com/ #
# #
######################################################
<?PHP
######################################################
# #
# Forms To Go 4.5.4 #
# http://www.bebosoft.com/ #
# #
######################################################
In the .zshrc you need to select the theme blinks
SH_THEME="blinks"
You can find this here:
https://gist.github.com/gmann1982/9981379
this will need to go in the file
if(! ('ace' in window) ) window['ace'] = {}
jQuery(function($) {
//at some places we try to use 'tap' event instead of 'click' if jquery mobile plugin is available
window['ace'].clickOrTap = $.fn.tap ? "tap" : "click";
});
jQuery(function($) {
ace.sidebarHandler(jQuery);