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
| /** | |
| * Submits a POST request to the given URL with the given XML as an attachment. | |
| * | |
| * @param url | |
| * @param xmlContent | |
| * @return | |
| * @throw IOException | |
| * */ | |
| public ContentExchange postXML(String url, String xmlContent) throws IOException { | |
| HttpClient client = getClient(); |
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
| server { | |
| listen 80; | |
| server_name www.compassionpit.org; | |
| rewrite ^/(.*) http://www.compassionpit.com/$1 permanent; | |
| } | |
| server { | |
| listen 80; # your server's public IP address | |
| server_name www.compassionpit.com; |
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
| zachary@Zachary-Burts-MacBook-Air-2 ~/Code/dnode/examples/web-express[master*]$ npm ls | |
| /Applications/MAMP/htdocs/dnode/examples/web-express | |
| └─┬ [email protected] | |
| ├─┬ [email protected] | |
| │ └── [email protected] | |
| ├── [email protected] | |
| ├── [email protected] | |
| ├─┬ [email protected] | |
| │ ├── [email protected] | |
| │ └── [email protected] |
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
| $("button#login").click(function() { | |
| DNode.connect(function (remote) { | |
| remote.login($("#registerEmail").val(), $("#registerPassword").val(), function(successful_login) { | |
| if(successful_login) { | |
| console.log('login successful!'); | |
| } | |
| else { | |
| console.log('login failed.'); | |
| } | |
| }); |
NewerOlder