search for: lkj

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

Did you mean: lk
2003 Feb 19
3
removing leading/trailing blanks
Hi, What's the best way of dropping leading or trailing blanks from a character string? The only thing I can think of is using sub() to replace blanks with null strings, but I don't know if there is a better way (I also don't know how to represent the trailing blank in a regular expression). Thanks, Doug Grove
2006 May 02
9
Updating only one field
At present, I use an update like this to set the user''s last login time: authenticated_user.update_attribute(:last_login, Time.now) However, this calls the following, updating all fields: UPDATE users SET `last_login` = ''2006-05-02 13:27:41'', `hashed_password` = .... Is there any way I can tell ActionRecord to only update the one field? I don''t really want
2006 Aug 07
5
seeding dev/random in 5.5
...eys in /etc/ssh I also find that by adding this to the random seeding that it will work with <return> or 300 second timeout: read -t ${timeout} junk echo "${junk}" `sysctl -a` `date` `tcpdump -xs1500 -c 5` > /dev/random Yes, I know, but even ;lj;lkj;lj;ljjl on the keyboard isn't all that random, but my issue is not being able to remotely access a virgin system with ssh. Sometimes these are headless pizza boxes, buried deep in the bowels of some data center. Has anyone else run tests like this? (I suppose the -c value in tcpdump could be...
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...YIBj={VPR#xLW%!M5bO~fd*SA!WfcuVzf`W3M zHURV@*N+$Y3AxG+83e7yw>sn6Q6si(PioCiU(b%%)PGQKe&a{410Nes%J1d8mmAL< z6|))2vBYmm#zl}E06an~n(7Y$4~m9gtk8*hQseL>=ldj%@0OAg`E1Y*(R8hc2!F^4 zq^5Q>tQTYy+g5YRlvJT}!Iav4-II0gNtrWBv!4#)y>cYanW{LTr(3+CnLnNhI=CKv zVPRn{a2T(z?E~7OzhV27`N<<8I9nqUq{H#~lKJ<9vtB<@{_W<JwqEY|i-5<;I<plE zEg8G>SHR4|TIZ}naD-p!WMpcJimT=nF;6Yx=lfH&s<FmW8oH!t*teIUt-r0VOlba@ zJ()@l3x9c)=UfV*gz_Dp;LSITlK(yLgc@o!RiP;0E^4wuJU~M4l##n6CU74oiF>mc zZ1=c<ec`FI9w`w{h-~}iLoE7|CvfTRKX^fkS#ezXai<<Tthqb9>F=8xXZrobBBAT# za=XkpF3s0j@f=dYpPW$DKU0@GIr{Uo...