- フォーラムでの回答
- issueを立ててバグ報告
- slackの場でトラブルシューティング
- ドキュメントの翻訳
- GitHub上でスターを付ける
- プラグインを開発して公開
- Tipsなどをブログにまとめて公開
- examplesリポジトリへのユースケース追加
This file contains 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
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.3.1.js"></script> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$.ajax({ |
This file contains 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
{ | |
"APIAssumeRolePolicyDocument": { | |
"Type": "AWS::IAM::Role", | |
"Properties": { | |
"AssumeRolePolicyDocument": { | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { |
This file contains 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
'use strict'; | |
const AWS = require('aws-sdk'); | |
const BbPromise = require('bluebird'); | |
class AwsProvider { | |
request(service, method, params) { | |
const awsService = new AWS[service](); | |
const req = awsService[method](params); |
This file contains 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
service: horike-service | |
provider: aws | |
functions: | |
hello: | |
handler: handler.hello | |
events: | |
- http: | |
path: hello | |
method: GET | |
resources: |
This file contains 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
const path = require('path'), | |
chai = require('chai'), | |
should = chai.should(), | |
Serverless = require('serverless') | |
describe('ServerlessProjectTest', function() { | |
beforeEach(function(done) { | |
this.timeout(0); | |
s = new Serverless(); |
This file contains 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
{ | |
"Parameters":{ | |
"InstanceType": { | |
"Description": "EC2 instance type", | |
"Type": "String", | |
"Default": "t2.small", | |
"AllowedValues": [ | |
"t2.small", | |
"t2.medium", | |
"t2.large", |
This file contains 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 | |
require_once 'vendor/autoload.php'; | |
use Elastica\Client; | |
use Elastica\Query; | |
use Elastica\Query\QueryString; | |
add_action( 'pre_get_posts', function($query){ | |
if ( $query->is_search() && $query->is_main_query() ) { | |
$client = new \Elastica\Client(array( |
NewerOlder