Tags
webcam vindaloo version vegan unix unicef trojan todo thinkpad textmate testing tagging syntax svn sugar subversion stubbing sphinx spaces solaris sitemap sinatra sheet set security search schema_info SchemaInfo ruby rinari restaurant relationships refresh rdiff-backup ramaze railsconf08 railsconf07 rails protools production power placeboeffect pink floyd PIC perl overheat outbreak osx os x NYHS NYC nginx netbeans nested nanophotonics mysql music MPEG-4 mongrel model migration microvolunteer macbook mac logrotate log linux less leopard keynote JAX javascript java jacksonville imunizator highlighting hanna Handbrake haml hacks google geocoding genghistron gem gaming gabrielle's funny functional fun friends food fixes fixed firefox FF3 ferret fantasy' emacs DV donateLatest Blog Activity From The Decider
The Decider said 2 months ago permalink Comment? (1)
Tagged: ruby rails bdoc hanna
Pretty Local Rdoc
From the RubyInside site a couple of gems to make your local rdocs look and behave nicer.
To reap the benefits:
sudo gem install mislav-hanna sudo gem install manalang-bdoc sudo hanna —gems bdocThe Decider said 3 months ago permalink Comment? (0)
Tagged: rails mongrel ruby nginx
Protect Staging Server with Password
When developing a new application and releasing often you may want to protect the site from prying eyes. A simple way to do this when using the nginx web server is to use basic http authentication.
I prefer to do this in the nginx config file so it doesn’t impact local development.
You’ll need to create a password file using htpasswd command line utility. This file should be relative to the install directory of nginx. The default install would place this file in /usr/local/nginx
sudo htpasswd -cb /usr/local/this_hosts_password_file username passwordNext, you need to tell nginx to use basic auth for any access to this (virtual) host. I place the 2 relevant lines in the server portion of the config file
server { listen 80;- …
auth_basic “Login to see this alpha site.”;
auth_basic_user_file this_hosts_password_file; - …
}
A login will now be presented for any entry into the site.
The Decider said 3 months ago permalink Comment? (2)
Tagged: food restaurant jacksonville
Row Restaurant Does Vegetarian!
Great Vegetarian Meal at the Row Restaurant
Please see my huge disclaimer at the bottom
The Row Restaurant has been Jacksonville’s Magazines top 25 restaurants for 6 years straight. I live very close and head to the pub every now and then since they have delicious Rogue Juniper Pale Ale on tap. There’s also some excellent vegetarian appetizers. The artichoke dip comes to mind.
Even though there is no vegetarian options on the menu Chef Eric will whip up some stuffed grilled portabello’s or an extremely rich freshly prepared basil pesto pasta dish with fresh vegetables from the farmer’s market.
One night while I was there I had heard another table raving over his Chicken Marsala. Well, I don’t eat chicken but I had an idea. I asked Chef Eric if I could bring in a fake chicken patty and asked if he could prepare the dish completely vegetarian. He was up for the challenge! I ran home and grabbed some Quorn patties.
In about 15 minutes Chef Eric presented a wonderful meal for me and wife complete with fresh French green beans sauteed in a light butter sauce and roasted potatoes lightly spiced. The marsala wine gave a sweet hint while the capers rounded it out with a salty finish. We finished off with a special Chocolate cake dessert. The chicken marsala was fabulous.
I asked Chef Eric if he would be willing to do this for others and he gave an enthusiastic YES.
One thing to note, if you want to dine on Thursday, Friday or Saturday reservations are highly recommended.
- Huge disclaimer
- My family owns and runs the The Riverdale Inn and The Row Restaurant
- My brother Eric is the Executive Chef
- I’m vegetarian and rarely eat there but love my brother’s cooking.
The Decider said 4 months ago permalink Comment? (0)
Tagged: food restaurant
Best Vegetarian Restaurant in Jacksonville FL
The new Whole Foods Supermarket is probably the best all around vegetarian restaurant in Jacksonville. While visiting there on last Saturday they had 6 vegetarian main entrees. The selection ranged from Asian, kung pow tofu to Bar-B-Q Seitan.
The hot bar was very fresh and was constantly being monitored by several chefs and staff. There was traditional sides like mashed potatoes, sweet potatoes, macaroni and cheese….you name it.
In addition, they have a gelato bar, coffee/expresso, brick hearth pizza oven (slices available!) and a dessert bar.
The food is all $7.99 per pound and there is indoor and outdoor seating with free WI-FI.
The Decider said 4 months ago permalink Comment? (0)
Tagged: admin logrotate
Rotating Rails Logs via logrotate
No need to repeat the excellent article NullisLove
If you are doing this on a ubuntu or debian based system make sure that logrotate is actually installed. It’s easy to be fooled since apache and mysql install rotate scripts in /etc/logrotate.d
To install:
sudo apt-get install logrotateAdd your new config file to: /etc/logrotate.d
/home/my_server/www/shared/log/*.log { daily missingok rotate 7 compress delaycompress notifempty copytruncate }Test:
sudo logrotate -d /etc/logrotate.c/my_servers_rotate_scriptForce a rotate:
sudo logrotate -f /etc/logrotate.c/my_servers_rotate_scriptSometimes the easy things can just be-fuddle you!
