Skip to content

Instantly share code, notes, and snippets.

View bkono's full-sized avatar

Bryan Konowitz bkono

View GitHub Profile
@bkono
bkono / actionlist.vim
Created August 15, 2021 05:08 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- 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 <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

package main
import (
"fmt"
"gopkg.in/alecthomas/kingpin.v2"
)
type DevCommand struct {
debug bool
}
@bkono
bkono / main.go
Created September 1, 2019 22:39
Accessing a Google Sheet with service account credentials from the download JSON.
package main
import (
"context"
"io/ioutil"
"log"
"golang.org/x/oauth2/google"
"google.golang.org/api/sheets/v4"
)
@bkono
bkono / awsecsdeploy-stack.ts
Created May 2, 2019 05:02 — forked from windlessuser/awsecsdeploy-stack.ts
Deploys Mastodon using AWS CDK
import cdk = require('@aws-cdk/cdk');
import ec2 = require('@aws-cdk/aws-ec2');
import elastic = require('@aws-cdk/aws-elasticache');
import rds = require ('@aws-cdk/aws-rds');
import es = require("@aws-cdk/aws-elasticsearch");
import ecs = require('@aws-cdk/aws-ecs');
import s3 = require("@aws-cdk/aws-s3");
import elbv2 = require('@aws-cdk/aws-elasticloadbalancingv2');
import route53 = require('@aws-cdk/aws-route53');
import certificateManager = require("@aws-cdk/aws-certificatemanager");
@bkono
bkono / tmux-ngrok.md
Created January 15, 2019 00:01 — forked from keithpitty/tmux-ngrok.md
Pairing with tmux and ngrok

Steps for Remote Pairing using tmux and ngrok

The following steps facilitate remote pairing using:

  • tmux which allows terminal sessions to be attached to different terminals, and
  • ngrok which provides secure tunnels to your localhost

1. Install tmux

OS X: brew install tmux

@bkono
bkono / config.fish
Last active March 24, 2019 00:42
Initial setup for fish
if not functions -q fisher
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish
fish -c fisher
end
set --export EDITOR nvim
set --export VISUAL nvim
# general exports & pathing
@bkono
bkono / direnv.elv
Created March 8, 2018 05:32 — forked from thomasritz/direnv.elv
elvish direnv integration
# ~/.elvish/lib/direnv.elv
fn hook []{
env = (or (direnv export json | from-json) [&])
if (> (count $env) 0) {
f = (mktemp)
keys $env | each [k]{ echo "E:"$k" = \""$env[$k]"\"" >> $f }
-source $f
rm -f $f
}

Keybase proof

I hereby claim:

  • I am bkono on github.
  • I am bkono (https://keybase.io/bkono) on keybase.
  • I have a public key ASAj7Rvq--VFPrG5LETfXZ1YawNCgRwmiwyE8fVSyqG3Ugo

To claim this, I am signing this object:

@bkono
bkono / .hyper.js
Last active June 29, 2017 06:26
Settings for the hyper-settings-sync plugin
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 18,
// font family with optional fallbacks