Differences between revisions 9 and 10
Revision 9 as of 2010-05-22 19:35:31
Size: 1265
Editor: SteveKillen
Comment:
Revision 10 as of 2010-05-22 19:41:50
Size: 1596
Editor: SteveKillen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 . After the wiki got spammed, I locked it down and added Textchas for new users. But there were still 50-something random names, and MoinMoin user data is stored in numbered files. So I threw together [[/deleteSpammers|a script]] to get rid of them. Feel free to look at my shitty shell programming skills and be amazed.  . After the wiki got spammed, I locked it down and added Textchas for new users. But there were still 50-something random users, and MoinMoin user data is stored in numbered files. So I threw together [[/deleteSpammers|a script]] to get rid of them rather than delete them one by one. Feel free to gaze upon my shitty shell programming skills, ye Mighty, and despair. Summary: it looks at a file I keep of actual human beings, and if the user isn't on the list, it gets deleted. (Even though I could have just done this from the command line, writing the script means I don't have to write it again the next time I get hit with wikispam of that sort.)

Projects

  • RPG tile-map webapp
  • Accessing my iPod Touch in Linux
  • A wordpress install script on hcoop

General reference

Hacks, kludges, and fixes

  • After the wiki got spammed, I locked it down and added Textchas for new users. But there were still 50-something random users, and MoinMoin user data is stored in numbered files. So I threw together a script to get rid of them rather than delete them one by one. Feel free to gaze upon my shitty shell programming skills, ye Mighty, and despair. Summary: it looks at a file I keep of actual human beings, and if the user isn't on the list, it gets deleted. (Even though I could have just done this from the command line, writing the script means I don't have to write it again the next time I get hit with wikispam of that sort.)

  • Roadrunner DNS lookup was taking forever after I installed Ubuntu 10.04 on magrathea, so I Googled (as you do) and found this gem from 2006. The upshot: Roadrunner and Adelphi DNS can be slow for Linux machines (but not Windows!), so it's easier to set your DNS lookup addresses to use OpenDNS servers. Go figure.

Software (last edited 2011-03-30 22:29:27 by BtTempleton)