Skip to content

Instantly share code, notes, and snippets.

View ngtk's full-sized avatar
🕺
Being dancing to AI's tune

Kento Nagata ngtk

🕺
Being dancing to AI's tune
View GitHub Profile
@ngtk
ngtk / Berksfile
Created January 14, 2014 05:05
ChefとVagrantで楽しいクッキング ref: http://qiita.com/ngtk/items/aee1de7243b1405b6568
site :opscode
cookbook 'nginx'
@ngtk
ngtk / install_mahout.sh
Last active December 29, 2015 07:39
Install mahout manually
wget http://ftp.riken.jp/net/apache/mahout/0.7/mahout-distribution-0.7-src.tar.gz
tar -xzf mahout-distribution-0.7-src.tar.gz
cd mahout-distribution-0.7
mvn install -DskipTests
sudo mv ../mahout-distribution-0.7 /usr/local/mahout
echo \#\#\ Mahout >> ~/.bashrc
echo export\ PATH=/usr/local/mahout/bin:\$PATH >> ~/.bashrc
source ~/.bashrc
@ngtk
ngtk / WordPress_within_mysql
Created July 21, 2013 01:53
AWS CloudFormation template
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "AWS CloudFormation Sample Template WordPress_Single_Instance: WordPress is web software you can use to create a beautiful website or blog. This template installs a single-instance WordPress deployment using a local MySQL database to store the data. It demonstrates using the AWS CloudFormation bootstrap scripts to install packages and files at instance launch time. **WARNING** This template creates an Amazon EC2 instance. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances",
"Type" : "String"