Wednesday, December 22, 2010
Private sidewiki?
I was wondering if there's something like a private 'google sidewiki' in which the entries are not actually published but are synced with your account and the notes/anecdotes are shown the next time 'you' visit that page. Some Firefox/Chrome plugins do give that support but the problem is localization of your information. All your notes etc. on webpages are visible only on the browser and not available elsewhere.
Tuesday, November 30, 2010
Device Set Up Instructions: Nokia 6300
To set up Google Sync on a Nokia 6300 phone, please follow these steps:
http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=98265
http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=98265
Wednesday, October 6, 2010
C:/Windows/Installer directory overflowing bug?
DISCLAIMER: I accept no liability for the content of this post, or for the consequences of any actions taken on the basis of the information provided. Use this solution at your own risk. This is a solution which worked on my system and may / may not work on others.
Hi all. Recently was bugged by the problem of my C: getting used up erratically. Everyday i'd remove some application and free space and lo! Next morning again <20MB space left on this drive.
I used the following tool to figure out the problem:
Free Disk Analyzer from http://www.extensoft.com/
Saw that the folder C:/Windows/Installer took up almost 80% of the space!
Initially thought of deleting several files at random but then read in forums that this approach is definitely not advisable. In many forums I was redirected to this page: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 but as it says, they've removed the installer from here. This utility, however, can still be download from http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html. INSTALL IT. Do not go and run this utility from its GUI since it doesn't give the option of removing only 'orphaned' installer packages - which is what we want to do. So, fire your command prompt, cd to C:\Program Files\Windows Installer Clean Up and run : msizap g!
PS: Cleaned up 16GB of space in 10 sec!
Hi all. Recently was bugged by the problem of my C: getting used up erratically. Everyday i'd remove some application and free space and lo! Next morning again <20MB space left on this drive.
I used the following tool to figure out the problem:
Free Disk Analyzer from http://www.extensoft.com/
Saw that the folder C:/Windows/Installer took up almost 80% of the space!
Initially thought of deleting several files at random but then read in forums that this approach is definitely not advisable. In many forums I was redirected to this page: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 but as it says, they've removed the installer from here. This utility, however, can still be download from http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html. INSTALL IT. Do not go and run this utility from its GUI since it doesn't give the option of removing only 'orphaned' installer packages - which is what we want to do. So, fire your command prompt, cd to C:\Program Files\Windows Installer Clean Up and run : msizap g!
PS: Cleaned up 16GB of space in 10 sec!
Tuesday, July 27, 2010
Merge Sort with Python
Here's a code for merge sort in Python. Drop in suggestions for a more optimized code. ..
def merge_sort(array):
if len(array)==1:
return array
elif len(array)==2:
if array[0]>array[1]:
return array
else:
return [array[1],array[0]]
else:
return merge(merge_sort(array[0:int(len(array)/2)]),merge_sort(array[int(len(array)/2):len(array)]))
def merge(array1,array2):
p1=0
p2=0
ans=[]
for i in range(len(array1)+len(array2)):
if p1!=len(array1) and p2!=len(array2):
if array1[p1]>array2[p2]:
ans.append(array1[p1])
p1=p1+1
else:
ans.append(array2[p2])
p2=p2+1
elif p1==len(array1):
ans.append(array2[p2])
p2=p2+1
elif p2==len(array2):
ans.append(array1[p1])
p1=p1+1
return ans
Subscribe to:
Posts (Atom)