Skip to content

Instantly share code, notes, and snippets.

View paultbarrett's full-sized avatar

paultbarrett

  • Sydney, Australia
View GitHub Profile
# based on https://github.com/amber-sixel/PythonCatPrinter.git
# can be used as a raw postscript printer (a4, one page only) on port 9100
#
# status : curl --location --request GET 'localhost:5000'
#
# curl --location --request POST 'localhost:5000' \
# --form 'image=@"/image.jpg"' \ #optional
# --form 'text="hello world"' \ #optional
# --form 'size="48"' \ #optional
@paultbarrett
paultbarrett / enable_i2s.sh
Created July 25, 2023 10:58 — forked from zuigon/enable_i2s.sh
orange pi H3 i2s
$ sudo armbian-add-overlay ./i2s_overlay.dts
@paultbarrett
paultbarrett / BlockPS4Updates
Last active February 8, 2022 08:56 — forked from aqualad/BlockPS4Updates
block ps4 updates
# Updated 07-02-2022
#[community.playstation.net]
0.0.0.0 asm.np.community.playstation.net
0.0.0.0 ps4.updptl.np.community.playstation.net
0.0.0.0 ps4.updptl.sp-int.community.playstation.net
0.0.0.0 ps4updptl.eu.np.community.playstation.net
0.0.0.0 ps4updptl.jp.np.community.playstation.net
0.0.0.0 ps4updptl.jp.sp-int.community.playstation.net
0.0.0.0 ps4updptl.uk.np.community.playstation.net
@paultbarrett
paultbarrett / reclaimWindows10.ps1
Last active August 5, 2018 09:09 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.1, 2018-07-23
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...