I hereby claim:
- I am kenshinji on github.
- I am kenshinji (https://keybase.io/kenshinji) on keybase.
- I have a public key ASCP7uHcOKzOFZJCjwJsbqPhO4jlZ4-yqa7uGgaUJunpFQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: orange; icon-glyph: magic; | |
// Script for getting sunset/sunrise & moonset/moonrise time for your location. | |
const w = new ListWidget() | |
w.backgroundColor = new Color("#222222") | |
// apiKey from https://ipgeolocation.io/ | |
const apiKey = '' |
const Nightmare = require('nightmare'); | |
const nightmare = Nightmare({show:true}); | |
//nightmare.useragent('Headless') | |
nightmare.cookies.set({ | |
url: 'https://mastering-phoenix-framework-federicoesparza.c9users.io:8081/', | |
name: 'c9.live.user.click-through', | |
value: 'ok', | |
path: '/', | |
secure: true, |
def flattify(array) | |
array.each_with_object([]) do |element, flattened| | |
flattened.push *(element.is_a?(Array) ? flattify(element) : element) | |
end | |
end |