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
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
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
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
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
| from collections import namedtuple | |
| from typing import TypeVar, Generic, Optional, List, Union, Tuple, Callable, Any | |
| T = TypeVar("T") | |
| class Heap(Generic[T]): | |
| x: List[T] | |
| def __init__(self, key: Callable[[T], Any] = lambda x: x, order="min"): |
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
| apt-get update | |
| apt-get install -y wget | |
| wget https://cli-assets.heroku.com/branches/stable/heroku-linux-amd64.tar.gz | |
| mkdir -p /usr/local/lib /usr/local/bin | |
| tar -xvzf heroku-linux-amd64.tar.gz -C /usr/local/lib | |
| ln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku | |
| heroku version |
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
| package lib | |
| import "path/filepath" | |
| type Project struct { | |
| Root string | |
| YarnLock interface{} | |
| PackageLock interface{} | |
| Dependencies []*Dependency |
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
| // run this second | |
| import GitHub from '@octokit/rest' | |
| import * as _ from 'lodash' | |
| import * as fs from 'fs-extra' | |
| import pMap from 'p-map' | |
| import repos from '../repos.json' | |
| let statuses: {[repo: string]: string[]} |
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
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "net" | |
| "time" | |
| ) | |
| func reader(r io.Reader) { |
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 node | |
| const Client = require('npm-registry-client') | |
| const reg = new Client() | |
| const uri = 'https://registry.npmjs.org/npm' | |
| const csv = require('csv') | |
| const fs = require('fs') | |
| const PARAMS = {auth: {token: process.env.NPM_PASS}, org: 'heroku'} | |
| csv.parse(fs.readFileSync('users.csv'), (err, csv) => { |
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
| [ | |
| { | |
| "id": "debug", | |
| "description": "Outputs debugging info\n", | |
| "pluginName": "heroku-debug", | |
| "pluginType": "user", | |
| "hidden": false, | |
| "aliases": [], | |
| "flags": {}, | |
| "args": [] |