-
Find the formula for the version you want to install:
- Visit https://github.com/Homebrew/homebrew-core/tree/master/Formula
- Click the file with your formula (e.g. “composer.rb”)
- Click “History” (top right)
- Click the commit hash for the version you want to download
- Click the three dots (top right of diff) and choose “view file”
- Click “Raw” and copy the raw URL from the browser address bar.
For example, composer 1.10.15 lives here: https://github.com/Homebrew/homebrew-core/blob/9e6e6a1ca8551901bff69d329c7fbb9007064134/Formula/composer.rb
You need to have Foomatic-RIP and Ghostscript installed. You can find links to installers on this page: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/pxlmono (alternatively you can install ghostscript using brew with ‘brew install ghostscript’). There is a pxlmono download on that page which contains loads of PPD files for all sorts of printers, but none of them support colour.
Once the dependencies are installed, you can use pxlcolor to generate a PPD file on this page for the printer, or generate a Generic PCL 6/PCL XL Printer PPD file (attached), which allows you to print with colour. http://www.openprinting.org/driver/pxlcolor
Set the printer up using Cups. To do this you need to enable the web interface by running this from a Terminal prompt: cupsctl WebInterface=yes
You can then browse Cups on http://localhost:631/printers/
Step 1
Download macOS Installer (InstallAssistant.pkg
). Here is the link to Sonoma beta installer:
:: Open a command prompt as an Administrator. | |
:: Enter slmgr /upk and wait for this to complete. This will uninstall the current product key from Windows and put it into an unlicensed state. | |
:: Enter slmgr /cpky and wait for this to complete. This will remove the product key from the registry if it's still there. | |
:: Enter slmgr /rearm and wait for this to complete. This is to reset the Windows activation timers so the new users will be prompted to activate Windows when they put in the key | |
slmgr /upk | |
pause | |
slmgr /cpky | |
pause |
Open a command prompt as an Administrator. | |
Enter slmgr /upk and wait for this to complete. This will uninstall the current product key from Windows and put it into an unlicensed state. | |
Enter slmgr /cpky and wait for this to complete. This will remove the product key from the registry if it's still there. | |
Enter slmgr /rearm and wait for this to complete. This is to reset the Windows activation timers so the new users will be prompted to activate Windows when they put in the key | |
slmgr /ipk 7BNJT-PXJR8-J9G6D-DHJVQ-DV3KQ | |
slmgr /ato |
import { createWriteStream } from 'fs' | |
import { Readable } from 'stream' | |
import dump from './media-1a-i-p~s.json' with { type: 'json' } | |
// JSON dump link: https://storage.googleapis.com/panels-api/data/20240916/media-1a-i-p~s | |
const urls = [] | |
const KEY = 'dhd' | |
for (let id in dump.data) { |
XZ Backdoor symbol deobfuscation. Updated as i make progress |
# -*- coding: utf-8 -*- | |
# Inspired by https://github.com/turlando/airhead/blob/master/airhead/broadcaster.py | |
import click | |
import os | |
import shouty | |
import sys | |
import logging | |
logger = logging.getLogger('[broadcaster]') | |
*Purpose | |
- UI Accessibility Checker | |
- Verifies UI accessibility requirements | |
*LOLBIN Functionality/Steps | |
1) Go to "Custom Verification Routines" link in reference section and copy the sample verification C# code into Visual Studio. | |
2) Add proper assembly references (e.g. AccCheck.dll) | |
3) Insert your C# code under a target method such as Execute() | |
4) Compile to a .NET managed library (DLL) | |
5) Invoke the code |
export const getThumbnail = (id, size = 300) => | |
`https://drive.google.com/thumbnail?id=${id}&sz=${size}`; | |
export const getIcon = (mimeType) => | |
`https://drive-thirdparty.googleusercontent.com/256/type/${mimeType}`; | |
export const getFile = (id) => `https://drive.google.com/uc?id=${id}`; | |
const downloadFile = (id) => |