Skip to content

Commit

Permalink
journal entry
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-doc-journal-2018-11-15.md,
  • Loading branch information
JensLincke committed Nov 15, 2018
1 parent 256aca4 commit 558b6f1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions doc/journal/2018-11-15.md
@@ -0,0 +1,32 @@
## 2018-11-15 #LivelyDown


Sadly, our lively-kernel.org server is down and we cannot work on our #Lively4 instances at the moment, because it served as reverse proxy....

And that means we cannot authenticate ourselves to #GitHub at the moment....

But luckily we are still authenticated in one browser on can transfer the tokens. But first we have to get them.

```javascript

async function createGithubTokenSnippet(keys) {
var result = ""
var prefix = "LivelySync_"
for(var key of keys) {
var itemName = prefix + key
var value = await focalStorage.getItem(itemName)
result += `focalStorage.setItem("${itemName}","${value}")\n`
}
return result
}
createGithubTokenSnippet(["githubToken", "githubUsername", "githubEmail"])


```

And we cet something we can execute....
```javascript
focalStorage.setItem("LivelySync_githubToken","ad947xxxxxx")
focalStorage.setItem("LivelySync_githubUsername","JensLincke")
focalStorage.setItem("LivelySync_githubEmail","jens.lincke@hpi.uni-potsdam.de")
```

0 comments on commit 558b6f1

Please sign in to comment.