This file contains 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
#!/bin/bash | |
#Author :Rajeev S | |
#Date :8/18/2011 2341hrs | |
#print mac id of a computer | |
import re | |
import os | |
os.system("clear") | |
ifconfigOutput=os.popen("ifconfig").read() | |
t='[a-z0-9]' | |
MACpattern=(t*2+':')*5+t*2 |
This file contains 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
#hangman | |
import random | |
pics=[' ', | |
''' | |
=========|| | |
| || | |
|| | |
|| | |
|| | |
|| |
This file contains 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
#include<stdio.h> | |
#include<string.h> | |
#include<iostream.h> | |
#include<process.h> | |
#include<conio.h> | |
void search(int n); | |
void print(char temp[50],int i,int n); | |
char str[50][50]; | |
int main() | |
{ |
This file contains 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
#include<iostream> | |
#include<fstream> | |
#include<stdio.h> | |
using namespace std; | |
int main() | |
{ | |
char exp[50],x[10]; | |
cout<<"\nEnter the function "; | |
gets(exp); | |
cout<<"\nEnter the value of x "; |
This file contains 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
clear | |
g++ function.cpp | |
clear | |
./a.out | |
g++ temp.cpp | |
clear | |
./a.out |
This file contains 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
#include<stdio.h> | |
#include<iostream> | |
using namespace std; | |
int main() | |
{ | |
float res,x=19; | |
res=(x*x)+(18*x)+93; | |
cout<<res<<endl; | |
} |
This file contains 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
void password() | |
{ | |
ifstream i; | |
float pd; | |
i.open("K:\\pd"); //my pendrive | |
i.read((char*)&pd,sizeof pd); | |
i.close(); | |
int flag; | |
flag=pd/66; //the decryption of password | |
flag=flag+523; |
This file contains 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
#include<fstream.h> | |
#include<stdlib.h> | |
int main() | |
{ | |
cout<<"\nPassword generator "; |
This file contains 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
User ID 2102996190881791497766726106225541397 | |
Display Name None | |
Created on 2014-06-12T02:54:34.246797 | |
Self Link http://localhost:8001/3.0/users/2102996190881791497766726106225541397 | |
User Preferences | |
================ | |
receive_list_copy None | |
hide_address None | |
preferred_language en |
This file contains 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
Base URL http://domain.org | |
Contact Address postmaster@domain.org | |
Mail Host domain.org | |
URL Host domain.org | |
Description | |
============= | |
Lists |