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
/** | |
* Verify that the filetype is allowed | |
* | |
* @access public | |
* @return bool | |
*/ | |
function is_allowed_filetype() | |
{ | |
if (count($this->allowed_types) == 0 OR ! is_array($this->allowed_types)) | |
{ |
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
Z:\report\www\phpmyadmin\libraries\sqlparser.lib.php | |
... | |
for ($i = $start_token; $i < $arraysize; $i++) { | |
... | |
switch ($typearr[2]) { | |
... | |
case 'alpha_columnAttrib': | |
Line: 2104 | |
//Added By Hunter 2007/12/21 |
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-openid-2.1.2 | |
* /Auth/OpenID/CryptUtil.php | |
*/ | |
if (!defined('Auth_OpenID_RAND_SOURCE')) { | |
/** | |
* The filename for a source of random bytes. Define this yourself | |
* if you have a different source of randomness. | |
*/ |
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
/* | |
* Decimal > Custom | |
* | |
* Parameters: | |
* $num - your decimal integer | |
* $base - base to which you wish to convert $num (leave it 0 if you are providing $index or omit if you're using default (62)) | |
* $index - if you wish to use the default list of digits (0-1a-zA-Z), omit this option, otherwise provide a string (ex.: "zyxwvu") | |
*/ | |
function dec2any($num, $base=62, $index=FALSE) { | |
if (!$base) { |
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
//-- change iframe height and width | |
//child: <body onload="getIframeSize()"> | |
//for child | |
function getIframeSize() { | |
if (document.getElementById){ | |
var t = document.getElementById("t"); | |
try { | |
parent.wh("loginForm", t.offsetWidth, t.offsetHeight); | |
} catch (e) { |
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
; Mining | |
initEvents | |
scriptStart: | |
move 2576 479 0 | |
set %TX 443 | |
set %TY 277 | |
gosub Mining | |
move 2568 488 0 |
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
javascript:document.body.onselectstart=function() {};document.body.ondragstart=function() {};void(0); |
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
;----------------------------- | |
sub put | |
putStart: | |
set %putType DWJ ;ores | |
gosub putType | |
set %putType UWS ;perfect emerald | |
gosub putType | |
set %putType GXS ;blue diamond | |
gosub putType | |
set %putType AXS ;dark sapphire |
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
_grb() | |
{ | |
local cur=${COMP_WORDS[COMP_CWORD]} | |
local verb=${COMP_WORDS[1]} | |
local position=${COMP_CWORD} | |
if [[ "$verb" == "explain" ]]; then | |
let "position = $position - 1" | |
fi |
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
/** | |
* Hello world | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
OlderNewer