create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| server { | |
| listen 80 default_server; | |
| server_name example.com www.example.com; | |
| access_log /srv/www/example.com/logs/access.log; | |
| error_log /srv/www/example.com/logs/error.log; | |
| root /srv/www/example.com/public; | |
| index index.php index.html; |
| <?php | |
| namespace App\Features; | |
| use App\Features\FirstTask; | |
| use App\Features\SecondTask; | |
| use Illuminate\Pipeline\Pipeline; | |
| // *Naming things is hard* ... So, this is a class called `ProcessClass` that `run()` some text ¯\_(ツ)_/¯ | |
| class ProcessClass |
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |
| # Use envFrom to load Secrets and ConfigMaps into environment variables | |
| apiVersion: apps/v1beta2 | |
| kind: Deployment | |
| metadata: | |
| name: mans-not-hot | |
| labels: | |
| app: mans-not-hot | |
| spec: | |
| replicas: 1 |
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.
| # Create a pod containing the PHP-FPM application (my-php-app) | |
| # and nginx, each mounting the `shared-files` volume to their | |
| # respective /var/www/html directories. | |
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: phpfpm-nginx-example | |
| spec: | |
| volumes: |
| .css-selector { | |
| background: linear-gradient(98deg, #cc51b7, #2ca5dd); | |
| background-size: 400% 400%; | |
| -webkit-animation: AnimationName 2s ease infinite; | |
| -moz-animation: AnimationName 2s ease infinite; | |
| -o-animation: AnimationName 2s ease infinite; | |
| animation: AnimationName 2s ease infinite; | |
| } | |
| @-webkit-keyframes AnimationName { | |
| 0%{background-position:74% 0%} |
| .css-selector { | |
| background: linear-gradient(65deg, #cc51b7, #2ca5dd, #c9a8e4); | |
| background-size: 600% 600%; | |
| -webkit-animation: AnimationName 10s ease infinite; | |
| -moz-animation: AnimationName 10s ease infinite; | |
| -o-animation: AnimationName 10s ease infinite; | |
| animation: AnimationName 10s ease infinite; | |
| } | |
| @-webkit-keyframes AnimationName { | |
| 0%{background-position:69% 0%} |