Borbin the ๐Ÿฑ

๐Ÿ” Suche...
๐Ÿ”
Alle Begriffe mรผssen vorkommen (UND), "Phrase" fรผr exakte Treffer, r"regex" fรผr Muster (oder ').
  • Nationaler Katzentag ๐Ÿ˜บ

    ๐Ÿ“… 29. Oktober 2022 ยท โฑ๏ธ 1 min

    National ๐Ÿ˜บ Day!
    And in two days it's ๐ŸŽƒ๐Ÿ‘ป
    Be aware, turns a ๐Ÿˆ into a ๐Ÿˆโ€โฌ›

  • Internationaler Katzentag ๐Ÿ˜บ

    ๐Ÿ“… 8. August 2022 ยท โฑ๏ธ 1 min

    My cat reminded me today of the International ๐Ÿ˜บ Day!
    Do not forget the extra treats today!
    ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ๐Ÿˆ

  • Katzentreppe ๐Ÿ˜บ

    ๐Ÿ“… 3. August 2022 ยท โฑ๏ธ 1 min

    My cat asked me for a staircase. After a long design discussion he finally said: "meow"! Project is on!


    All parts except the round material were cut from those boards.


    The boards were cut in length.


    And to thinner size.


    The staircase has an angle of 30ยฐ



    With a fixed vise all the holes in the treads were drilled.





    One of the wooden rounds broke and I had to cut one manually. Took longer than expected.


    The railing holes are cut with a 30ยฐ alignment using one of the cut offs as a guide.



    Two parts assembly.




    Construction finished. Painting!


    Customer is happy!


    It is his staircase.

  • Cafe Roussillon, Paris, France

    ๐Ÿ“… 26. Juli 2022 ยท Panorama ยท โฑ๏ธ 1 min

    Typical french cafe in this neighborhood: Cafe Roussillon. Right in the center of Paris between the Eiffel tower and the Louvre.


    Interaktives Panorama Cafe Roussillon

  • Scan text with regex in PowerShell

    ๐Ÿ“… 24. April 2022 ยท Software ยท โฑ๏ธ 1 min

    The named group capture (?exp) in a regex is an easy way to scan content. In this example, to get the text enclosed in quotes in a string. This is how it is done in PowerShell:

    # Get the text enclosed in quotes.
    [string]$text = 'This is an "example text".'
    [string]$textRegex = '\"(?<Text>.*?)\"'
    
    if ($text -match $textRegex) {
        $matches['Text']
    }

    This outputs
    example text


    Or split a formatted string into parts. For example the assignment structure 'id=value':

    # Parse the id and value of the text.
    [string]$text = '  id123 = abc  '
    [string]$idValueRegex = "^\s*(?<id>\w+?)\s*=\s*`"?(?<value>.+?)`"?\s*$"
    
    if ($text -match $idValueRegex) {
        "id=$($matches['id']), value=$($matches['value'])"
    }

    This outputs
    id=id123, value=abc


    Or parse a pattern, for example the content of each bracket in " abc { 123 } { def } 456 {xyz}"

    [string]$text = " abc { 123 } { def } 456 {xyz}"
    [string]$bracketRegex = "[{]\s*(?<Text>.*?)\s*[}]"
    
    ([regex]$bracketRegex).Matches($text) | % {
        [System.Text.RegularExpressions.Group]$match = $_
        [string]$value = $match.Groups["Text"].Value
    
        $value
    }

    This outputs
    123
    def
    xyz

โ† Neuere Beitrรคge Seite 36 von 57 ร„ltere Beitrรคge โ†’
รœBER

Jรผrgen E
Principal Engineer, Landei und kreativer Entwickler vieler Projekte:
Windows Photo Explorer (cpicture-blog), Android apps AI code rpn calculator und Stockroom, vrlight, 3DRoundview, klassische und 360-Grad-Panoramen, BitBlog, mein github und Inhaber einer US Extra Class Funklizenz.


Blog-รœbersicht Chronologisch

KATEGORIEN

Auto โ€ข Electronics โ€ข Fotografie โ€ข Motorrad โ€ข Paintings โ€ข Panorama โ€ข Software โ€ข Querbeet


Erstellt mit BitBlog!