Skip to content

Instantly share code, notes, and snippets.

🍊
ʕ ◔ϖ◔ʔ

Shun Nishitsuji Asuforce

🍊
ʕ ◔ϖ◔ʔ
Block or report user

Report or block Asuforce

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.js
window.onload = function (e) {
liff.init(function (data) {
initializeApp(data);
});
};
function initializeApp(data) {
liff.getProfile().then(function (profile) {
var name = profile.displayName;
document.getElementById('name').textContent = name;
@Asuforce
Asuforce / cloudSettings
Last active Jun 20, 2019
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2019-06-20T08:54:39.761Z","extensionVersion":"v3.2.9"}
View php build error log
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
Last active Jan 12, 2017
zshでvim+Tabでエラーになる時の対処法 ref: http://qiita.com/Asuforce/items/28b287fdb933d1985e15
@Asuforce
Asuforce / file0.txt
Created Nov 28, 2015
Githubを二段階認証にして、弾かれた時にする一番ラクな対策 ref: http://qiita.com/Asuforce/items/c2fa32e78d0d6fcf015d
View file0.txt
machine github.com
login [あなたのGitHubのID]
password [2で生成したtoken]
@Asuforce
Asuforce / file2.txt
Last active Nov 24, 2015
Laravelで外部キー制約のあるテーブルを操作する。 ref: http://qiita.com/Asuforce/items/2c7cf0c95225083a2af5
View file2.txt
$ php artisan db:seed
View wp-custom-search.php
<?php
function custom_search($search, $wp_query) {
global $wpdb;
//サーチページ以外だったら終了
if (!$wp_query->is_search)
return $search;
if (!isset($wp_query->query_vars))
return $search;
You can’t perform that action at this time.