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:flame/collisions.dart'; | |
| import 'package:flame/components.dart'; | |
| import 'package:flame/events.dart'; | |
| import 'package:flame/game.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| void main() { | |
| runApp(GameWidget(game: MyGame())); | |
| } |
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:core"; | |
| void main() async { | |
| final mymap = { | |
| 'arara': true, | |
| 'racecar': true, | |
| ')(()': true, | |
| 'radar': true, | |
| '()()': false, | |
| }; |
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
| #!/usr/bin/env python | |
| import os | |
| for filename in os.listdir('.'): | |
| if filename.endswith(".webm") or filename.endswith(".mp4"): | |
| os.system('ffmpeg -i %s -r 10 -vf scale=480:-1 %s.gif' % (filename, filename)) | |
| continue | |
| else: | |
| continue |
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 DiamondPrinter { | |
| fun printToList(char: Char): List<String> { | |
| val size = ('A'..char).count() * 2 - 1 | |
| val half = size / 2 | |
| return (0..half).map { lineIndex -> | |
| StringBuilder("".padStart(size)) | |
| .apply { | |
| setCharAt(half + lineIndex, 'A' + lineIndex) | |
| setCharAt(half - lineIndex, 'A' + lineIndex) |
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
| CODELAB | |
| https://codelabs.developers.google.com/codelabs/flutter/#0 | |
| https://codelabs.developers.google.com/codelabs/flutter-firebase/#0 | |
| PLUGINS | |
| https://github.com/Jaguar-dart/jaguar_serializer | |
| https://github.com/goposse/fluro | |
| https://pub.dartlang.org/packages/async_loader | |
| https://github.com/flutter/plugins |
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 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() { | |
| runApp(new MaterialApp( | |
| home: new RepoListPage(), | |
| routes: <String, WidgetBuilder> { |
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 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() { | |
| runApp(new MaterialApp( | |
| home: new RepoListPage(), | |
| routes: <String, WidgetBuilder>{ |
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 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() { | |
| runApp(new MaterialApp( | |
| home: new RepoListPage(), | |
| )); |
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
| <svg id="code128"></svg> | |
| <svg id="code39"></svg> |
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
| Tutorial ensinando a criar uma aplicação usando a gem rhc | |
| http://guides.railsgirls.com/openshif | |
| Resolver problema de compatibilidade com rack | |
| http://stackoverflow.com/questions/32536312/rake-issue-when-deploying-ruby-on-rails | |
| Resolver problema com assets | |
| https://github.com/rails/sass-rails/issues/169 |
NewerOlder