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
var links = document.getElementsByTagName('a'); | |
var a = []; | |
for(var i = 0; i< links.length; i++){ | |
a.push(links[i].href); | |
// alert(links[i].href); | |
} | |
window.prompt("Copy to clipboard: Ctrl+C, Enter", a); |
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
/* | |
//Winter Peak time | |
$winpeak_query = "SELECT rec.time_stamp, rec.day_chan1, rec.day_chan2, rec.day_chan3,rec.total_phase FROM ( SELECT ".$this->table_name.".*, DATE(time_stamp) AS mydate, TIME(time_stamp) AS mytime FROM ".$this->table_name." WHERE TIME(time_stamp) >= '17:00:00' AND TIME(time_stamp) <= '18:59:59') as rec JOIN ( SELECT DATE(time_stamp) as mydate, MAX(TIME(time_stamp)) as mytime FROM ".$this->table_name." WHERE TIME(time_stamp) >= '17:00:00' AND TIME(time_stamp) <= '18:59:59' GROUP BY DATE(time_stamp) ) as max_times ON max_times.mydate = rec.mydate and max_times.mytime = rec.mytime ORDER BY rec.mydate"; | |
$winnightone_query = "SELECT rec.time_stamp, rec.day_chan1, rec.day_chan2, rec.day_chan3,rec.total_phase FROM ( SELECT ".$this->table_name.".*, DATE(time_stamp) AS mydate, TIME(time_stamp) AS mytime FROM ".$this->table_name." WHERE TIME(time_stamp) >= '23:00:00' AND TIME(time_stamp) <= '23:59:59') as rec JOIN ( SELECT DATE(time_stamp) as mydate, MAX(TIME(time_s |
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
<data> | |
<name></name> | |
<about> | |
</about> | |
<eat> | |
</eat> | |
<stay> |
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
--- | |
- http://*.23video.com/* | |
- http://*.bandcamp.com/ | |
- http://*.bandcamp.com/album/* | |
- http://*.bandcamp.com/track/* | |
- http://*.blip.tv/*/* | |
- http://*.brainsonic.com/* | |
- http://*.bubb.li/* | |
- http://*.craigslist.org/*/* | |
- http://*.crocodoc.com/* |
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
{ | |
"coordinates": null, | |
"favorited": false, | |
"truncated": false, | |
"created_at": "Wed Jun 06 20:07:10 +0000 2012", | |
"id_str": "210462857140252672", | |
"entities": { | |
"urls": [ | |
{ | |
"expanded_url": "https://dev.twitter.com/terms/display-guidelines", |
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
{"meta":{"code":200},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{"checkins":{"count":1,"items":[{"id":"533d16b3498ed3f98be61aaf","createdAt":1396512435,"type":"checkin","timeZoneOffset":330,"venue":{"id":"4ea7f8dfe5fa472d6463bc25","name":"Good Will Cafe","contact":{},"location":{"address":"Warasiguda, Padmarao Nagar, Secunderabad, Andhra Pradesh","lat":17.423958367957983,"lng":78.51670283486816,"cc":"IN","state":"Andhra Pradesh","country":"India","formattedAddress":["Warasiguda, Padmarao Nagar, Secunderabad, Andhra Pradesh","Andhra Pradesh"]},"categories":[{"id":"4bf58dd8d48988d16d941735","name":"Café","pluralName":"Cafés","shortName":"Café","icon":{"prefix":"https:\/\/ss1.4sqi.net\/img\/categories_v2\/food\/cafe_","suffix":".png"},"primary":true}],"verified":false,"stats":{"checkinsCount":29,"usersCount":15,"tipCount":1},"likes":{"count":0,"groups":[]},"like":false,"beenHere":{"count":1,"marked":false}},"likes":{"count":0,"groups":[]},"like":false,"photos":{"count":0," |
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
{ | |
meta: { | |
code: 200 | |
}, | |
notifications: [ | |
{ | |
type: "notificationTray", | |
item: { | |
unreadCount: 0 | |
} |
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
{"meta":{"code":200},"notifications":[{"type":"notificationTray","item":{"unreadCount":0}}],"response":{"venue":{"id":"40a55d80f964a52020f31ee3","name":"Clinton St. Baking Co. & Restaurant","contact":{"phone":"+16466026263","formattedPhone":"+1 646-602-6263"},"location":{"address":"4 Clinton St","crossStreet":"at E Houston St","lat":40.721294,"lng":-73.983994,"postalCode":"10002","cc":"US","city":"New York","state":"NY","country":"United States","formattedAddress":["4 Clinton St (at E Houston St)","New York, NY 10002","United States"]},"canonicalUrl":"https:\/\/foursquare.com\/v\/clinton-st-baking-co--restaurant\/40a55d80f964a52020f31ee3","categories":[{"id":"4bf58dd8d48988d143941735","name":"Breakfast Spot","pluralName":"Breakfast Spots","shortName":"Breakfast","icon":{"prefix":"https:\/\/ss1.4sqi.net\/img\/categories_v2\/food\/breakfast_","suffix":".png"},"primary":true},{"id":"4bf58dd8d48988d16a941735","name":"Bakery","pluralName":"Bakeries","shortName":"Bakery","icon":{"prefix":"https:\/\/ss1.4sqi.net\/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
import os.path | |
import time | |
import urllib | |
import re | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEText import MIMEText | |
import smtplib | |
fileName = "mylastip.txt" |