Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃

Pankaj Patidar pankaj9296

🙃
View GitHub Profile
@pankaj9296
pankaj9296 / dabblet.css
Last active Sep 30, 2019
Ratings Stars
View dabblet.css
/*
Ratings Stars
(with as little code as possible)
*/
.rating {
unicode-bidi: bidi-override;
direction: rtl;
text-align: center;
}
.rating > span {
View fix-wordpress-permissions.sh
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory