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
/@0-mail\.com$/ | |
/@0815\.ru$/ | |
/@0815\.su$/ | |
/@0clickemail\.com$/ | |
/@0wnd\.net$/ | |
/@0wnd\.org$/ | |
/@10minutemail\.co\.za$/ | |
/@10minutemail\.com$/ | |
/@10minutemail\.de$/ | |
/@123-m\.com$/ |
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> | |
<title>Blog del Corso</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="stylesheet" href="https://unpkg.com/awsm.css/dist/awsm.min.css" /> | |
</head> | |
<body> | |
<header> | |
<h1> |
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
// Solves the intersection for a single component | |
// Reference: http://stackoverflow.com/questions/2821506/how-do-you-tell-if-two-wildcards-overlap | |
function innersect(w1, w2) { | |
// both are either empty or contain a wildcard | |
if ((w1 === "" || w1 === "*") && | |
(w2 === "" || w2 === "*")) return true; | |
// only one of them is empty, the other is not just a wildcard | |
if (w1 === "" || w2 === "") return false; | |
var c1 = w1[0], c2 = w2[0]; | |
var remain1 = w1.slice(1), remain2 = w2.slice(1); |
This is a simple PHP profiler based on syslog
and ticks.
Killer feature is that it doesn't need to be included inside statements but only prepend your scripts.
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 | |
const ✓ = true; | |
const ✕ = false; | |
const ∞ = INF; | |
const γ = M_EULER; | |
const π = M_PI; | |
const e = M_E; | |
function ≠($left, $right) { |
NewerOlder