James Sugrue [asked][1], "@GitHubAPI is there a way to find the number of stars for a given repository?"
$ curl -ni "https://api.github.com/search/repositories?q=more+useful+keyboard" -H 'Accept: application/vnd.github.preview'
{| // Copyright 2017, the Flutter 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:async'; | |
| import 'package:meta/meta.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| /// A widget that ensures it is always visible when focused. |
| import 'dart:async'; | |
| import 'package:bloc/bloc.dart'; | |
| import 'package:equatable/equatable.dart'; | |
| abstract class AuthenticationEvent extends Equatable { | |
| AuthenticationEvent([List props = const []]) : super(props); | |
| } | |
| class LoginEvent extends AuthenticationEvent { | |
| final String loginRequest; |
| # Credit http://stackoverflow.com/a/2514279 | |
| for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r |
| 'use strict' | |
| const fs = require('fs') | |
| const path = require('path') | |
| const zlib = require('zlib') | |
| require.extensions['.gz'] = | |
| require.extensions['.js.gz'] = (module, filename) => { | |
| if (path.extname(filename.slice(0, -3)) === '.js') { | |
| let content = zlib.unzipSync(fs.readFileSync(filename)).toString() |
| class Queue { | |
| private readonly queue: any[]; | |
| private start: number; | |
| private end: number; | |
| constructor(array: any[] = []) { | |
| this.queue = array; | |
| // pointers | |
| this.start = 0; |
Electron is tricky to get set up on Windows Subsystem for Linux, but it can work!
Four things needed overall:
apt install several dependenciesSetup instructions, in order: