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<graphics.h> | |
#include<fstream.h> | |
#include<conio.h> | |
#include<process.h> | |
#include<stdio.h> | |
#include<string.h> | |
class student | |
{ | |
char fname[15],mname[15]; //father name & mother name | |
int rollno,admin_no,dd,mm,yy; //roll number,Admission no, date,Month,Year |
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
Stick to Basics. I would classify the following data structures as **must know** | |
Linked List - Single and Doubly | |
Stack | |
Queues | |
Binary Search Trees or general Binary Tree | |
Heaps | |
Basic Graph Traversal and Shortest Path | |
Hashing | |
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
Stick to Basics. I would classify the following data structures as **must know** | |
Linked List - Single and Doubly | |
Stack | |
Queues | |
Binary Search Trees or general Binary Tree | |
Heaps | |
Basic Graph Traversal and Shortest Path | |
Hashing | |
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
# Command line based image viewer | |
# made purely with python 2.7 | |
from PIL import Image | |
from sys import argv | |
img = Image.open(argv[1]) | |
img.show() | |
# Wondoers in Just 4 lines of code. |
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
/* | |
* | |
* / --------------------------------[ NUIM CS141 Java Revision ]------------------------------- \ | |
* || Designed to easily revise everything covered in CS141 by just reading through this code. || | |
* || Comments accompany almost every line of code to explain its purpose. || | |
* || Some theory we need to know are included in the bottom... || | |
* \ ------------------------------------------------------------------------------------------- / | |
* | |
* | |
* ____ _ __ ____ __ |
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
// keep the code neat... | |
(function() { | |
var i = 0; | |
var txt = 'Tejas Jaiswal'; /* The text */ | |
var speed = 200; /* The speed/duration of the effect in milliseconds */ | |
function typeWriter() { | |
// console.log('teff'); | |
if (i < txt.length) { | |
document.getElementById("demo12").innerHTML += txt.charAt(i); | |
i++; |
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
<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
<!-- This is an automatically generated file. | |
It will be read and overwritten. | |
DO NOT EDIT! --> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
<TITLE>Bookmarks</TITLE> | |
<H1>Bookmarks</H1> | |
<DL><p> | |
<DT><H3 ADD_DATE="1526886570" LAST_MODIFIED="1528349593" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3> | |
<DL><p> |
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
{ | |
'jquery file upload' : 'https://blueimp.github.io/jQuery-File-Upload/index.html' | |
} |
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
/** | |
* This code is very helpful for people who forget things easily | |
*/ | |
window.onload = function() { | |
if (window.jQuery) { | |
alert('jQuery loaded!'); | |
} else { | |
alert('jQuery not loaded!'); | |
} |
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
from nltk.corpus import stopwords | |
import string | |
def text_process(text): | |
nopunc = [char for char in text if char not in string.punctuation] | |
nopunc = ''.join(nopunc) | |
return [word for word in nopunc.split() if word.lower() not in stopwords.words('english')] |
OlderNewer