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
| escolher uma cor primária | |
| gerar uma paleta de: | |
| - background => é o scaffoldbackground | |
| - surface => tal do paper | |
| - elevation overlay => | |
| - surface overlay => chips & text fields, é um surface um pouco mais clarinho | |
| - Error => Gera uma nova paleta, por recursividade, usando vermelho + a claridade escolhida + baseado no vermelho tudo | |
| - Outline => É uma borda bem fininha e transparente,é basicamente a cor branca com pouca opacidade | |
| - on surface => High|Medium|Low|Disabled emphasys |
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
| double ruleOfThree({double x1, double y1, double x2}){ | |
| final y2 = x2 * y1 / x1; | |
| return y2; | |
| } |
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 'dart:math' as math; | |
| void main() { | |
| var tests = [ | |
| {'num': 1234, 'digits': 1}, | |
| {'num': 100000000, 'digits': 1}, | |
| {'num': 299792458, 'digits': 1}, | |
| {'num': 759878, 'digits': 1}, | |
| {'num': 759878, 'digits': 0}, | |
| {'num': 123, 'digits': 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
| import 'dart:math' as math; | |
| void main() { | |
| var tests = [ | |
| {'num': 1234, 'digits': 1}, | |
| {'num': 100000000, 'digits': 1}, | |
| {'num': 299792458, 'digits': 1}, | |
| {'num': 759878, 'digits': 1}, | |
| {'num': 759878, 'digits': 0}, | |
| {'num': 123, 'digits': 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
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN"/> | |
| <category android:name="android.intent.category.LAUNCHER"/> | |
| </intent-filter> | |
| <intent-filter android:autoVerify="true"> | |
| <action android:name="android.intent.action.VIEW" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| <category android:name="android.intent.category.BROWSABLE" /> | |
| <data android:scheme="https" android:host="dev.laks.githubmobileapp" /> |
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
| bool _hasMatch(String target, String text) { | |
| text = text.replaceAll(' ', ''); | |
| target = target.replaceAll(' ', ''); | |
| text = text.toLowerCase(); | |
| target = target.toLowerCase(); | |
| final query = text.split(''); | |
| final ids = <int>[]; |
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
| try { | |
| var badges = document.querySelectorAll("span.badge"); | |
| } catch (e) {} | |
| badges = document.querySelectorAll("span.badge"); | |
| total = 0; | |
| badges.forEach((b) => { | |
| let v; |
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
| https://discord.com/users/USER_ID |
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:url_launcher/url_launcher.dart'; | |
| import 'dart:math'; | |
| class Utils { | |
| static int randomInt(int min, int max) { | |
| final random = Random(); | |
| return random.nextInt(max - min + 1) + min; | |
| } |
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
| ::-webkit-scrollbar { | |
| width: 12px; | |
| background-color: transparent; | |
| } | |
| ::-webkit-scrollbar-button { | |
| display: none; | |
| width: 0; | |
| height: 0; | |
| } |