This is for people who find that
"window.newWindowDimensions": "maximized",does not actually work on Windows. Symptoms: some or all vscode windows are not maximized on startup.
The first thing you'll want is
| ! Generic rule to unjustify all justified text. Yes, you really need both rules. | |
| ! Test page: https://www.addameer.org/israeli_military_judicial_system/administrative_detention | |
| ! Test page: https://en.wikipedia.org/wiki/Typographic_alignment (needs !important) | |
| ! Test page: https://www.gwern.net/Screwfly (needs !important) | |
| *#$#*:matches-css(text-align: justify) { text-align: left !important; } | |
| *#$#*:matches-css(text-align: left) { text-align: left !important; } |
| # This goes in ~/.zshrc | |
| typeset -A bgcolor_to_next_color | |
| bgcolor_to_next_color=( | |
| # The darkest IBM Carbon colors from https://huetone.ardov.me/ | |
| 22,22,22 7,25,8 | |
| 7,25,8 8,26,28 | |
| 8,26,28 6,23,39 | |
| 6,23,39 0,17,65 | |
| 0,17,65 28,15,48 |
| #!/usr/bin/env bash | |
| # Print an outline of Rust code in the current directory | |
| GRAY=$(tput setaf 7) | |
| PURPLE=$(tput setaf 5) | |
| BOLD=$(tput bold) | |
| CLEAR=$(tput sgr0) | |
| rg --sort path --heading --no-line-number --glob '*.rs' '\b(fn|struct|enum|trait|impl|mod|macro_rules)\b' |\ |
This is for people who find that
"window.newWindowDimensions": "maximized",does not actually work on Windows. Symptoms: some or all vscode windows are not maximized on startup.
The first thing you'll want is
Install Deno, see https://deno.land/manual/getting_started/installation
Run ./sfz2sf.sh with the path of the SingleFileZ page as first parameter
Why I'll never use Affirm again
tldr: I'll never use Affirm again because when there are issues with their payment system that could severely impact your credit score for years, their customer support is unequipped to help and their underlying support infrastructure is poorly designed.
On Jan 3 2022, I purchase a product from a merchant for $271. As part of the purchase, I signed up for a 0% APR installment plan via Affirm to pay the balance in four equal payments over six weeks. The merchant ended up not shipping the product for over two months, by which time I had fully paid off the loan from Affirm, and they were unresponsive to my requests for a shipping date. Because of this, on Mar 10 2022 I initiated a chargeback with my bank (Chase) on the last loan payment, which I paid on Feb 15 2022. As soon as I initiated the chargeback, the merchant became responsive and shipped the product. On Mar 11 2022, I received the tracking number for the purchase and I called Chase to cancel the chargeback.
Since Ma
| // ==UserScript== | |
| // @name Make docs.rs latest on Google Search | |
| // @namespace hexium310 | |
| // @version 0.0.1 | |
| // @author Hexin | |
| // @include /^(http|https):\/\/www\.google\..+\/search.*/ | |
| // @downloadUrl https://gist.github.com/hexium310/774465f10e34740849d653c277cf9ab6/raw/make-docs.rs-latest.user.js | |
| // @updateUrl https://gist.github.com/hexium310/774465f10e34740849d653c277cf9ab6/raw/make-docs.rs-latest.user.js | |
| // ==/UserScript== |
| ! This is the most annoying one that Google optimizes for accidental clicks. | |
| ! | |
| ! Hide the 'People also search for' slide-in box when going back on Google Search. | |
| ! We require the other attributes here to reduce the risk of false positives. | |
| www.google.com#$#div[id^="eob_"][jscontroller][jsdata][jsaction][data-ved] { display: none !important; } | |
| ! Hide the 'People also ask' box | |
| www.google.com#$#div[data-initq][data-it][jscontroller][jsaction]:nth-ancestor(1) { display: none !important; } | |
| ! Hide the 'Related searches' box |
| # or properly via environment.systemPackages | |
| nix-env -iA google-chrome-dev nodePackages.pnpm nodejs_latest | |
| (cd ~/ && git clone https://github.com/gildas-lormeau/single-file-cli) | |
| (cd ~/single-file-cli && pnpm import && pnpm install --ignore-scripts --no-optional --prod) | |
| ~/single-file-cli/single-file --browser-executable-path google-chrome-unstable --dump-content "https://twitter.com/" |
| { pkgs, config, ... }: | |
| let | |
| pg_prefaulter_config = pkgs.writeTextFile { | |
| name = "pg_prefaulter.toml"; | |
| text = '' | |
| [log] | |
| # level can be set to "DEBUG", "INFO", "WARN", "ERROR", or "FATAL" | |
| level = "DEBUG" |