Skip to content

Instantly share code, notes, and snippets.

View cubdesign's full-sized avatar

Takeo Tamura cubdesign

View GitHub Profile
@cubdesign
cubdesign / my-snow-monkey.php
Last active May 13, 2021 12:18
snow- monkeyで、再利用ブロックを使って、連載の記事に、連載の記事一覧を表示する方法
<?php
/**
* 連載の記事に、連載の記事一覧を表示する
*
* 記事一覧は再利用ブロックを使用する。再利用ブロックのIDは、連載タグのカスタムフィールドから取得。
*/
add_action(
'snow_monkey_append_entry_content',
function() {
$post_id = get_the_ID();
@cubdesign
cubdesign / file0.js
Created April 27, 2016 15:42
Material-uiのDialogを高さ100%にする(v0.14.4限定) ref: http://qiita.com/cubdesign/items/4498972c946aadbf9685
<Dialog
open={this.state.open}
title="Super Secret Password"
actions={standardActions}
modal={true}
onRequestClose={this.handleRequestClose}
autoScrollBodyContent={true}
fullWidth={false}
fullHeight={true}
@cubdesign
cubdesign / file0.txt
Created January 14, 2016 07:56
WebStormのメモリ設定の場所(osx) ref: http://qiita.com/cubdesign/items/874f3b9f2b3e8cfefd3a
-Xms2048m
-Xmx4096m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=518m
-XX:+UseCompressedOops
@cubdesign
cubdesign / file0.txt
Created November 24, 2015 03:36
IntelliJ ideaのメモリ設定の場所(osx) ref: http://qiita.com/cubdesign/items/a8020b18bcbf785eb2e5
-Xms2048m
-Xmx4096m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=518m
-XX:+UseCompressedOops
@cubdesign
cubdesign / file0.txt
Last active October 21, 2015 03:33
【成功事例】windowsでmiddlemanを使う20151020 ref: http://qiita.com/cubdesign/items/e49dda17e505a922541a
ruby dk.rb init
@cubdesign
cubdesign / file0.txt
Last active November 11, 2015 05:19
npmでモジュールをアップデートするときにpackage.jsonも更新する方法 ref: http://qiita.com/cubdesign/items/0db80812fcde1a83df06
npm install -g npm-check-updates
npm-check-updates -u
@cubdesign
cubdesign / file0.txt
Created August 27, 2015 03:08
FullCalendarで月曜日始まりにする ref: http://qiita.com/cubdesign/items/c62720380c077fa0db19
firstDay: 1,
@cubdesign
cubdesign / file0.html
Last active August 29, 2015 14:28
Reactをes6で使う場合のbindの問題 ref: http://qiita.com/cubdesign/items/ee8bff7073ebe1979936
save(e){
this.props // undefined になる
}
render (){
return (
<button onClick={this.save} />保存</button>
);
}
@cubdesign
cubdesign / file0.txt
Created August 20, 2015 09:30
WebpackでcssのsourceMapを使ったとき背景画像が表示されない ref: http://qiita.com/cubdesign/items/e25d534f191787aa12ce
module: {
loaders: [
{
test: /\.less$/,
loader: 'style-loader!css-loader?sourceMap!less-loader'
},
]
}
@cubdesign
cubdesign / file0.txt
Created August 13, 2015 02:18
IntelliJのES6のimport文のタグジャンプができるようになった。( IntelliJ IDEA-EAP142.3926.4 ) ref: http://qiita.com/cubdesign/items/16ad5957217eedceaa16
import XXXX from 'xxxxx';