Skip to content

Instantly share code, notes, and snippets.

export LD_PRELOAD=$LD_PRELOAD:/nix/store/i81q250v8nnxc2c3xmvk3rghcyjvymcl-jemalloc-4.3.1/lib/libjemalloc.so.2
# hard no cache
CHCACHE="--disk-cache-size=1 --media-cache-size=1 --aggressive-cache-discard --disable-cache --disable-application-cache --disable-offline-load-stale-cache --mem-pressure-system-reserved-kb=5242880 --v8-cache-options=\"off\" --v8-cache-strategies-for-cache-storage=\"off\""
/mnt/zfs/levault/app/chrome/chrome --site-per-process --process-per-site --allow-file-access-from-files --enable-easy-off-store-extension-install --disable-contextual-search --disable-logging --disable-notifications --disable-offline-auto-reload --no-pings --non-material --disk-cache-dir="/letmp/syn/chrom" $CHCACHE "$@"
@lostdj
lostdj / syncedTabsToBookmarksHTML.js
Last active March 12, 2024 15:21 — forked from jscher2000/syncedTabsToBookmarksHTML.js
Export Synced Tabs List to "bookmarks.html" file (Browser Console script)
// ctrl+shft+j
// Run code in Browser Console after enabling chrome debugging --
// about:config => devtools.chrome.enabled => true
// https://developer.mozilla.org/docs/Tools/Browser_Console
try {
var tabPromise = SyncedTabs._internal.getTabClients();
tabPromise.then((arrDevices) => {
if (arrDevices && arrDevices.length > 0){
// Generate a string with the format of a bookmark export file
var d, e, out = '<!DOCTYPE NETSCAPE-Bookmark-file-1>\n<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">\n<TITLE>Bookmarks</TITLE>\n<H1>Bookmarks Menu</H1>\n<DL><p>\n';