This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Facebook Page Feed Tracking in Google Analytics | |
* Description: Track User Event Like, Comment & Share. | |
* Auth:Ritwik B | |
* Website:www.Digishuffle.com | |
* | |
* Updated on 13-10-2017 | |
* - All Event Logger | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.markdown-here-wrapper { | |
font-size: 16px; | |
line-height: 1.8em; | |
letter-spacing: 0.1em; | |
} | |
pre, code { | |
font-size: 14px; | |
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backend Server | |
backend default { | |
.host = "XXX.XXX.XXX.XXX"; # IP Address of your Web Server | |
.port = "80"; # Port of your Web Server | |
} | |
# Hosts allowed to purge Varnish | |
acl purge { | |
"localhost"; # Allow varnish to be purged from the same server it is running on | |
"XXX.XXX.XXX.XXX"/24; # IP of your web server that is allowed to purge the cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# 1. In Google Voice settings, set it to forward SMS messages to your Gmail. | |
# 2. Set up a Gmail filter to add a label to SMS messages that you want to | |
# auto-reply to (e.g. if they are from a specific sender, if they contain | |
# certain text, etc). | |
# 3. Fill in gmail address, password, and your target gmail label below. | |
# 4. Run this from cron to have it periodically check for messages. | |
from smtplib import SMTP |