Skip to content

Instantly share code, notes, and snippets.

View rrifafauzikomara's full-sized avatar
💻
Coding Enthusiast

R. Rifa Fauzi Komara rrifafauzikomara

💻
Coding Enthusiast
View GitHub Profile
@rrifafauzikomara
rrifafauzikomara / Activate Office 2019 for macOS VoL.md
Created December 10, 2019 06:41 — 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

class Genres {
static Map<int,String> genres = {
10759: "Action & Adventure",
16: "Animation",
35: "Comedy",
80: "Crime",
99: "Documentary",
18: "Drama",
10751: "Family",
10762: "Kids",
class Movie {
int page;
int totalResults;
int totalPages;
List<Results> results;
Movie({this.page, this.totalResults, this.totalPages, this.results});
Movie.fromJson(Map<String, dynamic> json) {
import 'dart:async';
import 'package:http/http.dart' show Client;
import 'dart:convert';
import 'package:network/model/movie.dart';
class ApiProvider {
Client client = Client();
static final _apiKey = 'Your_API_Key';
static final String _baseUrl = 'http://api.themoviedb.org/3/movie';
import 'package:rxdart/rxdart.dart';
import 'package:network/network.dart';
import 'package:repository/repository.dart';
class MovieListBloc {
final _repository = Repository();
final _movieFetcher = PublishSubject<Movie>();
Observable<Movie> get allMovie => _movieFetcher.stream;
import 'package:flutter/material.dart';
class VoteColorHelper {
static Color getColor(double s) {
Color r = Colors.red;
if (s > 4.5 && s < 7)
r = Colors.yellow;
else if (s >= 7) r = Colors.green;
return r;
}
import 'package:flutter/material.dart';
import 'package:network/network.dart';
Widget buildGenreChip(int id) {
return Container(
margin: EdgeInsets.only(right: 10),
padding: EdgeInsets.all(8),
child: Text(
Genres.genres[id],
style: TextStyle(fontSize: 12),
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
class Poster extends StatelessWidget {
static const POSTER_RATIO = 0.7;
Poster(
this.posterUrl, {
this.height = 100.0,
});
import 'package:flutter/material.dart';
class ClipperImage extends CustomClipper<Path> {
@override
Path getClip(Size size) {
var path = Path();
path.lineTo(0.0, size.height - 30);
var firstControlPoint = Offset(size.width / 4, size.height);
var firstPoint = Offset(size.width / 2, size.height);
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'clipper_image.dart';
class ArcBannerImage extends StatelessWidget {
ArcBannerImage(this.imageUrl);
final String imageUrl;
@override