Skip to content

Instantly share code, notes, and snippets.

dashboard "Computers":
- h1 text: Computers
- h2 text: By OS type
- 3 columns:
- rows:
- h3 text: macOS
- pie chart: {
"columns": [
["Quality", 15], ["Lifecycle", 15], ["Malware", 20], ["Stability", 3]
]
@ParityError
ParityError / UISounds.txt
Created March 12, 2018 21:11
iOS 11.2.6 Audio Services Sounds
/System/Library/Audio/UISounds/Modern/camera_shutter_burst.caf
/System/Library/Audio/UISounds/Modern/camera_shutter_burst_begin.caf
/System/Library/Audio/UISounds/Modern/camera_shutter_burst_end.caf
/System/Library/Audio/UISounds/New/Anticipate.caf
/System/Library/Audio/UISounds/New/Bloom.caf
/System/Library/Audio/UISounds/New/Calypso.caf
/System/Library/Audio/UISounds/New/Choo_Choo.caf
/System/Library/Audio/UISounds/New/Descent.caf
/System/Library/Audio/UISounds/New/Fanfare.caf
/System/Library/Audio/UISounds/New/Ladder.caf
@ParityError
ParityError / telnetlib.py
Created January 21, 2019 20:58
TELNET client class
#!/usr/bin/python
"""TELNET client class.
Updated for Python 3.x, Parity Error 2019
Based on RFC 854: TELNET Protocol Specification, by J. Postel and
J. Reynolds
Example:
@ParityError
ParityError / pecl_test.php
Created January 24, 2019 05:29
Testing fsockopen with pecl ssl
$fp = fsockopen("ssl://pecl.php.net", 443, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.example.com\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
@ParityError
ParityError / get_cert_locations.php
Created January 24, 2019 06:28
Default macOS ssl cert locations
$ php -r "print_r(openssl_get_cert_locations());"
Array
(
[default_cert_file] => /private/etc/ssl/cert.pem
[default_cert_file_env] => SSL_CERT_FILE
[default_cert_dir] => /private/etc/ssl/certs
[default_cert_dir_env] => SSL_CERT_DIR
[default_private_dir] => /private/etc/ssl/private
[default_default_cert_area] => /private/etc/ssl
[ini_cafile] =>
@ParityError
ParityError / clang.analyzer.checkers-9.0.md
Created March 1, 2019 19:31
LLVM Clang Analyzer Checker Additions 9.0

The following analyzer checkers have been added to the latest svn version of llvm vs macOS 10.14 llvm:

alpha.cplusplus.EnumCastOutOfRange
Check integer to enumeration casts for out of range values

alpha.cplusplus.InvalidatedIterator
Check for use of invalidated iterators

alpha.cplusplus.IteratorModeling
Models iterators of C++ containers

@ParityError
ParityError / mizf.sh
Created June 29, 2019 11:31
mizf (Original)
#!/bin/sh
#
# Mizar Verifier, example shell command
#
accommodate()
{
makeenv $1
if [ "$?" = "0" ]
then
@ParityError
ParityError / retrowave.css
Last active March 8, 2023 01:20
retrowave .css stylesheet for automatic1111
/*
.-----::...
:++--=*+==::.
.++*= =*+==::.
.+****- =*+==::.
.+******- +*+==::.
.+********- +*+==::.
.+**********: +*+==::.
+************: +*+=-::.
+**************: .**+=-::.
@ParityError
ParityError / blueprint.css
Last active March 8, 2023 01:15
blueprint.css stylesheet for automatic1111
/*
.-----::...
:++--=*+==::.
.++*= =*+==::.
.+****- =*+==::.
.+******- +*+==::.
.+********- +*+==::.
.+**********: +*+==::.
+************: +*+=-::.
+**************: .**+=-::.
@ParityError
ParityError / automatic1111.svg
Created February 27, 2023 07:20
automatic1111 animated svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.