lukemurray, to Powershell

It's that time of year again; Advent of Code code time! The advent calendar of small programming puzzles for variety of skill sets and skill levels that can be solved in any programming language you like.

https://adventofcode.com/

cjerrington, to Powershell
@cjerrington@mstdn.social avatar

Not sure why, but I had to reinstall my node modules for a project after updating and my project wouldnt load.

My serve command used 'eleventy -serve' and couldnt find eleventy anymore. After a fresh reinstall of packages things started working again. I guess I should move to the npx '@11ty/eleventy --serve' instead as it is only locally installed.

Mentoring_minds, to mentalhealth

What does a Panic Attack Feel Like?

  1. Muscle Stress
  2. Dizziness
  3. Increased Heartbeat
  4. Problems with Breathing
  5. Losing Self-control……

Know more https://mentoringminds4.wordpress.com

#mentalhealth
#psychology
#wellness
#space
#love
#inspiration
#health
#doctorwho
#knowledge
#powershell
#truth
#story
#socialmedia
#justice

leanpub, to Powershell
@leanpub@mastodon.social avatar

PowerShell 101 by Mike F. Robbins is free with a Leanpub Reader membership! Or you can buy it for $7.99! http://leanpub.com/powershell101

leanpub, to Powershell
@leanpub@mastodon.social avatar

Modern IT Automation with PowerShell by The DevOps Collective, Inc. and Michael Zanatta is on sale on Leanpub! Its suggested price is $50.00; get it for $30.00 with this coupon: https://leanpub.com/sh/Jh29yE9B

Ciantic, to github
@Ciantic@twit.social avatar

One of my favorite issues I've opened in is this: https://github.com/PowerShell/PowerShell/issues/3028

Why? It's an example of how a big company (in this case Microsoft) has trouble with the simplest of things.

Clearly running a script without showing a console window should be possible, but instead, it's being waffled, year after year how to implement it in the PowerShell itself.

I still can't find a way to do that without Visual Basic scripts or another binary in Windows 11.

matty, to Powershell

I like this wallchart thing for Linux commands...but it occurs to me that for , nearly all of the most-used commands would just come under letters g, s, t, and n

You'd have a 'G to T of Powershell Commands'

jaykul,

Parse your history to find ALL the commands 😉

https://gist.github.com/Jaykul/dd1c341da90e47396f6f523031000221

using namespace Microsoft.PowerShell
using namespace System.Management.Automation.Language

foreach ($history in [PSConsoleReadLine]::GetHistoryItems()) {
$null = [Parser]::ParseInput($history.CommandLine, [ref]$Tokens, [ref]$null)
$Tokens.Where{ $_.TokenFlags -eq "CommandName" }.Text
}

I use Convert* as well as Where and Write commands.
I also have cmd, conda, dotnet, wsl, and flux in my recent top 100

leanpub, to Powershell
@leanpub@mastodon.social avatar

PowerShell Guide to Python by Prateek Singh is on sale on Leanpub! Its suggested price is $25.00; get it for $14.00 with this coupon: https://leanpub.com/sh/NjeCtAYH

leanpub, to Powershell
@leanpub@mastodon.social avatar

The PowerShell Practice Primer (The Book + Working Files) by Jeff Hicks is on sale on Leanpub! Its suggested price is $29.99; get it for $19.19 with this coupon: https://leanpub.com/sh/TY0t8Amu

leanpub, to Powershell
@leanpub@mastodon.social avatar

The PowerShell Conference Book (The Book + Code Samples) by Mike F. Robbins, Mikey Lombardi, Jeff Hicks and The DevOps Collective, Inc. is on sale on Leanpub! Its suggested price is $64.99; get it for $44.99 with this coupon: https://leanpub.com/sh/AMSz1GWe

leanpub, to Powershell
@leanpub@mastodon.social avatar

The PowerShell Scripting and Toolmaking Book by Don Jones and Jeff Hicks is on sale on Leanpub! Its suggested price is $65.00; get it for $49.50 with this coupon: https://leanpub.com/sh/JnN0pQKB

xgqt, to gentoo
@xgqt@emacs.ch avatar

is the 1st distro do to from-source compile (according to my research on repology) of 7.4.0 BUT I hit a problem with test needing additional source-generated csharp files. We will have to revise how we do our pwsh distribution tarball.

BTW Is pwsh package just downloading a prebuilt? I cannot read so some NixOS user/dev correct me please. :)

bradwilson, to Powershell
@bradwilson@mastodon.social avatar

Anybody else notice that 7.4.0 doesn't auto-expand ~ for your home path when doing tab completion? That's breaking a lot of muscle memory for me right now.

mdgrs, to Powershell

Speeding up PowerShell module development with RestartableSession:

https://mdgrs.hashnode.dev/speeding-up-powershell-module-development-with-restartablesession

I needed a way to reload modules quickly on the terminal🚀

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

Upgrading to .NET 8 breaks the dotnet tool version of PowerShell 7. Re-installation doesn't help. 😞

Moving to installation via WinGet made it work again.

cjerrington, to AWS
@cjerrington@mstdn.social avatar

This was a fun project to work on, how to download the latest file from a S3 Bucket

https://claytonerrington.com/blog/download-latest-file-from-s3-bucket/

(74/100)

cjerrington, to Powershell
@cjerrington@mstdn.social avatar

A quick way to get the Git Status of multiple repositories with in today's 72nd post in

https://claytonerrington.com/blog/git-status/

furicle, to Powershell
@furicle@mastodon.social avatar

Huh.

$fred="git version"
& $fred

Doesn't work?

& git version

does work :-/

chirpbirb, to Powershell

real question: what are the benefits of using over something like or ?

profoundlynerdy, to python
@profoundlynerdy@bitbang.social avatar

With #Python stealing everyone else's thunder, what makes a project a good fit for a scripting language OTHER than Python?

#Perl #Raku #Lua #Ruby #PHP #powershell #bash #programming

cjerrington, to Powershell
@cjerrington@mstdn.social avatar

PowerShell is great, even when creating a simple HTTP server for some quick needs. How to set up the listener and some simple routes as well.

https://claytonerrington.com/blog/simple-http-server/

jon, to microsoft
@jon@vivaldi.net avatar

Try the browser that is desperate for you not to try!

@Vivaldi

kkarhan,

@itmike @jon @Vivaldi I'll just yeet entirely - that's faster and easier than learning the inconsistent shitshow that is ...

VinceAggrippino, to node
@VinceAggrippino@techhub.social avatar

Accessing the V8 Inspector via 2 with Google Chrome running on Windows was a bit of a challenge.

In Linux:

deno run --inspect-brk=0.0.0.0:9229 --allow-net ...  

In Windows, via Admin mode :

netsh interface portproxy add v4tov4 listenport=9229 listenaddress=0.0.0.0 connectport=9229 connectaddress=(wsl hostname -I)  

https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan

ct_Magazin, to Powershell German

Treiberrettung bei Windows-Neuinstallation

Die Windows-Installation auf meinem Computer ist vermurkst. Kann ich die vorhandenen Treiber irgendwie retten? Können Sie ein System-Utility dafür empfehlen?​

https://www.heise.de/ratgeber/Treiberrettung-bei-Windows-Neuinstallation-9337569.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • khanakhh
  • mdbf
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • modclub
  • rosin
  • Youngstown
  • slotface
  • ngwrru68w68
  • everett
  • provamag3
  • tacticalgear
  • cisconetworking
  • GTA5RPClips
  • Durango
  • Leos
  • thenastyranch
  • ethstaker
  • normalnudes
  • tester
  • cubers
  • megavids
  • anitta
  • lostlight
  • All magazines