Skip to content

Instantly share code, notes, and snippets.

Vitaly Tulin tulvit

View GitHub Profile
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 Feb 13, 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.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.