I hereby claim:
- I am tyrone-sudeium on github.
- I am aethe (https://keybase.io/aethe) on keybase.
- I have a public key ASDvu4FluJD-WERV-KAwZzJccTLsZoUJTLdNt-iDRd3OaAo
To claim this, I am signing this object:
| #!/bin/bash | |
| # Runs specified program in XLCore's configured wine | |
| read_from_ini() { | |
| awk -F "=" "/$1/ {print \$2}" "$HOME/.xlcore/launcher.ini" | |
| } | |
| WINE_TYPE=$(read_from_ini "RB_WineStartupType") | |
| MANAGED_WINE_VERSION=$(read_from_ini "RB_WineVersion") | |
| CUSTOM_WINE_PATH=$(read_from_ini "RB_WineBinaryPath") |
| #!/bin/bash | |
| command -v jq >/dev/null 2>&1 || { echo >&2 "jq required. Install it and try again."; exit 1; } | |
| command -v curl >/dev/null 2>&1 || { echo >&2 "curl required. Install it and try again."; exit 1; } | |
| command -v 7z >/dev/null 2>&1 || { echo >&2 "7z required. Install it and try again."; exit 1; } | |
| verlte() { | |
| printf '%s\n' "$1" "$2" | sort -C -V | |
| } |
I hereby claim:
To claim this, I am signing this object:
| # Set prompt | |
| autoload -U promptinit; promptinit | |
| export PATH=$PATH:$HOME/bin | |
| # Set my lightweight prompt | |
| export PROMPT='%{%F{cyan}%}[%2c% ]%F{red}$ %f' | |
| # Set history settings -- stolen wholesale from oh-my-zsh because it's good and the built-ins are not | |
| function omz_history { |
| /// <reference types="node" /> | |
| declare module "canvas" { | |
| import { Readable } from "stream" | |
| type CanvasType = "pdf" | "svg" | |
| interface NodeCanvasRenderingContext2D extends CanvasRenderingContext2D { | |
| patternQuality: "fast" | "good" | "best" | "nearest" | "bilinear" | |
| textDrawingMode: "path" | "glyph" | |
| filter: "fast" | "good" | "best" | "nearest" | "bilinear" |
| #import <Foundation/Foundation.h> | |
| #import <objc/runtime.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| unsigned int imageCount = 0; | |
| const char** imageNames = objc_copyImageNames(&imageCount); | |
| const char* thisImage = imageNames[imageCount-1]; | |
| unsigned int numberOfClasses = 0; | |
| const char** classNames = objc_copyClassNamesForImage(thisImage, &numberOfClasses); |
| #import <Foundation/Foundation.h> | |
| #import <objc/runtime.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| int numberOfClasses = objc_getClassList(NULL, 0); | |
| Class *classes = NULL; | |
| classes = (__unsafe_unretained Class *)malloc(numberOfClasses * sizeof(Class)); | |
| numberOfClasses = objc_getClassList(classes, numberOfClasses); | |
| NSMutableDictionary *methodsByLength = [NSMutableDictionary new]; |
| func binaryUUID() -> NSUUID? { | |
| var executableHeader = UnsafePointer<mach_header>() | |
| for var i = UInt32(0); i < _dyld_image_count(); i++ { | |
| let header = _dyld_get_image_header(i) | |
| if header.memory.filetype == UInt32(MH_EXECUTE) { | |
| executableHeader = header | |
| break | |
| } | |
| } | |
| function command_not_found_handler() { | |
| if [[ "$1" == *"is kill" ]]; then | |
| FULLCMD="$1" | |
| PROC="${FULLCMD/ is kill/}" | |
| sudo killall "${PROC}" | |
| if [ $? -eq 0 ]; then | |
| echo "\"no\"" | |
| fi | |
| else | |
| >&2 echo "zsh: command not found: $1" |
| #define such @interface | |
| #define wow @end | |
| #define much @implementation | |
| #define shibe self | |
| #define very super | |
| // Example | |
| such TestClass : NSObject |