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
# Build Python 3.6.x di Ubuntu 9test 14.04,16.04 | |
# dengan --enable-optimizations, butuh test 2 jam-an :( | |
./configure --prefix=/opt/python36 --enable-shared \ | |
--enable-loadable-sqlite-extensions \ | |
--with-dbmliborder=bdb:gdbm \ | |
--with-computed-gotos \ | |
--without-ensurepip \ | |
--with-system-expat \ | |
--with-system-libmpdec \ | |
--with-system-ffi \ |
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 | |
function Redirect($url, $permanent = false) { | |
if (headers_sent() === false) | |
{ | |
header('Location: ' . $url, true, ($permanent === true) ? | |
301 : 302); | |
} | |
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
<?php | |
/** | |
* This script can be used for generating PHP model for PDT. | |
* It builds PHP functions according to the loaded extensions in running PHP, | |
* using complementary information gathered from PHP.net documentation | |
* | |
* @author Michael Spector <[email protected]> | |
*/ | |
if (version_compare(phpversion(), "5.0.0") < 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
<?php | |
/** | |
* This script can be used for generating PHP model for PDT. | |
* It builds PHP functions according to the loaded extensions in running PHP, | |
* using complementary information gathered from PHP.net documentation | |
* | |
* @author Michael Spector <[email protected]> | |
*/ | |
if (version_compare(phpversion(), "5.0.0") < 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
CONFIGURE_OPTS="--enable-unicode=ucs4 --with-dbmliborder=bdb:gdbm --with-system-expat --with-system-ffi --with-fpectl --enable-ipv6" pyenv install 2.7.9 |
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
perl Makefile.PL MP_TRACE=0 MP_USE_DSO=1 MP_USE_STATIC=0 MP_APR_CONFIG=/home/wijaya/opt/apache/bin/apr-1-config MP_APXS=/home/wijaya/opt/apache/bin/apxs |
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
perl Makefile.PL --with-apache2-apxs=/home/wijaya/opt/apache/bin/apxs --prefix=/home/wijaya/opt/apache |
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
CFLAGS='-O3 -march=native -mtune=native' ./Configure -des -Uuseshrplib -Dusethreads -Duselargefiles -Dprefix=/home/wijaya/opt/perl -Duse64bitint -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -A ccflags=-fPIC |
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
git submodule foreach git pull origin master |
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
grep -Eo "zone \"([a-z0-9.\-]+)" spywaredomains.zones | cut -d\" -f2 |
NewerOlder