Shuvradeb Barman Srijon’s Registered & Protected Web Page
http://iamsrijon.wordpress.com/-
All Rights Reserved
-
2010-02-13 05:02:00 UTC
-
The Voice® of Srijon
-
http://iamsrijon.wordpress.com/ Protected on 2010-02-13 05:02:00 UTC
-
The Voice® of Srijon Technology for Life About me Shuvradeb Barman Srijon Undergrad student of CSE@KUET Khulna, Bangladeshhttp://sites.google.com/site/iamsrijon/ Recent Posts Determine Google PageRank via PERL How to Install Internet Information Services (IIS 7) on Windows 7 Ultimate Activating Root Account in Fedora 12 Infix Calculator in yacc & flex ?????????? Vypress Chat in LINUX [fc10] Installing Gnome HEX Editor GHex Install Chromium [Google Chrome] in Fedora Install MPlayer Standalone Disable “Low Disk Space Alert” in Windows Xp 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. Reply Click here to cancel reply. Name (required) Email (required) Web Site Notify me of follow-up comments via email. Notify me of new posts via email. 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 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. 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. 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. 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. 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. 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. 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. 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. 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. You can open the Internet Information Services (IIS) Manager console by following the below 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 5:53 pm on January 17, 2010 Permalink | Reply Tags: Activating Root account, Activating Root Login, Activating Root Login in Fedora, Activating Root Login in Fedora 12, Fedora 12, Login in Fedora 12, Root Login, Root Login in Fedora, Root Login in Fedora 12 Activating Root Account in Fedora 12 The procedure of Activation of Root account in Fedora 12 defers from other fedora distributions & can be possible by following the easy steps. Logged in as any non root user & open Terminal. Write “su” & press Enter, then enter the root password. Then open /etc/pam.d/gdm in gedit. gedit /etc/pam.d/gdm Block the following line using ‘#’ sign in front of it. auth required pam_succeed_if.so user != root quiet Save the file & exit. Then open /etc/pam.d/gdm-password in gedit. gedit /etc/pam.d/gdm-password Block the following line using ‘#’ sign in front of it auth required pam_succeed_if.so user != root quiet Save the file & exit. That’s all. Logged out from current non root account & Now you can log in as root in Fedora 12. 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!!!!!!!! rizel, and refat are discussing. Toggle Comments 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 ) ????? ???? ?? ????? ??? ?????? ?????????? ???? ?????? ?????? ??????? ??? ????! ??????? ????????? ?????????? ?? ????? ?????? ???? ?????? ??? ?? ???????? ??? ????????? ???? ???? ????? ?? ??????? ???? ???? ??? ?? ??? ???, ?????? ??? ???? ??? ??? ??? iamsrijon, and ????? are discussing. Toggle Comments ????? 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 is discussing. Toggle Comments 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. Download v8-1.3.8-1.20090827svn2777.fc10.i386.rpm Download minizip-1.2.3-18.fc9.i386.rpm Download nss-mdns-0.10-6.fc10.i386.rpm Download chromium-4.0.204.0-0.1.20090827svn24640.fc10.i386.rpm Finally install them SEQUENTIALLY. Open Terminal from the top panel [Applications>System Tools>Terminal]. Go to the directory where you have just downloaded these packages, suppose you have these packages in “/root/Desktop“, then write “cd /root/Desktop” in terminal & press Enter. To install each package write “rpm -i <package-name>” in terminal & press Enter. 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 is discussing. Toggle Comments 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. Older Posts ? Blog at WordPress.com. P2 theme by Automattic. 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 - 0e86c1dbf50d547b0d9a60cd1d716a3d5e4a0ab86bc3cf3707a7c4d1efba1083
-
(What's this?)
WBDDV-LAKXP-SA58M

