Skip to content

Instantly share code, notes, and snippets.

zital ZiTAL

Block or report user

Report or block ZiTAL

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ZiTAL
ZiTAL / regex.php
Created Oct 26, 2017 — forked from anonymous/regex.php
regex: detect internal domains in urls
View regex.php
<?php
$allow = array
(
'*.eitb.*',
'tortolika'
);
$urls = array
(
'www.eitb.eus/asjdhjashdjahjkdhajkhdjk/',
@ZiTAL
ZiTAL / spawn-fcgi.sh
Last active Dec 19, 2015 — forked from ozeias/spawn-fcgi.sh
spawn-fcgi daemon for python fastcgi projects on debian gnu/linux. original https://gist.github.com/ozeias/47394
View spawn-fcgi.sh
#! /bin/sh
### BEGIN INIT INFO
# Provides: spawn-cgi
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: fastcgi for python
# Description: fastcgi for python using nginx
# placed in /etc/init.d.
You can’t perform that action at this time.