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 | |
/** | |
* Plugin Name: Virtual Posts | |
* | |
* @see https://github.com/usagov/Federal-Agency-Directory-API-Documentation | |
*/ | |
class Virtual_Posts { | |
const POST_TYPE = 'vp_fed_mob_apps'; |
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
#!/bin/bash | |
# Cleans directory from cvs dir/files. | |
# http://snippets.dzone.com/posts/show/934 | |
find "$1" -name 'CVS' -exec rm -rf '{}' \; -print | |
# Generate fake file with a specific size (useful for uploads) | |
head -c 3000000 /dev/urandom > upload_test_3MB.zip | |
# Extracts count per page name in an access_log Apache file |
NewerOlder