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
| Hello all, | |
| I would like to announce Libcloud 0.5.0. This version represents a big milestone, because it includes many new features, drivers, improvement and two totally new API's - storage and load-balancers. | |
| Major changes and features since the last release | |
| New Storage API | |
| Storage API which allows you to manage cloud storage has been added to the core. Currently two provider drivers are available (Rackspace Cloud Files and Amazon S3), but you can expect more drivers in the future releases. |
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
| Management API | |
| get /1.0/plugins/ | |
| get /1.0/plugins/:pluginName/ | |
| get /1.0/plugins/:pluginName/settings | |
| put /1.0/plugins/:pluginName/enable. | |
| put /1.0/plugins/:pluginName/disable/ | |
| Endpoints exposed by the plugins |
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
| function multi { | |
| n=$1; shift; for ((i=0;i<n;i++)) do $@; done; | |
| } |
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
| var fs = require('fs'); | |
| var findit = require('findit'); | |
| var burrito = require('burrito'); | |
| var finder = findit.find('./lib'); | |
| var vars = {}; | |
| function processFile(filePath) { |
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
| _$ponnies["2.js"][1]++; | |
| var fs = require("fs"); | |
| _$ponnies["2.js"][3]++; | |
| var sprintf = require("sprintf").sprintf; | |
| _$ponnies["2.js"][4]++; | |
| var terminal = require("terminal"); | |
| _$ponnies["2.js"][5]++; | |
| var findit = require("findit"); | |
| _$ponnies["2.js"][6]++; | |
| var burrito = require("burrito"); |
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 | |
| # Convert 1Password .csv file to the KeePassX xml format | |
| # Note: Ignores categories | |
| import sys | |
| import csv | |
| import unicodedata | |
| import lxml.etree as ET | |
| # Maps fields names from 1Password to KeepPassX |
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
| <?xml version="1.0"?> | |
| <entries> | |
| <entry> | |
| <TenantId>12345</TenantId> | |
| <ServiceName>MaaS</ServiceName> | |
| <ResourceID>enAAAA</ResourceID> | |
| <UsageID>550e8400-e29b-41d4-a716-446655440000</UsageID> | |
| <EventType>create</EventType> | |
| <category term="monitoring.entity.create"/> | |
| <DataCenter>global</DataCenter> |
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
| var fs = require('fs'); | |
| var et = require('elementtree'); | |
| var XML = et.XML; | |
| var ElementTree = et.ElementTree; | |
| var element = et.Element; | |
| var subElement = et.SubElement; | |
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
| var et = require('elementtree'); | |
| var XML = et.XML; | |
| var ElementTree = et.ElementTree; | |
| var element = et.Element; | |
| var subElement = et.SubElement; | |
| var date, root, tenantId, serviceName, eventType, usageId, dataCenter, region, | |
| checks, resourceId, category, startTime, resourceName, etree, xml; |
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
| <?xml version="1.0"?> | |
| <entry xmlns="http://www.w3.org/2005/Atom"> | |
| <TenantId>12345</TenantId> | |
| <ServiceName>MaaS</ServiceName> | |
| <ResourceID>enAAAA</ResourceID> | |
| <UsageID>550e8400-e29b-41d4-a716-446655440000</UsageID> | |
| <EventType>create</EventType> | |
| <category term="monitoring.entity.create"/> | |
| <DataCenter>global</DataCenter> | |
| <Region>global</Region> |