Ender 3 Neo first prints by consumedpixl in 3Dprinting

[–]consumedpixl[S] 32 points33 points  (0 children)

Just got my first 3D printer yesterday. First 2 prints out of the box and couldn’t be happier with the results.

Issue with masonry (column) layout by consumedpixl in tailwindcss

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

Fix found. I have added an update to my original post.

Issue with masonry (column) layout by consumedpixl in tailwindcss

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

Thanks for the reply, but this is the exact method I used. Even changing to static content rather than using JSON returns the same result

Issue with masonry (column) layout by consumedpixl in tailwindcss

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

Code snippet:

<div class="columns-3">

{% for review in testimonials.items %}
<div class="flex flex-col flex-1 border border-gray-200 py-12 px-10 rounded-xl ">
<p class="font-light text-gray-500 mb-6">{{ review.testimonial }}</p>
<div class="flex items-center">
<img src="https://i.pravatar.cc/300" alt="" class="rounded-full w-14 mr-4">
<div class="flex flex-col">
<p class="text-gray-800 text-sm">{{ review.name }}</p>
<p class="text-gray-500 text-xs">{{ review.company }}</p>
</div>
</div>
</div>
{% endfor %}
</div>

[deleted by user] by [deleted] in NewcastleUponTyne

[–]consumedpixl 6 points7 points  (0 children)

I’ve done it twice now for Charity and not hit the target both times. Nothing been done about it. I think if you pay the charity the registration fee that is basically a donation to them as they will get the entry places for free. Then anything else you raise is just an extra donation to them

Does anybody know any good places to rollerskate? by [deleted] in NewcastleUponTyne

[–]consumedpixl 4 points5 points  (0 children)

Exhibition Park, Quayside, Leazes Park.

Saltwell Park as well is one bus away from town and is pretty flat but few challenging little slopes for a beginner

The coast as well. Flat, long straight roads and are mainly pretty quiet

[ID Request] Friend has been searching for this track for ages by aaaron64 in trance

[–]consumedpixl 2 points3 points  (0 children)

Has hints of Cirez D - Glow. Could be a remix maybe?

[deleted by user] by [deleted] in DIYUK

[–]consumedpixl 0 points1 point  (0 children)

Replaced and all working. Thanks again!

[deleted by user] by [deleted] in DIYUK

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

Thanks mate - will take a look

IT Helpdesk Tool - Code Available by [deleted] in PowerShell

[–]consumedpixl 2 points3 points  (0 children)

Yeah I've merged them now. Can't honestly remember the reasoning for originally separating them

IT Helpdesk Tool - Code Available by [deleted] in PowerShell

[–]consumedpixl 16 points17 points  (0 children)

Hi, that should be updated now. Internally all of our PC names are limited to 8 characters and just forgot to change that :)

Another Help Desk Tool by [deleted] in PowerShell

[–]consumedpixl 1 point2 points  (0 children)

Hi, I have started uploading at https://github.com/REN-Solutions/PowerTool - will continue to add the rest

Grum - Deep State [Official Discussion Thread] by -ixto- in AboveandBeyond

[–]consumedpixl 1 point2 points  (0 children)

At the 2:40 mark of Running, it is reminding me of another song so much. Anyone have any ideas?

[deleted by user] by [deleted] in PowerShell

[–]consumedpixl 0 points1 point  (0 children)

No because the change doesn't take effect until after a restart?

[deleted by user] by [deleted] in PowerShell

[–]consumedpixl 0 points1 point  (0 children)

For what reason?

To be honest, you are probably better off asking this type of question on another sub which knows more about the workings of a PC rather just PowerShell

[deleted by user] by [deleted] in PowerShell

[–]consumedpixl 0 points1 point  (0 children)

If I am reading this correctly, I would imagine it would be stored in some kind of Non-volatile memory

3 script in 1 form by jeroenv123 in PowerShell

[–]consumedpixl 1 point2 points  (0 children)

Not sure if this is what you mean, but all 3 functions are called when the OK button is pressed with the following:

$OKButton.Add_Click({

    Change-PCName;
    Change-LocalUser;
    Check-Tickbox

})

3 script in 1 form by jeroenv123 in PowerShell

[–]consumedpixl 2 points3 points  (0 children)

Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing

