Skip to content

Instantly share code, notes, and snippets.

View MinhasKamal's full-sized avatar

Minhas Kamal MinhasKamal

View GitHub Profile
/**
* Developer: Minhas Kamal (BSSE-0509, IIT, DU)
* Date: 13.Nov.2013
**/
#include <iostream>
#include <fstream>
using namespace std;
/**
* Developer: Minhas Kamal (BSSE-0509, IIT, DU)
* Date: 13.Nov.2013
**/
#include <iostream>
#include <fstream>
#include <queue>
using namespace std;
/**
* Developer: Minhas Kamal (BSSE-0509, IIT, DU)
* Date: 01.Sep.2015
* Comment: This piece of program solves 8 puzzle problem using A* search algorithm.
**/
import java.util.Random;
public class AStarSearch {
int SWAP_WITH_TOP=0, SWAP_WITH_RIGHT=1, SWAP_WITH_BOTTOM=2, SWAP_WITH_LEFT=3;
/**
* Name: Minhas Kamal
* Date: 24-Mar-2014
**/
#include <iostream>
#include <fstream>
#include <queue>
@MinhasKamal
MinhasKamal / QuickSort.c
Last active December 4, 2015 18:57
This is a simple implementation of quick-sort algorithm in C language.
/**
* Developer: Minhas Kamal
* Date: August.2013
* Comment: Sorts the containing integers of a file using Quick Sort. The file format is as follows.
**/
///FileFormat
/*
100 //number of integers
19 34 29 67 37 90 99 89 45 56
##Writer: Minhas Kamal
##Date: 03-March-2014
##Function: Takes a char input and prints if it is a vowel or constant
##Technology: MIPS
#####data#####
.data
prompt: .asciiz "Enter your character: "
##Writer: Minhas Kamal
##Date: 03-March-2014
##Function: Finds the highest and lowest integer from a definite number of integers
##Technology: MIPS
#####**data**#####
.data
prompt1: .asciiz "\n\nEnter number of integers: "
@MinhasKamal
MinhasKamal / UnHideAllFile.bat
Last active December 7, 2015 15:37
🔨 Place the file in specific directory & run it.
attrib -h -r -s *.*
@MinhasKamal
MinhasKamal / BatchFileRename.bat
Last active December 7, 2015 15:38
🔨 Place the file in specific directory & run it.
@rename * *.txt
@MinhasKamal
MinhasKamal / ShortcutFixer.bat
Last active December 7, 2015 15:39
🔨 Fixes pendrive attacked by shortcut virus.
@echo ---------------------------------------------------------------
@echo Shortcut Fixer
@echo ---------------------------------------------------------------
@echo Instructions:
@echo 1. insert your pendrive
@echo 2. input your pen drive letter [**be very carefull**]
@echo ---------------------------------------------------------------
@pause
@echo.
@echo Enter drive letter: