Skip to content

Instantly share code, notes, and snippets.

View timsneath's full-sized avatar

Tim Sneath timsneath

View GitHub Profile
@timsneath
timsneath / failed.txt
Created May 19, 2021 21:52
Dart pub upload attempt
[C:\src\win32] dart pub publish -v
FINE: Pub 2.14.0-119.0.dev
FINE: Archiving and publishing Instance of 'Package'.
MSG : Publishing win32 2.1.1 to https://pub.dartlang.org:
| |-- AUTHORS
| |-- CHANGELOG.md
| |-- CODE_OF_CONDUCT.md
| |-- CONTRIBUTING.md
| |-- LICENSE
abstract class BaseObject {
final String species;
BaseObject(this.species);
}
class Rabbit extends BaseObject {
Rabbit(String species) : super(species);
}
2021-04-24T00:40:56.9210201Z ##[section]Starting: Request a runner to run this job
2021-04-24T00:40:57.1351285Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'windows-2016'
2021-04-24T00:40:57.1351425Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'windows-2016'
2021-04-24T00:40:57.1351663Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'windows-2016'
2021-04-24T00:40:57.2303980Z ##[section]Finishing: Request a runner to run this job
2021-04-24T00:41:04.0999277Z Current runner version: '2.278.0'
2021-04-24T00:41:04.1116623Z ##[group]Operating System
2021-04-24T00:41:04.1117920Z Microsoft Windows Server 2016
2021-04-24T00:41:04.1118460Z 10.0.14393
2021-04-24T00:41:04.1119035Z Datacenter
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. 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:ffi';
import 'package:ffi/ffi.dart';
import 'package:win32/win32.dart';
import 'base.dart';
@timsneath
timsneath / log.txt
Created April 6, 2021 18:17
Github Action
2021-04-06T18:13:37.0477320Z ##[section]Starting: Request a runner to run this job
2021-04-06T18:13:37.1907254Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'windows-latest'
2021-04-06T18:13:37.1907342Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'windows-latest'
2021-04-06T18:13:37.1907773Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'windows-latest'
2021-04-06T18:13:37.3421042Z ##[section]Finishing: Request a runner to run this job
2021-04-06T18:13:44.2964566Z Current runner version: '2.277.1'
2021-04-06T18:13:44.3099208Z ##[group]Operating System
2021-04-06T18:13:44.3100178Z Microsoft Windows Server 2019
2021-04-06T18:13:44.3100666Z 10.0.17763
2021-04-06T18:13:44.3101191Z Datacenter
@timsneath
timsneath / results.txt
Created March 23, 2021 04:30
Demonstrates failed attempt to retrieve system interfaces
Resolving Windows.Media.Playback.IMediaPlaybackItem:
This type implements 1 interface(s).
rImpl token: 0x090002ba.
iface token: 0x010004f6. typeRef: true
iface represents: Windows.Media.Playback.IMediaPlaybackSource
ptkResolutionScope is: 0x00000001
Resolving Windows.Foundation.Collections.IPropertySet:
This type implements 3 interface(s).
rImpl token: 0x09000005.
_Data_e__Union
_Flags_e__Union
_Data_e__Union
_Flags_e__Union
_Data_e__Union
_Flags_e__Union
_Data_e__Union
_Flags_e__Union
_Data_e__Union
_Anonymous_e__Union
void main() {
final list = [];
for (var i = 0; i < 1; i++) {
list.add(((i * 2) / 2).runtimeType);
}
final item = (((0 * 2) / 2).runtimeType);
print(list.first);
print(item);
enum Colors { red, black }
class Tajwid {
String text;
Colors color;
Tajwid({this.text, this.color});
}
String arabicText = "يَهْدِيْكُمُ اللَّهُ وَيُصْلِحُ بَالَكُمُ";
$ flutter upgrade
Flutter is already up to date on channel master
Flutter 1.25.0-5.0.pre.119 • channel master • git@github.com:flutter/flutter.git
Framework • revision c88ab79bd2 (6 minutes ago) • 2020-12-08 15:28:30 -0800
Engine • revision de341faa4d
Tools • Dart 2.12.0 (build 2.12.0-125.0.dev)
$ flutter precache
$ flutter config