Posts in category Programming



Sending Key Events to pygame programs

| tags: programming

I needed to send key events from one python program to another. Using SendKeys on Windows worked fine in my tests but when I tried to send key events to a pygame program it completely ignored them. Some searching revealed that DirectInput ignores events generated with SendKeys. I learned that I needed to use SendInput. I found lots of partial examples but nothing that quite did the job. Here is some code (scraped together from multiple web pages) that works for me:

more...


AxsJAX

| tags: programming, links

Tom sent me to a pointer to AxsJAX , an AJAX variant designed to be accessible a framework designed to make AJAX accessible.

more...






Editing remote files with emacs and tramp

| tags: programming, ubuntu

Our web pages are in AFS space, which would be great but AFS is a pain. The security policy requires me to login with a password in order to get a token in order to access an ACL protected directory. I decided to see if I could get the emacs package tramp to help me with this. Tramp will use scp to retrieve remote files and to write them on save. How can I get it work with AFS?

more...



« Previous Page -- Next Page »