Skip to content

Instantly share code, notes, and snippets.

View SystemJargon's full-sized avatar

SystemJargon SystemJargon

  • New Zealand
  • 02:58 (UTC +12:00)
View GitHub Profile

Chocolatey for Windows

Depending on the ExecutionPolicy set on your machine you can try this

Invoke-WebRequest https://chocolatey.org/install.ps1 -UseBasicParsing | Invoke-Expression

or if that fails try this

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

@SystemJargon
SystemJargon / dial-plan-new-zealand.md
Created June 15, 2022 02:18
This is just an example of a Dial Plan for New Zealand.
111|04xxxxxxx!|021xxxxxx|[2-9]xxxxxx|0800xxxxxx|0508xxxxxx|021xxxxxxx|0900! 

Summary:

Allow 111 Allow 0800 free-call Allow mobile (example 021 & 7 digits, could use non-021 also of course, just an example) Allow local landline within Region / without area code in front

Replace the text starting with "Category" and any text after it.

Use "Replace" and ensure you select Regular Expression in your text editor, example Notepad++

CTRL+H is the shortcut for "Replace" in Notepad++

We will not be using "matches newline" in this example.

\bCategory.*\b
@SystemJargon
SystemJargon / VM_Apps-choco-install.ps1
Last active June 27, 2022 21:12
Install Chocolatey and common app install for dev-VM
#Requires -RunAsAdministrator
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install sysinternals keepass vlc treesizefree 7zip winscp putty filezilla notepadplusplus brave firefox git vscode chocolateygui
@SystemJargon
SystemJargon / randomized-mac-addresses-options.md
Last active March 21, 2025 02:52
Randomized MAC addresses

Randomized MAC addresses

Most modern client devices may now support, random hardware address aka randomized mac addresses.

From an I.T op perspective, this may cause DHCP pool exhaustion issues.

From a user perspective, they may not know what issues this may cause, besides a "I can't connect to the network anymore" issue.

This maybe of interest too, https://github.com/SystemJargon/mac-changer

@SystemJargon
SystemJargon / color-change-test.html
Created May 17, 2022 03:22
color-change-test-html
<!DOCTYPE html>
<html>
<head>
<title>Color Test</title>
<style>
body {
-webkit-animation: colorchange 20s infinite;
animation: colorchange 20s infinite;
}
@-webkit-keyframes colorchange {