Skip to content

Instantly share code, notes, and snippets.

View Hassan-Boulhilt's full-sized avatar
🏠
Working from home

Hassan Hassan-Boulhilt

🏠
Working from home
  • SERVICES WEB ASSAHARA
  • Cité administrative El Ouatia
View GitHub Profile
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css">
<style>
.revealOnScroll{opacity:0;}
</style>
@Hassan-Boulhilt
Hassan-Boulhilt / pdo_db.php
Created October 30, 2018 22:37 — forked from bradtraversy/pdo_db.php
PDO Class
<?php
/*
* PDO DATABASE CLASS
* Connects Database Using PDO
* Creates Prepeared Statements
* Binds params to values
* Returns rows and results
*/
class Database {
private $host = DB_HOST;
@Hassan-Boulhilt
Hassan-Boulhilt / flutter_extension_methods.dart
Created November 14, 2023 08:14 — forked from SashaKryzh/flutter_extension_methods.dart
List of my favorite extension methods in Flutter.
import 'package:flutter/material.dart';
extension BuildContextExtensions on BuildContext {
ThemeData get theme => Theme.of(this);
TextTheme get textTheme => theme.textTheme;
ColorScheme get colorScheme => theme.colorScheme;
DefaultTextStyle get defaultTextStyle => DefaultTextStyle.of(this);