Skip to content

Instantly share code, notes, and snippets.

View allomov's full-sized avatar

Aliaksandr Lomau allomov

View GitHub Profile
...
copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-ppc64le-2.7/cryptography/hazmat/bindings/commoncrypto
copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-ppc64le-2.7/cryptography/hazmat/bindings/commoncrypto
running egg_info
writing requirements to src/cryptography.egg-info/requires.txt
writing src/cryptography.egg-info/PKG-INFO
writing top-level names to src/cryptography.egg-info/top_level.txt
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing entry points to src/cryptography.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
---
jobs:
- name: devbox
template: dea_next
properties:
domain: vcap.me
networks:
apps: default
int i = 1; // integer type
double d = 2.0; // floating point type
if (d > i) d = i; // comparing and assignment causes implicit type converstion
class Shape {
virtual void paint()=0;
};
class Circle : public Shape {
void paint(){ }
};
class Rectangle : public Shape {
void paint(){ }
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") 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.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "trusty-server"
@allomov
allomov / juju-commands.md
Last active August 29, 2015 13:57
juju cheatshit

juju cheatshit

containers are considers to be vm, lxc or chroots juju ignorant about provider

stable/dev versions

sudo add-apt-repository ppa:juju/stable

@allomov
allomov / virtual_box_restart.sh
Created March 10, 2014 12:22
restart virtual box service
sudo /Library/StartupItems/VirtualBox/VirtualBox restart
curl https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git
# install go
mkdir ~/go
cd !$
wget https://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz
tar xvf go1.2.1.linux-amd64.tar.gztar.gz
export GOPATH=~/go
export GOROOT=~/go/go
$GOROOT/bin/go get launchpad.net/cobzr
$GOROOT/bin/go install launchpad.net/cobzr
vagrant:~/launchpad/trusty/bundle → juju-deployer -Wvbc bundle-v001-single-node.yaml
2014-04-09 22:51:34 Using runtime GoEnvironment on juju-amazon
2014-04-09 22:51:34 Using deployment cloudfoundry-base
2014-04-09 22:51:34 Starting deployment of cloudfoundry-base
2014-04-09 22:51:44 Connected to environment
2014-04-09 22:51:44 Getting charms...
2014-04-09 22:51:53 Resolving configuration
Traceback (most recent call last):
File "/usr/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.3.4', 'console_scripts', 'juju-deployer')()