Skip to content

Instantly share code, notes, and snippets.

~/Co/w/aws-sso-cli cache-refresh ⇣1 git pull
Updating 5e73b68..7305a3a
Fast-forward
sso/awssso.go | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
~/Co/w/aws-sso-cli cache-refresh make build-race
go build -race -ldflags='-X "main.Version=1.9.6" -X "main.Delta=''" -X "main.Buildinfos=2022-11-28T18:07:12+0000" -X "main.Tag=v1.9.5-5-g7305a3a" -X "main.CommitID=7305a3ad80ad01029e0a5af7722c0609d177e0f0"' -o dist/aws-sso-1.9.6 ./cmd/aws-sso/...
~/Co/w/aws-sso-cli cache-refresh cd dist
   ~/Co/w/aws-sso-cli/dist    cache-refresh !1  ./aws-sso cache  2 ✘  8s   17:23:46 
fatal error: concurrent map writes
goroutine 886 [running]:
github.com/synfinatic/aws-sso-cli/sso.(*AWSSSO).makeRoleInfo(0x140006ac000, {0x44, {0x140003430e0, 0xc}, {0x14000343100, 0xa}, {0x1400062b6c0, 0x1f}}, 0x0, {0x140003a6b50?, ...})
/Users/johnathan/Code/work/aws-sso-cli/sso/awssso.go:195 +0x1dc
github.com/synfinatic/aws-sso-cli/sso.(*AWSSSO).GetRoles(0x140006ac000, {0x44, {0x140003430e0, 0xc}, {0x14000343100, 0xa}, {0x1400062b6c0, 0x1f}})
/Users/johnathan/Code/work/aws-sso-cli/sso/awssso.go:164 +0x63c
github.com/synfinatic/aws-sso-cli/sso.fetchSSORole(0x0?, 0x10437cfd4?, 0x14000768090?, 0x695d5b5d5b282029?)
/Users/johnathan/Code/work/aws-sso-cli/sso/cache.go:432 +0x130
{"lastUpload":"2019-10-01T14:01:07.847Z","extensionVersion":"v3.4.2"}
@colatricks
colatricks / keybase.md
Created January 8, 2018 15:49
keybase.md

Keybase proof

I hereby claim:

  • I am suitedupgeek on github.
  • I am suitedupgeek (https://keybase.io/suitedupgeek) on keybase.
  • I have a public key ASCsTRzB45uKyR-Js_lC1g6sggqRsPrJh5GqLVeW4wqAvwo

To claim this, I am signing this object:

<?php
function displayPics($bebo) {
// Set userid
$userID = $bebo->user;
// Display instructions
echo "Hello <sn:name uid='$userID' useyou='false' />!<br/><br />If everything has gone as planned, you'll find below a list of URL's - these are the links to all of your images!<br /><br />What you need to do now is copy all the links, then paste them into the page @ <a href=\"http://www.weleasewodewick.com/bebo/get_images.php\">weleasewodewick.com/bebo/get_images.php</a><br /><br />Once you click submit on that page it will download each image and put them into a zip file for you :) No more pesky right-click->Save As->Rinse->Repeat!!<br /><br />";
// Pull album list into array, then pull out each picture from every album - finally display a list of URL's for copy and pastage.
$userAlbums = $bebo->photos_getAlbums($userID, null);
class AlterInfosTable < ActiveRecord::Migration
def self.up
change_table :infos do |t|
t.change :description, :string, :limit=>510
end
def self.down
change_table :infos do |t|
t.change :description, :string, :limit=>255
end