Enable php scripts in html
Monday, March 12, 2007
For Godaddy hosting, include the following line in .htaccess file.
AddHandler x-httpd-php5 .htmlThis tells the server to treat all files with extension .html as PHP5 files. So now, you can add any php code to your html pages.
Posted bySeshu Karthick at 1:28 PM 0 comments
Labels: php
Linux Xterm from Windows
Wednesday, March 7, 2007
This shows you how you can access Linux Xterm from Windows using Putty & Cygwin.
Open Cygwin, and execute /usr/X11R6/bin/startxwin.bat. This will start your local X-Server. You may use any other equivalent X-Server too.
Then, open & configure Putty as follows:
Connection > SSH > X11: Check "Enable X11 forwarding"
Thats it! The XTerm is enabled. Open the remote machine prompt using putty.
Tips:
When installing Cygwin for the first time, setup.exe does not install every package. Only the minimal base packages from the cygwin distribution are installed by default. You can add Cygwin/X to your installation by running setup, and selecting the 'xorg-x11-base' package from the 'X11' category.
Helpful resources:
Cygwin/X
Connecting to Linux lab remotely
Posted bySeshu Karthick at 9:52 AM 0 comments
Labels: linux
First Post
Monday, March 5, 2007
Testing my first post... I chose the name "Cognitive Insight" for this blog after some deep thinking. My other options included "Learning tree" and "Concrete Experience".
BTW, below is an excerpt about the learning process.
Bloom's Taxonomy divides the learning process into a six-level hierarchy, where knowledge is the lowest order of cognition and evaluation is the highest:
- Knowledge is the memory of previously-learnt materials such as facts, terms, basic concepts and answers.
- Comprehension is the understanding of facts and ideas by organization, comparison, translation, interpretation, and description.
- Application is the use of new knowledge to solve problems.
- Analysis is the examination and division of information into parts by identifying motives or causes. A person can analyze by making inferences and finding evidence to support generalizations.
- Synthesis is the compilation of information in a new way by combining elements into pattern or proposing alternative solutions.
- Evaluation is the presentation and defense of opinions by making judgments about information, validity of ideas or quality of work based on a set of criteria.
Posted bySeshu Karthick at 3:04 PM 1 comments