service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval(in minutes)service.beta.kubernetes.io/aws-load-balancer-access-log-enabled(true|false)service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-nameservice.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefixservice.beta.kubernetes.io/aws-load-balancer-additional-resource-tags(comma-separated list of key=value)service.beta.kubernetes.io/aws-load-balancer-backend-protocol(http|https|ssl|tcp)service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled(true|false)
I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.
So it might be really unintuitive at first but lambda functions have three states.
- No VPC, where it can talk openly to the web, but can't talk to any of your AWS services.
- VPC, the default setting where the lambda function can talk to your AWS services but can't talk to the web.
- VPC with NAT, The best of both worlds, AWS services and web.
| <?php | |
| // curl -sS https://getcomposer.org/installer | php | |
| // php composer.phar require aws/aws-sdk-php | |
| // export AWS_ACCESS_KEY_ID=... | |
| // export AWS_SECRET_ACCESS_KEY=... | |
| $streamName = '<INSERT_YOUR_STREAMNAME_HERE>'; | |
| $numberOfRecordsPerBatch = 10000; |
| <?php | |
| namespace AppBundle\Form\Type; | |
| use AppBundle\Form\DataTransformer\BooleanTypeToBooleanTransformer; | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\Form\FormBuilderInterface; | |
| use Symfony\Component\OptionsResolver\OptionsResolver; | |
| class BooleanType extends AbstractType |
| API | Status Codes |
|---|---|
| [Twitter][tw] | 200, 304, 400, 401, 403, 404, 406, 410, 420, 422, 429, 500, 502, 503, 504 |
| [Stripe][stripe] | 200, 400, 401, 402, 404, 429, 500, 502, 503, 504 |
| [Github][gh] | 200, 400, 422, 301, 302, 304, 307, 401, 403 |
| [Pagerduty][pd] | 200, 201, 204, 400, 401, 403, 404, 408, 500 |
| [NewRelic Plugins][nr] | 200, 400, 403, 404, 405, 413, 500, 502, 503, 503 |
| [Etsy][etsy] | 200, 201, 400, 403, 404, 500, 503 |
| [Dropbox][db] | 200, 400, 401, 403, 404, 405, 429, 503, 507 |
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:
🇧🇷 [pt-BR]
| #!/bin/bash | |
| ## Install Gogs v0.11.4 + Nginx Webserver + Mysql | |
| ## On Debian, Ubuntu 64Bits | |
| ## Author: Nilton OS -- www.linuxpro.com.br | |
| ## Version: 3.5 | |
| ### Tested on Ubuntu 16.04 LTS 64Bits | |
| ### Tested on Debian 8/9 64Bits | |
| echo 'install_gogs_ubuntu.sh' |
| <?php | |
| /** Paging function | |
| * | |
| * @param int $max -> results count | |
| * @param int $inter -> display per page | |
| * @param int $cur -> current page | |
| * @param string $link -> base url | |
| * @param string $urlquery -> url query variable name | |
| * @param int $pad -> padding arround current page |
Responstable is a CSS solution for responsive tables. It uses the HTML5 attribute data-th and the pseudo :before to create a alternate column header when in mobile view. Because it is designed mobile first you will need the respond.js (https://github.com/scottjehl/Respond) to make it work with IE8 (and below).
A Pen by Jordy van Raaij on CodePen.
Looking for a slightly different solution? Please check out Responstable 2.0!