Skip to content

Instantly share code, notes, and snippets.

View SystemJargon's full-sized avatar

SystemJargon SystemJargon

  • New Zealand
  • 23:57 (UTC +12:00)
View GitHub Profile
@SystemJargon
SystemJargon / NZX-Jan10-2023.csv
Created January 10, 2023 03:02
NZX/NZSE data from January 10 2023.
Code Company Price Change Volume Value Captilisation
ACE Ascension Capital Limited $0.055 $0.000 / 0.00% 0 $0.00 $1,053,186
AFC AFC Group Holdings Limited $0.001 $0.000 / 0.00% 0 $0.00 $3,664,216
AFI Australian Foundation Investment Company Limited $8.180 -$0.010 / -0.12% 301 $2,452.23 $10,107,411,338
AFT AFT Pharmaceuticals Limited $3.790 $0.070 / 1.88% 5,371 $20,318.65 $397,443,125
AGG Smartshares Global Aggregate Bond ETF $1.146 $0.005 / 0.44% 3,883 $4,464.98 $161,432,743
AGL Accordant Group Limited $1.790 $0.000 / 0.00% 61 $109.75 $60,516,773
AIA Auckland International Airport Limited $8.080 $0.040 / 0.50% 161,843 $1,304,994.80 $11,900,393,252
AIR Air New Zealand Limited (NS) $0.760 -$0.005 / -0.65% 469,478 $356,596.05 $2,560,006,900
@SystemJargon
SystemJargon / Remove-Store-Bloatware.ps1
Created December 15, 2022 00:05
Remove Windows Store Bloatware
#requires -version 4
<#
.SYNOPSIS
.DESCRIPTION
Removes pre-installed apps from Windows 10
Based on https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-default-apps.ps1
Do the same for the new plan
@SystemJargon
SystemJargon / ADUser-password-policy-expiry.md
Created December 2, 2022 21:20
Below is a simple how-to of sorts to get the default domain password policy. Then to set PasswordNeverExpires as True Or False for a single user, specific ADGroup, specific OU or users in a CSV file.

Default Domain Password Policy and Set Password Expiry

Below is a simple how-to of sorts to get the default domain password policy.

Then to set PasswordNeverExpires as True Or False for a single user, specific ADGroup, specific OU or users in a CSV file.

Notes:

  • Specify PasswordNeverExpires as $true to set expire $false to not expire.
  • It is recommended users do have an expiring password as a simple security measure by default.
  • The default MaxPasswordAge if not explicitly defined, is set to 42 days (via Default Domain Policy / GPO).

Microsoft URL's for Azure, inTune and other portal URL's


Azure Active Directory

Azure AD


@SystemJargon
SystemJargon / powershell-admin-check.md
Created September 26, 2022 02:34
Info about when running powershell scripts and force require it be run as an Administrator to execute.

Purpose: When running powershell scripts and force require it be run as an Administrator to execute.

Simple check

#Requires -RunAsAdministrator

More detailed / older powershell version

function Test-Administrator 
@SystemJargon
SystemJargon / ssh-key-guide.md
Last active September 26, 2022 00:49
SSH Key generation with ed25519, including hardware key example of YubiKey.

To generate a new key pair using ed25519, type this command:

ssh-keygen -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C “demo comment here”

You can specify a password or have the key password-less.

——

To copy the new key to server2 as an example type this command:

@SystemJargon
SystemJargon / Windows_Activation.md
Created August 30, 2022 02:40
Windows Activation commands
cd c:\windows\system32

slmgr.vbs /dlv
slmgr.vbs /ipk <product key here>
slmgr.vbs /skms <kms server name>
slmgr.vbs /ato

Replace with your own.

## Source https://v.firebog.net/hosts/lists.php?type=tick
##
https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://v.firebog.net/hosts/static/w3kbl.txt
https://adaway.org/hosts.txt
https://v.firebog.net/hosts/AdguardDNS.txt
https://v.firebog.net/hosts/Admiral.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
@SystemJargon
SystemJargon / chromebook-os_powerwash-wipe.md
Created June 29, 2022 20:07
How to powerwash aka wipe a Chromebook running ChromeOS

How to Powerwash your chromebook.

Power wash refers to a factory reset, so clean slate. It does allow a re-install of Chrome OS onto the Chromebook.

Step 1: Push Escape + Refresh + Power

Push Escape + Refresh + Power on the keyboard

Step 2: Push Control + D

@SystemJargon
SystemJargon / url-cycle-wallboard.html
Created June 27, 2022 21:18
Cycle through some urls. Wallboard screen. Uses html and javascript.
<html>
<body>
<script type="text/javascript">
var urls = [
"https://eyes.nasa.gov/apps/earth/#/",
"https://threatmap.fortiguard.com/",
"https://earth.nullschool.net",
]