Hacks and Tweaks


October 18, 2009

Chat With Friends Via MS DOS Command Prompt

More articles by »
Written by: arunenigma

1) All you need is your friend’s IP Address and your Command Prompt.
Your friend’s IP Address can find easily found out using ipconfig /all at the command prompt of your friend’s PC.

2) Open Notepad and write this code as it is.


@echo off
set /p n=User:
set /p m=Message:
net send %n% %m%
Goto A

3) Now save this as “Messenger.Bat”.

4) Open Command Prompt.

5) Drag this file (.bat file) over to Command Prompt and press Enter.

6) For the User, type the IP Address of the computer you want to contact and press Enter.

Start Chatting..!

About the Author

Computer Science Graduate Student @ Case Western Reserve University, Cleveland, USA



Python Factory Design Patterns using Switch Case

I googled for Factory Method Design Pattern in Python but couldn’t find a good resource. So, I  am sharing an example program to demonstrate this design pattern in Python which I frequently use. The factory method pattern is...
by arunenigma


Conway’s Game of Life Implemetation in Python with cool patterns

he Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the “pieces” are placed in the starting position, the rules determine everything that ha...
by arunenigma


Python AVL Tree Implementation with ASCII visualization

n computer science, an AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any tim...
by arunenigma



Binary Search Tree in Python with ASCII art visualization

Binary search tree implementation in Python with: in, post and pre-order traversals. Also includes methods for insertion, deletion and search of nodes. Deletion is fairly complex and is made possible by keeping track of parents...
by arunenigma


Python, Memoization, Dynamic Programming, Fibonacci Series and some Fun!

ython can implement the recursive formulation directly, caching return values. Memoization is a method where if a call is made more than once with the same arguments, and the result is returned directly from the cache. For exam...
by arunenigma



Be the first to comment!

You must be logged in to post a comment.