Skip to content

Instantly share code, notes, and snippets.

View wankormaru's full-sized avatar

wankoromaru wankormaru

View GitHub Profile
@wankormaru
wankormaru / sample_athena.php
Last active November 19, 2020 09:15
Athena SELECT Query Sample Program
<?php
/*-----------------------------
* Athena SELECT Query Sample Program
*
* - IAM でユーザ作成必要
* 必要な管理ポリシー : AmazonAthenaFullAccess
* - 作ったIAMユーザのクレデンシャル情報を aws configure で設定必要
* - AWS SDK for PHP version 3 のインストールが必要
*
* @date 2017/08/06
@wankormaru
wankormaru / 0_reuse_code.js
Created March 3, 2017 13:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@wankormaru
wankormaru / config.php
Created January 4, 2014 03:46
AWS SDK for PHP ver.2.5 config.php
<?php return array(
'includes' => array('_aws'),
'services' => array(
'default_settings' => array(
'params' => array(
'key' => 'AAAAAAAAAAAAAAAAAAAA',
'secret' => 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
'region' => 'ap-northeast-1'
)
),