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
#!/usr/bin/bash | |
sudo yum -y update | |
sudo yum -y install ruby | |
sudo yum -y install wget | |
cd /home/ec2-user | |
region=`curl -s http://169.254.169.254/latest/meta-data/placement/region` |
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
fdssdfs |
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
module.exports = function removePrivateApi() { | |
return { | |
name: 'remove-private-api', | |
description: 'Prevent the private apis from being rendered', | |
$runBefore: ['rendering-docs'], | |
$process: function(docs) { | |
console.log('Test: run hide-private'); | |
var publicDocs = []; | |
docs.forEach(function(doc){ | |
if(!doc.private){ |
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 | |
define('DIR_COMP', '<path>'); | |
$objects = new RecursiveIteratorIterator( | |
new RecursiveRegexIterator( | |
new RecursiveDirectoryIterator(DIR_COMP), | |
'/^(?!.*(\.svn|\.cvs)).*$/', | |
RecursiveRegexIterator::MATCH | |
), | |
RecursiveIteratorIterator::SELF_FIRST |
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
# | |
# Account to be used by the source control script. The account must be enabled | |
# and must have the appropriate access level to add notes to all issues even | |
# private ones (DEVELOPER access recommended). | |
$g_source_control_account = 'svn'; | |
# For open source projects it is expected that the notes be public VS_PUBLIC, however, | |
# for non-open source it will probably be VS_PRIVATE. | |
$g_source_control_notes_view_status = VS_PRIVATE; |
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 | |
//@see ZF-10543 | |
set_include_path('/your_path'); | |
define("DIR_CACHE", "./temp/cache"); // change to your dir cache | |
require_once 'Zend/Loader/Autoloader.php'; | |
Zend_Loader_Autoloader::getInstance(); | |
$application = new Zend_Application('testing', './zf-11636.ini'); | |
$application->getBootstrap() |