View default_handler.js
... | |
'AskForTheMeetingRoomReservation': function() { | |
const mr = this.event.request.intent.slots.meeting_room || false; | |
const t = this.event.request.intent.slots.time || false; | |
const aipoObj = Aipo.new(AIPO_KEY); | |
const requestId = this.event.request.requestId; | |
const token = this.event.context.System.apiAccessToken; | |
const endpoint = this.event.context.System.apiEndpoint; | |
const ds = new Alexa.services.DirectiveService(); |
View file0.sql
delete from [テーブル名]; |
View file0.sh
echo "RemoteIPHeader X-Forwarded-For" > /etc/httpd24/conf.d/mod_remoteip.conf | |
echo "RemoteIPTrustedProxy <WAFのIPアドレス1> <WAFのIPアドレス2>" >> /etc/httpd24/conf.d/mod_remoteip.conf | |
service httpd24-httpd restart |
View file0.txt
0 4 1 1,3,5,7,9,11 * root /usr/bin/systemctl stop httpd.service && /usr/bin/certbot renew --force-renew --quiet --post-hook "/usr/bin/systemctl start httpd.service" |
View FriendCodeSolts
lee | |
dohyung | |
sakura | |
hamano |
View Vagrantfile
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.define "host" do |node| | |
node.vm.box = "geerlingguy/centos7" | |
node.vm.hostname = "host" | |
node.vm.network :private_network, ip: "192.168.43.51" | |
end |
View gist:fbefe78b8f67fd15b54c8a65d63e0c4c
This is gist. | |
There are many like it, but this one is mine. | |
It is my life. | |
I must master it as I must master my life. | |
Without me gist is useless. | |
Without gist, I am useless. |
View file0.sh
$ aws kms encrypt --key-id alias/encryption_key_wu --plaintext "hooks.slack.com/services/******/*******/*****" |
View file0.txt
CloudFront は、静的および動的なウェブコンテンツ(.html、.css、.php、イメージファイルなど)をエンドユーザーに高速に配信するウェブサービスです。CloudFront は、エッジロケーションというデータセンターの世界的ネットワークを経由してコンテンツを配信します。CloudFront を使用して提供されているコンテンツをユーザーがリクエストすると、そのユーザーはエッジロケーションにルーティングされます。エッジロケーションでは最も低いレイテンシー(遅延時間)が提供されるので、コンテンツは可能な最高のパフォーマンスで配信されます。コンテンツがエッジロケーション内に最も低いレイテンシーですでに存在している場合、CloudFront はそのコンテンツを即時に配信します。コンテンツがこのエッジロケーションに現在存在しない場合、CloudFront は、コンテンツの最終バージョンのソースとして識別されている Amazon S3 バケットまたは HTTP サーバー(ウェブサーバーなど)からコンテンツを取り込みます。 |
View composer.json
"require": { | |
"j4mie/idiorm": "1.5.1" | |
} |
NewerOlder