search for: whatsit

Displaying 4 results from an estimated 4 matches for "whatsit".

2013 Feb 27
3
an rsync question
Is there any way to have rsync compare against a file with a *different* name? What I'd like to do is compare a vm - whatsit.img against a backup - whatsit.current, that's a symlink to whatsit.timestamp, and if different, *then* make the copy (which my script will then move to whatsit.newtimestamp, and change the symlink to point to the new one, then remove the old (or maybe save an older copy or two). So: backupdir...
2006 Mar 29
4
Scaffold generator: create vs. new
...controller that the scaffold generator produces? I run: > script/generate scaffold modelname controllername And now I need to do some work inside the controllername.rb file. For example, pulling a list from another database table to supply for a drop-down select in the "create a new whatsit" form. @sprockets = Sprocket.find(:all) Do I put this in new or create? Why? I''ve been floundering around on this for some time, and I''ve not been confident that what I''m doing is the right way, is efficient as far as programmer hours, or will scale correctly...
2013 Jul 08
2
change sudoers remotely
hello list, I've been asked to give someone sudo rights across an entire environment without the benefit of something like puppet or chef or cfengine et al. What I've come up with so far is this: ssh -t miaprbicsra04v sudo -S /bin/echo "rsherman ALL=\(ALL\) NOPASSWD: /sbin/service /bin/rm /usr/bin/du /bin/df" >> sudo tee /etc/sudoers Right now that's just to one
2012 Sep 18
8
Collecting entropy from device_attach() times.
Hi. I experimented a bit with collecting entropy from the time it takes for device_attach() to run (in CPU cycles). It seems that those times have enough variation that we can use it for entropy harvesting. It happens even before root is mounted, so pretty early. On the machine I'm testing it, which has minimal kernel plus NIC driver I see 75 device_attach() calls. I'm being very careful