Skip to content

Instantly share code, notes, and snippets.

View Demeter's full-sized avatar

demeter Demeter

  • Phoenix Arizona
  • 03:56 (UTC -07:00)
View GitHub Profile
@Demeter
Demeter / unshortenurl.py
Created September 20, 2011 00:14 — forked from zhasm/unshortenurl.py
Restore shortened URLs
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#author: rex
#blog: http://iregex.org
@Demeter
Demeter / user_flask_appengine.py
Created September 19, 2011 23:54 — forked from code/user_flask_appengine.py
googappapiflaskIDs
from flask import g, session
from google.appengine.api import users
class GuestUser(object):
def email(self):
return None
def nickname(self):
return 'Guest'
@Demeter
Demeter / file.md
Created September 18, 2011 05:31 — forked from quirkey/file.md
From Tessy to everyone

Hello How are you today, I hope all is well with you .I am sorry to worry you with my proposal for a relationship with you, but I know that you will grant my request in good faith and understanding, My name is Tessy I just went through your profile today at (github.com) and i have no options than letting you know that i am interested in having a relationship with you, I will also like to Know you the more, you can send an email to my email address so that I can send you more details about my self including my picture. I believe we can move from here. But bear in mind that love has no colors barrier, no educational back ground barrier, no socio-economic barrier, religious, language, nationality or distance barrier, the only important thing there is love. I am waiting for your mail to my email address above. Yours sincerely.

Tessy,

@Demeter
Demeter / ip-uploader.py
Created September 18, 2011 05:16 — forked from PHLAK/ip-uploader.py
Connects to whatismyip.com, obtains your external IP address and uploads a text file containg the IP to a chosen FTP server. Requires Python to run.
#! /usr/bin/env python
import httplib
import sys
import os
import ftplib
# File IP will be output to
file="ip.txt"
# Replace server, user, and password with your login information
@Demeter
Demeter / sothebys.rb
Created September 17, 2011 00:41 — forked from henrik/sothebys.rb
Sotheby's full-size image ripper
#!/usr/bin/env ruby
# Sothebys full-size image ripper.
# Gets the full-size images from the lots listed after __END__.
# By Henrik Nyh <http://henrik.nyh.se> 2010-12-23 under the MIT license.
require "open-uri"
# We get an error page if we do not specify a user agent.
USER_AGENT = "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; Media Center PC 4.0; SLCC1; .NET CLR 3.0.04320)"
I took the top suggestion out of google suggest, try it for yourself.
http://www.google.com/webhp?complete=1&hl=en
does god... exist
why are religions... different
why are jews... hated
why are muslims... so violent
why are christians... so judgemental
why are buddhists... vegetarian
why cant we.. be friends