Skip to content

Instantly share code, notes, and snippets.

@dpschen
dpschen / BackupFirefoxSync.md
Last active December 9, 2023 12:01
Hacky way to export synced tabs of Firefox Sync / Weave and import them in OneTab

Hacky way to export synced tabs of Firefox Sync / Weave and import them in OneTab

Background

I am guilty beeing a tab messy and was searching for a while for a good solution to move my open tabs to OneTab. Especially on mobile the tab situation was extremely bad. When I realized that I had over 3000 (!!) tabs on my iPhone opened I acknowledge that I got to do something.

First I tried to just open the tabs in Firefox. When you rightclick a device on the "Synced Tabs" sidebar there is an "Open all tabs" entry. For 3000 tabs already my computer was already overloaded when opening them… Closing every other open program and removing every browser extension other then blockers also didn't do the trick. After some time the tabs seemed to be in an open state, but Firefox was not really responding. I tried closing the tabs via OneTab and also to save them all as bookmark via Bookmarks -> Bookmark all Tabs but that also didn't work.

@S1U
S1U / render28.py
Last active June 8, 2022 00:57 — forked from cloutsocks/render.py
GPU rendering script for Blender 2.8
import bpy
# Mark all scene devices as GPU for cycles
bpy.context.scene.cycles.device = 'GPU'
print("--------------- SCENE LIST ---------------")
for scene in bpy.data.scenes:
print(scene.name)
scene.cycles.device = 'GPU'
scene.render.resolution_percentage = 200