Skip to content

Instantly share code, notes, and snippets.

@takekoshi
takekoshi / gist:6931872
Created October 11, 2013 09:11
codeigniter2.0.3日本語版: application/libraries/MY_Email.phpの例
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Email extends CI_Email {
public function __construct($config = array())
{
parent::__construct($config);
}
public function message($body)
@tcpiptan
tcpiptan / vim-7.4.160-1.el6.spec.patch
Created January 30, 2014 08:12
patch for the spec file of 'vim-7.4.131-1.fc21' for build on CentOS 6.5 (with option '-- enable-luainterp=dynamic') - http://ptan.info/archives/555
*** vim.spec 2013-12-17 19:38:33.000000000 +0900
--- vim.spec.new 2014-01-29 19:13:06.250167916 +0900
***************
*** 1,4 ****
! %define patchlevel 131
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
%define WITH_SELINUX 1
%endif
--- 1,4 ----
! %define patchlevel 160