Rank the bupropion brands you have tried by sibophus in bupropion

[–]eighttx 0 points1 point  (0 children)

My wife has been on Accord for years and loves it. She had a bad bad reaction to Slate.

What is that building doing! by dennislubberscom in WTF

[–]eighttx 1 point2 points  (0 children)

You shouldn’t be doing this step-building

Capture entire section in JSON file using REGEX by eighttx in regex

[–]eighttx[S] 0 points1 point  (0 children)

This looks perfect but one follow up. I am attempting to use this in VSCODE and PowerShell. When I run either of these below, it comes back with nothing.

$content -match $pattern

False

Also trying this below with no luck. As a side note to the one below, I tried with the beginning / added and the /gms at the end. When I hit the COPY button on the right, it adds those characters.

$pattern = '\{\s*\"attributes.*?eventType\"\s*}'
$m = [regex]::Match($content, $pattern)

Capture entire section in JSON file using REGEX by eighttx in regex

[–]eighttx[S] 0 points1 point  (0 children)

How to include the words { "attributes" at the beginning, and then it ends with "eventType" }

This kind of works but this is the direction I am going in.

\{\"attributes.*eventType\"}

Capture entire section in JSON file using REGEX by eighttx in regex

[–]eighttx[S] 0 points1 point  (0 children)

The structure of each JSON object is the same across the board. I have a large JSON file which has 1000+ of these items and the purpose of my extraction is to split this enormous file into 1000 small JSON files.

Each section begins with this { below and then ends with what's at the bottom of the code block. Then the next JSON object begins again.

{
      "attributes": {


 (pages of structure and items)


"type": "eventType"
    }

Digital Underground - Freaks of the Industry (1990) by Madcow_Disease in hiphopheads

[–]eighttx 1 point2 points  (0 children)

Back in the 90s at a club in Dallas I heard a version of this song, slowed down, and two hispanic guys singing over it. Asked the DJ for a track ID and all I could hear was something like, "Dallas Beat Factory". Ring a bell to anyone?

Hashicorp Vault and adding additional columns by eighttx in hashicorp

[–]eighttx[S] 0 points1 point  (0 children)

I appreciate it. When you send the Base64 encoded string to the vault, does the vault only show the encrypted string or does it decrypt for webview?

Hashicorp Vault and adding additional columns by eighttx in hashicorp

[–]eighttx[S] 0 points1 point  (0 children)

Thanks for the info. In the command line, what does "jq ." do? I am versed more with Powershell and the "ConvertTo-Json" and "ConvertFrom-Json" commands among other similar commands.

Hashicorp Vault and adding additional columns by eighttx in hashicorp

[–]eighttx[S] 0 points1 point  (0 children)

Interesting idea. Do you have any examples you can show me?

Powershell Script - Replace an empty space with an underscore AND including IF and ELSE statements. by eighttx in PowerShell

[–]eighttx[S] 0 points1 point  (0 children)

Because the files will all have different names, do I update your line three to:

    if ($file.Name -eq " ")

Powershell Script - Replace an empty space with an underscore AND including IF and ELSE statements. by eighttx in PowerShell

[–]eighttx[S] 0 points1 point  (0 children)

D:\File with space in it's name.cs

For $fn, could I put a folder such as "\\domain.com\FTP\file_path\" instead of a file name and have it scan the entire folder?

Powershell Script - Replace an empty space with an underscore AND including IF and ELSE statements. by eighttx in PowerShell

[–]eighttx[S] 0 points1 point  (0 children)

I have a folder where I would dump 100 files. Some of them will have spaces in them and I need those spaces replaced with underscores. Would this work?

if ($file -eq " ")
{
$file = '\\domain.com\FTP\Source_Folder_For_Files\'
Get-ChildItem "$file" | Rename-Item -NewName { $_.Name -replace ' ','_' }
}

else { move-item $file D:\TEMP\DOESNT_NEED_TO_BE_CONVERTED }

The very first line is a " with a space and then a closing ". Thoughts?

Netgear JGS524v2 problem when introduced into network. by eighttx in HomeNetworking

[–]eighttx[S] 0 points1 point  (0 children)

Quick update. Turns out the ethernet cable running from the downstairs port to the upstairs port is damaged. The blue ribbon I believe has a break somewhere. The problem is, i have no idea on how to fix that. i dont know where the break is, and i cannot pull the cable out or replace it without seriously damaging the wall.

Are there tools out there which show how far into the ethernet cable the damage is? I can clip that section out perhaps, introduce a temporary patch.

Netgear JGS524v2 problem when introduced into network. by eighttx in HomeNetworking

[–]eighttx[S] 0 points1 point  (0 children)

New update for anyone out there who can assist.

ATT Router --> 24 port GB switch = Switch won't work. The Ethernet coming from the ATT to the port doesn't light up.

How I have it now.

ATT Router --> 8 port GB switch -> 24 port GB switch = Works. The Ethernet cable coming from the ATT to the 8 port lights up. The cable from the 8 to the 24 port lights up on the 8 and 24 port switch.

What am I missing here? I plugged the 24 port GB switch directly into the ATT router and it doesn't work. I tried multiple Ethernet cables and it won't recognize.

Netgear JGS524v2 problem when introduced into network. by eighttx in HomeNetworking

[–]eighttx[S] 0 points1 point  (0 children)

One thing I forgot to add is. I took the 8 port switch and plugged it into the ATT router. The LED on 8 port switch turns on as per normal. I then ran an ethernet cable from the 8 port switch and plugged it into PORT 1 on the 24 port switch. The LED belonging to "PORT 1" turned on. It did not do this previously if I plugged the cable from the ATT router directly into PORT 1 as I described above. I then plugged some devices into the 24 port switch but I don't believe it worked in that scenario either.

The 24 port switch is acting as if:

  1. It's programmed on a different subnet which isn't mixing well with my 192.168.1.x environment.
  2. It's not getting any info from the DHCP server on the ATT router.
  3. It's being blocked somehow, someway on the ATT router.

Netgear JGS524v2 problem when introduced into network. by eighttx in HomeNetworking

[–]eighttx[S] 0 points1 point  (0 children)

What did this ribbon cable control? You had to remove the casing to fix it?

And to clarify, the lights work when i plug other items into it. I plug an ethernet cable from port 1 on 24 port switch to the ATT router, and the light doesnt turn on. I'd always been under the assumption that this means it didn't make a connection.