This file contains hidden or 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
sudo apt install python-software-properties | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install -y php7.2 php7.2-mbstring php7.2-mysql |
This file contains hidden or 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
apt-get install docker |
This file contains hidden or 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
/** | |
* @file Add reverb effect. | |
* @copyright © 2017,2018 By Logue <http://logue.be/>. | |
* @license MIT | |
* Adapted from https://github.com/web-audio-components/simple-reverb | |
*/ | |
export default class Reverb { | |
private ctx: AudioContext | |
private outputNode: GainNode | |
private wetGainNode: GainNode |
This file contains hidden or 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
/** | |
* http://plugins.jquery.com/project/query-object | |
* jQuery.query - Query String Modification and Creation for jQuery | |
* Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) | |
* Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). | |
* Date: 2009/8/13 | |
* | |
* @author Blair Mitchelmore | |
* @version 2.1.8 (fork) | |
* |
This file contains hidden or 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 | |
/* | |
Bad Behavior - detects and blocks unwanted Web accesses | |
Copyright (C) 2005,2006,2007,2008,2009,2010,2011,2012 Michael Hampton | |
Bad Behavior is free software; you can redistribute it and/or modify it under | |
the terms of the GNU Lesser General Public License as published by the Free | |
Software Foundation; either version 3 of the License, or (at your option) any | |
later version. |
This file contains hidden or 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 マニュアル 2013-05-17版より生成 | |
; (c) 1997-2013 the PHP Documentation Group | |
apc_add /// bool apc_add ( string $key [, mixed $var [, int $ttl = 0 ]] )\n新規の変数をデータ領域にキャッシュする | |
apc_bin_dump /// string apc_bin_dump ([ array $files [, array $user_vars ]] )\n指定したファイルおよびユーザー変数のバイナリダンプを取得する | |
apc_bin_dumpfile /// int apc_bin_dumpfile ( array $files , array $user_vars , string $filename [, int $flags = 0 [, resource $context ]] )\nキャッシュされたファイルやユーザー変数のバイナリダンプをファイルに出力する | |
apc_bin_load /// bool apc_bin_load ( string $data [, int $flags = 0 ] )\nバイナリダンプを APC のファイル/ユーザーキャッシュに読み込む | |
apc_bin_loadfile /// bool apc_bin_loadfile ( string $filename [, resource $context [, int $flags ]] )\nバイナリダンプをファイルから APC のファイル/ユーザーキャッシュに読み込む | |
apc_cache_info /// array apc_cache_info ([ string $cache_type [, bool $limited = false ]] )\nAPC のデータから、キャッシュされた情報を取得する | |
apc_cas /// bool apc_cas ( string $key , int $old , int $new )\n古い値を新しい値に更新する | |
apc_clear_cache /// bool apc_clear_cache ([ string $cache_type ] )\nAPC キャッシュをクリアする |
This file contains hidden or 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 キーワード定義ファイル | |
// by Logue | |
// http://logue.be/ | |
// 2013-05-10 | |
// 参考文献 http://www.php.net/manual/ja/ | |
// 予約語 | |
// キーワードのリスト | |
abstract | |
and |
This file contains hidden or 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 | |
// An O(NP) Sequence Comparison Algorithm" for PHP | |
// Copyright (c) 2013 Logue <[email protected]> All rights reserved. | |
// License: BSD license | |
// based on https://github.com/cubicdaiya/onp | |
/** | |
* The algorithm implemented here is based on "An O(NP) Sequence Comparison Algorithm" | |
* by described by Sun Wu, Udi Manber and Gene Myers | |
*/ |
This file contains hidden or 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
/*! | |
* Mabinogi Environment Class | |
* Copyright (C) 2012 by Logue <http://logue.be/> | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Lesser General Public License version 3 | |
* as published by the Free Software Foundation. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or 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
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// ie === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |
NewerOlder