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
#include <cstdio> | |
template <std::size_t N> | |
void printArray(const int (&arr)[N]) { | |
for (int i = 0; i < N-1; i++) { | |
printf("%d, ", arr[i]); | |
} | |
printf("%d\n", arr[N-1]); | |
} |
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
<html> | |
<head> | |
<script src="jquery.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="container"> | |
</div> | |
<script type="text/javascript"> | |
$('#container').load('hello.txt'); | |
</script> |
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
<?php | |
// get the raw HTTP post data | |
$postdata = file_get_contents('php://input'); | |
// the post data is JSON, so let's decode it and grab the various fields | |
$json = json_decode($postdata); | |
$subject = $json->Subject; | |
$message = $json->Message; | |
$signature = $json->Signature; |
NewerOlder