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
Monitoring as byproduct of application | |
CM - Ansible, Chef, Puppet, Salt, Electric Commander | |
Public vs. Private Cloud | |
Vagrant - pipeline/process vs Docker | |
Key Management | |
APM - FogLight, New Relic, Appneta | |
How to deploy application? separate repo | |
How much testing and how to test? | |
Rundeck tool | |
Consul, Serf (Service Discovery) |
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
27 Cart.prototype.findTicket = function(ticket){ | |
28 return db.query(findTicketQuery, [this.sessionid, ticket.id]) | |
29 .then(function(results)){ | |
30 return new Ticket(results.rows[0]) | |
31 }) | |
32 } |
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
27 | |
28 mpg_combined_average = data_set.ix[ | |
29 (data_set['DRIVE_DESCR'] == 'All Wheel Drive') & | |
30 (data_set['VOLUME'] > 3) & | |
31 (data_set['GEARS'] % 2 == 0)].MPG_COMBINED.mean() | |
32 | |
33 print "MPG Combined is {mpg}".format(mpg=mpg_combined_average) |
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
def main(args): | |
parser = argparse.ArgumentParser() | |
subparsers = parser.add_subparsers() | |
parser_add_device = subparsers.add_parser( | |
'add-device', help="Add host sub-command") | |
parser_add_device.add_argument( | |
'--host', action='store', dest='host', | |
help="Hostname of Zenoss Server") | |
parser_add_device.add_argument( | |
'--username', action='store', dest='username') |
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 pdb | |
pdb.set_trace() | |
flav = flavor or srv_args.get("flavorRef") | |
dconf = disk_config if disk_config is not None else srv_args.get("OS-DCF:diskConfig", "AUTO") | |
pers = personality if personality is not None else srv_args.get("personality", []) | |
body = {"type": "launch_server", | |
"args": { | |
"server": { | |
"name": server_name or srv_args.get("name"), | |
"imageRef": image or srv_args.get("imageRef"), |
NewerOlder