plesk – nginx settings for october cms

Add this config to the domains extra nginx settings:

 

mysql search closest locations within distance around a center

Geo-Distance-Search-with-MySQL

https://stackoverflow.com/a/26407391/4074710

 

css – select, dropdown arrow

css arrow for html selects: in LESS

 

simple tooltip, multiline, pure css

 

vue.js v-cloak spinner with pure css (but scss in code)

the scss

Notice the nested divĀ  & > div {

Now the HTML:

 

twig 5 star rating partial

Simple snippet/partial for a twig star rating with fontawesome

 

rkhunter – fix warnings

Warning #1

Rkhunter and plesk xinetd services

Warning #2

https://sourceforge.net/p/rkhunter/mailman/message/33159245/

Warning #3

https://sourceforge.net/p/rkhunter/mailman/message/20285811/

Warning #4

https://unix.stackexchange.com/questions/194087/rkhunter-warning-about-ssh-root-access-when-that-access-is-not-allowed-on-the-sy

 

sass spacing helper – margin and padding

The above structure will generate the following classes:

Example usage:

 

less helpers – spacings

Above code will generate the following helper classes: (example for number 10)

 

unveil.js – lazy loading image with css animation

LESS

JS

Image

 

 

grunt setup

grunt setup for web projects.

package.json

Gruntfile.js

 

october cms – redirect back with input and errors

Somewhere in my plugin:

And somewhere in my view:

 

active language check

https://octobercms.com/plugin/rainlab-translate

october cms – page url