Skip to content

Instantly share code, notes, and snippets.

@toolbear
toolbear / hover-export.js
Last active August 12, 2023 08:52
DNS zone file
View hover-export.js
// Hover.com "Zone file import/export" has been *Planned* since 2011
// https://help.hover.com/entries/471066-Zone-file-import-export
// Here's a brittle approximation of export.
//
// 1. login to your account: https://www.hover.com/domains
// 2. run the following in your browser's JavaScript console, changing the first line
// to your domain
// 3. copy the text logged to the console.
// 4. manually correct FQDNs, these have to end with a period "."
//
@toolbear
toolbear / README.md
Last active March 13, 2023 11:45
GitHub as an authority for SSH public keys
View README.md

Motivation

SSH pubkey distribution is adhoc and less (secure|correct|convenient) than it could be. GitHub is an ad hoc authority on mapping identities to SSH public keys, but the interaction could be better.

Examples

  1. [github-auth][github-auth]
  2. bespoke curl commands or scripts used by the #pairwithme crowd
  3. keybase.io feature request to support [SSH public keys][keybase-issue]
@toolbear
toolbear / .gitignore
Last active February 11, 2023 07:13
@GAMe#0x00@
View .gitignore
/*
!@FOLK#0x00@
!@MINIGAME#0x30@
!COMBAT#0x00
!CONTRIBUTORS
!DUNGEON#0x00
!LICENSE
!OVERWORLD
@toolbear
toolbear / README.md
Last active February 9, 2022 07:00
THE CLUSTER — a meditation in service-mesh
@toolbear
toolbear / full_access_to_app_folder.md
Last active September 15, 2021 18:20
1Password Dropbox Migration to "App Folder" Sandbox
View full_access_to_app_folder.md

I don't think AgileBits Inc. is so small nor Dropbox Inc. so big that they couldn't cooperate to smooth the migration from full access to app sandbox.

The highlights:

  • requires some backend favors from Dropbox Inc.
  • supports old clients for a long time during the transition
  • allows for keychain location migration to begin immediately

Potential Migration Strategy

@toolbear
toolbear / GOLTest.scala
Created July 5, 2011 15:35
Scala Game of Life - Craftsmanship Guild Mini Coderetreat
View GOLTest.scala
package guild.gameoflife
import org.scalatest.matchers.ShouldMatchers
import org.scalatest.prop.Checkers
import org.scalatest.Spec
import org.scalatest.junit.JUnitRunner
import org.junit.runner.RunWith
@RunWith(classOf[JUnitRunner])
class GOLTest extends Spec with ShouldMatchers with Checkers {
@toolbear
toolbear / toolbear.pub
Last active March 5, 2019 01:31
SSH Key
View toolbear.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSgEr/dBoBJTNV4asjKS1WQ0gPuDCZ6vKLoS/mpRtUz toolbear
@toolbear
toolbear / doozer.rb
Last active January 24, 2017 01:19
Doozerish hostnames
View doozer.rb
#!/usr/bin/env ruby
adjectives = %w[active analytical animated bouncy busy careful cautious cheerful
clever confident dedicated devoted diligent dogmatic dynamic eager
ebullient elaborate enthusiastic exacting fast fastidious fierce fussy
hale industrious intense jolly keen levelheaded logical methodical
meticulous pedantic peppy perky persevering powerful proud prudent
punctual rational resolute rigorous robust serious spry steadfast
steady strong sturdy tenacious thorough tiny tireless unflagging
upbeat vibrant vigorous vivacious wise woofy zealous zestful]
@toolbear
toolbear / README.md
Last active January 20, 2017 20:38
Miscellaneous git utilities
View README.md

Collection of miscellaneous git scripts

@toolbear
toolbear / README.md
Last active January 20, 2017 20:31
RESTy: CLI rest helpers