#python #oneliner for retrieving a location from #geoclue :

```
python3 -c "from gi.repository import Geoclue;print(Geoclue.Simple.new_sync('something',Geoclue.AccuracyLevel.EXACT).get_location().get_properties('latitude','longitude','altitude','accuracy'))"
```

Never put your shaving cream beside toothpaste..

- #lifecoach #lesson #justathought #thoughts #humor #joke #oneliner

Kevin's One Liner of the Day

For a chihuahua, Christmas is fleas Navidad

#funny #oneliner #humor #comedy #silly #fun #laugh #humour #dog #chihuahua #Christmas #fleas

Generate perintah one-liner untuk membagi video dengan cepat dan efisien. Cocok untuk developer, content creator, dan pengguna FFmpeg.

#fediverse #Video #Splitter #OneLiner

https://dalam.web.id/olah-media/video-splitter-one-liner-generator

Video Splitter One-Liner Generator

Generate perintah one-liner untuk membagi video dengan cepat dan efisien menggunakan FFmpeg.

Layar Kosong

Swap Variables WITHOUT a Temp Variable - INSANE Trick!

Python's tuple unpacking vs PHP's list() - which language has the CLEANEST swap? This is crazy!

#php #python #phpvspython #variableswap #tupleunpacking #destructuring #notempvariable #oneliner #viralcoding #programmingtricks #codinghacks #mindblown

https://www.youtube.com/watch?v=ycngNa7HWXo

Swap Variables WITHOUT a Temp Variable - INSANE Trick! #PHP

YouTube

How to Use rpartition to Split From the Right

rpartition splits on the LAST occurrence. Perfect for filenames. One call. No regex. Nobody uses it.

#python #rpartition #split #string #howto #oneliner

https://www.youtube.com/watch?v=tYohVygO3-0

How to Use rpartition to Split From the Right #rpartition

YouTube

@manwar Again, #RakuLang offers some #OneLiner solutions to the challenge:

Count Prefixes: ```
@array.map({$str.starts-with($_)}).sum
```

Valid Times: ```
([X~] .comb.map({ /\?/ ?? (0..9) !! $_})).grep(/^$<h>=[\d\d]\:$<m>=[\d\d]$ <?{ $<h> < 24 && $<m> < 60 }>/).elems
```

@manwar Again, #RakuLang offers some #OneLiner solutions to the challenge:

Alphabet Index Digit Sum: ```
( $str.trans(['a'..'z'] => [1..26]), *.comb.sum ... * )[$k]
```

Valid Token Counter: ```
.words.grep(/^ <:Ll>+ [ \- <:Ll>+ ]? <[,.!]>? $/).elems
```

@manwar Both challenges are appropriately solved with #RakuLang #RegEx

The second one is a #OneLiner but almost 🙂

Decrypt string: ```
S:g/[(\d)|(\d\d)\#]/{chr 96+$0}/
```

Goal parser: ```
my %p = '()' => 'o', '(al)' => 'al';
S:g/@(%p.keys)/{%p{$/}}/
```

Jokes a Comin' #gaming #residentevil #streaming #horror #residentevilrequiem #funny #quip #oneliner #owncast #loops

I am a huge fan of this latest sitcom my guys.

Check out my livestream: https://dingusmacdongle.live