Skip to content

Instantly share code, notes, and snippets.


Hema Kottaisamy Hemalatah

  • Pinterest
  • San Francisco, California
View GitHub Profile
View Basic Login HTML page.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<script src=""></script>
<script src=""></script>
View gist:f26988baf1d34fae4f6d1313f2973803
def search_text(text, keyword):
i = 0
while(i < len(text)):
line = ''
while not (text[i] == '.'):
line += text[i]
i += 1
print line
line = line.split(' ')
if keyword in line:
Hemalatah / app_1.js
Created Aug 8, 2016 — forked from anandnalya/app_1.js
Building a Single Page Webapp with jQuery
View app_1.js
$(document).ready(function() {
// convert all a/href to a#href
$("body").delegate("a", "click", function(){
var href = $(this).attr("href"); // modify the selector here to change the scope of intercpetion
// Push this URL "state" onto the history hash.
// Prevent the default click behavior.
View event_attendees.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have columns, instead of 7. in line 9.
1,11/12/08 10:47,Allison,Nguyen,,6154385000,3155 19th St NW,Washington,DC,20010
2,11/12/08 13:23,SArah,Hankins,,414-520-5000,2022 15th Street NW,Washington,DC,20009
3,11/12/08 13:30,Sarah,Xx,,(941)979-2000,4175 3rd Street North,Saint Petersburg,FL,33703
4,11/25/08 19:21,David,Thomas,,650-799-0000,9 garrison ave,Jersey City,NJ,7306
5,2/2/09 11:29,Chris,Sackett,,613 565-4000,173 Daly Ave,Ottawa,ON,
6,11/12/08 15:00,Aya,Fuller,,778.232.7000,2-1325 Barclay Street,Vancouver,BC,90210
7,11/12/08 16:05,Mary Kate,Curry,,(202) 328 1000,1509 Jackson Street,Baltimore,MD,21230
8,11/12/08 17:18,Audrey,Hasegan,,530-919-3000,1570 Old Ranch Rd.,Placerville,CA,95667
9,11/13/08 1:32,Shiyu,Armideo,,8084974000,644 Ike