Instantly share code, notes, and snippets.

View style.css
@charset "UTF-8";
Theme Name: Simplicity2 child
Template: simplicity2
Version: 20151225
/* Simplicity子テーマ用のスタイルを書く */
View gist:ddced0836c677dca8c27
//エラー出力制御 PHP5.3以降の警告メッセージを出力させない
error_reporting(E_ALL & ~E_DEPRECATED);
View gist:5186226738a09ec18984
rm -rf ~/Library/Preferences/
rm -rf ~/Library/Preferences/
View qdmail.php
var $LFC = "\r\n";// Notice: CRLF ,If you failed, change to "\n"
var $LFC = "\n";
View siimp-side.php
<h4 class="widgettitle"><i class="fa fa-thumbs-o-up"></i> おすすめ記事</h4>
<div class="textwidget">
<ul class="new-entrys">
query_posts( 'cat=94&post_per_page=10' );
if ( have_posts() ) :
while ( have_posts() ) : the_post();
$image_id = get_post_thumbnail_id();
View gist:b38292f540917d8653e8
ssh-keygen -t rsa -C ""
ssh-add ~/.ssh/id_rsa
ssh -T
View mysql.sql
show databases;
create database db_name;
create table <新しいtable> like <元のtable>;
View gist:c2bdebd59b6b544eed46
#ディレクトリ test 作成
mkdir /var/www/html/test
View casper2.php
// Enable automatic theme updates
add_filter( 'auto_update_theme', '__return_false' );
View casper.php
// Enable automatic theme updates
add_filter( 'auto_update_theme', '__return_true' );