首先要安装pylast库。
$ easy_install pylast
然后填写里面的用户名密码即可~
from shorturl.services.bit_ly import * | |
a = bit_ly('http://www.fanhe.org/') | |
a.init_api('','') | |
print a.GetShortUrl() |
a { | |
text-decoration:none!important; | |
} | |
#columns{ | |
-webkit-box-shadow:0 0 20px black; | |
-webkit-border-radius:10px; | |
} | |
#main{ |
*{ | |
font-family:"文泉驿微米黑" !important; | |
} | |
a { | |
text-decoration:none!important; | |
} | |
#columns{ | |
-webkit-box-shadow:0 0 20px black; |
#!/usr/bin/python | |
#coding=UTF-8 | |
'''Fanfou Hualao Bash''' | |
import sys | |
from os import system | |
AT = None | |
TOPIC = None | |
def Send_Message(msg): |
server { | |
listen 80; | |
server_name XXXX; | |
location / { | |
proxy_redirect off; | |
proxy_set_header Host "spreadsheets.google.com"; | |
proxy_pass http://spreadsheets.google.com; | |
proxy_set_header x-real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
gcci () { | |
if [ "$#" -eq "0" ] | |
then | |
return | |
fi | |
cname=$(echo "$1.c") | |
gcc -Wall -g $cname -o $1 && time ./$1 | |
} | |
new () { |
901a902,940 | |
> | |
> kaomojiData= | |
> { | |
> "<( ̄︶ ̄)>", | |
> "╮(╯▽╰)╭", | |
> "(→_→)", | |
> "Σ( ° △ °|||)︴", | |
> "(>﹏<)", | |
> "( ̄▽ ̄)~*", |
server | |
{ | |
listen 80; | |
server_name fourws.fanhe.org; | |
location / | |
{ | |
proxy_pass http://fanfou-sender.appspot.com; | |
proxy_set_header Host "fanfou-sender.appspot.com"; | |
proxy_set_header X-Real-IP $remote_addr; |
[fanzeyi@localhost TRPG]$ python blood.py | |
Status Maker Version 0.1 alpha | |
Copyright (C) 2011 fanhe.org | |
Status > people Zeray 30 | |
Status > print | |
+----------------------------+ | |
| Status | | |
+----------------------------+ | |
| Zeray | |