In this gist, you can find all the VS Code chat modes I am using in my projects for the Persona based approach technique I created.
You will find an article about on my dev.to blog (dev.to/kasuken)
In this gist, you can find all the VS Code chat modes I am using in my projects for the Persona based approach technique I created.
You will find an article about on my dev.to blog (dev.to/kasuken)
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\Http; | |
class CheckFilamentCompat extends Command | |
{ | |
/** |
import 'package:freezed_annotation/freezed_annotation.dart'; | |
import 'package:vinland/src/models/image.dart'; | |
part 'article.freezed.dart'; | |
part 'article.g.dart'; | |
@freezed | |
class ArticleAttributes with _$ArticleAttributes { | |
factory ArticleAttributes({ | |
required String title, |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Alpine Ajax test</title> | |
</head> | |
<body> | |
<h1>Users API Retrieval Test</h1> |
import 'package:flutter/material.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
import 'package:dio/dio.dart'; | |
// Disclaimer: This uses the "The Movie Database API (TMDB)" | |
// https://developers.themoviedb.org/3/getting-started | |
// With this endpoint: | |
// https://developers.themoviedb.org/3/people/get-popular-people | |
/// The FutureProvider that does the fetching of the paginated list of people |
#!/bin/bash | |
# Debug | |
set -o xtrace | |
GUEST_IP=192.168.122.221 | |
HOST_IP=192.168.122.1 | |
# Wipe the current usbfluxd, usbmuxd, and socat: | |
sudo killall usbfluxd |
/// Finds unused dependencies from pubspec.yaml | |
/// | |
/// Achieves this by parsing pubspec.yaml and recursively | |
/// searching the lib folder for an import statement that | |
/// contains the name of each package. Prints out the results. | |
const fs = require("fs"); | |
const YAML = require("yaml"); | |
const { execSync } = require("child_process"); | |
/// Read pubspec.yaml |
<?php | |
namespace Tests\Feature; | |
use App\User; | |
use Tests\TestCase; | |
use Livewire\Livewire; | |
use Illuminate\Support\Facades\Route; | |
use Illuminate\Foundation\Testing\RefreshDatabase; |
Note that local_auth plugin requires the use of a FragmentActivity as opposed to Activity. This can be easily done by switching to use FlutterFragmentActivity as opposed to FlutterActivity in your manifest (or your own Activity class if you are extending the base class).
android>app>src>main>AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.[your.package]">
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
{{-- You do not need to add this component if you are using the permanent option in the head component --}} | |
<script> | |
if (!window.sessionTimerPermanent && window.Livewire) { | |
window.livewire.hook('afterDomUpdate', startSessionTimer) | |
} | |
// if you are on livewire > 1.3.1 and want to avoid the default error alert | |
// https://github.com/livewire/livewire/pull/1146 | |
window.livewire.onError(statusCode => { | |
if (statusCode === 419) { |