172
Comment:
|
1596
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Web programming == . [[http://werbach.com/barebones/|The Bare Bones Guide to HTML]] . [[http://www.addedbytes.com/cheat-sheets/css-cheat-sheet/|CSS Cheatsheet]] |
=== Projects === . RPG tile-map webapp . Accessing my iPod Touch in Linux . A wordpress install script on hcoop === General reference === * Web programming . [[http://werbach.com/barebones/|The Bare Bones Guide to HTML]] . [[http://www.addedbytes.com/cheat-sheets/css-cheat-sheet/|CSS Cheatsheet]] === 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 [[/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.) . Roadrunner DNS lookup was taking forever after I installed Ubuntu 10.04 on [[Hardware/magrathea|magrathea]], so I Googled (as you do) and found [[http://www.linuxquestions.org/questions/linux-networking-3/continued-slow-dns-lookups-on-fedora-core-5-a-468890/|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 [[http://www.linuxquestions.org/questions/linux-networking-3/continued-slow-dns-lookups-on-fedora-core-5-a-468890/#post2356892|OpenDNS servers]]. Go figure. |
Projects
- RPG tile-map webapp
- Accessing my iPod Touch in Linux
- A wordpress install script on hcoop
General reference
- Web programming
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.