Tailwind Play: https://play.tailwindcss.com/ Preview: http://kevyworks.com/tailwind-basic-layout/
WebCatalog is a tool to easily create desktop apps from websites. It's an awesome tool, but the free version (Basic account) limits you to 5 apps.
However, I came up with a simple workaround to trick WebCatalog into letting you install as many apps as you want:
All WebCatalog apps are stored at %LocalAppData%\Programs\WebCatalogApps
.
On startup, WebCatalog makes a list of your installed apps by looking at this folder.
If we make it so WebCatalog cannot find this folder, it won't think we have any apps installed, and it will let us install more.
This tutorial is based on a clean Ubuntu-22.04 install. Use at your own risk.
- WSL2 Installed. Follow this tutorial: https://learn.microsoft.com/en-us/windows/wsl/install#install-wsl-command
- systemd enabled. Follow this blog post: https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/#set-the-systemd-flag-set-in-your-wsl-distro-settings
// Copy big file from somewhere else | |
$src_filepath = 'http://example.com/all_the_things.txt'; $src = fopen($src_filepath, 'r'); | |
$tmp_filepath = '...'; $tmp = fopen($tmp_filepath, 'w'); | |
$buffer_size = 1024; | |
while (!feof($src)) { | |
$buffer = fread($src, $buffer_size); // Read big file/data source/etc. in small chunks | |
fwrite($tmp, $buffer); // Write in small chunks | |
} |
## Install packages | |
sudo yum install wget curl vim epel-release | |
sudo yum install daemonize.x86_64 | |
## Install mailhog | |
wget https://github.com/mailhog/MailHog/releases/download/v0.2.0/MailHog_linux_amd64 | |
sudo chmod +x MailHog_linux_amd64 | |
sudo chown root:root MailHog_linux_amd64 | |
sudo mv MailHog_linux_amd64 /usr/sbin/mailhog |
# PHP | |
php=https://github.com/leokhoa/laragon-packages/releases/download/4.0.9/php-7.3.2-Win32-VC15-x64.zip | |
# Apache | |
apache=https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.41-win64-VC14.zip | |
# phpMyAdmin | |
*phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/4.8.5/phpMyAdmin-4.8.5-english.zip | |
# MariaDB |
<?php | |
namespace Eder\Jobs; | |
use Eder\Jobs\Job; | |
use Illuminate\Contracts\Mail\Mailer; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Bus\SelfHandling; | |
use Illuminate\Contracts\Queue\ShouldQueue; |
<?php | |
namespace Eder\Jobs; | |
use Eder\Jobs\Job; | |
use Illuminate\Contracts\Mail\Mailer; | |
use Illuminate\Queue\SerializesModels; | |
use Illuminate\Queue\InteractsWithQueue; | |
use Illuminate\Contracts\Bus\SelfHandling; | |
use Illuminate\Contracts\Queue\ShouldQueue; |
Follow the Wiki from valet-wsl
Some projects may require older php version but minimum is 7.2 for the CLI which valet-wsl
requires.
The default Ubuntu 18.04 LTS is pre installed with Php version 7.4 in valet it is easy to use a specific version of php by