Skip to content

Instantly share code, notes, and snippets.


Carlos Fructuoso analistacarlosh

View GitHub Profile
analistacarlosh /
Created Jan 25, 2021 — forked from tanaikech/
Retrieving Access Token From OneDrive using Google Apps Script

Retrieving Access Token From OneDrive using Google Apps Script


This GAS sample is for retrieving access token to use OneDrive APIs using Google Apps Script.

In this script, the authorization code is automatically retrieved.


analistacarlosh /
Created Jan 25, 2021 — forked from tanaikech/
Uploading Files to OneDrive Using Node.js

Upload contents for an item on OneDrive

In order to use this script, please retrieve client id, client secret and refresh token before. About this, you can see the detail information at

1. Simple item upload

This is for the simple item upload is available for items with less than 4 MB of content. The detail information is

var fs = require('fs');
var mime = require('mime');
var request = require('request');
analistacarlosh / validationMiddleware.ts
Last active Mar 25, 2020
validationMiddleware + NodejS + Express
View validationMiddleware.ts
import 'reflect-metadata';
import { plainToClass } from 'class-transformer';
import { validate, ValidationError } from 'class-validator';
import { NextFunction, Request, RequestHandler, Response } from 'express';
import HttpException from '../exceptions/HttpException';
import { ClassType } from 'class-transformer/ClassTransformer';
* A middleware that will verify the params in the request based on the DTO's class
analistacarlosh /
Last active Jan 8, 2020

Project Check-List

Clean Archiecture

UI (View, State) 
<-> Domain (Business rules or externar sercice like Firebase)
<-> Data (Shared Preferences / Repository/ API and Local Data)

MVVM folder structure

View analysis_options.yaml
- always_declare_return_types
- camel_case_types
- empty_constructor_bodies
- annotate_overrides
- avoid_init_to_null
- slash_for_doc_comments
- sort_constructors_first
- unnecessary_brace_in_string_interps

My Flutter experiences

1 - ABRH-SP Flutter App (published) I developed this App three years ago with Ionic 1 and now I rebuilt the full App using Flutter. I used Flutter SDK, custom Layout (Column, Rows, Flexible), Forms, GPS library, http, Sqlite and Push notification with Firebase.

2 - Yasmin App Vídeo (Project in progress)

Screen record: Developed custom layout, basics animations in Flutter, Responsive Layout for SmarthPhone and Tablet.

analistacarlosh / FlutterAndroidiOSAdaptiveStyle.dart
Last active Aug 13, 2019
View FlutterAndroidiOSAdaptiveStyle.dart
// Copyright 2019 The Flutter Team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart' as foundation;
import 'package:flutter/material.dart';
import 'package:multiplatform/widgets.dart';