brian wickman - @wickman
[TOC]
Pants makes the manipulation and distribution of hermetically sealed Python environments
curl https://www.googleapis.com/urlshortener/v1/url \ | |
-H 'Content-Type: application/json' \ | |
-d '{"longUrl": "http://www.google.com/"}' |
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest |
import tornado.httpserver | |
import tornado.ioloop | |
import tornado.web | |
import time | |
import os | |
CMD_FILE = "/tmp/nagios.cmd" | |
def process_data(data): | |
resutls = data.split(";") |
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
Usage: | |
fab deploy:appname | |
""" | |
from fabric.api import env, run, cd, local, put | |
env.hosts = ['myserver.com'] | |
env.user = 'eric' |
==> Downloading http://127.0.0.1:8000/PyQt-mac-gpl-4.8.6.tar.gz | |
File already downloaded in /Users/zoomq/Library/Caches/Homebrew | |
==> python ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.6/bin --destdir=/usr/local/Cella | |
==> make | |
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.0/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/lib/QtOpenGL.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.0/include -I/usr/local/Cellar/sip/4.12.4/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 - |
Moore lyxmoo@gmail.com | |
发件人当地时间: 发送时间 13:15 (GMT-08:00)。发送地当前时间:下午10:50。 ✆ | |
回复: shlug@googlegroups.com | |
发送至: Shanghai Linux User Group <shlug@googlegroups.com> | |
日期: 2012年1月10日 下午1:15 | |
主题: [shlug] android 开发客户端种类,只贴数据不说话。 | |
SCH-i579_2.2.1_weibo_2.5.2_android | |
SCH-i579_2.2.1_weibo_2.6.0_android | |
SCH-i579_2.3.4_weibo_2.6.0_android |
platform: macosx (darwin) | |
cp -rp bundle/ build | |
cd build | |
cd LuaJIT-2.0.0-beta9 | |
make TARGET_STRIP=@: PREFIX=/usr/local/openresty/luajit | |
==== Building LuaJIT 2.0.0-beta9 ==== | |
make -C src | |
HOSTCC buildvm.o | |
HOSTCC buildvm_asm.o | |
HOSTCC buildvm_peobj.o |
info it worked if it ends with ok | |
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'nae', '-g' ] | |
info using npm@1.1.1 | |
info using node@v0.6.15 | |
verbose /usr/local/bin/node node symlink | |
verbose config file /Users/zoomq/.npmrc | |
verbose config file /usr/local/etc/npmrc | |
verbose config file /usr/local/lib/node_modules/npm/npmrc | |
silly exec /usr/local/bin/node "/usr/local/lib/node_modules/npm/bin/npm-get-uid-gid.js" "nobody" 20 | |
silly spawning [ '/usr/local/bin/node', |