- 投稿画面、編集画面に
Save as WIP
というボタンがあります。これを押すと、「書き途中だけど保存して公開する」という意味になります。 - WIP = Work in Progress (作業中)
Save as WIP
で保存された記事は、一覧画面などの投稿タイトルにWIP
と付いてグレーアウトした状態になります。
This file contains 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
function is_my_protected_meta( $protected, $meta_key, $meta_type = null ) { | |
$protected = ( $protected && ( strpos( $meta_key, "_aioseop" ) !== 0 ) ); | |
return $protected; | |
} | |
add_filter( 'is_protected_meta', 'is_my_protected_meta', 10, 3 ); |
This file contains 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
function is_protected_meta( $meta_key, $meta_type = null ) { | |
$protected = ( '_' == $meta_key[0] ); | |
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type ); | |
} |
This file contains 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
function is_protected_meta( $meta_key, $meta_type = null ) { | |
$protected = (( '_' == $meta_key[0] ) && ( strpos($meta_key, "_aioseop") !== 0)); | |
return apply_filters( 'is_protected_meta', $protected, $meta_key, $meta_type ); | |
} |
This file contains 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
yum list nginx --disablerepo=epel | |
Loaded plugins: fastestmirror, priorities, security | |
Loading mirror speeds from cached hostfile | |
* rpmforge: mirror.fairway.ne.jp | |
Available Packages | |
nginx.x86_64 1.4.3-1.el6.ngx nginx |
This file contains 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
yum list nginx | |
Loaded plugins: fastestmirror, priorities, security | |
Loading mirror speeds from cached hostfile | |
* epel: ftp.kddilabs.jp | |
* rpmforge: mirror.fairway.ne.jp | |
25 packages excluded due to repository priority protections | |
Available Packages | |
nginx.x86_64 1.0.15-5.el6 epel |
This file contains 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
package com.example.samplescrollview; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.Point; | |
import android.graphics.Rect; | |
import android.os.Bundle; | |
import android.util.DisplayMetrics; | |
import android.util.Log; |
This file contains 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
<uses-permission android:name="android.permission.INTERNET"/> |
This file contains 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
var http = require('http'); | |
var server = http.createServer(function (request, response) { | |
response.writeHead(200, {'Content-Type': 'text/plain'}); | |
response.end('Hello World\n'); | |
}); | |
server.listen(80, 'localhost', function() { | |
process.setuid(80); // ここで変更後のuidを指定する | |
process.setgid(80); // ここで変更後のgidを指定する |
This file contains 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
var http = require('http'); | |
var server = http.createServer(function (request, response) { | |
response.writeHead(200, {'Content-Type': 'text/plain'}); | |
response.end('Hello World\n'); | |
}); | |
server.listen(80, 'localhost'); |
NewerOlder