Skip to content

Instantly share code, notes, and snippets.

🙂

a-know a-know

🙂
Block or report user

Report or block a-know

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@a-know
a-know / README.md
Last active Jul 17, 2019
Get and Show cell's value from Google Spreadsheet Widget for Dashing
View README.md

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 / pixela_release_notes.md
Last active Oct 16, 2018
Pixela Release Notes
View pixela_release_notes.md

Release information of Pixela has moved here, thank you.

@a-know
a-know / index.html
Created Sep 24, 2017
GAE で静的コンテンツ配信・静的ファイル
View index.html
<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 Sep 24, 2017
GAE で静的コンテンツ配信・アプリケーションファイル
View hello.go
package hello
import (
"fmt"
"net/http"
)
func init() {
http.HandleFunc("/hello", handler)
}
@a-know
a-know / app.yaml
Created Sep 24, 2017
GAE で静的コンテンツ配信・プロジェクト定義ファイル
View app.yaml
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 / firebase_tutorial.html
Last active Oct 28, 2015
Firebase Tutorial
View firebase_tutorial.html
<!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 / README.md
Last active Aug 29, 2015
Hatena Bookmark Favorites List Widget for Dashing
View README.md

Preview

preview

Description

Displaying Hatena Bookmark Favorites List of user you specified.

Dependency

Nothing.

Installation

View 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 Aug 29, 2015
2015/04/12 開催トークセッション "Amazon Web Service vs Google Cloud Platform" Q&A
View aws_vs_gcp.md

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

ご質問

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

お答え

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

  1. Route53 でのHelth Checkを作成
@a-know
a-know / load_csv.rb
Created May 6, 2014
Google APIs Client Library for Ruby を使って BigQuery にデータをロードする
View load_csv.rb
require 'bundler/setup'
require 'google/api_client'
require 'yaml'
require 'json'
def multipart_boundary
'xxx'
end
# load credential yaml
You can’t perform that action at this time.