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 | |
//configs | |
$email_to ='[email protected]'; //put your email address here | |
$email_subject_prefix ='MySite.com contact form: '; //put the email sibject line prefix here | |
$email_from ='[email protected]'; //put the email address that this form will be sent from | |
$email_from_nice ='Server'; //put in the 'nice' name for the email sender | |
//If the form is submitted | |
if(isset($_POST['submit'])) { |
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 | |
//configs | |
$email_to ='[email protected]'; //put your email address here | |
$email_subject_prefix ='MySite.com contact form: '; //put the email sibject line prefix here | |
$email_from ='[email protected]'; //put the email address that this form will be sent from | |
$email_from_nice ='Server'; //put in the 'nice' name for the email sender | |
//If the form is submitted | |
if(isset($_POST['submit'])) { |
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 | |
//configs | |
$email_to ='[email protected]'; //put your email address here | |
$email_subject_prefix ='MySite.com contact form: '; //put the email sibject line prefix here | |
$email_from ='[email protected]'; //put the email address that this form will be sent from | |
$email_from_nice ='Server'; //put in the 'nice' name for the email sender | |
//If the form is submitted | |
if(isset($_POST['submit'])) { |
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 | |
/** Config section - start **/ | |
$bookmark_user = "--your-username-"; | |
$bookmark_pass = "--your-password"; | |
$bookmark_service = "pinboard.in"; // pinboard.in or delicious.com/del.icio.us | |
/** Config section - end **/ |
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
<VirtualHost *:80> | |
# Admin email, Server Name (domain name) and any aliases | |
ServerAdmin [email protected] | |
ServerName redmine.yourdomain.com | |
DocumentRoot /usr/share/redmine/public | |
# Custom log file locations | |
LogLevel warn |
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
; SRV | |
_jabber._tcp.@ 1 IN SRV 5 0 5269 xmpp-server.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server4.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server2.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server1.l.google.com | |
_jabber._tcp.@ 1 IN SRV 20 0 5269 xmpp-server3.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 5 0 5222 talk.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 50 0 5222 talk4.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 5 0 5222 talk1.l.google.com | |
_xmpp-client._tcp.@ 1 IN SRV 20 0 5222 talk3.l.google.com |
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
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
Options -Indexes | |
</Directory> | |
Alias /code /var/bzr/repo/ | |
WSGIScriptAliasMatch ^/code/.*/\.bzr/smart$ /var/bzr/repo/bzr_serve.wsgi |
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
/* | |
* Simple javascript mobile OS / iphone/ android detector | |
* | |
* License: GPLv3+ | |
* Author: justin.kelly.org.au | |
* | |
*/ | |
$(document).ready(function() { | |
var deviceIphone = "iphone"; |
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
##depengind how you want to structure your trac urls | |
# WSGIScriptAliasMatch ^/users/([^/]+) /var/trac/trac.wsgi | |
WSGIScriptAlias /trac /var/trac/trac.wsgi | |
## If using htpasswd auth you will need | |
# <Location "/trac/login"> | |
# AuthType Basic | |
# AuthName "Trac" | |
# AuthUserFile /home/justin/public_html/bzr.bz/private/trac/.htpasswd | |
# Require valid-user |
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
# for more info refer: http://blog.justin.kelly.org.au/tracwsgi-for-tracenvparentdir | |
# based on the trac.wsgi used for the trac + bzr hosting service http://bzr.bz | |
import sys | |
sys.stdout = sys.stderr | |
import os | |
os.environ['TRAC_ENV_PARENT_DIR'] = '/var/www/trac' | |
os.environ['PYTHON_EGG_CACHE'] = ' /usr/share/pyshared' |
OlderNewer