Posts

Cron a Django Program

…  cron and this file would do the rest. [python] import os, sys, re top_level_rx = re.compile(r’^(/|[a-zA-Z]:\\)$’) def …  = __import__(‘settings’, {}, {}, ['']) sys.path.pop() break except ImportError: settings_module = None # have we reached the top-level …

Ontology Linked Data

…  catalogs; has services for individual recommendations; supports tagging and traditional subject headings; and supports the needs of the community. The Characteristics of Web 2.0 are: rich user …

Important MySQL DBA Interview Questions

…  or store data. What are the Referential actions supported by FOREIGN KEY integrity constraint? – UPDATE and DELETE Restrict – A …

Installing Django on Dreamhost

…  –enable-unicode=ucs4 make make install export PATH=~/bin:$PATH [/bash] Done! Python should be installed on your home …  pages. On the panel configure your site for “Fast CGI Support?” found under (Domains->Manage Domains)-(yourdomain.com->Edit)->PHP Support Download the fcgi.py, placing it somewhere in your PYTHONPATH: [bash] …

Automatic Command Archive

…  variable using the following command [bash]export HISTFILESIZE=1000[/bash] But this will last only till that terminal is …

BSNL Dataone Auto Downloader

…  in ACPI or it gets reseted. This function needs Bios Support and I feel most bios supports this feature. The method to do this depends on your kernel version. So …

Microsoft Servers in Linux

…  resolves to 2 IPs. Using 125.252.226.80. Interesting ports on 125.252.226.80: Not shown: 1665 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp filtered …

Automatic Desktop Wallpaper Changer for Linux

…  #your username here export DBUS_SESSION=$(grep -v "^#" …