12 Mar'12
Disable ActiveX warning for local web pages in Internet Explorer 9
Go to Internet options and switch to tab Advanced:
 
Category: tweaks, windows
                        
                    
                    
                12 Mar'12
Restore Ubuntu GRUB after Windows 8 installation
Use this package to recover: https://help.ubuntu.com/community/Boot-Repair
Category: linux
                        
                    
                    
                11 Mar'12
Django soft image thumbnail replacement
Using new template tag, you’re now free to cache images before rolling out new design and avoid heavy load (maybe via random call)!
https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#with
<img src="{{img.url|thumb:"500x500"%}" />
{% if rand % 10 }
{with newthumb=img.newthumb %}}
or <!-- {{img.url|thumb:"500x580"%} -->
{% endif %}
                    
                    
                    
                    Category: django
                        
                    
                    
                08 Feb'12
Nonblocking console input in Python
By Nemesis Fixx:
import sys
import select
import tty
import termios
from threading import Thread
program_run = True
input_thread_timeout = 0.005 #seconds
quit_key = '\x1b' # x1b is ESC
#check stdin for input...
def isData():
        return select.select([sys.stdin], [], [], 0) == ([sys.stdin], [], [])
#check n terminate program on terminal condition,
#from a separate thread
class waitOnInput(Thread):
    def run(self):
        old_settings = termios.tcgetattr(sys.stdin)
        try:
            tty.setcbreak(sys.stdin.fileno())
            global program_run
            thread_run = True
            while thread_run:
                if isData():
                    c = sys.stdin.read(1)
                    if c == quit_key:
                        break
                        thread_run = False
                        program_run = False
        finally:
            termios.tcsetattr(sys.stdin, termios.TCSADRAIN, old_settings)
            thread_run = False
t …Category: python
                        
                    
                    
                07 Feb'12
DAA
DAA is a PowerISO type of image. To mount it with Daemon Tools, use DAA 2 ISO tool first
Category: tweaks, windows
                        
                    
                    
                28 Jan'12
Make Powershell and Python friends
Problem: when python script is invoked inside powershell shell, cmd window gets open, output is done inside cmd and then it closes.
Solution: inside %USER%\WindowsPowershell\profile.ps1
function django-admin {python (gcm django-admin.py | resolve-path) $args}
function manage {python (gcm .\manage.py | resolve-path) $args}
                    
                    
                    
                    Category: windows, windows server
                        
                    
                    
                05 Jan'12
Widget problem on Android
If you expect the widget, and it’s missing in the list, move the app to the phone memory.
Category: tumblr