Note
Obligatory disclaimer: this is for educational purposes only. I am not responsible for any damages caused by following this guide, or using any of the script(s) herein.
This guide prioritizes arm64 macOS, but may also work for other platforms.
| pkg/ | |
| src/ | |
| understand-bin-*.pkg.* | |
| Understand-*.tgz | |
| .SRCINFO |
| # connect image to system as qemu nbd device | |
| sudo modprobe nbd max_part=8 | |
| sudo qemu-nbd -f raw --connect=/dev/nbd0 disk.img | |
| sudo partprobe /dev/nbd0 | |
| # examine img | |
| sudo fdisk -l /dev/nbd0 | |
| sudo blkid /dev/nbd0* | |
| # mount |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #include <arpa/inet.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <sys/stat.h> | |
| #include <sys/mman.h> | |
| #include <fcntl.h> |
| #Author Anis_Boss | |
| #!/bin/bash | |
| zero='${#}' | |
| one='${##}' | |
| two='$((${##}<<${##}))' | |
| three='$(($((${##}<<${##}))#${##}${##}))' | |
| four='$((((${##}<<${##}))<<${##}))' | |
| five='$(($(($((${##}<<${##}))<<${##}))#${##}${##}))' | |
| six='$(($(($((${##}<<${##}))#${##}${##}))<<${##}))' | |
| seven='$(($(($(($((${##}<<${##}))#${##}${##}))<<${##}))#${##}${##}))' |
| import argparse | |
| import random | |
| import sys | |
| from transformers import AutoModelForCausalLM, AutoTokenizer, DynamicCache | |
| import torch | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("question", type=str) | |
| parser.add_argument( |
| user: how many letters are in the word strawberry? | |
| assistant: The word "strawberry" has 10 letters: s-t-r-a-w-b-e-r-r-y | |
| user: how many of those are the letter r? | |
| assistant: In the word "strawberry" there are 2 letters "r" | |
| user: why did you say there are only two? |
| while true; do timeout 5 websocat "wss://jetstream2.us-east.bsky.network/subscribe?wantedCollections=app.bsky.feed.post" | grep '"handle"' > /tmp/jetstream.log 2>/dev/null | grep -v Terminated ; head -n -1 /tmp/jetstream.log | jq '.identity | .did, .handle | values' | tr -d '"' | paste -d " " - - | while read did handle; do echo -e "$did -> $handle"; redis-cli SET $handle $did > /dev/null ; redis-cli SET $did $handle > /dev/null; done ; done |
Note
Obligatory disclaimer: this is for educational purposes only. I am not responsible for any damages caused by following this guide, or using any of the script(s) herein.
This guide prioritizes arm64 macOS, but may also work for other platforms.
Original report
| https://twitter.com/ShinyQuagsire/status/1536432635643211777 12:37 PM · Jun 13, 2022 | |
| ----- | |
| I figured out how to enable USB device mode on my XPS 13 (9350) 🎉 | |
| Though for some ungodly reason, it uses the right-side full USB port. So a crossover cable is required. | |
| ----- | |
| https://twitter.com/ShinyQuagsire/status/1536434057671716864 12:43 PM · Jun 13, 2022 | |
| ----- |