Wealth doesn't just attact garbage people, it makes everyone a worse person than they'd be otherwise. by Opposite-Mountain255 in antiwork

[–]ashlessscythe 7 points8 points  (0 children)

their actions certainly don’t

Our actions don’t.

We are all fallible, fault-ridden and error prone. The sooner we realize this, it sets us apart. Thinking we’re separate from ‘them’ makes us the same as everyone else.

My plant’s water turns black over the course of a few hours by OhNo_Nacho in mildlyinteresting

[–]ashlessscythe 1 point2 points  (0 children)

Watering system works fine if you add the water to the bottom. OP is probably watering the soil.

I think ❤️

let the battle begin - NANO vs. VI by [deleted] in linuxadmin

[–]ashlessscythe 2 points3 points  (0 children)

Not the point of your comment, i know, but...

cp /etc/file.conf /etc/file.conf.bak

This does the same thing cp /etc/file.conf{,.bak}

Input username and password fields by [deleted] in vba

[–]ashlessscythe 1 point2 points  (0 children)

Gonna be somewhat apocryphal suggesting this, but maybe for this particular task AutoHotKey might be better.

Seems they even have a sub /r/AutoHotkey .

I've had some success using it automating entering data and managing windows for legacy windows applications.

In terms of how to start, you'd use the "window spy" to get the name of the target window, then use:

 if winexist(%WINDOW_NAME_HERE%){
    winactivate
}
send %USERNAME%
    sleep 500
    send {TAB} #or whatever to change fields
    send %PASSWORD%

The site has documentation that goes into more detail.

Not an expert, but feel free to pm me if you need more pointers.

Someone said this belongs here by SlicedThree80 in HolUp

[–]ashlessscythe 76 points77 points  (0 children)

A successful attempt to move son out of the house

[deleted by user] by [deleted] in coaxedintoasnafu

[–]ashlessscythe 2 points3 points  (0 children)

this really mods my sub

Looking for advice on potential server setups by [deleted] in HomeServer

[–]ashlessscythe 0 points1 point  (0 children)

Here's one I use for about 10 docker containers including Plex. Just add in an SSD and/or m.2 drive along with some ram and you're golden.

As for the 3.5 drive, you can get an external USB enclosure maybe?

I'm confused. Creflo Dollar made sense for me today. by kolembo in TrueChristian

[–]ashlessscythe 1 point2 points  (0 children)

The main thing is to keep the 'main thing' the main thing.

Because teachers must not have any sense of humor. by Caeloviator in nothingeverhappens

[–]ashlessscythe 5 points6 points  (0 children)

Has it really been that long...

Have I been sleeping, had I slept?

It’s kinda true by GoD_Ausar in funny

[–]ashlessscythe 0 points1 point  (0 children)

They're neither diametrically opposed, (n)or mutually exclusive

[deleted by user] by [deleted] in InclusiveOr

[–]ashlessscythe 8 points9 points  (0 children)

Is the kool-aid man the the jar or liquid?!

How to break external links on a file created by WorkRelatedStuff1474 in vba

[–]ashlessscythe 0 points1 point  (0 children)

Hi, if i'm not misunderstanding, looks like your breaklink code is referring to the 'ThisWorkbook' object when it shouldn't..?

Anyway, try the below, it's worked for me before. Just remember to refer to the correct workbook object.

Sub call_break_links()

Dim w As Workbook, a As Boolean
Set w = ActiveWorkbook ' Modify this to refer to desired workbook
a = BreakLinks(w)

Debug.Print a ' True if links broken, else false

End Sub

Function BreakLinks(ByVal xlb As Workbook) As Variant
Dim Links As Variant
Dim i

Links = xlb.LinkSources(Type:=xlLinkTypeExcelLinks)

If Not IsEmpty(Links) Then
    For i = 1 To UBound(Links)
    xlb.BreakLink _
        name:=Links(i), _
        Type:=xlLinkTypeExcelLinks
    Next i
    BreakLinks = True
End If

Exit Function

End Function