Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Allowed IP Addresses | |
|-------------------------------------------------------------------------- | |
| Include an array of IP addresses or ranges that are allowed access to the app when | |
| it is in maintenance mode. |
App::down(function() | |
{ | |
if ( ! in_array(Request::getClientIp(), ['10.0.2.2'])) | |
{ | |
return Response::view('maintenance', [], 503); | |
} | |
}); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Note: Some of these shortcuts have been remapped for my own convenience (Preferences->Keymap). These are Mac shortcuts, just use the Windows/Linux equivalent of the Cmd/Option/Ctrl/Del keys.
####Search, Go to, Navigation ####
Cmd + P - Search file
Cmd + Shift + O - Search everywhere
(I swapped the above two recently because I use Cmd + P to search for files most of the time).
//animates to top of page | |
$('html, body').animate({ | |
scrollTop: $(".selector").offset().top | |
}, 2000); |
$(document).ready(function() { | |
$('a[rel="external"]').click( function() { | |
window.open( $(this).attr('href') ); | |
return false; | |
}); | |
}); |