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
/** This function is used to debug variables during page execution | |
* @param $what , the variable which need to debug,can be array or single variable | |
* @param $more , to know the method and line number where that variable is used | |
* @param $die , set TRUE if want to stop the page | |
* how to use : debug::watch($postarray,1,1); | |
* @author keshav mohta | |
* @date Aug 12, 2010 | |
*/ | |
class debug() | |
{ |
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
setInterval((function () { | |
console.log(new Date()); // run some arbitrary code | |
return arguments.callee; // here be the magic | |
})(), 1000); | |
// ^---- and that runs the function, and the return val is assign to the interval |
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
/* | |
* below code is for search section of Travel Agent Player | |
* @date : May 16,2013 | |
* @author : xKeshav | |
* @update : May 22, 2013 | |
*/ | |
var baseUrl = 'http://www.clik2view.com/'; | |
$(function() { |
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
Ext.BLANK_IMAGE_URL = './extjs/resources/images/default/s.gif'; | |
MyApp = {}; | |
// get Context of the current location | |
// First we look for the tag <base> from HTML | |
// and if tag is not then look for the URL then | |
// @return parent location of the current file including `/` | |
MyApp.getContext = function() { | |
var base = document.getElementsByTagName('base')[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
ul.scheme { | |
min-height: 30px; | |
width: 180px; | |
margin-left:-30px; | |
list-style-type: none; | |
counter-reset: chrome-counter; | |
} | |
li { | |
margin: 2px 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="phone.css"> | |
<title>Giggles</title> | |
</head> | |
<body> | |
<span>Giggle my numer</span> | |
<ul class="scheme"> | |
<li class="cc1" ></li> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Create Wish Card</title> | |
<link rel="stylesheet" type="text/css" href="wish.css"> | |
</head> | |
<body> | |
<form action="blank.php" method="post" > | |
<div id="wishBox"> |
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 | |
$project_dir = '/opt/lampp/htdocs/parixan/data'; | |
$RealPath = realpath($project_dir); | |
var_dump($RealPath); | |
$Directory = new RecursiveDirectoryIterator($RealPath, FilesystemIterator::SKIP_DOTS | FilesystemIterator::CURRENT_AS_FILEINFO); | |
foreach ($Directory as $dir) { | |
if( $Directory->hasChildren() ) { | |
$ch = $Directory->getChildren(); | |
// var_dump($ch->key()); |
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 | |
$loc = '/opt/lampp/archive/data/'; | |
$i = 0; | |
latestThumb($loc); | |
function pre($what, $stop = false ){ | |
echo "<pre>"; | |
print_r($what); | |
echo "</pre>"; | |
if ($stop) die; | |
} |
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 | |
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); | |
error_reporting(E_ALL ^ E_NOTICE); | |
class latest { | |
private $basepath; | |
private $flags; | |
public $parentDir; | |
private $thumbDirName = 'thumbnails'; | |
public $i = 1; |
OlderNewer