SESSION START (always in context)
├── CLAUDE.md → Full content loaded
├── .claude/rules/*.md → Full content loaded
├── Skill metadata → Names + descriptions only
└── Subagent metadata → Names + descriptions only
| /* client side */ | |
| if (typeof shopify !== "undefined") { | |
| //get the current session token from shopify | |
| const sessionToken = await shopify.idToken(); | |
| // send the session token to your server to exchange it for an online token with the user info | |
| const response = await fetch(GET_USER_INFO_FROM_SESSION_URL, { | |
| method: "POST", | |
| headers: { | |
| "Content-Type": "application/json", | |
| // TODO: add your server api auth headers here |
I've spent a long time debating this decision, but it's one that I need to make, since the project has all but stagnated. You've probably noticed or suspected this, if you've come into contact with any of Buttercup's repositories recently. While many of you have helpfully been reporting issues, there have been few responses (especially from myself) and even fewer PRs addressing them.
I wouldn't call this burn-out, first and foremost.. I honestly feel fine and excited by the prospect of developing OSS even. That being said, I do feel substantial relief at the thought of putting Buttercup onto potentially permanent hiatus. The project is enormous in scope - it would be for a small team of developers, let alone a single dev working full time who lacks both the energy and motivation to support the project. I've tried getting more serious help on board too, though since Sallar (the other co-founder) left it's honestly been just myself holding the fort. It's a passion
This tutorial will teach you how to set up a Telegram MTProxy on an Ubuntu 22.04 sever using AWS Lightsail, although you can use any other Linux distribution and cloud provider.
Using a Telegram proxy is a safe, easy and effective way of overcoming Telegram bans. It's useful, for example, to keep using Telegram under tyrannical regimes, or to circumvent judges' decisions to block Telegram.
Telegram proxies are a built-in feature in all Telegram apps (both mobile and desktop). It allows Telegram users to connect to a proxy in just one or two clicks / taps.
Telegram proxies are safe: Telegram sends messages using their own MTProto secure protocol, and the proxy can only see encrypted traffic – there's no way for a proxy to decrypt the traffic and read the messages. The proxy does not even know which Telegram users are using the proxy, all the proxy sees is just a list of IPs.
Results, ranked so far (executed via unix time command where possible; balance based on wall clock observation cross-verified with log files):
- Cyberduck: 12 seconds (!!!)
- cURL + NC's Bulk File API: 50 seconds
- Duck.sh: 1 minute 10 seconds
- cURL (parallel mode aka
-Z): 2 minutes 20 seconds - Windows 10: 4 minutes 45 seconds
- Rclone: 7 minutes 41 seconds
- Go to https://store.rg-adguard.net.
- Search for the HEVC Video Extensions from Device Manufacturer (
Microsoft.HEVCVideoExtension) app by entering the following store URL into the search box and then clicking the ✔ button.https://www.microsoft.com/en-us/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq- Do not use the normal HEVC Video Extensions app URL, because that can't play HEVC videos in Windows Media Player for some inscrutable reason.
- Download the AppxBundle file for the version you want.
- You may have to right click › Save Link As because the URL scheme is
http, nothttps, if your browser is set to enforce HTTPS-only mode.
- You may have to right click › Save Link As because the URL scheme is
- If it tries to save as a filename that's just a GUID, you may copy the correct
.AppxBundlefilename and save it as that instead.
| /** | |
| * Fetch the ids for metafields on a resource | |
| */ | |
| const fetchMetafieldIds = async ({ resource, shopifyApi, metafieldSchema, id }) => { | |
| const gidResource = resource.charAt(0).toUpperCase() + resource.slice(1); | |
| const gid = `gid://shopify/${gidResource}/${id}`; | |
| return ( | |
| await shopifyApi.graphql( | |
| ` | |
| query MetafieldIds($id: ID!) { |
- Connect your USB drive to the machine
- Navigate to the TrueNAS Scale shell by opening the menu, going to
System Settingsand then clicking onShell - Locate the drive's device ID using the
lsblkcommand - Check the recommended block size using the command
blockdev --getbsz /dev/<YOUR BLOCK DEVICE ID> - Note the block size you got from the last command
- STOP! Have you ensured that the USB device does NOT have any important data on it? If it does, stop now, unplug it from the TrueNAS Scale machine and back it up elsewhere! Running the specific badblocks command we'll use will destroy data on the drive!
- Okay, you've confirmed there is no data on the drive you need? Good!
- Fire up a new tmux session
tmux new -s badblocks_
Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).
I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.
- Install homebrew from https://brew.sh/ (follow the instructions there)
- tap the https://invent.kde.org/packaging/homebrew-kde/ repo,
brew tap kde-mac/kde https://invent.kde.org/packaging/homebrew-kde.git brew edit okular, workaround now is to comment out or delete the linedepends_on "chmlib"(won't compile on macos arm64 for now as of 2021-08-18), then save (if using vim you need to first pressito insert/type, when saving then<esc>then:wqthen<enter>.brew install okular, wait for stuff to compile and/or install- It may ask for keychain credentials (to sign the binaries? because of mac arm64 security policy https://eclecticlight.co/2021/01/26/when-you-dont-have-permission-to-run-an-app-on-an-m1-mac/)
$(brew --repo kde-mac/kde)/tools/do-caveats.sh- Now okular is in your
$HOME/Applications/KDEfolder, and will show up in Launchpad! You can view pdf, djvu, etc documents.
Edit: as of 2025 there is now a precompiled nightly binary available for download at https://okul