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
# Chmod files with certain extension only | |
find . -type f -name "*\.pl" | xargs chmod 755 |
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
@interface NSDate (Today) | |
// Create date from today, without time | |
+ (NSDate *)dateWithToday; | |
@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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf8" /> | |
<meta name="DC.Title" content="" /> | |
<meta name="DC.Description" content="" /> | |
<meta name="description" content="" /> | |
<meta name="DC.Author" content="" /> | |
<meta name="DC.Publisher" content="" /> | |
<meta name="DC.Copyright" content="" /> |
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 all user agents | |
User-agent: * | |
# Do not index these paths | |
#Disallow: /admin/ |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 | |
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | |
<url> | |
<loc>http://example.com/</loc> | |
<lastmod>2006-11-18</lastmod> | |
<changefreq>daily</changefreq> | |
<priority>0.8</priority> |
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
@CHARSET "UTF-8"; | |
body { | |
font: normal 1em/1.25em times new roman,arial,helvetica,sans-serif; | |
color: black; | |
background-color: white; | |
} | |
a { | |
color: #666; |
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
# Error documents | |
ErrorDocument 404 /404.htm | |
ErrorDocument 403 /403.htm | |
#RedirectMatch permanent ^/somedir/?$ http://www.domain.com/ | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# RewriteBase / |
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 | |
# | |
# Update or checkout official TextMate bundles. | |
# | |
TEXTMATE_SUPPORT_DIR=~/Library/Application\ Support/TextMate | |
if [ -z $LC_CTYPE ]; then | |
export LC_CTYPE=en_US.UTF-8 | |
fi |
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/sh | |
cat <<EOF | |
<VirtualHost *:80> | |
ServerName alex.macbook | |
ServerAdmin webmaster@macbook | |
DocumentRoot "/opt/local/www/alex.macbook" | |
ErrorLog "logs/alex_macbook_error.log" | |
CustomLog "logs/alex_macbook_access.log" common | |
<IfModule mod_rewrite.c> |
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/sh | |
# | |
# Wrapper script to force correct umask for svnadmin. | |
# Put in /usr/local/sbin to override default svnadmin binary. | |
# | |
umask 002 | |
/usr/bin/svnadmin "$@" |
OlderNewer