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
<configuration> | |
.. 省略 .. | |
<appSettings> | |
<add key="ConsumerKey" value="** API key **"/> | |
<add key="ConsumerSecret" value="** API secret **"/> | |
<add key="AccessToken" value="** Access token **"/> | |
<add key="AccessTokenSecret" value="** Access token secret **"/> | |
</appSettings> | |
</configuration> |
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
div#mainArea { | |
background: url('//pronama.azurewebsites.net/chrome/conoha/bgKeiMode2.jpg') no-repeat right 100px; | |
} | |
div#imgDeformedConoHa { | |
background-image: url('//pronama.azurewebsites.net/chrome/conoha/imgKeiInfo.png'); | |
} | |
div#loading > div div { | |
background-image: url('//pronama.azurewebsites.net/chrome/conoha/bgLoadingFilmKei.png'); | |
} |
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
$('body').easterEgg(); | |
$('body').on('jQuery.esterEgg', function () { | |
$("#pronama-logo").rotate({ | |
angle: 0, | |
animateTo: 360 | |
}); | |
}); |
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($) { | |
var mainContent = $("#primary"), | |
height = mainContent.outerHeight(), // コンテンツの縦幅 この幅までモジュールを追加する | |
aside = $("#content-sidebar"), // モジュールを追加する領域 | |
buffer = 80; | |
function getMoreContent() { | |
$.ajax({ | |
type: "GET", | |
url: "http://***.azurewebsites.net/api/values", // 追加モジュールのデータを返す API を用意 |
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
<AllowCrossSiteJson> | |
Public Function GetValue(ByVal id As Integer) As String | |
Return "" | |
End Function |
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
Public Class AllowCrossSiteJsonAttribute | |
Inherits System.Web.Http.Filters.ActionFilterAttribute | |
Public Overrides Sub OnActionExecuted(actionExecutedContext As Http.Filters.HttpActionExecutedContext) | |
If actionExecutedContext.Request IsNot Nothing Then | |
actionExecutedContext.Response.Headers.Add("Access-Control-Allow-Origin", "*") | |
End If | |
MyBase.OnActionExecuted(actionExecutedContext) | |
End Sub |
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
' GET api/values/5 | |
<CacheOutput(ClientTimeSpan:=86400, ServerTimeSpan:=86400)> | |
Public Function GetValue(ByVal id As Integer) As String | |
Return "" | |
End Function |
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
#coding:utf-8 | |
import cgi | |
def application(environ, start_response): | |
fs = cgi.FieldStorage(environ=environ, fp=environ['wsgi.input']) | |
value = fs.getfirst('val', 'Python') | |
status = '200 OK' | |
response_headers = [('Content-type', 'text/plain')] |
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
#coding:utf-8 | |
def application(environ, start_response): | |
status = '200 OK' | |
response_headers = [('Content-type', 'text/plain')] | |
start_response(status, response_headers) | |
yield 'こんにちは\n' |
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
diff --git a/Sample/src/SignedRequestHelper.cs b/Sample/src/SignedRequestHelper.cs | |
index 050e946..dec1058 100644 | |
--- a/Sample/src/SignedRequestHelper.cs | |
+++ b/Sample/src/SignedRequestHelper.cs | |
@@ -31,6 +31,7 @@ namespace AmazonProductAdvtApi | |
{ | |
private string endPoint; | |
private string akid; | |
+ private string associateTag; | |
private byte[] secret; |