Skip to content

Instantly share code, notes, and snippets.

View a-know's full-sized avatar
👶
I'm obsessed with childcare.

a-know (Daisuke Inoue) a-know

👶
I'm obsessed with childcare.
View GitHub Profile
@a-know
a-know / pixela_release_notes.md
Last active October 16, 2018 04:55
Pixela Release Notes

Release information of Pixela has moved here, thank you.

@a-know
a-know / index.html
Created September 24, 2017 12:38
GAE で静的コンテンツ配信・静的ファイル
<html>
<head>
<title>Hello World!! by static file</title>
</head>
<body>
<h1>Hello World!! by static file</h1>
</body>
</html>
@a-know
a-know / hello.go
Created September 24, 2017 12:37
GAE で静的コンテンツ配信・アプリケーションファイル
package hello
import (
"fmt"
"net/http"
)
func init() {
http.HandleFunc("/hello", handler)
}
@a-know
a-know / app.yaml
Created September 24, 2017 12:32
GAE で静的コンテンツ配信・プロジェクト定義ファイル
application: <project-name>
version: 100
runtime: go
api_version: go1
handlers:
- url: /
static_files: static/html/index.html
upload: static/html/index.html
@a-know
a-know / README.md
Last active October 13, 2022 07:03
!! Deprecated !! - Get and Show cell's value from Google Spreadsheet Widget for Dashing

Description

Get and Show cell's value from Google Spreadsheet Widget for Dashing.

Dependency

  • gem 'google-api-client'
  • gem 'google_drive'

Installation

dashing install e0ad37c2e137d2da0916

@a-know
a-know / README.md
Last active August 29, 2015 14:25
Hatena Bookmark Favorites List Widget for Dashing

Preview

preview

Description

Displaying Hatena Bookmark Favorites List of user you specified.

Dependency

Nothing.

Installation

@a-know
a-know / firebase_tutorial.html
Last active October 28, 2015 05:27
Firebase Tutorial
<!doctype html>
<html>
<head>
<script src='https://cdn.firebase.com/js/client/2.2.1/firebase.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script>
<link rel='stylesheet' type='text/css' href='/resources/tutorial/css/example.css'>
</head>
<body>
<div id='messagesDiv'></div>
<input type='text' id='nameInput' placeholder='Name'>
@a-know
a-know / press enter
Created May 13, 2015 01:44
press enter
# press enter then `ll & git st`
function do_enter() {
if [ -n "$BUFFER" ]; then
zle accept-line
return 0
fi
echo
ll
echo -e "\e[0;33m--- git status ---\e[0m"
git st
@a-know
a-know / aws_vs_gcp.md
Last active August 29, 2015 14:19
2015/04/12 開催トークセッション "Amazon Web Service vs Google Cloud Platform" Q&A

当日頂きましたご質問のうち、下記について確認が取れましたので、この場をお借りしましてお答え致します。

ご質問

Route53 での DNS Failover、TTL が 300秒固定だと思いますが、その影響を最小限にするために何かしてることはありますか? また、https への対応は?

お答え

弊社では、下記のような手順で DNS フェイルオーバーを実現しています。

  1. Route53 でのHelth Checkを作成
@a-know
a-know / load_csv.rb
Created May 6, 2014 14:00
Google APIs Client Library for Ruby を使って BigQuery にデータをロードする
require 'bundler/setup'
require 'google/api_client'
require 'yaml'
require 'json'
def multipart_boundary
'xxx'
end
# load credential yaml