Skip to content

Instantly share code, notes, and snippets.

View chayanforyou's full-sized avatar
🤖
Learning...

Chayan Mistry chayanforyou

🤖
Learning...
View GitHub Profile
@jebright
jebright / main.dart
Created April 16, 2019 19:12
Using an Isolate in Flutter
import 'dart:async';
import 'package:flutter/material.dart';
import 'dart:isolate';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
@ponnamkarthik
ponnamkarthik / auto_resize_webview.dart
Created June 5, 2019 04:07
Flutter auto resize webview based on its content
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@denniske
denniske / custom-solution.dart
Last active May 30, 2021 09:48
Flutter Modal bottom sheet will not overlap keyboard (Fixed)
import 'package:flutter/material.dart';
class CustomPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(),
floatingActionButton: FloatingActionButton(
onPressed: () {
showModalBottomSheet(
@TheJLifeX
TheJLifeX / 00-hand-gesture-recognition.gif
Last active August 15, 2024 10:33
Simple Hand Gesture Recognition Code - Hand tracking - Mediapipe
00-hand-gesture-recognition.gif
@tgmarinho
tgmarinho / README.md
Created July 17, 2020 14:40 — forked from navarrothiago/README.md
Transform your smartphone camera in a WebCam to make video conference

Updated Instructions for App Building

@bpteague Has an excellent update solution as of February 2025 using modern tools and an updated workflow.

This gist will remain here, but is deprecated. I'll keep it here historical and link-preservation purposes only. I strongly encourage everyone to check out the solution above!

Setup

  • Create a developer account with Apple
  • Download and install X-Code from the Apple App Store
@kriware
kriware / android_tools.sh
Last active November 13, 2024 08:07
Auto install tools for android reversing in Ubuntu 20.04
#!/bin/bash
###################################################################
#Description : Script for install tools for android reversing
# Testing in Ubuntu 20.04
# Run as root
# Tools:
# - APKtool
# - Jadx
# - adb
@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active April 18, 2025 18:03
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system
@ichisadashioko
ichisadashioko / qemu_usb.txt
Created April 22, 2021 12:29
QEMU USB passthrough user guide
USB Quick Start
===============
XHCI controller support
-----------------------
QEMU has XHCI host adapter support. The XHCI hardware design is much
more virtualization-friendly when compared to EHCI and UHCI, thus XHCI
emulation uses less resources (especially cpu). So if your guest
/**
* Add an action which will be invoked when the text is changing.
*
* @return the [EditText.onTextChangeListener] added to the [EditText]
*/
inline fun EditText.doAfterTextChanged(
delay: Long = 500,
crossinline onTextChangedDelayed: (text: String) -> Unit
) = onTextChangeListener(delay, onTextChangedDelayed)