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 classes

 

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

 

octobercms: bootstrap carousel

this partial is included like this:

 

add middleware

Inside the Plugin.php file:

 

october cms – create backend controller with “hello world” page

Sometimes you want to create a root level backend menu page with lists more controller or hold some information:

When i click on “Core” I want to see a page with “hello world”. I will call this “HelloController”.

All we need is:

  • the controller class
  • config_list.yaml
  • the hello world in index.htm

For the list and modelClass entry, just take other existing stuff.

Here we go 🙂

october cms: grid for backend forms

The following snippet show the usage of grid system for backend forms:

Available classes are:

 

plesk: redirect to https for entire site

plesk 12

https://der-linux-admin.de/2015/12/plesk-ssl-redirect-https-fuer-domain-erzwingen-und-www-entfernen/