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
| <table class="mytable"> | |
| <tfoot> | |
| <tr> | |
| <td class="mytd"> | |
| Hello | |
| </td> | |
| </tr> | |
| </tfoot> | |
| </table> |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| // Copyright (c) 2016, Andreas 'blackhc' Kirsch. All rights reserved. Use of | |
| // this source code is governed by a BSD-style license that can be found in the | |
| // LICENSE file. | |
| import 'dart:mirrors'; | |
| Scope currentScope; | |
| @proxy | |
| class Scope { | |
| final _scope = <Symbol, dynamic>{}; |
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
| // Copyright (c) 2016, Andreas 'blackhc' Kirsch. All rights reserved. Use of | |
| // this source code is governed by a BSD-style license that can be found in the | |
| // LICENSE file. | |
| import 'dart:io'; | |
| import 'package:analyzer/dart/ast/ast.dart'; | |
| import 'package:analyzer/dart/ast/token.dart'; | |
| import 'package:analyzer/error/listener.dart'; | |
| import 'package:analyzer/src/dart/scanner/reader.dart'; | |
| import 'package:analyzer/src/dart/scanner/scanner.dart'; |
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:package_resolver/package_resolver.dart'; | |
| Future<PackageResolver> mergePackageConfigs(String otherPackageRoot) async { | |
| final currentConfig = await PackageResolver.current.packageConfigMap; | |
| final otherConfig = | |
| (await SyncPackageResolver.loadConfig(otherPackageRoot + '/.packages')) | |
| .packageConfigMap; | |
| // We do something horrible here: We simply merge the current config with | |
| // the other. Hoping it will still work.. | |
| final config = <String, Uri>{}; |
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 MyClass { | |
| static final value = 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
| float a; | |
| void func() { | |
| float a; // This `a` shadows global `a`. | |
| } |
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 A { | |
| int f() => 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
| [...] | |
| vm_service_client: | |
| git: | |
| url: git://github.com/BlackHC/vm_service_client.git | |
| ref: reload_sources_poc | |
| [...] |
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:io'; | |
| class DartTemplate { | |
| final String content; | |
| DartTemplate(this.content); | |
| void instantiate(String targetPath, | |
| {String source, String library, String imports}) { | |
| final instanceSource = content |