This file contains hidden or 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
| #!/usr/bin/env python | |
| # | |
| # Check if a website is loading and contains a nominated string. | |
| # | |
| # Usage: | |
| # site-up.py http://example.com/ 'text to search for' | |
| # | |
This file contains hidden or 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 | |
| # | |
| # Add all of your Drupal nodes to the search index. | |
| # | |
| # NOTE: | |
| # * This should work when you have around 10 000 nodes. | |
| # * I assume you have set search to add 500 nodes per cron run. | |
| # * There are better ways of doing this, but it does the job. | |
| # |
NewerOlder