Skip to content

Instantly share code, notes, and snippets.


Vitaly Tulin tulvit

View GitHub Profile
tulvit / development.css
Created Sep 15, 2019
Development CSS (highlighting all elements)
View development.css
* {
color: #ffffff !important;
background-color: rgba(9, 52, 80, 0.7) !important;
outline: 0.25rem dashed rgba(255, 255, 255, 0.5) !important;
tulvit / errors.php
Last active Jul 18, 2019
PHP showing all errors
View errors.php
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
tulvit / sh
Last active Feb 26, 2019
SASS command to watch master.scss file and produce compressed style.css file.
View sh
sass --watch --sourcemap=none --style=compressed sass/master.scss:style.css
View clearfix.css
.clearfix::after {
content: "";
clear: both;
display: table;
tulvit / 0-default.conf
Created Feb 13, 2019
Default Virtualhost conf file for Apache2, returning 503 Service Unavailable status code with a custom message.
View 0-default.conf
<VirtualHost *:80>
Redirect 503 /
ErrorDocument 503 "Nothing to see here!"
tulvit / site.conf
Last active Oct 30, 2019
Apache2 Vitrualhost default conf file with a redirection from with www to without www included. Change: "user" to username, "" to a desired domain.
View site.conf
# domain:
# public: /home/username/public/
<VirtualHost *:80>
# Admin email, Server Name (domain name), and any aliases
# Index file and Document Root (where the public files are located)
You can’t perform that action at this time.