Run the following in your client machine
ssh -R EXPOSED_PORT:localhost:SERVICE_PORT USER@HOST
Where
- EXPOSED_PORT is the port exposed to the internet in the proxy server
- SERVICE_PORT is the port your application is listening in your machine
| <?php | |
| namespace Tests\Integration; | |
| use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpKernel\Controller\ControllerResolverInterface; | |
| use Symfony\Component\HttpKernel\HttpKernelInterface; | |
| use Symfony\Component\Routing\RouterInterface; |
| <?php | |
| namespace Testing; | |
| /** | |
| * Authentication on a Vault server using AWS IAM | |
| * https://www.vaultproject.io/api-docs/auth/aws#login | |
| */ | |
| use AsyncAws\Core\AwsClientFactory; |
| { | |
| "name": "<to-be-defined>", | |
| "type": "library", | |
| "license": "MIT", | |
| "autoload": { | |
| "files": [ "handler.php" ] | |
| } | |
| } |
| <?php | |
| namespace Testing; | |
| use AsyncAws\DynamoDb\DynamoDbClient; | |
| require __DIR__.'/vendor/autoload.php'; | |
| $dynamodbClient = new DynamoDbClient(['region' => 'eu-west-1']); | |
| try { |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| textarea { | |
| width: 100%; | |
| height: 300px; | |
| } | |
| </style> | |
| <script type="text/javascript" src="http://papaparse.com/resources/js/papaparse.js"></script> | |
| <script type="text/javascript" src="conversion.js"></script> |
| <?php | |
| namespace AppBundle\Command; | |
| use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; |
| SET character_set_client = utf8mb4; | |
| SET character_set_connection = utf8mb4; | |
| DELIMITER $$ | |
| DROP FUNCTION IF EXISTS HTML_UnEncode$$ | |
| CREATE DEFINER=`root`@`localhost` FUNCTION `HTML_UnEncode`(x VARCHAR(16383)) RETURNS varchar(16383) CHARSET utf8mb4 | |
| BEGIN | |
| DECLARE TextString VARCHAR(16383); |
| <?php | |
| $term = 'This resource is not routable'; | |
| $read_access_token = '<READ ACCESS TOKEN>'; | |
| $write_access_token = '<WRITE ACCESS TOKEN>'; | |
| $total = 0; | |
| do { |
| [core] | |
| autocrlf = input | |
| fileMode = false | |
| [color] | |
| diff = auto | |
| status = auto | |
| branch = auto | |
| interactive = auto | |
| ui = auto |