This file contains hidden or 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
# 1.7.10のファイルをDL | |
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.7.10/minecraft_server.1.7.10.jar | |
# DLしたファイルを展開 or 実行 | |
java -jar minecraft_server.1.7.10.jar nogui | |
# メモリの設定 | |
java -Xmx1024M -Xms1024M -jar minecraft_server.1.7.10.jar |
This file contains hidden or 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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme", | |
"disable_formatted_linebreak": true, | |
"disable_tab_abbreviations_for_scopes": "css,less,sass,scss,stylus", | |
"disabled_single_snippet_for_scopes": "", | |
"draw_white_space": "all", | |
"enable_emmet_keymap": true, | |
"font_size": 13, |
This file contains hidden or 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
//カスタムタクソノミー コーヒー の追加 | |
add_action( 'init', 'register_my_taxes_coffee' ); | |
function register_my_taxes_coffee() { | |
$labels = array( | |
"name" => __( 'コーヒー', '' ), | |
"singular_name" => __( 'コーヒー', '' ), | |
); | |
$args = array( |
This file contains hidden or 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
//カスタムタクソノミー イベントジャンル の追加 | |
add_action( 'init', 'cptui_register_my_taxes_coffee' ); | |
function cptui_register_my_taxes_coffee() { | |
$labels = array( | |
"name" => __( 'イベントジャンル', '' ), | |
"singular_name" => __( 'イベントジャンル', '' ), | |
); | |
$args = array( |
This file contains hidden or 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
<?php | |
$terms = wp_get_object_terms($post->ID, 'coffee'); | |
$slug = $slug=$terms[0]->slug; | |
?> | |
<?php $termloop = array( | |
'post_type' => 'post', // 「投稿」ポストタイプを選択 | |
'posts_per_page' => 4, // 4件表示 | |
'post__not_in'=> array($id), // 自記事をループから除外 | |
'tax_query' => array( | |
array( |
This file contains hidden or 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
======== | |
パッチの作り方 | |
======== | |
$ mkdir wordpress | |
$ cd wordpress # ここがドキュメントルート | |
$ svn co http://develop.svn.wordpress.org/trunk/ . | |
$ svn update # 作業を行う直前に毎回実行! | |
ここで修正作業や動作確認など。 |
This file contains hidden or 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
@include grid-column(12); | |
@media #{$medium-up} { | |
@include grid-column(6); | |
} | |
@media #{$large-up} { | |
@include grid-column(4); | |
} |
This file contains hidden or 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
sudo su plutil -convert xml1 ScreenCapture.strings |
This file contains hidden or 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
<!-- まずは、設定ファイルがあるディレクトリまで移動します。--> | |
cd /System/Library/CoreServices/SystemUIServer.app/Contents/Resources/Japanese.lproj | |
<!-- バイナリ形式のプロパティファイルをXML形式に変換します。 --> | |
sudo plutil -convert xml1 ScreenCapture.strings |
This file contains hidden or 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
@include font-size(1.0); |