This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:html/dom.dart'; | |
| import 'package:html/parser.dart' as parser; | |
| import 'html_color.dart' as htmlColor; | |
| // TODO Add tag handler | |
| // TODO Add GestureRecognizer for a tag | |
| InlineSpan parse(String html, TextStyle style) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # build-xnu-6153.11.26.sh | |
| # Scott Knight | |
| # | |
| # Based on the script by Brandon Azad | |
| # https://gist.github.com/bazad/654959120a423b226dc564073b435453 | |
| # | |
| # A script showing how to build XNU version 6153.11.26 on macOS Catalina | |
| # 10.15 with Xcode 11.13.1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "emojis": [ | |
| {"emoji": "π©βπ©βπ§βπ§", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👧", "category": "p", "order": ""}, | |
| {"emoji": "π©βπ©βπ§βπ¦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "👩‍👩‍👧‍👦", "category": "p", "order": ""}, | |
| {"emoji": "π©βπ©βπ¦βπ¦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "👩‍👩‍👦‍👦", "category": "p", "order": ""}, | |
| {"emoji": "π¨βπ©βπ§βπ§", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👧", "category": "p", "order": ""}, | |
| {"emoji": "π¨βπ©βπ§βπ¦", "name": "family_children", "shortname": "", "unicode": "", "html": "👨‍👩‍👧‍👦", "category": "p", "order": ""}, | |
| {"emoji": "π¨βπ©βπ¦βπ¦", "name": "family_two_biys", "shortname": "", "unicode": "", "html": "👨&zw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CGPoint offset = scrollView.contentOffset; | |
| CGRect bounds = scrollView.bounds; | |
| CGSize size = scrollView.contentSize; | |
| UIEdgeInsets inset = scrollView.contentInset; | |
| float y = offset.y + bounds.size.height - inset.bottom; | |
| float h = size.height; | |
| if (y > h + 10) { | |
| NSLOG(@"load more."); |