Skip to content

Instantly share code, notes, and snippets.

@redfoxkamakura
redfoxkamakura / Vagrantfile
Last active August 29, 2015 14:03
Docker検証用のVagrantfile
#############################
# Provision Scripts
#############################
$app_update = <<SCRIPT
#!/bin/bash
sudo apt-get update
sudo apt-get -y upgrade
SCRIPT
@redfoxkamakura
redfoxkamakura / heatmapsample.html
Last active August 29, 2015 14:01
[GoogleMapsAPI]sampleデータを使ったヒートマップの例
<!DOCTYPE html>
<html>
<head>
<title>Google Maps API v3</title>
<meta charset="utf-8"/>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&v=3&language=ja&libraries=visualization"></script>
<script type="text/javascript">
var data = {};
data['東京都'] = { pos: [35.6895, 139.6917], num: 13159388 };
data['神奈川県'] = { pos: [35.4475, 139.6423], num: 9048331 };
@redfoxkamakura
redfoxkamakura / brewfile
Last active August 29, 2015 14:01
[WIP]とあるプロジェクトで使うパッケージをインストールするbrewfile[こんなのあったら便利かな]
#事前にhomebrew以外にcommand line toolも必要?
tap phinze/homebrew-cask || true
tap homebrew/versions || true
update || true
install brew-cask || true
install git || true
install php54 || true
install mysql || true
install redis || true