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
Processing ApplicationController#index (for XXX at 2009-01-07 11:46:00) [GET] | |
Session ID: XXX | |
Parameters: {} | |
ActionController::RoutingError (No route matches "/error_docs/bad_gateway.html" with {:method=>:get}): | |
/usr/local/rubygems/gems/gems/actionpack-2.1.2/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path' | |
/usr/local/rubygems/gems/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:385:in `recognize' | |
/usr/local/rubygems/gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:148:in `handle_request' | |
/usr/local/rubygems/gems/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch' |
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 // display all users with usermeta 'featured_author' checked 'yes' | |
global $wpdb, $usermeta; | |
$featured_authors = $wpdb->get_results(" | |
SELECT user.ID, user.user_nicename | |
FROM $wpdb->users user | |
", OBJECT); | |
// loop through authors | |
foreach($featured_authors as $featured_author) { | |
$curauthor = get_userdata( $featured_author->ID ); | |
// select featured authors |
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
#Crontab runs this every ten minutes (root) | |
*/10 * * * * /root/scripts/redmine-rake.sh > /tmp/redmine-email.log 2>&1 | |
#this is the script | |
#!/bin/bash | |
export PATH=$PATH:/usr/local/rubygems/bin:/usr/local/rubygems/gems/bin | |
export RUBYLIB=/usr/local/rubygems/lib | |
export GEM_HOME=/usr/local/rubygems/gems | |
cd /var/www/vhosts/scatter3d.com/subdomains/redmine/httpdocs | |
RAILS_ENV="production" rake redmine:email:receive_imap port=993 host=imap.gmail.com username=redmine@sproutventure.com password=redmine42 ssl=1 |
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
======================== | |
HEADER CODE | |
======================== | |
<script type="text/javascript" src="http://w.sharethis.com/widget/?tabs=email%2Cweb&charset=utf-8&services=facebook%2Cmyspace%2Cdelicious%2Cstumbleupon%2Cgoogle_bmarks%2Cyahoo_bmarks%2Cyahoo_myweb%2Cwindows_live%2Cfriendfeed%2Creddit&style=default&publisher=cd3fa0ae-1fcf-48eb-9e10-509b3e3977f5&headerbg=%23ee3a43&inactivebg=%23c41230&inactivefg=%23ffffff&linkfg=%23474847;button=false"></script> | |
<script language="javascript" type="text/javascript"> | |
var object = SHARETHIS.addEntry({ | |
url: document.location + '?cmpid=sharethis', | |
title:'share', |
NewerOlder