Skip to content

Instantly share code, notes, and snippets.

View fgonga's full-sized avatar
🎯
Concentrando

Fabrício Gonga fgonga

🎯
Concentrando
View GitHub Profile
@fgonga
fgonga / AssetRepository.php
Created November 1, 2024 23:46
Implemente Repository Pattener with
<?php
namespace Modules\Maintenance\src\asset\repositories;
use Modules\Core\src\abstracts\EloquentRepositoryAbstract;
use Modules\Core\src\contracts\EloquentRepositoryInterface;
use Modules\Maintenance\app\Models\MaintenanceAsset;
class AssetRepository extends EloquentRepositoryAbstract implements EloquentRepositoryInterface
{
/**
* LocationRepository constructor.
@fgonga
fgonga / .dart
Created April 14, 2023 06:45
Flutter Database Helper
import 'dart:async';
import 'dart:io';
import 'package:path/path.dart';
import 'package:sqflite/sqflite.dart';
import 'package:path_provider/path_provider.dart';
class DatabaseHelper {
static const _databaseName = 'database.db';
static const _databaseVersion = 1;
@fgonga
fgonga / Activate Office 2019 for macOS VoL.md
Created October 20, 2022 10:31 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@fgonga
fgonga / Angola Feriados Feriados Json.json
Last active February 1, 2022 10:25
Feriados Angolanos, Feriados de angola
[
{
"dia": "01",
"mes": "01",
"descricao": "Ano novo",
"dia_da_semana": "Sábado"
},
{
"dia": "04",
"mes": "02",
@fgonga
fgonga / AndroidManifest.xml
Created June 21, 2021 10:30
Android Studio Check And Request Permission
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.fgonga.stock">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature android:name="android.hardware.camera"/>
<uses-feature android:name="android.hardware.camera.autofocus"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"