- 投稿画面、編集画面に
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
public class AlphaImageView extends ImageView { | |
private static final int FADE_IN_TIME_MS = 10000; | |
public AlphaImageView(Context context) { | |
super(context); | |
} | |
public AlphaImageView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<set xmlns:android="http://schemas.android.com/apk/res/android" | |
android:shareInterpolator="false"> | |
<scale | |
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | |
android:fromXScale="1" | |
android:toXScale="0" | |
android:fromYScale="1" | |
android:toYScale="0" | |
android:pivotX="90%" |
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
public void nextMain() { | |
FragmentManager fm = getSupportFragmentManager(); | |
FragmentTransaction ft = fm.beginTransaction(); | |
ft.setCustomAnimations(R.anim.test_in, 0, 0, R.anim.test_out); | |
ft.add(R.id.fragment, new MainActivityFragment()); | |
ft.addToBackStack(null); | |
ft.commit(); | |
} | |
public void nextSecond() { |
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; |
NewerOlder