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
| # ================================================================================================== | |
| # | |
| # NOTICE | |
| # | |
| # This gist is no longer maintained. It was moved to repo: | |
| # | |
| # https://github.com/maratori/golangci-lint-config | |
| # | |
| # Full history and all v2 releases are preserved in the repo. | |
| # |
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 'dart:io'; | |
| import 'package:vm_service/vm_service_io.dart'; | |
| void main() async { | |
| var process = await Process.start('dart', ['run', '--enable-vm-service', 'lib/main.dart']); | |
| var completer = Completer<String>(); | |
| process.stdout | |
| .transform(utf8.decoder) |
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
| -- vim: tabstop=2 shiftwidth=2 expandtab | |
| -- We almost always start by importing the wezterm module | |
| local wezterm = require 'wezterm' | |
| -- Define a lua table to hold _our_ module's functions | |
| local module = {} | |
| -- Returns a bool based on whether the host operating system's | |
| -- appearance is light or dark. | |
| function module.is_dark() |
OlderNewer