This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Fuzzer for Apple CarPlay Communication Plug-in -- HTTPParseRTPInfo() | |
| // Implementation possibly here -- https://github.com/45clouds/WirelessCarPlay/blob/master/source/AccessorySDK/Support/HTTPUtils.c | |
| // Modified from https://github.com/dawgyg/AppleResearch/blob/main/fuzzers/opack/http_parse_fuzz.c | |
| #include <cstdint> | |
| #include <cstddef> | |
| #include <cstring> | |
| #include <vector> | |
| #include <CoreFoundation/CoreFoundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <unistd.h> | |
| const long arg_max = sysconf(_SC_ARG_MAX); | |
| char *savedptr = NULL; | |
| token = strtok_r(line, " \t\n", &savedptr); | |
| while(token != NULL && argc < arg_max) { | |
| args[argc++] = token; | |
| token = strtok_r(NULL, " \t\n", &savedptr); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-/Apple/DTD PLIST 1.0/EN" "http:/www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.hashicorp.vault-agent</string> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>LaunchOnlyOnce</key> | |
| <true/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vault { | |
| address = "https://127.0.0.1:8200" | |
| } | |
| auto_auth { | |
| method "token_file" { | |
| config = { | |
| token_file_path = "/opt/vault/etc/vault-token" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| display_banner() { | |
| if [ "${SUPPRESS_BANNER:-}" == "yes" ] || [[ -z "${TERM:-}" ]]; then | |
| return | |
| fi | |
| # Get terminal width | |
| local banner_length=$(($(tput cols))) | |
| # Set minimum banner length | |
| if (( banner_length < 40 )); then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host rhel10-z15 | |
| Hostname xxxxxxxx # rhel10 on a z15 (s/390) if you even care | |
| User hoyhoy | |
| ServerAliveInterval 15 | |
| # VM running the VPN | |
| ProxyJump jumpbox.local | |
| IdentitiesOnly yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cerrno> // Provides ENOENT | |
| #include <mutex> | |
| #include <shared_mutex> | |
| #include <string> | |
| #include <unordered_map> | |
| namespace CodingExamples { | |
| class Cache { | |
| private: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Checks: '*, | |
| -altera*, | |
| -boost-use-ranges, | |
| -bugprone-easily-swappable-parameters, | |
| -bugprone-reserved-identifier, | |
| -cert-dcl03-c, | |
| -cert-dcl37-c, | |
| -cert-dcl51-cpp, | |
| -cert-err34-c, | |
| -clang-analyzer-security.ArrayBound, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", | |
| "logo": { | |
| "padding": { | |
| "top": 1 | |
| } | |
| }, | |
| "display": { | |
| "separator": " " | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "Meson nix-darwin system flake"; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
| nix-darwin.url = "github:nix-darwin/nix-darwin/master"; | |
| nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; | |
| # home-manager = { | |
| # url = "github:nix-community/home-manager/nixpkgs-unstable"; |
NewerOlder