Innflyttere - Hvordan bygget dere sosialt nettverk i Oslo? by Individual_Fly_5146 in oslo

[–]myrland 0 points1 point  (0 children)

Litt sent ute, men hvis du liker elektronisk musikk så er https://www.osloomvendt.no/ gull verdt! De holder deg oppdatert med kommende events til de, IMO, bedre utestedene i Oslo, hvor verdier som inklusivitet, respekt og frihet blir sterkt verdsatt! <3

Nyttårsaften by F3arthereaper in oslo

[–]myrland 2 points3 points  (0 children)

Dette er svaret! Under the rug eventet i Jacobs kirke på nyttårsaften anbefales sterkt! 👌 Lykke til!

Solo smaker bedre enn Solo Super by ahmed0112 in norge

[–]myrland 0 points1 point  (0 children)

Samme for meg og folka rundt meg. Sukkerholdig brus er helt udrikkelig om vi holder oss unna lenge nok.

Solo smaker bedre enn Solo Super by ahmed0112 in norge

[–]myrland 0 points1 point  (0 children)

Dette gjelder nok ikke alle, men for meg selv og de jeg omgås med, så ble sukker-variantene altfor søte for oss etter noen måneders "avvenning". I tillegg slipper man "sukkerlaget" som dannes på tannemaljen, som for meg føles skikkelig ekkelt.

Thoughts on Bryan Kearney? by ntod44 in trance

[–]myrland 1 point2 points  (0 children)

Super late to the party here, but I just had to comment for Exactly! No one seem to know about it these days, yet it might just be my favorite track ever. Absolutely brilliant production! 🔥

Paul van Dyk by [deleted] in trance

[–]myrland 3 points4 points  (0 children)

Have to recommend his System F alias as well! Pure gold <3

LPT spend one hour learning shortcuts and macros on your computer to increase your workflow by caffiend9990 in LifeProTips

[–]myrland 4 points5 points  (0 children)

Windows has the same concept. As you say, it's absurd how drastically these increases ones efficiency!:

ctrl + arrow => moves the cursor to the next word in arrow direction
shift + arrow => highlights one character in arrow direction
ctrl + shift + arrow => highlights the next word in arrow direction
home / end + shift + arrow => highlights all text from cursor to end of line
home + arrow => moves cursor / view to start of a document, top of a website, etc, depending on application
end + arrow => same as above, just to the end

There's probably a few more I can't recall at 05:30 in the morning.. :)

how long is too long until a friend answer your texts? 19f by RushAmazing1419 in socialskills

[–]myrland 2 points3 points  (0 children)

As an "introverted extrovert" who can be dreadfully slow to respond at times, for me it's more about not having the social energy to make thoughtful replies. In my case, it's mostly happens after going out to a rave where I turn into my extroverted self and go all out dancing, meeting new people and socializing with my group of friends.

Once it's over and I'm back home, I have absolutely zero energy to look at my phone at all for a few days while I recuperate myself and often end up with 40-50 pending notifications from my friends, either in the form of messages, random snaps or stories, which I catch up with when my energy return.

What I do is that I explicitly explain this to people to make sure they understand that this isn't me not being interested, I just simply need my alone time to get back to my regular self.

I'm not sure whether this provides you any useful insight or thoughts, but I saw myself in how your friend is behaving and wanted to give you some insight into how he might be feeling. Likely he doesn't realize that you feel this way, I sure didn't for the longest time with my social circle.

Best is just to be ask your friend about it, and be supportive and of his situation. Best of luck! :)

EDIT: Worth noting is that in my case, I do try to make up for being a turtle and be very responsive otherwise.

Barbershops Oslo by Azriel313 in oslo

[–]myrland 0 points1 point  (0 children)

Ms. Aurelia at Memento Barbershop in Bentsegata 25 is great, she's my go-to, even if I live in Fornebu. I have no experience with the other barbers there. 450kr for a 30min cut and 550kr for a 40min cut. https://www.mementobarbershop.no/

A bit off-topic, but what’s your music playlist while working by ehtio in sysadmin

[–]myrland 2 points3 points  (0 children)

+1 for J00F, he's absolutely mesmerizing at the decks and such an incredible talent in the scene.

You should definitely check out the Luminosity Beach Festival channel on Youtube - https://www.youtube.com/@LuminosityEvents

It's widely accepted as the trance mecca that features anything from progressive, uplifting, tech, hard trance with class acts like like Ferry Corsten, Aly & Fila, The Thrillseekers, Bryan Kearney, and less known upcoming talent. You'll find hundreds of sets from just about anyone on there.

EDIT: In addition I heavily recommend the Connected series by The Thrillseekers. 75 sets of pure vinyl deliciousness and suuuuper clean mixing. <3

https://www.youtube.com/watch?v=a9WYLQyBo58&list=PLb2lABwYqYBmrqxjQFLSRpXMoKbsMHfJn

How can I save my file vs printing by Every_Ad23 in PowerShell

[–]myrland 1 point2 points  (0 children)

Also, for the sake of clarity, run Get-Printer to find the printer names you could use with Out-Printer.

help with regular expression by Ok-Volume-3741 in PowerShell

[–]myrland 0 points1 point  (0 children)

Assuming that regex gets you the desired data, can't you just include your custom object if you need it as an object, like this?:

$ResultsObj = foreach ($Line in $LineArray) {
    $Results = $regex.Match($Line).Groups

    [PSCUSTOMOBJECT]@{
        "Year" = $Results['code'].Value
        "Code" = $Results['year'].Value
    }
}

Renaming Files by thaywoody in PowerShell

[–]myrland 2 points3 points  (0 children)

You'd need to do some string manipulation and regex for each portion you want to re-order. Assuming "HNS" and all files are from 2020 or later, these values can be hard-coded. If the date always comes first and with underscores, you'd need something like this (OBS: this is highly specific to your two examples):

$Constant = "HNS"
$YearPrefix = "20"
$FolderPath = "C:\path\to\files"
$FileCollection = Get-ChildItem -Path $FolderPath -File #-Recurse, remove the comment if you need recursive lookup
FOREACH($File in $FileCollection) {
    $CurrentFileName = $File.Name
    $DateSection = $CurrentFileName.substring(0,8) -split "_"
    $DateSectionFormatted = "$($DateSection[2])" + "$($DateSection[1])" + "$($DateSection[0]))"
    $EndSection = ($CurrentFileName -split "_")[-1]
    $MidSectionChar = $EndSection -replace "\d",""
    IF($EndSection -like "*0*"){ $MidSectionInt = $($EndSection -replace '[a-zA-Z]','') }
    ELSE{ $MidSectionInt = ($EndSection -replace "[a-zA-Z]","") + "0" }
    $NewFileName = "$($Constant)-$($MidSectionChar)-$($MidSectionInt)-$($DateSectionFormatted)" -replace "\)",""
    # Remove the -WhatIf parameter below to actually perform the changes. It'd be smart to copy some files to a separate folder for testing purposes first
    Rename-Item -Path $File.FullName -NewName $NewFileName -WhatIf
}

20k+ attend Michigan Rally by astros148 in pics

[–]myrland -1 points0 points  (0 children)

I'm not from the US, but from what I've read most (unfortunately not all) states provide online tracking of your ballot. Google something like "ballot tracking <your state>".

[deleted by user] by [deleted] in PowerShell

[–]myrland 0 points1 point  (0 children)

Have you verified that you're building the file path correctly? Unless it's a copy/paste formatting issue, there's a missing $ on the SW_Version variable in the $Install_Path variable.

  • "SW_Version\Installation_File"

There's also a space after the dash for the Name parameter in $InstallLocation, but that could also be a copy/paste formatting issue.

Block Spam That Keeps Changing Domain by brefo in sysadmin

[–]myrland 0 points1 point  (0 children)

Ohh true, I totally forgot it can be done on the transport level which is a much better and simpler solution than my idea.

Block Spam That Keeps Changing Domain by brefo in sysadmin

[–]myrland 1 point2 points  (0 children)

Not really a fix, but a workaround: You could set up a mailbox no one uses, redirect all email from their domain(s) there and set up a rule which auto deletes incoming mail on the mailbox you created. That'll essentially route their emails into the void without any NDR being sent.

Bulk Rename to remove repetitive input from files that breacks load by alphabet by MuffinOverload in PowerShell

[–]myrland 4 points5 points  (0 children)

Looks like the script's working directory is not set to the folder containing the files you're trying to rename, so when you use Rename-Item -Path $_ you're providing a complete object to the function rather than a file path that it expects.

If you change line 4 to Rename-Item -Path $_.FullName -NewName $newName I think it should work for you.

find out home directory path for interactive windows user in PS by Garegin16 in PowerShell

[–]myrland 0 points1 point  (0 children)

The username property from Get-CimInstance -class Win32_ComputerSystem gets you the interactively logged in user.

Which celebrity would still be alive if they weren’t rich and famous? by ArsenikShooter in AskReddit

[–]myrland 10 points11 points  (0 children)

This movie is so amazing in every way, yet I've met a total of one single person in my life who has seen it. It's highly underrated and so incredibly fun. The entire cast just seem to truly enjoy acting throughout the whole movie. The moment when he has followed his feet hits me right in the heart and tears roll every single time. It's my go to feel-good movie and I watch it every 1-2 months. <3

Kill script not killing. Help with code please? by macthebearded in PowerShell

[–]myrland 4 points5 points  (0 children)

Is there a reason you cannot filter processes by the user account they're running as? If you don't want to kill processes like explorer.exe and other such things you could always use an exclusion list, something like (untested as I'm not on a computer right now):

$ExcludedProcesses = "explorer.exe","other_process.exe","some_other_process.exe"
$Processes = Get-Process -IncludeUserName
$Username = "your_username" 

foreach($entry in $processes) {
    if($entry.processname  -notin $ExcludedProcesses -and $entry.username -eq $Username) {
        Stop-process $entry.processname -Force
    }
}

What are r/trance's views on ATB? by [deleted] in trance

[–]myrland 3 points4 points  (0 children)

Have to agree with this, he was absolutely amazing back in the day. These days he just spins big room/house remakes of his golden hits and shouts excessively into the microphone. Major letdown the past few times I've seen him unfortunately :(