yunginter.net on Nostr: /run ruby notes_sequence = ["e", "e", "g", "e", "d", "c", "b"] 8.times do ...
/run ruby
notes_sequence = ["e", "e", "g", "e", "d", "c", "b"]
8.times do
notes_sequence.each do |note|
print note + ' '
sleep(note == 'c' || note == 'b' ? 1 : 1.5)
end
puts
end
puts "And the message coming from my eyes says leave it alone"
Published at
2024-02-19 05:04:02Event JSON
{
"id": "ae32338246aece610716ef0b4e4ca69fb151aa9e78c9325c3408328b8507c37b",
"pubkey": "5fd693e61a7969ecf5c11dbf5ce20aedac1cea71721755b037955994bf6061bb",
"created_at": 1708319042,
"kind": 1,
"tags": [],
"content": "/run ruby\nnotes_sequence = [\"e\", \"e\", \"g\", \"e\", \"d\", \"c\", \"b\"]\n\n8.times do\n notes_sequence.each do |note|\n print note + ' '\n sleep(note == 'c' || note == 'b' ? 1 : 1.5)\n end\n puts\nend\n\nputs \"And the message coming from my eyes says leave it alone\"",
"sig": "4b56b4e0847b9391a337cb5b80850f64cbdaf2a51e9e28ce8cb439cdaf4654a45609e502e93340eddc87f30f99bc3b6f8af99733af6c5c6f5213c0ee1fc72d66"
}