Skip to content

Instantly share code, notes, and snippets.

View exKAZUu's full-sized avatar
🔥
🚀

Sakamoto, Kazunori exKAZUu

🔥
🚀
  • WillBooser Inc. / Waseda University / Tokyo Online University
  • Japan
  • 05:26 (UTC +09:00)
  • X @exKAZUu
View GitHub Profile
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# Usage:
# Remove the .sh file extension when you put the script in your hooks folder!
#
@exKAZUu
exKAZUu / gist:9148673
Last active August 29, 2015 13:56
How to construct development environment for Ruby on Rails
# Install Virtual Machine on Windows / Mac OS
1. Install VirtualBox (https://www.virtualbox.org/)
1. Install Vagrant (http://www.vagrantbox.es/)
@exKAZUu
exKAZUu / gist:8861743
Last active August 29, 2015 13:56
Deploy Ruby on Rail 4 on Heroku
rbenv install 2.0.0-p353
rbenv global 2.0.0-p353
rbenv rehash
gem install rails
rbenv rehash
ssh-keygen -t rsa # To generate a public key
heroku keys:add
git clone [email protected]:xxxxx.git -o heroku
@exKAZUu
exKAZUu / pom.xml
Last active December 18, 2015 01:19 — forked from sharwell/pom.xml
We should use build-helper-maven-plugin version 1.8 instead of 1.7 for Eclipse Juno on Mac OSX.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.uiuc</groupId>
<artifactId>cchistory</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>CodeCompletionWithHistory</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@exKAZUu
exKAZUu / gist:4353027
Created December 21, 2012 14:04
Print smaller input value of two input values with Brainf*ck.
>>>>+<<<<,[->>+>>>>>>+<<<<<<<<]>,[->>+>>>>+<<<<<<]>[-[<]>>-[<<<]>>><]>>.
@exKAZUu
exKAZUu / gist:4353025
Created December 21, 2012 14:04
Print larger input value of two input values with Brainf*ck.
>>>>+<<<<,[->>+>>>>>+<<<<<<<]>,[->>+>>>>>+<<<<<<<]>[-[<]>>-[<<<]>>><]>>.