Skip to content

Instantly share code, notes, and snippets.

View maheshj01's full-sized avatar
💭
Bring it on 🔥

Mahesh Jamdade maheshj01

💭
Bring it on 🔥
View GitHub Profile
@maheshj01
maheshj01 / Activate Office 2019 for macOS VoL.md
Created June 2, 2021 14:05 — 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

@maheshj01
maheshj01 / rotate.dart
Created April 20, 2021 07:54
rotate a box by x deg every 2 secs
// 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';
import 'dart:math' as math;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@maheshj01
maheshj01 / life_cycle.dart
Created April 18, 2021 18:31
Resuming futter lifecycle
import 'package:flutter/material.dart';
class CountdownTimer extends StatefulWidget {
@override
_CountdownTimerState createState() => _CountdownTimerState();
}
class _CountdownTimerState extends State<CountdownTimer>
with WidgetsBindingObserver, SingleTickerProviderStateMixin {
double countdownTime;
@maheshj01
maheshj01 / image_picker.dart
Last active July 23, 2021 12:35
image picker: ^0.8.2 sample against the issue https://github.com/flutter/flutter/issues/48016
import 'dart:io';
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@maheshj01
maheshj01 / contacts.vcf
Last active March 31, 2021 10:10
Sample contacts to import and use for testing (Successfully imported on pixel3a)
BEGIN:VCARD
VERSION:3.0
N:Muller;Isabella;;;
FN:Isabella Muller
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
PHOTO;MEDIATYPE=image/gif:http://www.example.com/dir_photos/my_photo.gif
TEL;TYPE=work,voice;VALUE=uri:tel:+16829185770
REV:20080424T195243Z
END:VCARD
@maheshj01
maheshj01 / HorizontalListWheelScrollView.dart
Last active March 12, 2025 14:00
Flutter Horizontal Listwheel Scroll View
// Copyright (c) 2021, 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.
// Copyright (c) 2021, 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';
@maheshj01
maheshj01 / otp.md
Last active April 19, 2021 13:24
Auto Fill otp using sms_auto_fill flutter package
  1. Add the dependency https://pub.dev/packages/sms_autofill
  2. your class must implement the mixi CodeAutoFill mixin
  3. in initstate you should generate the app Signature and listen for the code
@override
  void initState() {
    listenForCode();
      SmsAutoFill().getAppSignature.then((signature) {
 setState(() {

Facebook Sign In hash

Release hash

C:\Users\Mahesh Jamdade>keytool -exportcert -alias <aliasName> -keystore <PATH> | openssl sha1 -binary | openssl base64
XOQ*****************vReGc=

source: https://stackoverflow.com/a/18101444/8253662

@maheshj01
maheshj01 / adb.md
Last active November 8, 2023 18:29
Adb Push file to phone from laptop

adb push (Send data from Desktop to Target phone)

adb push ~/Desktop/notifications.drawio ./storage/emulated/0/Download
e.g
$ adb push ~/Documents/workspace/mobile-app/build/app/outputs/flutter-apk/app-release.apk ./storage/emulated/0/Download

image