Quantcast
Channel: Tutorials – Truelogic Blog
Browsing latest articles
Browse All 11 View Live

How to prevent a user leaving a page with unsaved data

A lot of good websites provide a failsafe check that a user might accidentally leave a page with unsaved data. This is a good thing to have, specially in forms which are long or important. It can be...

View Article


Installing latest PEAR and PHPUnit on Windows 7

For my recent project based on YII framework, I have to use PHPUnit for doing unit test.  My Local development environment is Windows 7 64 bit system. I have installed php 5.3.10, Apache 2.4 and MySQL...

View Article


URL masking by encrypting query string

For many of my project I have written code which simply a link having some parameters as query string in url to pass information from one page to another by using GET request. However there are...

View Article

Roll out your own Tab UI using HTML and JQuery

WHY RECREATE THE WHEEL? There are lot of tab controls out there, both using plain javascript and others using Jquery,  so why the need to create our own.  There are two reasons for doing this:...

View Article

How to retrieve content from a WordPress database directly

WordPress is the world’s most popular blogging platform and is used by millions of websites. It has been converted and customized to almost any kind of website imaginable. This article is if you want...

View Article


Install Tokyo Tyrant in Linux

WHAT IS TOKYO TYRANT? Tokyo Cabinet (TC) is a data repository which is tailored for high speed retrieval. It is not a full fledged DBMS like Mysql or MongoDB . At its core, it is a simple key-value...

View Article

Install Subversion server on Linux Mint

This article is about installing Subversion on a Linux Mint machine and using Subversion without Apache or SSH or WebDAV. In other words this is a bare bones installation and this kind of setup is only...

View Article

Detect Similar Documents Using PHP

Discovering identical content or similar content is done using an algorithm called Finding Document Distance. Using this algorithm, applications for finding copyright infringements, detecting duplicate...

View Article


Resolving git conflicts using ‘theirs’ or ‘ours’

If you want to overwrite your local copy of the conflicted file use the following commands: git checkout –theirs path/to/the/conflicted_file.php git add path/to/the/conflicted_file.php   If you want to...

View Article


Setup Django with Python 3 in Ubuntu 18.x

1.Install Python3 and PIP sudo apt-get install python3 python3-pip Check Python version by typing python3 -V Check PIP version by typing pip3 -V 2.Install Django [...]

View Article
Browsing latest articles
Browse All 11 View Live