#HTML presentation tools
There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.
##CSSS
CSS-based SlideShow System
| <?php | |
| function junkMail($mail) { | |
| $domains = array('pjjkp.com', 'ephemail.com', 'ephemail.org', 'ephemail.net', 'jetable.org', 'jetable.net', 'jetable.com', 'yopmail.com', 'haltospam.com', 'tempinbox.com', 'brefemail.com', '0-mail.com', 'link2mail.net', 'mailexpire.com', 'kasmail.com', 'spambox.info', 'mytrashmail.com', 'mailinator.com', 'dontreg.com', 'maileater.com', 'brefemail.com', 'yopmail.com', '0-mail.com', 'brefemail.com', 'ephemail.net', 'guerrillamail.com', 'guerrillamail.info', 'haltospam.com', 'iximail.com', 'jetable.net', 'jetable.org', 'kasmail.com', 'klassmaster.com', 'kleemail.com', 'link2mail.net', 'mailin8r.com', 'mailinator.com', 'mailinator.net', 'mailinator2.com', 'myamail.com', 'mytrashmail.com', 'nyms.net', 'shortmail.net', 'sogetthis.com', 'spambox.us', 'spamday.com', 'Spamfr.com', 'spamgourmet.com', 'spammotel.com', 'tempinbox.com', 'yopmail.com', 'yopmail.fr', 'guerrillamail.org', 'temporaryinbox.com', 'spamcorptastic.com', 'filzmail.com', 'lifebyfood.com', 'tempemail.net', 'spamfr |
| # Regular expression to require the following | |
| # Thanks to Scott Chamberlain on Stack Overflow | |
| # http://stackoverflow.com/questions/3721843 | |
| # All ASCII printing characters | |
| # At least 8 characters in length | |
| # At least 1 lowercase letter | |
| # At least 1 uppercase letter | |
| # At least 1 special character | |
| # No white-space characters | |
| # At least 1 number |
| find . -name ".svn" -exec rm -rf {} \; |
| gcc -o libgreet.so -shared greet.c |
| String input = 'Groovy Base64 Encode' | |
| String encoded = input.bytes.encodeBase64() | |
| assert encoded == 'R3Jvb3Z5IEJhc2U2NCBFbmNvZGU=' | |
| byte[] decoded = encoded.decodeBase64() | |
| assert input == new String( decoded ) |
| #!/usr/bin/env bash | |
| # bin/compile <build-dir> <cache-dir> | |
| # fail fast | |
| set -e | |
| BIN_DIR=$(cd $(dirname $0); pwd) # absolute path | |
| # parse args | |
| BUILD_DIR=$1 | |
| CACHE_DIR=$2 |