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
gpg --keyserver keys.gnupg.net --recv-key 89DF5277 | |
gpg -a --export 89DF5277 | sudo apt-key add - |
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 | |
/** | |
* @name Aunt Asya has arrived =) | |
* @author M1zh0rY | |
* @category js clear script | |
* Infected Script: | |
* JS/Agent.* (all, ESET) | |
* JS/Kryptik.LP (ESET) | |
* Trojan:JS/BlacoleRef.BC (MCE) | |
* @license GNU |
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 | |
declare(ticks = 1); | |
$terminate = false; | |
pcntl_signal(SIGTERM, function() use (&$terminate) { | |
$terminate = true; | |
echo "Terminating = true \n"; | |
}); |
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 | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok, n1xim, pennedav, kabel) | |
Version: 0.2.0 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.2.0 0000-00-00 Updated page layout/styles and restructure code to be more MVC-like (kabel) | |
implemented HTTP Basic authentication (pennedav) |
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 | |
/** | |
* Negabase | |
* To convert a decimal to negative base. | |
* Divide the number by the negative base. | |
* Acquire the whole number quotient and remainder. | |
* If the remainder is negative, add 1 to the quotient and add the absolute value of the base to the remainder. | |
* Divide the quotient by the negative base... rinse and repeat until the quotient is 0. | |
* Aggregate the remainders in reverse (as a stack), and you have your negative base representation. |
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 | |
$apnsHost = 'gateway.sandbox.push.apple.com'; | |
$apnsCert = 'ck.pem'; | |
$apnsPort = 2195; | |
$apnsPass = '<PASSWORD_GOES_HERE>'; | |
$token = '<DEVICE_TOKEN_GOES_HERE>'; | |
$payload['aps'] = array('alert' => 'Oh hai!', 'badge' => 1, 'sound' => 'default'); | |
$output = json_encode($payload); |
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"?> | |
<project name="Composer Targets" default="build"> | |
<property name="builddir" value="${basedir}/build"/> | |
<property name="composer" value="${builddir}/composer.phar"/> | |
<target name="php-check"> | |
<condition property="php" value="php"> | |
<not> | |
<isset property="${php}"/> |
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
# Redirection of port 80 to port 443 | |
<virtualhost *:80> | |
ServerName redmine.domain.com | |
KeepAlive Off | |
RewriteEngine On | |
#RewriteCond %{HTTP_HOST} ^[^\./]+\.[^\./]+$ | |
RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] | |
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
#/usr/bin/python | |
import time | |
import sys | |
import os | |
lines=[ | |
"Wake up Neo ...", | |
"The matrix has you", | |
"Follow the white rabbit ...", |
OlderNewer