Tools and Snippets
- Random Tools
- Twitter Avatar Filename Discovery Tool — A random tool to easily print the file name of a user's avatar when they uploaded it to twitter.
- stickymap.c — I got annoyed that XOrg doesn't restore xmodmap settings to keyboards after a suspend/resume from RAM. That's because as far as XOrg is concerned, the keyboard goes away and comes back and you shouldn't be able to expect anything to persist. Instead of configuring my keyboard in XOrg.conf like I was supposed to, I just wrote this tool to re-run xmodmap everytime the machine resumes. Dirty hack is probably a generous label.
- Random Code Snippets
- soft_atimes.c — This code compiles as a shared library and intercepts calls to open() and open64() to add O_NOATIME to the flags. On Linux 2.6.8 or greater, this allows you to stop most of your applications from updating filesystem atimes. This is helpful for certain types of applications which are doing routine scans and shouldn't update atimes, but haven't been written to use this option.
Back to capelis.dj