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
/** | |
* ひらがな → ローマ字変換クラス | |
* @author tenderfeel, Logue | |
* @license MIT | |
* @ver 1.3.1 | |
* http://tenderfeel.xsrv.jp/ | |
* | |
* ---MIT License-------------------------------------------- | |
* Copyright (c) 2008 Tenderfeel all rights reserved. | |
* 2019 Modified by Masashi Yoshikawa <[email protected]> |
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 | |
class Kana2Roma | |
{ | |
public $charset = 'utf-8'; | |
public $mode_Krows = 'k'; //か・く・こ(k or c) | |
public $mode_XArows = 'l'; //小文字ぁ行と「っ」( L or X) | |
public $mode_TYrows = 'ch'; //ち行+小文字や行(ty or ch or cy) | |
public $mode_SYrows = 'sh'; //し行+小文字や行(sy or sh) | |
public $mode_JYrows = 'j'; //じ行+小文字や行(j or zy or jy) |
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 | |
$header = <<<'EOF' | |
This file is part of GSS GoHub Software. | |
(c) Gözen Systems, 2018. | |
Modified By Logue | |
EOF; | |
$config = PhpCsFixer\Config::create() | |
->setRiskyAllowed(true) |
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 | |
// 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
// ---------------------------------------------------------- | |
// 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) {} |