http://digitalpbk.com/drupal/remove-flash-tracking-addthis-module-drupal-5
tracking can be disabled. In drupal 5 the tracking can be disabled by adding the following
line of code to
addthis.module
addthis_disable_flash = true; to the function _addthis_create_button so that the function is as shown below
function _addthis_create_button($node=NULL, $teaser = FALSE) {
global $addthis_counter;
$addthis_counter++;
if ($addthis_counter == 1) {
drupal_add_css((drupal_get_path('module', 'addthis') .'/addthis.css'));
drupal_add_js(sprintf(' ...
Published 2 years, 6 months ago
http://digitalpbk.com/perl/solve-netmysql-hang-problem-if-database-result-has-only-1-row-or-empty
. If the result set is having just one row MySQL returns FE 00 00 02 00. The function on Net::MySQL package checks for end of packet and fails to find if the result set has only 1 row.
#
Line 460
sub _has_next_packet
{
my $self = shift;
return substr($_[0], -5) ne "\xfe\0\0\x22\x00";
}
Thus the Perl module loops back and waits for more data from the server, thus the blocking socket call to recv
makes the script hang.
Solve Net::MySQL Hanging Problem
In order to solve this problem use ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2009/04/jwgkvsqvmx-conficker-virus-manual.html
"zbtthjd")Now goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\zbtthjd\Parameters, note the ServiceDLL Parameter, It would be something like c:\windows\system32\.dllTake a
Command prompt and runsvchost -k netsvcs. This should stop the netsvcs and the virus.Try deleting the DLL file or else rename the DLL file to something elseRestart the System.Renable Services Automatic Updates and BITS.Note if you find these methods not applicable in your case, the virus must have morphed to some other form ...
Published 3 years, 1 month ago
http://digitalpbk.blogspot.com/2006/12/drag-n-drop-files-from-explorer-to-vb.html
Val hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, _ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As LongPrivate Sub
Command1_Click() ShellExecute Me.hwnd, "", "http://digitalpbk.blogspot.com", "", "", 1End SubPrivate Sub Form_Load() EnableDragDrop Me.hwndEnd SubPublic Sub GotADrop(ByVal strfile As String) Label1.Caption = strfileEnd SubPrivate Sub Form_Unload(Cancel As Integer) Disable ...
Published 5 years, 5 months ago
http://digitalpbk.blogspot.com/2006/11/how-to-make-more-fans-on-orkut.html
} img.src="http://images3.orkut.com/img/"+prefix+typeIndex+".gif"; } } currentKarmaLevels[mapIndex] = newLevel; //do the AJAX karma call var request = "/setKarma?cat="+typeIndex+"&val;="+newLevel+"&gid;="+linkId; sendRequest(request);}Leave the crap and focus on the
line given in bold.The request variable evaluates to "/setKarma?cat=0&val;=1&gid;=FRUS0012345678/US00987654321". Next the request is sent as a GET request via ajax...Now visit the url ...
Published 5 years, 6 months ago
http://digitalpbk.com/virus/gumblar-web-virus-manual-removal-free-tool
Gumblar Virus Javascript removal using PERL
Gumblar virus infects all .html and .php files and injects a piece of javascript in the source code. The code is usually found just below the <body> tag. The Javascript code Gumblar injects varies widely and usually attaches a script or inline frame inside your page to execute itself on page load. Read on to get rid of this virus.
Gumblar Source Code Samples when delimited by new
lines
Sample 1
var D;
if(D!='' ...
Published 2 years, 1 month ago