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
RewriteEngine On | |
Options +FollowSymLinks | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] | |
RewriteCond %{HTTP_USER_AGENT} baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest [NC,OR] | |
RewriteCond %{QUERY_STRING} _escaped_fragment_ | |
RewriteRule ^(.*)$ snapshots%{REQUEST_URI}? [NC,L] |
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
(function () { | |
var original_initIcon = L.Marker.prototype._initIcon, | |
originalsetIcon = L.Marker.prototype.setIcon; | |
L.Marker.include({ | |
setIcon: function (icon, id) { | |
this.options.id = id; | |
originalsetIcon.call(this, icon); | |
}, | |
_initIcon: function () { |
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
//from http://www.wearesicc.com/quick-tips-5-column-layout-with-twitter-bootstrap/ | |
.col-xs-15, | |
.col-sm-15, | |
.col-md-15, | |
.col-lg-15 { | |
position: relative; | |
min-height: 1px; | |
padding-right: 10px; | |
padding-left: 10px; |
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
htmlSnapshot: { | |
all: { | |
options: { | |
snapshotPath: 'snapshots/', | |
sitePath: 'http://<your-website>/', | |
fileNamePrefix: '', | |
sanitize: function(requestUri) { | |
return requestUri.replace(/\//g, '/').replace(/#!\//g, ''); | |
}, | |
urls: [ |
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
1) Run in the project folder : | |
$ npm install grunt-contrib-less --save-dev | |
2) Add less to config/env/all.js : | |
less: [ | |
'public/modules/*/less/*.less' | |
], | |
and modify the css config to this : | |
css: [ | |
'public/modules/*/less/*.css' |