Skip to content

Instantly share code, notes, and snippets.

View stevenosse's full-sized avatar
😁
I turn coffee into mobile apps

Steve stevenosse

😁
I turn coffee into mobile apps
View GitHub Profile
@stevenosse
stevenosse / i18n_checker.dart
Last active June 20, 2023 07:25
I18n Checker
import 'dart:io';
void main(List<String> arguments) {
if (arguments.length < 2) {
// ignore: avoid_print
print('Usage: dart i18n_checker.dart <arb_folder> <reference_file>');
return;
}
final arbFolder = arguments[0];
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@stevenosse
stevenosse / Autoloader.php
Last active November 2, 2018 10:37
Autoloader class that automatically loads all the classes of your project.
<?php
/*
* Author : Steve Nosse
* Licence : Freeware
* How to use ?
* Simply do require_once "autoloader.php"; and then Autoloader::init();
*/
class Autoloader {
/**