This file contains hidden or 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 | |
ob_start(); | |
header("HTTP/1.1 204 NO CONTENT"); | |
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1. | |
header("Pragma: no-cache"); // HTTP 1.0. | |
header("Expires: 0"); // Proxies. |
This file contains hidden or 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
#!/bin/bash | |
# usage: bash <script> systemvm64template-4.5-vmware systemvm64template-4.5-vmware.vmdk | |
function stage_vmx (){ | |
cat << VMXFILE > "${1}.vmx" | |
.encoding = "UTF-8" | |
displayname = "${1}" | |
annotation = "${1}" | |
guestos = "otherlinux-64" |
This file contains hidden or 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
see discussion below |