Matcher tous les nombres entiers ou décimaux suivi ou non d'espace et terminer par Mo ou Go
(\d+([\.,]?\d+?)?)+\s?[Mo|Go]
Random PHP scripts |
[alias] | |
a = add --all | |
ai = add -i | |
############# | |
ap = apply | |
as = apply --stat | |
ac = apply --check | |
############# | |
ama = am --abort | |
amr = am --resolved |
Matcher tous les nombres entiers ou décimaux suivi ou non d'espace et terminer par Mo ou Go
(\d+([\.,]?\d+?)?)+\s?[Mo|Go]
CREATE AN APP | |
1.a | |
laravel new APPNAME | |
1.b: or: | |
composer create-project laravel/laravel APPNAME | |
cmd: | |
cd name-of-your-project | |
php artisan -v |
{{ paginate }} | |
<ul class="pagination flex flex-row justify-center items-center"> | |
{{ if prev_page }} | |
<li> | |
<a href="{{ prev_page }}" | |
class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"> | |
<span class="sr-only">Préc.</span> | |
<!-- Heroicon name: solid/chevron-left --> | |
<svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" | |
aria-hidden="true"> |
# pubspec.yaml | |
dependencies: | |
flutter: | |
sdk: flutter | |
flutter_riverpod: ^1.0.4 | |
# Prerelease: 2.0.0-dev.9 |
// main.dart | |
void main() { | |
runApp( | |
/// A widget that stores | |
/// the state of providers. | |
const ProviderScope( | |
child: MyApp(), | |
), | |
); |
// Example 01 : Simple scallar type | |
final valueProvider = Provider<int>((ref) { | |
return 36; | |
}); | |
// Example 02 | |
final databaseProvider = Provider((ref) => Database()); | |
// Example 03 : Real class as dependency injection | |
final httpClientProvider = Provider<Dio>((ref) => Dio()); |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Chatiii', | |
debugShowCheckedModeBanner: false, |