Skip to content

Instantly share code, notes, and snippets.

@DamVanLong95
DamVanLong95 / README.md
Created September 23, 2020 13:03 — forked from developius/README.md
Setup SSH keys for use with GitHub/GitLab/BitBucket etc

Create a new repository, or reuse an existing one.

Generate a new SSH key:

ssh-keygen -t rsa -C "[email protected]"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings.

Test SSH key:

@DamVanLong95
DamVanLong95 / FileHelper.php
Created August 24, 2020 08:00
Helpers to manipulate with files and images for Laravel projects.
<?php
namespace App\Helpers;
use Closure;
use Image;
use Intervention\Image\Constraint;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class FileHelper