Add the following line to you 'Vagrantfile':
config.vm.provision :shell do |s|
s.path = "preinstall.sh"
s.args = "3.1.1-1puppetlabs1"
function chunked_encoding(socket, data) | |
local chunk_size = 1024 | |
-- Iterate over the data in chunks of chunk_size | |
for i = 1, #data, chunk_size do | |
local chunk = data:sub(i, i + chunk_size - 1) | |
-- Calculate the length of the chunk in hexadecimal format | |
local length = string.format("%X\r\n", #chunk) |
<?php | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use X509\CertificationRequest\CertificationRequest; | |
use X509\CertificationRequest\Attribute\ExtensionRequestValue; | |
use X509\Certificate\Extension\SubjectAlternativeNameExtension; | |
use X509\GeneralName\DNSName; | |
use CryptoUtil\PEM\PEM; |
<?php | |
$keyConfig = [ | |
'private_key_type' => OPENSSL_KEYTYPE_RSA, | |
'private_key_bits' => 2048, | |
]; | |
$key = openssl_pkey_new($keyConfig); | |
$sanDomains = [ | |
'mydomain.tld', |
#!/usr/bin/env bash | |
function ostype() { | |
unameOut="$(uname -s)" | |
case "${unameOut}" in | |
Linux*) machine=Linux;; | |
Darwin*) machine=Mac;; | |
CYGWIN*) machine=Cygwin;; | |
MINGW*) machine=MinGw;; | |
*) machine="UNKNOWN:${unameOut}" |
FROM httpd | |
RUN apt-get update && apt-get install -y \ | |
wget \ | |
automake \ | |
build-essential \ | |
ssl-cert \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN make-ssl-cert generate-default-snakeoil |
/tmp/ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello Node Webkit</title> | |
</head> | |
<body> | |
<div id="my"></div> | |
<script> | |
var ctx = document.getElementById('my'); | |
var image = new Image(); |
<form id="cyon-wm-login_form" action="https://webmail.cyon.ch/" method="POST"> | |
<input type="text" value="" id="cyon-wm-username" name="username"> | |
<input type="password" value="" id="cyon-wm-password" name="password"> | |
<input type="hidden" value="" id="cyon-wm-domain" name="domain"> | |
<input type="submit" value="Ins Webmail einloggen" id="cyon-wm-submitbt" name="submitbt"> | |
</form> | |
<div id="cyon-wm-login-message"></div> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://webmail.cyon.ch/plugins/cyon_mod/static/easyXDM.min.js"></script> | |
<script type="text/javascript" src="https://webmail.cyon.ch/plugins/cyon_mod/static/loginForm.js"></script> |
Index: tests/Zend/Http/CookieJarTest.php | |
=================================================================== | |
--- tests/Zend/Http/CookieJarTest.php (revision 24451) | |
+++ tests/Zend/Http/CookieJarTest.php (working copy) | |
@@ -91,7 +91,7 @@ | |
$this->assertEquals(3, count($jar->getAllCookies())); | |
- $cookie_str = 'foo=bar;BOFH=Feature+was+not+beta+tested;time=1164234700;'; | |
+ $cookie_str = 'foo=bar; BOFH=Feature+was+not+beta+tested; time=1164234700'; |