This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery.fn.textChange = function(callback) { | |
| return this.each(function() { | |
| var lastentry = ''; | |
| $(this).keyup(function(event) { | |
| var value = $(this).val(); | |
| if (value != lastentry) { | |
| if (typeof callback == 'function') | |
| callback.call(this); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* jshint node: true, strict: global */ | |
| 'use strict'; | |
| var gulp = require('gulp'); | |
| var minifyJs = require('gulp-minify'); | |
| var sass = require('gulp-sass'); | |
| var cleanCss = require('gulp-clean-css'); | |
| var autoprefix = require('gulp-autoprefixer'); | |
| var browserSync = require('browser-sync').create(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var ts = require('gulp-typescript'); | |
| var tsProject = ts.createProject('tsconfig.json', {typescript: require('typescript')}); | |
| var paths = { | |
| sass: ['./resources/sass/**/*.scss'], | |
| ts: ['./resources/app/**/*.ts'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias homestead="homestead.bat" | |
| alias hs="homestead" | |
| alias code="cd /D/Code/" | |
| alias x="exit" | |
| alias cls="clear" | |
| alias bashrc="subl ~/.bashrc" | |
| alias scripts="cd /D/OneDrive/#Tools/Scripts" | |
| alias ..="cd .." | |
| alias ...="cd ../.." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ECHO OFF | |
| SETLOCAL | |
| if [%1]==[] ( | |
| echo Vagrant: Homestead | |
| echo up uruchamia maszyne wirtualna | |
| echo down zatrzymuje maszyne wirtualna | |
| echo destroy niszczy maszyne wirtualna | |
| echo ssh loguje sie do maszyny poprzez ssh | |
| echo conf otwiera plik konfiguracyjny .yaml |
NewerOlder