Skip to content

Instantly share code, notes, and snippets.

View gemmadlou's full-sized avatar

Gemma Black gemmadlou

View GitHub Profile
gemmadlou /
Created May 17, 2023 15:51 — forked from jexchan/
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C ""
gemmadlou / nginx.conf
Created October 23, 2022 09:12 — forked from ashleydw/nginx.conf
Laravel nginx conf file
View nginx.conf
server {
listen 80 default_server;
access_log /srv/www/;
error_log /srv/www/;
root /srv/www/;
index index.php index.html;
gemmadlou / 1.ProcessClass.php
Created February 24, 2021 15:10 — forked from jeffochoa/1.ProcessClass.php
Understanding Laravel pipelines
View 1.ProcessClass.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
gemmadlou / git.migrate
Created February 19, 2021 12:51 — forked from niksumeiko/git.migrate
Moving git repository and all its branches, tags to a new remote repository keeping commits history
View git.migrate
# 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.
gemmadlou / deployment.yml
Created February 16, 2021 18:45 — forked from troyharvey/deployment.yml
Using Kubernetes envFrom for environment variables
View deployment.yml
# Use envFrom to load Secrets and ConfigMaps into environment variables
apiVersion: apps/v1beta2
kind: Deployment
name: mans-not-hot
app: mans-not-hot
replicas: 1
gemmadlou /
Created January 31, 2021 17:24 — forked from troyfontaine/
Signing your Git Commits using GPG on MacOS Sierra/High Sierra

Methods of Signing with GPG

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by

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

gemmadlou /
Last active January 24, 2021 21:22
Test Installer
#!/usr/bin/env bash
if [ -z "$PROJECT" ]; then
echo "bash -s <folder>"
git clone $PROJECT
gemmadlou / pod.yaml
Created December 24, 2020 12:17 — forked from matthewpalmer/pod.yaml
kubernetes nginx php-fpm pod
View pod.yaml
# 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
name: phpfpm-nginx-example
View AnimationName-1606734516026-276.css
.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%}