Dscripts - dscripts.net
General Information:
Latest News:
SQL Merge example to migrate data from one database table to another 26 Nov 2012 | 01:38 pm
The Problem: Yesterday, I was working with an eCommerce application. It has a huge existing database with lots of tables. This application is now being completely revamped with latest technologies and...
How to force download a file using ASP.NET 8 Dec 2011 | 07:26 pm
There are many cases where we need to let file downloads being processed by an aspx file. Here in this code this code will force a file to be downloaded through an aspx file. let assume your file path...
Pipilika – The Search Engine of Bangladesh 12 Jul 2011 | 03:59 am
We are introducing first ever multilingual Web Search Engine Pipilika in Bangladesh both in Bengali and English. This free web service provides search results on nationwide news and business informat...
Group by date from a datetime or timestamp field in Mysql 15 Dec 2010 | 06:01 am
This is a simple but greatly useful mysql query. You can use it to find all the dates even with time included in datetime or timestamp field. The table REGISTRATION_NO EXAM_ROLL DATE 2010231001 ...
Create custom notification on your Ubuntu desktop using python 7 Sep 2010 | 07:24 pm
You can easily create custom notifications for your applications on ubuntu. Ubuntu’s current notification system is called NotifyOSD. It provides api for several languages. Using python-notify library...
Convert unicode codepoints to unicode hex values in java 5 Sep 2010 | 07:39 pm
In a part of our crawler development, we encountered a Bangla news site (http://www.kalerkantho.com/) which uses code points instead of unicode hex valus in their website. Although it renders banla fo...
Extract hyperlinks from html using regular expression in java 4 Sep 2010 | 07:54 pm
2 years ago, I worked with an crawler which can fetch webpages from internet, then parse the links from the page and then visit all the pages linked to the page. At that time I didn't have any ide...
How to allow users to execute sudo command in ubuntu 19 Aug 2010 | 08:46 pm
If you have a user account that cannot make sudo command then it because it is not in sudoers list. You must add the user to sudoers list to allow sudo command. Sudoers list is located in /etc/sudoers...
How to add users and usergroup in ubuntu using terminal 14 Aug 2010 | 08:20 pm
It is very easy to create new user account in ubuntu using terminal. Just follow adduser and addgroup command. Here is an example I want to create a user named "nutch" with a new "nutch" user group....
Change root user password in ubuntu using terminal (The short way) 14 Aug 2010 | 08:04 pm
If you forget the root user password you can change with a simple tricky command in ubuntu. Login to your regular account. You should have the sudo comman available for your user account. Now open th...