<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Extractions from non-ending guessing</title>
	<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php" />
	<modified>2010-03-09T17:15:04Z</modified>
	<author>
		<name>Julia Shevchenko</name>
	</author>
	<copyright>Copyright 2010, Julia Shevchenko</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.8">SPHPBLOG</generator>
	<entry>
		<title>Drupal: The directory sites/default/files is not writable</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry090729-030347" />
		<content type="text/html" mode="escaped"><![CDATA[If the usual permission change doesn&#039;t work you can try the following:<br /><br /># /usr/bin/chcon -R -t httpd_user_content_t ./files<br /># chown apache:apache ./files/<br /># chmod g+w files<br /><br /><br /><img src="images/drupal.jpg" width="88" height="98" border="0" alt="" /> ]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry090729-030347</id>
		<issued>2009-07-29T00:00:00Z</issued>
		<modified>2009-07-29T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Filling Acrobat 8 PDF Form With PDFTK Leaves Fields Empty </title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry080807-052625" />
		<content type="text/html" mode="escaped"><![CDATA[Fields are empty because field names in the FDF file are probably specified incorrectly.<br /><br />Just run the following:<br /><br /> <i># pdftk your_form.pdf dump_data_fields &gt; form.pdf.fields</i> <br /><br />Look in the form.pdf.fields and the names might show up as:  <i>topmostSubform[0].Page1[0].my_field_name[0] </i>  <br /><br />Hence in the FDF file it should look like:<br /><br /> <i>...  &lt;&lt; /T (topmostSubform[0].Page1[0].my_field_name[0]) /V (some field text here yay) ...</i> <br /><br /><br /><img src="images/pdftk.jpg" width="104" height="41" border="0" alt="" /> <br /><br />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry080807-052625</id>
		<issued>2008-08-07T00:00:00Z</issued>
		<modified>2008-08-07T00:00:00Z</modified>
	</entry>
	<entry>
		<title>DokuWiki: Delete a Namespace</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry080509-043048" />
		<content type="text/html" mode="escaped"><![CDATA[In a generic case once all pages removed from a namespace it will be automatically deleted.<br /><br />However, if you still see it in the list just run this cleanup script and it will take care of the problem:<br /><br />#!/bin/sh<br /> <br /># set the path to your DokuWiki installation here<br />DOKUWIKI=/path/to/your/wiki<br /> <br /># purge files older than 30 days from the attic<br />find $DOKUWIKI/data/attic/ -type f -mtime +30 -exec rm -f {} \;<br /> <br /># remove stale lock files<br />find $DOKUWIKI/data/pages/ -name &#039;*.lock&#039; -type f -mtime +1 -exec rm -f {} \;<br /> <br /># remove empty directories<br />find $DOKUWIKI/data/pages/ -depth -type d -empty -exec rmdir {} \;<br /><br /><br /><img src="images/dokuwiki.jpg" width="91" height="91" border="0" alt="" /> ]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry080509-043048</id>
		<issued>2008-05-09T00:00:00Z</issued>
		<modified>2008-05-09T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Netgear SC101 Review - Bad, Bad.... Such Waste Of Money</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry080428-233428" />
		<content type="text/html" mode="escaped"><![CDATA[Netgear SC101 is easily the worst thing I ever bought. First, it broke right out of the box. Netgear replaced it. Unfortunately it hardly made it more usable. The utility that connects the device to Windows constantly fails. The thing is hot as an iron. It crossed my mind to sell it on ebay but I decided against it since I feel bad passing this piece of junk to another person. <br /><br /><img src="images/netgear.jpg" width="111" height="115" border="0" alt="" /> ]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry080428-233428</id>
		<issued>2008-04-29T00:00:00Z</issued>
		<modified>2008-04-29T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Drupal 5x :: Sort Node Attachments Alphabetically</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry080415-155408" />
		<content type="text/html" mode="escaped"><![CDATA[You need to patch the upload module:<br /><br />modules/upload/upload.module <br /><br /> Line 848<br /><br />(old): $result = db_query(&#039;SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY f.fid&#039;, $node-&gt;vid);<br /><br /><br />(new): $result = db_query(&#039;SELECT * FROM {files} f INNER JOIN {file_revisions} r ON f.fid = r.fid WHERE r.vid = %d ORDER BY LOWER(f.filename)&#039;, $node-&gt;vid);<br /><br /><br /><img src="images/drupal.jpg" width="88" height="98" border="0" alt="" /> ]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry080415-155408</id>
		<issued>2008-04-15T00:00:00Z</issued>
		<modified>2008-04-15T00:00:00Z</modified>
	</entry>
	<entry>
		<title>MySQL :: #1075 - Incorrect table definition; There can only be one auto column and it must be defined as a key</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry071015-030621" />
		<content type="text/html" mode="escaped"><![CDATA[When you get a message like that it might mean you have no primary key defined. As in my case I created a table as SELECT from another table and tried to set auto increment on its id column.<br /><br />Just run the following:<br /><br />ALTER your_table DROP PRIMARY KEY, ADD PRIMARY KEY (&#039;some_table_column&#039;);<br /><br />It should do the trick...<br /><br /><br /><img src="images/mysql.jpg" width="135" height="89" border="0" alt="" /> <br /><br /><br />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry071015-030621</id>
		<issued>2007-10-15T00:00:00Z</issued>
		<modified>2007-10-15T00:00:00Z</modified>
	</entry>
	<entry>
		<title>&amp;quot;STOP: 0x00000024&amp;quot;.  How I Recovered Data from My Corrupted Laptop Hard Drive.</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry070827-203149" />
		<content type="text/html" mode="escaped"><![CDATA[I am still not that sure what caused persistent crashes of my Dell notebook.<br />Files were getting randomly corrupted. Sometimes they were recovered by check disk utility, sometimes they we gone for good.<br /><br />One sunny day it went pretty bad and all that appeared was a blue screen on boot.<br /><br />&quot;STOP: 0x00000024(0x00190203,0x82FE51C8,0xC0000102,0x00000000)&quot;<br /><br />It was obvious that it was the problem with the hard drive. Some tools I ran couldn&#039;t see any partitions and displayed existing format as RAW.<br /><br />After trying a few things I managed to save pretty much all data minus some files here and there which were corrupted too baldy.<br /><br />Here is what I did:<br /><br />- Using your windows installation CD get to Windows Recovery Console.<br /><br />Here you can find some info on how to get there and how to use it: <a href="http://support.microsoft.com/kb/314058" target="_blank" >http://support.microsoft.com/kb/314058</a><br /><br />You can get Windows distribution from <a href="http://en.wikipedia.org/wiki/BitTorrent" target="_blank" >Torrent</a>. You won&#039;t need an activation key so pretty much any Windows Installation will do.<br /><br />Once you are in Windows Recovery  Console Prompt run the check disk utility as: chkdsk /r<br /><br />Few hours of waiting and hopefully it will do the job.<br /><br />You can try to boot windows again. If you are lucky and none of system files were corrupted, you&#039;ll be able to use your laptop again.<br /><br />In my case windows was hopelessly screwed and here a solution to go around that:<br /><br />- Download <a href="http://www.nu2.nu/pebuilder/" target="_blank" > Bart&#039;s Preinstalled Environment (BartPE)</a> This is a very useful tool which saved me more than one time during last several years.<br /><br />Follow instructions from that site on how to create bootable CD<br /><br />- Attach external drive via USB to your machine.<br /><br />- Boot your computer from BartPE. <br /><br />- Launch BartPE with A43 File Manager and make sure you can see your harddrive there with all its partitions and data.<br /><br />- Make sure you can see your external USB HD there too.<br /><br />- Copy all your data to the external hard drive.<br /><br />- <a href="http://www.nu2.nu/pebuilder/" target="_blank" >Donate</a> a few bucks to the PE Builder creator.<br /><br />- Frolic!<br /><br />Well, if that scenario didn&#039;t work and your hard drive is seriously damaged you might try some other tools that can resurrect the data.<br /><br />I tried to use a commercial app <a href="http://www.uneraser.com/" target="_blank" >Uneraser</a>. It might help, I saw people praising it in forums.<br /><br />Honestly, I had rather unpleasant experience. I created bootable CD and it kept hanging and initially I blamed it on limitations of the Demo version. Buying a license didn&#039;t change anything. My message to the tech support was &quot;politely&quot; ignored....<br /><br />Still, when disaster strikes, it is better to try all available solutions...<br /><br />Good luck.<br /><br /><img src="/images/bluescreen.jpg" border="0" alt="" /><br /><br />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry070827-203149</id>
		<issued>2007-08-28T00:00:00Z</issued>
		<modified>2007-08-28T00:00:00Z</modified>
	</entry>
	<entry>
		<title>&amp;quot;Run a DLL as an App has encountered a problem and needs to close&amp;quot;</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry070715-012714" />
		<content type="text/html" mode="escaped"><![CDATA[This is a problem that is caused by some sort of issues in Windows registry. My guess that is can be caused by some missing DLLs after applications uninstalled or deleted.<br /><br />In my case the problem was fixed after I cleaned up Startup programs with  <a href="http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Autoruns.mspx" target="_blank" >Autoruns </a>  utility from  <a href="http://www.microsoft.com/technet/sysinternals/default.mspx" target="_blank" >Sysinternals</a>.<br /><br />Just remove those entries that say File not found.<br /><br /><img src="/images/winerror.jpg" border="0" alt="" /> <br />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry070715-012714</id>
		<issued>2007-07-15T00:00:00Z</issued>
		<modified>2007-07-15T00:00:00Z</modified>
	</entry>
	<entry>
		<title>MS Money doesn&amp;#039;t recognize password</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry070714-033632" />
		<content type="text/html" mode="escaped"><![CDATA[It happened to me number of times... I start Microsoft Money as usual and it informs me that my password is incorrect. Several times I followed my natural reaction and used &quot;Forgot Password&quot; feature. However, my password was right and I actually knew I didn&#039;t change it.<br /><br />The actual reason was some problem on the server. If you try connecting without using online services it will let you in just fine.<br /><br />When your login fails and you know nobody changed it. Just give it about an hour or so.<br />Most probably everything will get fixed on its own.<br /><br />Do not attempt to change your password since you may run into different problems if your passwords mismatch locally and on the MS Money server.<br /><br /><img src="images/msmoney.jpg" width="107" height="129" border="0" alt="" />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry070714-033632</id>
		<issued>2007-07-14T00:00:00Z</issued>
		<modified>2007-07-14T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Free Fonts</title>
		<link rel="alternate" type="text/html" href="http://www.jaythinker.com/index.php?entry=entry070427-000850" />
		<content type="text/html" mode="escaped"><![CDATA[Here is a <a href="http://www.allfontz.com/" target="_blank" >good site</a>  that can help your search for popular Web 2.0 fonts.<br /><br /> <img src="/images/fonts.jpg" border="0" alt="" /> <br /><br /><br />Update:<br /><br /><a href="http://www.fontcenter.com/" target="_blank" >One more site with free quiality fonts.</a> <br />]]></content>
		<id>http://www.jaythinker.com/index.php?entry=entry070427-000850</id>
		<issued>2007-04-27T00:00:00Z</issued>
		<modified>2007-04-27T00:00:00Z</modified>
	</entry>
</feed>
