Skip to content

Instantly share code, notes, and snippets.

View abenevaut's full-sized avatar
🤯
Boum Headshot! Boum Headshot! Boum Headshot!!!

Antoine B. abenevaut

🤯
Boum Headshot! Boum Headshot! Boum Headshot!!!
View GitHub Profile
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\<your user profile>\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\<your user profile>
LOCALAPPDATA=C:\Users\\AppData\Local

Laravel nginx configuration on Synology webstation

sudo vi /etc/nginx/sites-enabled/server.webstation-vhost.conf

Add

location / { try_files $uri $uri/ /index.php?$query_string; }

Prerequisite

  • SSH should be activated and working
  • Python 3.9 should be installed from Package Center
  • supervisord

Install Supervisord

Connect to the NAS with SSH, then log as root:

Let's follow together the Docker kata.

Here, the docker cheat sheet with popular commands.

  • app.jsx - load router from attached project router file

  • router.jsx - load project router

  • ReactRouterProvider.jsx - the dedicated react-router router; could be cloned for inertia and others react/next routers

  • RouterContext.jsx - the abstract router

  • Link.jsx - the Link component

  • (Not tested) InertiaRouterProvider.jsx - the dedicated inertiajs router

Schema.org, top snippets for your portfolio or blog with spatie/schema-org