Parcourir la source

Add 'tag_exporter.rb'

master
LWFlouisa il y a 4 ans
Parent
révision
d60d06cd18
1 fichiers modifiés avec 18 ajouts et 0 suppressions
  1. +18
    -0
      tag_exporter.rb

+ 18
- 0
tag_exporter.rb Voir le fichier

@@ -0,0 +1,18 @@
time = time.new

date = "#{time.day}#{time.month}#{time.year}"

diaspora_node = "https://diasp.org/people/f7b134e080630138a53e047d7b62795e"
mastodon_node = "https://mastodon.social/@LWFlouisa"

print "Your Post >> "; post = gets.chomp

promotion = "#{date}
#{post}

If you want to see my full posts: #{diaspora_node} #{mastodon_node}, some nice people here.
"

open("output.txt", "w") { |f|
f.puts
}

Chargement…
Annuler
Enregistrer