Recent Updates RSS Toggle Comment Threads | Keyboard Shortcuts

  • iamsrijon 2:18 pm on February 5, 2010 Permalink | Reply
    Tags: google, google pagerank, Google PageRank via PERL, pagerank, PERL   

    Determine Google PageRank via PERL 

    We can determine Google PageRank with a code of 3 lines in PERL. You need to install WWW::Google::PageRank, download from here. The script is as follows

    #!/usr/bin/perl
    use WWW::Google::PageRank;
    my $pr = WWW::Google::PageRank->new(proxy => ‘http://A.B.C.D:Port/’);
    print scalar($pr->get($ARGV[0])), “\n”;

    Usage: perl <script_name> <static_URL>

    If you use no proxy then delete “proxy => ‘http://A.B.C.D:Port/’” otherwise mention the Proxy IP address & Port. The script returns an integer as PageRank (Higher is better). That’s all, Thanks.

     
  • iamsrijon 3:43 pm on January 25, 2010 Permalink | Reply
    Tags: how to install iis 7, How to Install Internet Information Services (IIS 7) on Windows 7 Ultimate, iis7, iis7 in win 7, iis7 in windows 7, install iis 7, installing iis 7   

    How to Install Internet Information Services (IIS 7) on Windows 7 Ultimate 

    internet-information-services-iis7-manager

    If you want to install Microsoft Internet Information Server (IIS 7) on your new Windows 7 computer first time after working with IIS 6 for long years, I believe you will be surprised with the improvements and changes both in IIS and IIS installation process.

    First of all Microsoft has renamed the IIS as Internet Information Services and is not now using Internet Information Server for IIS.
    In this short guide I will summarize the steps of installing IIS 7 on Windows 7 in the way I had recently on my Windows 7 Ultimate Edition PC. I’m using this pc as a home pc but I work on my web projects at home so I run SQL Server 2008 R2 as well as IIS and host ASP.NET applications.

    So if you want to install Internet Information Services (IIS 7) for a developer computer then you can follow me by reading my notes below.
    I do not know the other editions but Windows 7 Proffessional edition and the Windows 7 Ultimate edition are able to install and run IIS 7.

    IIS Installation

    IIS 7 can be installed and features of IIS 7 can be added or removed by Windows 7 “Control Panel > Programs” management screen. You can add and install Windows 7 components and build in applications using the “Turn Windows features on or off” link.

    iis 7 installation on windows 7

    When the Windows Features screen opens and generates in a short time a list of Windows 7 features installed and configured on the current system and a list of Windows 7 features not installed yet.
    When the list is completed drill down the Internet Information Services node.

    Internet Information Services – IIS 7 World Wide Web Features

    Application Development Features

    I started with the World Wide Web Services and Application Development Features.
    Since I’m an ASP.NET developer and aim to work with ASP.NET on IIS 7, I selected the checkbox next to ASP.NET. When you click on ASP.NET the following features will be automatically selected :

    • .NET Extensibility,
    • ISAPI Extensions and
    • ISAPI Filters.

    iis7-application-development-features

    Security

    Then I opened the Security node and marked Windows Authentication beside Request Filtering.
    I did not choose any other options since I do not think to develop using other authorization and authentication features in a short time.
    So I keep them uninstalled. I can installed these features in future somehow.

    iis-7-security-features-list

    Common HTTP Features

    From the Common HTTP Features, I choosed Static Content in order to serve static web pages in .htm and .html file extensions.
    I did not select Directory Browsing feature to install as you will see, since directory browsing function is one of the basic ones that we remove from each web site on IIS 6 or other IIS versions.
    I do not prefer to work with WebDAV now, so I keep WebDAV Publishing feature unchecked too.

    installing-iis-7-common-http-features

    Health and Diagnostics

    From the Health and Diagnostics tools you will find new logging, monitoring and tracing tools helpful for keeping your web server secure. The Request Monitor and Tracing features will also help you to debug your applications by tracing the web request easily.

    install-iis7-health-and-diagnostic-tools-and-features

    Performance Features

    In the IIS 7 Performance Features section there exists compression functions for static content and dynamic content. You can choose any compression feature.

    installing-iis-7-performance-features

    Internet Information Services – IIS 7 Web Management Tools

    The IIS Management Console is a must if you are working with Internet Information Services. It is a handy web management platform which contains tools and serves methods for you to publish, manage, trace and log your web sites and web applications.

    I checked the IIS Management Scripts and Tools. I believe these tools and scripts will make my life easier while working on IIS 7.

    IIS Management Services is used to perform management of Internet Information Services from remote computers. If you want to perform management of your web server from remote computers, you should mark this option. Especially if you are installing IIS 7 on a web server, probably you will want to remote manage your IIS web server.

    install-iis-7-web-management-tools

    After you select all the necessary components, tools and features required for you click on OK button to start installing IIS 7 on Windows 7.
    You will have wait for a few minutes while Windows 7 is installing IIS 7 and changing IIS 7 features.

    installing-iis7-on-windows7-ultimate

    After the Internet Information Services – IIS 7 installation is completed you can browse to the http://localhost in order to see if your IIS7 is installed and start running on your Windows 7 computer.
    If IIS7 (Internet Information Services) is up and running the following static web page will be displayed on your browser.

    iis-7-welcome-screen

    You can open the Internet Information Services (IIS) Manager console by following the below path.

    iis-7-management-console-path

    Open “Control Panel > System and Security > Administrative Tools” then click on Internet Information Services (IIS 7) Manager icon to open the IIS 7 management console.

    I believe web developers and IIS administrators installed IIS before will not face difficulty installing IIS 7 on Windows 7

     
  • iamsrijon 8:29 pm on December 23, 2009 Permalink | Reply
    Tags: calc, calculator, flex, infix, yacc   

    Infix Calculator in yacc & flex 

    Calc.yacc
    %{
    #include “stdio.h”
    #include “math.h”
    #define YYSTYPE double
    YYSTYPE last_value = 0;
    extern int yylex(void);
    %}
    %token NUMBER
    %token LAST
    %left ‘+’ ‘-’
    %left ‘*’ ‘/’
    %left ‘^’
    %left NEGATIVE
    %left COS EXP SIN SQRT TAN
    %%list:
    | list ‘\n’
    | list expr ‘\n’ { printf(“%.8g\n”,last_value=$2);
    }
    ;
    expr: term { $$ = $1; }
    | expr ‘+’ expr { $$ = $1 + $3; }
    | expr ‘-’ expr { $$ = $1 – $3; }
    | expr ‘*’ expr { $$ = $1 * $3; }
    | expr ‘/’ expr { $$ = $1 / $3; }
    | expr ‘^’ expr { $$ = pow($1,$3); }
    | ‘-’ expr %prec NEGATIVE { $$ = – $2; }
    | COS term { $$ = cos($2*3.141592654/180); }
    | SIN term { $$ = sin($2*3.141592654/180); }
    | SQRT term { $$ = sqrt($2); }
    | TAN term { $$ = tan($2*3.141592654/180); }
    ;term: NUMBER { $$ = $1; }
    | LAST { $$ = last_value; }
    | ‘(‘ expr ‘)’ { $$ = $2; }

    ;
    %%
    #include “stdlib.h”
    #include “string.h”
    #include “unistd.h”
    int lineno;
    char *fname = “-stdin-”;
    int yyerror(const char *s)
    {
    fprintf(stderr,”%s(%d):%s\n”,fname,lineno,s);
    return 0;
    }
    main()
    {
    yyparse();
    return 0;
    }

    Calc.flex
    %{
    #include “stdio.h”
    #include “unistd.h”
    #include “stdlib.h”
    #include “math.h”
    #define YYSTYPE double
    #include “y.tab.h”

    extern int lineno; /* current line number */
    extern YYSTYPE yylval; /* value of numeric token */
    %}

    digit [0-9]
    space [ \t]

    %%

    {space} { ; } /* spaces are ignored */
    {digit}+\.?|{digit}*\.{digit}+ {
    yylval = strtod(yytext,0);
    return NUMBER; }
    \*\* { return ‘^’; }
    last { return LAST; }
    cos { return COS; }
    exp { return EXP; }
    sin { return SIN; }
    sqrt { return SQRT; }
    tan { return TAN; }
    pi { yylval = atan(1.0)*4;
    return NUMBER; }
    e { yylval = exp(1.0);
    return NUMBER; }
    \n { lineno++; return ‘\n’; }
    . { return yytext[0]; }
    %%

    How to Compile & Run:
    Open Terminal, then
    [root@Srijon Desktop]# yacc -d Calc.yacc
    [root@Srijon Desktop]# flex Calc.flex
    [root@Srijon Desktop]# g++ lex.yy.c y.tab.c -ll
    [root@Srijon Desktop]# ./a.out

    That’s it. ENJOY!!!!!!!!

     
    • refat 9:03 pm on December 23, 2009 Permalink | Reply

      thanks for this……….
      Kalke bhujaiya dio
      bye.

    • rizel 4:11 am on December 24, 2009 Permalink | Reply

      joss. partner. go ahead.

      Thanx 4 this contribution of compiler lab…..

  • iamsrijon 7:55 pm on December 16, 2009 Permalink | Reply
    Tags: সংবিধিবদ্ধ, bangla, bangladesh, freedom, iamsrijon, rajakar   

    সংবিধিবদ্ধ 

    বাংলাদেশ, সহস্রবিন্দু রক্তকণিকার মিলিত মানচিত্র। দেশটির অফুরন্ত সম্পদ সেই আদিকাল থেকেই বিশ্বকে লালায়িত করে আসছে। নবাব আলিবর্দী খাঁ এর শাসনামলে ও ইংরেজ বণিকগন এদেশের নবাবকে তাঁর স্বীয় মর্যাদা দিতেন, বানিজ্যে তাঁদের নিয়ম-নিষেধ মেনে চলতেন। পরবর্তীতে নবাব সিরাজউদ্দৌলার সময় ইংরেজরা তাদের স্বীয় আধীপত্য বিস্তারের জন্য উপমহাদেশে নবাবী প্রথার বিলুপ্তি ঘটিয়ে নিজেরাই উপর মহলের নির্দেশে ক্ষমতা দখল করে। পূর্ববর্তী ইংরেজ শোষনের পাশাপাশি তখন ইংরেজ শাষনকালের সূচনা ঘটল, পরাভূত হল বাংলার স্বাধীনতা।

    স্বাধীন বাংলার পরাধীনতার জন্য আমরা ইংরেজদের দায়ী করি। কিন্তু সেই ইংরেজরা কখনোই বাংলার স্বাধীনতায় হস্তক্ষেপ করতে পারত না যদি বাংলার কতিপয় বাঙ্গালী দোসর তাদের সাথে হাত মিলিয়ে তাদের সাহায্য না করত। সুতরাং তৎকালীন বাংলার পরাধীনতার পেছনে বাঙ্গালীরাই দায়ী।

    বহুকাল পরের কথা। পাক-ভারত উপমহাদেশ ততদিনে বিভক্ত হয়ে গেছে, সৃষ্টি হয়েছে ভারত ও পাকিস্তানের। এই পাকিস্তানেরই একটি অংশ পূর্ব-পাকিস্তান যেখানে সেই বাঙ্গালীদের বসবাস এবং যা আবার ও পশ্চিম-পাকিস্তানের শোষনের সম্মুখিন। শোষন-বঞ্চনা মাত্রা অতিক্রম করতেই শুরু হয় মুক্তিযুদ্ধ, ১৯৭১। স্বাধীন রাষ্ট্র হিসাবে পূর্ব-পাকিস্তানের নাম হয় ‘বাংলাদেশ’। বাঙ্গালী জাতি যখন তাদের দেশ-মাতৃকার সার্বভৌমত্ব রক্ষায় সোচ্চার, যুদ্ধরত; ঠিক তখনই একদল স্বাধীনতাবিরোধী, রাজাকার, এই বাঙ্গালী জাতির কলঙ্ক, পাকিস্তানীদের সাথে হাত মিলিয়ে বাংলার স্বাধীনতাকামী জনতার বিরুদ্ধে লেগে পরে। তাদের নৃশংস তৎপরতায় বাংলার বহু দামাল ছেলেরা বিনা দোষে অকালে প্রাণ হারায়। বাঙ্গালী জাতির গর্ব, বুদ্ধিজীবী-শিক্ষিত সমাজ কুচক্রী দেশদ্রোহী রাজাকার এবং স্বগোত্রীয় আল্‌বদর, আল্‌শামস ওরফে শান্তি বাহিনীর তৎপরতায় পাক্‌-পশুদের হাতে ধরা পরে এবং বন্দুকের গুলিতে নয়, বেয়নেটের আঘাতে প্রাণ হারায়। দেশটি হয়ে পরে মেধাশূন্য।

    পাকিস্তানী জান্তা এদেশের যতটা ক্ষতি করেছে, তার চেয়ে অনেক বেশি অপূরনীয় ক্ষতি করেছে দালাল্‌রা, বিক্রি করতে চেয়েছিল দেশের স্বত্তা। যারা দেশের এত বড় ক্ষতি করেছে তাদের তো এই স্বাধীন বাংলাদেশের নাগরিকত্ব পাবার যোগ্যতা নেই। পাকিস্তান কেন তাদের পুনর্বাসনের ব্যবস্থা করছে না; সুশীল সমাজ তাদের এই বাংলাদেশে আর দেখতে চায় না।

    হঠাৎ করেই বুকের মধ্যে একটা পুরোনো ব্যাথা চিনচিনিয়ে ওঠে যখন মনে পড়ে সেই স্বাধীনতাবিরোধীরাই আজ স্বাধীনতা অর্জন, রক্ষার কথা বলে ( আমরা স্বাধীনতা এনেছি, আমরাই তা রক্ষা করব: আলী আহসান মো. মুজাহিদ, http://bdnews24.com/bangla/details.php?cid=3&id=116335&hb=4 )

    কয়দিন আগেই তো তারাই ছিল জনগনের প্রতিনিধি। তারা এদেশের জনগনের কল্যানে কাজ করেন! স্বাধীন বাংলাদেশে রাজাকারদের এই উন্নত অবস্থা এটাই প্রমাণ করে যে বাংলাদেশ আজও স্বাধীনতা থেকে অনেক দূরে। আজ কথাগুলো শুধু লেখা যায় আর পড়া যায়, কিন্তু মুখ ফুটে বলা যায় না।

     
    • সিয়াম 4:38 pm on January 30, 2010 Permalink | Reply

      এইসব দালালদের তো একপা কবরে। কিন্তু এসব দালালরা যেসব ছানা পোনা রেখে যাচ্ছে সেগুলো নিয়ে আমার ভয় ।

      • iamsrijon 1:53 pm on February 5, 2010 Permalink | Reply

        কি আর বলবো? লেখাটা আমার ডায়েরিতে যখন লিখেছিলাম (class 8 ) তখন অনেক কিছু লিখতে-বলতে ইচ্ছে করতো, এখন আর কিছুই বলতে ইচ্ছে করে না

  • iamsrijon 3:19 am on November 3, 2009 Permalink | Reply
    Tags: compiling trix, compiling Vypress Chat in fc10, installing trix, installing Vypress Chat, trix, vyPress, Vypress Chat, Vypress Chat in fc10, Vypress Chat in fedora 10, Vypress Chat in LINUX [fc10]   

    Vypress Chat in LINUX [fc10] 

    Vypress Chat is a user-friendly application for real-time chatting in small office or home office (SOHO) local networks. TriX chat is based on the VyQChat [unix clone of Vypress Chat]. You can install Trix in LINUX by following these steps.

    • Download Trix from here.
    • Download Qt from here.
    • Extract Qt & move the folder “qt-x11-free-3.3.8″ into /usr/local/ & rename it as “qt”.
    • Open /root/.profile as root & type the following & save
      • #!/bin/bash
      • QTDIR=/usr/local/qt
      • PATH=$QTDIR/bin:$PATH
      • MANPATH=$QTDIR/doc/man:$MANPATH
      • LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    • Open terminal & type the following to build Qt
      • cd /usr/local/qt
      • ./configure && make
    • Extract trix-0.94.tat.bz2 & change the directory into the folder trix-0.94.
    • Install Trix
      • ./configure –disable-mt –with-qt-dir=/usr/local/qt && make
    • Goto “/etc/rc.d/rc5.d” & delete K##iptables, K##ip6tables, S##iptables, S##ip6tables. “##” denotes any combination of two digits.
    • If u want to run Trix at boot time then make a link & rename it “S##trix” into “/etc/rc.d/rc5.d”
    • Reboot the pc.

    That’s all, ENJOY!

     
  • iamsrijon 3:13 am on October 23, 2009 Permalink | Reply
    Tags: compiling HEX Editor in fedora, compiling HEX Editor in linux, download HEX Editor, download HEX Editor for fedora, download HEX Editor for fedora 10, download HEX Editor for linux, GHex, HEX Editor, HEX Editor for fedora, HEX Editor for fedora 10, HEX Editor for linux, Install Gnome HEX Editor GHex, Installing GHex, Installing Gnome HEX Editor GHex, Installing HEX Editor   

    Installing Gnome HEX Editor GHex 

    Gnome Hex Editor, GHex is an useful tool for manipulating [generally editing/merging] binary files in LINUX based distributions. We can install GHex with the following steps.

    • Download GHex source archive from here.
    • Extract the archive using Archive Manager.
    • Run the Terminal, change the directory to the source of ghex-2.24.0.
    • Type ./configure && make && make install.

    This is all you have to do.
    You can run GHex from Applications>Programming>Hex Editor.
    ENJOY!

     
    • bijan 4:05 pm on November 2, 2009 Permalink | Reply

      It is very helpful for us. Thanks a lot………….

  • iamsrijon 6:14 am on August 30, 2009 Permalink | Reply
    Tags: Chromium [popularly known as "Google Chrome"], Google Chrome, install chromium in fedora 10, install chromium in linux, install Google Chrome, install Google Chrome in fedora, install Google Chrome in fedora 10, install Google Chrome in LINUX   

    Install Chromium [Google Chrome] in Fedora 

    Chromium [popularly known as "Google Chrome"] is now available for LINUX based distribution. We can install it in Fedora [fc10 tested] by the following steps.

    That’s all. You can start Google Chrome from “Applications>Internet>Chromium Web Browser” in top panel. These instruction accurately works in Fedora 10 installed in a x86 compatible pc.

     
    • Mahmud 6:31 am on August 30, 2009 Permalink | Reply

      Cool…………..
      so nice link I feel…………..
      Thanks for sharing

  • iamsrijon 8:24 am on August 27, 2009 Permalink | Reply
    Tags: download mplayer, download mplayer standalone, encoding video in linux, installing mplayer with all codecs, installing mplayer with mencoder, installing mplayer with samba, installing mplayer with smb, mencoder with x264, mencoder with xvid, mplayer, mplayer all in one, mplayer allinone, mplayer standalone, mplayer standalone including all codecs, mplayer standalone with all codecs, mplayer with mencoder, mplayer-allin1   

    Install MPlayer Standalone 

    Popular Media Player for LINUX based distributions, MPlayer now comes with all useful codecs.

    • Just Download MPlayer Standalone from here.
    • Extract mplayer-standalone-yyyy-mm-dd.tar.bz2 using Archive Manager or just right click on the file and click “Extract Here”.
    • Double Click on the file ‘install’ and press “Run in Terminal”

    That’s all. It will install Gnome MPlayer as a Front-end. To play ANY media file from local or network [smb://], just open the file with Gnome-MPlayer.
    You can ENCODE videos using ‘MEncoder’ which is installed with the bundled package.
    Sample Scripts are given in a folder “Mencoder_script”.
    Thanks from Chinmoy & Srijon.
    ENJOY!

     
  • iamsrijon 4:05 pm on August 22, 2009 Permalink | Reply
    Tags: Disable "Low Disk Space Alert" in Windows Xp, Disable Low Disk Space message in Windows Xp, hard disk space, how to Disable Low Disk Space Alert, how to Disable Low Disk Space Alert in Windows Xp, low disk, low disk space, Low Disk Space Alert, low drive space, low hard disk space, low hard disk space balloon, low space   

    Disable “Low Disk Space Alert” in Windows Xp 

    As you know, Microsoft Windows XP displays a Pop up Balloon in system tray, if you don’t have enough free space in your hard drive. The following tips is useful for users to disable this pop up.

    • Click Start menu and then click RUN. Run dialog box will appear.
    • In Run dialog box type “regedit” (without quotes) and then click OK. To run Microsoft Registry editor.
    • Find following key :
      QUOTE
      HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer
    • Right click on right panel and create a new DWORD value and name “NoLowDiskSpaceChecks”.
    • Finally give a value of 1.
    • Close Registry editor and restart your computer.

    Windows Xp no longer display low space warning massage.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel