Skip to content

Instantly share code, notes, and snippets.

@aleung
aleung / wealthsimple-transaction-for-actual.user.js
Last active December 28, 2025 18:19 — forked from shotasenga/wealthsimple-transaction-for-ynab.user.js
Export transactions from Wealthsimple to a CSV file for Actual Budget import
// ==UserScript==
// @name Wealthsimple Activity Export (Visible Chequing)
// @namespace https://leoliang.cn.eu.org
// @version 2025.12.28.4
// @description Directly export currently visible Chequing transactions to CSV
// @author Gemini / Shota Senga
// @match https://my.wealthsimple.com/app/activity*
// @icon https://www.google.com/s2/favicons?sz=64&domain=wealthsimple.com
// @grant none
// ==/UserScript==
@aleung
aleung / montreal-fsa-polygons.geojson
Created December 30, 2024 03:19 — forked from sabatale/montreal-fsa-polygons.geojson
Geojson with postal codes FSA polygons for Montréal, QC, Canada.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aleung
aleung / a-clash-tproxy-gateway.md
Created December 7, 2022 16:02 — forked from phlinhng/a-clash-tproxy-gateway.md
Clash as transparent proxy gateway via TPROXY

Notes

  1. If your local network use public IP ranges instead of private ones, make sure to add respecive RETURN rules to iptables to prevent looping issue
  2. Set clash as DHCP's only DNS server to allow domain-based filter (shunting) rules work
  3. Use lsof -i udp:53 to check if clash's DNS module work fine, otherwise you may have to kill systemd-resolved and any other processes occupying the UDP 53 port
  4. The given scripts will NOT hangle the traffic of gateway itself since it is not recommend to do so. If you want to redirect the egress traffic of the gateway, the following material may be useful

Reference

For
* ES5
* ES6
* CoffeeScript