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
#!/usr/bin/env python | |
import subprocess | |
import urlparse | |
import urllib2 | |
from urllib import urlencode | |
import socket | |
import Queue | |
import threading | |
import getopt |
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
from scapy.all import * | |
import GeoIP | |
import xml.dom.minidom | |
def createkml(urls): | |
''' This function creates an XML document and adds the necessary | |
KML elements. | |
Mostly inspired by http://code.google.com/apis/kml/articles/csvtokml.html | |
''' | |
kmlDoc = xml.dom.minidom.Document() |
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
#!/usr/bin/env python | |
''' | |
Copyright (C) 2011 by Sebastien Goasguen | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
#!/usr/bin/env python | |
import sys | |
import os | |
import boto | |
import boto.ec2 | |
region = boto.ec2.regioninfo.RegionInfo(name="ROOT",endpoint="localhost") | |
apikey='KEbkKWtYIz_q_fnpOdwnHoZUJt5tiBNiHvf-oApytBd0adU-s-DRP3an1pqL6TutyUCzjRB9UNrBybVr3kcZ6Q' | |
secretkey='lXaWYrdJfwP6brE2tOxGnOSN8z_Evt7yyCg95jI__ywhmAFcZdhovAQX7-nGeG54thLtFI3HSFVa2dOPKsWcPQ' |
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
#!/bin/bash | |
#Licensed to the Apache Software Foundation (ASF) under one | |
#or more contributor license agreements. See the NOTICE file | |
#distributed with this work for additional information | |
#regarding copyright ownership. The ASF licenses this file | |
#to you under the Apache License, Version 2.0 (the | |
#"License"); you may not use this file except in compliance | |
#with the License. You may obtain a copy of the License at | |
#http://www.apache.org/licenses/LICENSE-2.0 | |
#Unless required by applicable law or agreed to in writing, |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
# Licensed to the Apache Software Foundation (ASF) under one | |
# or more contributor license agreements. See the NOTICE file | |
# distributed with this work for additional information | |
# regarding copyright ownership. The ASF licenses this file | |
# to you under the Apache License, Version 2.0 (the | |
# "License"); you may not use this file except in compliance | |
# with the License. You may obtain a copy of the License at | |
# |
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
#!/usr/bin/env python | |
import code | |
import sys | |
import os | |
import urlparse | |
from libcloud.compute.types import Provider | |
from libcloud.compute.providers import get_driver | |
import libcloud.security as sec |
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
{ | |
"title": "CloudStack Email Dashboard", | |
"services": { | |
"query": { | |
"idQueue": [ | |
1, | |
2, | |
3, | |
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
CloudStack at CloudPlugFest Madrid | |
================================== | |
These instructions aim to give an introduction to Apache CloudStack. Accessing a production cloud based on CloudStack, getting a feel for it, then using DevCloud2 to run CloudStack locally. | |
0. Getting your feet wet with http://exoscale.ch | |
1. Installation of the prerequisites | |
2. Compiling and installation from source | |
3. Installation with DevCloud the CloudStack sandbox | |
4. Using the community packaged repo. |
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
#!/usr/bin/env python | |
import code | |
import sys | |
import os | |
import urlparse | |
from libcloud.compute.types import Provider | |
from libcloud.compute.providers import get_driver | |
import libcloud.security as sec |
OlderNewer