Skip to content

Instantly share code, notes, and snippets.

View Asuforce's full-sized avatar
🍊
ʕ ◔ϖ◔ʔ

Shun Nishitsuji Asuforce

🍊
ʕ ◔ϖ◔ʔ
View GitHub Profile
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 2.3, min: 204, excluded: 3.0).
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: 3.0).
/var/tmp/php-build/source/5.6.17/ext/opcache/ZendAccelerator.c:397:28: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
CG(interned_empty_string) = accel_new_interned_string("", sizeof(""), 0 TSRMLS_CC);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ext/opcache/.libs/opcache.a(shared_alloc_shm.o) has no symbols
/Applications/Xcode.app/Co
@Asuforce
Asuforce / file0.txt
Created November 28, 2015 07:46
Githubを二段階認証にして、弾かれた時にする一番ラクな対策 ref: http://qiita.com/Asuforce/items/c2fa32e78d0d6fcf015d
machine github.com
login [あなたのGitHubのID]
password [2で生成したtoken]
<?php
function custom_search($search, $wp_query) {
global $wpdb;
//サーチページ以外だったら終了
if (!$wp_query->is_search)
return $search;
if (!isset($wp_query->query_vars))
return $search;
@Asuforce
Asuforce / file2.txt
Last active November 24, 2015 15:59
Laravelで外部キー制約のあるテーブルを操作する。 ref: http://qiita.com/Asuforce/items/2c7cf0c95225083a2af5
$ php artisan db:seed