Add to Facebook Block for Drupal

Submitted by Anonymous (not verified) on Tue, 04/20/2010 - 11:41

I know there are many modules like "service links" or social bookmarking services like addthis/sharethis etc. but I just want to have a small block on top-right side for my users with a facebook account.




<?php
$fb_title
= drupal_get_title();
$fb_url = "http://".$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI];

$fb_url = rawurlencode($fb_url);
$fb_title = rawurlencode($fb_title);

$fb_url = "http://www.facebook.com/sharer.php?u=$fb_url&t=$fb_title";

echo <<<hrd

Share this page on <a href="
$fb_url"><b>Facebook!</b></a>

hrd;
?>

abcdefghijklmnopqrstuvwxyz

Submitted by Anonymous (not verified) on Tue, 04/13/2010 - 11:35

Sometimes we need a quick list for some pages navigation elements etc. For examples authors-name starting with... or page title starting with blabla. Or when searching for a domain name ie: including news and starting with any lettter: anews.com, bnews, cnews, 1news, 7news, etc,...

Here is a quicklist for your applications:

All Letters and Numbers of Alphabet:

0123456789abcdefghijklmnopqrstuvwxyz

Just letters:

abcdefghijklmnopqrstuvwxyz

UPPERCASED:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Server Crash - "isc_socket_create: fcntl/reserved: Too many open files" [Howto Fix]

Submitted by rex on Fri, 04/09/2010 - 16:47

A Debian has been crashed and I should found how it happened.

Memory, Swap and Harddisk wasn't full, but the Server was unreachable, no ssh, ftp, http, ping...

After a hardware reset I have analysed the log files.

The crash was 22:45 offline and I want to analyse log entries between 22:40 and 22:50 and greped them


cat syslog.2 |grep '22:4'
...
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files
Apr 2 22:41:12 USER named[3493]: isc_socket_create: fcntl/reserved: Too many open files

Yahoo Mail Plus + Pop and Mozilla Thunderbird emptied my Inbox, need restore

Submitted by Anonymous (not verified) on Sun, 04/04/2010 - 05:14

Hello,

I am using Yahoo web Mail for more than 10 years. Tonight I have upgraded to Yahoo Mail Plus and wanted to test Pop Mail with Mozilla Thunderbird. After receiving all Email from Inbox I wanted to use Yahoo web mail but Im shocked: Because there was no email in my inbox.

And Thunderbird downloaded just from Inbox, nothing from other folders.

I have searched for a setting like "keep/delete email on server after receiving pop mail" but no such setting found on thunderbird and yahoo mail pop settings.

I still want to use yahoo web mail, how can I restore my inbox?