- Login to Godaddy Control Panel
- Click on My Account
- Click on Hosting
- This page will display active domains that are hosted within that Godaddy hosting space
- Click on Manage (on whichever domain you want to deploy Ruby on Rails application/project)
- In the hosting manager click on CGI-Admin under Content section
- Login to CGI-Admin using your hosting account user name and password
- From Ruby tab create your Ruby/Ruby on Rails application directory
- Above step will create a folder under hosting space and one .htaccess file under that folder
- Edit .htaccess file and change the file from despatch.cgi to despatch.fcgi
- Open a FTP client
- Download their demo application
- Create our controller, model, view in that demo application using ruby script generator
- Check it locally
- Upload the whole application (along with the rails distribution in the vendor folder) to the folder that created from CGI-Admin
- From browser the path will be http://www.mysite.com/<myapplication-folder>/public/<controller>/<action>
Creating Backup Schedule in RHEL 5
Creating Backup Schedule in RHEL 5:
- Open Putty
- Login to the server (entering server IP)
- Login to server using user name and password from the Putty SSH Console
- To create a CRON schedule type:crontab –e <enter>
- VI text editor will open as a blank file for the “crontab entries” to be entered; each line represents a separate crontab entry (hereafter referred to as “CRON JOBS”).
- Each CRON JOB has at least 6 sections. Each section is delimited by a single blank space, but the final section may have spaces within it. No spaces are allowed within Sections 1-5, blank spaces are allowed only between those sections. Sections 1-5 are to indicate when and how often you want the task (the sixth position) to be executed and it uses the system time for execution.
- Here is how positions 1-5 are laid out:
1 Minute 0-59
2 Hour 0-23 (0 = midnight)
3 Day 1-31
4 Month 1-12
5 Weekday 0-6 (0 = Sunday)
An asterisk (*) is used to indicate that every instance (i.e. every hour, every weekday, etc.) of the particular time period will be used.
- Backup script within the crontab entry is
* 14 * * 5 root tar czpvf /home/user/backup-$(date +%Y-%m-%d).tar.gz /opt/lampp
- The CRON is set to 1400 hour (2:00 p.m.) 5th day of week (Friday)
- The command that will execute is
tar czpvf /home/user/backup-$(date +%Y-%m-%d).tar.gz /opt/lamppThis above command will tar the entire content of the directory /opt/lampp and put the tar file into /home/user/
The name of the tar file will be backup-$(date +%Y-%m-%d).tar.gz (backup-YYYY-MM-DD.tar.gz)
Pentago for iPhone
The Award Winning strategic Board game ‘Pentago’ now makes an exclusive addition on the Appstore for your iPhone & iPod Touch devices. With smooth and easy to play touch controls which will make your gameplay immersive and one awesome challenging experience. Play to beat the AI or throw a challenge to a friend on the same device with the ‘Pass n Play’ mode. Track your progress, flip themes, change board styles, and unlock medals. It takes a lot to be unbeaten; Are you up for the challenge? Then go play it for FREE on Facebook.
Web Design Trends
With the arrival of 2010, innovative website design is going to usher in the new look of the websites. The trend doesn’t begin suddenly … there is a gradual shift in ideas and trends that evolve helping the web designers evolve as well.
Following are web design trends for 2010 which mark a different trend view from 2009 :
Over Sized Logos/Headers
Over sized logos with an over sized header is one of the trend that is gaining popularity, and will likely populate many newly designed or redesigned websites in 2010. The main objective behind a huge header is to increase brand recognition and leave a lasting impression on the visitors.
Slab Typefaces
While slab typefaces have been around for quite some time, they are just now gaining important significance in Website design. Slab typefaces are usually all capital letters and are bold and imposing. They go hand in hand with large headers and can help express who you are as a company.
Typography
Typography was a big trend in 2009 and will quite possibly remain so in 2010. Websites utilizing Typography as their main design element may be more interesting to a reader than the same site with a large amount of images.
One Page Layouts
The development of one page layouts in 2010 will focus on personal profiles with a reduced corporate influence. Think online business cards. This Web design will focus on the individual, their blog, social media hangouts, etc.
Huge Images
A huge image is about creating a visual impact that the visitor will not forget, similar to the oversized logo/header. They are designed to draw the visitor further into the Website
Interactive/Intuitive Design
The development of Websites with Flash has come a long way, with the advent of swfobject2.2, sIFR and other Flash technologies that enable it to be more accessible to major search engines. 2010 will see Web designers move towards some of the more redeeming elements of Flash. Since the average visitor is now more Web savvy than in previous years, designers will begin to create sites that are more intuitive and interactive.
Modal Boxes
In 2010, modal boxes are picking up steam. They are similar to a popup but much more engaging and less intrusive. Modal boxes are easy to design and use, making them a great solution for designers due to their ease of usability.
Minimalism
One of the trends Active Web Group sees coming in 2010 are Websites featuring loads of white space, bold typology and different color schemes. Minimalism will showcase some fresh colors that bring forth warmth and websites that are primarily focused in their delivery on information.
Retro
In an attempt to honor vintage art, 2010 will find Web designers turning to retro design. While a site that is done in retro might seem incomplete, the key to a successful retro design should be a focus on an inspirational tone and ‘playfulness’.
Intro Boxes
The attraction towards the development of an intro box on a Website in 2010 is the simplicity of introducing yourself to the visitor instead of struggling with the development of a creative ‘About Us’ page.
Magazine Layouts
The magazine layout in 2010 has come in part due to the migration from the traditional press to online infotainment. The development of a magazine layout gives the visitor all of the information they are seeking on one home page; this gives the visitor the opportunity to view everything quickly and at their convenience.
Article Source:
http://ezinearticles.com/?Latest-Website-Design-Trends-or-2010&id=3559022
HipHop for PHP by Facebook
On 2nd February, 2010 Facebook announced a new project by a small team of Facebook developers who were working on for the past two years; HipHop for PHP. Facebook claims with HipHop they’ve reduced the CPU usage on their Web servers on average by about fifty percent, depending on the page and as well know less CPU means fewer number of servers, which means less overhead for high scale applications. They also claim that this project has had a tremendous impact on Facebook as it helped in reducing the huge overhead of over 400 billion PHP-based page views every month. The Web at large should benefit from HipHop but its in beta phase now so developers will have to accommodate with it before trying it out.
According to Facebook HipHop for PHP isn’t technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP’s runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
PHP belongs to the category of scripting languages and they are known to generally be less efficient when it comes to CPU and memory usage and according to Facebook:
One common way to address these inefficiencies is to rewrite the more complex parts of your PHP application directly in C++ as PHP Extensions. This largely transforms PHP into a glue language between your front end HTML and application logic in C++. From a technical perspective this works well, but drastically reduces the number of engineers who are able to work on your entire application. Learning C++ is only the first step to writing PHP Extensions, the second is understanding the Zend APIs.
Since 2007 we’ve thought about a few different ways to solve these problems and have even tried implementing a few of them. The common suggestion is to just rewrite Facebook in another language, but given the complexity and speed of development of the site this would take some time to accomplish. We’ve rewritten aspects of the Zend Engine — PHP’s internals — and contributed those patches back into the PHP project, but ultimately haven’t seen the sort of performance increases that are needed. HipHop’s benefits are nearly transparent to our development speed.
The project has taken two years: eight months to have a version that could be demonstrated, ten months finishing up all the coding, and six months testing the service on production servers and developers have written 300,000 lines of code and more than 5,000 unit tests.
The whole thing sounds very interesting and I guess it will create a buzz in millions of open sources developers but unfortunately the source code link provided by the HipHop Wiki seems broken but I’ll still follow the instructions and give it a try.
You can also check out Facebook’s video on HipHop for PHP:
Courtesy: HipHop for PHP: Move Fast
- « Previous Page
- 1
- …
- 6
- 7
- 8
- 9
- 10
- Next Page »