On Sun, Sep 24, 2023 at 12:35:18AM +, Andy Smith wrote:
> $ curl -s
> 'https://api.sunrise-sunset.org/json?lat=51.509865&lng=-0.118092&formatted=0'
> | jq .
> {
> "results": {
> "sunrise": "2023-09-24T05:47:54+00:00",
> "sunset": "2023-09-24T17:57:14+00:00",
> "solar_noon": "202
On Sat, 23 Sep 2023 19:22:52 -0400
Felix Miata wrote:
> It's still that idiotic AM/PM nonsense, and the : is in the wrong
> place.
Yup. I think it's locale-dependent, as you surmised.
# Optional: Insert a colon between hours and minutes. AM/PM times
# assumed.
SunriseTime="${SunriseTime:0:1}:$
If you don't want to scrape a Web page, or want this information when a
network is not available, the hdate package will do (referenced from:
https://unix.stackexchange.com/a/527031).
Here is an example for Topeka, KS:
$ hdate -l N39.034722 -L W95.695556 -s -z -5
Saturday, 23 September 2023, eve
On Sat, 23 Sep 2023 22:53:44 +0200
Greg wrote:
> I'm using mc in xfce4-terminal. To close mc you use F10 key.
> Unfortunately, the xfce4-terminal option
> Edit->Preferences->Advance->Disable menu shortcut key (F10 by default)
> Does not work. Whatever I set, F10 always activates menu.
Which ver
On 24/09/2023 01:35, Andy Smith wrote:
Hello,
On Sat, Sep 23, 2023 at 07:04:17PM -0400, Greg Wooledge wrote:
So, what to do instead? I would first look for a data source that's
not intended to be displayed by a Javascript-enabled web browser.
Something that gives you the results in plain text
Hello,
On Sat, Sep 23, 2023 at 07:04:17PM -0400, Greg Wooledge wrote:
> So, what to do instead? I would first look for a data source that's
> not intended to be displayed by a Javascript-enabled web browser.
> Something that gives you the results in plain text would be great.
> I doubt such a thi
On 24/09/2023 00:04, Greg Wooledge wrote:
By the way, do you know what tool does NOT parse HTML correctly?
A mashup of grep, awk and sed. Seriously, don't do this, ever.
I don't care, it works for me perfectly well. My own city, and every
other I tried.
Random city:
$ head -n 3 suntimes.sh |
On 24/09/2023 00:22, Felix Miata wrote:
sh srss.sh
Sunrise Today: 71:8
Sunset Today: 72:4
It's still that idiotic AM/PM nonsense, and the : is in the wrong place.
Your city in my terminal is displayed correctly:
Sunrise Today: 07:18
Sunset Today: 19:24
Looks like the website has decided t
piorunz composed on 2023-09-23 23:50 (UTC+0100):
> Felix Miata wrote:
>>> sh srss.sh
>> Sunrise Today: 64:7889657242711361093201601361071834
>> Sunset Today: 65:7242711361093201601361071834
>
>> That sort of resembles the half day format common outside the military.
> Sorry, works for me.
>
On 24/9/23 06:46, Karen Lewellen wrote:
Hi folks,
Any tool in Debian, or another Linux application that will take audio
and translate that audio into English?
Have a friend who wishes to translate Armenian news broadcasts into
English, apparently not finding translations on the sites themsel
On Sat, 2023-09-23 at 18:46 -0400, Karen Lewellen wrote:
> Hi folks,
> Any tool in Debian, or another Linux application that will take audio
> and
> translate that audio into English?
> Have a friend who wishes to translate Armenian news broadcasts into
> English, apparently not finding translat
On Sat, Sep 23, 2023 at 06:45:08PM -0400, Felix Miata wrote:
> piorunz composed on 2023-09-23 23:35 (UTC+0100):
>
> > SunTimes=$(curl --silent "https://www.timeanddate.com/sun/uk/london";
> > 2>/dev/null)
[...]
> > sh srss.sh
> Sunrise Today: 64:7889657242711361093201601361071834
> Sunset Today:
Hi folks,
Any tool in Debian, or another Linux application that will take audio and
translate that audio into English?
Have a friend who wishes to translate Armenian news broadcasts into
English, apparently not finding translations on the sites themselves.
thanks,
Karen
On 23/09/2023 23:45, Felix Miata wrote:
sh srss.sh
Sunrise Today: 64:7889657242711361093201601361071834
Sunset Today: 65:7242711361093201601361071834
That sort of resembles the half day format common outside the military.
Sorry, works for me.
./suntimes.sh
Sunrise Today: 06:47
Sunset Tod
piorunz composed on 2023-09-23 23:35 (UTC+0100):
> #!/bin/bash
> SunTimes=$(curl --silent "https://www.timeanddate.com/sun/uk/london";
> 2>/dev/null)
> SunriseTime=$(echo "$SunTimes" | grep -o 'Sunrise Today.*' | awk '{print
> $3}' | sed 's/[^0-9]//g')
> SunsetTime=$(echo "$SunTimes" | grep -o '
On 23/09/2023 22:51, s...@gmx.com wrote:
Is there a way to get sunrise and sunset time from command interpreter?
I want to use its output for a script!
Of course.
#!/bin/bash
SunTimes=$(curl --silent "https://www.timeanddate.com/sun/uk/london";
2>/dev/null)
SunriseTime=$(echo "$SunTimes" | g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
--- Original Message ---
On Saturday, September 23rd, 2023 at 3:51 PM, s...@gmx.com wrote:
> Is there a way to get sunrise and sunset time from command interpreter?
Looks like several:
https://duckduckgo.com/?t=ftsa&q=linux+sunrise&ia=w
Is there a way to get sunrise and sunset time from command interpreter?
I want to use its output for a script!
On Sat, Sep 23, 2023 at 09:19 Curt wrote:
>
> On 2023-09-22, Tom Browder wrote:
> >
> > However, I so far have not been able to scan both sides of a document in my
> > two-side document feeder the way I could could on Windows--bummer, but this
> > is a huge win so far.
> >
>
> How and what have y
On 9/23/23 17:25, Greg wrote:
On 9/23/23 23:08, Michael Kjörling wrote:
On 23 Sep 2023 22:53 +0200, from p...@sojka.co (Greg):
I'm using mc in xfce4-terminal. To close mc you use F10 key.
Unfortunately,
the xfce4-terminal option
Edit->Preferences->Advance->Disable menu shortcut key (F10 by d
On 9/23/23 23:08, Michael Kjörling wrote:
On 23 Sep 2023 22:53 +0200, from p...@sojka.co (Greg):
I'm using mc in xfce4-terminal. To close mc you use F10 key. Unfortunately,
the xfce4-terminal option
Edit->Preferences->Advance->Disable menu shortcut key (F10 by default)
Does not work. Whatever I
On 23 Sep 2023 22:53 +0200, from p...@sojka.co (Greg):
> I'm using mc in xfce4-terminal. To close mc you use F10 key. Unfortunately,
> the xfce4-terminal option
> Edit->Preferences->Advance->Disable menu shortcut key (F10 by default)
> Does not work. Whatever I set, F10 always activates menu.
>
>
Hi there,
I'm using mc in xfce4-terminal. To close mc you use F10 key.
Unfortunately, the xfce4-terminal option
Edit->Preferences->Advance->Disable menu shortcut key (F10 by default)
Does not work. Whatever I set, F10 always activates menu.
Is this a bug? Could someone fix? Is there any workar
On 23.09.23 18:54, nimrod wrote:
The syntax is no problem, it works like a charm with another server,
which is not in a container, just a vmWare virtual machine.
I don't think that samba and kerberos behave differnt in a lxc
container. Both is not kernel related.
But as I said, I could not
On Fri, 2023-09-22 at 00:27 +0200, Ulf Volmer wrote:
> On 19.09.23 14:50, nimrod wrote:
> > I'm running an LXC container on a Debian 12 host. The container,
> > named
> > "samba", aims to share a directory in an Active Directory
> > environment
> > (functional level 2016).
>
>
> No really help,
On 2023-09-22, Tom Browder wrote:
>
> However, I so far have not been able to scan both sides of a document in my
> two-side document feeder the way I could could on Windows--bummer, but this
> is a huge win so far.
>
How and what have you tried?
--
26 matches
Mail list logo