This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.Executors; | |
import java.util.concurrent.LinkedBlockingQueue; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.TimeUnit; | |
public class Main { | |
private static LinkedBlockingQueue<LuceneIndex> queue = new LinkedBlockingQueue<LuceneIndex>(); | |
public static void main(String[] args) throws Exception { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --output LVDS --output VGA --mode 1280x1024 --right-of LVDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrandr --output LVDS --output VGA --off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ruby | |
require 'rubygems' | |
require 'activesupport' | |
require 'calendar/japanese/holiday' | |
class Date | |
include Calendar::Japanese::Holiday | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy database.yml | |
run 'cp config/database.yml config/database.yml.example' | |
# Delete unnecessary files | |
run 'rm public/index.html' | |
# Install gems | |
gem 'amatsuda-i18n_generators', :source => 'http://gems.github.com', :lib => false | |
gem 'rspec-rails', :lib => false | |
gem 'cucumber', :lib => false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env ruby | |
n = 3 | |
hash = {} | |
n.downto(1).each { |i| hash[i] = [] } | |
hoges.each do |hoge| | |
hash[hoge.fuga] << fuga if hash[hoge.fuga] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -f rerun.txt ] | |
then | |
rm rerun.txt | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2005 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: $ | |
S="${WORKDIR}/astah_community" | |
SRC_URI="${PN}-6_1.zip" | |
DESCRIPTION="Lightweight UML Editor" | |
HOMEPAGE="http://astah.change-vision.com/" | |
LICENSE="as-is" | |
SLOT="0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These settings were set by the catalyst build script that automatically | |
# built this stage. | |
# Please consult /usr/share/portage/config/make.conf.example for a more | |
# detailed example. | |
CFLAGS="-O2 -march=i686 -pipe" | |
CXXFLAGS=$CFLAGS | |
LINGUAS="ja" | |
# WARNING: Changing your CHOST is not something that should be done lightly. | |
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. | |
CHOST="i686-pc-linux-gnu" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app-admin/perl-cleaner | |
app-admin/sudo | |
app-admin/syslog-ng | |
app-editors/vim | |
app-i18n/skk-jisyo | |
app-i18n/uim | |
app-office/openoffice-bin | |
app-portage/eix | |
app-portage/gentoolkit | |
app-portage/layman |
OlderNewer