Author Archives: armantutorial1969

ENABLE ICMP (echo ping) using Windows Command Line Interface ( CLI )

INTRODUCTION The netsh advfirewall firewall command-line context is available in Windows Server 2008 and in Windows Vista. This context provides the functionality for controlling Windows Firewall behavior that was provided by the netsh firewall context in earlier Windows operating systems. … Continue reading

Posted in WINDOWS | Leave a comment

HOW TO FIND YOUR WINDOWS PRODUCT KEY?

COPY AND PASTE THIS CODE IN YOUR NOTEPAD. FILENAME “productkey.vbs” any filename can do as long as the extension is “.vbs” Save to your desktop and double click!! only that! Set WshShell = CreateObject(“WScript.Shell”) MsgBox ConvertToKey(WshShell.RegRead(“HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId”)) Function ConvertToKey(Key) Const … Continue reading

Posted in WINDOWS | Leave a comment

Language Reference for Administrative Template Files – *.adm search for *.admx/adml

Language Reference for Administrative Template Files Applies To: Windows Server 2003 (see admx/adml for higher version of windows servers) This section includes a complete reference guide for using the .adm language to create policy settings. Each .adm file can contain … Continue reading

Posted in SYSTEM ADMINISTRATION | Leave a comment

MYSQL TUTORIALS FOR BEGINNERS!!

yet another insignificant programming notes…   |   HOME TABLE OF CONTENTS (HIDE) 1.  Summary of MySQL Commands Used in this Tutorial 2.  An Example for the Beginners (But NOT for the dummies) 2.1  Creating and Deleting a Database – CREATE DATABASE and DROP DATABASE … Continue reading

Posted in MYSQL | Leave a comment

COPY THE CONTENT OF ONE TABLE TO ANOTHER WITHIN THE SAME DATABASE

******** IF YOU HAVE CREATED THE TARGET TABLE ******** mysql>INSERT INTO TARGET_TABLE SELECT * FROM SOURCE_TABLE; ******** IF THE TABLES HAVE DIFFERENT STRUCTURES USE THIS: ******** mysql>INSERT INTO TARGET_TABLE (`col1`,`col2`) SELECT `col1`,`col2` FROM SOURCE_TABLE; mysql>INSERT INTO TARGET_TABLE (`col1_`,`col2_`) SELECT `col1`,`col2` FROM SOURCE_TABLE … Continue reading

Posted in MYSQL | Leave a comment

CLONE RECORDS ON THE SAME TABLE AND THE AUTO_INCREMENT NEED TO UPDATE AT THE SAME TIME

Assuming the AUTO ID field is the first one in the table (a usual case), we can make use of implicit transactions. CREATE TEMPORARY TABLE tmp SELECT * from invoices WHERE …; ALTER TABLE tmp drop ID; # drop autoincrement … Continue reading

Posted in MYSQL | Leave a comment

CHANGE THE FILE PERMISSION AND DIRECTORY PERMISSION IN LINUX RECURSIVELY

HOW TO FIND THE DIRECTORY

Posted in LINUX | Leave a comment