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 demoApp = angular.module('demoApp', ['ngRoute']); | |
demoApp.controller('mainController', function($scope){ | |
$scope.customers = [ | |
{name: "hello", location: "world"}, | |
{name: "hello2", location: "world1"}, | |
{name: "hello3", location: "world2"}, | |
{name: "hello4", location: "world3"}, | |
{name: "hello5", location: "world4"} | |
] |
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
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://membersuite.com/schemas" xmlns:con="http://membersuite.com/contracts"> | |
<soapenv:Header> | |
<sch:ConciergeRequestHeader> | |
<sch:AccessKeyId>my_access_key</sch:AccessKeyId> | |
<sch:AssociationId>my_id</sch:AssociationId> | |
<sch:Signature>signature</sch:Signature> | |
</sch:ConciergeRequestHeader> | |
</soapenv:Header> | |
<soapenv:Body> |
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
<a:SessionID i:nil="true"/> |
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
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> | |
<s:Body> | |
<WhoAmIResponse xmlns="http://membersuite.com/contracts"> | |
<WhoAmIResult xmlns:a="http://schemas.datacontract.org/2004/07/MemberSuite.SDK.Results" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<a:Cacheable>false</a:Cacheable> | |
<a:Errors xmlns:b="http://schemas.datacontract.org/2004/07/MemberSuite.SDK.Concierge"/> | |
<a:NotModified>false</a:NotModified> | |
<a:Success>true</a:Success> | |
<a:WorkflowExecutionID i:nil="true"/> | |
<a:WorkflowRunID i:nil="true"/> |
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 SOAPpy import WSDL | |
association_id = "my-association-id" | |
url = "http://membersuite.com/contracts/IConciergeAPIService/WhoAmI" | |
#The location of our webservice description | |
WSDLFile = url+association_id | |
#Object to handle the requests and responses from our | |
#webservice |
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 SOAPpy import WSDL | |
#The location of our webservice description | |
WSDLFile = "http://www.webservicex.net/country.asmx?WSDL" | |
#Object to handle the requests and responses from our | |
#webservice | |
proxy = WSDL.Proxy(WSDLFile) | |
#this should print out the available methods. |
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 SOAPpy | |
url = "http://footballpool.dataaccess.eu/data/info.wso" | |
server = SOAPpy.SOAPProxy(url, 'http://footballpool.dataaccess.eu') | |
print server.Cities() | |
Output: | |
<SOAPpy.Types.structType CitiesResult at 4534171768>: {'string': ['Charkov', 'Donetsk', 'Gdansk', 'Kiev', 'Lviv', 'Poznan', 'Warschau', 'Wroclaw']} | |
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
jQuery('ul.sf-menu').superfish({ | |
delay:400, //looks like this is what is controlling the delay, maybe make it a little longer | |
// pathClass: 'current-menu-item', | |
// speed: 'fast', | |
autoArrows: true, // disable generation of arrow mark-up | |
dropShadows: false | |
// animation: {opacity:'show'} | |
}); |
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_data = '<SalesOrders>'. | |
'<row no="1">'. | |
'<FL val="Subject"><?php echo $_POST["subject"]; ?>!/FL>'. | |
'<FL val="Due Date"><?php echo $_POST["date"]; ?>!</FL>'. | |
'<FL val="Sub Total"><?php echo $_POST["total"]; ?>!</FL>'. | |
'<FL val="Tax"><?php echo $_POST["tax"]; ?>!</FL>'. | |
'</row>'. | |
'</SalesOrders>'; |
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
<VirtualHost *:80> | |
ServerName nodeline.com | |
WSGIApplicationGroup %{GLOBAL} | |
WSGIPassAuthorization On | |
WSGIDaemonProcess pyramid user=main group=main processes=1 \ | |
threads=4 \ | |
python-path=/home/main/modwsgi/env/lib/python2.6/site-packages | |
WSGIScriptAlias /myapp /home/main/modwsgi/env/pyramid.wsgi |