This file contains hidden or 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] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; If running Litespeed on Mac OS, the php.ini file should be placed in the /usr/local/lsws/lsphp5/lib directory. | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. |
This file contains hidden or 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
require 'sass' | |
## install Linguistics gem, sudo install gem linguistics | |
require 'linguistics' | |
Linguistics::use( :en ) # extends Array, String, and Numeric | |
## this is the linguistics gem, | |
## instructions on how to use, http://deveiate.org/projects/Linguistics/wiki/English | |
## 5.en.numwords would output 'five' |
This file contains hidden or 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
find /path/to/webroot/ -type f -exec chmod 644 {} \; |
This file contains hidden or 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
find /path/to/webroot/ -type d -exec chmod 755 {} ; |
This file contains hidden or 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
#!/ffp/bin/sh | |
# PROVIDE: avahi | |
# REQUIRE: SERVERS | |
. /ffp/etc/ffp.subr | |
name="avahi" | |
command="/ffp/sbin/avahi-daemon" | |
avahi_daemon_flags="-D -s" |
This file contains hidden or 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
<?xml version="1.0" standalone="no"?><!--*-nxml-*--> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_smb._tcp</type> | |
<port>445</port> | |
</service> | |
</service-group> | |
6) Create /ffp/etc/avahi/services/http.service | |
<?xml version="1.0" standalone="no"?><!--*-nxml-*--> |
This file contains hidden or 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
<?xml version="1.0" standalone="no"?><!--*-nxml-*--> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_device-info._tcp</type> | |
<port>0</port> | |
<txt-record>model=RackMac</txt-record> | |
</service> | |
</service-group> |
This file contains hidden or 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
### Symphony 2.3.x ### | |
Options +FollowSymlinks -Indexes | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase / | |
### SECURITY - Protect crucial files | |
RewriteRule ^manifest/(.*)$ - [F] |
This file contains hidden or 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
<!--[if IE]> | |
According to the conditional comment this is IE<br /> | |
<![endif]--> | |
<!--[if IE 6]> | |
According to the conditional comment this is IE 6<br /> | |
<![endif]--> | |
<!--[if IE 7]> | |
According to the conditional comment this is IE 7<br /> | |
<![endif]--> | |
<!--[if IE 8]> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:date="http://exslt.org/dates-and-times" | |
extension-element-prefixes="date"> | |
<xsl:import href="get-schedule.xsl" /> | |
<!-- | |
Name: XSLT Calendar |
OlderNewer