This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
folderName = 'D:\Images\IMAGES_FOR_PROCESSING\lfwcrop_grey\faces'; | |
imagefiles = dir(strcat(folderName, '\*.pgm')); | |
nfiles = length(imagefiles); | |
for i=1:nfiles | |
currentfilename=imagefiles(i).name; | |
I = imread(strcat(folderName, '\', currentfilename)); | |
[pathstr,name,ext] = fileparts(currentfilename); | |
currentfilename = name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim message, sapi | |
message = InputBox("What do you want me to pronounce?") | |
set sapi = CreateObject("sapi.spvoice") | |
sapi.speak message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rename * *.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
attrib -h -r -s *.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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: " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##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: " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Writer: Minhas Kamal | |
##Date: 02-MAY-2014 | |
##Function: This program is a simple demonstration of stack. | |
##Technology: MIPS | |
#####**data**##### | |
.data | |
prompt: .asciiz "\n# What operation do you want to perform?\nPress-\t1.for push \n\t2.for pop \n\t3.for print all \n\t4.for exit \nSelection: " | |
prompt2: .asciiz "Enter the value: " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Name: Minhas Kamal | |
* Date: 02-Apr-2013 | |
**/ | |
#include <stdio.h> | |
float sqrt(int i); | |
int main() |