Cribsheets

How to run Drupal cron maintenance tasks under Mosso hosting

Update: Mosso was rebranded as The Rackspace Cloud in June 2009.

Update 1 Jan 2010: It looks like Rackspace has fixed the problem with Mosso's Scheduled Tasks. Anonymous' comment tipped me off that you can now set the command language to http, then enter your site's cron.php as the command to run.

Network command line cheat sheet

Cheat sheet from nixCraft.


You can also use commands to change settings. Please note that these settings are temporary and not the permanent. Use above method to make network changes permanent or GUI tool as described below.

Ruby cheat sheet

A Ruby cheat sheet is available as a PNG or PDF.

Repository for code snippets

"Programming is Hard is a public repository for links and code snippets. Use this site to build up your own collection of code snippets, or to give back to everyone."

The site includes code snippets for:

  • C++
  • PHP
  • Ruby

Web Application Cheatsheet

"A handy cheatsheet which points out web application vulnerabilities that should be checked during a penetration test assignment."

http://www.secguru.com/web_application_cheatsheet_version_2

Subversion crib sheet

Creating the repository

Create the repository:

#sudo svnadmin create /usr/local/svn/newrepos

Don't forget to set the appropriate permissions for your organisation. For example, read, write and execute access for the development group, no accesses for "world". Alternatively, you can create an subversion user and set the umask

#sudo svn import mytree file:///usr/local/svn/newrepos/some/project \
    -m "Initial import"

http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.reposadmin.projects.chooselayout
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.tour.other.import
http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.svnserve.sshauth

Network and system analysis crib sheet

This crib sheet contains common commands I can use to analyse the network on Unix-like systems.

Network Interface

Check the available network interfaces
Use the Network Utility under /Applications/Utilities and select the Info tab (Mac OS X).

Syndicate content