- OpenDNS
- Remove Ads Service
- AdGuard DNS (beta)
- https://adguard.com/en/adguard-dns/overview.html
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 | |
// ============================================================================= | |
// remove "/public" from url: | |
// | |
call_user_func(function(){ | |
// bad: | |
// $_SERVER['REQUEST_URI'] /__RELATIVE_PATH_TO_PAGE_ROOT__/public/__PAGE_RELATIVE_URL__ | |
// good: | |
// $_SERVER['REQUEST_URI'] /__RELATIVE_PATH_TO_PAGE_ROOT__/page_relative_url |
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
-- | |
-- SQL utasítás, amely faszerkezetbe rendezett kategóriákat tud | |
-- maximum 3 szintig listázni. | |
-- Az eredményt lineárisan bejárva a programozási nyelvben is lehet | |
-- egy több dimenziós tömböt felépíteni, mert nem fog előfordulni, | |
-- hogy a felsőbb szint esetleg később jönne a listában! | |
-- | |
SELECT | |
-- TODO: További oszlopokat szabadon hozzáadni! |
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
/** | |
* Generate random string | |
* | |
* Strong password definition on strongpasswordgenerator.com | |
* - at least 15 characters | |
* - uppercase and lowercase letters | |
* - numbers | |
* - symbols, such as ` ! " ? $ ? % ^ & * ( ) _ - + = { [ } ] : ; @ ' ~ # | \ < , > . ? / | |
* | |
* @param number $length |
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 | |
spl_autoload_register(function($class_name){ | |
$path = realpath(__DIR__.'../../classes/'. str_replace('\\', '/', $class_name).'.php'); | |
if ($path) { | |
require_once $path; | |
} | |
return class_exists($class_name, false); | |
}, true); |
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
/** | |
* Convert Object to URL query string | |
* | |
* Usage: | |
* var object = {param1:123,param2:'something',param3:'another',param4:null,param5:'',bla:{param10:'I am nested!',array2:[20,'test',40.56],ja:{param6:'really_nested'}},test_array:[10,'foobar',30.5]}; | |
* var query = object.toQueryString(); | |
* Result: "param1=123¶m2=something¶m3=another¶m4¶m5=&bla[param10]=I%20am%20nested!&bla[array2][]=20&bla[array2][]=test&bla[array2][]=40.56&bla[ja][param6]=really_nested&test_array[]=10&test_array[]=foobar&test_array[]=30.5" | |
* | |
* @version 1.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
<center><?php array_map(function($i){ echo '<a href="?info='.$i.'">'.$i.'</a> | ';}, array('ALL','GENERAL','CREDITS','CONFIGURATION','MODULES','ENVIRONMENT','VARIABLES','LICENSE'));?></center> | |
<?php phpinfo(@constant('INFO_'.((isset($_GET['info']))?$_GET['info']:'ALL'))); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns:blogger="http://www.blogger.hu/blogger"> | |
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<blogger:css> | |
<![CDATA[/* | |
----------------------------------------------- | |
Sablon: RedPassion | |
Dátum: 2010.04.01 | |
----------------------------------------------- */ |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Shoping Cart in CSS</title> | |
<style type="text/css"> | |
.shopping_cart{ | |
position: relative; | |
word-spacing: -1em; |