03 Jan, 2011
Error getting mechanize
Articles related to error getting mechanize
http://digitalpbk.blogspot.com/2009/01/code-libjpeg-converting-jpeg-to-bmp.html
PerLine = width * 3; /* (for 24 bit images) */ /* round up to a dword boundary */ if (bytesPerLine & 0x0003) { bytesPerLine |= 0x0003; ++bytesPerLine; } bh.filesize=bh.headersize+(long)bytesPerLine*bh.depth; FILE * bmpfile; printf("Bytes per line : %d\n", bytesPerLine); bmpfile = fopen(filename, "wb"); if (bmpfile == NULL) {
printf("Error opening output file\n"); /* -- close all open files and free any allocated memory -- */ exit (1 ...
Published 3 years ago
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, 3 months ago
http://digitalpbk.blogspot.com/2007/06/get-anyones-email-id-on-orkut.html
Get anyones eMail ID on ORKUT
IntroYes you can
get anyone's email ID who is on Orkut. This is a serious security hole and violates many privacy statements. You can actually
get anyone's email ID on orkut.How?Goto the persons orkut Profile page.Click the ignore user link.Sign into Google Talk using the google talk client provided by googleClick on Settings near the top of the main google talk window.On the list click BlockedAnd there you will have the person's email IDThats allI hope ...
Published 4 years, 8 months ago
http://digitalpbk.blogspot.com/2008/04/0x80070002-problem-is-preventing.html
0x80070002-A problem is preventing Windows from accurately checking the license for this computer
A problem is preventing Windows from accurately checking the license for this computer.
Error Code: 0x80070002When Windows XP boots up, after the Welcome Screen a message comes that shows the above message, and it does not allow you to login.Solution!Boot into SafemodePress F8 While booting just after the BIOS screen or during the OS Selection menu.Then do the following in the command promt ...
Published 3 years, 9 months ago
http://digitalpbk.blogspot.com/2007/10/disable-autorun-windows-xp.html
Disable Autorun Windows XP
Do this very important!!Most viruses uses the autorun.inf to
get itself infected on your computer. Autorun.inf is a small file that instructs the windows os to do when the CD is inserted into the computer. In genuine cases , it runs a setup in case of a Software Installation Disc. In the other case it may run a virus and
gets your system infected. All you got to do to
get the virus is put the CD. Same is the case for Mass Storage Devices like Memory Sticks, Pen Drives ...
Published 4 years, 3 months ago
http://digitalpbk.blogspot.com/2008/07/fix-server-not-found-dns-problem.html
Server Not Found, Fix DNS Problems.
Sometimes wierd things happen,Server Not Found www.google.comOr you can
get www.kitiyo.com but not rgb.kitiyo.comOr you cannot
get www.somesite.com but your friend can!Silly DNS Problems.When we browser and enter a url in the browser's address bar, one of the first step is to resolve the domain name. ie convert the www.server-name.com to the IP address.If our dns server settings are wrong or if the dns server does not respond, we
get the familiar ...
Published 3 years, 6 months ago
http://digitalpbk.blogspot.com/2006/12/xss-part-2-cookie-stealing-and.html
is used to manage sessions in browsers. Each person logged in
gets a unique cookie, it is like a key to the site. So if you can
get hold of this cookie, you have the key to enter the site. The site will welcome as the person from whom you stealed the cookie. Now let us look how to grab the cookie using cross site scripting. For cookie stealing there must be an xss hole which can be injected through the url of the page like the one on propmart.com we discussed in first part.
Getting a cookie ...
Published 5 years, 1 month ago
http://digitalpbk.com/php/file_get_contents-garbled-gzip-encoding-website-scraping
PHP file_
get_contents giving garbled output
Are you
getting garbled values when using file_
get_contents fetching an external URL (website scrapping using php) and wondering what went wrong ? The content is appearing to have wierd characters instead of normal HTML output because of GZIP output encoding by the website you are fetching.
You can fix this issue in multiple ways.
Method 1 : Accept-Encoding
In this method we set the request headers so that the webserver is forced to respond ...
Published 1 year, 11 months ago
http://digitalpbk.com/django/django-social-auth-fix-google-open-id-email
,
"alias": "email"}]
The other change is in the code which reads the openid parameters when login completes in socialauth/auth_backends.py.
Here is the complete openid authentication backend code with the fix.
class OpenIdBackend:
def authenticate(self, openid_key, request, provider):
try:
assoc = UserAssociation.objects.
get(openid_key = openid_key)
return assoc.user
except UserAssociation.DoesNotExist:
#fetch if openid provider ...
Published 1 year, 9 months ago
http://digitalpbk.blogspot.com/2009/08/facebook-auth-next-parameter-ie.html
.phpfacebook-platform/php/facebook.phpChange the following linespublic function require_login() { if ($user =
$this->get_loggedin_user()) { return $user; }
$this->redirect($this->get_login_url(self::current_url(), $this->in_frame())); }to public function require_login() { if ($user =
$this->get_loggedin_user()) { return $user; }
$this->redirect($this->get_login_url('', $this->in_frame())); }The change is to remove the next parameter from the
$this->get_login_url Call from within require ...
Published 2 years, 5 months ago
Related help topics for error getting mechanize
More keywords like error getting mechanize
More pages for error getting mechanize