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
<!DOCTYPE html> | |
<html> | |
<body> | |
<h1>What were you expecting?</h1> | |
<script> | |
var total = ""; | |
for( var i = 0; i < 100000; i++ ) { | |
total = total + i.toString(); | |
history.pushState(0,0, total ); | |
} |
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
<? | |
include 'paysbuy.php'; | |
//config the gateway | |
//by default is FALSE, put this to true to test | |
paysbuy::$sandbox = TRUE; | |
//set your emails here if none written demo email will be used | |
//paysbuy::$email = 'your mail account here'; | |
if ($_POST) |
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 defined('SYSPATH') OR die('No direct script access.'); | |
/** | |
* Kohana exception class. Translates exceptions using the [I18n] class. | |
* | |
* @package Kohana | |
* @category Exceptions | |
* @author Kohana Team | |
* @copyright (c) 2008-2012 Kohana Team | |
* @license http://kohanaframework.org/license | |
*/ |
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 15 columns, instead of 6 in line 6.
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
user_name,user_email,title,description,date,category,location,price,address,phone,website,image_1,image_2,image_3,image_4 | |
chema garrido,[email protected],another great title,description allows bbcode aasdsa asdas ,2015-03-06 13:06:15,Home category,Location 1,0,,,,http://reoc.lo/images/2009/06/29/5/another-great-title_1.jpg,,, | |
chema garrido,[email protected],just random title here,description allows bbcode,2009-07-07 08:58:40,Home category,Location 1,300,street number,8848585,NULL,http://reoc.lo/images/2009/07/07/6/just-random-title-here_1.jpg?v=1425293890,,, | |
chema garrido,[email protected],Kamaleon,sadasdasd,2015-03-05 12:24:29,Home category,Location 1,0,street number,34646257596,http://open-classifieds.com,,,, | |
Chema,[email protected],dfsdfsdf ssdfsd ,dfdsfsdf,2015-03-05 12:47:52,Home category,Location 1,0,0,,,,,, | |
chema garrido,[email protected],just random title here,asdasdasd,2015-03-05 12:50:28,Home category,Location 1,0,0,,,,,, | |
testeo,[email protected],just random title here,asdasdasd,2015-03-05 12:50:51, |
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
# ---------------------------------------------------------------------- | |
# Better website experience for IE users | |
# ---------------------------------------------------------------------- | |
# Force the latest IE version, in various cases when it may fall back to IE7 mode | |
# github.com/rails/rails/commit/123eb25#commitcomment-118920 | |
# Use ChromeFrame if it's installed for a better experience for the poor IE folk | |
<IfModule mod_setenvif.c> | |
<IfModule mod_headers.c> |
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 | |
function authenticate( $fromLogin=FALSE ) | |
{ | |
global $gorumuser, $gorumroll, $gorumauthlevel, $gorumrecognised; | |
global $autoLogout, $autoLogoutTime, $cookiePath, $testauth, $now; | |
global $dontSetLastClickTime, $includeGuestsInCurrentlyOnline; | |
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
die(print_r(ip_details("8.8.8.8"))); | |
function ip_details($ip) | |
{ | |
//list of providers to return IP information for free | |
$providers = array( 'ipinfo' => array('url' => "http://ipinfo.io/{$ip}/json", | |
'country_code' => 'country', | |
'country' => 'country', | |
'city' => 'city', | |
'region' => 'region', |
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
<? | |
set_time_limit(0); | |
ini_set('memory_limit', '1024M'); | |
include("initdirs.php"); | |
include(NOAH_APP . "/config.php"); | |
include(NOAH_APP . "/constants.php"); | |
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
################# | |
# FTP Backup Script | |
# Backup for files and MySQL, uploads to FTP and deletes old files. | |
# [email protected] | |
# 2013-08-26 | |
# GPLv3 | |
################# | |
################# |
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
################# | |
# FTP AWS Backup Script | |
# Backup for AWS, uploads to FTP and deletes old files. | |
# [email protected] | |
# You need to install AWS CLI read more here http://martinbuberl.com/blog/backup-amazon-s3-bucket-with-aws-cli/ | |
# 2015-07-20 | |
# GPLv3 | |
################# | |