erikano
Joined 16 years ago
Joined 16 years ago
I have a question (not related to my side project). I maintain a list of my eBook library where I put the following information about the eBooks I have (data for this book in parentheses): Publisher (Leanpub), Title (Hello Web App), Authors (Tracy Osborn), Published (), Purchased (2015-07-08), Last known update (2015-05-08), Catalog Page (http://leanpub.com/hellowebapp), Read duration (). As you can see, I was unable to determine what to put in the Published field. I would like to have information for this on the form Month Year. Could someone -- preferably Tracy or a Leanpub employee -- tell me what to put there?
PS: If you'd like to see my eBook library list, you can find it at http://www.erikano.net/eBooks/purchased.htm. Note that some of the books at the bottom of the list are ones I am not so interested in reading any longer.
After you've installed it, you can test that it works by typing
xeyes
in your terminal. That should show two googly eyes.Then ssh to some other machine with X forwarding enabled. To do that, ensure the remote host has
X11Forwarding yes
in /etc/ssh/sshd_config
then ssh -X example.com
Assuming the server has the necessary X11 libraries and xeyes is installed on the server, you can once again type xeyes
and you'll see the googly eyes again but what you are actually seeing is them running from the remote machine.Hope this helps though I'm not sure it is quite what you're looking for.
(Personally, I use X forwarding very rarely, prefering the terminal for almost everything but browsing the web.)
>About the ‵mod′ keyword in ‵use′, if you ask it on IRC I'm sure many people including me would point you the relevant PR that was made around October. Nice article by the way.
This first entry I made by
TZ=UTC echo $( date +%YT%T%z ). <message>
Which I copied to my clipboard and then manually created the TXT record for and then the CNAME.Next time I want to add an entry, I will:
expr $( host head.microblog.erikano.net \
| egrep -o '[^ ]*$' | cut -d'.' -f1 ) + 1
To get the ID for the post to be made and then echo calling date as I did for the first post.Had I still been hosting the DNS server myself, I would've turned this into a script and appended the entry as a TXT record directly and updated the CNAME to the new value using sed.
Actually, thank you for asking because I just realized what my next little project should be: Instead of the way I'm doing it now, I can selfhost a little DNS server which will be authorative over microblog.erikano.net while still hosting the DNS for the rest of erikano.net and my other domains where I have them now. The project will be written in Go since I have been wanting to make something in Go but didn't finish the other things I started writing in Go. I have no ETA for the microblog DNS selfhost server project because of work and current projects.
Hope I didn't misunderstand the question but if I did and you meant how to update the microblog when I'm out and about, the answer is I would need to use a web browser currently to manually update the records. When my own server has been written, I simply ssh to my VPS which hosts the server and run a cli tool I will name "mb" ("microblog") with my message as argument.