/HandyLinks

HandyLinks #HL is an archive of helpful links.

MIT LicenseMIT

HandyLinks

HandyLinks #HL is an archive of helpful links.

Website development

Places To Find Web Design Inspiration

  1. Awwwards
  2. Dribbble
  3. Behance
  4. siteInspire
  5. CSS Nectar
  6. UI/UX Components design inspitation

Web tools for developers

10015 All Online Tools in “One Box”

Svg repo

Svg repo

Build a complete off chain fullstack web3 app using Laravel Part-1

BuildWeb3WithLaravel

How to build a Laravel REST API with Test-Driven Development

laravel-rest-api

The most popular component library component library for Tailwind CSS

Tailwind-CSS-component

laravel import large csv jobs queues

large-csv-jobs-queues

How to Use the CSS Box Model and Style SVG Images

how-to-use-css-box-model-and-style-svg-images

Color Contrast Checker

Color Contrast Checker

Remote jobs

Top Websites to Find Remote Jobs for programmers:

  1. weworkremotely.com
  2. virtualvocations.com
  3. workingnomads.com
  4. freshersworld.com
  5. remoteok.com
  6. justremote.co
  7. flexjobs.com
  8. crossover.com
  9. simplyhired.com
  10. angel.co
  11. toggl.com
  12. remote.co

Crypto & NFTs

How to launch an NFT collection: 9 steps for success

successful-nft-drop

A to Z: NFT Glossary

nft-glossary

Artificial inteligent (AI)

Find cool artificial intelligence (AI) tools.

AI Tools Club

Tutorial YouTube video

Test Driven Laravel - e02 - Deleting a Record, Asserting Instance Of & Carbon Pars

Test-Driven-Laravel

Introduction to APIs | Laravel API Course | Learn Laravel API | Laravel API Tutorial

Introduction-to-Laravel-API

Laravel Package Development - e01 - Introduction

Laravel-Package-Development

Notion solidifying documentation for your startup

Notion-solidifying-documentation

Docker Tutorial for Beginners

Docker-Beginners-tutorial-by-mosh

CI/CD For laravel share hosting

you can deploy laravel app directly to share hosting

save the code bellow in .scripts folder as deploy.sh in your public_html folder

#!/bin/bash set -e

echo "Deployment started ..."

copy .env

(cp .env.example .env) || true

if already is in maintenance mode

(php artisan down) || true

changed=0 git remote update && git status -uno | grep -q 'Your branch is behind' && changed=1 if [ $changed = 1 ]; then

fetch the latest version of the app

git fetch git (ssh://git@ssh.github.com:443/bazzlylinks/geotech-web.git)

Pull the latest version of the app

git pull ssh://git@ssh.github.com:443/bazzlylinks/geotech-web.git php artisan migrate --force php artisan optimize:clear php artisan up echo "Updated successfully"; else

Exit maintenance mode

php artisan up echo "Up-to-date" fi

echo "Deployment finished!"

After this save the below code in your .github/workflows/ folder as laravel.yml

name: 🚀 Deploy on push main

on: push: branches:
- main

jobs: web-deploy: name: 🎉 Deploy runs-on: ubuntu-latest

steps:
  - name: 🚚 Get latest code
    uses: actions/checkout@v2
  - name: Copy .env
    run: cp .env.example .env
  - name: Install composer Dependencies
    run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
  - name: Install node dependencies
    run: npm ci
  - name: Directory Permissions
    run: chmod 755 -R storage bootstrap/cache
   
  - name: 📂 Deploy to server via ssh
    uses: appleboy/ssh-action@v0.1.7
    with:
      host: "hostIp"
      username: 'HostUsername"
      password: "hostPass"
      port: "hostPort"
      script: "cd /home/u665214148/public_html && sh ./.scripts/deploy.sh"

Finally save the code bellow as .htacces file in your laravel project directory

Options -MultiViews -Indexes

RewriteEngine On RewriteCond %{REQUEST_URI} !^public

RewriteRule ^(.*)$ public/$1 [L]

Handle Authorization Header

RewriteCond %{HTTP:Authorization} .

RewriteRule .* — [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Redirect Trailing Slashes If Not A Folder…

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} (.+)/$

RewriteRule ^ %1 [L,R=301]

Send Requests To Front Controller…

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^ index.php [L]