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 | |
require_once('eXtplorer/libraries/standalone.php'); | |
// check if session ["credentials_extplorer"] present if not redirect to "login.php" | |
if(!isset($_SESSION["credentials_extplorer"]["username"])){ | |
include("login.php"); | |
session_destroy(); | |
exit; | |
} | |
?> |
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
Avant Browser/1.2.789rel1 (http://www.avantbrowser.com) | |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5 | |
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9 | |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.514.0 Safari/534.7 | |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.14 (KHTML, like Gecko) Chrome/9.0.601.0 Safari/534.14 | |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.14 (KHTML, like Gecko) Chrome/10.0.601.0 Safari/534.14 | |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20 | |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.27 (KHTML, like Gecko) Chrome/12.0.712.0 Safari/534.27 | |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.24 Safari/535.1 | |
Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.2 (KHT |
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 | |
$useragent=$_SERVER['HTTP_USER_AGENT']; | |
if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i',$useragent)||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t| |
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 | |
/** | |
* StatusCodes provides named constants for | |
* HTTP protocol status codes. Written for the | |
* Recess Framework (http://www.recessframework.com/) | |
* | |
* @author Kris Jordan | |
* @license MIT | |
* @package recess.http | |
* |
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
// ==UserScript== | |
// @name Youtube Downloader | |
// @description Adds a link on youtube pages to download the video via proxy server. | |
// | |
// @author Sepehr Lajevardi <[email protected]> modded by ewwink | |
// @namespace http://github.com/sepehr | |
// | |
// @version 1.1 | |
// @license GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt | |
// @copyright Copyright (C) 2013, by Sepehr Lajevardi <[email protected]> |
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:(function(){function byId(id){return document.getElementById(id)};byId("colorPicker")||(document.body.innerHTML+='<div id="colorDiv"><input id="colorPicker" type="color"> <input id="colorResult" type="text"></div>');byId("colorDiv").style.cssText="position: fixed;bottom: 0;background-color: #ddfc09;padding: 10px;border: 2px solid #ba734c;";byId("colorPicker").addEventListener("input",function(){byId("colorResult").value=byId("colorPicker").value})})(); | |
/* | |
// uncompressed version | |
(function() { | |
var byId = function(id) { | |
return document.getElementById(id) | |
} | |
if (!byId('colorPicker')) | |
document.body.innerHTML += '<div id="colorDiv"><input id="colorPicker" type="color"> <input id="colorResult" type="text"></div>'; |
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
-- open places.sqlite with sqlite2009 or your favorite editor then query: | |
-- Delete history older than 1 week | |
DELETE FROM moz_places WHERE datetime(last_visit_date / 1000000, 'unixepoch') < datetime('now', '-7 days') | |
DELETE FROM moz_historyvisits WHERE datetime(visit_date / 1000000, 'unixepoch') < datetime('now', '-7 days') | |
-- Delete history older than 1 month | |
DELETE FROM moz_places WHERE datetime(last_visit_date / 1000000, 'unixepoch') < datetime('now', '-1 month') | |
DELETE FROM moz_historyvisits WHERE datetime(visit_date / 1000000, 'unixepoch') < datetime('now', '-1 month') |
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
package defpackage; | |
import android.content.Context; | |
/* renamed from: dns */ | |
public final class dns implements dju { | |
private final Context a; | |
private final dnr b; | |
public final /* synthetic */ Object c_() { |
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
/* | |
* | |
* credit https://www.blackhatworld.com/seo/get-article-spinner-in-html-support-nesting.422056/ | |
* | |
*/ | |
function GetSpinContent(text) { | |
var result = text, | |
match, | |
matches, |
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>Resize Image with Javascript</title> | |
<style> | |
#imgResult, | |
[type=text] { | |
width: 300px; |
OlderNewer