Yo les Noobs, c'est ici que cela se passe ! 👊
$ git remote add user git@github.com:user/repo.git
$ git fetch user
$ git checkout -b user-branchName remotes/user/repo| <?php | |
| // Assumption: $container is an instance of OpenCloud\ObjectStore\Resource\Container | |
| $filename = 'mugshot2.png'; | |
| try { | |
| // Try to retrieve the file, but only its headers to save | |
| // bandwidth and time. |
This README give steps in order to use GitHub machine users... 😎 In case of a first GitHub setup please refer to GitHub set up article.
/home/myuser/.ssh/
|
+-- config
|
+-- myusermachinekey
| <?php | |
| namespace remiii\UtilsBundle\Command\Assets ; | |
| 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 ; |
Display the daily meal of Mamacake (ie. https://www.facebook.com/MamaCake.Paris - MamaCake Paris - Restaurant sans gluten).
| <?php | |
| // src/remiii/UtilsBundle/Command/Assets/AssetsUpdateHeadersCommand.php | |
| namespace remiii\UtilsBundle\Command\Assets ; | |
| use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand ; | |
| use Symfony\Component\Console\Input\InputArgument ; | |
| use Symfony\Component\Console\Input\InputInterface ; | |
| use Symfony\Component\Console\Input\InputOption ; |
These instructions will guide you through the process of setting up a wildcard SSL for your local virtualhosts for offline development. Most importantly, this configuration will give you the happy, green lock in Chrome.
These instructions have only been tested on Mac OS Sierra using the pre-installed Apache and PHP versions. These instructions also assume you have virtualhosts set up locally already.
| #!/bin/bash | |
| function print_image() { | |
| printf "\033]" | |
| printf "1337;File=" | |
| echo -n "$1" | base64 -D | wc -c | awk '{printf "size=%d",$1}' | |
| printf ";inline=1:" | |
| echo -n "$1" | |
| printf "\a\n" | |
| } |
| resource "aws_api_gateway_rest_api" "myApi" { | |
| name = "myApi-${var.env}" | |
| description = "My awesome API (${var.env} environment)" | |
| } | |
| resource "aws_api_gateway_deployment" "myApi" { | |
| depends_on = [ | |
| "aws_api_gateway_integration.myApi_myEndpoint_post", | |
| "aws_api_gateway_integration_response.myApi_myEndpoint_post", | |
| "aws_api_gateway_integration_response.myApi_myEndpoint_post_400", |