Skip to content

Instantly share code, notes, and snippets.

View jywarren's full-sized avatar

Jeffrey Warren jywarren

View GitHub Profile
@jywarren
jywarren / screenshot.js
Created March 20, 2024 19:12
Photosphere from A-Frame
document.querySelector('a-scene').components.screenshot.capture('equirectangular');
@jywarren
jywarren / portal.js
Last active February 15, 2024 17:55
var e = document.createElement('div');
document.body.appendChild(e);
e.style="position:absolute;z-index:999;left:200px;top:200px;";
e.innerHTML = '<iframe style="width:300px;height:300px;border-radius:500px;transition: all 1s ease-out;" src="https://jywarren.github.io/sfpcrr/?embedded&url=images/mapogu.jpg"></iframe>';
{
"scenes": [
{
"nodes": [
0
],
"name": "Room Objects"
}
],
"nodes": [
layout title
page
Mailing list

Introduction

text

We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
https://publiclab.org/notes/raw/104
https://publiclab.org/notes/raw/114
https://publiclab.org/notes/raw/138
https://publiclab.org/notes/raw/160
https://publiclab.org/notes/raw/11740
https://publiclab.org/notes/raw/11741
https://publiclab.org/notes/raw/11742
https://publiclab.org/notes/raw/11758
https://publiclab.org/notes/raw/11759
https://publiclab.org/notes/raw/11796
export function Paginate() {
let blabla = 3;
function setup() {
}
function clear() {
}
return {
setup: setup,
clear: clear
}

Action: Someone follows a tag

What currently happens after the action:

They're taken to their subscriptions page and see an alert that says "You are now following tag".

What to change and text to add/revise:

Add more text and links to the alert to suggest next steps. Ideally, the URLs would reflect the tag just followed, e.g., the link to the question editor includes the tag just followed as a pre-populated tag.

w = Map.where.not(author: 'anonymous').collect(&:warpables)
urls = []
w.each do |img|
img.each do |i| urls << [i.map.name,i.image.url];end
end
file = File.new("images.json", "w")
file.puts(urls.to_s)
file.close