A few years ago I wrote a php script to provide better autoindex within nginx. I used it for quite a long period until I rewrote it in Ruby/Sinatra. But then I figured the setup for it is overly complicated just for simple task. And takes additional memory. I always have php-fpm running anyway so it’s free.
And so I decided to take up the old php script and fix it up. Unfortunately there isn’t other language as easy to setup for web as php which is why I fixed it instead of rewriting in some other languages (or keeping it ruby). The “fixed” version is still pretty much imperative-style but hey, it works.
Only tested with nginx.
As I’m too lazy to keep the other domain, this blog who nobody visits have changed the domain once again back to blog.myconan.net. animebsd.net will not be extended after next year. I’ll keep looking on access to old domain and to make sure no one accidentally visits this blog using wrong domain.
It now supports paste deletion. Only via web rendered properly for now.
Inb4 feature creep.
Hmm. Also, happy world’s end.
[ Torrent ]
This blog has been updated to WordPress 3.5. Initial impressions:
- everything is less rounded now
- Twenty Twelve (the new theme) sucks for following reasons:
- uses custom font: causes this blog unreadable until fonts are loaded (at least in chrome)
- image header: positioned below navigation menu (and the header text is above the menu)
- no more search bar in navigation menu
- the new media uploader looks useful
Overall there isn’t much change (what should I expect here) but the new theme sucks. At least to be used on this blog.
With my move to a better VPS, I changed some things on 0paste:
Worked quite well and much easier to maintain.
The third one. A bit better and less dark than PV 02. As usual, ripped from main website.
[ Torrent ]
I decided to mess around with Zeropaste and added some “features”:
- Show paste in plaintext (fixed width) and Markdown
- Allows displaying paste in fixed width instead of full/auto
- Setting mode and width based on url
- Automatically updating url based on selected mode and width
0paste.com has been updated accordingly, including Rubinius 2.0.0rc1.
Now you can read glopping Asuna in convenient fixed width markdown (NSFW).
I decided to get a domain for it because of :reasons:. Anyway, the old ones from p.myconan.net is still accessible (it’ll redirect to new url at 0paste.com). Donations welcome.
Also because the world needs yet another pastebin. This one is running on Rubinius using Puma, by the way. Four threads with awesomest possible caching for showing pastes.
[ 0paste.com | Source ]
…one does not simply run both PHP and Rails applications (and MySQL) in single 128 MB box.
This is what happens if you try doing it. Swapping all the time. Hopefully Debian will fare better but it means I’ll need to reinstall the box again. I’ll do a test run in my local machine first though as not to waste my time doing backup/restore again like today.
(Yeah, Zeropaste is up at p.myconan.net)