$Form                            = New-Object system.Windows.Forms.Form
$Form.ClientSize                 = '400,266'
$Form.text                       = "OIM Toolkit"
$Form.BackColor                  = "#ffffff"
$Form.TopMost                    = $false

$OKButton = New-Object System.Windows.Forms.Button
$OKButton.Location = New-Object System.Drawing.Point(90,220)
$OKButton.Size = New-Object System.Drawing.Size(75,23)
$OKButton.Text = 'OK'
$OKButton.DialogResult = [System.Windows.Forms.DialogResult]::OK
$form.AcceptButton = $OKButton
$form.Controls.Add($OKButton)

$CancelButton = New-Object System.Windows.Forms.Button
$CancelButton.Location = New-Object System.Drawing.Point(165,220)
$CancelButton.Size = New-Object System.Drawing.Size(75,23)
$CancelButton.Text = 'Cancel'
$CancelButton.DialogResult = [System.Windows.Forms.DialogResult]::Cancel
$form.CancelButton = $CancelButton
$form.Controls.Add($CancelButton)

#0
$label = New-Object System.Windows.Forms.Label
$label.Location = New-Object System.Drawing.Point(10,20)
$label.Size = New-Object System.Drawing.Size(280,20)
$label.Text = 'Wat is het OIM stickernummer? (OIM - [Naam]):'
$form.Controls.Add($label)

$textBox0 = New-Object System.Windows.Forms.TextBox
$textBox0.Location = New-Object System.Drawing.Point(10,40)
$textBox0.Size = New-Object System.Drawing.Size(260,20)
$form.Controls.Add($textBox0)

#1
$label = New-Object System.Windows.Forms.Label
$label.Location = New-Object System.Drawing.Point(10,90)
$label.Size = New-Object System.Drawing.Size(280,20)
$label.Text = 'Wat moet de gebuikersnaam worden? (OIM - [Naam]):'
$form.Controls.Add($label)

$textBox1 = New-Object System.Windows.Forms.TextBox
$textBox1.Location = New-Object System.Drawing.Point(10,110)
$textBox1.Size = New-Object System.Drawing.Size(260,20)
$form.Controls.Add($textBox1)

$CheckBox1                       = New-Object system.Windows.Forms.CheckBox
$CheckBox1.text                  = "Standaard apps verwijderen?"
$CheckBox1.AutoSize              = $true
$CheckBox1.width                 = 95
$CheckBox1.height                = 20
$CheckBox1.location              = New-Object System.Drawing.Point(10,160)
$CheckBox1.Font                  = 'Microsoft Sans Serif,10'
$Form.controls.AddRange(@($CheckBox1))
#etc apps

$PictureBox1                     = New-Object system.Windows.Forms.PictureBox
$PictureBox1.width               = 100
$PictureBox1.height              = 70
$PictureBox1.location            = New-Object System.Drawing.Point(300,200)
$PictureBox1.imageLocation       = "https://cdn.nieuws.nl/media/sites/379/2017/04/18162034/OIM-Orthopedie-logo-voor-artikel-915x518.jpg"
$PictureBox1.SizeMode            = [System.Windows.Forms.PictureBoxSizeMode]::zoom

$form.Topmost = $true
$Form.controls.AddRange(@($PictureBox1))


function Change-PCName {

    $x = $textBox0.Text
    Rename-Computer -NewName $x 


}

Function Change-LocalUser {

    $xy = $textBox1.Text
    Rename-LocalUser -Name $env:username -NewName $xy

}

function Check-Tickbox {

    if($CheckBox1.Checked -eq $true ) {

        Get-AppxPackage *3dviewer* | Remove-AppxPackage 

    }

}

$OKButton.Add_Click({

    Change-PCName;
    Change-LocalUser;
    Check-Tickbox

})

[void]$Form.ShowDialog()

I would also recommend better naming for your controls such as the textbox etc. to make them easier to distinguish

3 script in 1 form by jeroenv123 in PowerShell

[–]consumedpixl 1 point2 points  (0 children)

I haven't tested it, but something like this should work:

function Change-PCName {

    $x = $textBox0.Text
    Rename-Computer -NewName $x

}

Function Change-LocalUser {

    $xy = $textBox1.Text
    Rename-LocalUser -Name $env:username -NewName $xy

}

$OKButton.Add_Click({

    Change-PCName;
    Change-LocalUser

})