Skip to content

Instantly share code, notes, and snippets.

View kulamochi's full-sized avatar

Masanori Kuramochi kulamochi

View GitHub Profile
@kulamochi
kulamochi / Releaseflow.md
Last active October 26, 2022 07:06 — forked from fujimaki-k/Releaseflow.md
リリースまでの流れ

リリースまでの流れ

1. フィーチャーブランチの作成

  • develop ブランチから新たに作成する機能のためのフィーチャーブランチを作成します。
git branch feature/new_feature develop

2. プログラムの開発とテスト

@kulamochi
kulamochi / ckeditor_config.js
Last active July 8, 2016 02:37
CKEditor customized example : 'config.js'
CKEDITOR.editorConfig = function( config ) {
config.toolbar = [
{ name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },
{ name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
'/',
{ name: 'links', items: [ 'Link', 'Unlink' ] },
{ name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] },
'/',
{ name: 'colors', items: [ 'TextColor', 'BGColor' ] },
{ name: 'insert', items: [ 'Table', 'HorizontalRule', 'SpecialChar'] },
@kulamochi
kulamochi / ckeditor_customconfig.js
Last active July 8, 2016 02:38
CKEditor customConfig setting
CKEDITOR.replace( 'editor', {
customConfig: '/path/to/ckeditor/config.js';
});
@kulamochi
kulamochi / ckeditor_via_cdn.html
Last active November 4, 2022 07:31
CKEditor CDN setup
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CKEditor</title>
<script src="//cdn.ckeditor.com/4.5.9/standard/ckeditor.js"></script>
</head>
<body>
<textarea name="editor" class="ckeditor"></textarea>
<script>
@kulamochi
kulamochi / SC_SendMail_Ex.php
Created July 9, 2015 09:19
[EC-CUBE 2.13] CS_SendMail - overwrite sendmail path
class SC_SendMail_Ex extends SC_SendMail
{
function getBackendParams($backend)
{
parent::getBackendParams($backend);
switch ($backend) {
case 'sendmail':
$arrParams = array(
'sendmail_path' => '/usr/sbin/sendmail',
'sendmail_args' => '-i',
@kulamochi
kulamochi / payment.tpl
Last active August 29, 2015 14:24
[EC-CUBE 2.13] Payment - selected radio button
<input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> <!--{if !$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value && $smarty.section.cnt.first}-->checked="checked"<!--{/if}--> />