see also: https://about.gitlab.com/downloads/
sudo yum install curl openssh-server postfix cronie -y
sudo service postfix start
sudo chkconfig postfix on| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "dummy" | |
| config.vm.provider :aws do |aws, override| |
see also: https://about.gitlab.com/downloads/
sudo yum install curl openssh-server postfix cronie -y
sudo service postfix start
sudo chkconfig postfix onsee also:
Troubleshooting:
Download kernel source for CentOS 6.0
see also: http://kanjuku-tomato.blogspot.jp/2013/03/centos-63.html
# Add yum repository
sudo vi /etc/yum.repo.d/CentOS-Source.repo
mkdir /tmp/kernelsrc
cd /tmp/kernelsrc| # See also: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken | |
| # Tested on Apache2.2.15/CentOS6 | |
| # /etc/httpd/conf.d/proxy.conf | |
| ProxyPass /jenkins http://localhost:8080/jenkins nocanon | |
| ProxyPassReverse /jenkins http://localhost:8080/jenkins | |
| ProxyRequests off | |
| AllowEncodedSlashes on |
| require 'win32ole' | |
| require 'kconv' | |
| require 'csv' | |
| require 'date' | |
| class Ticket | |
| attr_reader :id | |
| attr_reader :subject | |
| attr_reader :from | |
| attr_reader :to |
| sqlplus -s << EOF > ${sdata_file} | |
| ${ora_user_name}/${ora_user_pass}@${ora_sid} | |
| set echo off | |
| set linesize 1000 | |
| set pagesize 0 | |
| set trimspool on | |
| set trimout on | |
| set feedback off | |
| set colsep ',' |
| require 'rubygems' | |
| require 'icalendar' | |
| require 'date' | |
| cal = Icalendar::Calendar.new | |
| cal.event do | |
| dtstart DateTime.new(2010, 05, 19, 22, 00), {'TZID' => 'Asis/Tokyo'} | |
| dtend DateTime.new(2010, 05, 19, 22, 30), {'TZID' => 'Asis/Tokyo'} | |
| summary "うちあわせ" | |
| end |
| //refs http://d.hatena.ne.jp/thata/20100213/1265987041 | |
| UIAlertView *alert = [[UIAlertView alloc] | |
| initWithTitle:@"hoge" | |
| message:textfield.text | |
| delegate: nil | |
| cancelButtonTitle:@"OK" | |
| otherButtonTitles:nil]; | |
| [alert show]; | |
| [alert release]; |
| @echo off | |
| ruby -S -x %0 %* | |
| goto end | |
| #! ruby | |
| require 'win32/clipboard' # before install "win32-clipboard" gem | |
| pattern = ('a'..'z').to_a + ('A'..'Z').to_a + ('0'..'9').to_a | |
| puts "Random String => " + Array.new(8){pattern[rand(pattern.size)]}.join | |
| Win32::Clipboard.set_data(value, Win32::Clipboard::UNICODETEXT) | |
| puts "Stored to clipboard" |