Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
#!/bin/bash | |
# warmly.sh | |
# A wget based, easy, poor man`s cache warmer script | |
# https://gist.github.com/thomasfr/7926314 | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2013,2014 Thomas Fritz <[email protected]> (http://fritzthomas.com) | |
# |
Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
#!/bin/bash | |
# Requirements: curl, sudo, tar, building tools | |
[ -z "${PREFIX}" ] && PREFIX=/usr/local | |
[ -w "${PREFIX}" ] || SUDO=sudo | |
set -e | |
mkdir -p work |