Skip to content

Instantly share code, notes, and snippets.

View melloradamj's full-sized avatar

Adam Mellor melloradamj

View GitHub Profile
@rjozefowicz
rjozefowicz / readme.md
Last active May 8, 2025 00:38
Paged.js demo + Puppeteer

HTML to export - includes Paged.js polyfill:

<!DOCTYPE HTML>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
</head>
@mokhosh
mokhosh / laravel-deployment-vps.md
Last active December 29, 2023 20:20
Deploy Laravel to VPS (LEMP, Git, Mail, Redis, SSL, etc.)

A BETTER ALTERNATIVE

Use laravel-sheploy instead. It's more capabale and much eaiser to use.

Sign in and create git user

  • ssh root@IP
  • adduser git
  • usermod -aG sudo git

Set SSH keys

on local machine