###1. Put this web.config in laravel root diretory
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.bgfirebaseapp" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="16" | |
android:targetSdkVersion="17" /> |
<html> | |
<head> | |
<title>highlight.js Code by using WebWorkers</title> | |
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script> | |
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/styles/github.min.css">--> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.5.0/styles/monokai_sublime.min.css"> | |
<script> | |
function highlight_code() | |
{ | |
if (typeof (Worker) === undefined) |
import type { Prisma } from "@prisma/client" | |
import { redis } from "../redis" | |
type CacheMiddlewareOptions = { | |
model: Prisma.ModelName | |
action: Prisma.PrismaAction | |
keys?: string[] | |
defaultValues?: Record<string, unknown> | |
ttlInSeconds: number | |
} |
WSL2 still does not support USB devices, but with a little effort we can make possible to flash and monitor ESP device from WSL2.