Skip to content

Instantly share code, notes, and snippets.

sudo apt-get remove vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
sudo apt-get purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
sudo apt-get build-dep vim-gnome
sudo apt-get install luajit libluajit-5.1 libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev mercurial
cd /usr/bin
sudo ln -s luajit-2.0.0-beta9 luajit
cd ~
# encoding: utf-8
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
$base-color: #f2eff0
$main-color: #333333
$accent-color: #1e965c
$base-text-color: darken($base-color, 50%)
{
"japanese_template": {
"template": "*ja",
"settings": {
"analysis": {
"filter": {
"romaji": {
"type": "kuromoji_readingform",
"use_romaji": true
}
// ==UserScript==
// @name Redmine Submit Guard
// @namespace https://github.com/kawanaka2141
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js
// @match http://*/redmine/projects/*/issues/new
// @match http://*/redmine/issues/*
// ==/UserScript==
(function(){
$('input').keypress(function(ev){
%w(
rspec-rails
).each do |pkg|
gem pkg, :group => [:development, :test]
end
%w(
capybara
spork
factory_girl_rails
%w(
rspec-rails
capybara
spork
factory_girl_rails
simplecov
).each do |pkg|
gem pkg, :group => :test
end
$ ->
game = new Main()
game.start()
#共通ライブラリ
#行列演算のための関数
##行列の和
addArray = (array1, array2) ->
array = []
len = array1.length
1 5 9
2 2 8
3 8 8
4 4 9
5 6 9
6 7 9
7 3 9
8 2 9
9 8 9
10 1 9
<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8">
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<script src="js/game.js"></script>
<link rel="stylesheet" href="css/game.css">
<title>shogi</title>
</head>