Debian GNU/Linux 6.0.0 "Squeeze" CDs.
That's the latest "stable"(/production) Debian release,
Debian 6.0 "Squeeze" released 2011-02-06
The CDs I have are i386 and amd64:
Debian GNU/Linux 6.0.0 "Squeeze" - Official i386 CD Binary-1
Debian GNU/Linux 6.0.0 "Squeeze" - Official amd64 CD Binary-1
http://www.debian.org/News/2011/20110205a
http://www.berkeleylug.com/
Oh, ... Jack - I've still got business card holder and some CDs from
the meeting before last - I missed last meeting - guess I'll get 'em
back to you at first meeting in March.
BUUG updates theirs by crontab job and perl script,
BALUG by hand - but also puts the dates on the web page well into the
future.
> From: "Jack Deslippe" <jde...@gmail.com>
> Subject: Meeting Sunday Feb 27
> Date: Fri, 25 Feb 2011 22:49:18 -0800
I wonder if any of you guys have a lap top to donate to a senior citizen
whose Life would be really transformed by such a gift. At this time Joan
goes to this and that friends to have email and the most marginal things
including ordering on netflicks. There are a few people in my building
who live on a below the poverty level fixed income whose world would
expand and explode with a lap top or computer. My heightened interest
in serving this group happened when I set up internet provider ATT for a
friend who is 85 and new to the internet. Now almost 2 years later she
has expanded her use and interests which exercises her brain and
supports her over all health both mental and physical. I have heard that
the 'grandmother' generation is taking off in internet use. I wonder if
we as a LUG group can help those who are unable to purchase their own
hardware.
My life has been expanded since I joined this LUG. I really delight in
being a beginner in Linux.
With respect and gratitude, ilsa
510-423-3132
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNjj6QAAoJEN4iGOvz2ofLiJsH/0sNxkMYGxiVRErYaRk59f9C
4QO5OBoia8Tr0BKDZNIiu+Vw2eutLfMope8NNuOZV46gMdy2bxsxiam/gUpQbgNZ
OwTEUhDN5wVHLqoyCayaQ4dWe3SkKnQpTfdMpTw+vyMbXp8w1CGbHMqGP691YV8l
ftJed/jnVOTfihu0lmPoTUUccsfaIqg9++Rjx2pOOdcZ6rbVP4u0M30Ceqwu0f2i
f9KCKcDM6Gs13w6RYRCEZyWjTORlAcRPjiKmI6Z7fA8xbLaBfkcGy1px9rE/p+cY
7s5Ls5sVHl3DmWEHLymbXpqxxUXlRwhP5TfFBaBPiFezbtOI5qQyVHf7Ub7IlcE=
=pmWc
-----END PGP SIGNATURE-----
> That's great. Now I need to find some sort of wordpress-cli tool.
Hmmmm, perhaps someone on the list knows about such tool or interface.
Also, with Date::Calc the code gets quite a bit simpler and smaller.
This version doesn't do the time calculation bits (that could be
added), but is otherwise quite a bit more simple and compact:
$ ./upcoming_meetings | head -n 6
2011-04-24
2011-05-08
2011-05-22
2011-06-12
2011-06-26
2011-07-10
$ expand -t 4 < upcoming_meetings
#!/usr/bin/perl
$^W=1;
use strict;
# vi(1) :se tabstop=4
# 2nd and 4th Sundays of the month from today going forward,
# ISO YYYY-MM-DD output, YYYY not to exceed 9999
use Date::Calc qw(
Today
Nth_Weekday_of_Month_Year
)
;
my ($year,$month,$day) = Today();
my $day2=(Nth_Weekday_of_Month_Year($year,$month,7,2))[2];
printf(
"%04d-%02d-%02d\n",
($year,$month,$day2)
) if $day2 >= $day;
$day2=(Nth_Weekday_of_Month_Year($year,$month,7,4))[2];
printf(
"%04d-%02d-%02d\n",
($year,$month,$day2)
) if $day2 >= $day;
undef $day2;
while(1){
++$month;
if($month>12){
$month=1;
exit(0) if ++$year > 9999;
};
printf(
"%04d-%02d-%02d\n",
(Nth_Weekday_of_Month_Year($year,$month,7,2))
);
printf(
"%04d-%02d-%02d\n",
(Nth_Weekday_of_Month_Year($year,$month,7,4))
);
};
$
> On Sun, Apr 3, 2011 at 11:37 AM, Michael Paoli <
> Michae...@cal.berkeley.edu> wrote:
>
>> Hmmm, since at 3:00:00 P.M. on meeting dates, the program considers the
>> meeting not yet concluded, should add a second of sleep(1) on that
>> crontab job (in case that wasn't obvious ;-)):
>> 0 15 * * 0 sleep 1; ...
>> ... then the program would be updating the future meeting dates about one
>> second after the conclusion of most recent prior meeting's scheduled end
>> time. :-)
>>
>> From: "Michael Paoli" <Michae...@cal.berkeley.edu>
>>>
>>> Subject: Re: Got meeting update(s)? - 2011-03-13? :-)
>>> Date: Sat, 02 Apr 2011 23:02:38 -0700
>>>
>>
>> Let's see ... next meeting dates ...
>>> http://www.berkeleylug.com/?page_id=67
>>> March? What year?
>>>
>>> Hmmmmm...
>>> crontab(1) ...
>>> 0 15 * * 0 ...
>>> $ ./upcoming_meetings
>>> 2011-04-10
>>> 2011-04-24
>>> 2011-05-08
>>> 2011-05-22
>>> 2011-06-12
>>> 2011-06-26
>>> $ expand -t 4 < upcoming_meetings
>>> #!/usr/bin/perl
>>> $^W=1;
>>> use strict;
>>>
>>> # vi(1) :se tabstop=4
>>>
>>> # Determine upcoming* regular meeting dates for
>>> # Berkeley Linux Users Group http://www.berkeleylug.com/
>>> # regular meetings are 2nd and 4th Sunday of the month,
>>> # noon to 3:00 P.M.
>>> # *strictly speaking, non-completed (so meetings in progress will still
>>> # show, until they're past).
>>>
>>> my $meetings=6; # determine this number of non-completed meetings
>>>
>>> use Time::Local qw(timelocal);
>>>
>>> my $time=time;
>>> my ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>>
>>> if (
>>> # are we after 3 P.M.?
>>> $hour > 15 ||
>>> $hour == 15 && ($min > 0 || $sec > 0)
>>> )
>>> {
>>> # after 3:00:00 P.M.
>>>
>>> # pick rather early time in day, but not too close to midnight,
>>> # as we later want to add integral multiples of 24 hours and cross
>>> # exactly one day boundary for each 24 hours.
>>> ($sec,$min,$hour)=(0,0,6);
>>>
>>> # now add a day
>>> $time = timelocal($sec,$min,$hour,$mday,$mon,$year) + 24 * 60 * 60;
>>> }else{
>>> # <= 3:00:00 P.M.
>>>
>>> # pick rather early time in day, but not too close to midnight,
>>> # as we later want to add integral multiples of 24 hours and cross
>>> # exactly one day boundary for each 24 hours.
>>> ($sec,$min,$hour)=(0,0,6);
>>>
>>> # determine our new $time
>>> $time = timelocal($sec,$min,$hour,$mday,$mon,$year);
>>> };
>>>
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>>
>>> # Sunday align our time
>>> if($wday){
>>> $time+=(7-$wday)*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> };
>>>
>>> sub prdate{
>>> printf("%4d-%02d-%02d\n",$_[0]+1900,$_[1]+1,$_[2]);
>>> };
>>>
>>> my $found=0;
>>> while(1){
>>> # 2nd or 4th Sunday?
>>> if(
>>> $mday>=8 && $mday <=28 &&
>>> ($mday<=14 || $mday >=22)
>>> ){
>>> # meeting date
>>> &prdate($year,$mon,$mday);
>>> if(++$found>=$meetings){
>>> exit 0;
>>> };
>>> # try again in two weeks;
>>> $time+=14*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> }else{
>>> # try again in a week;
>>> $time+=7*24*60*60;
>>> ($sec,$min,$hour,$mday,$mon,$year,$wday)=(localtime($time))[0..6];
>>> };
>>> };
>>> $
>>>
>>> From: "Jack Deslippe" <jde...@gmail.com>
>>>> Subject: Re: Got meeting update(s)? - 2011-03-13? :-)
>>>> Date: Sat, 12 Mar 2011 17:44:30 -0800
>>>>
>>>
>>> Thanks for reminder, I should set something up to automatically change
>>>> the
>>>> dates...
>>>>
>>>> Jack
>>>> On Mar 12, 2011 9:17 AM, "Michael Paoli" <Michae...@cal.berkeley.edu