if you are using linux, unix, os x:
pip install -U setuptools
pip install -U pip
pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
heat_template_version: 2013-05-23 | |
description: Deploy Salt Cluster | |
parameters: | |
keyname: | |
type: string | |
description: Key name for loggin in to instances | |
imagename: | |
type: string |
if you are using linux, unix, os x:
pip install -U setuptools
pip install -U pip
pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
import uuid | |
import wtforms_json | |
from sqlalchemy import not_ | |
from sqlalchemy.dialects.postgresql import UUID | |
from wtforms import Form | |
from wtforms.fields import FormField, FieldList | |
from wtforms.validators import Length | |
from flask import current_app as app | |
from flask import request, json, jsonify, abort |
####################### | |
# Setup | |
####################### | |
mkdir annex-test | |
cd annex-test | |
git init | |
git annex init master | |
####################### | |
# Fab setup task |
var _gaq = _gaq || []; | |
(function(win, depth){ | |
var iframe = false; | |
if(win){ | |
if( | |
win.location !== win.parent.location || | |
win.self !== win.top || | |
(win.self.frameElement && (win.self.frameElement+"").indexOf("HTMLIFrameElement") > -1) | |
){ |
package com.hark | |
{ | |
import flash.system.*; | |
import flash.display.MovieClip; | |
import flash.external.ExternalInterface; | |
import flash.events.Event; | |
import flash.events.SecurityErrorEvent; | |
public class bs extends MovieClip { | |
// Allow insecure access so anyone can embed it. |
## The quick-and-nasty CVE-2013-0156 Heroku inspector! | |
## Originally brought to you by @elliottkember with changes by @markpundsack @ Heroku | |
## Download and run using: | |
## ruby heroku-CVE-2013-0156.rb | |
`heroku list`.split("\n").each do |app| | |
app = app.strip | |
# Some "heroku apps" lines have === formatting for grouping. They're not apps. | |
next if app[0..2] == "===" |
#!/usr/bin/env ruby | |
Dir.chdir File.join(__FILE__, "../..") | |
unless ENV['EDITOR'] | |
puts "No EDITOR found. Try:" | |
puts "export EDITOR=vim" | |
exit 1 | |
end | |
unless ARGV.count == 2 |
{% macro form_field(field) -%} | |
{% set with_label = kwargs.pop('with_label', False) %} | |
{% set placeholder = '' %} | |
{% if not with_label %} | |
{% set placeholder = field.label.text %} | |
{% endif %} | |
<div class="control-group {% if field.errors %}error{% endif %}"> | |
{% if with_label %} | |
<label for="{{ field.id }}" class="control-label"> | |
{{ field.label.text }}{% if field.flags.required %} *{% endif %}: |