I hereby claim:
- I am elchesco on github.
- I am elchesco (https://keybase.io/elchesco) on keybase.
- I have a public key ASAd657tT4sfSgXFvIaC18zy-95sVox9S_QJP791KXpImwo
To claim this, I am signing this object:
| # Source: https://gist.github.com/6fb3e7da327df9203d9d4c184fcb5831 | |
| ############################################################################## | |
| # Combining Argo CD (GitOps), Crossplane (Control Plane), And Kubevela (OAM) # | |
| # https://youtu.be/eEcgn_gU3SM # | |
| ############################################################################## | |
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 | |
| # - Cloud-Native Apps With Open Application Model (OAM) And KubeVela: https://youtu.be/2CBu6sOTtwk |
| ########################################## | |
| # Gatekeeper # | |
| # Open Policy Agent (OPA) For Kubernetes # | |
| # https://youtu.be/14lGc7xMAe4 # | |
| ########################################## | |
| # Referenced videos: | |
| # - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo | |
| # - Kustomize - How to Simplify Kubernetes Configuration Management: https://youtu.be/Twtbg6LFnAg |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is a quick and dirty guide on how to deploy Selenium on Kubernetes.
It is required that you have Kubernetes cluster up and running. If you don't have one, GKE is pretty nifty: https://cloud.google.com/container-engine/
Deploy the Seleniumb Hub:
kubectl create -f selenium-hub-rc.yaml
kubectl create -f selenium-hub-svc.yaml
| # The following script will deploy a Laravel 5 applicaion on AWS Elastic Beanstalk. | |
| # Add to .ebextensions at the root of your application and name your commands file (e.g., commands.config) | |
| # -------------------------------- Commands ------------------------------------ | |
| # Use "commands" key to execute commands on the EC2 instance. The commands are | |
| # processed in alphabetical order by name, and they run before the application | |
| # and web server are set up and the application version file is extracted. | |
| # ------------------------------------------------------------------------------ | |
| commands: | |
| 01updateComposer: |
| { | |
| "parser": "vue-eslint-parser", | |
| "parserOptions": { | |
| "parser": "babel-eslint", | |
| "ecmaVersion": 6, | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "arrowFunctions": true, | |
| "binaryLiterals": true, | |
| "blockBindings": true, |
| <?php | |
| use Symfony\CS\Config\Config; | |
| use Symfony\CS\FixerInterface; | |
| use Symfony\CS\Finder\DefaultFinder; | |
| $excluded_folders = [ | |
| 'node_modules', | |
| 'storage', | |
| 'vendor' |
| # VERSION: 0.1 | |
| # DESCRIPTION: Build an Electron app in a container | |
| # AUTHOR: Paul Betts <[email protected]> | |
| # COMMENTS: | |
| # Use Surf to build an Electron app in a container and upload the result | |
| # Originally based on the Atom Dockerfile by Jessica | |
| # Frazelle <[email protected]> | |
| # USAGE: | |
| # # Download atom Dockerfile | |
| # wget https://raw.githubusercontent.com/atom/atom/master/Dockerfile |
Notes: All the examples below are only tested on Vue.js 1.0 (above).
Notes: The examples below use ES6 so it's recommended to use browserify or webpack to easily integrate babel.
When you need to access DOM attribute, be careful with the lifecycle. Vue.js has a few useful lifecycle hooks.
Let's say we want to scroll our component to the bottom (imagine it's a long list with overflow-y: auto) once it's instantiate.