Posts

Showing posts from 2017

Configure Apache and php

#Config httpd.conf ServerRoot "D:/webserver/apache" Listen 81 // incase unable to bind to 80 LoadModule rewrite_module modules/mod_rewrite.so // Uncomment ServerName localhost:81 DocumentRoot "D:/webserver/www/" <Directory "D:/webserver/www"> AllowOverride All DirectoryIndex index.html index.php #In the end put these config for php #Configuration of php for apache LoadModule php7_module "D:/webserver/php/php7apache2_4.dll" ScriptAlias /php/ "D:/webserver/php/" AddType application/x-httpd-php .php .php5 .html Action application/x-httpd-php "/php/php-cgi.exe" SetEnv PHPRC "D:/webserver/php" PHPIniDir "D:/webserver/php/" //now configure php.ini rename php.ini-production to php.ini #inside php.ini doc_root = "D:/webserver/www" extension_dir = "D:/webserver/php/ext" upload_tmp_dir = "D:/webserver/apache/temp/upload" session.save_path = "D:/w

For .NET Developers

A must know points For .NET Developers - Build dynamic applications in an agile environment - Must have strong C# programming experience. - Web API / Azure API development experience. - Experience with the Agile methodology and Test Driven Development. - .Net Core development experience. - PowerShell scripting experience - Team Foundation Server / Visual Studio Team Services - Build and Release Management. - Automated DevOps with Microsoft Azure Resource Manager. - Architecture and development experience in enterprise applications - An understanding and knowledge of .Net, Web Services, WPF, WCF, MVC, Patterns/OO Design, and Web Frameworks - VB.NET - Visual Studio - .NET Framework 3.5 and/or 4.0, XML, AJAX - ASP.NET - Agile Design Patterns - HTML / CSS / Javascript - MS SQL Server

Get Computer description

Get Computer description For Windows Operating System using C# using System.Win32; string key = @"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters"; string computerDescription = (string)Registry.GetValue(key, "srvcomment", null);

Remove Diacritics Using C#

Remove Diacritics Using C# public static string NormalizeString(string text) {     string normalStr = text.Normalize(NormalizationForm.FormD);     var stringBuilder = new StringBuilder();      foreach (var c in normalStr)      {           var unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c);           if (unicodeCategory != UnicodeCategory.NonSpacingMark)           {              if (char.IsWhiteSpace(c))                  stringBuilder.Append((char)32); // Removed &nbsp;(160) &#32              else                  stringBuilder.Append(c);            }       }             return stringBuilder.ToString().Normalize(NormalizationForm.FormC); }

IT Propessional should have these things

#topic_titlte# Must have things for IT professionals #title# #topic_para# A domain name #para# #topic_para# A cool website #para# #topic_para# A portfolio portal #para#  #topic_para# Updated Resume on your website #para#  #topic_para#  Blog writing on current treand and technologies. #para