admin's blog

Twitter Module Breaks if you don't upgrade to OAuth 6.x-3.0

I just sorted out the newest version of the Drupal Twitter module (https://drupal.org/project/twitter) - it was broken somewhere around December by an upgrade that pushed the version required of the Drupal OAuth Module http://drupal.org/project/oauth up to the newer OAuth 6.x-3.0-beta4
There is also now a required module ADDED called "Autoload" (Currently Version 6.x-2.1 - http://drupal.org/project/autoload) that was not required prior to this. Read more »

.bashrc functions to do repetitive tasks

A cool thing to do if you find yourself doing something LOTs of times:

Edit your ".bashrc" (in your home directory)
and create your personalised script as follows:

wch()
{
sudo chmod 774 $1 $2 $3 $4;
sudo chown www-data.www-data $1 $2 $3 $4;
}

Then you can execute the command "wch" with parameters to execute the commands you want. Very cool...

Using ImageCache and positioning in node output (Drupal)

See "Joe's" comment here: http://drupal.org/node/139915

Go to [Content management] > [Content types] > [Manage fields] and make sure yiour image field is LIGHTER than [body] eg -2
this will force the image above your teaser but not yet inline

then go to modules > system > defaults.css

and add

.field-type-image img {
float: right;
margin-left: 1em;
border: 0px solid red;
}

Note: my CCK image field is called "image" and I choose to float it right, adjust yours to suit your tastes.

how to build a DRUPAL Ubuntu Server from scratch

Fantastic writeup of how to build a DRUPAL Ubuntu Server from scratch:
http://2bits.com/articles/installing-a-dedicated-server-or-a-vps-with-ub...

Besides its success on the desktop, Ubuntu has become a popular server distribution as well. With the release of Hardy Heron 8.04, Canonical is making this release a Long Term Support (LTS) version, with 5 years support on servers. Read more »

CSS Layout

Standard Content Elements

Heading Levels

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Paragraphs

Emergency repair options for XP/2000

From: http://www.windowsnetworking.com/articles_tutorials/Troubleshooting-Star...

Troubleshooting is merely the methodical application of common sense and technical knowledge to the inevitable problems that crop up in a fallen world. If common sense can be codified (and perhaps it can with AI) then it starts with answers to simple questions like: Why? How? What? Read more »

Linux backup options

I myself use this low-level-we-need-the-command-line-for-this method:
http://linuxmint.com/forum/viewtopic.php?t=3969

Or:
Take a look here .... the backup tool they discuss there is called "hubackup" and you can install it via "Synaptic":
https://wiki.ubuntu.com/HomeUserBackup

http://ubuntuforums.org/showthread.p...89#post3795689

HP Supported Linux for Servers

HP Linux Support Documentation

HP.com home

HP DL380 Linux Drivers

HP Proliant DL380 G3, HP diagnostic/configuration tools Well.. I was surfing around trying to figure out an easy way to configure and diagnose the SCSI Smart Array 5i Plus that came with my server. It turns out HP does include some software for Debian which might be useful for us. For the sake of making these files public so that more people (who are much better at this than myself) can use and try these files out, here is a list of what I have found. Please if you find any use of these files, post up some information for others.

ENTERASYS teams up with SIEMENS

Recent news re: Enterasys Networks - they have for many years been in discussions with Siemens regarding joint ventures...

This seems to be a good thing for all concerned.
Press release from the Enterasys website:

Munich, Germany -- Oct 1, 2008 Read more »

Syndicate content