特に 4つ目は非常に助かった
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
<?php | |
function custom_search($search, $wp_query) { | |
global $wpdb; | |
//サーチページ以外だったら終了 | |
if (!$wp_query->is_search) | |
return $search; | |
if (!isset($wp_query->query_vars)) | |
return $search; |
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
$ php artisan db:seed |
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
machine github.com | |
login [あなたのGitHubのID] | |
password [2で生成したtoken] |
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
vim |
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
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 |
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
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; |
Windows 10 を高速化!目に見えて効果があった5つの設定とは?
- 汎用性がある。間違った設定方法を列挙しているのも良い。
- 記事にはないが 「スタートアップ」の設定は CCleaner を使うと楽。
PCゲームのフレームレートが高くてもカクつく症状を改善するためにやった4つの対処方法 Flame of Heavens
- Game Booster の導入
- セキュリティソフトで除外設定
- NVIDIA コントロールパネル
- スレッドした最適化
- オフにするとカクつきが改善できる可能性がある
>>> c = {str(i):i+random.randrange(10) for i in range(10)}
>>> c
{'0': 6, '1': 6, '2': 7, '3': 3, '4': 11, '5': 5, '6': 13, '7': 14, '8': 14, '9': 17}
>>> [l for l,r in sorted(c.items(), key=lambda x:x[1], reverse=True)][:16-len(c)]
['9', '7', '8', '6', '4', '2']
OlderNewer