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
#!/bin/bash | |
# In an effort to automate some of my daily tasks I decided to write this mail quota monitoring script. It gets all quota information, processes it, then Twitters the information AND sends an e-mail. The Twitter information is vague so security isn’t compromised, but the e-mail has the details. This way I can get a heads up of impending doom on certain mail accounts! | |
# Get the e-mail ready. | |
Email="esupport@exyst.com"; | |
Subject="Xync: Account(s) Exceeding Quota(s)." | |
Message="/tmp/message.txt" | |
# This starts the message fresh. | |
echo "Summary:" > $Message |
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
Example Output: | |
Retrieving Joomla Site List… | |
Detecting Joomla Versions… | |
[http://www.angelkissfoundation.org] -> [Joomla!] [1.0.15] -> [No VirtueMart Detected] | |
[http://www.florinanalytical.com] -> [Joomla!] [1.0.13] -> [No VirtueMart Detected] | |
[http://www.kcareno.com] -> [Joomla!] [1.0.13] -> [No VirtueMart Detected] | |
[http://www.itosbolivia.com] -> [Joomla!] [1.0.13] -> [No VirtueMart Detected] | |
[http://www.successdna.com] -> [Joomla!] [1.0.13] -> [VirtueMart] [1.0.13a.] | |
[http://www.computercorps.org] -> [Joomla!] [1.0.15] -> [No VirtueMart Detected] |
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
Example Output: | |
This is an automated message. | |
Below is a list of all PHPList e-mails that went out for September | |
[5040] E-mails for Database: [ahhhmassage_db] | |
[24103] E-mails for Database: [clarkcountybar_newsletter] | |
[7978] E-mails for Database: [commacoffee_news] | |
[11665] E-mails for Database: [mckernan_newsletter] |
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
Example Output: | |
Retrieving Site List… | |
[http://www.breweryarts.org] [Mambo] [4.5.4] | |
[http://www.artbyblair.com] [Mambo] [4.5.4] | |
[http://www.budgaugh.com] [Joomla!] [1.0.13] | |
[http://www.ecomadness.com] [Joomla!] [1.0.15] | |
[http://www.janusstudio.com] [Joomla!] [1.0.11] | |
[http://www.sharonchandler.com] [Mambo] [4.5.4] |
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
#!/bin/bash | |
Colors() { | |
Escape="\033"; | |
BlackF="${Escape}[30m"; RedF="${Escape}[31m"; GreenF="${Escape}[32m"; | |
YellowF="${Escape}[33m"; BlueF="${Escape}[34m"; PurpleF="${Escape}[35m"; | |
CyanF="${Escape}[36m"; WhiteF="${Escape}[37m"; | |
BlackB="${Escape}[40m"; RedB="${Escape}[41m"; GreenB="${Escape}[42m"; |
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
<?php | |
class Example { | |
// This is not intended to be accessible outside this class. | |
private function _hidden() { | |
// This is not acceptable. This becomes global. | |
// also unable to declare this as private vs. public - it generates a parse error. | |
function _shouldbehidden() { |
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
Warning: call_user_func_array() expects parameter 1 to be a valid callback, array must have exactly two members in /wp-includes/plugin.php on line 429 |
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
<?php | |
class My_Walker extends Walker_Nav_Menu { | |
} | |
?> |
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
jQuery(function() { | |
var bootstrap = [ | |
'affix', | |
'alert', | |
'button', | |
'carousel', | |
'collapse', | |
'dropdown', | |
'modal', | |
'popover', |
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
var device = { | |
touch: false, | |
mobile: false, | |
over: '', | |
out: '', | |
retina: false, | |
transitions: false, | |
android: false | |
}; | |