Skip to content

Instantly share code, notes, and snippets.

@tptyphon
tptyphon / .settings.json
Created November 26, 2023 17:38 — forked from robfrawley/.settings.json
Global Installation of Jetbrains Toolbox
{
"jba": {
"email": "[email protected]",
"fullName": "Rob Frawley 2nd",
"login": "robfrawley"
},
"privacy_policy": {
"eua_accepted_version": "1.2"
},
"install_location": "/opt/jetbrains/lib",
@tptyphon
tptyphon / wt_Winsrv.ps1
Created November 3, 2023 10:56
Installing Windows Terminal (wt.exe) on Windows Server 2022
# Prerequisites
Invoke-RestMethod 'https://github.com/microsoft/microsoft-ui-xaml/releases/latest' | % { $version = $_.tag_name; $filename = "Microsoft.UI.Xaml.$version.$($env:PROCESSOR_ARCHITECTURE).appx"; $_.assets | ? name -like $filename | % { Invoke-WebRequest $_.browser_download_url -UseBasicParsing -OutFile $filename } | Add-AppxPackage }
Invoke-RestMethod 'https://api.github.com/repos/microsoft/terminal/releases/latest' | % { Write-Host "Queried repository: microsoft/terminal"; Write-Host "Parsed version: $($_.tag_name)"; $_.assets | ? name -like "*.msixbundle" | % { Write-Host "Requested URL for download: $($_.browser_download_url)"; Invoke-WebRequest $_.browser_download_url -UseBasicParsing -OutFile $_.name } | Add-AppxPackage }
@tptyphon
tptyphon / languages.schema.json
Last active October 24, 2022 07:55
github/linguist:/lib/linguist/languages.yml JSON Schema Mapping
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Welcome7Value"
},
"definitions": {
"Welcome7Value": {
"type": "object",
"additionalProperties": false,
@tptyphon
tptyphon / lbp6000.md
Created August 11, 2022 14:19
Configure printer Canon LBP6000 | LBP6000B on Manjaro | Arch Linux

Installation

Prerequisite:

  • Root privileges

  1. Before doing anything, be sure to add your user to the lp group:

gpasswd -a your_user lp

and then reboot, or relogin