-
Unify command line tools functions from zvsh, zvapp, and zpm into a single executable:
zvm
. -
zpm
can remain a separate project. The unifiedzvm
will import zpmlib and use it as sort of a plug-in.
This file contains hidden or 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
GET /snakebin: | |
Get an empty HTML form for uploading a script. | |
POST /snakebin: | |
Post file contents, get a /snakebin/:short URL back. | |
If a request specifies Accept: text/html, redirect to /snakebin/:short. |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains hidden or 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
AAAAAAAAAA |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
I propose ZPA
(ZeroVM Package Archive).
The assumption so far is that we will build this on Swift+ZeroCloud, and many of the functions of the ZPA will be written as zapps. Dogfooding is one of the reasons for this. Another reason is the Swift provides a horizontally-scalable storage system that can store millions of files. Since the ZPA is intended to be the central repository for developers to publish their zapps, ZPA must be capable of operating at this kind of scale.
If one were to build the ZPA from scratch, probably ~80% of the work would be focused purely on storage. With a platform like Swift, a lot of that is solved for us.
This file contains hidden or 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 getpass | |
import sys | |
from github import Github | |
if __name__ == '__main__': | |
org_name = sys.argv[1] | |
username = sys.argv[2] | |
password = getpass.getpass("Password for GitHub user '%s':" % username) | |
gh = Github(username, password) |
This file contains hidden or 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 | |
# Word count: | |
with open('/dev/input') as fp: | |
data = fp.read() | |
with open('/dev/out/reducer', 'a') as fp: | |
path_info = os.environ['PATH_INFO'] | |
# Split off the swift prefix |
- A new "stable" version is released at the end/beginning of each month,
denoted by an incremented version number.
- If no code changes within a given month, there is no release for this month.
- Version numbers are comprised of
major.minor.bugfix
. Example:1.2.4
.
This file contains hidden or 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
--- /etc/swift/object-server/1.conf.~1~ 2014-03-08 16:21:03.000000000 +0000 | |
+++ /etc/swift/object-server/1.conf 2014-03-20 16:24:21.000000000 +0000 | |
@@ -57,8 +57,13 @@ | |
# network_chunk_size = 65536 | |
# disk_chunk_size = 65536 | |
+[filter:object-query] | |
+use = egg:zerocloud#object_query | |
+zerovm_sysimage_devices = python2.7 /usr/share/zerovm/python.tar | |
+#zerovm_debug = True |