Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Sign in Sign up

Instantly share code, notes, and snippets.

View SystemJargon's full-sized avatar

SystemJargon SystemJargon

Apparently it was DNS, it was always DNS
  • New Zealand
  • 06:18(UTC +13:00)
View GitHub Profile
@SystemJargon
SystemJargon /raspberry-pi-update.md
CreatedJune 29, 2024 21:51
Raspberry-Pi Update CLI syntax

Some config is available also viasudo raspi-config

# update package listsudo apt update -y
@SystemJargon
SystemJargon /example_proxy.pac
CreatedApril 20, 2024 06:19
Example proxy.pac configuration file
// This is just an example proxy.pac and is NOT to be used in production without changes to suit your environment.
//
// Some references about Proxy configuration below.
// https://wiki.squid-cache.org/SquidFaq/ConfiguringBrowsers
// https://learn.microsoft.com/en-us/troubleshoot/developer/browsers/connectivity-navigation/optimize-pac-performance
functionFindProxyForURL(url,host){
/* Normalize the URL for pattern matching */
url=url.toLowerCase();
@SystemJargon
SystemJargon /nz_radio.m3u
CreatedApril 20, 2024 05:52
M3U Playlist containing some New Zealand radio station streams.
#EXTM3U
#RADIOBROWSERUUID:a25700ef-e952-4b73-8b4e-b92d938cb020
#EXTINF:1,Newstalk ZB Auckland
https://ais-nzme.streamguys1.com/nz_002_aac
#RADIOBROWSERUUID:ce5e5e45-7b40-4aa8-9c1c-a9be0331b2ff
#EXTINF:1, Flava Auckland 95.8 FM
https://ais-nzme.streamguys1.com/nz_010_aac
#RADIOBROWSERUUID:9e220835-ca65-4570-94f6-f31f70d6542f
@SystemJargon
SystemJargon /udm_free_diskspace.sh
CreatedJanuary 28, 2024 08:34
free up space on Unifi UDM-PRO when it has low disk space due to the pool directory filling up with 1GB .ubv files
## free up space on Unifi UDM-PRO when it has low disk space due to the pool directory filling up with 1GB .ubv files
## largest 20 files in /volume1
# du -a /volume1 | sort -n -r | head -n 20
rm /volume1/.srv/unifi-protect/video/pool/*.ubv
@SystemJargon
SystemJargon /Microsoft.PowerShell_profile.ps1
CreatedNovember 6, 2023 08:25
Simple Strap your Powershell profile via OneDrive
# profile-load
$PROFILE="$env:onedrive\Custom.PowerShell_profile.ps1"
&$profile
sudo apt install docker.io docker-compose -y
mkdir docker-run&&cd docker-run
wget https://gist.githubusercontent.com/SystemJargon/dcffbd115d7202df79f5cdfec3ae4eac/raw/e12467952a1eb1cf0edeba929b5e4bdc90b6be49/docker-compose.yml
sudo docker-compose up -d
@SystemJargon
SystemJargon /docker-compose.yml
Last activeNovember 3, 2023 00:04
My docker-compose.yml file for portainer
version:'3.7'
services:
portainer:
image:portainer/portainer-ce
restart:unless-stopped
volumes:
-"./portainer/data:/data"
-"/var/run/docker.sock:/var/run/docker.sock"
environment:
@SystemJargon
SystemJargon /unifi-casting-firewall-rules.md
CreatedOctober 8, 2023 04:09
Basic Setup of IP/Ports Groups and Firewall Rules needed for Casting in Unifi OS Network

Create 3 Groups under Settings > profiles > IP Groups

Create 4 groups

  • IPv4 Address Group
  • Name: RFC1918
  • Address values: 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8
@SystemJargon
SystemJargon /autounattend.xml
CreatedMay 28, 2023 04:28
autounattend.xml for Windows installation (en-NZ region/language). Is AutoPilot compatible. Will wipe disk0 and use max space possible on partition4 for Windows
<?xml version="1.0" encoding="utf-8"?>
<unattendxmlns="urn:schemas-microsoft-com:unattend">
<settingspass="windowsPE">
<componentname="Microsoft-Windows-International-Core-WinPE"processorArchitecture="amd64"publicKeyToken="31bf3856ad364e35"language="neutral"versionScope="nonSxS"xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>1409:00000409</InputLocale>
<SystemLocale>en-NZ</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-NZ</UserLocale>
<SetupUILanguage>
CodeCompanyPriceChangeVolumeValueCaptilisation
ACEAscension Capital Limited$0.055$0.000 / 0.00%0$0.00$1,053,186
AFCAFC Group Holdings Limited$0.001$0.000 / 0.00%0$0.00$3,664,216
AFIAustralian Foundation Investment Company Limited$8.180$0.000 / 0.00%0$0.00$10,107,411,338
AFTAFT Pharmaceuticals Limited$3.790$0.000 / 0.00%0$0.00$397,443,125
AGGSmartshares Global Aggregate Bond ETF$1.158$0.000 / 0.00%2,439,837$2,813,132.06$163,123,138
AGLAccordant Group Limited$1.820$0.000 / 0.00%0$0.00$61,531,020
AIAAuckland International Airport Limited$8.310$0.000 / 0.00%0$0.00$12,239,142,070
AIRAir New Zealand Limited (NS)$0.770$0.000 / 0.00%0$0.00$2,593,691,202
AKLAuckland Real Estate Trust$0.930$0.000 / 0.00%0$0.00$74,718,200
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp