Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ptinsley on github.
  • I am ptinsley (https://keybase.io/ptinsley) on keybase.
  • I have a public key ASBupfKofza0frHu5A71SzLka4nGYQaLF6Y9cvAZwOS4sQo

To claim this, I am signing this object:

@ptinsley
ptinsley / cloudrun.md
Created April 22, 2019 21:08
Cloud Run PoC Braindump

Cloud Run PoC

Pricing

  • Standard
    • First 180,000 vCPU-seconds free (unsure if per deploy, per project etc..?)
    • First 360,000 GB-seconds free (unsure if per deploy, per project, etc...?)
    • First 1GB egress free
    • First 2 Million requests free
  • Billed to the nearest 100 milliseconds, billed for container startup time and time when a container is processing requests
A bunch of polish issues (some not surprising for day one product, some are) here are a few I remember from poking around:
- each message takes up a ton of room, optimizing the whitespace feels like it's needed
- new messages by others in other threads takes the focus away while typing, SUPER annoying
- no clear indication of unread mentions in channels or indication of unread messages / threads in general
- Clicking on a wiki link mentioned in one channel that exists in another channel takes you out of that context over to the other channel / wiki with no "breadcrumb" to know how you got there or how to get back. Very disorienting, maybe an option to open wiki links in a child window or something?
- someone adding a gif to a thread: the gif plays but has the play icon with circle stuck on top of the gif even though it's already playing
- Loading of wiki pages that we were testing that had a VERY limited amount of content (a couple of lines max) was noticibley slow
The biggest issue I had with the product in

Keybase proof

I hereby claim:

  • I am ptinsley on github.
  • I am ptinsley (https://keybase.io/ptinsley) on keybase.
  • I have a public key whose fingerprint is 898A 2A63 4921 F0A1 D7DB 2578 13C8 CBC5 4B07 8F8F

To claim this, I am signing this object:

@ptinsley
ptinsley / gist:5348192
Created April 9, 2013 18:35
Puppet grant ftp access to user in IIS
exec { "Grant FTP Access to ${username}": # Grant access to our user
command => "C:\Windows\System32\inetsrv\appcmd.exe set config \"${site_name}\" /section:system.ftpServer/security/authorization /+\"[accessType='Allow',users='${username}',permissions='Read, Write']\" /commit:apphost",
unless => "cmd.exe /c C:\Windows\System32\inetsrv\appcmd.exe list config \"${site_name}\" /section:system.ftpServer/security/authorization | find \"${username}\"",
path => $::path,
require => [ User[$username], Iis_vdir["${site_name}/"] ],
}