Just remove the line from bootstrap.css
/*# sourceMappingURL=bootstrap.css.map */
/** | |
* Filter to check for CSRF attacks from the ajax requests. | |
*/ | |
Route::filter('csrf_header', function() | |
{ | |
if (Session::token() != Request::header('x-csrf-token')) | |
{ | |
throw new Illuminate\Session\TokenMismatchException; | |
} | |
}); |
myApp.filter('filterMultiple',['$filter',function ($filter) { | |
return function (items, keyObj) { | |
var filterObj = { | |
data:items, | |
filteredData:[], | |
applyFilter : function(obj,key){ | |
var fData = []; | |
if (this.filteredData.length == 0) | |
this.filteredData = this.data; | |
if (obj){ |
<?php | |
if(!function_exists('_log')){ | |
function _log( $message ) { | |
if( WP_DEBUG === true ){ | |
if( is_array( $message ) || is_object( $message ) ){ | |
error_log( print_r( $message, true ) ); | |
} else { | |
error_log( $message ); | |
} |
Just remove the line from bootstrap.css
/*# sourceMappingURL=bootstrap.css.map */
To hide iterm from the dock
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
And this to undo:
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
Bower-installer was written as a command-line app and doesn't yet expose an API. You could just use exec if you want to:
var exec = require('child_process').exec;
gulp.task('task', function (cb) {
exec('bower-installer', function (err, stdout, stderr) {
console.log(stdout);
console.log(stderr);
cb(err);
});
<?php | |
/** | |
*###################################################################### | |
*# breadcrumbs | |
*###################################################################### | |
*/ | |
app.directive('ngEnter', function () { | |
return function (scope, element, attrs) { | |
element.bind("keydown keypress", function (event) { | |
if(event.which === 13) { | |
scope.$apply(function (){ | |
scope.$eval(attrs.ngEnter); | |
}); | |
event.preventDefault(); | |
} |
/** | |
* Binds a TinyMCE widget to <textarea> elements. | |
*/ | |
angular.module('ui.tinymce', []) | |
.value('uiTinymceConfig', {}) | |
.directive('uiTinymce', ['uiTinymceConfig', function(uiTinymceConfig) { | |
uiTinymceConfig = uiTinymceConfig || {}; | |
var generatedIds = 0; |