⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
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
| model: claude-opus-4-20250514 | |
| messages: | |
| - role: user | |
| content: | |
| - type: text | |
| text: | | |
| <system-reminder> | |
| As you answer the user's questions, you can use the following context: | |
| # important-instruction-reminders | |
| Do what has been asked; nothing more, nothing less. |
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
| // ==UserScript== | |
| // @name Twitter Report | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description arc boost to report spam on twitter | |
| // @author banteg | |
| // @match *://twitter.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
| // @grant none | |
| // ==/UserScript== |
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
| python-socketio[client] |
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
| <?php | |
| /** | |
| * When using the WordPress Importer, update existing | |
| * posts instead of skipping them. Updates content according | |
| * to the import file even if the existing post was updated | |
| * more recently. | |
| * | |
| * To use, drop this file into your /mu-plugins/ folder or | |
| * copy this code into your functions.php file. |
As posted on: https://timvisee.com/blog/list-export-your-subreddits/
To obtain a list of your subreddits, do the following:
- First make sure you're logged in on reddit, on a desktop browser.
- Then visit reddit.com/subreddits.
- Then put the following snippet in your browsers address bar, and press
Enter.
Make surejavascript:is included at the beginning, your browser might remove it while copy-pasting for security reasons:
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
| <?php | |
| /** | |
| * When using the WordPress Importer, update existing | |
| * posts instead of skipping them. Updates content according | |
| * to the import file even if the existing post was updated | |
| * more recently. | |
| * | |
| * To use, drop this file into your /mu-plugins/ folder or | |
| * copy this code into your functions.php file. |
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
| import collection.JavaConversions._ | |
| import io.Source | |
| import xml.{NodeSeq, XML, Elem, Node} | |
| import org.apache.http.impl.client.DefaultHttpClient | |
| import org.apache.http.client.methods.HttpPost | |
| import org.apache.http.params.BasicHttpParams | |
| import org.apache.http.entity.BufferedHttpEntity | |
| import org.apache.http.entity.StringEntity | |
| import org.apache.http.client.entity.UrlEncodedFormEntity |
NewerOlder