Archive for October, 2012
Import Active Directory Domain Services Cmdlets
Open Powershell Prompt PS C:\> Import-Module active*PS C:\> Get-Command -Module active Reference: http://blogs.technet.com/b/heyscriptingguy/archive/2010/01/25/hey-scripting-guy-january-25-2010.aspx
Resetting the ESX host firewall policy in ESX 4.x
Resetting the ESX host firewall policy in ESX 4.x You cannot stop the firewall service in ESX 4.x. If you try, you see themessage: Firewall can’t be stopped. To disable the firewall run: esxcfg-firewall –allowIncoming –allowOutgoing You can allow all packets through the firewall by running the command: $ esxcfg-firewall –allowIncoming –allowOutgoing To return the […]
create backup of entire filesystem with tar and bzip compression
# tar -cjvpf backup.tar.bz2 –exclude=backup.tar.bz2 –exclude=proc –exclude=sys –exclude=dev .
dd using netcat to /dev/sdx / or from/to image file
destination: # nc -l 19000 | bzip2 -d | dd bs=16M of=/dev/sda source: # dd bs=16M if=/dev/sda | bzip2 -c | nc serverB.example.net 19000 Reference:http://www.ndchost.com/wiki/server-administration/netcat-over-ssh OR dd from source partition to destination image file destination: #nc -l 19000 | bzip2 -d | dd bs=16M of=/path/imagefile.dd source: # dd bs=16M if=/dev/sda | bzip2 -c | nc […]
Reset iptables firewall
# /sbin/iptables -F# /sbin/iptables -X# /sbin/iptables -t nat -F# /sbin/iptables -t nat -X# /sbin/iptables -t mangle -F# /sbin/iptables -t mangle -X# /sbin/iptables -P INPUT ACCEPT# /sbin/iptables -P FORWARD ACCEPT# /sbin/iptables -P OUTPUT ACCEPT
Online Anti-Virus Websites and Tools
Free online service that analyzes files enabling the identification of viruses, worms, trojans and other kinds of malicious content detected by antivirus engines and website scanners http://www.virscan.org http://virusscan.jotti.org http://vscan.novirusthanks.org http://www.viruschief.com http://www.metascan-online.com https://www.virustotal.com http://www.garyshood.com/virus http://online.drweb.com/ http://www.threatexpert.com/filescan.aspx http://www.clamwin.com/content/view/89/85 Free service that analyzes and facilitates the quick detection of viruses, worms, trojans, and all kinds of malware. http://ScanURLs.com […]
XML resources
http://htmledit.squarefree.com http://www.w3schools.com/xml/default.asp
C# resources
http://www.csharp-station.com/Tutorial.aspx http://www.csharpkey.com/csharp http://en.csharp-online.net/CSharp/Certification%2C/Development%2C/and/Training http://en.csharp-online.net/CSharp_Certification%2C_Development%2C_and_Training http://compilr.com/ http://www.innovation.ch/java/java_compile.html http://ideone.com http://www.onlinecompiler.net http://www.comeaucomputing.com/tryitout http://www.compileonline.com
Object-oriented programming resources
http://download.oracle.com/javase/tutorial/java/concepts http://www.freecomputertutor.net/object-oriented-programming-concepts.php http://www.codeproject.com/KB/architecture/OOP/Concepts/and_manymore.aspx http://www.codeproject.com/KB/architecture/OOP_Concepts_and_manymore.aspx
Recursive grep
$ grep -r “searchTerm” ./directory http://blamcast.net/articles/recursive-grep-find-strings-files Introduction to Programming Using Java, Sixth Edition Version 6.0, June 2011 http://math.hws.edu/javanotes/