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 | |
| # This script will install pytorch, torchvision, torchtext and spacy on nano. | |
| # If you have any of these installed already on your machine, you can skip those. | |
| # Tailored for virtual environments created with python3 -m venv [name] | |
| if [ -z ${VIRTUAL_ENV+x} ] | |
| then | |
| echo "Not in a virtual environment" |
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/material.dart'; | |
| import 'package:quill_delta/quill_delta.dart'; | |
| import 'package:zefyr/zefyr.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatefulWidget { | |
| @override | |
| _MyAppState createState() => _MyAppState(); | |
| } |
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
| { | |
| "configurations": [ | |
| { | |
| "name": "Win32", | |
| "includePath": [ | |
| "C:/raylib/raylib/src/**", | |
| "${workspaceFolder}/**" | |
| ], | |
| "defines": [ | |
| "_DEBUG", |
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
| class MyPainter extends CustomPainter { | |
| @override | |
| void paint(Canvas canvas, Size size) { | |
| final brush = Paint() | |
| ..color = Colors.blue | |
| ..strokeWidth = 4 | |
| ..style = PaintingStyle.stroke; | |
| canvas.drawVertices( | |
| UI.Vertices( |
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'; | |
| import 'dart:typed_data'; | |
| import 'dart:ui' as UI; | |
| import 'package:flutter/material.dart'; | |
| import 'package:vector_math/vector_math_64.dart' hide Colors; | |
| final TargetPlatform platform = TargetPlatform.android; |
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/material.dart'; | |
| class MessageShape extends ShapeBorder { | |
| const MessageShape({ | |
| @required this.target, | |
| @required this.borderRadius, | |
| @required this.tailHeight, | |
| @required this.tailBaseWidth, | |
| }); |
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:async'; | |
| import 'package:appname/services/firestore.dart'; | |
| import 'package:appname/utils/get_status_code_error.dart'; | |
| import 'package:firebase_auth/firebase_auth.dart'; | |
| import 'package:flutter_facebook_login/flutter_facebook_login.dart'; | |
| import 'package:google_sign_in/google_sign_in.dart'; | |
| GoogleSignIn _googleSignIn = GoogleSignIn(scopes: ['email']); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>CFBundleDevelopmentRegion</key> | |
| <string>$(DEVELOPMENT_LANGUAGE)</string> | |
| <key>CFBundleExecutable</key> | |
| <string>$(EXECUTABLE_NAME)</string> | |
| <key>CFBundleIdentifier</key> | |
| <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> |
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
| def localProperties = new Properties() | |
| def localPropertiesFile = rootProject.file('local.properties') | |
| if (localPropertiesFile.exists()) { | |
| localPropertiesFile.withReader('UTF-8') { reader -> | |
| localProperties.load(reader) | |
| } | |
| } | |
| def flutterRoot = localProperties.getProperty('flutter.sdk') | |
| if (flutterRoot == null) { |
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
| org.gradle.jvmargs=-Xmx1536M | |
| android.useAndroidX=true | |
| android.enableJetifier=true | |
| android.enableR8=true |