Tag: Linux

Nginx with Passenger support was successfully installed

Nginx with Passenger support was successfully installed.

The Nginx configuration file (/opt/nginx/conf/nginx.conf)
must contain the correct configuration options in order for Phusion Passenger
to function correctly.

This installer has already modified the configuration file for you! The
following configuration snippet was inserted:

http {

passenger_root /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.9;
passenger_ruby /usr/bin/ruby;

}

After you start Nginx, you are ready to deploy any number of Ruby on Rails
applications on Nginx.

Press ENTER to continue.

——————————————–

Deploying a Ruby on Rails application: an example

Suppose you have a Ruby on Rails application in /somewhere. Add a server block
to your Nginx configuration file, set its root to /somewhere/public, and set
‘passenger_enabled on’, like this:

server {
listen 80;
server_name www.yourhost.com;
root /somewhere/public;   # <— be sure to point to ‘public’!
passenger_enabled on;
}

And that’s it! You may also want to check the Users Guide for security and
optimization tips and other useful information:

/usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.9/doc/Users guide Nginx.html

Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)

http://www.modrails.com/

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.


ruTorrent RSS Plugin Sample Regex Expressions

Example on Wiki Page

I was viewing the documentation of the PluginRSS wiki page, and I felt it did not provide adequate example use cases. In fact anyone who writes regular expressions will realize that the example is “incorrect”. The regular expression “/History.Channel.*/i” will match

  • History.Channel
  • HistoryYChannel
  • History8Channel
  • etc..

The correct regular expression would be “/History\.Channel.*/i”, because you would need to cancel out a literal dot character. Anyways here are a couple regular expressions that I currently use.

Regular expressions of properly titled scene released television episodes

  • /30\.Rock\.S05E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /90210\.S03E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Big\.Bang\.Theory\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Californication\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Community\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Dirty\.Jobs\.S08E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Family\.Guy\.S08E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Glee\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Gossip\.Girl\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /How\.I\.Met\.Your\.Mother\.S06E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /House\.S07E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Modern\.Family\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Cleveland\.Show\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Office(\.US)?\.S07E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Simpsons\.S22E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Tosh\.0\.S03E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i

Just as  side note, you do not have to use the “anything” expression to finish the line.


Xmoto Themes Sreenshots

Here ill save you the effort of “restarting” the game, just to see what the other themes look like. .I took a screen shot of the each rider in each theme. I can’t believe this stuff isn’t provided on the official website Xmoto. Personally, the Mandi theme is my favorite, then Armageddon, cause you know,  you can’t hate on a banana riding a ATV.


  • Sponsors

  • Twitter Feed

  • Comments

  • Copyright © 2009-2011 SK3TCHY. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress