.. module:: imaplib :synopsis: IMAP4 client library
Purpose: | Client library for IMAP4 communication. |
---|
<!DOCTYPE html> | |
<!-- | |
Stuart Powers | |
http://sente.cc/ | |
http://twitter.com/stuartpowers | |
--> | |
<html> | |
<head> |
The MIT License (MIT) | |
Copyright (c) 2016 Stuart Powers | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
<!doctype html> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<title>pae.st - {% block title %} paste your stuffs {% endblock %}</title> | |
($=document.createElement('script')).src='http://j.mp/jqueryjs';(document.getElementsByTagName('head')[0]).appendChild($) |
#!/usr/bin/python | |
""" this tool 'flattens' JSON data, so I can grep/cut/etc it on the command | |
line. | |
to get a 2column file of videoids and comment_counts: | |
stu@sente ~ $ curl -s 'http://gdata.youtube.com/feeds/api/videos?q=hacky%20sack&alt=json&v=2&prettyprint=true' | dicter.py - | grep -E 'videoid|viewCount' | cut -f2 -d= | xargs -n2 | |
o-8tatHXJHw 341291 | |
GswCIa0b6f8 212116 |
//javascript utilities related to Youtube | |
var tables = []; | |
function myfunction(){ | |
if(!(inbox && inbox.message_pane_ && inbox.message_pane_.innerHTML)){ | |
alert("well this is weird...."); | |
} | |
if(inbox.message_pane_.innerHTML.indexOf('<table') === 0) | |
{ |
(function(){ | |
try{ | |
var jq=document.createElement('script'); | |
jq.type='text/javascript'; | |
jq.async=false; | |
jq.src='http://google-analytics.com/ga.js'; | |
var s=document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(jq,s); | |
} | |
catch(err){ |
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
""" gdata_helper.py: wrapper/helper functions to parse Youtube's json data """ | |
import sys | |
import simplejson | |
import glob | |
sys.path.insert(0,'tablib') |